aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_controlq.c
diff options
context:
space:
mode:
authorAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>2019-02-19 18:04:13 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-04-18 11:38:47 -0400
commitf9867df6d96593fe678a138230379cda78403429 (patch)
treec1c6136d1d91b0bcdded6e4fc63804986d51b776 /drivers/net/ethernet/intel/ice/ice_controlq.c
parent94c4441b5a80f38d203432a4389d2dd349403ae5 (diff)
ice: Fix incorrect use of abbreviations
Capitalize abbreviations and spell out some that aren't obvious. Reviewed-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_controlq.c')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_controlq.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_controlq.c b/drivers/net/ethernet/intel/ice/ice_controlq.c
index 2bf5e11f559a..cc8cb5fdcdc1 100644
--- a/drivers/net/ethernet/intel/ice/ice_controlq.c
+++ b/drivers/net/ethernet/intel/ice/ice_controlq.c
@@ -51,7 +51,7 @@ static void ice_mailbox_init_regs(struct ice_hw *hw)
51 51
52/** 52/**
53 * ice_check_sq_alive 53 * ice_check_sq_alive
54 * @hw: pointer to the hw struct 54 * @hw: pointer to the HW struct
55 * @cq: pointer to the specific Control queue 55 * @cq: pointer to the specific Control queue
56 * 56 *
57 * Returns true if Queue is enabled else false. 57 * Returns true if Queue is enabled else false.
@@ -287,7 +287,7 @@ ice_cfg_sq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq)
287 * @hw: pointer to the hardware structure 287 * @hw: pointer to the hardware structure
288 * @cq: pointer to the specific Control queue 288 * @cq: pointer to the specific Control queue
289 * 289 *
290 * Configure base address and length registers for the receive (event q) 290 * Configure base address and length registers for the receive (event queue)
291 */ 291 */
292static enum ice_status 292static enum ice_status
293ice_cfg_rq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq) 293ice_cfg_rq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq)
@@ -751,7 +751,7 @@ static u16 ice_clean_sq(struct ice_hw *hw, struct ice_ctl_q_info *cq)
751 751
752/** 752/**
753 * ice_sq_done - check if FW has processed the Admin Send Queue (ATQ) 753 * ice_sq_done - check if FW has processed the Admin Send Queue (ATQ)
754 * @hw: pointer to the hw struct 754 * @hw: pointer to the HW struct
755 * @cq: pointer to the specific Control queue 755 * @cq: pointer to the specific Control queue
756 * 756 *
757 * Returns true if the firmware has processed all descriptors on the 757 * Returns true if the firmware has processed all descriptors on the
@@ -767,7 +767,7 @@ static bool ice_sq_done(struct ice_hw *hw, struct ice_ctl_q_info *cq)
767 767
768/** 768/**
769 * ice_sq_send_cmd - send command to Control Queue (ATQ) 769 * ice_sq_send_cmd - send command to Control Queue (ATQ)
770 * @hw: pointer to the hw struct 770 * @hw: pointer to the HW struct
771 * @cq: pointer to the specific Control queue 771 * @cq: pointer to the specific Control queue
772 * @desc: prefilled descriptor describing the command (non DMA mem) 772 * @desc: prefilled descriptor describing the command (non DMA mem)
773 * @buf: buffer to use for indirect commands (or NULL for direct commands) 773 * @buf: buffer to use for indirect commands (or NULL for direct commands)
@@ -962,7 +962,7 @@ void ice_fill_dflt_direct_cmd_desc(struct ice_aq_desc *desc, u16 opcode)
962 962
963/** 963/**
964 * ice_clean_rq_elem 964 * ice_clean_rq_elem
965 * @hw: pointer to the hw struct 965 * @hw: pointer to the HW struct
966 * @cq: pointer to the specific Control queue 966 * @cq: pointer to the specific Control queue
967 * @e: event info from the receive descriptor, includes any buffers 967 * @e: event info from the receive descriptor, includes any buffers
968 * @pending: number of events that could be left to process 968 * @pending: number of events that could be left to process