/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 35 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() 113 static bool bnx2x_validate_vf_sp_objs(struct bnx2x *bp, in bnx2x_validate_vf_sp_objs() 128 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_tx() 144 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_rx() 168 void bnx2x_vfop_qctor_prep(struct bnx2x *bp, in bnx2x_vfop_qctor_prep() 233 static int bnx2x_vf_queue_create(struct bnx2x *bp, in bnx2x_vf_queue_create() [all …]
|
D | bnx2x_main.c | 300 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping() 307 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr() 316 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() 329 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en() 342 static void storm_memset_eq_data(struct bnx2x *bp, in storm_memset_eq_data() 353 static void storm_memset_eq_prod(struct bnx2x *bp, u16 eq_prod, in storm_memset_eq_prod() 363 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val) in bnx2x_reg_wr_ind() 371 static u32 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr) in bnx2x_reg_rd_ind() 389 static void bnx2x_dp_dmae(struct bnx2x *bp, in bnx2x_dp_dmae() 456 void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx) in bnx2x_post_dmae() [all …]
|
D | bnx2x_dcb.c | 55 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 …]
|
D | bnx2x_cmn.c | 41 static void bnx2x_add_all_napi_cnic(struct bnx2x *bp) in bnx2x_add_all_napi_cnic() 52 static void bnx2x_add_all_napi(struct bnx2x *bp) in bnx2x_add_all_napi() 63 static int bnx2x_calc_num_queues(struct bnx2x *bp) in bnx2x_calc_num_queues() 88 static inline void bnx2x_move_fp(struct bnx2x *bp, int from, int to) in bnx2x_move_fp() 145 void bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) in bnx2x_fill_fw_str() 171 static void bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) in bnx2x_shrink_eth_fp() 195 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt() 274 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int() 356 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod() local 408 static u32 bnx2x_get_rxhash(const struct bnx2x *bp, in bnx2x_get_rxhash() [all …]
|
D | bnx2x_ethtool.c | 190 static int bnx2x_get_port_type(struct bnx2x *bp) in bnx2x_get_port_type() 222 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_settings() local 258 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_settings() local 357 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_settings() local 671 static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) in __bnx2x_get_preset_regs_len() 687 static int __bnx2x_get_regs_len(struct bnx2x *bp) in __bnx2x_get_regs_len() 701 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs_len() local 724 static const u32 *__bnx2x_get_page_addr_ar(struct bnx2x *bp) in __bnx2x_get_page_addr_ar() 734 static u32 __bnx2x_get_page_reg_num(struct bnx2x *bp) in __bnx2x_get_page_reg_num() 744 static const u32 *__bnx2x_get_page_write_ar(struct bnx2x *bp) in __bnx2x_get_page_write_ar() [all …]
|
D | bnx2x_vfpf.c | 29 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() 396 int bnx2x_vfpf_release(struct bnx2x *bp) in bnx2x_vfpf_release() 443 int bnx2x_vfpf_init(struct bnx2x *bp) in bnx2x_vfpf_init() [all …]
|
D | bnx2x_stats.c | 44 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 …]
|
D | bnx2x_cmn.h | 502 static inline void bnx2x_update_rx_prod(struct bnx2x *bp, in bnx2x_update_rx_prod() 637 static inline void bnx2x_igu_ack_sb_gen(struct bnx2x *bp, u8 igu_sb_id, in bnx2x_igu_ack_sb_gen() 658 static inline void bnx2x_hc_ack_sb(struct bnx2x *bp, u8 sb_id, in bnx2x_hc_ack_sb() 679 static inline void bnx2x_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 storm, in bnx2x_ack_sb() 699 static inline u16 bnx2x_hc_ack_int(struct bnx2x *bp) in bnx2x_hc_ack_int() 709 static inline u16 bnx2x_igu_ack_int(struct bnx2x *bp) in bnx2x_igu_ack_int() 721 static inline u16 bnx2x_ack_int(struct bnx2x *bp) in bnx2x_ack_int() 737 static inline u16 bnx2x_tx_avail(struct bnx2x *bp, in bnx2x_tx_avail() 796 static inline void bnx2x_tx_disable(struct bnx2x *bp) in bnx2x_tx_disable() 802 static inline void bnx2x_free_rx_sge(struct bnx2x *bp, in bnx2x_free_rx_sge() [all …]
|
D | bnx2x_sp.c | 48 static inline void bnx2x_exe_queue_init(struct bnx2x *bp, in bnx2x_exe_queue_init() 79 static inline void bnx2x_exe_queue_free_elem(struct bnx2x *bp, in bnx2x_exe_queue_free_elem() 111 static inline int bnx2x_exe_queue_add(struct bnx2x *bp, in bnx2x_exe_queue_add() 150 struct bnx2x *bp, in __bnx2x_exe_queue_reset_pending() 173 static inline int bnx2x_exe_queue_step(struct bnx2x *bp, in bnx2x_exe_queue_step() 249 struct bnx2x *bp) in bnx2x_exe_queue_alloc_elem() 283 static inline int bnx2x_state_wait(struct bnx2x *bp, int state, in bnx2x_state_wait() 318 static int bnx2x_raw_wait(struct bnx2x *bp, struct bnx2x_raw_obj *raw) in bnx2x_raw_wait() 430 static int __bnx2x_vlan_mac_h_write_trylock(struct bnx2x *bp, in __bnx2x_vlan_mac_h_write_trylock() 451 static void __bnx2x_vlan_mac_h_exec_pending(struct bnx2x *bp, in __bnx2x_vlan_mac_h_exec_pending() [all …]
|
D | bnx2x_sriov.h | 214 #define BNX2X_NR_VIRTFN(bp) ((bp)->vfdb->sriov.nr_virtfn) argument 216 #define for_each_vf(bp, var) \ argument 227 #define HW_VF_HANDLE(bp, abs_vfid) \ argument 235 #define GET_NUM_VFS_PER_PATH(bp) 64 /* use max possible value */ argument 236 #define GET_NUM_VFS_PER_PF(bp) ((bp)->vfdb ? (bp)->vfdb->sriov.total \ argument 313 #define BP_VFDB(bp) ((bp)->vfdb) argument 316 #define BP_VF(bp, idx) ((BP_VFDB(bp) && (bp)->vfdb->vfs) ? \ argument 318 #define bnx2x_vf(bp, idx, var) ((bp)->vfdb->vfs[idx].var) argument 325 #define BP_VF_CXT_PAGE(bp, i) (&(bp)->vfdb->context[i]) argument 330 #define BP_VF_MBX_DMA(bp) (&((bp)->vfdb->mbx_dma)) argument [all …]
|
D | bnx2x_link.c | 226 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en() 235 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis() 257 struct bnx2x *bp = params->bp; in bnx2x_check_lfa() local 374 static void bnx2x_get_epio(struct bnx2x *bp, u32 epio_pin, u32 *en) in bnx2x_get_epio() 391 static void bnx2x_set_epio(struct bnx2x *bp, u32 epio_pin, u32 en) in bnx2x_set_epio() 416 static void bnx2x_set_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 val) in bnx2x_set_cfg_pin() 429 static u32 bnx2x_get_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 *val) in bnx2x_get_cfg_pin() 449 struct bnx2x *bp = params->bp; in bnx2x_ets_e2e3a0_disabled() local 540 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_set_credit_upper_bound_nig() local 578 struct bnx2x *bp = params->bp; in bnx2x_ets_e3b0_nig_disabled() local [all …]
|
D | bnx2x_init_ops.h | 22 #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 …]
|
D | bnx2x.h | 47 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt) argument 163 #define REG_ADDR(bp, offset) ((bp->regview) + (offset)) argument 165 #define REG_RD(bp, offset) readl(REG_ADDR(bp, offset)) argument 166 #define REG_RD8(bp, offset) readb(REG_ADDR(bp, offset)) argument 167 #define REG_RD16(bp, offset) readw(REG_ADDR(bp, offset)) argument 169 #define REG_WR(bp, offset, val) writel((u32)val, REG_ADDR(bp, offset)) argument 170 #define REG_WR8(bp, offset, val) writeb((u8)val, REG_ADDR(bp, offset)) argument 171 #define REG_WR16(bp, offset, val) writew((u16)val, REG_ADDR(bp, offset)) argument 173 #define REG_RD_IND(bp, offset) bnx2x_reg_rd_ind(bp, offset) argument 174 #define REG_WR_IND(bp, offset, val) bnx2x_reg_wr_ind(bp, offset, val) argument [all …]
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 253 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr) in bnx2_tx_avail() 273 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) in bnx2_reg_rd_ind() 286 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) in bnx2_reg_wr_ind() 297 bnx2_shmem_wr(struct bnx2 *bp, u32 offset, u32 val) in bnx2_shmem_wr() 303 bnx2_shmem_rd(struct bnx2 *bp, u32 offset) in bnx2_shmem_rd() 309 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val) in bnx2_ctx_wr() 338 struct bnx2 *bp = netdev_priv(dev); in bnx2_drv_ctl() local 357 static void bnx2_setup_cnic_irq_info(struct bnx2 *bp) in bnx2_setup_cnic_irq_info() 387 struct bnx2 *bp = netdev_priv(dev); in bnx2_register_cnic() local 412 struct bnx2 *bp = netdev_priv(dev); in bnx2_unregister_cnic() local [all …]
|
D | b44.c | 166 static inline unsigned long br32(const struct b44 *bp, unsigned long reg) in br32() 171 static inline void bw32(const struct b44 *bp, in bw32() 177 static int b44_wait_bit(struct b44 *bp, unsigned long reg, in b44_wait_bit() 201 static inline void __b44_cam_read(struct b44 *bp, unsigned char *data, int index) in __b44_cam_read() 223 static inline void __b44_cam_write(struct b44 *bp, unsigned char *data, int index) in __b44_cam_write() 241 static inline void __b44_disable_ints(struct b44 *bp) in __b44_disable_ints() 246 static void b44_disable_ints(struct b44 *bp) in b44_disable_ints() 254 static void b44_enable_ints(struct b44 *bp) in b44_enable_ints() 259 static int __b44_readphy(struct b44 *bp, int phy_addr, int reg, u32 *val) in __b44_readphy() 275 static int __b44_writephy(struct b44 *bp, int phy_addr, int reg, u32 val) in __b44_writephy() [all …]
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 220 static inline u32 bnxt_tx_avail(struct bnxt *bp, struct bnxt_tx_ring_info *txr) in bnxt_tx_avail() 253 struct bnxt *bp = netdev_priv(dev); in bnxt_start_xmit() local 516 static void bnxt_tx_int(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts) in bnxt_tx_int() 583 static inline u8 *__bnxt_alloc_rx_data(struct bnxt *bp, dma_addr_t *mapping, in __bnxt_alloc_rx_data() 603 static inline int bnxt_alloc_rx_data(struct bnxt *bp, in bnxt_alloc_rx_data() 655 static inline int bnxt_alloc_rx_page(struct bnxt *bp, in bnxt_alloc_rx_page() 714 struct bnxt *bp = bnapi->bp; in bnxt_reuse_rx_agg_bufs() local 763 static struct sk_buff *bnxt_rx_skb(struct bnxt *bp, in bnxt_rx_skb() 790 static struct sk_buff *bnxt_rx_pages(struct bnxt *bp, struct bnxt_napi *bnapi, in bnxt_rx_pages() 860 static int bnxt_agg_bufs_valid(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_agg_bufs_valid() [all …]
|
D | bnxt_sriov.c | 22 static int bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, in bnxt_hwrm_fwd_async_event_cmpl() 61 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep() 81 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() local 122 struct bnxt *bp = netdev_priv(dev); in bnxt_get_vf_config() local 152 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_mac() local 181 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_vlan() local 222 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_bw() local 263 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_link_state() local 295 static int bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) in bnxt_set_vf_attr() 308 static int bnxt_hwrm_func_vf_resource_free(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_vf_resource_free() [all …]
|
D | bnxt_ethtool.c | 31 struct bnxt *bp = netdev_priv(dev); in bnxt_get_msglevel() local 38 struct bnxt *bp = netdev_priv(dev); in bnxt_set_msglevel() local 46 struct bnxt *bp = netdev_priv(dev); in bnxt_get_coalesce() local 69 struct bnxt *bp = netdev_priv(dev); in bnxt_set_coalesce() local 192 struct bnxt *bp = netdev_priv(dev); in bnxt_get_sset_count() local 212 struct bnxt *bp = netdev_priv(dev); in bnxt_get_ethtool_stats() local 243 struct bnxt *bp = netdev_priv(dev); in bnxt_get_strings() local 310 struct bnxt *bp = netdev_priv(dev); in bnxt_get_ringparam() local 324 struct bnxt *bp = netdev_priv(dev); in bnxt_set_ringparam() local 347 struct bnxt *bp = netdev_priv(dev); in bnxt_get_channels() local [all …]
|
/drivers/net/ethernet/cadence/ |
D | macb.c | 101 static struct macb_dma_desc *macb_rx_desc(struct macb *bp, unsigned int index) in macb_rx_desc() 106 static void *macb_rx_buffer(struct macb *bp, unsigned int index) in macb_rx_buffer() 112 static u32 hw_readl_native(struct macb *bp, int offset) in hw_readl_native() 117 static void hw_writel_native(struct macb *bp, int offset, u32 value) in hw_writel_native() 122 static u32 hw_readl(struct macb *bp, int offset) in hw_readl() 127 static void hw_writel(struct macb *bp, int offset, u32 value) in hw_writel() 161 static void macb_set_hwaddr(struct macb *bp) in macb_set_hwaddr() 180 static void macb_get_hwaddr(struct macb *bp) in macb_get_hwaddr() 223 struct macb *bp = bus->priv; in macb_mdio_read() local 244 struct macb *bp = bus->priv; in macb_mdio_write() local [all …]
|
/drivers/net/ethernet/sun/ |
D | sunbmac.c | 97 static void qec_init(struct bigmac *bp) in qec_init() 164 static void bigmac_stop(struct bigmac *bp) in bigmac_stop() 170 static void bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) in bigmac_get_counters() 192 static void bigmac_clean_rings(struct bigmac *bp) in bigmac_clean_rings() 211 static void bigmac_init_rings(struct bigmac *bp, int from_irq) in bigmac_init_rings() 267 static void write_tcvr_bit(struct bigmac *bp, void __iomem *tregs, int bit) in write_tcvr_bit() 290 static int read_tcvr_bit(struct bigmac *bp, void __iomem *tregs) in read_tcvr_bit() 313 static int read_tcvr_bit2(struct bigmac *bp, void __iomem *tregs) in read_tcvr_bit2() 335 static void put_tcvr_byte(struct bigmac *bp, in put_tcvr_byte() 347 static void bigmac_tcvr_write(struct bigmac *bp, void __iomem *tregs, in bigmac_tcvr_write() [all …]
|
/drivers/net/ethernet/ |
D | dnet.c | 30 static u16 dnet_readw_mac(struct dnet *bp, u16 reg) in dnet_readw_mac() 49 static void dnet_writew_mac(struct dnet *bp, u16 reg, u16 val) in dnet_writew_mac() 62 static void __dnet_set_hwaddr(struct dnet *bp) in __dnet_set_hwaddr() 74 static void dnet_get_hwaddr(struct dnet *bp) in dnet_get_hwaddr() 104 struct dnet *bp = bus->priv; in dnet_mdio_read() local 137 struct dnet *bp = bus->priv; in dnet_mdio_write() local 175 struct dnet *bp = netdev_priv(dev); in dnet_handle_link_change() local 256 struct dnet *bp = netdev_priv(dev); in dnet_mii_probe() local 302 static int dnet_mii_init(struct dnet *bp) in dnet_mii_init() 344 static void dnet_update_stats(struct dnet *bp) in dnet_update_stats() [all …]
|
/drivers/net/fddi/ |
D | defxx.c | 298 static inline void dfx_rcv_flush(DFX_board_t *bp) {} in dfx_rcv_flush() 363 static inline void dfx_writel(DFX_board_t *bp, int offset, u32 data) in dfx_writel() 369 static inline void dfx_outl(DFX_board_t *bp, int offset, u32 data) in dfx_outl() 374 static void dfx_port_write_long(DFX_board_t *bp, int offset, u32 data) in dfx_port_write_long() 387 static inline void dfx_readl(DFX_board_t *bp, int offset, u32 *data) in dfx_readl() 393 static inline void dfx_inl(DFX_board_t *bp, int offset, u32 *data) in dfx_inl() 398 static void dfx_port_read_long(DFX_board_t *bp, int offset, u32 *data) in dfx_port_read_long() 535 DFX_board_t *bp; /* board pointer */ in dfx_register() local 719 DFX_board_t *bp = netdev_priv(dev); in dfx_bus_init() local 879 DFX_board_t *bp = netdev_priv(dev); in dfx_bus_uninit() local [all …]
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-io.c | 36 #define BUFFER_CHECK(bp) do { \ argument 46 #define BUFFER_CHECK(bp) do {} while(0) argument 113 static void pvr2_buffer_describe(struct pvr2_buffer *bp,const char *msg) in pvr2_buffer_describe() 130 static void pvr2_buffer_remove(struct pvr2_buffer *bp) in pvr2_buffer_remove() 165 static void pvr2_buffer_set_none(struct pvr2_buffer *bp) in pvr2_buffer_set_none() 181 static int pvr2_buffer_set_ready(struct pvr2_buffer *bp) in pvr2_buffer_set_ready() 209 static void pvr2_buffer_set_idle(struct pvr2_buffer *bp) in pvr2_buffer_set_idle() 234 static void pvr2_buffer_set_queued(struct pvr2_buffer *bp) in pvr2_buffer_set_queued() 259 static void pvr2_buffer_wipe(struct pvr2_buffer *bp) in pvr2_buffer_wipe() 266 static int pvr2_buffer_init(struct pvr2_buffer *bp, in pvr2_buffer_init() [all …]
|
/drivers/sbus/char/ |
D | bbc_i2c.c | 53 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) in set_device_claimage() 68 struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) in bbc_i2c_getdev() 88 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) in bbc_i2c_attach() 115 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_detach() local 122 static int wait_for_pin(struct bbc_i2c_bus *bp, u8 *status) in wait_for_pin() 151 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_writeb() local 182 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_readb() local 272 struct bbc_i2c_bus *bp = dev_id; in bbc_i2c_interrupt() local 284 static void reset_one_i2c(struct bbc_i2c_bus *bp) in reset_one_i2c() 295 struct bbc_i2c_bus *bp; in attach_one_i2c() local [all …]
|
/drivers/net/ethernet/apple/ |
D | bmac.c | 228 struct bmac_data *bp = netdev_priv(dev); in bmac_enable_and_reset_chip() local 312 struct bmac_data *bp = netdev_priv(dev); in bmac_init_registers() local 405 struct bmac_data *bp = netdev_priv(dev); in bmac_start_chip() local 425 struct bmac_data *bp = netdev_priv(dev); in bmac_init_phy() local 459 struct bmac_data *bp = netdev_priv(dev); in bmac_suspend() local 509 struct bmac_data *bp = netdev_priv(dev); in bmac_resume() local 526 struct bmac_data *bp = netdev_priv(dev); in bmac_set_address() local 551 struct bmac_data *bp = netdev_priv(dev); in bmac_set_timeout() local 589 bmac_init_tx_ring(struct bmac_data *bp) in bmac_init_tx_ring() 612 struct bmac_data *bp = netdev_priv(dev); in bmac_init_rx_ring() local [all …]
|