Home
last modified time | relevance | path

Searched defs:bp (Results 1 – 25 of 252) sorted by relevance

1234567891011

/linux/fs/xfs/
H A Dxfs_buf.c53 static inline bool xfs_buf_is_uncached(struct xfs_buf *bp) in xfs_buf_is_uncached()
60 struct xfs_buf *bp, in xfs_buf_set_flags()
68 struct xfs_buf *bp, in xfs_buf_clear_flags()
76 struct xfs_buf *bp) in xfs_buf_set_uptodate()
91 struct xfs_buf *bp) in xfs_buf_stale()
113 struct xfs_buf *bp) in xfs_buf_clear_stale()
123 struct xfs_buf *bp = container_of(cb, struct xfs_buf, b_rcu); in xfs_buf_free_callback() local
132 struct xfs_buf *bp) in xfs_buf_free()
156 struct xfs_buf *bp, in xfs_buf_alloc_folio()
172 struct xfs_buf *bp, in xfs_buf_alloc_kmem()
[all …]
H A Dxfs_trans_buf.c63 struct xfs_buf *bp, in _xfs_trans_bjoin()
100 struct xfs_buf *bp) in xfs_trans_bjoin()
124 struct xfs_buf *bp; in xfs_trans_get_buf_map() local
174 struct xfs_buf *bp) in __xfs_trans_getsb()
236 struct xfs_buf *bp = NULL; in xfs_trans_read_buf_map() local
306 struct xfs_buf *bp) in xfs_trans_buf_is_dirty()
331 struct xfs_buf *bp) in xfs_trans_brelse()
387 struct xfs_buf *bp) in xfs_trans_bdetach()
430 struct xfs_buf *bp) in xfs_trans_bhold()
451 struct xfs_buf *bp) in xfs_trans_bhold_release()
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c35 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf()
48 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en()
61 int bnx2x_vf_idx_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_idx_by_abs_fid()
72 struct bnx2x_virtf *bnx2x_vf_by_abs_fid(struct bnx2x *bp, u16 abs_vfid) in bnx2x_vf_by_abs_fid()
78 static void bnx2x_vf_igu_ack_sb(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_igu_ack_sb()
111 static bool bnx2x_validate_vf_sp_objs(struct bnx2x *bp, in bnx2x_validate_vf_sp_objs()
126 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_tx()
142 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_rx()
166 void bnx2x_vfop_qctor_prep(struct bnx2x *bp, in bnx2x_vfop_qctor_prep()
234 static int bnx2x_vf_queue_create(struct bnx2x *bp, in bnx2x_vf_queue_create()
[all …]
H A Dbnx2x_main.c317 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping()
324 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr()
333 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf()
346 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en()
359 static void storm_memset_eq_data(struct bnx2x *bp, in storm_memset_eq_data()
370 static void storm_memset_eq_prod(struct bnx2x *bp, u16 eq_prod, in storm_memset_eq_prod()
380 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val) in bnx2x_reg_wr_ind()
388 static u32 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr) in bnx2x_reg_rd_ind()
406 static void bnx2x_dp_dmae(struct bnx2x *bp, in bnx2x_dp_dmae()
473 void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx) in bnx2x_post_dmae()
[all …]
H A Dbnx2x_dcb.c55 static void bnx2x_read_data(struct bnx2x *bp, u32 *buff, in bnx2x_read_data()
63 static void bnx2x_write_data(struct bnx2x *bp, u32 *buff, in bnx2x_write_data()
71 static void bnx2x_pfc_set(struct bnx2x *bp) in bnx2x_pfc_set()
116 static void bnx2x_pfc_clear(struct bnx2x *bp) in bnx2x_pfc_clear()
126 static void bnx2x_dump_dcbx_drv_param(struct bnx2x *bp, in bnx2x_dump_dcbx_drv_param()
172 static void bnx2x_dcbx_get_ap_priority(struct bnx2x *bp, in bnx2x_dcbx_get_ap_priority()
193 static void bnx2x_dcbx_get_ap_feature(struct bnx2x *bp, in bnx2x_dcbx_get_ap_feature()
274 static void bnx2x_dcbx_get_ets_feature(struct bnx2x *bp, in bnx2x_dcbx_get_ets_feature()
326 static void bnx2x_dcbx_get_pfc_feature(struct bnx2x *bp, in bnx2x_dcbx_get_pfc_feature()
348 static void bnx2x_dcbx_map_nw(struct bnx2x *bp) in bnx2x_dcbx_map_nw()
[all …]
H A Dbnx2x_cmn.c41 static void bnx2x_add_all_napi_cnic(struct bnx2x *bp) in bnx2x_add_all_napi_cnic()
51 static void bnx2x_add_all_napi(struct bnx2x *bp) in bnx2x_add_all_napi()
61 static int bnx2x_calc_num_queues(struct bnx2x *bp) in bnx2x_calc_num_queues()
86 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) in bnx2x_move_fp()
143 void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) in bnx2x_fill_fw_str()
170 static void bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) in bnx2x_shrink_eth_fp()
194 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt()
273 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int()
358 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod() local
410 static u32 bnx2x_get_rxhash(const struct bnx2x *bp, in bnx2x_get_rxhash()
[all …]
H A Dbnx2x_vfpf.c29 static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list, in bnx2x_add_tlv()
40 static void bnx2x_vfpf_prep(struct bnx2x *bp, struct vfpf_first_tlv *first_tlv, in bnx2x_vfpf_prep()
59 static void bnx2x_vfpf_finalize(struct bnx2x *bp, in bnx2x_vfpf_finalize()
69 static void *bnx2x_search_tlv_list(struct bnx2x *bp, void *tlvs_list, in bnx2x_search_tlv_list()
93 static void bnx2x_dp_tlv_list(struct bnx2x *bp, void *tlvs_list) in bnx2x_dp_tlv_list()
141 static int bnx2x_send_msg2pf(struct bnx2x *bp, u8 *done, dma_addr_t msg_mapping) in bnx2x_send_msg2pf()
194 static int bnx2x_get_vf_id(struct bnx2x *bp, u32 *vf_id) in bnx2x_get_vf_id()
223 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count) in bnx2x_vfpf_acquire()
395 int bnx2x_vfpf_release(struct bnx2x *bp) in bnx2x_vfpf_release()
442 int bnx2x_vfpf_init(struct bnx2x *bp) in bnx2x_vfpf_init()
[all …]
H A Dbnx2x_cmn.h505 static inline void bnx2x_update_rx_prod(struct bnx2x *bp, in bnx2x_update_rx_prod()
636 static inline void bnx2x_igu_ack_sb_gen(struct bnx2x *bp, u8 igu_sb_id, in bnx2x_igu_ack_sb_gen()
656 static inline void bnx2x_hc_ack_sb(struct bnx2x *bp, u8 sb_id, in bnx2x_hc_ack_sb()
676 static inline void bnx2x_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 storm, in bnx2x_ack_sb()
696 static inline u16 bnx2x_hc_ack_int(struct bnx2x *bp) in bnx2x_hc_ack_int()
706 static inline u16 bnx2x_igu_ack_int(struct bnx2x *bp) in bnx2x_igu_ack_int()
718 static inline u16 bnx2x_ack_int(struct bnx2x *bp) in bnx2x_ack_int()
734 static inline u16 bnx2x_tx_avail(struct bnx2x *bp, in bnx2x_tx_avail()
793 static inline void bnx2x_tx_disable(struct bnx2x *bp) in bnx2x_tx_disable()
799 static inline void bnx2x_free_rx_sge(struct bnx2x *bp, in bnx2x_free_rx_sge()
[all …]
H A Dbnx2x_stats.c44 static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) in bnx2x_get_port_stats_dma_len()
84 static void bnx2x_dp_stats(struct bnx2x *bp) in bnx2x_dp_stats()
126 static void bnx2x_storm_stats_post(struct bnx2x *bp) in bnx2x_storm_stats_post()
152 static void bnx2x_hw_stats_post(struct bnx2x *bp) in bnx2x_hw_stats_post()
197 static void bnx2x_stats_comp(struct bnx2x *bp) in bnx2x_stats_comp()
218 static void bnx2x_stats_pmf_update(struct bnx2x *bp) in bnx2x_stats_pmf_update()
265 static void bnx2x_port_stats_init(struct bnx2x *bp) in bnx2x_port_stats_init()
487 static void bnx2x_func_stats_init(struct bnx2x *bp) in bnx2x_func_stats_init()
516 static void bnx2x_stats_start(struct bnx2x *bp) in bnx2x_stats_start()
530 static void bnx2x_stats_pmf_start(struct bnx2x *bp) in bnx2x_stats_pmf_start()
[all …]
H A Dbnx2x_sp.c51 static inline void bnx2x_exe_queue_init(struct bnx2x *bp, in bnx2x_exe_queue_init()
82 static inline void bnx2x_exe_queue_free_elem(struct bnx2x *bp, in bnx2x_exe_queue_free_elem()
114 static inline int bnx2x_exe_queue_add(struct bnx2x *bp, in bnx2x_exe_queue_add()
153 struct bnx2x *bp, in __bnx2x_exe_queue_reset_pending()
176 static inline int bnx2x_exe_queue_step(struct bnx2x *bp, in bnx2x_exe_queue_step()
252 struct bnx2x *bp) in bnx2x_exe_queue_alloc_elem()
286 static inline int bnx2x_state_wait(struct bnx2x *bp, int state, in bnx2x_state_wait()
321 static int bnx2x_raw_wait(struct bnx2x *bp, struct bnx2x_raw_obj *raw) in bnx2x_raw_wait()
433 static int __bnx2x_vlan_mac_h_write_trylock(struct bnx2x *bp, in __bnx2x_vlan_mac_h_write_trylock()
454 static void __bnx2x_vlan_mac_h_exec_pending(struct bnx2x *bp, in __bnx2x_vlan_mac_h_exec_pending()
[all …]
H A Dbnx2x_link.c220 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en()
229 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis()
251 struct bnx2x *bp = params->bp; in bnx2x_check_lfa() local
368 static void bnx2x_get_epio(struct bnx2x *bp, u32 epio_pin, u32 *en) in bnx2x_get_epio()
385 static void bnx2x_set_epio(struct bnx2x *bp, u32 epio_pin, u32 en) in bnx2x_set_epio()
410 static void bnx2x_set_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 val) in bnx2x_set_cfg_pin()
423 static u32 bnx2x_get_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 *val) in bnx2x_get_cfg_pin()
443 struct bnx2x *bp = params->bp; in bnx2x_ets_e2e3a0_disabled() local
534 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_nig() local
572 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_nig_disabled() local
[all …]
H A Dbnx2x_init_ops.h22 #define BP_ILT(bp) NULL argument
26 #define BP_FUNC(bp) 0 argument
30 #define BP_PORT(bp) 0 argument
51 static void bnx2x_init_str_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_str_wr()
60 static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_ind_wr()
69 static void bnx2x_write_big_buf(struct bnx2x *bp, u32 addr, u32 len, in bnx2x_write_big_buf()
84 static void bnx2x_init_fill(struct bnx2x *bp, u32 addr, int fill, in bnx2x_init_fill()
100 static void bnx2x_write_big_buf_wb(struct bnx2x *bp, u32 addr, u32 len) in bnx2x_write_big_buf_wb()
114 static void bnx2x_init_wr_64(struct bnx2x *bp, u32 addr, in bnx2x_init_wr_64()
153 static const u8 *bnx2x_sel_blob(struct bnx2x *bp, u32 addr, in bnx2x_sel_blob()
[all …]
H A Dbnx2x_sriov.h219 #define BNX2X_NR_VIRTFN(bp) ((bp)->vfdb->sriov.nr_virtfn) argument
221 #define for_each_vf(bp, var) \ argument
232 #define HW_VF_HANDLE(bp, abs_vfid) \ argument
240 #define GET_NUM_VFS_PER_PATH(bp) 64 /* use max possible value */ argument
241 #define GET_NUM_VFS_PER_PF(bp) ((bp)->vfdb ? (bp)->vfdb->sriov.total \ argument
318 #define BP_VFDB(bp) ((bp)->vfdb) argument
321 #define BP_VF(bp, idx) ((BP_VFDB(bp) && (bp)->vfdb->vfs) ? \ argument
323 #define bnx2x_vf(bp, idx, var) ((bp)->vfdb->vfs[idx].var) argument
330 #define BP_VF_CXT_PAGE(bp, i) (&(bp)->vfdb->context[i]) argument
335 #define BP_VF_MBX_DMA(bp) (&((bp)->vfdb->mbx_dma)) argument
[all …]
H A Dbnx2x.h53 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt) argument
169 #define REG_ADDR(bp, offset) ((bp->regview) + (offset)) argument
171 #define REG_RD(bp, offset) readl(REG_ADDR(bp, offset)) argument
172 #define REG_RD8(bp, offset) readb(REG_ADDR(bp, offset)) argument
173 #define REG_RD16(bp, offset) readw(REG_ADDR(bp, offset)) argument
175 #define REG_WR_RELAXED(bp, offset, val) \ argument
178 #define REG_WR16_RELAXED(bp, offset, val) \ argument
181 #define REG_WR(bp, offset, val) writel((u32)val, REG_ADDR(bp, offset)) argument
182 #define REG_WR8(bp, offset, val) writeb((u8)val, REG_ADDR(bp, offset)) argument
183 #define REG_WR16(bp, offset, val) writew((u16)val, REG_ADDR(bp, offset)) argument
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c349 static void bnxt_db_nq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq() argument
359 static void bnxt_db_nq_arm(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq_arm() argument
367 static void bnxt_db_cq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_cq() argument
376 bnxt_queue_fw_reset_work(struct bnxt * bp,unsigned long delay) bnxt_queue_fw_reset_work() argument
387 __bnxt_queue_sp_work(struct bnxt * bp) __bnxt_queue_sp_work() argument
395 bnxt_queue_sp_work(struct bnxt * bp,unsigned int event) bnxt_queue_sp_work() argument
401 bnxt_sched_reset_rxr(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_sched_reset_rxr() argument
414 bnxt_sched_reset_txr(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u16 curr) bnxt_sched_reset_txr() argument
462 bnxt_txr_db_kick(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u16 prod) bnxt_txr_db_kick() argument
483 struct bnxt *bp = netdev_priv(dev); bnxt_start_xmit() local
836 __bnxt_tx_int(struct bnxt * bp,struct bnxt_tx_ring_info * txr,int budget) __bnxt_tx_int() argument
942 bnxt_tx_int(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) bnxt_tx_int() argument
961 __bnxt_alloc_rx_page(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,unsigned int * offset,gfp_t gfp) __bnxt_alloc_rx_page() argument
982 __bnxt_alloc_rx_netmem(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,unsigned int * offset,gfp_t gfp) __bnxt_alloc_rx_netmem() argument
1003 __bnxt_alloc_rx_frag(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,gfp_t gfp) __bnxt_alloc_rx_frag() argument
1019 bnxt_alloc_rx_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_data() argument
1058 struct bnxt *bp = rxr->bnapi->bp; bnxt_reuse_rx_data() local
1086 bnxt_alloc_rx_netmem(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_netmem() argument
1116 bnxt_get_agg(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u16 cp_cons,u16 curr) bnxt_get_agg() argument
1128 bnxt_get_tpa_agg_p5(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 agg_id,u16 curr) bnxt_get_tpa_agg_p5() argument
1141 struct bnxt *bp = bnapi->bp; bnxt_reuse_rx_agg_bufs() local
1194 bnxt_rx_multi_page_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_multi_page_skb() argument
1229 bnxt_rx_page_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_page_skb() argument
1276 bnxt_rx_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_skb() argument
1306 __bnxt_rx_agg_netmems(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u16 idx,u32 agg_bufs,bool tpa,struct sk_buff * skb,struct xdp_buff * xdp) __bnxt_rx_agg_netmems() argument
1397 bnxt_rx_agg_netmems_skb(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct sk_buff * skb,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_netmems_skb() argument
1415 bnxt_rx_agg_netmems_xdp(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct xdp_buff * xdp,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_netmems_xdp() argument
1436 bnxt_agg_bufs_valid(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u8 agg_bufs,u32 * raw_cons) bnxt_agg_bufs_valid() argument
1453 struct bnxt *bp = bnapi->bp; bnxt_copy_data() local
1507 bnxt_discard_rx(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,void * cmp) bnxt_discard_rx() argument
1537 bnxt_alloc_agg_idx(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 agg_id) bnxt_alloc_agg_idx() argument
1599 bnxt_tpa_start(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u8 cmp_type,struct rx_tpa_start_cmp * tpa_start,struct rx_tpa_start_cmp_ext * tpa_start1) bnxt_tpa_start() argument
1861 bnxt_gro_skb(struct bnxt * bp,struct bnxt_tpa_info * tpa_info,struct rx_tpa_end_cmp * tpa_end,struct rx_tpa_end_cmp_ext * tpa_end1,struct sk_buff * skb,struct bnxt_rx_sw_stats * rx_stats) bnxt_gro_skb() argument
1897 bnxt_get_pkt_dev(struct bnxt * bp,u16 cfa_code) bnxt_get_pkt_dev() argument
1905 bnxt_tpa_end(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,struct rx_tpa_end_cmp * tpa_end,struct rx_tpa_end_cmp_ext * tpa_end1,u8 * event) bnxt_tpa_end() argument
2058 bnxt_tpa_agg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct rx_agg_cmp * rx_agg) bnxt_tpa_agg() argument
2070 bnxt_deliver_skb(struct bnxt * bp,struct bnxt_napi * bnapi,struct sk_buff * skb) bnxt_deliver_skb() argument
2084 bnxt_rx_ts_valid(struct bnxt * bp,u32 flags,struct rx_cmp_ext * rxcmp1,u32 * cmpl_ts) bnxt_rx_ts_valid() argument
2148 bnxt_rx_pkt(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_rx_pkt() argument
2437 bnxt_force_rx_discard(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_force_rx_discard() argument
2482 bnxt_fw_health_readl(struct bnxt * bp,int reg_idx) bnxt_fw_health_readl() argument
2509 bnxt_agg_ring_id_to_grp_idx(struct bnxt * bp,u16 ring_id) bnxt_agg_ring_id_to_grp_idx() argument
2526 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_get_force_speed() local
2537 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_set_force_speed() local
2569 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_set_auto_speed() local
2581 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_force_speed_updated() local
2599 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_auto_speed_updated() local
2612 bnxt_bs_trace_avail(struct bnxt * bp,u16 type) bnxt_bs_trace_avail() argument
2621 bnxt_bs_trace_init(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm) bnxt_bs_trace_init() argument
2684 bnxt_event_error_report(struct bnxt * bp,u32 data1,u32 data2) bnxt_event_error_report() argument
2773 bnxt_async_event_process(struct bnxt * bp,struct hwrm_async_event_cmpl * cmpl) bnxt_async_event_process() argument
2999 bnxt_hwrm_handler(struct bnxt * bp,struct tx_cmp * txcmp) bnxt_hwrm_handler() argument
3038 bnxt_vnic_is_active(struct bnxt * bp) bnxt_vnic_is_active() argument
3048 struct bnxt *bp = bnapi->bp; bnxt_msix() local
3058 bnxt_has_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_has_work() argument
3069 __bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) __bnxt_poll_work() argument
3175 __bnxt_poll_work_done(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) __bnxt_poll_work_done() argument
3195 bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) bnxt_poll_work() argument
3216 struct bnxt *bp = bnapi->bp; bnxt_poll_nitroa0() local
3292 struct bnxt *bp = bnapi->bp; bnxt_poll() local
3327 __bnxt_poll_cqs(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) __bnxt_poll_cqs() argument
3344 __bnxt_poll_cqs_done(struct bnxt * bp,struct bnxt_napi * bnapi,u64 dbr_type,int budget) __bnxt_poll_cqs_done() argument
3378 struct bnxt *bp = bnapi->bp; bnxt_poll_p5() local
3458 bnxt_free_one_tx_ring_skbs(struct bnxt * bp,struct bnxt_tx_ring_info * txr,int idx) bnxt_free_one_tx_ring_skbs() argument
3543 bnxt_free_tx_skbs(struct bnxt * bp) bnxt_free_tx_skbs() argument
3563 bnxt_free_one_rx_ring(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_ring() argument
3584 bnxt_free_one_rx_agg_ring(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_agg_ring() argument
3604 bnxt_free_one_tpa_info_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_tpa_info_data() argument
3621 bnxt_free_one_rx_ring_skbs(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_ring_skbs() argument
3649 bnxt_free_rx_skbs(struct bnxt * bp) bnxt_free_rx_skbs() argument
3660 bnxt_free_skbs(struct bnxt * bp) bnxt_free_skbs() argument
3683 __bnxt_copy_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem,void * buf,size_t offset,size_t head,size_t tail) __bnxt_copy_ring() argument
3712 bnxt_free_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem) bnxt_free_ring() argument
3745 bnxt_alloc_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem) bnxt_alloc_ring() argument
3798 bnxt_free_one_tpa_info(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_tpa_info() argument
3815 bnxt_free_tpa_info(struct bnxt * bp) bnxt_free_tpa_info() argument
3826 bnxt_alloc_one_tpa_info(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_one_tpa_info() argument
3852 bnxt_alloc_tpa_info(struct bnxt * bp) bnxt_alloc_tpa_info() argument
3880 bnxt_free_rx_rings(struct bnxt * bp) bnxt_free_rx_rings() argument
3913 bnxt_rx_agg_ring_fill_level(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_rx_agg_ring_fill_level() argument
3928 bnxt_alloc_rx_page_pool(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int numa_node) bnxt_alloc_rx_page_pool() argument
3985 bnxt_alloc_rx_agg_bmap(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_rx_agg_bmap() argument
3998 bnxt_alloc_rx_rings(struct bnxt * bp) bnxt_alloc_rx_rings() argument
4092 bnxt_free_tx_rings(struct bnxt * bp) bnxt_free_tx_rings() argument
4118 BNXT_TC_TO_RING_BASE(bp,tc) global() argument
4121 BNXT_RING_TO_TC_OFF(bp,tx) global() argument
4124 BNXT_RING_TO_TC(bp,tx) global() argument
4127 bnxt_alloc_tx_rings(struct bnxt * bp) bnxt_alloc_tx_rings() argument
4218 bnxt_free_all_cp_arrays(struct bnxt * bp) bnxt_free_all_cp_arrays() argument
4233 bnxt_alloc_all_cp_arrays(struct bnxt * bp) bnxt_alloc_all_cp_arrays() argument
4250 bnxt_free_cp_rings(struct bnxt * bp) bnxt_free_cp_rings() argument
4287 bnxt_alloc_cp_sub_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_alloc_cp_sub_ring() argument
4314 bnxt_alloc_cp_rings(struct bnxt * bp) bnxt_alloc_cp_rings() argument
4389 bnxt_init_rx_ring_struct(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_rx_ring_struct() argument
4414 bnxt_reset_rx_ring_struct(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_reset_rx_ring_struct() argument
4448 bnxt_init_ring_struct(struct bnxt * bp) bnxt_init_ring_struct() argument
4534 bnxt_alloc_one_rx_ring_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int ring_nr) bnxt_alloc_one_rx_ring_skb() argument
4553 bnxt_alloc_one_rx_ring_netmem(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int ring_nr) bnxt_alloc_one_rx_ring_netmem() argument
4574 bnxt_alloc_one_tpa_info_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_one_tpa_info_data() argument
4595 bnxt_alloc_one_rx_ring(struct bnxt * bp,int ring_nr) bnxt_alloc_one_rx_ring() argument
4615 bnxt_init_one_rx_ring_rxbd(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_one_rx_ring_rxbd() argument
4632 bnxt_init_one_rx_agg_ring_rxbd(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_one_rx_agg_ring_rxbd() argument
4658 bnxt_init_one_rx_ring(struct bnxt * bp,int ring_nr) bnxt_init_one_rx_ring() argument
4678 bnxt_init_cp_rings(struct bnxt * bp) bnxt_init_cp_rings() argument
4702 bnxt_init_rx_rings(struct bnxt * bp) bnxt_init_rx_rings() argument
4723 bnxt_init_tx_rings(struct bnxt * bp) bnxt_init_tx_rings() argument
4748 bnxt_free_ring_grps(struct bnxt * bp) bnxt_free_ring_grps() argument
4754 bnxt_init_ring_grps(struct bnxt * bp,bool irq_re_init) bnxt_init_ring_grps() argument
4775 bnxt_free_vnics(struct bnxt * bp) bnxt_free_vnics() argument
4782 bnxt_alloc_vnics(struct bnxt * bp) bnxt_alloc_vnics() argument
4806 bnxt_init_vnics(struct bnxt * bp) bnxt_init_vnics() argument
4873 bnxt_set_tpa_flags(struct bnxt * bp) bnxt_set_tpa_flags() argument
4884 bnxt_init_ring_params(struct bnxt * bp) bnxt_init_ring_params() argument
4898 bnxt_set_ring_params(struct bnxt * bp) bnxt_set_ring_params() argument
4997 __bnxt_set_rx_skb_mode(struct bnxt * bp,bool page_mode) __bnxt_set_rx_skb_mode() argument
5026 bnxt_set_rx_skb_mode(struct bnxt * bp,bool page_mode) bnxt_set_rx_skb_mode() argument
5045 bnxt_free_vnic_attributes(struct bnxt * bp) bnxt_free_vnic_attributes() argument
5081 bnxt_alloc_vnic_attributes(struct bnxt * bp) bnxt_alloc_vnic_attributes() argument
5158 bnxt_free_hwrm_resources(struct bnxt * bp) bnxt_free_hwrm_resources() argument
5171 bnxt_alloc_hwrm_resources(struct bnxt * bp) bnxt_alloc_hwrm_resources() argument
5184 bnxt_free_stats_mem(struct bnxt * bp,struct bnxt_stats_mem * stats) bnxt_free_stats_mem() argument
5197 bnxt_alloc_stats_mem(struct bnxt * bp,struct bnxt_stats_mem * stats,bool alloc_masks) bnxt_alloc_stats_mem() argument
5237 bnxt_hwrm_func_qstat_ext(struct bnxt * bp,struct bnxt_stats_mem * stats) bnxt_hwrm_func_qstat_ext() argument
5269 bnxt_init_stats(struct bnxt * bp) bnxt_init_stats() argument
5340 bnxt_free_port_stats(struct bnxt * bp) bnxt_free_port_stats() argument
5350 bnxt_free_ring_stats(struct bnxt * bp) bnxt_free_ring_stats() argument
5368 bnxt_alloc_stats(struct bnxt * bp) bnxt_alloc_stats() argument
5435 bnxt_clear_ring_indices(struct bnxt * bp) bnxt_clear_ring_indices() argument
5473 bnxt_insert_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_insert_usr_fltr() argument
5483 bnxt_del_one_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_del_one_usr_fltr() argument
5489 bnxt_clear_usr_fltrs(struct bnxt * bp,bool all) bnxt_clear_usr_fltrs() argument
5500 bnxt_del_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_del_fltr() argument
5511 bnxt_free_ntp_fltrs(struct bnxt * bp,bool all) bnxt_free_ntp_fltrs() argument
5542 bnxt_alloc_ntp_fltrs(struct bnxt * bp) bnxt_alloc_ntp_fltrs() argument
5561 bnxt_free_l2_filters(struct bnxt * bp,bool all) bnxt_free_l2_filters() argument
5580 bnxt_init_l2_fltr_tbl(struct bnxt * bp) bnxt_init_l2_fltr_tbl() argument
5589 bnxt_free_mem(struct bnxt * bp,bool irq_re_init) bnxt_free_mem() argument
5618 bnxt_alloc_mem(struct bnxt * bp,bool irq_re_init) bnxt_alloc_mem() argument
5763 bnxt_disable_int(struct bnxt * bp) bnxt_disable_int() argument
5780 bnxt_cp_num_to_irq_num(struct bnxt * bp,int n) bnxt_cp_num_to_irq_num() argument
5789 bnxt_disable_int_sync(struct bnxt * bp) bnxt_disable_int_sync() argument
5806 bnxt_enable_int(struct bnxt * bp) bnxt_enable_int() argument
5819 bnxt_hwrm_func_drv_rgtr(struct bnxt * bp,unsigned long * bmap,int bmap_size,bool async_only) bnxt_hwrm_func_drv_rgtr() argument
5920 bnxt_hwrm_func_drv_unrgtr(struct bnxt * bp) bnxt_hwrm_func_drv_unrgtr() argument
5936 bnxt_hwrm_tunnel_dst_port_free(struct bnxt * bp,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_free() argument
5983 bnxt_hwrm_tunnel_dst_port_alloc(struct bnxt * bp,__be16 port,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_alloc() argument
6031 bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt * bp,u16 vnic_id) bnxt_hwrm_cfa_l2_set_rx_mask() argument
6050 bnxt_del_l2_filter(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_del_l2_filter() argument
6069 __bnxt_lookup_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u32 idx) __bnxt_lookup_l2_filter() argument
6086 bnxt_lookup_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u32 idx) bnxt_lookup_l2_filter() argument
6100 BNXT_IPV4_4TUPLE(bp,fkeys) global() argument
6106 BNXT_IPV6_4TUPLE(bp,fkeys) global() argument
6112 bnxt_get_rss_flow_tuple_len(struct bnxt * bp,struct flow_keys * fkeys) bnxt_get_rss_flow_tuple_len() argument
6135 bnxt_toeplitz(struct bnxt * bp,struct flow_keys * fkeys,const unsigned char * key) bnxt_toeplitz() argument
6175 bnxt_lookup_l2_filter_from_key(struct bnxt * bp,struct bnxt_l2_key * key) bnxt_lookup_l2_filter_from_key() argument
6187 bnxt_init_l2_filter(struct bnxt * bp,struct bnxt_l2_filter * fltr,struct bnxt_l2_key * key,u32 idx) bnxt_init_l2_filter() argument
6213 bnxt_alloc_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,gfp_t gfp) bnxt_alloc_l2_filter() argument
6240 bnxt_alloc_new_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u16 flags) bnxt_alloc_new_l2_filter() argument
6285 bnxt_hwrm_l2_filter_free(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_hwrm_l2_filter_free() argument
6311 bnxt_hwrm_l2_filter_alloc(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_hwrm_l2_filter_alloc() argument
6364 bnxt_hwrm_cfa_ntuple_filter_free(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_free() argument
6409 bnxt_cfg_rfs_ring_tbl_idx(struct bnxt * bp,struct hwrm_cfa_ntuple_filter_alloc_input * req,struct bnxt_ntuple_filter * fltr) bnxt_cfg_rfs_ring_tbl_idx() argument
6448 bnxt_hwrm_cfa_ntuple_filter_alloc(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_alloc() argument
6514 bnxt_hwrm_set_vnic_filter(struct bnxt * bp,u16 vnic_id,u16 idx,const u8 * mac_addr) bnxt_hwrm_set_vnic_filter() argument
6536 bnxt_hwrm_clear_vnic_filter(struct bnxt * bp) bnxt_hwrm_clear_vnic_filter() argument
6559 bnxt_hwrm_vnic_update_tunl_tpa(struct bnxt * bp,struct hwrm_vnic_tpa_cfg_input * req) bnxt_hwrm_vnic_update_tunl_tpa() argument
6578 bnxt_hwrm_vnic_set_tpa(struct bnxt * bp,struct bnxt_vnic_info * vnic,u32 tpa_flags) bnxt_hwrm_vnic_set_tpa() argument
6641 bnxt_cp_ring_from_grp(struct bnxt * bp,struct bnxt_ring_struct * ring) bnxt_cp_ring_from_grp() argument
6649 bnxt_cp_ring_for_rx(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_cp_ring_for_rx() argument
6657 bnxt_cp_ring_for_tx(struct bnxt * bp,struct bnxt_tx_ring_info * txr) bnxt_cp_ring_for_tx() argument
6665 bnxt_alloc_rss_indir_tbl(struct bnxt * bp) bnxt_alloc_rss_indir_tbl() argument
6683 bnxt_set_dflt_rss_indir_tbl(struct bnxt * bp,struct ethtool_rxfh_context * rss_ctx) bnxt_set_dflt_rss_indir_tbl() argument
6711 bnxt_get_max_rss_ring(struct bnxt * bp) bnxt_get_max_rss_ring() argument
6724 bnxt_get_nr_rss_ctxs(struct bnxt * bp,int rx_rings) bnxt_get_nr_rss_ctxs() argument
6740 bnxt_fill_hw_rss_tbl(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_fill_hw_rss_tbl() argument
6767 bnxt_fill_hw_rss_tbl_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_fill_hw_rss_tbl_p5() argument
6797 __bnxt_hwrm_vnic_set_rss(struct bnxt * bp,struct hwrm_vnic_rss_cfg_input * req,struct bnxt_vnic_info * vnic) __bnxt_hwrm_vnic_set_rss() argument
6817 bnxt_hwrm_vnic_set_rss(struct bnxt * bp,struct bnxt_vnic_info * vnic,bool set_rss) bnxt_hwrm_vnic_set_rss() argument
6837 bnxt_hwrm_vnic_set_rss_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic,bool set_rss) bnxt_hwrm_vnic_set_rss_p5() argument
6873 bnxt_hwrm_update_rss_hash_cfg(struct bnxt * bp) bnxt_hwrm_update_rss_hash_cfg() argument
6893 bnxt_hwrm_vnic_set_hds(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_set_hds() argument
6918 bnxt_hwrm_vnic_ctx_free_one(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 ctx_idx) bnxt_hwrm_vnic_ctx_free_one() argument
6934 bnxt_hwrm_vnic_ctx_free(struct bnxt * bp) bnxt_hwrm_vnic_ctx_free() argument
6949 bnxt_hwrm_vnic_ctx_alloc(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 ctx_idx) bnxt_hwrm_vnic_ctx_alloc() argument
6970 bnxt_get_roce_vnic_mode(struct bnxt * bp) bnxt_get_roce_vnic_mode() argument
6977 bnxt_hwrm_vnic_cfg(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_cfg() argument
7047 bnxt_hwrm_vnic_free_one(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_free_one() argument
7063 bnxt_hwrm_vnic_free(struct bnxt * bp) bnxt_hwrm_vnic_free() argument
7071 bnxt_hwrm_vnic_alloc(struct bnxt * bp,struct bnxt_vnic_info * vnic,unsigned int start_rx_ring_idx,unsigned int nr_rings) bnxt_hwrm_vnic_alloc() argument
7112 bnxt_hwrm_vnic_qcaps(struct bnxt * bp) bnxt_hwrm_vnic_qcaps() argument
7177 bnxt_hwrm_ring_grp_alloc(struct bnxt * bp) bnxt_hwrm_ring_grp_alloc() argument
7212 bnxt_hwrm_ring_grp_free(struct bnxt * bp) bnxt_hwrm_ring_grp_free() argument
7236 bnxt_set_rx_ring_params_p5(struct bnxt * bp,u32 ring_type,struct hwrm_ring_alloc_input * req,struct bnxt_rx_ring_info * rxr,struct bnxt_ring_struct * ring) bnxt_set_rx_ring_params_p5() argument
7261 hwrm_ring_alloc_send_msg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct bnxt_ring_struct * ring,u32 ring_type,u32 map_index) hwrm_ring_alloc_send_msg() argument
7363 bnxt_hwrm_set_async_event_cr(struct bnxt * bp,int idx) bnxt_hwrm_set_async_event_cr() argument
7392 bnxt_set_db_mask(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type) bnxt_set_db_mask() argument
7416 bnxt_set_db(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type,u32 map_idx,u32 xid) bnxt_set_db() argument
7459 bnxt_hwrm_rx_ring_alloc(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_hwrm_rx_ring_alloc() argument
7478 bnxt_hwrm_rx_agg_ring_alloc(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_hwrm_rx_agg_ring_alloc() argument
7501 bnxt_hwrm_cp_ring_alloc_p5(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_alloc_p5() argument
7520 bnxt_hwrm_tx_ring_alloc(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u32 tx_idx) bnxt_hwrm_tx_ring_alloc() argument
7534 bnxt_hwrm_ring_alloc(struct bnxt * bp) bnxt_hwrm_ring_alloc() argument
7610 bnxt_cancel_dim(struct bnxt * bp) bnxt_cancel_dim() argument
7630 hwrm_ring_free_send_msg(struct bnxt * bp,struct bnxt_ring_struct * ring,u32 ring_type,int cmpl_ring_id) hwrm_ring_free_send_msg() argument
7663 bnxt_hwrm_tx_ring_free(struct bnxt * bp,struct bnxt_tx_ring_info * txr,bool close_path) bnxt_hwrm_tx_ring_free() argument
7680 bnxt_hwrm_rx_ring_free(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,bool close_path) bnxt_hwrm_rx_ring_free() argument
7700 bnxt_hwrm_rx_agg_ring_free(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,bool close_path) bnxt_hwrm_rx_agg_ring_free() argument
7724 bnxt_hwrm_cp_ring_free(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_free() argument
7738 bnxt_clear_one_cp_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_clear_one_cp_ring() argument
7751 bnxt_hwrm_ring_free(struct bnxt * bp,bool close_path) bnxt_hwrm_ring_free() argument
7802 bnxt_hwrm_get_rings(struct bnxt * bp) bnxt_hwrm_get_rings() argument
7862 __bnxt_hwrm_get_tx_rings(struct bnxt * bp,u16 fid,int * tx_rings) __bnxt_hwrm_get_tx_rings() argument
7888 __bnxt_hwrm_reserve_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) __bnxt_hwrm_reserve_pf_rings() argument
7932 __bnxt_hwrm_reserve_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) __bnxt_hwrm_reserve_vf_rings() argument
7974 bnxt_hwrm_reserve_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_pf_rings() argument
7999 bnxt_hwrm_reserve_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_vf_rings() argument
8020 bnxt_hwrm_reserve_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_rings() argument
8028 bnxt_nq_rings_in_use(struct bnxt * bp) bnxt_nq_rings_in_use() argument
8033 bnxt_cp_rings_in_use(struct bnxt * bp) bnxt_cp_rings_in_use() argument
8044 bnxt_get_func_stat_ctxs(struct bnxt * bp) bnxt_get_func_stat_ctxs() argument
8049 bnxt_get_total_rss_ctxs(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_get_total_rss_ctxs() argument
8070 bnxt_check_rss_tbl_no_rmgr(struct bnxt * bp) bnxt_check_rss_tbl_no_rmgr() argument
8082 bnxt_get_total_vnics(struct bnxt * bp,int rx_rings) bnxt_get_total_vnics() argument
8093 bnxt_get_total_resources(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_get_total_resources() argument
8109 bnxt_need_reserve_rings(struct bnxt * bp) bnxt_need_reserve_rings() argument
8149 bnxt_copy_reserved_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_copy_reserved_rings() argument
8166 bnxt_rings_ok(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_rings_ok() argument
8174 __bnxt_reserve_rings(struct bnxt * bp) __bnxt_reserve_rings() argument
8299 bnxt_hwrm_check_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_vf_rings() argument
8321 bnxt_hwrm_check_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_pf_rings() argument
8344 bnxt_hwrm_check_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_rings() argument
8355 bnxt_hwrm_coal_params_qcaps(struct bnxt * bp) bnxt_hwrm_coal_params_qcaps() argument
8402 bnxt_usec_to_coal_tmr(struct bnxt * bp,u16 usec) bnxt_usec_to_coal_tmr() argument
8409 bnxt_hwrm_set_coal_params(struct bnxt * bp,struct bnxt_coal * hw_coal,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_coal_params() argument
8465 __bnxt_hwrm_set_coal_nq(struct bnxt * bp,struct bnxt_napi * bnapi,struct bnxt_coal * hw_coal) __bnxt_hwrm_set_coal_nq() argument
8493 bnxt_hwrm_set_ring_coal(struct bnxt * bp,struct bnxt_napi * bnapi) bnxt_hwrm_set_ring_coal() argument
8523 bnxt_hwrm_set_rx_coal(struct bnxt * bp,struct bnxt_napi * bnapi,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_rx_coal() argument
8533 bnxt_hwrm_set_tx_coal(struct bnxt * bp,struct bnxt_napi * bnapi,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_tx_coal() argument
8553 bnxt_hwrm_set_coal(struct bnxt * bp) bnxt_hwrm_set_coal() argument
8603 bnxt_hwrm_stat_ctx_free(struct bnxt * bp) bnxt_hwrm_stat_ctx_free() argument
8645 bnxt_hwrm_stat_ctx_alloc(struct bnxt * bp) bnxt_hwrm_stat_ctx_alloc() argument
8680 bnxt_hwrm_func_qcfg(struct bnxt * bp) bnxt_hwrm_func_qcfg() argument
8784 bnxt_alloc_all_ctx_pg_info(struct bnxt * bp,int ctx_max) bnxt_alloc_all_ctx_pg_info() argument
8812 bnxt_hwrm_func_backing_store_qcaps_v2(struct bnxt * bp) bnxt_hwrm_func_backing_store_qcaps_v2() argument
8885 bnxt_hwrm_func_backing_store_qcaps(struct bnxt * bp) bnxt_hwrm_func_backing_store_qcaps() argument
9028 bnxt_hwrm_func_backing_store_cfg(struct bnxt * bp,u32 enables) bnxt_hwrm_func_backing_store_cfg() argument
9158 bnxt_alloc_ctx_mem_blk(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg) bnxt_alloc_ctx_mem_blk() argument
9172 bnxt_alloc_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg,u32 mem_size,u8 depth,struct bnxt_ctx_mem_type * ctxm) bnxt_alloc_ctx_pg_tbls() argument
9232 bnxt_copy_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg,void * buf,size_t offset,size_t head,size_t tail) bnxt_copy_ctx_pg_tbls() argument
9262 bnxt_free_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg) bnxt_free_ctx_pg_tbls() argument
9291 bnxt_setup_ctxm_pg_tbls(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,u32 entries,u8 pg_lvl) bnxt_setup_ctxm_pg_tbls() argument
9317 bnxt_hwrm_func_backing_store_cfg_v2(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,bool last) bnxt_hwrm_func_backing_store_cfg_v2() argument
9375 bnxt_backing_store_cfg_v2(struct bnxt * bp) bnxt_backing_store_cfg_v2() argument
9437 __bnxt_copy_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,void * buf,size_t offset,size_t head,size_t tail) __bnxt_copy_ctx_mem() argument
9459 bnxt_copy_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,void * buf,size_t offset) bnxt_copy_ctx_mem() argument
9467 bnxt_free_one_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,bool force) bnxt_free_one_ctx_mem() argument
9492 bnxt_free_ctx_mem(struct bnxt * bp,bool force) bnxt_free_ctx_mem() argument
9510 bnxt_alloc_ctx_mem(struct bnxt * bp) bnxt_alloc_ctx_mem() argument
9653 bnxt_hwrm_crash_dump_mem_cfg(struct bnxt * bp) bnxt_hwrm_crash_dump_mem_cfg() argument
9680 bnxt_free_crash_dump_mem(struct bnxt * bp) bnxt_free_crash_dump_mem() argument
9689 bnxt_alloc_crash_dump_mem(struct bnxt * bp) bnxt_alloc_crash_dump_mem() argument
9726 bnxt_hwrm_func_resc_qcaps(struct bnxt * bp,bool all) bnxt_hwrm_func_resc_qcaps() argument
9788 __bnxt_hwrm_ptp_qcfg(struct bnxt * bp) __bnxt_hwrm_ptp_qcfg() argument
9856 __bnxt_hwrm_func_qcaps(struct bnxt * bp) __bnxt_hwrm_func_qcaps() argument
9994 bnxt_hwrm_dbg_qcaps(struct bnxt * bp) bnxt_hwrm_dbg_qcaps() argument
10022 bnxt_hwrm_func_qcaps(struct bnxt * bp) bnxt_hwrm_func_qcaps() argument
10048 bnxt_hwrm_cfa_adv_flow_mgnt_qcaps(struct bnxt * bp) bnxt_hwrm_cfa_adv_flow_mgnt_qcaps() argument
10085 __bnxt_alloc_fw_health(struct bnxt * bp) __bnxt_alloc_fw_health() argument
10098 bnxt_alloc_fw_health(struct bnxt * bp) bnxt_alloc_fw_health() argument
10116 __bnxt_map_fw_health_reg(struct bnxt * bp,u32 reg) __bnxt_map_fw_health_reg() argument
10123 bnxt_inv_fw_health_reg(struct bnxt * bp) bnxt_inv_fw_health_reg() argument
10140 bnxt_try_map_fw_health_reg(struct bnxt * bp) bnxt_try_map_fw_health_reg() argument
10187 bnxt_map_fw_health_regs(struct bnxt * bp) bnxt_map_fw_health_regs() argument
10216 bnxt_remap_fw_health_regs(struct bnxt * bp) bnxt_remap_fw_health_regs() argument
10229 bnxt_hwrm_error_recovery_qcfg(struct bnxt * bp) bnxt_hwrm_error_recovery_qcfg() argument
10294 bnxt_hwrm_func_reset(struct bnxt * bp) bnxt_hwrm_func_reset() argument
10308 bnxt_nvm_cfg_ver_get(struct bnxt * bp) bnxt_nvm_cfg_ver_get() argument
10318 bnxt_hwrm_queue_qportcfg(struct bnxt * bp) bnxt_hwrm_queue_qportcfg() argument
10369 bnxt_hwrm_poll(struct bnxt * bp) bnxt_hwrm_poll() argument
10387 bnxt_hwrm_ver_get(struct bnxt * bp) bnxt_hwrm_ver_get() argument
10513 bnxt_hwrm_fw_set_time(struct bnxt * bp) bnxt_hwrm_fw_set_time() argument
10576 bnxt_accumulate_ring_stats(struct bnxt * bp) bnxt_accumulate_ring_stats() argument
10601 bnxt_accumulate_port_stats(struct bnxt * bp) bnxt_accumulate_port_stats() argument
10625 bnxt_accumulate_all_stats(struct bnxt * bp) bnxt_accumulate_all_stats() argument
10644 bnxt_sync_ring_stats(struct bnxt * bp) bnxt_sync_ring_stats() argument
10660 bnxt_hwrm_port_qstats(struct bnxt * bp,u8 flags) bnxt_hwrm_port_qstats() argument
10684 bnxt_hwrm_port_qstats_ext(struct bnxt * bp,u8 flags) bnxt_hwrm_port_qstats_ext() argument
10774 bnxt_hwrm_free_tunnel_ports(struct bnxt * bp) bnxt_hwrm_free_tunnel_ports() argument
10782 bnxt_set_tpa(struct bnxt * bp,bool set_tpa) bnxt_set_tpa() argument
10802 bnxt_hwrm_clear_vnic_rss(struct bnxt * bp) bnxt_hwrm_clear_vnic_rss() argument
10810 bnxt_clear_vnic(struct bnxt * bp) bnxt_clear_vnic() argument
10829 bnxt_hwrm_resource_free(struct bnxt * bp,bool close_path,bool irq_re_init) bnxt_hwrm_resource_free() argument
10841 bnxt_hwrm_set_br_mode(struct bnxt * bp,u16 br_mode) bnxt_hwrm_set_br_mode() argument
10864 bnxt_hwrm_set_cache_line_size(struct bnxt * bp,int size) bnxt_hwrm_set_cache_line_size() argument
10885 __bnxt_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic) __bnxt_setup_vnic() argument
10941 bnxt_hwrm_vnic_update(struct bnxt * bp,struct bnxt_vnic_info * vnic,u8 valid) bnxt_hwrm_vnic_update() argument
10961 bnxt_hwrm_vnic_rss_cfg_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_rss_cfg_p5() argument
10978 __bnxt_setup_vnic_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) __bnxt_setup_vnic_p5() argument
11009 bnxt_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_setup_vnic() argument
11017 bnxt_alloc_and_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 start_rx_ring_idx,int rx_rings) bnxt_alloc_and_setup_vnic() argument
11032 bnxt_alloc_rfs_vnics(struct bnxt * bp) bnxt_alloc_rfs_vnics() argument
11062 bnxt_del_one_rss_ctx(struct bnxt * bp,struct bnxt_rss_ctx * rss_ctx,bool all) bnxt_del_one_rss_ctx() argument
11097 bnxt_vnic_has_rx_ring(struct bnxt * bp,struct bnxt_vnic_info * vnic,int rxr_id) bnxt_vnic_has_rx_ring() argument
11122 bnxt_set_vnic_mru_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 mru,int rxr_id) bnxt_set_vnic_mru_p5() argument
11150 bnxt_set_rss_ctx_vnic_mru(struct bnxt * bp,u16 mru,int rxr_id) bnxt_set_rss_ctx_vnic_mru() argument
11168 bnxt_hwrm_realloc_rss_ctx_vnic(struct bnxt * bp) bnxt_hwrm_realloc_rss_ctx_vnic() argument
11189 bnxt_clear_rss_ctxs(struct bnxt * bp) bnxt_clear_rss_ctxs() argument
11202 bnxt_promisc_ok(struct bnxt * bp) bnxt_promisc_ok() argument
11211 bnxt_setup_nitroa0_vnic(struct bnxt * bp) bnxt_setup_nitroa0_vnic() argument
11239 bnxt_init_chip(struct bnxt * bp,bool irq_re_init) bnxt_init_chip() argument
11365 bnxt_shutdown_nic(struct bnxt * bp,bool irq_re_init) bnxt_shutdown_nic() argument
11371 bnxt_init_nic(struct bnxt * bp,bool irq_re_init) bnxt_init_nic() argument
11387 bnxt_set_real_num_queues(struct bnxt * bp) bnxt_set_real_num_queues() argument
11409 __bnxt_trim_rings(struct bnxt * bp,int * rx,int * tx,int max,bool shared) __bnxt_trim_rings() argument
11433 __bnxt_num_tx_to_cp(struct bnxt * bp,int tx,int tx_sets,int tx_xdp) __bnxt_num_tx_to_cp() argument
11438 bnxt_num_tx_to_cp(struct bnxt * bp,int tx) bnxt_num_tx_to_cp() argument
11447 bnxt_num_cp_to_tx(struct bnxt * bp,int tx_cp) bnxt_num_cp_to_tx() argument
11455 bnxt_trim_rings(struct bnxt * bp,int * rx,int * tx,int max,bool sh) bnxt_trim_rings() argument
11473 bnxt_setup_msix(struct bnxt * bp) bnxt_setup_msix() argument
11509 bnxt_change_msix(struct bnxt * bp,int total) bnxt_change_msix() argument
11533 bnxt_setup_int_mode(struct bnxt * bp) bnxt_setup_int_mode() argument
11549 bnxt_get_max_func_rss_ctxs(struct bnxt * bp) bnxt_get_max_func_rss_ctxs() argument
11554 bnxt_get_max_func_vnics(struct bnxt * bp) bnxt_get_max_func_vnics() argument
11559 bnxt_get_max_func_stat_ctxs(struct bnxt * bp) bnxt_get_max_func_stat_ctxs() argument
11564 bnxt_get_max_func_cp_rings(struct bnxt * bp) bnxt_get_max_func_cp_rings() argument
11569 bnxt_get_max_func_cp_rings_for_en(struct bnxt * bp) bnxt_get_max_func_cp_rings_for_en() argument
11579 bnxt_get_max_func_irqs(struct bnxt * bp) bnxt_get_max_func_irqs() argument
11589 bnxt_set_max_func_irqs(struct bnxt * bp,unsigned int max_irqs) bnxt_set_max_func_irqs() argument
11594 bnxt_get_avail_cp_rings_for_en(struct bnxt * bp) bnxt_get_avail_cp_rings_for_en() argument
11605 bnxt_get_avail_stat_ctxs_for_en(struct bnxt * bp) bnxt_get_avail_stat_ctxs_for_en() argument
11610 bnxt_get_avail_msix(struct bnxt * bp,int num) bnxt_get_avail_msix() argument
11623 bnxt_get_num_msix(struct bnxt * bp) bnxt_get_num_msix() argument
11631 bnxt_init_int_mode(struct bnxt * bp) bnxt_init_int_mode() argument
11688 bnxt_clear_int_mode(struct bnxt * bp) bnxt_clear_int_mode() argument
11696 bnxt_reserve_rings(struct bnxt * bp,bool irq_re_init) bnxt_reserve_rings() argument
11753 bnxt_tx_queue_stop(struct bnxt * bp,int idx) bnxt_tx_queue_stop() argument
11784 bnxt_tx_queue_start(struct bnxt * bp,int idx) bnxt_tx_queue_start() argument
11888 bnxt_register_irq_notifier(struct bnxt * bp,struct bnxt_irq * irq) bnxt_register_irq_notifier() argument
11903 bnxt_alloc_ring_cpu_masks(struct bnxt * bp) bnxt_alloc_ring_cpu_masks() argument
11922 bnxt_free_ring_cpu_masks(struct bnxt * bp) bnxt_free_ring_cpu_masks() argument
11938 bnxt_free_irq(struct bnxt * bp) bnxt_free_irq() argument
11971 bnxt_request_irq(struct bnxt * bp) bnxt_request_irq() argument
12062 bnxt_del_napi(struct bnxt * bp) bnxt_del_napi() argument
12085 bnxt_init_napi(struct bnxt * bp) bnxt_init_napi() argument
12110 bnxt_disable_napi(struct bnxt * bp) bnxt_disable_napi() argument
12131 bnxt_enable_napi(struct bnxt * bp) bnxt_enable_napi() argument
12153 bnxt_tx_disable(struct bnxt * bp) bnxt_tx_disable() argument
12172 bnxt_tx_enable(struct bnxt * bp) bnxt_tx_enable() argument
12232 bnxt_report_link(struct bnxt * bp) bnxt_report_link() argument
12308 bnxt_hwrm_phy_qcaps(struct bnxt * bp) bnxt_hwrm_phy_qcaps() argument
12369 bnxt_hwrm_mac_qcaps(struct bnxt * bp) bnxt_hwrm_mac_qcaps() argument
12398 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_support_speed_dropped() local
12424 bnxt_update_link(struct bnxt * bp,bool chng_link_state) bnxt_update_link() argument
12556 bnxt_get_port_module_status(struct bnxt * bp) bnxt_get_port_module_status() argument
12584 bnxt_hwrm_set_pause_common(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_pause_common() argument
12611 bnxt_hwrm_set_link_common(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_link_common() argument
12650 bnxt_hwrm_set_pause(struct bnxt * bp) bnxt_hwrm_set_pause() argument
12681 bnxt_hwrm_set_eee(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_eee() argument
12704 bnxt_hwrm_set_link_setting(struct bnxt * bp,bool set_pause,bool set_eee) bnxt_hwrm_set_link_setting() argument
12723 bnxt_hwrm_shutdown_link(struct bnxt * bp) bnxt_hwrm_shutdown_link() argument
12754 bnxt_fw_reset_via_optee(struct bnxt * bp) bnxt_fw_reset_via_optee() argument
12769 bnxt_try_recover_fw(struct bnxt * bp) bnxt_try_recover_fw() argument
12800 bnxt_clear_reservations(struct bnxt * bp,bool fw_reset) bnxt_clear_reservations() argument
12821 bnxt_cancel_reservations(struct bnxt * bp,bool fw_reset) bnxt_cancel_reservations() argument
12837 bnxt_hwrm_if_change(struct bnxt * bp,bool up) bnxt_hwrm_if_change() argument
12926 bnxt_hwrm_port_led_qcaps(struct bnxt * bp) bnxt_hwrm_port_led_qcaps() argument
12969 bnxt_hwrm_alloc_wol_fltr(struct bnxt * bp) bnxt_hwrm_alloc_wol_fltr() argument
12992 bnxt_hwrm_free_wol_fltr(struct bnxt * bp) bnxt_hwrm_free_wol_fltr() argument
13008 bnxt_hwrm_get_wol_fltrs(struct bnxt * bp,u16 handle) bnxt_hwrm_get_wol_fltrs() argument
13037 bnxt_get_wol_settings(struct bnxt * bp) bnxt_get_wol_settings() argument
13050 bnxt_eee_config_ok(struct bnxt * bp) bnxt_eee_config_ok() argument
13077 bnxt_update_phy_setting(struct bnxt * bp) bnxt_update_phy_setting() argument
13139 bnxt_reinit_after_abort(struct bnxt * bp) bnxt_reinit_after_abort() argument
13161 bnxt_cfg_one_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_cfg_one_usr_fltr() argument
13189 bnxt_cfg_usr_fltrs(struct bnxt * bp) bnxt_cfg_usr_fltrs() argument
13197 bnxt_set_xps_mapping(struct bnxt * bp) bnxt_set_xps_mapping() argument
13237 bnxt_tx_nr_rings(struct bnxt * bp) bnxt_tx_nr_rings() argument
13243 bnxt_tx_nr_rings_per_tc(struct bnxt * bp) bnxt_tx_nr_rings_per_tc() argument
13248 bnxt_set_xdp_tx_rings(struct bnxt * bp) bnxt_set_xdp_tx_rings() argument
13254 bnxt_adj_tx_rings(struct bnxt * bp) bnxt_adj_tx_rings() argument
13263 __bnxt_open_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) __bnxt_open_nic() argument
13362 bnxt_open_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) bnxt_open_nic() argument
13381 bnxt_half_open_nic(struct bnxt * bp) bnxt_half_open_nic() argument
13417 bnxt_half_close_nic(struct bnxt * bp) bnxt_half_close_nic() argument
13426 bnxt_reenable_sriov(struct bnxt * bp) bnxt_reenable_sriov() argument
13439 struct bnxt *bp = netdev_priv(dev); bnxt_open() local
13471 bnxt_drv_busy(struct bnxt * bp) bnxt_drv_busy() argument
13480 __bnxt_close_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) __bnxt_close_nic() argument
13519 bnxt_close_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) bnxt_close_nic() argument
13552 struct bnxt *bp = netdev_priv(dev); bnxt_close() local
13560 bnxt_hwrm_port_phy_read(struct bnxt * bp,u16 phy_addr,u16 reg,u16 * val) bnxt_hwrm_port_phy_read() argument
13592 bnxt_hwrm_port_phy_write(struct bnxt * bp,u16 phy_addr,u16 reg,u16 val) bnxt_hwrm_port_phy_write() argument
13623 struct bnxt *bp = netdev_priv(dev); bnxt_ioctl() local
13657 bnxt_get_ring_stats(struct bnxt * bp,struct rtnl_link_stats64 * stats) bnxt_get_ring_stats() argument
13696 bnxt_add_prev_stats(struct bnxt * bp,struct rtnl_link_stats64 * stats) bnxt_add_prev_stats() argument
13714 struct bnxt *bp = netdev_priv(dev); bnxt_get_stats64() local
13756 bnxt_get_one_ring_drv_stats(struct bnxt * bp,struct bnxt_total_ring_drv_stats * stats,struct bnxt_cp_ring_info * cpr) bnxt_get_one_ring_drv_stats() argument
13778 bnxt_get_ring_drv_stats(struct bnxt * bp,struct bnxt_total_ring_drv_stats * stats) bnxt_get_ring_drv_stats() argument
13787 bnxt_mc_list_updated(struct bnxt * bp,u32 * rx_mask,const struct netdev_hw_addr_list * mc) bnxt_mc_list_updated() argument
13821 bnxt_uc_list_updated(struct bnxt * bp,const struct netdev_hw_addr_list * uc) bnxt_uc_list_updated() argument
13844 struct bnxt *bp = netdev_priv(dev); bnxt_set_rx_mode() local
13883 bnxt_cfg_rx_mode(struct bnxt * bp,struct netdev_hw_addr_list * uc,bool uc_update) bnxt_cfg_rx_mode() argument
13951 bnxt_can_reserve_rings(struct bnxt * bp) bnxt_can_reserve_rings() argument
13971 bnxt_rfs_supported(struct bnxt * bp) bnxt_rfs_supported() argument
13989 bnxt_rfs_capable(struct bnxt * bp,bool new_rss_ctx) bnxt_rfs_capable() argument
14043 struct bnxt *bp = netdev_priv(dev); bnxt_fix_features() local
14080 bnxt_reinit_features(struct bnxt * bp,bool irq_re_init,bool link_re_init,u32 flags,bool update_tpa) bnxt_reinit_features() argument
14093 struct bnxt *bp = netdev_priv(dev); bnxt_set_features() local
14162 bnxt_exthdr_check(struct bnxt * bp,struct sk_buff * skb,int nw_off,u8 ** nextp) bnxt_exthdr_check() argument
14211 bnxt_udp_tunl_check(struct bnxt * bp,struct sk_buff * skb) bnxt_udp_tunl_check() argument
14239 bnxt_tunl_check(struct bnxt * bp,struct sk_buff * skb,u8 l4_proto) bnxt_tunl_check() argument
14268 struct bnxt *bp = netdev_priv(dev); bnxt_features_check() local
14291 bnxt_dbg_hwrm_rd_reg(struct bnxt * bp,u32 reg_off,u16 num_words,u32 * reg_buf) bnxt_dbg_hwrm_rd_reg() argument
14330 bnxt_dbg_hwrm_ring_info_get(struct bnxt * bp,u8 ring_type,u32 ring_id,u32 * prod,u32 * cons) bnxt_dbg_hwrm_ring_info_get() argument
14395 bnxt_dbg_dump_states(struct bnxt * bp) bnxt_dbg_dump_states() argument
14410 bnxt_hwrm_rx_ring_reset(struct bnxt * bp,int ring_nr) bnxt_hwrm_rx_ring_reset() argument
14431 bnxt_reset_task(struct bnxt * bp,bool silent) bnxt_reset_task() argument
14443 struct bnxt *bp = netdev_priv(dev); bnxt_tx_timeout() local
14449 bnxt_fw_health_check(struct bnxt * bp) bnxt_fw_health_check() argument
14488 struct bnxt *bp = timer_container_of(bp, t, timer); bnxt_timer() local
14527 bnxt_lock_sp(struct bnxt * bp) bnxt_lock_sp() argument
14539 bnxt_unlock_sp(struct bnxt * bp) bnxt_unlock_sp() argument
14546 bnxt_rtnl_lock_sp(struct bnxt * bp) bnxt_rtnl_lock_sp() argument
14553 bnxt_rtnl_unlock_sp(struct bnxt * bp) bnxt_rtnl_unlock_sp() argument
14560 bnxt_tph_update(struct bnxt * bp) bnxt_tph_update() argument
14598 bnxt_reset(struct bnxt * bp,bool silent) bnxt_reset() argument
14607 bnxt_rx_ring_reset(struct bnxt * bp) bnxt_rx_ring_reset() argument
14662 bnxt_fw_fatal_close(struct bnxt * bp) bnxt_fw_fatal_close() argument
14672 bnxt_fw_reset_close(struct bnxt * bp) bnxt_fw_reset_close() argument
14695 is_bnxt_fw_ok(struct bnxt * bp) is_bnxt_fw_ok() argument
14716 bnxt_force_fw_reset(struct bnxt * bp) bnxt_force_fw_reset() argument
14753 bnxt_fw_exception(struct bnxt * bp) bnxt_fw_exception() argument
14766 bnxt_get_registered_vfs(struct bnxt * bp) bnxt_get_registered_vfs() argument
14787 bnxt_fw_reset(struct bnxt * bp) bnxt_fw_reset() argument
14839 bnxt_chk_missed_irq(struct bnxt * bp) bnxt_chk_missed_irq() argument
14878 bnxt_init_ethtool_link_settings(struct bnxt * bp) bnxt_init_ethtool_link_settings() argument
14903 bnxt_fw_echo_reply(struct bnxt * bp) bnxt_fw_echo_reply() argument
14917 bnxt_ulp_restart(struct bnxt * bp) bnxt_ulp_restart() argument
14925 struct bnxt *bp = container_of(work, struct bnxt, sp_task); bnxt_sp_task() local
15039 bnxt_check_rings(struct bnxt * bp,int tx,int rx,bool sh,int tcs,int tx_xdp) bnxt_check_rings() argument
15097 bnxt_unmap_bars(struct bnxt * bp,struct pci_dev * pdev) bnxt_unmap_bars() argument
15115 bnxt_cleanup_pci(struct bnxt * bp) bnxt_cleanup_pci() argument
15124 bnxt_init_dflt_coal(struct bnxt * bp) bnxt_init_dflt_coal() argument
15159 bnxt_fw_pre_resv_vnics(struct bnxt * bp) bnxt_fw_pre_resv_vnics() argument
15172 bnxt_hwrm_pfcwd_qcaps(struct bnxt * bp) bnxt_hwrm_pfcwd_qcaps() argument
15189 bnxt_fw_init_one_p1(struct bnxt * bp) bnxt_fw_init_one_p1() argument
15220 bnxt_fw_init_one_p2(struct bnxt * bp) bnxt_fw_init_one_p2() argument
15278 bnxt_set_dflt_rss_hash_type(struct bnxt * bp) bnxt_set_dflt_rss_hash_type() argument
15294 bnxt_set_dflt_rfs(struct bnxt * bp) bnxt_set_dflt_rfs() argument
15310 bnxt_fw_init_one_p3(struct bnxt * bp) bnxt_fw_init_one_p3() argument
15329 bnxt_fw_init_one(struct bnxt * bp) bnxt_fw_init_one() argument
15354 bnxt_fw_reset_writel(struct bnxt * bp,int reg_idx) bnxt_fw_reset_writel() argument
15386 bnxt_hwrm_reset_permitted(struct bnxt * bp) bnxt_hwrm_reset_permitted() argument
15407 bnxt_reset_all(struct bnxt * bp) bnxt_reset_all() argument
15438 bnxt_fw_reset_timeout(struct bnxt * bp) bnxt_fw_reset_timeout() argument
15444 bnxt_fw_reset_abort(struct bnxt * bp,int rc) bnxt_fw_reset_abort() argument
15455 struct bnxt *bp = container_of(work, struct bnxt, fw_reset_task.work); bnxt_fw_reset_task() local
15633 struct bnxt *bp = netdev_priv(dev); bnxt_init_board() local
15723 struct bnxt *bp = netdev_priv(dev); bnxt_change_mac_addr() local
15750 struct bnxt *bp = netdev_priv(dev); bnxt_change_mtu() local
15774 bnxt_set_cp_rings(struct bnxt * bp,bool sh) bnxt_set_cp_rings() argument
15784 struct bnxt *bp = netdev_priv(dev); bnxt_setup_mq_tc() local
15830 struct bnxt *bp = cb_priv; bnxt_setup_tc_block_cb() local
15849 struct bnxt *bp = netdev_priv(dev); bnxt_setup_tc() local
15869 bnxt_get_ntp_filter_idx(struct bnxt * bp,struct flow_keys * fkeys,const struct sk_buff * skb) bnxt_get_ntp_filter_idx() argument
15881 bnxt_insert_ntp_filter(struct bnxt * bp,struct bnxt_ntuple_filter * fltr,u32 idx) bnxt_insert_ntp_filter() argument
15945 bnxt_lookup_ntp_filter_from_idx(struct bnxt * bp,struct bnxt_ntuple_filter * fltr,u32 idx) bnxt_lookup_ntp_filter_from_idx() argument
15963 struct bnxt *bp = netdev_priv(dev); bnxt_rx_flow_steer() local
16047 bnxt_del_ntp_filter(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_del_ntp_filter() argument
16063 bnxt_cfg_ntp_filters(struct bnxt * bp) bnxt_cfg_ntp_filters() argument
16107 struct bnxt *bp = netdev_priv(netdev); bnxt_udp_tunnel_set_port() local
16123 struct bnxt *bp = netdev_priv(netdev); bnxt_udp_tunnel_unset_port() local
16159 struct bnxt *bp = netdev_priv(dev); bnxt_bridge_getlink() local
16168 struct bnxt *bp = netdev_priv(dev); bnxt_bridge_setlink() local
16197 struct bnxt *bp = netdev_priv(dev); bnxt_get_port_parent_id() local
16254 struct bnxt *bp = netdev_priv(dev); bnxt_get_queue_stats_rx() local
16283 struct bnxt *bp = netdev_priv(dev); bnxt_get_queue_stats_tx() local
16309 struct bnxt *bp = netdev_priv(dev); bnxt_get_base_stats() local
16337 struct bnxt *bp = netdev_priv(dev); bnxt_validate_qcfg() local
16359 struct bnxt *bp = netdev_priv(dev); bnxt_queue_mem_alloc() local
16455 struct bnxt *bp = netdev_priv(dev); bnxt_queue_mem_free() local
16478 bnxt_copy_rx_ring(struct bnxt * bp,struct bnxt_rx_ring_info * dst,struct bnxt_rx_ring_info * src) bnxt_copy_rx_ring() argument
16539 struct bnxt *bp = netdev_priv(dev); bnxt_queue_start() local
16618 struct bnxt *bp = netdev_priv(dev); bnxt_queue_stop() local
16682 struct bnxt *bp = netdev_priv(dev); bnxt_remove_one() local
16728 bnxt_probe_phy(struct bnxt * bp,bool fw_dflt) bnxt_probe_phy() argument
16782 _bnxt_get_max_rings(struct bnxt * bp,int * max_rx,int * max_tx,int * max_cp) _bnxt_get_max_rings() argument
16818 bnxt_get_max_rings(struct bnxt * bp,int * max_rx,int * max_tx,bool shared) bnxt_get_max_rings() argument
16831 bnxt_get_dflt_rings(struct bnxt * bp,int * max_rx,int * max_tx,bool shared) bnxt_get_dflt_rings() argument
16879 bnxt_trim_dflt_sh_rings(struct bnxt * bp) bnxt_trim_dflt_sh_rings() argument
16887 bnxt_adj_dflt_rings(struct bnxt * bp,bool sh) bnxt_adj_dflt_rings() argument
16900 bnxt_set_dflt_rings(struct bnxt * bp,bool sh) bnxt_set_dflt_rings() argument
16962 bnxt_init_dflt_ring_mode(struct bnxt * bp) bnxt_init_dflt_ring_mode() argument
16992 bnxt_restore_pf_fw_resources(struct bnxt * bp) bnxt_restore_pf_fw_resources() argument
17017 bnxt_init_mac_addr(struct bnxt * bp) bnxt_init_mac_addr() argument
17044 bnxt_vpd_read_info(struct bnxt * bp) bnxt_vpd_read_info() argument
17078 bnxt_pcie_dsn_get(struct bnxt * bp,u8 dsn[]) bnxt_pcie_dsn_get() argument
17095 bnxt_map_db_bar(struct bnxt * bp) bnxt_map_db_bar() argument
17105 bnxt_print_device_info(struct bnxt * bp) bnxt_print_device_info() argument
17118 struct bnxt *bp; bnxt_init_one() local
17410 struct bnxt *bp; bnxt_shutdown() local
17446 struct bnxt *bp = netdev_priv(dev); bnxt_suspend() local
17467 struct bnxt *bp = netdev_priv(dev); bnxt_resume() local
17544 struct bnxt *bp = netdev_priv(netdev); bnxt_io_error_detected() local
17598 struct bnxt *bp = netdev_priv(netdev); bnxt_io_slot_reset() local
17682 struct bnxt *bp = netdev_priv(netdev); bnxt_io_resume() local
[all...]
H A Dbnxt_ulp.c36 static void bnxt_auxdev_set_state(struct bnxt *bp, int idx, int state) in bnxt_auxdev_set_state()
41 static bool bnxt_auxdev_is_init(struct bnxt *bp, int idx) in bnxt_auxdev_is_init()
46 static bool bnxt_auxdev_is_active(struct bnxt *bp, int idx) in bnxt_auxdev_is_active()
57 static void bnxt_fill_msix_vecs(struct bnxt *bp, struct bnxt_msix_entry *ent) in bnxt_fill_msix_vecs()
77 int bnxt_get_ulp_msix_num(struct bnxt *bp) in bnxt_get_ulp_msix_num()
86 void bnxt_set_ulp_msix_num(struct bnxt *bp, int num) in bnxt_set_ulp_msix_num()
94 int bnxt_get_ulp_msix_num_in_use(struct bnxt *bp) in bnxt_get_ulp_msix_num_in_use()
103 int bnxt_get_ulp_stat_ctxs(struct bnxt *bp) in bnxt_get_ulp_stat_ctxs()
112 void bnxt_set_ulp_stat_ctxs(struct bnxt *bp, int num_ulp_ctx) in bnxt_set_ulp_stat_ctxs()
120 int bnxt_get_ulp_stat_ctxs_in_use(struct bnxt *bp) in bnxt_get_ulp_stat_ctxs_in_use()
[all …]
H A Dbnxt_dcb.c25 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) in bnxt_queue_to_tc()
40 static int bnxt_hwrm_queue_pri2cos_cfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_cfg()
66 static int bnxt_hwrm_queue_pri2cos_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_qcfg()
96 static int bnxt_hwrm_queue_cos2bw_cfg(struct bnxt *bp, struct ieee_ets *ets, in bnxt_hwrm_queue_cos2bw_cfg()
145 static int bnxt_hwrm_queue_cos2bw_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_cos2bw_qcfg()
193 static int bnxt_queue_remap(struct bnxt *bp, unsigned int lltc_mask) in bnxt_queue_remap()
249 static int bnxt_hwrm_queue_pfc_cfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_cfg()
297 static int bnxt_hwrm_queue_pfc_qcfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_qcfg()
321 static int bnxt_hwrm_set_dcbx_app(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_set_dcbx_app()
414 static int bnxt_hwrm_queue_dscp_qcaps(struct bnxt *bp) in bnxt_hwrm_queue_dscp_qcaps()
[all …]
H A Dbnxt_hwrm.c61 int __hwrm_req_init(struct bnxt *bp, void **req, u16 req_type, u32 req_len) in __hwrm_req_init()
98 static struct bnxt_hwrm_ctx *__hwrm_ctx(struct bnxt *bp, u8 *req_addr) in __hwrm_ctx()
135 void hwrm_req_timeout(struct bnxt *bp, void *req, unsigned int timeout) in hwrm_req_timeout()
158 void hwrm_req_alloc_flags(struct bnxt *bp, void *req, gfp_t gfp) in hwrm_req_alloc_flags()
192 int hwrm_req_replace(struct bnxt *bp, void *req, void *new_req, u32 len) in hwrm_req_replace()
245 void hwrm_req_flags(struct bnxt *bp, void *req, enum bnxt_hwrm_ctx_flags flags) in hwrm_req_flags()
278 void *hwrm_req_hold(struct bnxt *bp, void *req) in hwrm_req_hold()
298 static void __hwrm_ctx_drop(struct bnxt *bp, struct bnxt_hwrm_ctx *ctx) in __hwrm_ctx_drop()
330 void hwrm_req_drop(struct bnxt *bp, void *req) in hwrm_req_drop()
370 __hwrm_acquire_token(struct bnxt *bp, enum bnxt_hwrm_chnl dst) in __hwrm_acquire_token()
[all …]
H A Dbnxt_ptp.c23 static int bnxt_ptp_cfg_settime(struct bnxt *bp, u64 time) in bnxt_ptp_cfg_settime()
77 static int __bnxt_refclk_read(struct bnxt *bp, struct ptp_system_timestamp *sts, in __bnxt_refclk_read()
101 static int bnxt_refclk_read(struct bnxt *bp, struct ptp_system_timestamp *sts, in bnxt_refclk_read()
115 static int bnxt_refclk_read_low(struct bnxt *bp, struct ptp_system_timestamp *sts, in bnxt_refclk_read_low()
137 static void bnxt_ptp_get_current_time(struct bnxt *bp) in bnxt_ptp_get_current_time()
147 static int bnxt_hwrm_port_ts_query(struct bnxt *bp, u32 flags, u64 *ts, in bnxt_hwrm_port_ts_query()
202 void bnxt_ptp_update_current_time(struct bnxt *bp) in bnxt_ptp_update_current_time()
247 static int bnxt_ptp_adjfine_rtc(struct bnxt *bp, long scaled_ppm) in bnxt_ptp_adjfine_rtc()
270 struct bnxt *bp = ptp->bp; in bnxt_ptp_adjfine() local
283 void bnxt_ptp_pps_event(struct bnxt *bp, u32 data1, u32 data2) in bnxt_ptp_pps_event()
[all …]
/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c64 #define MACB_TX_WAKEUP_THRESH(bp) (3 * (bp)->tx_ring_size / 4) argument
129 static unsigned int macb_dma_desc_get_size(struct macb *bp) in macb_dma_desc_get_size() argument
141 static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) in macb_adj_dma_desc_idx() argument
146 static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) in macb_64b_desc() argument
153 static unsigned int macb_tx_ring_wrap(struct macb *bp, unsigne argument
182 macb_rx_ring_wrap(struct macb * bp,unsigned int index) macb_rx_ring_wrap() argument
201 hw_readl_native(struct macb * bp,int offset) hw_readl_native() argument
206 hw_writel_native(struct macb * bp,int offset,u32 value) hw_writel_native() argument
211 hw_readl(struct macb * bp,int offset) hw_readl() argument
216 hw_writel(struct macb * bp,int offset,u32 value) hw_writel() argument
250 macb_set_hwaddr(struct macb * bp) macb_set_hwaddr() argument
274 macb_get_hwaddr(struct macb * bp) macb_get_hwaddr() argument
303 macb_mdio_wait_for_idle(struct macb * bp) macb_mdio_wait_for_idle() argument
313 struct macb *bp = bus->priv; macb_mdio_read_c22() local
345 struct macb *bp = bus->priv; macb_mdio_read_c45() local
390 struct macb *bp = bus->priv; macb_mdio_write_c22() local
422 struct macb *bp = bus->priv; macb_mdio_write_c45() local
463 macb_init_buffers(struct macb * bp) macb_init_buffers() argument
487 macb_set_tx_clk(struct macb * bp,int speed) macb_set_tx_clk() argument
524 struct macb *bp = container_of(pcs, struct macb, phylink_usx_pcs); macb_usx_pcs_link_up() local
539 struct macb *bp = container_of(pcs, struct macb, phylink_usx_pcs); macb_usx_pcs_get_state() local
559 struct macb *bp = container_of(pcs, struct macb, phylink_usx_pcs); macb_usx_pcs_config() local
576 struct macb *bp = container_of(pcs, struct macb, phylink_sgmii_pcs); macb_pcs_get_state() local
595 struct macb *bp = container_of(pcs, struct macb, phylink_sgmii_pcs); macb_pcs_config() local
631 macb_tx_lpi_set(struct macb * bp,bool enable) macb_tx_lpi_set() argument
649 macb_tx_all_queues_idle(struct macb * bp) macb_tx_all_queues_idle() argument
663 struct macb *bp = container_of(work, struct macb, tx_lpi_work.work); macb_tx_lpi_work_fn() local
672 macb_tx_lpi_schedule(struct macb * bp) macb_tx_lpi_schedule() argument
684 macb_tx_lpi_wake(struct macb * bp) macb_tx_lpi_wake() argument
701 struct macb *bp = netdev_priv(netdev); macb_mac_disable_tx_lpi() local
716 struct macb *bp = netdev_priv(netdev); macb_mac_enable_tx_lpi() local
736 struct macb *bp = netdev_priv(netdev); macb_mac_config() local
778 struct macb *bp = netdev_priv(netdev); macb_mac_link_down() local
802 struct macb *bp = queue->bp; gem_shuffle_tx_one_ring() local
877 gem_shuffle_tx_rings(struct macb * bp) gem_shuffle_tx_rings() argument
893 struct macb *bp = netdev_priv(netdev); macb_mac_link_up() local
956 struct macb *bp = netdev_priv(netdev); macb_mac_select_pcs() local
982 macb_phylink_connect(struct macb * bp) macb_phylink_connect() argument
1017 struct macb *bp = netdev_priv(netdev); macb_get_pcs_fixed_state() local
1025 struct macb *bp = netdev_priv(netdev); macb_mii_probe() local
1097 macb_mdiobus_register(struct macb * bp,struct device_node * mdio_np) macb_mdiobus_register() argument
1125 macb_mii_init(struct macb * bp) macb_mii_init() argument
1181 macb_update_stats(struct macb * bp) macb_update_stats() argument
1193 macb_halt_tx(struct macb * bp) macb_halt_tx() argument
1206 macb_tx_unmap(struct macb * bp,struct macb_tx_skb * tx_skb,int budget) macb_tx_unmap() argument
1224 macb_set_addr(struct macb * bp,struct macb_dma_desc * desc,dma_addr_t addr) macb_set_addr() argument
1241 macb_get_addr(struct macb * bp,struct macb_dma_desc * desc) macb_get_addr() argument
1262 struct macb *bp = queue->bp; macb_tx_error_task() local
1410 struct macb *bp = queue->bp; macb_tx_complete() local
1491 struct macb *bp = queue->bp; gem_rx_refill() local
1587 struct macb *bp = queue->bp; gem_rx() local
1679 struct macb *bp = queue->bp; macb_rx_frame() local
1762 struct macb *bp = queue->bp; macb_init_rx_ring() local
1780 struct macb *bp = queue->bp; macb_rx() local
1858 struct macb *bp = queue->bp; macb_rx_pending() local
1874 struct macb *bp = queue->bp; macb_rx_poll() local
1910 struct macb *bp = queue->bp; macb_tx_restart() local
1954 struct macb *bp = queue->bp; macb_tx_poll() local
1995 struct macb *bp = from_work(bp, work, hresp_err_bh_work); macb_hresp_error_task() local
2034 struct macb *bp = queue->bp; macb_wol_interrupt() local
2047 struct macb *bp = queue->bp; gem_wol_interrupt() local
2060 struct macb *bp = queue->bp; macb_interrupt_misc() local
2123 struct macb *bp = queue->bp; macb_interrupt() local
2189 struct macb *bp = netdev_priv(netdev); macb_poll_controller() local
2201 macb_tx_map(struct macb * bp,struct macb_queue * queue,struct sk_buff * skb,unsigned int hdrlen,u8 fcs_len) macb_tx_map() argument
2479 struct macb *bp = netdev_priv(netdev); macb_start_xmit() local
2583 macb_init_rx_buffer_size(struct macb * bp,size_t size) macb_init_rx_buffer_size() argument
2603 gem_free_rx_buffers(struct macb * bp) gem_free_rx_buffers() argument
2636 macb_free_rx_buffers(struct macb * bp) macb_free_rx_buffers() argument
2648 macb_tx_ring_size_per_queue(struct macb * bp) macb_tx_ring_size_per_queue() argument
2653 macb_rx_ring_size_per_queue(struct macb * bp) macb_rx_ring_size_per_queue() argument
2658 macb_free(struct macb * bp) macb_free() argument
2698 gem_alloc_rx_buffers(struct macb * bp) gem_alloc_rx_buffers() argument
2717 macb_alloc_rx_buffers(struct macb * bp) macb_alloc_rx_buffers() argument
2734 macb_alloc(struct macb * bp) macb_alloc() argument
2804 gem_init_rings(struct macb * bp) gem_init_rings() argument
2825 macb_init_rings(struct macb * bp) macb_init_rings() argument
2842 macb_reset_hw(struct macb * bp) macb_reset_hw() argument
2873 gem_mdc_clk_div(struct macb * bp) gem_mdc_clk_div() argument
2898 macb_mdc_clk_div(struct macb * bp) macb_mdc_clk_div() argument
2923 macb_dbw(struct macb * bp) macb_dbw() argument
2946 macb_configure_dma(struct macb * bp) macb_configure_dma() argument
2988 macb_init_hw(struct macb * bp) macb_init_hw() argument
3089 struct macb *bp = netdev_priv(netdev); macb_sethashtable() local
3107 struct macb *bp = netdev_priv(netdev); macb_set_rx_mode() local
3149 struct macb *bp = netdev_priv(netdev); macb_open() local
3216 struct macb *bp = netdev_priv(netdev); macb_close() local
3273 gem_update_stats(struct macb * bp) gem_update_stats() argument
3302 gem_get_stats(struct macb * bp,struct rtnl_link_stats64 * nstat) gem_get_stats() argument
3343 struct macb *bp = netdev_priv(netdev); gem_get_ethtool_stats() local
3354 struct macb *bp = netdev_priv(netdev); gem_get_sset_count() local
3366 struct macb *bp = netdev_priv(netdev); gem_get_ethtool_strings() local
3388 struct macb *bp = netdev_priv(netdev); macb_get_stats() local
3438 struct macb *bp = netdev_priv(netdev); macb_get_pause_stats() local
3451 struct macb *bp = netdev_priv(netdev); gem_get_pause_stats() local
3464 struct macb *bp = netdev_priv(netdev); macb_get_eth_mac_stats() local
3489 struct macb *bp = netdev_priv(netdev); gem_get_eth_mac_stats() local
3522 struct macb *bp = netdev_priv(netdev); macb_get_eth_phy_stats() local
3534 struct macb *bp = netdev_priv(netdev); gem_get_eth_phy_stats() local
3547 struct macb *bp = netdev_priv(netdev); macb_get_rmon_stats() local
3573 struct macb *bp = netdev_priv(netdev); gem_get_rmon_stats() local
3607 struct macb *bp = netdev_priv(netdev); macb_get_regs() local
3639 struct macb *bp = netdev_priv(netdev); macb_get_wol() local
3650 struct macb *bp = netdev_priv(netdev); macb_set_wol() local
3671 struct macb *bp = netdev_priv(netdev); macb_get_link_ksettings() local
3679 struct macb *bp = netdev_priv(netdev); macb_set_link_ksettings() local
3689 struct macb *bp = netdev_priv(netdev); macb_get_ringparam() local
3703 struct macb *bp = netdev_priv(netdev); macb_set_ringparam() local
3742 gem_get_tsu_rate(struct macb * bp) gem_get_tsu_rate() argument
3766 struct macb *bp = netdev_priv(netdev); gem_get_ts_info() local
3806 struct macb *bp = netdev_priv(netdev); macb_get_ts_info() local
3814 gem_enable_flow_filters(struct macb * bp,bool enable) gem_enable_flow_filters() argument
3860 gem_prog_cmp_regs(struct macb * bp,struct ethtool_rx_flow_spec * fs) gem_prog_cmp_regs() argument
3946 struct macb *bp = netdev_priv(netdev); gem_add_flow_filter() local
4001 struct macb *bp = netdev_priv(netdev); gem_del_flow_filter() local
4037 struct macb *bp = netdev_priv(netdev); gem_get_flow_entry() local
4052 struct macb *bp = netdev_priv(netdev); gem_get_all_flow_entries() local
4070 struct macb *bp = netdev_priv(netdev); gem_get_rx_ring_count() local
4078 struct macb *bp = netdev_priv(netdev); gem_get_rxnfc() local
4102 struct macb *bp = netdev_priv(netdev); gem_set_rxnfc() local
4148 struct macb *bp = netdev_priv(netdev); macb_get_eee() local
4155 struct macb *bp = netdev_priv(netdev); macb_set_eee() local
4188 struct macb *bp = netdev_priv(netdev); macb_ioctl() local
4199 struct macb *bp = netdev_priv(netdev); macb_hwtstamp_get() local
4214 struct macb *bp = netdev_priv(netdev); macb_hwtstamp_set() local
4225 macb_set_txcsum_feature(struct macb * bp,netdev_features_t features) macb_set_txcsum_feature() argument
4242 macb_set_rxcsum_feature(struct macb * bp,netdev_features_t features) macb_set_rxcsum_feature() argument
4260 macb_set_rxflow_feature(struct macb * bp,netdev_features_t features) macb_set_rxflow_feature() argument
4272 struct macb *bp = netdev_priv(netdev); macb_set_features() local
4290 macb_restore_features(struct macb * bp) macb_restore_features() argument
4316 struct macb *bp = netdev_priv(netdev); macb_taprio_setup_replace() local
4465 struct macb *bp = netdev_priv(netdev); macb_taprio_destroy() local
4491 struct macb *bp = netdev_priv(netdev); macb_setup_taprio() local
4533 struct macb *bp = netdev_priv(netdev); macb_tx_timeout() local
4562 macb_configure_caps(struct macb * bp,const struct macb_config * dt_conf) macb_configure_caps() argument
4743 struct macb *bp = netdev_priv(netdev); macb_init_dflt() local
4953 at91ether_alloc_coherent(struct macb * bp) at91ether_alloc_coherent() argument
4981 at91ether_free_coherent(struct macb * bp) at91ether_free_coherent() argument
5003 at91ether_start(struct macb * bp) at91ether_start() argument
5048 at91ether_stop(struct macb * bp) at91ether_stop() argument
5072 struct macb *bp = netdev_priv(netdev); at91ether_open() local
5108 struct macb *bp = netdev_priv(netdev); at91ether_close() local
5126 struct macb *bp = netdev_priv(netdev); at91ether_start_xmit() local
5166 struct macb *bp = netdev_priv(netdev); at91ether_rx() local
5211 struct macb *bp = netdev_priv(netdev); at91ether_interrupt() local
5312 struct macb *bp = netdev_priv(netdev); at91ether_init() local
5451 struct macb *bp = netdev_priv(netdev); init_reset_optional() local
5507 struct macb *bp = netdev_priv(netdev); eyeq5_init() local
5526 macb_alloc_tieoff(struct macb * bp) macb_alloc_tieoff() argument
5547 macb_free_tieoff(struct macb * bp) macb_free_tieoff() argument
5794 struct macb *bp; macb_probe() local
6016 struct macb *bp; macb_remove() local
6044 struct macb *bp = netdev_priv(netdev); macb_suspend() local
6159 struct macb *bp = netdev_priv(netdev); macb_resume() local
6239 struct macb *bp = netdev_priv(netdev); macb_runtime_suspend() local
6252 struct macb *bp = netdev_priv(netdev); macb_runtime_resume() local
[all...]
H A Dmacb_ptp.c28 static struct macb_dma_desc_ptp *macb_ptp_desc(struct macb *bp, in macb_ptp_desc()
46 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_get_time() local
91 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_set_time() local
113 static int gem_tsu_incr_set(struct macb *bp, struct tsu_incr *incr_spec) in gem_tsu_incr_set()
135 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjfine() local
170 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjtime() local
216 static void gem_ptp_init_timer(struct macb *bp) in gem_ptp_init_timer()
231 static void gem_ptp_init_tsu(struct macb *bp) in gem_ptp_init_tsu()
247 static void gem_ptp_clear_timer(struct macb *bp) in gem_ptp_clear_timer()
257 static int gem_hw_timestamp(struct macb *bp, u32 dma_desc_ts_1, in gem_hw_timestamp()
[all …]
/linux/fs/afs/
H A Dyfsclient.c31 static __be32 *xdr_encode_u32(__be32 *bp, u32 n) in xdr_encode_u32()
37 static __be32 *xdr_encode_u64(__be32 *bp, u64 n) in xdr_encode_u64()
45 static __be32 *xdr_encode_YFSFid(__be32 *bp, struct afs_fid *fid) in xdr_encode_YFSFid()
61 static __be32 *xdr_encode_string(__be32 *bp, const char *p, unsigned int len) in xdr_encode_string()
75 static __be32 *xdr_encode_name(__be32 *bp, const struct qstr *p) in xdr_encode_name()
86 static __be32 *xdr_encode_YFSStoreStatus(__be32 *bp, mode_t *mode, in xdr_encode_YFSStoreStatus()
138 static void yfs_check_req(struct afs_call *call, __be32 *bp) in yfs_check_req()
153 static void xdr_dump_bad(const __be32 *bp) in xdr_dump_bad()
265 static __be32 *xdr_encode_YFS_StoreStatus(__be32 *bp, struct iattr *attr) in xdr_encode_YFS_StoreStatus()
334 const __be32 *bp; in yfs_deliver_status_and_volsync() local
[all …]
H A Dfsclient.c23 const __be32 *bp = *_bp; in xdr_decode_AFSFid() local
34 static void xdr_dump_bad(const __be32 *bp) in xdr_dump_bad()
142 const __be32 *bp = *_bp; in xdr_decode_AFSCallBack() local
157 const __be32 *bp = *_bp; in xdr_decode_AFSVolSync() local
177 __be32 *bp = *_bp; in xdr_encode_AFS_StoreStatus() local
216 const __be32 *bp = *_bp; in xdr_decode_AFSFetchVolumeStatus() local
242 const __be32 *bp; in afs_deliver_fs_fetch_status() local
276 __be32 *bp; in afs_fs_fetch_status() local
306 const __be32 *bp; in afs_deliver_fs_fetch_data() local
434 __be32 *bp; in afs_fs_fetch_data64() local
[all …]
/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c98 static void qec_init(struct bigmac *bp) in qec_init()
165 static void bigmac_stop(struct bigmac *bp) in bigmac_stop()
171 static void bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) in bigmac_get_counters()
193 static void bigmac_clean_rings(struct bigmac *bp) in bigmac_clean_rings()
212 static void bigmac_init_rings(struct bigmac *bp, bool non_blocking) in bigmac_init_rings()
268 static void write_tcvr_bit(struct bigmac *bp, void __iomem *tregs, int bit) in write_tcvr_bit()
291 static int read_tcvr_bit(struct bigmac *bp, void __iomem *tregs) in read_tcvr_bit()
314 static int read_tcvr_bit2(struct bigmac *bp, void __iomem *tregs) in read_tcvr_bit2()
336 static void put_tcvr_byte(struct bigmac *bp, in put_tcvr_byte()
348 static void bigmac_tcvr_write(struct bigmac *bp, void __iomem *tregs, in bigmac_tcvr_write()
[all …]
/linux/kernel/events/
H A Dhw_breakpoint.c108 static inline struct mutex *get_task_bps_mutex(struct perf_event *bp) in get_task_bps_mutex()
115 static struct mutex *bp_constraints_lock(struct perf_event *bp) in bp_constraints_lock()
149 static bool bp_constraints_is_locked(struct perf_event *bp) in bp_constraints_is_locked()
158 static inline void assert_bp_constraints_lock_held(struct perf_event *bp) in assert_bp_constraints_lock_held()
286 static inline int hw_breakpoint_weight(struct perf_event *bp) in hw_breakpoint_weight()
323 static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type) in task_bp_pinned()
359 static const struct cpumask *cpumask_of_bp(struct perf_event *bp) in cpumask_of_bp()
371 max_bp_pinned_slots(struct perf_event *bp, enum bp_type_idx type) in max_bp_pinned_slots()
410 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, int weight) in toggle_bp_slot()
573 static int __reserve_bp_slot(struct perf_event *bp, u64 bp_type) in __reserve_bp_slot()
[all …]

1234567891011