/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() 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 …]
|
D | bnx2x_main.c | 315 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping() 322 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr() 331 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() 344 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en() 357 static void storm_memset_eq_data(struct bnx2x *bp, in storm_memset_eq_data() 368 static void storm_memset_eq_prod(struct bnx2x *bp, u16 eq_prod, in storm_memset_eq_prod() 378 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val) in bnx2x_reg_wr_ind() 386 static u32 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr) in bnx2x_reg_rd_ind() 404 static void bnx2x_dp_dmae(struct bnx2x *bp, in bnx2x_dp_dmae() 471 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() 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() 169 static void bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) in bnx2x_shrink_eth_fp() 193 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt() 272 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int() 357 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod() local 409 static u32 bnx2x_get_rxhash(const struct bnx2x *bp, in bnx2x_get_rxhash() [all …]
|
D | bnx2x_ethtool.c | 192 static int bnx2x_get_port_type(struct bnx2x *bp) in bnx2x_get_port_type() 224 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_link_ksettings() local 264 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link_ksettings() local 371 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_link_ksettings() local 692 static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) in __bnx2x_get_preset_regs_len() 708 static int __bnx2x_get_regs_len(struct bnx2x *bp) in __bnx2x_get_regs_len() 722 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs_len() local 745 static const u32 *__bnx2x_get_page_addr_ar(struct bnx2x *bp) in __bnx2x_get_page_addr_ar() 755 static u32 __bnx2x_get_page_reg_num(struct bnx2x *bp) in __bnx2x_get_page_reg_num() 765 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() 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 …]
|
D | bnx2x_sp.c | 50 static inline void bnx2x_exe_queue_init(struct bnx2x *bp, in bnx2x_exe_queue_init() 81 static inline void bnx2x_exe_queue_free_elem(struct bnx2x *bp, in bnx2x_exe_queue_free_elem() 113 static inline int bnx2x_exe_queue_add(struct bnx2x *bp, in bnx2x_exe_queue_add() 152 struct bnx2x *bp, in __bnx2x_exe_queue_reset_pending() 175 static inline int bnx2x_exe_queue_step(struct bnx2x *bp, in bnx2x_exe_queue_step() 251 struct bnx2x *bp) in bnx2x_exe_queue_alloc_elem() 285 static inline int bnx2x_state_wait(struct bnx2x *bp, int state, in bnx2x_state_wait() 320 static int bnx2x_raw_wait(struct bnx2x *bp, struct bnx2x_raw_obj *raw) in bnx2x_raw_wait() 432 static int __bnx2x_vlan_mac_h_write_trylock(struct bnx2x *bp, in __bnx2x_vlan_mac_h_write_trylock() 453 static void __bnx2x_vlan_mac_h_exec_pending(struct bnx2x *bp, in __bnx2x_vlan_mac_h_exec_pending() [all …]
|
D | bnx2x_link.c | 220 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 …]
|
D | bnx2x_cmn.h | 505 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 …]
|
D | bnx2x_stats.c | 46 static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) in bnx2x_get_port_stats_dma_len() 86 static void bnx2x_dp_stats(struct bnx2x *bp) in bnx2x_dp_stats() 128 static void bnx2x_storm_stats_post(struct bnx2x *bp) in bnx2x_storm_stats_post() 154 static void bnx2x_hw_stats_post(struct bnx2x *bp) in bnx2x_hw_stats_post() 199 static void bnx2x_stats_comp(struct bnx2x *bp) in bnx2x_stats_comp() 220 static void bnx2x_stats_pmf_update(struct bnx2x *bp) in bnx2x_stats_pmf_update() 267 static void bnx2x_port_stats_init(struct bnx2x *bp) in bnx2x_port_stats_init() 489 static void bnx2x_func_stats_init(struct bnx2x *bp) in bnx2x_func_stats_init() 518 static void bnx2x_stats_start(struct bnx2x *bp) in bnx2x_stats_start() 532 static void bnx2x_stats_pmf_start(struct bnx2x *bp) in bnx2x_stats_pmf_start() [all …]
|
D | bnx2x_sriov.h | 219 #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 …]
|
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 | 53 #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 …]
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 247 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr) in bnx2_tx_avail() 264 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) in bnx2_reg_rd_ind() 277 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) in bnx2_reg_wr_ind() 288 bnx2_shmem_wr(struct bnx2 *bp, u32 offset, u32 val) in bnx2_shmem_wr() 294 bnx2_shmem_rd(struct bnx2 *bp, u32 offset) in bnx2_shmem_rd() 300 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val) in bnx2_ctx_wr() 329 struct bnx2 *bp = netdev_priv(dev); in bnx2_drv_ctl() local 348 static void bnx2_setup_cnic_irq_info(struct bnx2 *bp) in bnx2_setup_cnic_irq_info() 378 struct bnx2 *bp = netdev_priv(dev); in bnx2_register_cnic() local 403 struct bnx2 *bp = netdev_priv(dev); in bnx2_unregister_cnic() local [all …]
|
D | b44.c | 164 static inline unsigned long br32(const struct b44 *bp, unsigned long reg) in br32() 169 static inline void bw32(const struct b44 *bp, in bw32() 175 static int b44_wait_bit(struct b44 *bp, unsigned long reg, in b44_wait_bit() 199 static inline void __b44_cam_read(struct b44 *bp, unsigned char *data, int index) in __b44_cam_read() 221 static inline void __b44_cam_write(struct b44 *bp, in __b44_cam_write() 240 static inline void __b44_disable_ints(struct b44 *bp) in __b44_disable_ints() 245 static void b44_disable_ints(struct b44 *bp) in b44_disable_ints() 253 static void b44_enable_ints(struct b44 *bp) in b44_enable_ints() 258 static int __b44_readphy(struct b44 *bp, int phy_addr, int reg, u32 *val) in __b44_readphy() 274 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 | 271 static void bnxt_db_nq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) 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() 287 static void bnxt_db_cq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_cq() 328 static void bnxt_txr_db_kick(struct bnxt *bp, struct bnxt_tx_ring_info *txr, in bnxt_txr_db_kick() 335 static bool bnxt_txr_netif_try_stop_queue(struct bnxt *bp, in bnxt_txr_netif_try_stop_queue() 357 struct bnxt *bp = netdev_priv(dev); in bnxt_start_xmit() local 651 static void bnxt_tx_int(struct bnxt *bp, struct bnxt_napi *bnapi, int nr_pkts) in bnxt_tx_int() 722 static struct page *__bnxt_alloc_rx_page(struct bnxt *bp, dma_addr_t *mapping, in __bnxt_alloc_rx_page() 749 static inline u8 *__bnxt_alloc_rx_frag(struct bnxt *bp, dma_addr_t *mapping, in __bnxt_alloc_rx_frag() 773 int bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, in bnxt_alloc_rx_data() [all …]
|
D | bnxt_sriov.c | 27 static int bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, 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() 71 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() local 113 static int bnxt_hwrm_func_qcfg_flags(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_func_qcfg_flags() 132 bool bnxt_is_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_is_trusted_vf() 141 static int bnxt_hwrm_set_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_set_trusted_vf() 163 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_trust() local 182 struct bnxt *bp = netdev_priv(dev); in bnxt_get_vf_config() local 218 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_mac() local 250 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_vlan() local [all …]
|
D | bnxt_dcb.c | 25 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() 142 static int bnxt_hwrm_queue_cos2bw_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_cos2bw_qcfg() 185 static int bnxt_queue_remap(struct bnxt *bp, unsigned int lltc_mask) in bnxt_queue_remap() 241 static int bnxt_hwrm_queue_pfc_cfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_cfg() 289 static int bnxt_hwrm_queue_pfc_qcfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_qcfg() 313 static int bnxt_hwrm_set_dcbx_app(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_set_dcbx_app() 406 static int bnxt_hwrm_queue_dscp_qcaps(struct bnxt *bp) in bnxt_hwrm_queue_dscp_qcaps() [all …]
|
/drivers/gpu/drm/amd/display/dc/bios/ |
D | command_table.c | 65 void dal_bios_parser_init_cmd_tbl(struct bios_parser *bp) in dal_bios_parser_init_cmd_tbl() 118 static void init_dig_encoder_control(struct bios_parser *bp) in init_dig_encoder_control() 151 static void init_encoder_control_dig_v1(struct bios_parser *bp) in init_encoder_control_dig_v1() 169 struct bios_parser *bp, in encoder_control_dig_v1() 196 struct bios_parser *bp, in encoder_control_dig1_v1() 211 struct bios_parser *bp, in encoder_control_dig2_v1() 226 struct bios_parser *bp, in encoder_control_digx_v3() 272 struct bios_parser *bp, in encoder_control_digx_v4() 318 struct bios_parser *bp, in encoder_control_digx_v5() 399 static void init_transmitter_control(struct bios_parser *bp) in init_transmitter_control() [all …]
|
D | bios_parser.c | 100 struct bios_parser *bp = NULL; in bios_parser_create() local 114 static void bios_parser_destruct(struct bios_parser *bp) in bios_parser_destruct() 122 struct bios_parser *bp = BP_FROM_DCB(*dcb); in bios_parser_destroy() local 135 static uint8_t get_number_of_objects(struct bios_parser *bp, uint32_t offset) in get_number_of_objects() 151 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connectors_number() local 161 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connector_id() local 195 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_src_obj() local 225 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_i2c_info() local 267 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_hpd_info() local 291 struct bios_parser *bp, in bios_parser_get_device_tag_record() [all …]
|
D | bios_parser2.c | 91 static void bios_parser2_destruct(struct bios_parser *bp) in bios_parser2_destruct() 99 struct bios_parser *bp = BP_FROM_DCB(*dcb); in firmware_parser_destroy() local 137 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connectors_number() local 164 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connector_id() local 205 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_src_obj() local 309 struct bios_parser *bp, in get_bios_object() 345 struct bios_parser *bp, in get_bios_object_from_path_v3() 395 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_i2c_info() local 457 struct bios_parser *bp, in get_gpio_i2c_info() 526 struct bios_parser *bp, in get_hpd_record_for_path_v3() [all …]
|
D | command_table2.c | 94 static void init_dig_encoder_control(struct bios_parser *bp) in init_dig_encoder_control() 132 struct bios_parser *bp, in encoder_control_digx_v1_5() 196 struct bios_parser *bp, in encoder_control_fallback() 227 static void init_transmitter_control(struct bios_parser *bp) in init_transmitter_control() 270 struct bios_parser *bp, in transmitter_control_v1_6() 334 struct bios_parser *bp, in transmitter_control_v1_7() 382 struct bios_parser *bp, in transmitter_control_fallback() 409 static void init_set_pixel_clock(struct bios_parser *bp) in init_set_pixel_clock() 444 struct bios_parser *bp, in set_pixel_clock_v7() 530 struct bios_parser *bp, in set_pixel_clock_fallback() [all …]
|
/drivers/net/ethernet/cadence/ |
D | macb_main.c | 57 #define RX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ argument 63 #define TX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ argument 67 #define MACB_TX_WAKEUP_THRESH(bp) (3 * (bp)->tx_ring_size / 4) argument 130 static unsigned int macb_dma_desc_get_size(struct macb *bp) in macb_dma_desc_get_size() 157 static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) in macb_adj_dma_desc_idx() 176 static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) in macb_64b_desc() 184 static unsigned int macb_tx_ring_wrap(struct macb *bp, unsigned int index) in macb_tx_ring_wrap() 213 static unsigned int macb_rx_ring_wrap(struct macb *bp, unsigned int index) in macb_rx_ring_wrap() 232 static u32 hw_readl_native(struct macb *bp, int offset) in hw_readl_native() 237 static void hw_writel_native(struct macb *bp, int offset, u32 value) in hw_writel_native() [all …]
|
/drivers/net/fddi/ |
D | defxx.c | 299 static inline void dfx_rcv_flush(DFX_board_t *bp) {} in dfx_rcv_flush() 364 static inline void dfx_writel(DFX_board_t *bp, int offset, u32 data) in dfx_writel() 370 static inline void dfx_outl(DFX_board_t *bp, int offset, u32 data) in dfx_outl() 375 static void dfx_port_write_long(DFX_board_t *bp, int offset, u32 data) in dfx_port_write_long() 386 static inline void dfx_readl(DFX_board_t *bp, int offset, u32 *data) in dfx_readl() 392 static inline void dfx_inl(DFX_board_t *bp, int offset, u32 *data) in dfx_inl() 397 static void dfx_port_read_long(DFX_board_t *bp, int offset, u32 *data) in dfx_port_read_long() 431 static void dfx_get_bars(DFX_board_t *bp, in dfx_get_bars() 537 DFX_board_t *bp; /* board pointer */ in dfx_register() local 723 DFX_board_t *bp = netdev_priv(dev); in dfx_bus_init() local [all …]
|
/drivers/net/ethernet/sun/ |
D | sunbmac.c | 98 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 …]
|