Skip to content

Commit 61cc502

Browse files
Dmitry Bezrukovdavem330
authored andcommitted
net: aquantia: styling fixes on ptp related functions
Checkpatch and styling fixes on parts of code touched by ptp Signed-off-by: Dmitry Bezrukov <[email protected]> Signed-off-by: Igor Russkikh <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 94ad945 commit 61cc502

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,8 @@ void hw_atl_rpb_rx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw,
643643
rx_pkt_buff_size_per_tc);
644644
}
645645

646-
void hw_atl_rpb_rx_xoff_en_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_xoff_en_per_tc,
647-
u32 buffer)
646+
void hw_atl_rpb_rx_xoff_en_per_tc_set(struct aq_hw_s *aq_hw,
647+
u32 rx_xoff_en_per_tc, u32 buffer)
648648
{
649649
aq_hw_write_reg_bit(aq_hw, HW_ATL_RPB_RXBXOFF_EN_ADR(buffer),
650650
HW_ATL_RPB_RXBXOFF_EN_MSK,

drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ void hw_atl_rpb_rx_buff_lo_threshold_per_tc_set(struct aq_hw_s *aq_hw,
309309
u32 buffer);
310310

311311
/* set rx flow control mode */
312-
void hw_atl_rpb_rx_flow_ctl_mode_set(struct aq_hw_s *aq_hw, u32 rx_flow_ctl_mode);
312+
void hw_atl_rpb_rx_flow_ctl_mode_set(struct aq_hw_s *aq_hw,
313+
u32 rx_flow_ctl_mode);
313314

314315
/* set rx packet buffer size (per tc) */
315316
void hw_atl_rpb_rx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw,
@@ -323,7 +324,8 @@ void hw_atl_rdm_rx_dma_desc_cache_init_tgl(struct aq_hw_s *aq_hw);
323324
u32 hw_atl_rdm_rx_dma_desc_cache_init_done_get(struct aq_hw_s *aq_hw);
324325

325326
/* set rx xoff enable (per tc) */
326-
void hw_atl_rpb_rx_xoff_en_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_xoff_en_per_tc,
327+
void hw_atl_rpb_rx_xoff_en_per_tc_set(struct aq_hw_s *aq_hw,
328+
u32 rx_xoff_en_per_tc,
327329
u32 buffer);
328330

329331
/* rpf */
@@ -629,7 +631,8 @@ void hw_atl_tpb_tx_dma_sys_lbk_en_set(struct aq_hw_s *aq_hw, u32 tx_dma_sys_lbk_
629631

630632
/* set tx packet buffer size (per tc) */
631633
void hw_atl_tpb_tx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw,
632-
u32 tx_pkt_buff_size_per_tc, u32 buffer);
634+
u32 tx_pkt_buff_size_per_tc,
635+
u32 buffer);
633636

634637
/* set tx path pad insert enable */
635638
void hw_atl_tpb_tx_path_scp_ins_en_set(struct aq_hw_s *aq_hw, u32 tx_path_scp_ins_en);

0 commit comments

Comments
 (0)