qcacmn: htc: Fix misspellings

Fix misspellings in htc/...

Change-Id: Id533c5659a137bfe8e2b6ce9380e65d432ba5ad5
CRs-Fixed: 3304687
This commit is contained in:
Jeff Johnson
2022-09-30 15:10:16 -07:00
committed by Madan Koyyalamudi
parent 2eaf7b1992
commit 664b1762ea
4 changed files with 17 additions and 16 deletions

View File

@@ -217,7 +217,7 @@ static void htc_cleanup(HTC_TARGET *target)
#ifdef FEATURE_RUNTIME_PM #ifdef FEATURE_RUNTIME_PM
/** /**
* htc_runtime_pm_init(): runtime pm related intialization * htc_runtime_pm_init(): runtime pm related initialization
* *
* need to initialize a work item. * need to initialize a work item.
*/ */
@@ -594,7 +594,7 @@ A_STATUS htc_setup_target_buffer_assignments(HTC_TARGET *target)
status = A_OK; status = A_OK;
/* /*
* Allocate all credists/HTC buffers to WMI. * Allocate all credits/HTC buffers to WMI.
* no buffers are used/required for data. data always * no buffers are used/required for data. data always
* remains on host. * remains on host.
*/ */
@@ -1233,7 +1233,7 @@ int htc_pm_runtime_put(HTC_HANDLE htc_handle)
/** /**
* htc_set_wmi_endpoint_count: Set number of WMI endpoint * htc_set_wmi_endpoint_count: Set number of WMI endpoint
* @htc_handle: HTC handle * @htc_handle: HTC handle
* @wmi_ep_count: WMI enpoint count * @wmi_ep_count: WMI endpoint count
* *
* return: None * return: None
*/ */
@@ -1248,7 +1248,7 @@ void htc_set_wmi_endpoint_count(HTC_HANDLE htc_handle, uint8_t wmi_ep_count)
* htc_get_wmi_endpoint_count: Get number of WMI endpoint * htc_get_wmi_endpoint_count: Get number of WMI endpoint
* @htc_handle: HTC handle * @htc_handle: HTC handle
* *
* return: WMI enpoint count * return: WMI endpoint count
*/ */
uint8_t htc_get_wmi_endpoint_count(HTC_HANDLE htc_handle) uint8_t htc_get_wmi_endpoint_count(HTC_HANDLE htc_handle)
{ {

View File

@@ -1,5 +1,6 @@
/* /*
* Copyright (c) 2013-2014, 2016-2021 The Linux Foundation. All rights reserved. * Copyright (c) 2013-2014, 2016-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * any purpose with or without fee is hereby granted, provided that the
@@ -298,7 +299,7 @@ struct htc_endpoint_credit_dist {
#define IS_EP_ACTIVE(epDist) ((epDist)->DistFlags & HTC_EP_ACTIVE) #define IS_EP_ACTIVE(epDist) ((epDist)->DistFlags & HTC_EP_ACTIVE)
#define SET_EP_ACTIVE(epDist) (epDist)->DistFlags |= HTC_EP_ACTIVE #define SET_EP_ACTIVE(epDist) (epDist)->DistFlags |= HTC_EP_ACTIVE
/* credit distibution code that is passed into the distrbution function, /* credit distribution code that is passed into the distrbution function,
* there are mandatory and optional codes that must be handled * there are mandatory and optional codes that must be handled
*/ */
enum htc_credit_dist_reason { enum htc_credit_dist_reason {
@@ -366,7 +367,7 @@ struct htc_endpoint_stats {
uint32_t TxCreditsFromOther; uint32_t TxCreditsFromOther;
/* count of credits received via another endpoint */ /* count of credits received via another endpoint */
uint32_t TxCreditsFromEp0; uint32_t TxCreditsFromEp0;
/* count of consummed credits */ /* count of consumed credits */
uint32_t TxCreditsConsummed; uint32_t TxCreditsConsummed;
/* count of credits returned */ /* count of credits returned */
uint32_t TxCreditsReturned; uint32_t TxCreditsReturned;
@@ -882,7 +883,7 @@ void htc_vote_link_up(HTC_HANDLE htc_handle, enum htc_link_vote_user_id id)
/** /**
* htc_set_async_ep() - set async HTC end point * htc_set_async_ep() - set async HTC end point
* user should call this function after htc_connect_service before * user should call this function after htc_connect_service before
* queing any packets to end point * queueing any packets to end point
* @HTCHandle: htc handle * @HTCHandle: htc handle
* @HTC_ENDPOINT_ID: end point id * @HTC_ENDPOINT_ID: end point id
* @value: true or false * @value: true or false
@@ -896,7 +897,7 @@ void htc_set_async_ep(HTC_HANDLE HTCHandle,
/** /**
* htc_set_wmi_endpoint_count: Set number of WMI endpoint * htc_set_wmi_endpoint_count: Set number of WMI endpoint
* @htc_handle: HTC handle * @htc_handle: HTC handle
* @wmi_ep_count: WMI enpoint count * @wmi_ep_count: WMI endpoint count
* *
* return: None * return: None
*/ */
@@ -906,7 +907,7 @@ void htc_set_wmi_endpoint_count(HTC_HANDLE htc_handle, uint8_t wmi_ep_count);
* htc_get_wmi_endpoint_count: Get number of WMI endpoint * htc_get_wmi_endpoint_count: Get number of WMI endpoint
* @htc_handle: HTC handle * @htc_handle: HTC handle
* *
* return: WMI enpoint count * return: WMI endpoint count
*/ */
uint8_t htc_get_wmi_endpoint_count(HTC_HANDLE htc_handle); uint8_t htc_get_wmi_endpoint_count(HTC_HANDLE htc_handle);

View File

@@ -252,7 +252,7 @@ typedef struct _HTC_TARGET {
/* /*
* Number of WMI endpoints used. * Number of WMI endpoints used.
* Default value is 1. But it should be overidden after htc_create to * Default value is 1. But it should be overridden after htc_create to
* reflect the actual count. * reflect the actual count.
*/ */
uint8_t wmi_ep_count; uint8_t wmi_ep_count;

View File

@@ -282,7 +282,7 @@ void free_htc_bundle_packet(HTC_TARGET *target, HTC_PACKET *pPacket)
__func__)); __func__));
return; return;
} }
/* HIF adds data to the headroom section of the nbuf, restore thei /* HIF adds data to the headroom section of the nbuf, restore their
* original size. If this is not done, headroom keeps shrinking with * original size. If this is not done, headroom keeps shrinking with
* every HIF send and eventually HIF ends up doing another malloc big * every HIF send and eventually HIF ends up doing another malloc big
* enough to store the data + its header * enough to store the data + its header
@@ -989,7 +989,7 @@ static QDF_STATUS htc_issue_packets(HTC_TARGET *target,
#ifdef FEATURE_RUNTIME_PM #ifdef FEATURE_RUNTIME_PM
/** /**
* extract_htc_pm_packets(): move pm packets from endpoint into queue * extract_htc_pm_packets(): move pm packets from endpoint into queue
* @endpoint: which enpoint to extract packets from * @endpoint: which endpoint to extract packets from
* @queue: a queue to store extracted packets in. * @queue: a queue to store extracted packets in.
* *
* remove pm packets from the endpoint's tx queue. * remove pm packets from the endpoint's tx queue.
@@ -1015,8 +1015,8 @@ static void extract_htc_pm_packets(HTC_ENDPOINT *endpoint,
/** /**
* queue_htc_pm_packets(): queue pm packets with priority * queue_htc_pm_packets(): queue pm packets with priority
* @endpoint: enpoint to queue packets to * @endpoint: endpoint to queue packets to
* @queue: queue of pm packets to enque * @queue: queue of pm packets to enqueue
* *
* suspend resume packets get special treatment & priority. * suspend resume packets get special treatment & priority.
* need to queue them at the front of the queue. * need to queue them at the front of the queue.
@@ -1073,7 +1073,7 @@ htc_send_pkts_get_rtpm_id(HTC_SERVICE_ID service_id)
/** /**
* extract_htc_system_resume_pkts(): Move system pm resume packets from endpoint * extract_htc_system_resume_pkts(): Move system pm resume packets from endpoint
* into queue * into queue
* @endpoint: which enpoint to extract packets from * @endpoint: which endpoint to extract packets from
* @queue: a queue to store extracted packets in. * @queue: a queue to store extracted packets in.
* *
* Remove pm packets from the endpoint's tx queue and enqueue * Remove pm packets from the endpoint's tx queue and enqueue
@@ -2550,7 +2550,7 @@ void htc_tx_resource_avail_handler(void *context, uint8_t pipeID)
* htc_kick_queues(): resumes tx transactions of suspended endpoints * htc_kick_queues(): resumes tx transactions of suspended endpoints
* @context: pointer to the htc target context * @context: pointer to the htc target context
* *
* Iterates through the enpoints and provides a context to empty queues * Iterates through the endpoints and provides a context to empty queues
* int the hif layer when they are stalled due to runtime suspend. * int the hif layer when they are stalled due to runtime suspend.
* *
* Return: none * Return: none