Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 611) sorted by relevance

12345678910>>...25

/openbmc/linux/fs/xfs/
H A Dxfs_buf.c54 static int __xfs_buf_submit(struct xfs_buf *bp, bool wait);
58 struct xfs_buf *bp) in xfs_buf_submit() argument
60 return __xfs_buf_submit(bp, !(bp->b_flags & XBF_ASYNC)); in xfs_buf_submit()
65 struct xfs_buf *bp) in xfs_buf_is_vmapped() argument
74 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped()
79 struct xfs_buf *bp) in xfs_buf_vmap_len() argument
81 return (bp->b_page_count * PAGE_SIZE); in xfs_buf_vmap_len()
99 struct xfs_buf *bp) in xfs_buf_ioacct_inc() argument
101 if (bp->b_flags & XBF_NO_IOACCT) in xfs_buf_ioacct_inc()
104 ASSERT(bp->b_flags & XBF_ASYNC); in xfs_buf_ioacct_inc()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c306 static int bnx2x_set_storm_rx_mode(struct bnx2x *bp);
312 static int bnx2x_hwtstamp_ioctl(struct bnx2x *bp, struct ifreq *ifr);
314 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping() argument
317 REG_WR(bp, addr, U64_LO(mapping)); in __storm_memset_dma_mapping()
318 REG_WR(bp, addr + 4, U64_HI(mapping)); in __storm_memset_dma_mapping()
321 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr() argument
327 __storm_memset_dma_mapping(bp, addr, mapping); in storm_memset_spq_addr()
330 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() argument
333 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf()
335 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf()
[all …]
H A Dbnx2x.h53 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt) argument
94 bp->dev ? (bp->dev->name) : "?", \
99 if (unlikely(bp->msg_enable & (__mask))) \
105 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \
111 if (unlikely(bp->msg_enable & (__mask))) \
118 if (unlikely(netif_msg_probe(bp))) \
121 bp->dev ? (bp->dev->name) : "?", \
130 bp->dev ? (bp->dev->name) : "?", \
140 if (unlikely(netif_msg_probe(bp))) \
141 dev_info(&bp->pdev->dev, fmt, ##__VA_ARGS__); \
[all …]
H A Dbnx2x_cmn.h39 dma_free_coherent(&bp->pdev->dev, size, (void *)x, y); \
55 void *x = dma_alloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \
64 void *x = dma_alloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \
87 u32 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode);
95 void bnx2x_send_unload_done(struct bnx2x *bp, bool keep_link);
106 int bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj,
118 void bnx2x__init_func_obj(struct bnx2x *bp);
128 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp,
136 int bnx2x_setup_leading(struct bnx2x *bp);
147 u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param);
[all …]
H A Dbnx2x_cmn.c36 static void bnx2x_free_fp_mem_cnic(struct bnx2x *bp);
37 static int bnx2x_alloc_fp_mem_cnic(struct bnx2x *bp);
38 static int bnx2x_alloc_fp_mem(struct bnx2x *bp);
41 static void bnx2x_add_all_napi_cnic(struct bnx2x *bp) in bnx2x_add_all_napi_cnic() argument
46 for_each_rx_queue_cnic(bp, i) { in bnx2x_add_all_napi_cnic()
47 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); in bnx2x_add_all_napi_cnic()
51 static void bnx2x_add_all_napi(struct bnx2x *bp) in bnx2x_add_all_napi() argument
56 for_each_eth_queue(bp, i) { in bnx2x_add_all_napi()
57 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); in bnx2x_add_all_napi()
61 static int bnx2x_calc_num_queues(struct bnx2x *bp) in bnx2x_calc_num_queues() argument
[all …]
H A Dbnx2x_ethtool.c192 static int bnx2x_get_port_type(struct bnx2x *bp) in bnx2x_get_port_type() argument
195 u32 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_port_type()
196 switch (bp->link_params.phy[phy_idx].media_type) { in bnx2x_get_port_type()
224 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_link_ksettings() local
232 if (bp->state == BNX2X_STATE_OPEN) { in bnx2x_get_vf_link_ksettings()
234 &bp->vf_link_vars.link_report_flags)) in bnx2x_get_vf_link_ksettings()
239 cmd->base.speed = bp->vf_link_vars.line_speed; in bnx2x_get_vf_link_ksettings()
264 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link_ksettings() local
265 int cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_get_link_ksettings()
273 supported = bp->port.supported[cfg_idx] | in bnx2x_get_link_ksettings()
[all …]
H A Dbnx2x_stats.c46 static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) in bnx2x_get_port_stats_dma_len() argument
51 if (SHMEM2_HAS(bp, sizeof_port_stats)) { in bnx2x_get_port_stats_dma_len()
52 u32 size = SHMEM2_RD(bp, sizeof_port_stats); in bnx2x_get_port_stats_dma_len()
68 if (bp->flags & BC_SUPPORTS_PFC_STATS) { in bnx2x_get_port_stats_dma_len()
86 static void bnx2x_dp_stats(struct bnx2x *bp) in bnx2x_dp_stats() argument
98 bp->fw_stats_req->hdr.cmd_num, in bnx2x_dp_stats()
99 bp->fw_stats_req->hdr.reserved0, in bnx2x_dp_stats()
100 bp->fw_stats_req->hdr.drv_stats_counter, in bnx2x_dp_stats()
101 bp->fw_stats_req->hdr.reserved1, in bnx2x_dp_stats()
102 bp->fw_stats_req->hdr.stats_counters_addrs.hi, in bnx2x_dp_stats()
[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
45 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len);
46 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val);
47 static void bnx2x_write_dmae_phys_len(struct bnx2x *bp,
51 static void bnx2x_init_str_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_str_wr() argument
57 REG_WR(bp, addr + i*4, data[i]); in bnx2x_init_str_wr()
60 static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_ind_wr() argument
66 bnx2x_reg_wr_ind(bp, addr + i*4, data[i]); in bnx2x_init_ind_wr()
[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
222 for ((var) = 0; (var) < BNX2X_NR_VIRTFN(bp); (var)++)
232 #define HW_VF_HANDLE(bp, abs_vfid) \ argument
233 (u16)(BP_ABS_FUNC((bp)) | (1<<3) | ((u16)(abs_vfid) << 4))
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
247 void bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf,
250 void bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf,
318 #define BP_VFDB(bp) ((bp)->vfdb) argument
[all …]
H A Dbnx2x_sriov.c29 static int bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx,
35 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() argument
38 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf()
40 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf()
42 REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf()
44 REG_WR8(bp, BAR_USTRORM_INTMEM + USTORM_VF_TO_PF_OFFSET(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() argument
51 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en()
53 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en()
55 REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c243 static void bnx2_init_napi(struct bnx2 *bp);
244 static void bnx2_del_napi(struct bnx2 *bp);
246 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr) in bnx2_tx_avail() argument
259 return bp->tx_ring_size - diff; in bnx2_tx_avail()
263 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) in bnx2_reg_rd_ind() argument
268 spin_lock_irqsave(&bp->indirect_lock, flags); in bnx2_reg_rd_ind()
269 BNX2_WR(bp, BNX2_PCICFG_REG_WINDOW_ADDRESS, offset); in bnx2_reg_rd_ind()
270 val = BNX2_RD(bp, BNX2_PCICFG_REG_WINDOW); in bnx2_reg_rd_ind()
271 spin_unlock_irqrestore(&bp->indirect_lock, flags); in bnx2_reg_rd_ind()
276 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) in bnx2_reg_wr_ind() argument
[all …]
H A Db44.c164 static inline unsigned long br32(const struct b44 *bp, unsigned long reg) in br32() argument
166 return ssb_read32(bp->sdev, reg); in br32()
169 static inline void bw32(const struct b44 *bp, in bw32() argument
172 ssb_write32(bp->sdev, reg, val); in bw32()
175 static int b44_wait_bit(struct b44 *bp, unsigned long reg, in b44_wait_bit() argument
181 u32 val = br32(bp, reg); in b44_wait_bit()
191 netdev_err(bp->dev, "BUG! Timeout waiting for bit %08x of register %lx to %s\n", in b44_wait_bit()
199 static inline void __b44_cam_write(struct b44 *bp, in __b44_cam_write() argument
208 bw32(bp, B44_CAM_DATA_LO, val); in __b44_cam_write()
212 bw32(bp, B44_CAM_DATA_HI, val); in __b44_cam_write()
[all …]
/openbmc/linux/drivers/net/fddi/
H A Ddefxx.c258 #define dfx_use_mmio bp->mmio
267 static void dfx_bus_config_check(DFX_board_t *bp);
272 static int dfx_adap_init(DFX_board_t *bp, int get_buffers);
277 static void dfx_int_pr_halt_id(DFX_board_t *bp);
278 static void dfx_int_type_0_process(DFX_board_t *bp);
285 static int dfx_ctl_update_cam(DFX_board_t *bp);
286 static int dfx_ctl_update_filters(DFX_board_t *bp);
288 static int dfx_hw_dma_cmd_req(DFX_board_t *bp);
289 static int dfx_hw_port_ctrl_req(DFX_board_t *bp, PI_UINT32 command, PI_UINT32 data_a, PI_UINT32 da…
290 static void dfx_hw_adap_reset(DFX_board_t *bp, PI_UINT32 type);
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c261 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ | RING_CMP(idx), \
268 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_ARM | RING_CMP(idx),\
271 static void bnxt_db_nq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq() argument
273 if (bp->flags & BNXT_FLAG_CHIP_P5) in bnxt_db_nq()
279 static void bnxt_db_nq_arm(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq_arm() argument
281 if (bp->flags & BNXT_FLAG_CHIP_P5) in bnxt_db_nq_arm()
287 static void bnxt_db_cq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_cq() argument
289 if (bp->flags & BNXT_FLAG_CHIP_P5) in bnxt_db_cq()
290 bnxt_writeq(bp, db->db_key64 | DBR_TYPE_CQ_ARMALL | in bnxt_db_cq()
296 static void bnxt_queue_fw_reset_work(struct bnxt *bp, unsigne argument
307 __bnxt_queue_sp_work(struct bnxt * bp) __bnxt_queue_sp_work() argument
315 bnxt_queue_sp_work(struct bnxt * bp,unsigned int event) bnxt_queue_sp_work() argument
321 bnxt_sched_reset_rxr(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_sched_reset_rxr() argument
334 bnxt_sched_reset_txr(struct bnxt * bp,struct bnxt_tx_ring_info * txr,int idx) bnxt_sched_reset_txr() argument
382 bnxt_txr_db_kick(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u16 prod) bnxt_txr_db_kick() argument
391 struct bnxt *bp = netdev_priv(dev); bnxt_start_xmit() local
689 bnxt_tx_int(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) bnxt_tx_int() argument
758 __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
779 __bnxt_alloc_rx_frag(struct bnxt * bp,dma_addr_t * mapping,gfp_t gfp) __bnxt_alloc_rx_frag() argument
803 bnxt_alloc_rx_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_data() argument
866 bnxt_alloc_rx_page(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_page() argument
898 bnxt_get_agg(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u16 cp_cons,u16 curr) bnxt_get_agg() argument
910 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
923 struct bnxt *bp = bnapi->bp; bnxt_reuse_rx_agg_bufs() local
976 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
1008 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
1055 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
1084 __bnxt_rx_agg_pages(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct skb_shared_info * shinfo,u16 idx,u32 agg_bufs,bool tpa,struct xdp_buff * xdp) __bnxt_rx_agg_pages() argument
1155 bnxt_rx_agg_pages_skb(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct sk_buff * skb,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_pages_skb() argument
1177 bnxt_rx_agg_pages_xdp(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct xdp_buff * xdp,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_pages_xdp() argument
1198 bnxt_agg_bufs_valid(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u8 agg_bufs,u32 * raw_cons) bnxt_agg_bufs_valid() argument
1215 struct bnxt *bp = bnapi->bp; bnxt_copy_skb() local
1236 bnxt_discard_rx(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,void * cmp) bnxt_discard_rx() argument
1293 bnxt_tpa_start(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct rx_tpa_start_cmp * tpa_start,struct rx_tpa_start_cmp_ext * tpa_start1) bnxt_tpa_start() argument
1548 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) bnxt_gro_skb() argument
1580 bnxt_get_pkt_dev(struct bnxt * bp,u16 cfa_code) bnxt_get_pkt_dev() argument
1588 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
1736 bnxt_tpa_agg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct rx_agg_cmp * rx_agg) bnxt_tpa_agg() argument
1748 bnxt_deliver_skb(struct bnxt * bp,struct bnxt_napi * bnapi,struct sk_buff * skb) bnxt_deliver_skb() argument
1762 bnxt_rx_ts_valid(struct bnxt * bp,u32 flags,struct rx_cmp_ext * rxcmp1,u32 * cmpl_ts) bnxt_rx_ts_valid() argument
1784 bnxt_rx_pkt(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_rx_pkt() argument
2053 bnxt_force_rx_discard(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_force_rx_discard() argument
2097 bnxt_fw_health_readl(struct bnxt * bp,int reg_idx) bnxt_fw_health_readl() argument
2124 bnxt_agg_ring_id_to_grp_idx(struct bnxt * bp,u16 ring_id) bnxt_agg_ring_id_to_grp_idx() argument
2139 bnxt_event_error_report(struct bnxt * bp,u32 data1,u32 data2) bnxt_event_error_report() argument
2183 bnxt_async_event_process(struct bnxt * bp,struct hwrm_async_event_cmpl * cmpl) bnxt_async_event_process() argument
2397 bnxt_hwrm_handler(struct bnxt * bp,struct tx_cmp * txcmp) bnxt_hwrm_handler() argument
2439 struct bnxt *bp = bnapi->bp; bnxt_msix() local
2449 bnxt_has_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_has_work() argument
2463 struct bnxt *bp = bnapi->bp; bnxt_inta() local
2488 __bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) __bnxt_poll_work() argument
2576 __bnxt_poll_work_done(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) __bnxt_poll_work_done() argument
2595 bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) bnxt_poll_work() argument
2616 struct bnxt *bp = bnapi->bp; bnxt_poll_nitroa0() local
2692 struct bnxt *bp = bnapi->bp; bnxt_poll() local
2727 __bnxt_poll_cqs(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) __bnxt_poll_cqs() argument
2744 __bnxt_poll_cqs_done(struct bnxt * bp,struct bnxt_napi * bnapi,u64 dbr_type,int budget) __bnxt_poll_cqs_done() argument
2770 struct bnxt *bp = bnapi->bp; bnxt_poll_p5() local
2841 bnxt_free_tx_skbs(struct bnxt * bp) bnxt_free_tx_skbs() argument
2912 bnxt_free_one_rx_ring_skbs(struct bnxt * bp,int ring_nr) bnxt_free_one_rx_ring_skbs() argument
2986 bnxt_free_rx_skbs(struct bnxt * bp) bnxt_free_rx_skbs() argument
2997 bnxt_free_skbs(struct bnxt * bp) bnxt_free_skbs() argument
3020 bnxt_free_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem) bnxt_free_ring() argument
3053 bnxt_alloc_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem) bnxt_alloc_ring() argument
3106 bnxt_free_tpa_info(struct bnxt * bp) bnxt_free_tpa_info() argument
3126 bnxt_alloc_tpa_info(struct bnxt * bp) bnxt_alloc_tpa_info() argument
3162 bnxt_free_rx_rings(struct bnxt * bp) bnxt_free_rx_rings() argument
3194 bnxt_alloc_rx_page_pool(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_rx_page_pool() argument
3221 bnxt_alloc_rx_rings(struct bnxt * bp) bnxt_alloc_rx_rings() argument
3279 bnxt_free_tx_rings(struct bnxt * bp) bnxt_free_tx_rings() argument
3303 bnxt_alloc_tx_rings(struct bnxt * bp) bnxt_alloc_tx_rings() argument
3388 bnxt_free_all_cp_arrays(struct bnxt * bp) bnxt_free_all_cp_arrays() argument
3403 bnxt_alloc_all_cp_arrays(struct bnxt * bp) bnxt_alloc_all_cp_arrays() argument
3420 bnxt_free_cp_rings(struct bnxt * bp) bnxt_free_cp_rings() argument
3455 bnxt_alloc_cp_sub_ring(struct bnxt * bp) bnxt_alloc_cp_sub_ring() argument
3489 bnxt_alloc_cp_rings(struct bnxt * bp) bnxt_alloc_cp_rings() argument
3543 bnxt_init_ring_struct(struct bnxt * bp) bnxt_init_ring_struct() argument
3627 bnxt_alloc_one_rx_ring(struct bnxt * bp,int ring_nr) bnxt_alloc_one_rx_ring() argument
3676 bnxt_init_one_rx_ring(struct bnxt * bp,int ring_nr) bnxt_init_one_rx_ring() argument
3711 bnxt_init_cp_rings(struct bnxt * bp) bnxt_init_cp_rings() argument
3736 bnxt_init_rx_rings(struct bnxt * bp) bnxt_init_rx_rings() argument
3757 bnxt_init_tx_rings(struct bnxt * bp) bnxt_init_tx_rings() argument
3774 bnxt_free_ring_grps(struct bnxt * bp) bnxt_free_ring_grps() argument
3780 bnxt_init_ring_grps(struct bnxt * bp,bool irq_re_init) bnxt_init_ring_grps() argument
3802 bnxt_free_vnics(struct bnxt * bp) bnxt_free_vnics() argument
3809 bnxt_alloc_vnics(struct bnxt * bp) bnxt_alloc_vnics() argument
3830 bnxt_init_vnics(struct bnxt * bp) bnxt_init_vnics() argument
3873 bnxt_set_tpa_flags(struct bnxt * bp) bnxt_set_tpa_flags() argument
3887 bnxt_set_ring_params(struct bnxt * bp) bnxt_set_ring_params() argument
3984 bnxt_set_rx_skb_mode(struct bnxt * bp,bool page_mode) bnxt_set_rx_skb_mode() argument
4016 bnxt_free_vnic_attributes(struct bnxt * bp) bnxt_free_vnic_attributes() argument
4052 bnxt_alloc_vnic_attributes(struct bnxt * bp) bnxt_alloc_vnic_attributes() argument
4129 bnxt_free_hwrm_resources(struct bnxt * bp) bnxt_free_hwrm_resources() argument
4142 bnxt_alloc_hwrm_resources(struct bnxt * bp) bnxt_alloc_hwrm_resources() argument
4155 bnxt_free_stats_mem(struct bnxt * bp,struct bnxt_stats_mem * stats) bnxt_free_stats_mem() argument
4168 bnxt_alloc_stats_mem(struct bnxt * bp,struct bnxt_stats_mem * stats,bool alloc_masks) bnxt_alloc_stats_mem() argument
4208 bnxt_hwrm_func_qstat_ext(struct bnxt * bp,struct bnxt_stats_mem * stats) bnxt_hwrm_func_qstat_ext() argument
4240 bnxt_init_stats(struct bnxt * bp) bnxt_init_stats() argument
4311 bnxt_free_port_stats(struct bnxt * bp) bnxt_free_port_stats() argument
4321 bnxt_free_ring_stats(struct bnxt * bp) bnxt_free_ring_stats() argument
4336 bnxt_alloc_stats(struct bnxt * bp) bnxt_alloc_stats() argument
4399 bnxt_clear_ring_indices(struct bnxt * bp) bnxt_clear_ring_indices() argument
4434 bnxt_free_ntp_fltrs(struct bnxt * bp,bool irq_reinit) bnxt_free_ntp_fltrs() argument
4461 bnxt_alloc_ntp_fltrs(struct bnxt * bp) bnxt_alloc_ntp_fltrs() argument
4484 bnxt_free_mem(struct bnxt * bp,bool irq_re_init) bnxt_free_mem() argument
4512 bnxt_alloc_mem(struct bnxt * bp,bool irq_re_init) bnxt_alloc_mem() argument
4641 bnxt_disable_int(struct bnxt * bp) bnxt_disable_int() argument
4658 bnxt_cp_num_to_irq_num(struct bnxt * bp,int n) bnxt_cp_num_to_irq_num() argument
4667 bnxt_disable_int_sync(struct bnxt * bp) bnxt_disable_int_sync() argument
4684 bnxt_enable_int(struct bnxt * bp) bnxt_enable_int() argument
4697 bnxt_hwrm_func_drv_rgtr(struct bnxt * bp,unsigned long * bmap,int bmap_size,bool async_only) bnxt_hwrm_func_drv_rgtr() argument
4792 bnxt_hwrm_func_drv_unrgtr(struct bnxt * bp) bnxt_hwrm_func_drv_unrgtr() argument
4806 bnxt_hwrm_tunnel_dst_port_free(struct bnxt * bp,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_free() argument
4846 bnxt_hwrm_tunnel_dst_port_alloc(struct bnxt * bp,__be16 port,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_alloc() argument
4887 bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt * bp,u16 vnic_id) bnxt_hwrm_cfa_l2_set_rx_mask() argument
4907 bnxt_hwrm_cfa_ntuple_filter_free(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_free() argument
4940 bnxt_hwrm_cfa_ntuple_filter_alloc(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_alloc() argument
5011 bnxt_hwrm_set_vnic_filter(struct bnxt * bp,u16 vnic_id,u16 idx,const u8 * mac_addr) bnxt_hwrm_set_vnic_filter() argument
5048 bnxt_hwrm_clear_vnic_filter(struct bnxt * bp) bnxt_hwrm_clear_vnic_filter() argument
5073 bnxt_hwrm_vnic_set_tpa(struct bnxt * bp,u16 vnic_id,u32 tpa_flags) bnxt_hwrm_vnic_set_tpa() argument
5135 bnxt_cp_ring_from_grp(struct bnxt * bp,struct bnxt_ring_struct * ring) bnxt_cp_ring_from_grp() argument
5143 bnxt_cp_ring_for_rx(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_cp_ring_for_rx() argument
5156 bnxt_cp_ring_for_tx(struct bnxt * bp,struct bnxt_tx_ring_info * txr) bnxt_cp_ring_for_tx() argument
5169 bnxt_alloc_rss_indir_tbl(struct bnxt * bp) bnxt_alloc_rss_indir_tbl() argument
5186 bnxt_set_dflt_rss_indir_tbl(struct bnxt * bp) bnxt_set_dflt_rss_indir_tbl() argument
5208 bnxt_get_max_rss_ring(struct bnxt * bp) bnxt_get_max_rss_ring() argument
5221 bnxt_get_nr_rss_ctxs(struct bnxt * bp,int rx_rings) bnxt_get_nr_rss_ctxs() argument
5230 bnxt_fill_hw_rss_tbl(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_fill_hw_rss_tbl() argument
5243 bnxt_fill_hw_rss_tbl_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_fill_hw_rss_tbl_p5() argument
5266 __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
5288 bnxt_hwrm_vnic_set_rss(struct bnxt * bp,u16 vnic_id,bool set_rss) bnxt_hwrm_vnic_set_rss() argument
5308 bnxt_hwrm_vnic_set_rss_p5(struct bnxt * bp,u16 vnic_id,bool set_rss) bnxt_hwrm_vnic_set_rss_p5() argument
5343 bnxt_hwrm_update_rss_hash_cfg(struct bnxt * bp) bnxt_hwrm_update_rss_hash_cfg() argument
5363 bnxt_hwrm_vnic_set_hds(struct bnxt * bp,u16 vnic_id) bnxt_hwrm_vnic_set_hds() argument
5390 bnxt_hwrm_vnic_ctx_free_one(struct bnxt * bp,u16 vnic_id,u16 ctx_idx) bnxt_hwrm_vnic_ctx_free_one() argument
5405 bnxt_hwrm_vnic_ctx_free(struct bnxt * bp) bnxt_hwrm_vnic_ctx_free() argument
5420 bnxt_hwrm_vnic_ctx_alloc(struct bnxt * bp,u16 vnic_id,u16 ctx_idx) bnxt_hwrm_vnic_ctx_alloc() argument
5440 bnxt_get_roce_vnic_mode(struct bnxt * bp) bnxt_get_roce_vnic_mode() argument
5447 bnxt_hwrm_vnic_cfg(struct bnxt * bp,u16 vnic_id) bnxt_hwrm_vnic_cfg() argument
5521 bnxt_hwrm_vnic_free_one(struct bnxt * bp,u16 vnic_id) bnxt_hwrm_vnic_free_one() argument
5537 bnxt_hwrm_vnic_free(struct bnxt * bp) bnxt_hwrm_vnic_free() argument
5545 bnxt_hwrm_vnic_alloc(struct bnxt * bp,u16 vnic_id,unsigned int start_rx_ring_idx,unsigned int nr_rings) bnxt_hwrm_vnic_alloc() argument
5587 bnxt_hwrm_vnic_qcaps(struct bnxt * bp) bnxt_hwrm_vnic_qcaps() argument
5635 bnxt_hwrm_ring_grp_alloc(struct bnxt * bp) bnxt_hwrm_ring_grp_alloc() argument
5670 bnxt_hwrm_ring_grp_free(struct bnxt * bp) bnxt_hwrm_ring_grp_free() argument
5694 hwrm_ring_alloc_send_msg(struct bnxt * bp,struct bnxt_ring_struct * ring,u32 ring_type,u32 map_index) hwrm_ring_alloc_send_msg() argument
5812 bnxt_hwrm_set_async_event_cr(struct bnxt * bp,int idx) bnxt_hwrm_set_async_event_cr() argument
5841 bnxt_set_db(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type,u32 map_idx,u32 xid) bnxt_set_db() argument
5882 bnxt_hwrm_ring_alloc(struct bnxt * bp) bnxt_hwrm_ring_alloc() argument
6005 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
6038 bnxt_hwrm_ring_free(struct bnxt * bp,bool close_path) bnxt_hwrm_ring_free() argument
6142 bnxt_hwrm_get_rings(struct bnxt * bp) bnxt_hwrm_get_rings() argument
6198 __bnxt_hwrm_get_tx_rings(struct bnxt * bp,u16 fid,int * tx_rings) __bnxt_hwrm_get_tx_rings() argument
6224 __bnxt_hwrm_reserve_pf_rings(struct bnxt * bp,int tx_rings,int rx_rings,int ring_grps,int cp_rings,int stats,int vnics) __bnxt_hwrm_reserve_pf_rings() argument
6277 __bnxt_hwrm_reserve_vf_rings(struct bnxt * bp,int tx_rings,int rx_rings,int ring_grps,int cp_rings,int stats,int vnics) __bnxt_hwrm_reserve_vf_rings() argument
6321 bnxt_hwrm_reserve_pf_rings(struct bnxt * bp,int tx_rings,int rx_rings,int ring_grps,int cp_rings,int stats,int vnics) bnxt_hwrm_reserve_pf_rings() argument
6348 bnxt_hwrm_reserve_vf_rings(struct bnxt * bp,int tx_rings,int rx_rings,int ring_grps,int cp_rings,int stats,int vnics) bnxt_hwrm_reserve_vf_rings() argument
6371 bnxt_hwrm_reserve_rings(struct bnxt * bp,int tx,int rx,int grp,int cp,int stat,int vnic) bnxt_hwrm_reserve_rings() argument
6382 bnxt_nq_rings_in_use(struct bnxt * bp) bnxt_nq_rings_in_use() argument
6397 bnxt_cp_rings_in_use(struct bnxt * bp) bnxt_cp_rings_in_use() argument
6408 bnxt_get_func_stat_ctxs(struct bnxt * bp) bnxt_get_func_stat_ctxs() argument
6425 bnxt_check_rss_tbl_no_rmgr(struct bnxt * bp) bnxt_check_rss_tbl_no_rmgr() argument
6437 bnxt_need_reserve_rings(struct bnxt * bp) bnxt_need_reserve_rings() argument
6474 __bnxt_reserve_rings(struct bnxt * bp) __bnxt_reserve_rings() argument
6561 bnxt_hwrm_check_vf_rings(struct bnxt * bp,int tx_rings,int rx_rings,int ring_grps,int cp_rings,int stats,int vnics) bnxt_hwrm_check_vf_rings() argument
6586 bnxt_hwrm_check_pf_rings(struct bnxt * bp,int tx_rings,int rx_rings,int ring_grps,int cp_rings,int stats,int vnics) bnxt_hwrm_check_pf_rings() argument
6612 bnxt_hwrm_check_rings(struct bnxt * bp,int tx_rings,int rx_rings,int ring_grps,int cp_rings,int stats,int vnics) bnxt_hwrm_check_rings() argument
6628 bnxt_hwrm_coal_params_qcaps(struct bnxt * bp) bnxt_hwrm_coal_params_qcaps() argument
6675 bnxt_usec_to_coal_tmr(struct bnxt * bp,u16 usec) bnxt_usec_to_coal_tmr() argument
6682 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
6738 __bnxt_hwrm_set_coal_nq(struct bnxt * bp,struct bnxt_napi * bnapi,struct bnxt_coal * hw_coal) __bnxt_hwrm_set_coal_nq() argument
6766 bnxt_hwrm_set_ring_coal(struct bnxt * bp,struct bnxt_napi * bnapi) bnxt_hwrm_set_ring_coal() argument
6795 bnxt_hwrm_set_coal(struct bnxt * bp) bnxt_hwrm_set_coal() argument
6856 bnxt_hwrm_stat_ctx_free(struct bnxt * bp) bnxt_hwrm_stat_ctx_free() argument
6898 bnxt_hwrm_stat_ctx_alloc(struct bnxt * bp) bnxt_hwrm_stat_ctx_alloc() argument
6933 bnxt_hwrm_func_qcfg(struct bnxt * bp) bnxt_hwrm_func_qcfg() argument
7045 bnxt_hwrm_func_backing_store_qcaps(struct bnxt * bp) bnxt_hwrm_func_backing_store_qcaps() argument
7153 bnxt_hwrm_func_backing_store_cfg(struct bnxt * bp,u32 enables) bnxt_hwrm_func_backing_store_cfg() argument
7262 bnxt_alloc_ctx_mem_blk(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg) bnxt_alloc_ctx_mem_blk() argument
7276 bnxt_alloc_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg,u32 mem_size,u8 depth,struct bnxt_mem_init * mem_init) bnxt_alloc_ctx_pg_tbls() argument
7337 bnxt_free_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg) bnxt_free_ctx_pg_tbls() argument
7366 bnxt_free_ctx_mem(struct bnxt * bp) bnxt_free_ctx_mem() argument
7391 bnxt_alloc_ctx_mem(struct bnxt * bp) bnxt_alloc_ctx_mem() argument
7537 bnxt_hwrm_func_resc_qcaps(struct bnxt * bp,bool all) bnxt_hwrm_func_resc_qcaps() argument
7595 __bnxt_hwrm_ptp_qcfg(struct bnxt * bp) __bnxt_hwrm_ptp_qcfg() argument
7659 __bnxt_hwrm_func_qcaps(struct bnxt * bp) __bnxt_hwrm_func_qcaps() argument
7767 bnxt_hwrm_dbg_qcaps(struct bnxt * bp) bnxt_hwrm_dbg_qcaps() argument
7795 bnxt_hwrm_func_qcaps(struct bnxt * bp) bnxt_hwrm_func_qcaps() argument
7821 bnxt_hwrm_cfa_adv_flow_mgnt_qcaps(struct bnxt * bp) bnxt_hwrm_cfa_adv_flow_mgnt_qcaps() argument
7850 __bnxt_alloc_fw_health(struct bnxt * bp) __bnxt_alloc_fw_health() argument
7863 bnxt_alloc_fw_health(struct bnxt * bp) bnxt_alloc_fw_health() argument
7881 __bnxt_map_fw_health_reg(struct bnxt * bp,u32 reg) __bnxt_map_fw_health_reg() argument
7888 bnxt_inv_fw_health_reg(struct bnxt * bp) bnxt_inv_fw_health_reg() argument
7905 bnxt_try_map_fw_health_reg(struct bnxt * bp) bnxt_try_map_fw_health_reg() argument
7952 bnxt_map_fw_health_regs(struct bnxt * bp) bnxt_map_fw_health_regs() argument
7981 bnxt_remap_fw_health_regs(struct bnxt * bp) bnxt_remap_fw_health_regs() argument
7994 bnxt_hwrm_error_recovery_qcfg(struct bnxt * bp) bnxt_hwrm_error_recovery_qcfg() argument
8059 bnxt_hwrm_func_reset(struct bnxt * bp) bnxt_hwrm_func_reset() argument
8073 bnxt_nvm_cfg_ver_get(struct bnxt * bp) bnxt_nvm_cfg_ver_get() argument
8083 bnxt_hwrm_queue_qportcfg(struct bnxt * bp) bnxt_hwrm_queue_qportcfg() argument
8134 bnxt_hwrm_poll(struct bnxt * bp) bnxt_hwrm_poll() argument
8152 bnxt_hwrm_ver_get(struct bnxt * bp) bnxt_hwrm_ver_get() argument
8273 bnxt_hwrm_fw_set_time(struct bnxt * bp) bnxt_hwrm_fw_set_time() argument
8336 bnxt_accumulate_all_stats(struct bnxt * bp) bnxt_accumulate_all_stats() argument
8381 bnxt_hwrm_port_qstats(struct bnxt * bp,u8 flags) bnxt_hwrm_port_qstats() argument
8405 bnxt_hwrm_port_qstats_ext(struct bnxt * bp,u8 flags) bnxt_hwrm_port_qstats_ext() argument
8495 bnxt_hwrm_free_tunnel_ports(struct bnxt * bp) bnxt_hwrm_free_tunnel_ports() argument
8503 bnxt_set_tpa(struct bnxt * bp,bool set_tpa) bnxt_set_tpa() argument
8523 bnxt_hwrm_clear_vnic_rss(struct bnxt * bp) bnxt_hwrm_clear_vnic_rss() argument
8531 bnxt_clear_vnic(struct bnxt * bp) bnxt_clear_vnic() argument
8550 bnxt_hwrm_resource_free(struct bnxt * bp,bool close_path,bool irq_re_init) bnxt_hwrm_resource_free() argument
8562 bnxt_hwrm_set_br_mode(struct bnxt * bp,u16 br_mode) bnxt_hwrm_set_br_mode() argument
8585 bnxt_hwrm_set_cache_line_size(struct bnxt * bp,int size) bnxt_hwrm_set_cache_line_size() argument
8606 __bnxt_setup_vnic(struct bnxt * bp,u16 vnic_id) __bnxt_setup_vnic() argument
8662 __bnxt_setup_vnic_p5(struct bnxt * bp,u16 vnic_id) __bnxt_setup_vnic_p5() argument
8701 bnxt_setup_vnic(struct bnxt * bp,u16 vnic_id) bnxt_setup_vnic() argument
8709 bnxt_alloc_rfs_vnics(struct bnxt * bp) bnxt_alloc_rfs_vnics() argument
8746 bnxt_promisc_ok(struct bnxt * bp) bnxt_promisc_ok() argument
8755 bnxt_setup_nitroa0_vnic(struct bnxt * bp) bnxt_setup_nitroa0_vnic() argument
8778 bnxt_init_chip(struct bnxt * bp,bool irq_re_init) bnxt_init_chip() argument
8900 bnxt_shutdown_nic(struct bnxt * bp,bool irq_re_init) bnxt_shutdown_nic() argument
8906 bnxt_init_nic(struct bnxt * bp,bool irq_re_init) bnxt_init_nic() argument
8917 bnxt_set_real_num_queues(struct bnxt * bp) bnxt_set_real_num_queues() argument
8939 bnxt_trim_rings(struct bnxt * bp,int * rx,int * tx,int max,bool shared) bnxt_trim_rings() argument
8963 bnxt_setup_msix(struct bnxt * bp) bnxt_setup_msix() argument
8997 bnxt_setup_inta(struct bnxt * bp) bnxt_setup_inta() argument
9011 bnxt_setup_int_mode(struct bnxt * bp) bnxt_setup_int_mode() argument
9031 bnxt_get_max_func_rss_ctxs(struct bnxt * bp) bnxt_get_max_func_rss_ctxs() argument
9036 bnxt_get_max_func_vnics(struct bnxt * bp) bnxt_get_max_func_vnics() argument
9042 bnxt_get_max_func_stat_ctxs(struct bnxt * bp) bnxt_get_max_func_stat_ctxs() argument
9047 bnxt_get_max_func_cp_rings(struct bnxt * bp) bnxt_get_max_func_cp_rings() argument
9052 bnxt_get_max_func_cp_rings_for_en(struct bnxt * bp) bnxt_get_max_func_cp_rings_for_en() argument
9062 bnxt_get_max_func_irqs(struct bnxt * bp) bnxt_get_max_func_irqs() argument
9072 bnxt_set_max_func_irqs(struct bnxt * bp,unsigned int max_irqs) bnxt_set_max_func_irqs() argument
9077 bnxt_get_avail_cp_rings_for_en(struct bnxt * bp) bnxt_get_avail_cp_rings_for_en() argument
9088 bnxt_get_avail_stat_ctxs_for_en(struct bnxt * bp) bnxt_get_avail_stat_ctxs_for_en() argument
9093 bnxt_get_avail_msix(struct bnxt * bp,int num) bnxt_get_avail_msix() argument
9115 bnxt_get_num_msix(struct bnxt * bp) bnxt_get_num_msix() argument
9123 bnxt_init_msix(struct bnxt * bp) bnxt_init_msix() argument
9188 bnxt_init_inta(struct bnxt * bp) bnxt_init_inta() argument
9203 bnxt_init_int_mode(struct bnxt * bp) bnxt_init_int_mode() argument
9217 bnxt_clear_int_mode(struct bnxt * bp) bnxt_clear_int_mode() argument
9227 bnxt_reserve_rings(struct bnxt * bp,bool irq_re_init) bnxt_reserve_rings() argument
9265 bnxt_free_irq(struct bnxt * bp) bnxt_free_irq() argument
9294 bnxt_request_irq(struct bnxt * bp) bnxt_request_irq() argument
9352 bnxt_del_napi(struct bnxt * bp) bnxt_del_napi() argument
9370 bnxt_init_napi(struct bnxt * bp) bnxt_init_napi() argument
9398 bnxt_disable_napi(struct bnxt * bp) bnxt_disable_napi() argument
9421 bnxt_enable_napi(struct bnxt * bp) bnxt_enable_napi() argument
9445 bnxt_tx_disable(struct bnxt * bp) bnxt_tx_disable() argument
9464 bnxt_tx_enable(struct bnxt * bp) bnxt_tx_enable() argument
9504 bnxt_report_link(struct bnxt * bp) bnxt_report_link() argument
9573 bnxt_hwrm_phy_qcaps(struct bnxt * bp) bnxt_hwrm_phy_qcaps() argument
9637 bnxt_update_link(struct bnxt * bp,bool chng_link_state) bnxt_update_link() argument
9775 bnxt_get_port_module_status(struct bnxt * bp) bnxt_get_port_module_status() argument
9803 bnxt_hwrm_set_pause_common(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_pause_common() argument
9830 bnxt_hwrm_set_link_common(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_link_common() argument
9860 bnxt_hwrm_set_pause(struct bnxt * bp) bnxt_hwrm_set_pause() argument
9891 bnxt_hwrm_set_eee(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_eee() argument
9914 bnxt_hwrm_set_link_setting(struct bnxt * bp,bool set_pause,bool set_eee) bnxt_hwrm_set_link_setting() argument
9933 bnxt_hwrm_shutdown_link(struct bnxt * bp) bnxt_hwrm_shutdown_link() argument
9964 bnxt_fw_reset_via_optee(struct bnxt * bp) bnxt_fw_reset_via_optee() argument
9979 bnxt_try_recover_fw(struct bnxt * bp) bnxt_try_recover_fw() argument
10010 bnxt_clear_reservations(struct bnxt * bp,bool fw_reset) bnxt_clear_reservations() argument
10030 bnxt_cancel_reservations(struct bnxt * bp,bool fw_reset) bnxt_cancel_reservations() argument
10046 bnxt_hwrm_if_change(struct bnxt * bp,bool up) bnxt_hwrm_if_change() argument
10135 bnxt_hwrm_port_led_qcaps(struct bnxt * bp) bnxt_hwrm_port_led_qcaps() argument
10178 bnxt_hwrm_alloc_wol_fltr(struct bnxt * bp) bnxt_hwrm_alloc_wol_fltr() argument
10201 bnxt_hwrm_free_wol_fltr(struct bnxt * bp) bnxt_hwrm_free_wol_fltr() argument
10217 bnxt_hwrm_get_wol_fltrs(struct bnxt * bp,u16 handle) bnxt_hwrm_get_wol_fltrs() argument
10246 bnxt_get_wol_settings(struct bnxt * bp) bnxt_get_wol_settings() argument
10265 struct bnxt *bp = dev_get_drvdata(dev); bnxt_show_temp() local
10289 bnxt_hwmon_close(struct bnxt * bp) bnxt_hwmon_close() argument
10297 bnxt_hwmon_open(struct bnxt * bp) bnxt_hwmon_open() argument
10323 bnxt_hwmon_close(struct bnxt * bp) bnxt_hwmon_close() argument
10327 bnxt_hwmon_open(struct bnxt * bp) bnxt_hwmon_open() argument
10332 bnxt_eee_config_ok(struct bnxt * bp) bnxt_eee_config_ok() argument
10356 bnxt_update_phy_setting(struct bnxt * bp) bnxt_update_phy_setting() argument
10426 bnxt_preset_reg_win(struct bnxt * bp) bnxt_preset_reg_win() argument
10437 bnxt_reinit_after_abort(struct bnxt * bp) bnxt_reinit_after_abort() argument
10459 __bnxt_open_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) __bnxt_open_nic() argument
10560 bnxt_open_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) bnxt_open_nic() argument
10579 bnxt_half_open_nic(struct bnxt * bp) bnxt_half_open_nic() argument
10615 bnxt_half_close_nic(struct bnxt * bp) bnxt_half_close_nic() argument
10624 bnxt_reenable_sriov(struct bnxt * bp) bnxt_reenable_sriov() argument
10637 struct bnxt *bp = netdev_priv(dev); bnxt_open() local
10671 bnxt_drv_busy(struct bnxt * bp) bnxt_drv_busy() argument
10680 __bnxt_close_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) __bnxt_close_nic() argument
10717 bnxt_close_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) bnxt_close_nic() argument
10749 struct bnxt *bp = netdev_priv(dev); bnxt_close() local
10758 bnxt_hwrm_port_phy_read(struct bnxt * bp,u16 phy_addr,u16 reg,u16 * val) bnxt_hwrm_port_phy_read() argument
10790 bnxt_hwrm_port_phy_write(struct bnxt * bp,u16 phy_addr,u16 reg,u16 val) bnxt_hwrm_port_phy_write() argument
10821 struct bnxt *bp = netdev_priv(dev); bnxt_ioctl() local
10861 bnxt_get_ring_stats(struct bnxt * bp,struct rtnl_link_stats64 * stats) bnxt_get_ring_stats() argument
10900 bnxt_add_prev_stats(struct bnxt * bp,struct rtnl_link_stats64 * stats) bnxt_add_prev_stats() argument
10918 struct bnxt *bp = netdev_priv(dev); bnxt_get_stats64() local
10959 bnxt_get_one_ring_err_stats(struct bnxt * bp,struct bnxt_total_ring_err_stats * stats,struct bnxt_cp_ring_info * cpr) bnxt_get_one_ring_err_stats() argument
10979 bnxt_get_ring_err_stats(struct bnxt * bp,struct bnxt_total_ring_err_stats * stats) bnxt_get_ring_err_stats() argument
10988 bnxt_mc_list_updated(struct bnxt * bp,u32 * rx_mask) bnxt_mc_list_updated() argument
11022 bnxt_uc_list_updated(struct bnxt * bp) bnxt_uc_list_updated() argument
11043 struct bnxt *bp = netdev_priv(dev); bnxt_set_rx_mode() local
11080 bnxt_cfg_rx_mode(struct bnxt * bp) bnxt_cfg_rx_mode() argument
11160 bnxt_can_reserve_rings(struct bnxt * bp) bnxt_can_reserve_rings() argument
11180 bnxt_rfs_supported(struct bnxt * bp) bnxt_rfs_supported() argument
11198 bnxt_rfs_capable(struct bnxt * bp) bnxt_rfs_capable() argument
11244 struct bnxt *bp = netdev_priv(dev); bnxt_fix_features() local
11278 struct bnxt *bp = netdev_priv(dev); bnxt_set_features() local
11342 bnxt_exthdr_check(struct bnxt * bp,struct sk_buff * skb,int nw_off,u8 ** nextp) bnxt_exthdr_check() argument
11409 bnxt_udp_tunl_check(struct bnxt * bp,struct sk_buff * skb) bnxt_udp_tunl_check() argument
11431 bnxt_tunl_check(struct bnxt * bp,struct sk_buff * skb,u8 l4_proto) bnxt_tunl_check() argument
11460 struct bnxt *bp = netdev_priv(dev); bnxt_features_check() local
11483 bnxt_dbg_hwrm_rd_reg(struct bnxt * bp,u32 reg_off,u16 num_words,u32 * reg_buf) bnxt_dbg_hwrm_rd_reg() argument
11522 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
11581 bnxt_dbg_dump_states(struct bnxt * bp) bnxt_dbg_dump_states() argument
11596 bnxt_hwrm_rx_ring_reset(struct bnxt * bp,int ring_nr) bnxt_hwrm_rx_ring_reset() argument
11617 bnxt_reset_task(struct bnxt * bp,bool silent) bnxt_reset_task() argument
11638 struct bnxt *bp = netdev_priv(dev); bnxt_tx_timeout() local
11644 bnxt_fw_health_check(struct bnxt * bp) bnxt_fw_health_check() argument
11683 struct bnxt *bp = from_timer(bp, t, timer); bnxt_timer() local
11726 bnxt_rtnl_lock_sp(struct bnxt * bp) bnxt_rtnl_lock_sp() argument
11737 bnxt_rtnl_unlock_sp(struct bnxt * bp) bnxt_rtnl_unlock_sp() argument
11744 bnxt_reset(struct bnxt * bp,bool silent) bnxt_reset() argument
11753 bnxt_rx_ring_reset(struct bnxt * bp) bnxt_rx_ring_reset() argument
11801 bnxt_fw_fatal_close(struct bnxt * bp) bnxt_fw_fatal_close() argument
11811 bnxt_fw_reset_close(struct bnxt * bp) bnxt_fw_reset_close() argument
11837 is_bnxt_fw_ok(struct bnxt * bp) is_bnxt_fw_ok() argument
11858 bnxt_force_fw_reset(struct bnxt * bp) bnxt_force_fw_reset() argument
11892 bnxt_fw_exception(struct bnxt * bp) bnxt_fw_exception() argument
11904 bnxt_get_registered_vfs(struct bnxt * bp) bnxt_get_registered_vfs() argument
11925 bnxt_fw_reset(struct bnxt * bp) bnxt_fw_reset() argument
11973 bnxt_chk_missed_irq(struct bnxt * bp) bnxt_chk_missed_irq() argument
12013 bnxt_init_ethtool_link_settings(struct bnxt * bp) bnxt_init_ethtool_link_settings() argument
12045 bnxt_fw_echo_reply(struct bnxt * bp) bnxt_fw_echo_reply() argument
12061 struct bnxt *bp = container_of(work, struct bnxt, sp_task); bnxt_sp_task() local
12161 bnxt_check_rings(struct bnxt * bp,int tx,int rx,bool sh,int tcs,int tx_xdp) bnxt_check_rings() argument
12199 bnxt_unmap_bars(struct bnxt * bp,struct pci_dev * pdev) bnxt_unmap_bars() argument
12217 bnxt_cleanup_pci(struct bnxt * bp) bnxt_cleanup_pci() argument
12225 bnxt_init_dflt_coal(struct bnxt * bp) bnxt_init_dflt_coal() argument
12259 bnxt_fw_init_one_p1(struct bnxt * bp) bnxt_fw_init_one_p1() argument
12290 bnxt_fw_init_one_p2(struct bnxt * bp) bnxt_fw_init_one_p2() argument
12330 bnxt_set_dflt_rss_hash_type(struct bnxt * bp) bnxt_set_dflt_rss_hash_type() argument
12346 bnxt_set_dflt_rfs(struct bnxt * bp) bnxt_set_dflt_rfs() argument
12362 bnxt_fw_init_one_p3(struct bnxt * bp) bnxt_fw_init_one_p3() argument
12381 bnxt_fw_init_one(struct bnxt * bp) bnxt_fw_init_one() argument
12406 bnxt_fw_reset_writel(struct bnxt * bp,int reg_idx) bnxt_fw_reset_writel() argument
12438 bnxt_hwrm_reset_permitted(struct bnxt * bp) bnxt_hwrm_reset_permitted() argument
12459 bnxt_reset_all(struct bnxt * bp) bnxt_reset_all() argument
12490 bnxt_fw_reset_timeout(struct bnxt * bp) bnxt_fw_reset_timeout() argument
12496 bnxt_fw_reset_abort(struct bnxt * bp,int rc) bnxt_fw_reset_abort() argument
12509 struct bnxt *bp = container_of(work, struct bnxt, fw_reset_task.work); bnxt_fw_reset_task() local
12679 struct bnxt *bp = netdev_priv(dev); bnxt_init_board() local
12767 struct bnxt *bp = netdev_priv(dev); bnxt_change_mac_addr() local
12792 struct bnxt *bp = netdev_priv(dev); bnxt_change_mtu() local
12808 struct bnxt *bp = netdev_priv(dev); bnxt_setup_mq_tc() local
12853 struct bnxt *bp = cb_priv; bnxt_setup_tc_block_cb() local
12872 struct bnxt *bp = netdev_priv(dev); bnxt_setup_tc() local
12927 struct bnxt *bp = netdev_priv(dev); bnxt_rx_flow_steer() local
13021 bnxt_cfg_ntp_filters(struct bnxt * bp) bnxt_cfg_ntp_filters() argument
13067 bnxt_cfg_ntp_filters(struct bnxt * bp) bnxt_cfg_ntp_filters() argument
13076 struct bnxt *bp = netdev_priv(netdev); bnxt_udp_tunnel_set_port() local
13090 struct bnxt *bp = netdev_priv(netdev); bnxt_udp_tunnel_unset_port() local
13116 struct bnxt *bp = netdev_priv(dev); bnxt_bridge_getlink() local
13125 struct bnxt *bp = netdev_priv(dev); bnxt_bridge_setlink() local
13157 struct bnxt *bp = netdev_priv(dev); bnxt_get_port_parent_id() local
13208 struct bnxt *bp = netdev_priv(dev); bnxt_remove_one() local
13246 bnxt_probe_phy(struct bnxt * bp,bool fw_dflt) bnxt_probe_phy() argument
13296 _bnxt_get_max_rings(struct bnxt * bp,int * max_rx,int * max_tx,int * max_cp) _bnxt_get_max_rings() argument
13325 bnxt_get_max_rings(struct bnxt * bp,int * max_rx,int * max_tx,bool shared) bnxt_get_max_rings() argument
13338 bnxt_get_dflt_rings(struct bnxt * bp,int * max_rx,int * max_tx,bool shared) bnxt_get_dflt_rings() argument
13386 bnxt_trim_dflt_sh_rings(struct bnxt * bp) bnxt_trim_dflt_sh_rings() argument
13394 bnxt_set_dflt_rings(struct bnxt * bp,bool sh) bnxt_set_dflt_rings() argument
13449 bnxt_init_dflt_ring_mode(struct bnxt * bp) bnxt_init_dflt_ring_mode() argument
13479 bnxt_restore_pf_fw_resources(struct bnxt * bp) bnxt_restore_pf_fw_resources() argument
13504 bnxt_init_mac_addr(struct bnxt * bp) bnxt_init_mac_addr() argument
13531 bnxt_vpd_read_info(struct bnxt * bp) bnxt_vpd_read_info() argument
13565 bnxt_pcie_dsn_get(struct bnxt * bp,u8 dsn[]) bnxt_pcie_dsn_get() argument
13582 bnxt_map_db_bar(struct bnxt * bp) bnxt_map_db_bar() argument
13592 bnxt_print_device_info(struct bnxt * bp) bnxt_print_device_info() argument
13604 struct bnxt *bp; bnxt_init_one() local
13847 struct bnxt *bp; bnxt_shutdown() local
13877 struct bnxt *bp = netdev_priv(dev); bnxt_suspend() local
13899 struct bnxt *bp = netdev_priv(dev); bnxt_resume() local
13971 struct bnxt *bp = netdev_priv(netdev); bnxt_io_error_detected() local
14027 struct bnxt *bp = netdev_priv(netdev); bnxt_io_slot_reset() local
14104 struct bnxt *bp = netdev_priv(netdev); bnxt_io_resume() local
[all...]
H A Dbnxt_dcb.c25 static int bnxt_queue_to_tc(struct bnxt *bp, u8 queue_id) in bnxt_queue_to_tc() argument
29 for (i = 0; i < bp->max_tc; i++) { in bnxt_queue_to_tc()
30 if (bp->q_info[i].queue_id == queue_id) { in bnxt_queue_to_tc()
31 for (j = 0; j < bp->max_tc; j++) { in bnxt_queue_to_tc()
32 if (bp->tc_to_qidx[j] == i) 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() argument
46 rc = hwrm_req_init(bp, req, HWRM_QUEUE_PRI2COS_CFG); in bnxt_hwrm_queue_pri2cos_cfg()
60 qidx = bp->tc_to_qidx[ets->prio_tc[i]]; in bnxt_hwrm_queue_pri2cos_cfg()
61 pri2cos[i] = bp->q_info[qidx].queue_id; in bnxt_hwrm_queue_pri2cos_cfg()
63 return hwrm_req_send(bp, req); in bnxt_hwrm_queue_pri2cos_cfg()
[all …]
H A Dbnxt_sriov.c27 static int bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, in bnxt_hwrm_fwd_async_event_cmpl() argument
34 rc = hwrm_req_init(bp, req, HWRM_FWD_ASYNC_EVENT_CMPL); in bnxt_hwrm_fwd_async_event_cmpl()
48 rc = hwrm_req_send(bp, req); in bnxt_hwrm_fwd_async_event_cmpl()
51 netdev_err(bp->dev, "hwrm_fwd_async_event_cmpl failed. rc:%d\n", in bnxt_hwrm_fwd_async_event_cmpl()
56 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep() argument
58 if (!bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
59 netdev_err(bp->dev, "vf ndo called though sriov is disabled\n"); in bnxt_vf_ndo_prep()
62 if (vf_id >= bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
63 netdev_err(bp->dev, "Invalid VF id %d\n", vf_id); in bnxt_vf_ndo_prep()
71 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() local
[all …]
/openbmc/linux/drivers/sbus/char/
H A Dbbc_i2c.c55 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) in set_device_claimage() argument
60 if (bp->devs[i].device == op) { in set_device_claimage()
61 bp->devs[i].client_claimed = val; in set_device_claimage()
70 struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) in bbc_i2c_getdev() argument
76 if (!(op = bp->devs[i].device)) in bbc_i2c_getdev()
90 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) in bbc_i2c_attach() argument
98 client->bp = bp; in bbc_i2c_attach()
110 claim_device(bp, op); in bbc_i2c_attach()
117 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_detach() local
120 release_device(bp, op); in bbc_i2c_detach()
[all …]
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c98 static void qec_init(struct bigmac *bp) in qec_init() argument
100 struct platform_device *qec_op = bp->qec_op; in qec_init()
101 void __iomem *gregs = bp->gregs; in qec_init()
102 u8 bsizes = bp->bigmac_bursts; in qec_init()
165 static void bigmac_stop(struct bigmac *bp) in bigmac_stop() argument
167 bigmac_tx_reset(bp->bregs); in bigmac_stop()
168 bigmac_rx_reset(bp->bregs); in bigmac_stop()
171 static void bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) in bigmac_get_counters() argument
173 struct net_device_stats *stats = &bp->dev->stats; in bigmac_get_counters()
193 static void bigmac_clean_rings(struct bigmac *bp) in bigmac_clean_rings() argument
[all …]
/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-io.c22 #define BUFFER_CHECK(bp) do { \ argument
23 if ((bp)->signature != BUFFER_SIG) { \
26 (bp), __FILE__, __LINE__); \
27 pvr2_buffer_describe(bp, "BadSig"); \
32 #define BUFFER_CHECK(bp) do {} while (0) argument
99 static void pvr2_buffer_describe(struct pvr2_buffer *bp, const char *msg) in pvr2_buffer_describe() argument
105 bp, in pvr2_buffer_describe()
106 (bp ? pvr2_buffer_state_decode(bp->state) : "(invalid)"), in pvr2_buffer_describe()
107 (bp ? bp->id : 0), in pvr2_buffer_describe()
108 (bp ? bp->status : 0), in pvr2_buffer_describe()
[all …]
/openbmc/linux/drivers/net/ethernet/cadence/
H A Dmacb_main.c56 #define RX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ argument
57 * (bp)->rx_ring_size)
62 #define TX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ argument
63 * (bp)->tx_ring_size)
66 #define MACB_TX_WAKEUP_THRESH(bp) (3 * (bp)->tx_ring_size / 4) argument
128 static unsigned int macb_dma_desc_get_size(struct macb *bp) in macb_dma_desc_get_size() argument
133 switch (bp->hw_dma_cap) { in macb_dma_desc_get_size()
155 static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) in macb_adj_dma_desc_idx() argument
158 switch (bp->hw_dma_cap) { in macb_adj_dma_desc_idx()
174 static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) in macb_64b_desc() argument
[all …]
H A Dmacb_ptp.c28 static struct macb_dma_desc_ptp *macb_ptp_desc(struct macb *bp, in macb_ptp_desc() argument
31 if (bp->hw_dma_cap == HW_DMA_CAP_PTP) in macb_ptp_desc()
34 if (bp->hw_dma_cap == HW_DMA_CAP_64B_PTP) in macb_ptp_desc()
44 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_get_time() local
49 spin_lock_irqsave(&bp->tsu_clk_lock, flags); in gem_tsu_get_time()
51 first = gem_readl(bp, TN); in gem_tsu_get_time()
53 secl = gem_readl(bp, TSL); in gem_tsu_get_time()
54 sech = gem_readl(bp, TSH); in gem_tsu_get_time()
55 second = gem_readl(bp, TN); in gem_tsu_get_time()
63 ts->tv_nsec = gem_readl(bp, TN); in gem_tsu_get_time()
[all …]
/openbmc/linux/kernel/debug/kdb/
H A Dkdb_bp.c40 static char *kdb_bptype(kdb_bp_t *bp) in kdb_bptype() argument
42 if (bp->bp_type < 0 || bp->bp_type > 4) in kdb_bptype()
45 return kdb_rwtypes[bp->bp_type]; in kdb_bptype()
48 static int kdb_parsebp(int argc, const char **argv, int *nextargp, kdb_bp_t *bp) in kdb_parsebp() argument
53 bp->bph_length = 1; in kdb_parsebp()
56 bp->bp_type = BP_ACCESS_WATCHPOINT; in kdb_parsebp()
58 bp->bp_type = BP_WRITE_WATCHPOINT; in kdb_parsebp()
60 bp->bp_type = BP_HARDWARE_BREAKPOINT; in kdb_parsebp()
64 bp->bph_length = 1; in kdb_parsebp()
80 bp->bph_length = len; in kdb_parsebp()
[all …]
/openbmc/u-boot/include/zfs/
H A Dspa.h173 #define BP_GET_LSIZE(bp) \ argument
174 BF64_GET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1)
175 #define BP_SET_LSIZE(bp, x) \ argument
176 BF64_SET_SB((bp)->blk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x)
178 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 8) argument
179 #define BP_SET_COMPRESS(bp, x) BF64_SET((bp)->blk_prop, 32, 8, x) argument
181 #define BP_GET_CHECKSUM(bp) BF64_GET((bp)->blk_prop, 40, 8) argument
182 #define BP_SET_CHECKSUM(bp, x) BF64_SET((bp)->blk_prop, 40, 8, x) argument
184 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument
185 #define BP_SET_TYPE(bp, x) BF64_SET((bp)->blk_prop, 48, 8, x) argument
[all …]
/openbmc/linux/drivers/net/ethernet/
H A Ddnet.c27 static u16 dnet_readw_mac(struct dnet *bp, u16 reg) in dnet_readw_mac() argument
32 dnet_writel(bp, reg, MACREG_ADDR); in dnet_readw_mac()
39 data_read = dnet_readl(bp, MACREG_DATA); in dnet_readw_mac()
46 static void dnet_writew_mac(struct dnet *bp, u16 reg, u16 val) in dnet_writew_mac() argument
49 dnet_writel(bp, val, MACREG_DATA); in dnet_writew_mac()
52 dnet_writel(bp, reg | DNET_INTERNAL_WRITE, MACREG_ADDR); in dnet_writew_mac()
59 static void __dnet_set_hwaddr(struct dnet *bp) in __dnet_set_hwaddr() argument
63 tmp = be16_to_cpup((const __be16 *)bp->dev->dev_addr); in __dnet_set_hwaddr()
64 dnet_writew_mac(bp, DNET_INTERNAL_MAC_ADDR_0_REG, tmp); in __dnet_set_hwaddr()
65 tmp = be16_to_cpup((const __be16 *)(bp->dev->dev_addr + 2)); in __dnet_set_hwaddr()
[all …]
/openbmc/linux/drivers/net/fddi/skfp/
H A Dskfddi.c382 skfddi_priv *bp = &smc->os; in skfp_driver_init() local
388 bp->base_addr = dev->base_addr; in skfp_driver_init()
393 spin_lock_init(&bp->DriverLock); in skfp_driver_init()
396 bp->LocalRxBuffer = dma_alloc_coherent(&bp->pdev.dev, MAX_FRAME_SIZE, in skfp_driver_init()
397 &bp->LocalRxBufferDMA, in skfp_driver_init()
399 if (!bp->LocalRxBuffer) { in skfp_driver_init()
406 bp->SharedMemSize = mac_drv_check_space(); in skfp_driver_init()
407 pr_debug("Memory for HWM: %ld\n", bp->SharedMemSize); in skfp_driver_init()
408 if (bp->SharedMemSize > 0) { in skfp_driver_init()
409 bp->SharedMemSize += 16; // for descriptor alignment in skfp_driver_init()
[all …]

12345678910>>...25