| /linux/fs/xfs/ |
| H A D | xfs_buf.c | 53 static inline bool xfs_buf_is_uncached(struct xfs_buf *bp) in xfs_buf_is_uncached() 68 struct xfs_buf *bp) in xfs_buf_stale() 95 struct xfs_buf *bp = container_of(cb, struct xfs_buf, b_rcu); in xfs_buf_free_callback() local 104 struct xfs_buf *bp) in xfs_buf_free() 128 struct xfs_buf *bp, in xfs_buf_alloc_kmem() 176 struct xfs_buf *bp, in xfs_buf_alloc_backing_mem() 260 struct xfs_buf *bp; in xfs_buf_alloc() local 331 const struct xfs_buf *bp = obj; in _xfs_buf_obj_cmp() local 410 struct xfs_buf *bp, in xfs_buf_find_lock() 442 struct xfs_buf *bp) in xfs_buf_try_hold() [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A 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 …]
|
| H A D | bnx2x_main.c | 317 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping() 324 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr() 333 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() 346 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en() 359 static void storm_memset_eq_data(struct bnx2x *bp, in storm_memset_eq_data() 370 static void storm_memset_eq_prod(struct bnx2x *bp, u16 eq_prod, in storm_memset_eq_prod() 380 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val) in bnx2x_reg_wr_ind() 388 static u32 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr) in bnx2x_reg_rd_ind() 406 static void bnx2x_dp_dmae(struct bnx2x *bp, in bnx2x_dp_dmae() 473 void bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx) in bnx2x_post_dmae() [all …]
|
| H A 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 …]
|
| H A 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() 170 static void bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) in bnx2x_shrink_eth_fp() 194 static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, in bnx2x_free_tx_pkt() 273 int bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) in bnx2x_tx_int() 358 struct bnx2x *bp = fp->bp; in bnx2x_update_sge_prod() local 410 static u32 bnx2x_get_rxhash(const struct bnx2x *bp, in bnx2x_get_rxhash() [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| /linux/drivers/gpu/drm/amd/display/dc/bios/ |
| H A D | command_table.c | 67 void dal_bios_parser_init_cmd_tbl(struct bios_parser *bp) in dal_bios_parser_init_cmd_tbl() 122 static void init_dig_encoder_control(struct bios_parser *bp) in init_dig_encoder_control() 155 static void init_encoder_control_dig_v1(struct bios_parser *bp) in init_encoder_control_dig_v1() 173 struct bios_parser *bp, in encoder_control_dig_v1() 200 struct bios_parser *bp, in encoder_control_dig1_v1() 215 struct bios_parser *bp, in encoder_control_dig2_v1() 230 struct bios_parser *bp, in encoder_control_digx_v3() 276 struct bios_parser *bp, in encoder_control_digx_v4() 322 struct bios_parser *bp, in encoder_control_digx_v5() 403 static void init_transmitter_control(struct bios_parser *bp) in init_transmitter_control() [all …]
|
| H A D | bios_parser2.c | 94 static void bios_parser2_destruct(struct bios_parser *bp) in bios_parser2_destruct() 102 struct bios_parser *bp = BP_FROM_DCB(*dcb); in firmware_parser_destroy() local 140 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connectors_number() local 167 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connector_id() local 208 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_src_obj() local 312 struct bios_parser *bp, in get_bios_object() 347 static struct atom_display_object_path_v3 *get_bios_object_from_path_v3(struct bios_parser *bp, in get_bios_object_from_path_v3() 397 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_i2c_info() local 459 struct bios_parser *bp, in get_gpio_i2c_info() 527 static struct atom_hpd_int_record *get_hpd_record_for_path_v3(struct bios_parser *bp, in get_hpd_record_for_path_v3() [all …]
|
| H A D | bios_parser.c | 99 struct bios_parser *bp; in bios_parser_create() local 113 static void bios_parser_destruct(struct bios_parser *bp) in bios_parser_destruct() 121 struct bios_parser *bp = BP_FROM_DCB(*dcb); in bios_parser_destroy() local 134 static uint8_t get_number_of_objects(struct bios_parser *bp, uint32_t offset) in get_number_of_objects() 152 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connectors_number() local 162 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_connector_id() local 194 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_src_obj() local 224 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_i2c_info() local 266 struct bios_parser *bp = BP_FROM_DCB(dcb); in bios_parser_get_hpd_info() local 290 struct bios_parser *bp, in bios_parser_get_device_tag_record() [all …]
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | bnx2.c | 246 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr) in bnx2_tx_avail() 263 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) in bnx2_reg_rd_ind() 276 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) in bnx2_reg_wr_ind() 287 bnx2_shmem_wr(struct bnx2 *bp, u32 offset, u32 val) in bnx2_shmem_wr() 293 bnx2_shmem_rd(struct bnx2 *bp, u32 offset) in bnx2_shmem_rd() 299 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val) in bnx2_ctx_wr() 328 struct bnx2 *bp = netdev_priv(dev); in bnx2_drv_ctl() local 347 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 …]
|
| H A D | b44.c | 165 static inline unsigned long br32(const struct b44 *bp, unsigned long reg) in br32() 170 static inline void bw32(const struct b44 *bp, in bw32() 176 static int b44_wait_bit(struct b44 *bp, unsigned long reg, in b44_wait_bit() 200 static inline void __b44_cam_write(struct b44 *bp, in __b44_cam_write() 219 static inline void __b44_disable_ints(struct b44 *bp) in __b44_disable_ints() 224 static void b44_disable_ints(struct b44 *bp) in b44_disable_ints() 232 static void b44_enable_ints(struct b44 *bp) in b44_enable_ints() 237 static int __b44_readphy(struct b44 *bp, int phy_addr, int reg, u32 *val) in __b44_readphy() 253 static int __b44_writephy(struct b44 *bp, int phy_addr, int reg, u32 val) in __b44_writephy() 265 static inline int b44_readphy(struct b44 *bp, int reg, u32 *val) in b44_readphy() [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 347 static void bnxt_db_nq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq() 357 static void bnxt_db_nq_arm(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq_arm() 365 static void bnxt_db_cq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_cq() 374 static void bnxt_queue_fw_reset_work(struct bnxt *bp, unsigned long delay) in bnxt_queue_fw_reset_work() 385 static void __bnxt_queue_sp_work(struct bnxt *bp) in __bnxt_queue_sp_work() 393 static void bnxt_queue_sp_work(struct bnxt *bp, unsigned int event) in bnxt_queue_sp_work() 399 static void bnxt_sched_reset_rxr(struct bnxt *bp, struct bnxt_rx_ring_info *rxr) in bnxt_sched_reset_rxr() 412 void bnxt_sched_reset_txr(struct bnxt *bp, struct bnxt_tx_ring_info *txr, in bnxt_sched_reset_txr() 460 static void bnxt_txr_db_kick(struct bnxt *bp, struct bnxt_tx_ring_info *txr, in bnxt_txr_db_kick() 471 struct bnxt *bp = netdev_priv(dev); in bnxt_start_xmit() local [all …]
|
| H A D | bnxt_ulp.c | 32 static void bnxt_fill_msix_vecs(struct bnxt *bp, struct bnxt_msix_entry *ent) in bnxt_fill_msix_vecs() 52 int bnxt_get_ulp_msix_num(struct bnxt *bp) in bnxt_get_ulp_msix_num() 59 void bnxt_set_ulp_msix_num(struct bnxt *bp, int num) in bnxt_set_ulp_msix_num() 65 int bnxt_get_ulp_msix_num_in_use(struct bnxt *bp) in bnxt_get_ulp_msix_num_in_use() 72 int bnxt_get_ulp_stat_ctxs(struct bnxt *bp) in bnxt_get_ulp_stat_ctxs() 79 void bnxt_set_ulp_stat_ctxs(struct bnxt *bp, int num_ulp_ctx) in bnxt_set_ulp_stat_ctxs() 85 int bnxt_get_ulp_stat_ctxs_in_use(struct bnxt *bp) in bnxt_get_ulp_stat_ctxs_in_use() 92 void bnxt_set_dflt_ulp_stat_ctxs(struct bnxt *bp) in bnxt_set_dflt_ulp_stat_ctxs() 117 struct bnxt *bp = netdev_priv(dev); in bnxt_register_dev() local 155 struct bnxt *bp = netdev_priv(dev); in bnxt_unregister_dev() local [all …]
|
| H A D | bnxt_sriov.c | 28 static int bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, in bnxt_hwrm_fwd_async_event_cmpl() 57 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep() 72 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() local 114 static int bnxt_hwrm_func_qcfg_flags(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_func_qcfg_flags() 133 bool bnxt_is_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_is_trusted_vf() 142 static int bnxt_hwrm_set_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) in bnxt_hwrm_set_trusted_vf() 164 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_trust() local 183 struct bnxt *bp = netdev_priv(dev); in bnxt_get_vf_config() local 216 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_mac() local 248 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_vlan() local [all …]
|
| H A 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() 145 static int bnxt_hwrm_queue_cos2bw_qcfg(struct bnxt *bp, struct ieee_ets *ets) in bnxt_hwrm_queue_cos2bw_qcfg() 193 static int bnxt_queue_remap(struct bnxt *bp, unsigned int lltc_mask) in bnxt_queue_remap() 249 static int bnxt_hwrm_queue_pfc_cfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_cfg() 297 static int bnxt_hwrm_queue_pfc_qcfg(struct bnxt *bp, struct ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_qcfg() 321 static int bnxt_hwrm_set_dcbx_app(struct bnxt *bp, struct dcb_app *app, in bnxt_hwrm_set_dcbx_app() 414 static int bnxt_hwrm_queue_dscp_qcaps(struct bnxt *bp) in bnxt_hwrm_queue_dscp_qcaps() [all …]
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_main.c | 62 #define MACB_TX_WAKEUP_THRESH(bp) (3 * (bp)->tx_ring_size / 4) argument 123 static unsigned int macb_dma_desc_get_size(struct macb *bp) in macb_dma_desc_get_size() argument 135 static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) in macb_adj_dma_desc_idx() argument 140 static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) in macb_64b_desc() argument 147 static unsigned int macb_tx_ring_wrap(struct macb *bp, unsigne argument 176 macb_rx_ring_wrap(struct macb * bp,unsigned int index) macb_rx_ring_wrap() argument 195 hw_readl_native(struct macb * bp,int offset) hw_readl_native() argument 200 hw_writel_native(struct macb * bp,int offset,u32 value) hw_writel_native() argument 205 hw_readl(struct macb * bp,int offset) hw_readl() argument 210 hw_writel(struct macb * bp,int offset,u32 value) hw_writel() argument 244 macb_set_hwaddr(struct macb * bp) macb_set_hwaddr() argument 268 macb_get_hwaddr(struct macb * bp) macb_get_hwaddr() argument 297 macb_mdio_wait_for_idle(struct macb * bp) macb_mdio_wait_for_idle() argument 307 struct macb *bp = bus->priv; macb_mdio_read_c22() local 339 struct macb *bp = bus->priv; macb_mdio_read_c45() local 384 struct macb *bp = bus->priv; macb_mdio_write_c22() local 416 struct macb *bp = bus->priv; macb_mdio_write_c45() local 457 macb_init_buffers(struct macb * bp) macb_init_buffers() argument 481 macb_set_tx_clk(struct macb * bp,int speed) macb_set_tx_clk() argument 518 struct macb *bp = container_of(pcs, struct macb, phylink_usx_pcs); macb_usx_pcs_link_up() local 533 struct macb *bp = container_of(pcs, struct macb, phylink_usx_pcs); macb_usx_pcs_get_state() local 553 struct macb *bp = container_of(pcs, struct macb, phylink_usx_pcs); macb_usx_pcs_config() local 597 struct macb *bp = netdev_priv(ndev); macb_mac_config() local 655 struct macb *bp = netdev_priv(ndev); macb_mac_link_down() local 679 struct macb *bp = queue->bp; gem_shuffle_tx_one_ring() local 754 gem_shuffle_tx_rings(struct macb * bp) gem_shuffle_tx_rings() argument 770 struct macb *bp = netdev_priv(ndev); macb_mac_link_up() local 833 struct macb *bp = netdev_priv(ndev); macb_mac_select_pcs() local 857 macb_phylink_connect(struct macb * bp) macb_phylink_connect() argument 892 struct macb *bp = netdev_priv(ndev); macb_get_pcs_fixed_state() local 900 struct macb *bp = netdev_priv(dev); macb_mii_probe() local 954 macb_mdiobus_register(struct macb * bp,struct device_node * mdio_np) macb_mdiobus_register() argument 982 macb_mii_init(struct macb * bp) macb_mii_init() argument 1036 macb_update_stats(struct macb * bp) macb_update_stats() argument 1048 macb_halt_tx(struct macb * bp) macb_halt_tx() argument 1061 macb_tx_unmap(struct macb * bp,struct macb_tx_skb * tx_skb,int budget) macb_tx_unmap() argument 1079 macb_set_addr(struct macb * bp,struct macb_dma_desc * desc,dma_addr_t addr) macb_set_addr() argument 1096 macb_get_addr(struct macb * bp,struct macb_dma_desc * desc) macb_get_addr() argument 1117 struct macb *bp = queue->bp; macb_tx_error_task() local 1266 struct macb *bp = queue->bp; macb_tx_complete() local 1347 struct macb *bp = queue->bp; gem_rx_refill() local 1440 struct macb *bp = queue->bp; gem_rx() local 1536 struct macb *bp = queue->bp; macb_rx_frame() local 1612 struct macb *bp = queue->bp; macb_init_rx_ring() local 1631 struct macb *bp = queue->bp; macb_rx() local 1709 struct macb *bp = queue->bp; macb_rx_pending() local 1725 struct macb *bp = queue->bp; macb_rx_poll() local 1762 struct macb *bp = queue->bp; macb_tx_restart() local 1806 struct macb *bp = queue->bp; macb_tx_poll() local 1848 struct macb *bp = from_work(bp, work, hresp_err_bh_work); macb_hresp_error_task() local 1888 struct macb *bp = queue->bp; macb_wol_interrupt() local 1917 struct macb *bp = queue->bp; gem_wol_interrupt() local 1946 struct macb *bp = queue->bp; macb_interrupt() local 2070 struct macb *bp = netdev_priv(dev); macb_poll_controller() local 2082 macb_tx_map(struct macb * bp,struct macb_queue * queue,struct sk_buff * skb,unsigned int hdrlen) macb_tx_map() argument 2357 struct macb *bp = netdev_priv(dev); macb_start_xmit() local 2457 macb_init_rx_buffer_size(struct macb * bp,size_t size) macb_init_rx_buffer_size() argument 2477 gem_free_rx_buffers(struct macb * bp) gem_free_rx_buffers() argument 2510 macb_free_rx_buffers(struct macb * bp) macb_free_rx_buffers() argument 2522 macb_tx_ring_size_per_queue(struct macb * bp) macb_tx_ring_size_per_queue() argument 2527 macb_rx_ring_size_per_queue(struct macb * bp) macb_rx_ring_size_per_queue() argument 2532 macb_free_consistent(struct macb * bp) macb_free_consistent() argument 2561 gem_alloc_rx_buffers(struct macb * bp) gem_alloc_rx_buffers() argument 2580 macb_alloc_rx_buffers(struct macb * bp) macb_alloc_rx_buffers() argument 2597 macb_alloc_consistent(struct macb * bp) macb_alloc_consistent() argument 2659 macb_init_tieoff(struct macb * bp) macb_init_tieoff() argument 2680 gem_init_rings(struct macb * bp) gem_init_rings() argument 2703 macb_init_rings(struct macb * bp) macb_init_rings() argument 2722 macb_reset_hw(struct macb * bp) macb_reset_hw() argument 2754 gem_mdc_clk_div(struct macb * bp) gem_mdc_clk_div() argument 2779 macb_mdc_clk_div(struct macb * bp) macb_mdc_clk_div() argument 2804 macb_dbw(struct macb * bp) macb_dbw() argument 2827 macb_configure_dma(struct macb * bp) macb_configure_dma() argument 2869 macb_init_hw(struct macb * bp) macb_init_hw() argument 2970 struct macb *bp = netdev_priv(dev); macb_sethashtable() local 2988 struct macb *bp = netdev_priv(dev); macb_set_rx_mode() local 3030 struct macb *bp = netdev_priv(dev); macb_open() local 3097 struct macb *bp = netdev_priv(dev); macb_close() local 3152 gem_update_stats(struct macb * bp) gem_update_stats() argument 3181 gem_get_stats(struct macb * bp,struct rtnl_link_stats64 * nstat) gem_get_stats() argument 3222 struct macb *bp = netdev_priv(dev); gem_get_ethtool_stats() local 3233 struct macb *bp = netdev_priv(dev); gem_get_sset_count() local 3246 struct macb *bp = netdev_priv(dev); gem_get_ethtool_strings() local 3271 struct macb *bp = netdev_priv(dev); macb_get_stats() local 3321 struct macb *bp = netdev_priv(dev); macb_get_pause_stats() local 3334 struct macb *bp = netdev_priv(dev); gem_get_pause_stats() local 3347 struct macb *bp = netdev_priv(dev); macb_get_eth_mac_stats() local 3372 struct macb *bp = netdev_priv(dev); gem_get_eth_mac_stats() local 3405 struct macb *bp = netdev_priv(dev); macb_get_eth_phy_stats() local 3417 struct macb *bp = netdev_priv(dev); gem_get_eth_phy_stats() local 3430 struct macb *bp = netdev_priv(dev); macb_get_rmon_stats() local 3456 struct macb *bp = netdev_priv(dev); gem_get_rmon_stats() local 3490 struct macb *bp = netdev_priv(dev); macb_get_regs() local 3522 struct macb *bp = netdev_priv(netdev); macb_get_wol() local 3533 struct macb *bp = netdev_priv(netdev); macb_set_wol() local 3554 struct macb *bp = netdev_priv(netdev); macb_get_link_ksettings() local 3562 struct macb *bp = netdev_priv(netdev); macb_set_link_ksettings() local 3572 struct macb *bp = netdev_priv(netdev); macb_get_ringparam() local 3586 struct macb *bp = netdev_priv(netdev); macb_set_ringparam() local 3622 gem_get_tsu_rate(struct macb * bp) gem_get_tsu_rate() argument 3647 struct macb *bp = netdev_priv(dev); gem_get_ts_info() local 3687 struct macb *bp = netdev_priv(netdev); macb_get_ts_info() local 3695 gem_enable_flow_filters(struct macb * bp,bool enable) gem_enable_flow_filters() argument 3741 gem_prog_cmp_regs(struct macb * bp,struct ethtool_rx_flow_spec * fs) gem_prog_cmp_regs() argument 3827 struct macb *bp = netdev_priv(netdev); gem_add_flow_filter() local 3882 struct macb *bp = netdev_priv(netdev); gem_del_flow_filter() local 3918 struct macb *bp = netdev_priv(netdev); gem_get_flow_entry() local 3933 struct macb *bp = netdev_priv(netdev); gem_get_all_flow_entries() local 3951 struct macb *bp = netdev_priv(netdev); gem_get_rx_ring_count() local 3959 struct macb *bp = netdev_priv(netdev); gem_get_rxnfc() local 3983 struct macb *bp = netdev_priv(netdev); gem_set_rxnfc() local 4052 struct macb *bp = netdev_priv(dev); macb_ioctl() local 4063 struct macb *bp = netdev_priv(dev); macb_hwtstamp_get() local 4078 struct macb *bp = netdev_priv(dev); macb_hwtstamp_set() local 4089 macb_set_txcsum_feature(struct macb * bp,netdev_features_t features) macb_set_txcsum_feature() argument 4106 macb_set_rxcsum_feature(struct macb * bp,netdev_features_t features) macb_set_rxcsum_feature() argument 4124 macb_set_rxflow_feature(struct macb * bp,netdev_features_t features) macb_set_rxflow_feature() argument 4136 struct macb *bp = netdev_priv(netdev); macb_set_features() local 4154 macb_restore_features(struct macb * bp) macb_restore_features() argument 4180 struct macb *bp = netdev_priv(ndev); macb_taprio_setup_replace() local 4329 struct macb *bp = netdev_priv(ndev); macb_taprio_destroy() local 4355 struct macb *bp = netdev_priv(ndev); macb_setup_taprio() local 4418 macb_configure_caps(struct macb * bp,const struct macb_config * dt_conf) macb_configure_caps() argument 4589 struct macb *bp = netdev_priv(dev); macb_init() local 5107 struct macb *bp = netdev_priv(dev); at91ether_init() local 5246 struct macb *bp = netdev_priv(dev); init_reset_optional() local 5302 struct macb *bp = netdev_priv(netdev); eyeq5_init() local 5549 struct macb *bp; macb_probe() local 5750 struct macb *bp; macb_remove() local 5774 struct macb *bp = netdev_priv(netdev); macb_suspend() local 5906 struct macb *bp = netdev_priv(netdev); macb_resume() local 5999 struct macb *bp = netdev_priv(netdev); macb_runtime_suspend() local 6012 struct macb *bp = netdev_priv(netdev); macb_runtime_resume() local [all...] |
| H A D | macb_ptp.c | 28 static struct macb_dma_desc_ptp *macb_ptp_desc(struct macb *bp, in macb_ptp_desc() 46 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_get_time() local 82 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_set_time() local 104 static int gem_tsu_incr_set(struct macb *bp, struct tsu_incr *incr_spec) in gem_tsu_incr_set() 126 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjfine() local 161 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjtime() local 207 static void gem_ptp_init_timer(struct macb *bp) in gem_ptp_init_timer() 222 static void gem_ptp_init_tsu(struct macb *bp) in gem_ptp_init_tsu() 238 static void gem_ptp_clear_timer(struct macb *bp) in gem_ptp_clear_timer() 248 static int gem_hw_timestamp(struct macb *bp, u32 dma_desc_ts_1, in gem_hw_timestamp() [all …]
|
| /linux/drivers/net/fddi/ |
| H A 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 …]
|
| /linux/fs/afs/ |
| H A D | yfsclient.c | 31 static __be32 *xdr_encode_u32(__be32 *bp, u32 n) in xdr_encode_u32() 37 static __be32 *xdr_encode_u64(__be32 *bp, u64 n) in xdr_encode_u64() 45 static __be32 *xdr_encode_YFSFid(__be32 *bp, struct afs_fid *fid) in xdr_encode_YFSFid() 61 static __be32 *xdr_encode_string(__be32 *bp, const char *p, unsigned int len) in xdr_encode_string() 75 static __be32 *xdr_encode_name(__be32 *bp, const struct qstr *p) in xdr_encode_name() 86 static __be32 *xdr_encode_YFSStoreStatus(__be32 *bp, mode_t *mode, in xdr_encode_YFSStoreStatus() 138 static void yfs_check_req(struct afs_call *call, __be32 *bp) in yfs_check_req() 153 static void xdr_dump_bad(const __be32 *bp) in xdr_dump_bad() 265 static __be32 *xdr_encode_YFS_StoreStatus(__be32 *bp, struct iattr *attr) in xdr_encode_YFS_StoreStatus() 334 const __be32 *bp; in yfs_deliver_status_and_volsync() local [all …]
|
| H A D | fsclient.c | 23 const __be32 *bp = *_bp; in xdr_decode_AFSFid() local 34 static void xdr_dump_bad(const __be32 *bp) in xdr_dump_bad() 142 const __be32 *bp = *_bp; in xdr_decode_AFSCallBack() local 157 const __be32 *bp = *_bp; in xdr_decode_AFSVolSync() local 177 __be32 *bp = *_bp; in xdr_encode_AFS_StoreStatus() local 216 const __be32 *bp = *_bp; in xdr_decode_AFSFetchVolumeStatus() local 242 const __be32 *bp; in afs_deliver_fs_fetch_status() local 276 __be32 *bp; in afs_fs_fetch_status() local 306 const __be32 *bp; in afs_deliver_fs_fetch_data() local 434 __be32 *bp; in afs_fs_fetch_data64() local [all …]
|