/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_debugfs.h | 16 void bnxt_debug_dev_init(struct bnxt *bp); 17 void bnxt_debug_dev_exit(struct bnxt *bp); 21 static inline void bnxt_debug_dev_init(struct bnxt *bp) {} argument 22 static inline void bnxt_debug_dev_exit(struct bnxt *bp) {} argument
|
H A D | bnxt_hwmon.h | 14 void bnxt_hwmon_notify_event(struct bnxt *bp); 15 void bnxt_hwmon_uninit(struct bnxt *bp); 16 void bnxt_hwmon_init(struct bnxt *bp); 18 static inline void bnxt_hwmon_notify_event(struct bnxt *bp) argument 22 static inline void bnxt_hwmon_uninit(struct bnxt *bp) argument 26 static inline void bnxt_hwmon_init(struct bnxt *bp) argument
|
H A D | bnxt_vfr.h | 17 int bnxt_vf_reps_create(struct bnxt *bp); 18 void bnxt_vf_reps_destroy(struct bnxt *bp); 19 void bnxt_vf_reps_close(struct bnxt *bp); 20 void bnxt_vf_reps_open(struct bnxt *bp); 21 void bnxt_vf_rep_rx(struct bnxt *bp, struct sk_buff *skb); 22 struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code); 23 int bnxt_vf_reps_alloc(struct bnxt *bp); 24 void bnxt_vf_reps_free(struct bnxt *bp); 29 struct bnxt *bp = vf_rep->bp; local 41 bnxt_vf_reps_create(struct bnxt *bp) argument 46 bnxt_vf_reps_close(struct bnxt *bp) argument 50 bnxt_vf_reps_open(struct bnxt *bp) argument 54 bnxt_vf_rep_rx(struct bnxt *bp, struct sk_buff *skb) argument 58 bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code) argument 73 bnxt_vf_reps_alloc(struct bnxt *bp) argument 78 bnxt_vf_reps_free(struct bnxt *bp) argument [all...] |
H A D | bnxt.c | 311 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ | DB_RING_IDX(db, idx),\ 315 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_MASK | \ 322 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_ARM | \ 325 static void bnxt_db_nq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) argument 327 if (bp->flags & BNXT_FLAG_CHIP_P7) 329 else if (bp->flags & BNXT_FLAG_CHIP_P5_PLUS) 335 static void bnxt_db_nq_arm(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) argument 337 if (bp->flags & BNXT_FLAG_CHIP_P5_PLUS) 343 static void bnxt_db_cq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) argument 345 if (bp 352 bnxt_queue_fw_reset_work(struct bnxt *bp, unsigned long delay) argument 363 __bnxt_queue_sp_work(struct bnxt *bp) argument 371 bnxt_queue_sp_work(struct bnxt *bp, unsigned int event) argument 377 bnxt_sched_reset_rxr(struct bnxt *bp, struct bnxt_rx_ring_info *rxr) argument 390 bnxt_sched_reset_txr(struct bnxt *bp, struct bnxt_tx_ring_info *txr, u16 curr) argument 438 bnxt_txr_db_kick(struct bnxt *bp, struct bnxt_tx_ring_info *txr, u16 prod) argument 449 struct bnxt *bp = netdev_priv(dev); local 764 __bnxt_tx_int(struct bnxt *bp, struct bnxt_tx_ring_info *txr, int budget) argument 833 bnxt_tx_int(struct bnxt *bp, struct bnxt_napi *bnapi, int budget) argument 845 __bnxt_alloc_rx_page(struct bnxt *bp, dma_addr_t *mapping, struct bnxt_rx_ring_info *rxr, unsigned int *offset, gfp_t gfp) argument 866 __bnxt_alloc_rx_frag(struct bnxt *bp, dma_addr_t *mapping, gfp_t gfp) argument 890 bnxt_alloc_rx_data(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 prod, gfp_t gfp) argument 927 struct bnxt *bp = rxr->bnapi->bp; local 954 bnxt_alloc_rx_page(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 prod, gfp_t gfp) argument 986 bnxt_get_agg(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u16 cp_cons, u16 curr) argument 998 bnxt_get_tpa_agg_p5(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u16 agg_id, u16 curr) argument 1011 struct bnxt *bp = bnapi->bp; local 1064 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) argument 1096 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) argument 1143 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) argument 1172 __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) argument 1243 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) argument 1265 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) argument 1286 bnxt_agg_bufs_valid(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u8 agg_bufs, u32 *raw_cons) argument 1303 struct bnxt *bp = bnapi->bp; local 1324 bnxt_discard_rx(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, void *cmp) argument 1412 bnxt_tpa_start(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, u8 cmp_type, struct rx_tpa_start_cmp *tpa_start, struct rx_tpa_start_cmp_ext *tpa_start1) argument 1667 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) argument 1699 bnxt_get_pkt_dev(struct bnxt *bp, u16 cfa_code) argument 1707 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) argument 1857 bnxt_tpa_agg(struct bnxt *bp, struct bnxt_rx_ring_info *rxr, struct rx_agg_cmp *rx_agg) argument 1869 bnxt_deliver_skb(struct bnxt *bp, struct bnxt_napi *bnapi, struct sk_buff *skb) argument 1883 bnxt_rx_ts_valid(struct bnxt *bp, u32 flags, struct rx_cmp_ext *rxcmp1, u32 *cmpl_ts) argument 1939 bnxt_rss_ext_op(struct bnxt *bp, struct rx_cmp *rxcmp) argument 1963 bnxt_rx_pkt(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, u8 *event) argument 2242 bnxt_force_rx_discard(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, u32 *raw_cons, u8 *event) argument 2287 bnxt_fw_health_readl(struct bnxt *bp, int reg_idx) argument 2314 bnxt_agg_ring_id_to_grp_idx(struct bnxt *bp, u16 ring_id) argument 2331 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 2342 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 2374 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 2386 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 2404 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 2436 bnxt_event_error_report(struct bnxt *bp, u32 data1, u32 data2) argument 2522 bnxt_async_event_process(struct bnxt *bp, struct hwrm_async_event_cmpl *cmpl) argument 2737 bnxt_hwrm_handler(struct bnxt *bp, struct tx_cmp *txcmp) argument 2779 struct bnxt *bp = bnapi->bp; local 2789 bnxt_has_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr) argument 2803 struct bnxt *bp = bnapi->bp; local 2828 __bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, int budget) argument 2926 __bnxt_poll_work_done(struct bnxt *bp, struct bnxt_napi *bnapi, int budget) argument 2945 bnxt_poll_work(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, int budget) argument 2966 struct bnxt *bp = bnapi->bp; local 3042 struct bnxt *bp = bnapi->bp; local 3077 __bnxt_poll_cqs(struct bnxt *bp, struct bnxt_napi *bnapi, int budget) argument 3094 __bnxt_poll_cqs_done(struct bnxt *bp, struct bnxt_napi *bnapi, u64 dbr_type, int budget) argument 3128 struct bnxt *bp = bnapi->bp; local 3208 bnxt_free_tx_skbs(struct bnxt *bp) argument 3279 bnxt_free_one_rx_ring_skbs(struct bnxt *bp, int ring_nr) argument 3353 bnxt_free_rx_skbs(struct bnxt *bp) argument 3364 bnxt_free_skbs(struct bnxt *bp) argument 3387 bnxt_free_ring(struct bnxt *bp, struct bnxt_ring_mem_info *rmem) argument 3420 bnxt_alloc_ring(struct bnxt *bp, struct bnxt_ring_mem_info *rmem) argument 3473 bnxt_free_tpa_info(struct bnxt *bp) argument 3493 bnxt_alloc_tpa_info(struct bnxt *bp) argument 3529 bnxt_free_rx_rings(struct bnxt *bp) argument 3561 bnxt_alloc_rx_page_pool(struct bnxt *bp, struct bnxt_rx_ring_info *rxr) argument 3587 bnxt_alloc_rx_rings(struct bnxt *bp) argument 3645 bnxt_free_tx_rings(struct bnxt *bp) argument 3678 bnxt_alloc_tx_rings(struct bnxt *bp) argument 3763 bnxt_free_all_cp_arrays(struct bnxt *bp) argument 3778 bnxt_alloc_all_cp_arrays(struct bnxt *bp) argument 3795 bnxt_free_cp_rings(struct bnxt *bp) argument 3832 bnxt_alloc_cp_sub_ring(struct bnxt *bp, struct bnxt_cp_ring_info *cpr) argument 3859 bnxt_alloc_cp_rings(struct bnxt *bp) argument 3938 bnxt_init_ring_struct(struct bnxt *bp) argument 4020 bnxt_alloc_one_rx_ring(struct bnxt *bp, int ring_nr) argument 4069 bnxt_init_one_rx_ring(struct bnxt *bp, int ring_nr) argument 4107 bnxt_init_cp_rings(struct bnxt *bp) argument 4131 bnxt_init_rx_rings(struct bnxt *bp) argument 4152 bnxt_init_tx_rings(struct bnxt *bp) argument 4174 bnxt_free_ring_grps(struct bnxt *bp) argument 4180 bnxt_init_ring_grps(struct bnxt *bp, bool irq_re_init) argument 4202 bnxt_free_vnics(struct bnxt *bp) argument 4209 bnxt_alloc_vnics(struct bnxt *bp) argument 4234 bnxt_init_vnics(struct bnxt *bp) argument 4300 bnxt_set_tpa_flags(struct bnxt *bp) argument 4314 bnxt_set_ring_params(struct bnxt *bp) argument 4411 bnxt_set_rx_skb_mode(struct bnxt *bp, bool page_mode) argument 4443 bnxt_free_vnic_attributes(struct bnxt *bp) argument 4479 bnxt_alloc_vnic_attributes(struct bnxt *bp) argument 4556 bnxt_free_hwrm_resources(struct bnxt *bp) argument 4569 bnxt_alloc_hwrm_resources(struct bnxt *bp) argument 4582 bnxt_free_stats_mem(struct bnxt *bp, struct bnxt_stats_mem *stats) argument 4595 bnxt_alloc_stats_mem(struct bnxt *bp, struct bnxt_stats_mem *stats, bool alloc_masks) argument 4635 bnxt_hwrm_func_qstat_ext(struct bnxt *bp, struct bnxt_stats_mem *stats) argument 4667 bnxt_init_stats(struct bnxt *bp) argument 4738 bnxt_free_port_stats(struct bnxt *bp) argument 4748 bnxt_free_ring_stats(struct bnxt *bp) argument 4763 bnxt_alloc_stats(struct bnxt *bp) argument 4826 bnxt_clear_ring_indices(struct bnxt *bp) argument 4862 bnxt_insert_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) argument 4872 bnxt_del_one_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) argument 4878 bnxt_clear_usr_fltrs(struct bnxt *bp, bool all) argument 4889 bnxt_del_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) argument 4900 bnxt_free_ntp_fltrs(struct bnxt *bp, bool all) argument 4929 bnxt_alloc_ntp_fltrs(struct bnxt *bp) argument 4948 bnxt_free_l2_filters(struct bnxt *bp, bool all) argument 4967 bnxt_init_l2_fltr_tbl(struct bnxt *bp) argument 4976 bnxt_free_mem(struct bnxt *bp, bool irq_re_init) argument 5005 bnxt_alloc_mem(struct bnxt *bp, bool irq_re_init) argument 5152 bnxt_disable_int(struct bnxt *bp) argument 5169 bnxt_cp_num_to_irq_num(struct bnxt *bp, int n) argument 5178 bnxt_disable_int_sync(struct bnxt *bp) argument 5195 bnxt_enable_int(struct bnxt *bp) argument 5208 bnxt_hwrm_func_drv_rgtr(struct bnxt *bp, unsigned long *bmap, int bmap_size, bool async_only) argument 5303 bnxt_hwrm_func_drv_unrgtr(struct bnxt *bp) argument 5319 bnxt_hwrm_tunnel_dst_port_free(struct bnxt *bp, u8 tunnel_type) argument 5366 bnxt_hwrm_tunnel_dst_port_alloc(struct bnxt *bp, __be16 port, u8 tunnel_type) argument 5414 bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt *bp, u16 vnic_id) argument 5433 bnxt_del_l2_filter(struct bnxt *bp, struct bnxt_l2_filter *fltr) argument 5452 __bnxt_lookup_l2_filter(struct bnxt *bp, struct bnxt_l2_key *key, u32 idx) argument 5469 bnxt_lookup_l2_filter(struct bnxt *bp, struct bnxt_l2_key *key, u32 idx) argument 5495 bnxt_get_rss_flow_tuple_len(struct bnxt *bp, struct flow_keys *fkeys) argument 5518 bnxt_toeplitz(struct bnxt *bp, struct flow_keys *fkeys, const unsigned char *key) argument 5558 bnxt_lookup_l2_filter_from_key(struct bnxt *bp, struct bnxt_l2_key *key) argument 5570 bnxt_init_l2_filter(struct bnxt *bp, struct bnxt_l2_filter *fltr, struct bnxt_l2_key *key, u32 idx) argument 5596 bnxt_alloc_l2_filter(struct bnxt *bp, struct bnxt_l2_key *key, gfp_t gfp) argument 5623 bnxt_alloc_new_l2_filter(struct bnxt *bp, struct bnxt_l2_key *key, u16 flags) argument 5668 bnxt_hwrm_l2_filter_free(struct bnxt *bp, struct bnxt_l2_filter *fltr) argument 5694 bnxt_hwrm_l2_filter_alloc(struct bnxt *bp, struct bnxt_l2_filter *fltr) argument 5747 bnxt_hwrm_cfa_ntuple_filter_free(struct bnxt *bp, struct bnxt_ntuple_filter *fltr) argument 5789 bnxt_cfg_rfs_ring_tbl_idx(struct bnxt *bp, struct hwrm_cfa_ntuple_filter_alloc_input *req, u16 rxq) argument 5811 bnxt_hwrm_cfa_ntuple_filter_alloc(struct bnxt *bp, struct bnxt_ntuple_filter *fltr) argument 5877 bnxt_hwrm_set_vnic_filter(struct bnxt *bp, u16 vnic_id, u16 idx, const u8 *mac_addr) argument 5899 bnxt_hwrm_clear_vnic_filter(struct bnxt *bp) argument 5922 bnxt_hwrm_vnic_update_tunl_tpa(struct bnxt *bp, struct hwrm_vnic_tpa_cfg_input *req) argument 5941 bnxt_hwrm_vnic_set_tpa(struct bnxt *bp, u16 vnic_id, u32 tpa_flags) argument 6004 bnxt_cp_ring_from_grp(struct bnxt *bp, struct bnxt_ring_struct *ring) argument 6012 bnxt_cp_ring_for_rx(struct bnxt *bp, struct bnxt_rx_ring_info *rxr) argument 6020 bnxt_cp_ring_for_tx(struct bnxt *bp, struct bnxt_tx_ring_info *txr) argument 6028 bnxt_alloc_rss_indir_tbl(struct bnxt *bp) argument 6045 bnxt_set_dflt_rss_indir_tbl(struct bnxt *bp) argument 6067 bnxt_get_max_rss_ring(struct bnxt *bp) argument 6080 bnxt_get_nr_rss_ctxs(struct bnxt *bp, int rx_rings) argument 6093 bnxt_fill_hw_rss_tbl(struct bnxt *bp, struct bnxt_vnic_info *vnic) argument 6106 bnxt_fill_hw_rss_tbl_p5(struct bnxt *bp, struct bnxt_vnic_info *vnic) argument 6132 __bnxt_hwrm_vnic_set_rss(struct bnxt *bp, struct hwrm_vnic_rss_cfg_input *req, struct bnxt_vnic_info *vnic) argument 6157 bnxt_hwrm_vnic_set_rss(struct bnxt *bp, u16 vnic_id, bool set_rss) argument 6177 bnxt_hwrm_vnic_set_rss_p5(struct bnxt *bp, u16 vnic_id, bool set_rss) argument 6212 bnxt_hwrm_update_rss_hash_cfg(struct bnxt *bp) argument 6232 bnxt_hwrm_vnic_set_hds(struct bnxt *bp, u16 vnic_id) argument 6259 bnxt_hwrm_vnic_ctx_free_one(struct bnxt *bp, u16 vnic_id, u16 ctx_idx) argument 6274 bnxt_hwrm_vnic_ctx_free(struct bnxt *bp) argument 6289 bnxt_hwrm_vnic_ctx_alloc(struct bnxt *bp, u16 vnic_id, u16 ctx_idx) argument 6309 bnxt_get_roce_vnic_mode(struct bnxt *bp) argument 6316 bnxt_hwrm_vnic_cfg(struct bnxt *bp, u16 vnic_id) argument 6390 bnxt_hwrm_vnic_free_one(struct bnxt *bp, u16 vnic_id) argument 6406 bnxt_hwrm_vnic_free(struct bnxt *bp) argument 6414 bnxt_hwrm_vnic_alloc(struct bnxt *bp, u16 vnic_id, unsigned int start_rx_ring_idx, unsigned int nr_rings) argument 6456 bnxt_hwrm_vnic_qcaps(struct bnxt *bp) argument 6517 bnxt_hwrm_ring_grp_alloc(struct bnxt *bp) argument 6552 bnxt_hwrm_ring_grp_free(struct bnxt *bp) argument 6576 hwrm_ring_alloc_send_msg(struct bnxt *bp, struct bnxt_ring_struct *ring, u32 ring_type, u32 map_index) argument 6697 bnxt_hwrm_set_async_event_cr(struct bnxt *bp, int idx) argument 6726 bnxt_set_db_mask(struct bnxt *bp, struct bnxt_db_info *db, u32 ring_type) argument 6750 bnxt_set_db(struct bnxt *bp, struct bnxt_db_info *db, u32 ring_type, u32 map_idx, u32 xid) argument 6793 bnxt_hwrm_ring_alloc(struct bnxt *bp) argument 6912 hwrm_ring_free_send_msg(struct bnxt *bp, struct bnxt_ring_struct *ring, u32 ring_type, int cmpl_ring_id) argument 6945 bnxt_hwrm_ring_free(struct bnxt *bp, bool close_path) argument 7049 bnxt_hwrm_get_rings(struct bnxt *bp) argument 7109 __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings) argument 7135 __bnxt_hwrm_reserve_pf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7179 __bnxt_hwrm_reserve_vf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7221 bnxt_hwrm_reserve_pf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7246 bnxt_hwrm_reserve_vf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7267 bnxt_hwrm_reserve_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7275 bnxt_nq_rings_in_use(struct bnxt *bp) argument 7290 bnxt_cp_rings_in_use(struct bnxt *bp) argument 7301 bnxt_get_func_stat_ctxs(struct bnxt *bp) argument 7315 bnxt_get_total_rss_ctxs(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7336 bnxt_check_rss_tbl_no_rmgr(struct bnxt *bp) argument 7348 bnxt_get_total_vnics(struct bnxt *bp, int rx_rings) argument 7359 bnxt_need_reserve_rings(struct bnxt *bp) argument 7397 bnxt_copy_reserved_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7414 bnxt_rings_ok(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7420 __bnxt_reserve_rings(struct bnxt *bp) argument 7505 bnxt_hwrm_check_vf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7527 bnxt_hwrm_check_pf_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7550 bnxt_hwrm_check_rings(struct bnxt *bp, struct bnxt_hw_rings *hwr) argument 7561 bnxt_hwrm_coal_params_qcaps(struct bnxt *bp) argument 7608 bnxt_usec_to_coal_tmr(struct bnxt *bp, u16 usec) argument 7615 bnxt_hwrm_set_coal_params(struct bnxt *bp, struct bnxt_coal *hw_coal, struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req) argument 7671 __bnxt_hwrm_set_coal_nq(struct bnxt *bp, struct bnxt_napi *bnapi, struct bnxt_coal *hw_coal) argument 7699 bnxt_hwrm_set_ring_coal(struct bnxt *bp, struct bnxt_napi *bnapi) argument 7729 bnxt_hwrm_set_rx_coal(struct bnxt *bp, struct bnxt_napi *bnapi, struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req) argument 7739 bnxt_hwrm_set_tx_coal(struct bnxt *bp, struct bnxt_napi *bnapi, struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req) argument 7759 bnxt_hwrm_set_coal(struct bnxt *bp) argument 7809 bnxt_hwrm_stat_ctx_free(struct bnxt *bp) argument 7851 bnxt_hwrm_stat_ctx_alloc(struct bnxt *bp) argument 7886 bnxt_hwrm_func_qcfg(struct bnxt *bp) argument 7977 bnxt_alloc_all_ctx_pg_info(struct bnxt *bp, int ctx_max) argument 8002 bnxt_hwrm_func_backing_store_qcaps_v2(struct bnxt *bp) argument 8060 bnxt_hwrm_func_backing_store_qcaps(struct bnxt *bp) argument 8202 bnxt_hwrm_func_backing_store_cfg(struct bnxt *bp, u32 enables) argument 8332 bnxt_alloc_ctx_mem_blk(struct bnxt *bp, struct bnxt_ctx_pg_info *ctx_pg) argument 8346 bnxt_alloc_ctx_pg_tbls(struct bnxt *bp, struct bnxt_ctx_pg_info *ctx_pg, u32 mem_size, u8 depth, struct bnxt_ctx_mem_type *ctxm) argument 8407 bnxt_free_ctx_pg_tbls(struct bnxt *bp, struct bnxt_ctx_pg_info *ctx_pg) argument 8436 bnxt_setup_ctxm_pg_tbls(struct bnxt *bp, struct bnxt_ctx_mem_type *ctxm, u32 entries, u8 pg_lvl) argument 8460 bnxt_hwrm_func_backing_store_cfg_v2(struct bnxt *bp, struct bnxt_ctx_mem_type *ctxm, bool last) argument 8508 bnxt_backing_store_cfg_v2(struct bnxt *bp, u32 ena) argument 8534 bnxt_free_ctx_mem(struct bnxt *bp) argument 8563 bnxt_alloc_ctx_mem(struct bnxt *bp) argument 8688 bnxt_hwrm_func_resc_qcaps(struct bnxt *bp, bool all) argument 8746 __bnxt_hwrm_ptp_qcfg(struct bnxt *bp) argument 8810 __bnxt_hwrm_func_qcaps(struct bnxt *bp) argument 8925 bnxt_hwrm_dbg_qcaps(struct bnxt *bp) argument 8953 bnxt_hwrm_func_qcaps(struct bnxt *bp) argument 8979 bnxt_hwrm_cfa_adv_flow_mgnt_qcaps(struct bnxt *bp) argument 9016 __bnxt_alloc_fw_health(struct bnxt *bp) argument 9029 bnxt_alloc_fw_health(struct bnxt *bp) argument 9047 __bnxt_map_fw_health_reg(struct bnxt *bp, u32 reg) argument 9054 bnxt_inv_fw_health_reg(struct bnxt *bp) argument 9071 bnxt_try_map_fw_health_reg(struct bnxt *bp) argument 9118 bnxt_map_fw_health_regs(struct bnxt *bp) argument 9147 bnxt_remap_fw_health_regs(struct bnxt *bp) argument 9160 bnxt_hwrm_error_recovery_qcfg(struct bnxt *bp) argument 9225 bnxt_hwrm_func_reset(struct bnxt *bp) argument 9239 bnxt_nvm_cfg_ver_get(struct bnxt *bp) argument 9249 bnxt_hwrm_queue_qportcfg(struct bnxt *bp) argument 9300 bnxt_hwrm_poll(struct bnxt *bp) argument 9318 bnxt_hwrm_ver_get(struct bnxt *bp) argument 9439 bnxt_hwrm_fw_set_time(struct bnxt *bp) argument 9502 bnxt_accumulate_all_stats(struct bnxt *bp) argument 9547 bnxt_hwrm_port_qstats(struct bnxt *bp, u8 flags) argument 9571 bnxt_hwrm_port_qstats_ext(struct bnxt *bp, u8 flags) argument 9661 bnxt_hwrm_free_tunnel_ports(struct bnxt *bp) argument 9669 bnxt_set_tpa(struct bnxt *bp, bool set_tpa) argument 9689 bnxt_hwrm_clear_vnic_rss(struct bnxt *bp) argument 9697 bnxt_clear_vnic(struct bnxt *bp) argument 9716 bnxt_hwrm_resource_free(struct bnxt *bp, bool close_path, bool irq_re_init) argument 9728 bnxt_hwrm_set_br_mode(struct bnxt *bp, u16 br_mode) argument 9751 bnxt_hwrm_set_cache_line_size(struct bnxt *bp, int size) argument 9772 __bnxt_setup_vnic(struct bnxt *bp, u16 vnic_id) argument 9828 __bnxt_setup_vnic_p5(struct bnxt *bp, u16 vnic_id) argument 9867 bnxt_setup_vnic(struct bnxt *bp, u16 vnic_id) argument 9875 bnxt_alloc_and_setup_vnic(struct bnxt *bp, u16 vnic_id, u16 start_rx_ring_idx, int rx_rings) argument 9889 bnxt_alloc_rfs_vnics(struct bnxt *bp) argument 9919 bnxt_promisc_ok(struct bnxt *bp) argument 9928 bnxt_setup_nitroa0_vnic(struct bnxt *bp) argument 9951 bnxt_init_chip(struct bnxt *bp, bool irq_re_init) argument 10073 bnxt_shutdown_nic(struct bnxt *bp, bool irq_re_init) argument 10079 bnxt_init_nic(struct bnxt *bp, bool irq_re_init) argument 10090 bnxt_set_real_num_queues(struct bnxt *bp) argument 10112 __bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max, bool shared) argument 10136 __bnxt_num_tx_to_cp(struct bnxt *bp, int tx, int tx_sets, int tx_xdp) argument 10141 bnxt_num_tx_to_cp(struct bnxt *bp, int tx) argument 10150 bnxt_num_cp_to_tx(struct bnxt *bp, int tx_cp) argument 10158 bnxt_trim_rings(struct bnxt *bp, int *rx, int *tx, int max, bool sh) argument 10176 bnxt_setup_msix(struct bnxt *bp) argument 10210 bnxt_setup_inta(struct bnxt *bp) argument 10226 bnxt_setup_int_mode(struct bnxt *bp) argument 10245 bnxt_get_max_func_rss_ctxs(struct bnxt *bp) argument 10250 bnxt_get_max_func_vnics(struct bnxt *bp) argument 10255 bnxt_get_max_func_stat_ctxs(struct bnxt *bp) argument 10260 bnxt_get_max_func_cp_rings(struct bnxt *bp) argument 10265 bnxt_get_max_func_cp_rings_for_en(struct bnxt *bp) argument 10275 bnxt_get_max_func_irqs(struct bnxt *bp) argument 10285 bnxt_set_max_func_irqs(struct bnxt *bp, unsigned int max_irqs) argument 10290 bnxt_get_avail_cp_rings_for_en(struct bnxt *bp) argument 10301 bnxt_get_avail_stat_ctxs_for_en(struct bnxt *bp) argument 10306 bnxt_get_avail_msix(struct bnxt *bp, int num) argument 10328 bnxt_get_num_msix(struct bnxt *bp) argument 10336 bnxt_init_msix(struct bnxt *bp) argument 10402 bnxt_init_inta(struct bnxt *bp) argument 10417 bnxt_init_int_mode(struct bnxt *bp) argument 10431 bnxt_clear_int_mode(struct bnxt *bp) argument 10441 bnxt_reserve_rings(struct bnxt *bp, bool irq_re_init) argument 10480 bnxt_free_irq(struct bnxt *bp) argument 10509 bnxt_request_irq(struct bnxt *bp) argument 10568 bnxt_del_napi(struct bnxt *bp) argument 10591 bnxt_init_napi(struct bnxt *bp) argument 10619 bnxt_disable_napi(struct bnxt *bp) argument 10642 bnxt_enable_napi(struct bnxt *bp) argument 10664 bnxt_tx_disable(struct bnxt *bp) argument 10683 bnxt_tx_enable(struct bnxt *bp) argument 10723 bnxt_report_link(struct bnxt *bp) argument 10797 bnxt_hwrm_phy_qcaps(struct bnxt *bp) argument 10867 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); local 10893 bnxt_update_link(struct bnxt *bp, bool chng_link_state) argument 11024 bnxt_get_port_module_status(struct bnxt *bp) argument 11052 bnxt_hwrm_set_pause_common(struct bnxt *bp, struct hwrm_port_phy_cfg_input *req) argument 11079 bnxt_hwrm_set_link_common(struct bnxt *bp, struct hwrm_port_phy_cfg_input *req) argument 11118 bnxt_hwrm_set_pause(struct bnxt *bp) argument 11149 bnxt_hwrm_set_eee(struct bnxt *bp, struct hwrm_port_phy_cfg_input *req) argument 11172 bnxt_hwrm_set_link_setting(struct bnxt *bp, bool set_pause, bool set_eee) argument 11191 bnxt_hwrm_shutdown_link(struct bnxt *bp) argument 11222 bnxt_fw_reset_via_optee(struct bnxt *bp) argument 11237 bnxt_try_recover_fw(struct bnxt *bp) argument 11268 bnxt_clear_reservations(struct bnxt *bp, bool fw_reset) argument 11289 bnxt_cancel_reservations(struct bnxt *bp, bool fw_reset) argument 11305 bnxt_hwrm_if_change(struct bnxt *bp, bool up) argument 11392 bnxt_hwrm_port_led_qcaps(struct bnxt *bp) argument 11435 bnxt_hwrm_alloc_wol_fltr(struct bnxt *bp) argument 11458 bnxt_hwrm_free_wol_fltr(struct bnxt *bp) argument 11474 bnxt_hwrm_get_wol_fltrs(struct bnxt *bp, u16 handle) argument 11503 bnxt_get_wol_settings(struct bnxt *bp) argument 11516 bnxt_eee_config_ok(struct bnxt *bp) argument 11543 bnxt_update_phy_setting(struct bnxt *bp) argument 11608 bnxt_preset_reg_win(struct bnxt *bp) argument 11619 bnxt_reinit_after_abort(struct bnxt *bp) argument 11641 bnxt_cfg_one_usr_fltr(struct bnxt *bp, struct bnxt_filter_base *fltr) argument 11669 bnxt_cfg_usr_fltrs(struct bnxt *bp) argument 11677 __bnxt_open_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) argument 11779 bnxt_open_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) argument 11798 bnxt_half_open_nic(struct bnxt *bp) argument 11834 bnxt_half_close_nic(struct bnxt *bp) argument 11843 bnxt_reenable_sriov(struct bnxt *bp) argument 11856 struct bnxt *bp = netdev_priv(dev); local 11889 bnxt_drv_busy(struct bnxt *bp) argument 11898 __bnxt_close_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) argument 11935 bnxt_close_nic(struct bnxt *bp, bool irq_re_init, bool link_re_init) argument 11967 struct bnxt *bp = netdev_priv(dev); local 11975 bnxt_hwrm_port_phy_read(struct bnxt *bp, u16 phy_addr, u16 reg, u16 *val) argument 12007 bnxt_hwrm_port_phy_write(struct bnxt *bp, u16 phy_addr, u16 reg, u16 val) argument 12038 struct bnxt *bp = netdev_priv(dev); local 12078 bnxt_get_ring_stats(struct bnxt *bp, struct rtnl_link_stats64 *stats) argument 12117 bnxt_add_prev_stats(struct bnxt *bp, struct rtnl_link_stats64 *stats) argument 12135 struct bnxt *bp = netdev_priv(dev); local 12176 bnxt_get_one_ring_err_stats(struct bnxt *bp, struct bnxt_total_ring_err_stats *stats, struct bnxt_cp_ring_info *cpr) argument 12196 bnxt_get_ring_err_stats(struct bnxt *bp, struct bnxt_total_ring_err_stats *stats) argument 12205 bnxt_mc_list_updated(struct bnxt *bp, u32 *rx_mask) argument 12239 bnxt_uc_list_updated(struct bnxt *bp) argument 12260 struct bnxt *bp = netdev_priv(dev); local 12297 bnxt_cfg_rx_mode(struct bnxt *bp) argument 12372 bnxt_can_reserve_rings(struct bnxt *bp) argument 12392 bnxt_rfs_supported(struct bnxt *bp) argument 12410 bnxt_rfs_capable(struct bnxt *bp) argument 12467 struct bnxt *bp = netdev_priv(dev); local 12499 bnxt_reinit_features(struct bnxt *bp, bool irq_re_init, bool link_re_init, u32 flags, bool update_tpa) argument 12512 struct bnxt *bp = netdev_priv(dev); local 12578 bnxt_exthdr_check(struct bnxt *bp, struct sk_buff *skb, int nw_off, u8 **nextp) argument 12645 bnxt_udp_tunl_check(struct bnxt *bp, struct sk_buff *skb) argument 12673 bnxt_tunl_check(struct bnxt *bp, struct sk_buff *skb, u8 l4_proto) argument 12702 struct bnxt *bp = netdev_priv(dev); local 12725 bnxt_dbg_hwrm_rd_reg(struct bnxt *bp, u32 reg_off, u16 num_words, u32 *reg_buf) argument 12764 bnxt_dbg_hwrm_ring_info_get(struct bnxt *bp, u8 ring_type, u32 ring_id, u32 *prod, u32 *cons) argument 12821 bnxt_dbg_dump_states(struct bnxt *bp) argument 12836 bnxt_hwrm_rx_ring_reset(struct bnxt *bp, int ring_nr) argument 12857 bnxt_reset_task(struct bnxt *bp, bool silent) argument 12878 struct bnxt *bp = netdev_priv(dev); local 12884 bnxt_fw_health_check(struct bnxt *bp) argument 12923 struct bnxt *bp = from_timer(bp, t, timer); local 12965 bnxt_rtnl_lock_sp(struct bnxt *bp) argument 12976 bnxt_rtnl_unlock_sp(struct bnxt *bp) argument 12983 bnxt_reset(struct bnxt *bp, bool silent) argument 12992 bnxt_rx_ring_reset(struct bnxt *bp) argument 13040 bnxt_fw_reset_close(struct bnxt *bp) argument 13069 is_bnxt_fw_ok(struct bnxt *bp) argument 13090 bnxt_force_fw_reset(struct bnxt *bp) argument 13124 bnxt_fw_exception(struct bnxt *bp) argument 13136 bnxt_get_registered_vfs(struct bnxt *bp) argument 13157 bnxt_fw_reset(struct bnxt *bp) argument 13205 bnxt_chk_missed_irq(struct bnxt *bp) argument 13244 bnxt_init_ethtool_link_settings(struct bnxt *bp) argument 13269 bnxt_fw_echo_reply(struct bnxt *bp) argument 13285 struct bnxt *bp = container_of(work, struct bnxt, sp_task); local 13391 bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs, int tx_xdp) argument 13432 bnxt_unmap_bars(struct bnxt *bp, struct pci_dev *pdev) argument 13450 bnxt_cleanup_pci(struct bnxt *bp) argument 13458 bnxt_init_dflt_coal(struct bnxt *bp) argument 13493 bnxt_fw_pre_resv_vnics(struct bnxt *bp) argument 13506 bnxt_fw_init_one_p1(struct bnxt *bp) argument 13537 bnxt_fw_init_one_p2(struct bnxt *bp) argument 13581 bnxt_set_dflt_rss_hash_type(struct bnxt *bp) argument 13597 bnxt_set_dflt_rfs(struct bnxt *bp) argument 13613 bnxt_fw_init_one_p3(struct bnxt *bp) argument 13632 bnxt_fw_init_one(struct bnxt *bp) argument 13657 bnxt_fw_reset_writel(struct bnxt *bp, int reg_idx) argument 13689 bnxt_hwrm_reset_permitted(struct bnxt *bp) argument 13710 bnxt_reset_all(struct bnxt *bp) argument 13741 bnxt_fw_reset_timeout(struct bnxt *bp) argument 13747 bnxt_fw_reset_abort(struct bnxt *bp, int rc) argument 13760 struct bnxt *bp = container_of(work, struct bnxt, fw_reset_task.work); local 13930 struct bnxt *bp = netdev_priv(dev); local 14018 struct bnxt *bp = netdev_priv(dev); local 14044 struct bnxt *bp = netdev_priv(dev); local 14060 struct bnxt *bp = netdev_priv(dev); local 14108 struct bnxt *bp = cb_priv; local 14127 struct bnxt *bp = netdev_priv(dev); local 14147 bnxt_get_ntp_filter_idx(struct bnxt *bp, struct flow_keys *fkeys, const struct sk_buff *skb) argument 14159 bnxt_insert_ntp_filter(struct bnxt *bp, struct bnxt_ntuple_filter *fltr, u32 idx) argument 14223 bnxt_lookup_ntp_filter_from_idx(struct bnxt *bp, struct bnxt_ntuple_filter *fltr, u32 idx) argument 14241 struct bnxt *bp = netdev_priv(dev); local 14325 bnxt_del_ntp_filter(struct bnxt *bp, struct bnxt_ntuple_filter *fltr) argument 14341 bnxt_cfg_ntp_filters(struct bnxt *bp) argument 14385 struct bnxt *bp = netdev_priv(netdev); local 14401 struct bnxt *bp = netdev_priv(netdev); local 14439 struct bnxt *bp = netdev_priv(dev); local 14448 struct bnxt *bp = netdev_priv(dev); local 14480 struct bnxt *bp = netdev_priv(dev); local 14531 struct bnxt *bp = netdev_priv(dev); local 14554 struct bnxt *bp = netdev_priv(dev); local 14576 struct bnxt *bp = netdev_priv(dev); local 14595 struct bnxt *bp = netdev_priv(dev); local 14634 bnxt_probe_phy(struct bnxt *bp, bool fw_dflt) argument 14684 _bnxt_get_max_rings(struct bnxt *bp, int *max_rx, int *max_tx, int *max_cp) argument 14719 bnxt_get_max_rings(struct bnxt *bp, int *max_rx, int *max_tx, bool shared) argument 14732 bnxt_get_dflt_rings(struct bnxt *bp, int *max_rx, int *max_tx, bool shared) argument 14780 bnxt_trim_dflt_sh_rings(struct bnxt *bp) argument 14788 bnxt_set_dflt_rings(struct bnxt *bp, bool sh) argument 14843 bnxt_init_dflt_ring_mode(struct bnxt *bp) argument 14873 bnxt_restore_pf_fw_resources(struct bnxt *bp) argument 14898 bnxt_init_mac_addr(struct bnxt *bp) argument 14925 bnxt_vpd_read_info(struct bnxt *bp) argument 14959 bnxt_pcie_dsn_get(struct bnxt *bp, u8 dsn[]) argument 14976 bnxt_map_db_bar(struct bnxt *bp) argument 14986 bnxt_print_device_info(struct bnxt *bp) argument 14999 struct bnxt *bp; local 15259 struct bnxt *bp; local 15288 struct bnxt *bp = netdev_priv(dev); local 15307 struct bnxt *bp = netdev_priv(dev); local 15375 struct bnxt *bp = netdev_priv(netdev); local 15417 struct bnxt *bp = netdev_priv(netdev); local 15493 struct bnxt *bp = netdev_priv(netdev); local [all...] |
H A D | bnxt_sriov.c | 27 static int bnxt_hwrm_fwd_async_event_cmpl(struct bnxt *bp, argument 34 rc = hwrm_req_init(bp, req, HWRM_FWD_ASYNC_EVENT_CMPL); 48 rc = hwrm_req_send(bp, req); 51 netdev_err(bp->dev, "hwrm_fwd_async_event_cmpl failed. rc:%d\n", 56 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) argument 58 if (!bp->pf.active_vfs) { 59 netdev_err(bp->dev, "vf ndo called though sriov is disabled\n"); 62 if (vf_id >= bp->pf.active_vfs) { 63 netdev_err(bp->dev, "Invalid VF id %d\n", vf_id); 71 struct bnxt *bp local 113 bnxt_hwrm_func_qcfg_flags(struct bnxt *bp, struct bnxt_vf_info *vf) argument 132 bnxt_is_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) argument 141 bnxt_hwrm_set_trusted_vf(struct bnxt *bp, struct bnxt_vf_info *vf) argument 163 struct bnxt *bp = netdev_priv(dev); local 182 struct bnxt *bp = netdev_priv(dev); local 218 struct bnxt *bp = netdev_priv(dev); local 250 struct bnxt *bp = netdev_priv(dev); local 292 struct bnxt *bp = netdev_priv(dev); local 335 struct bnxt *bp = netdev_priv(dev); local 367 bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) argument 379 bnxt_hwrm_func_vf_resource_free(struct bnxt *bp, int num_vfs) argument 400 bnxt_free_vf_resources(struct bnxt *bp) argument 422 bnxt_alloc_vf_resources(struct bnxt *bp, int num_vfs) argument 468 bnxt_hwrm_func_buf_rgtr(struct bnxt *bp) argument 488 __bnxt_set_vf_params(struct bnxt *bp, int vf_id) argument 524 bnxt_hwrm_func_vf_resc_cfg(struct bnxt *bp, int num_vfs, bool reset) argument 645 bnxt_hwrm_func_cfg(struct bnxt *bp, int num_vfs) argument 730 bnxt_func_cfg(struct bnxt *bp, int num_vfs, bool reset) argument 738 bnxt_cfg_hw_sriov(struct bnxt *bp, int *num_vfs, bool reset) argument 763 bnxt_sriov_enable(struct bnxt *bp, int *num_vfs) argument 867 bnxt_sriov_disable(struct bnxt *bp) argument 901 struct bnxt *bp = netdev_priv(dev); local 946 bnxt_hwrm_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, void *encap_resp, __le64 encap_resp_addr, __le16 encap_resp_cpr, u32 msg_size) argument 973 bnxt_hwrm_fwd_err_resp(struct bnxt *bp, struct bnxt_vf_info *vf, u32 msg_size) argument 996 bnxt_hwrm_exec_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, u32 msg_size) argument 1019 bnxt_vf_configure_mac(struct bnxt *bp, struct bnxt_vf_info *vf) argument 1042 bnxt_vf_validate_set_mac(struct bnxt *bp, struct bnxt_vf_info *vf) argument 1079 bnxt_vf_set_link(struct bnxt *bp, struct bnxt_vf_info *vf) argument 1133 bnxt_vf_req_validate_snd(struct bnxt *bp, struct bnxt_vf_info *vf) argument 1162 bnxt_hwrm_exec_fwd_req(struct bnxt *bp) argument 1178 bnxt_approve_mac(struct bnxt *bp, const u8 *mac, bool strict) argument 1211 bnxt_update_vf_mac(struct bnxt *bp) argument 1253 bnxt_cfg_hw_sriov(struct bnxt *bp, int *num_vfs, bool reset) argument 1260 bnxt_sriov_disable(struct bnxt *bp) argument 1264 bnxt_hwrm_exec_fwd_req(struct bnxt *bp) argument 1269 bnxt_update_vf_mac(struct bnxt *bp) argument 1273 bnxt_approve_mac(struct bnxt *bp, const u8 *mac, bool strict) argument [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_buf.c | 55 static int __xfs_buf_submit(struct xfs_buf *bp, bool wait); 59 struct xfs_buf *bp) 61 return __xfs_buf_submit(bp, !(bp->b_flags & XBF_ASYNC)); 64 static inline bool xfs_buf_is_uncached(struct xfs_buf *bp) argument 66 return bp->b_rhash_key == XFS_BUF_DADDR_NULL; 71 struct xfs_buf *bp) 78 * to be both for b_addr and bp->b_page_count > 1. 80 return bp->b_addr && bp 58 xfs_buf_submit( struct xfs_buf *bp) argument 70 xfs_buf_is_vmapped( struct xfs_buf *bp) argument 84 xfs_buf_vmap_len( struct xfs_buf *bp) argument 104 xfs_buf_ioacct_inc( struct xfs_buf *bp) argument 124 __xfs_buf_ioacct_dec( struct xfs_buf *bp) argument 136 xfs_buf_ioacct_dec( struct xfs_buf *bp) argument 153 xfs_buf_stale( struct xfs_buf *bp) argument 186 xfs_buf_get_maps( struct xfs_buf *bp, int map_count) argument 209 xfs_buf_free_maps( struct xfs_buf *bp) argument 226 struct xfs_buf *bp; local 282 xfs_buf_free_pages( struct xfs_buf *bp) argument 308 struct xfs_buf *bp = container_of(cb, struct xfs_buf, b_rcu); local 315 xfs_buf_free( struct xfs_buf *bp) argument 333 xfs_buf_alloc_kmem( struct xfs_buf *bp, xfs_buf_flags_t flags) argument 364 xfs_buf_alloc_pages( struct xfs_buf *bp, xfs_buf_flags_t flags) argument 423 _xfs_buf_map_pages( struct xfs_buf *bp, xfs_buf_flags_t flags) argument 478 const struct xfs_buf *bp = obj; local 557 xfs_buf_find_lock( struct xfs_buf *bp, xfs_buf_flags_t flags) argument 595 struct xfs_buf *bp; local 633 struct xfs_buf *bp; local 726 struct xfs_buf *bp = NULL; local 796 _xfs_buf_read( struct xfs_buf *bp, xfs_buf_flags_t flags) argument 827 xfs_buf_reverify( struct xfs_buf *bp, const struct xfs_buf_ops *ops) argument 854 struct xfs_buf *bp; local 936 struct xfs_buf *bp; local 965 struct xfs_buf *bp; local 1000 struct xfs_buf *bp; local 1039 xfs_buf_hold( struct xfs_buf *bp) argument 1047 xfs_buf_rele_uncached( struct xfs_buf *bp) argument 1058 xfs_buf_rele_cached( struct xfs_buf *bp) argument 1141 xfs_buf_rele( struct xfs_buf *bp) argument 1163 xfs_buf_trylock( struct xfs_buf *bp) argument 1186 xfs_buf_lock( struct xfs_buf *bp) argument 1199 xfs_buf_unlock( struct xfs_buf *bp) argument 1209 xfs_buf_wait_unpin( struct xfs_buf *bp) argument 1229 xfs_buf_ioerror_alert_ratelimited( struct xfs_buf *bp) argument 1248 xfs_buf_ioerror_permanent( struct xfs_buf *bp, struct xfs_error_cfg *cfg) argument 1286 xfs_buf_ioend_handle_error( struct xfs_buf *bp) argument 1362 xfs_buf_ioend( struct xfs_buf *bp) argument 1421 struct xfs_buf *bp = local 1428 xfs_buf_ioend_async( struct xfs_buf *bp) argument 1436 __xfs_buf_ioerror( struct xfs_buf *bp, int error, xfs_failaddr_t failaddr) argument 1447 xfs_buf_ioerror_alert( struct xfs_buf *bp, xfs_failaddr_t func) argument 1464 xfs_buf_ioend_fail( struct xfs_buf *bp) argument 1474 xfs_bwrite( struct xfs_buf *bp) argument 1495 struct xfs_buf *bp = (struct xfs_buf *)bio->bi_private; local 1521 xfs_buf_ioapply_map( struct xfs_buf *bp, int map, int *buf_offset, int *count, blk_opf_t op) argument 1599 _xfs_buf_ioapply( struct xfs_buf *bp) argument 1684 xfs_buf_iowait( struct xfs_buf *bp) argument 1703 __xfs_buf_submit( struct xfs_buf *bp, bool wait) argument 1782 xfs_buf_offset( struct xfs_buf *bp, size_t offset) argument 1796 xfs_buf_zero( struct xfs_buf *bp, size_t boff, size_t bsize) argument 1834 __xfs_buf_mark_corrupt( struct xfs_buf *bp, xfs_failaddr_t fa) argument 1861 struct xfs_buf *bp = container_of(item, struct xfs_buf, b_lru); local 1923 struct xfs_buf *bp; local 1959 struct xfs_buf *bp = container_of(item, struct xfs_buf, b_lru); local 1997 struct xfs_buf *bp; local 2133 xfs_buf_list_del( struct xfs_buf *bp) argument 2150 struct xfs_buf *bp; local 2174 xfs_buf_delwri_queue( struct xfs_buf *bp, struct list_head *list) argument 2217 xfs_buf_delwri_queue_here( struct xfs_buf *bp, struct list_head *buffer_list) argument 2250 struct xfs_buf *bp = container_of(b, struct xfs_buf, b_list); local 2273 struct xfs_buf *bp, *n; local 2366 struct xfs_buf *bp; local 2405 xfs_buf_delwri_pushbuf( struct xfs_buf *bp, struct list_head *buffer_list) argument 2444 xfs_buf_set_ref(struct xfs_buf *bp, int lru_ref) argument 2463 xfs_verify_magic( struct xfs_buf *bp, __be32 dmagic) argument 2481 xfs_verify_magic16( struct xfs_buf *bp, __be16 dmagic) argument [all...] |
H A D | xfs_buf_mem.c | 133 struct xfs_buf *bp) 135 struct inode *inode = file_inode(bp->b_target->bt_file); 138 loff_t pos = BBTOB(xfs_buf_daddr(bp)); 141 ASSERT(xfs_buftarg_is_mem(bp->b_target)); 143 if (bp->b_map_count != 1) 145 if (BBTOB(bp->b_length) != XMBUF_BLOCKSIZE) 171 bp->b_addr = page_address(page); 172 bp->b_pages = bp->b_page_array; 173 bp 132 xmbuf_map_page( struct xfs_buf *bp) argument 180 xmbuf_unmap_page( struct xfs_buf *bp) argument 210 xmbuf_stale( struct xfs_buf *bp) argument 227 xmbuf_finalize( struct xfs_buf *bp) argument 256 xmbuf_trans_bdetach( struct xfs_trans *tp, struct xfs_buf *bp) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | command_table.h | 34 struct bios_parser *bp, 37 struct bios_parser *bp, 40 struct bios_parser *bp, 43 struct bios_parser *bp, 46 struct bios_parser *bp, 49 struct bios_parser *bp, 53 struct bios_parser *bp, 56 struct bios_parser *bp, 61 struct bios_parser *bp, 66 struct bios_parser *bp, [all...] |
H A D | command_table2.h | 34 struct bios_parser *bp, 37 struct bios_parser *bp, 40 struct bios_parser *bp, 43 struct bios_parser *bp, 46 struct bios_parser *bp, 49 struct bios_parser *bp, 53 struct bios_parser *bp, 56 struct bios_parser *bp, 61 struct bios_parser *bp, 66 struct bios_parser *bp, [all...] |
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | b44.c | 164 static inline unsigned long br32(const struct b44 *bp, unsigned long reg) argument 166 return ssb_read32(bp->sdev, reg); 169 static inline void bw32(const struct b44 *bp, argument 172 ssb_write32(bp->sdev, reg, val); 175 static int b44_wait_bit(struct b44 *bp, unsigned long reg, argument 181 u32 val = br32(bp, reg); 191 netdev_err(bp->dev, "BUG! Timeout waiting for bit %08x of register %lx to %s\n", 199 static inline void __b44_cam_write(struct b44 *bp, argument 208 bw32(bp, B44_CAM_DATA_LO, val); 212 bw32(bp, B44_CAM_DATA_H 218 __b44_disable_ints(struct b44 *bp) argument 223 b44_disable_ints(struct b44 *bp) argument 231 b44_enable_ints(struct b44 *bp) argument 236 __b44_readphy(struct b44 *bp, int phy_addr, int reg, u32 *val) argument 252 __b44_writephy(struct b44 *bp, int phy_addr, int reg, u32 val) argument 264 b44_readphy(struct b44 *bp, int reg, u32 *val) argument 272 b44_writephy(struct b44 *bp, int reg, u32 val) argument 284 struct b44 *bp = netdev_priv(dev); local 294 struct b44 *bp = netdev_priv(dev); local 301 struct b44 *bp = bus->priv; local 311 struct b44 *bp = bus->priv; local 315 b44_phy_reset(struct b44 *bp) argument 337 __b44_set_flow_ctrl(struct b44 *bp, u32 pause_flags) argument 360 b44_set_flow_ctrl(struct b44 *bp, u32 local, u32 remote) argument 381 b44_wap54g10_workaround(struct b44 *bp) argument 410 b44_wap54g10_workaround(struct b44 *bp) argument 415 b44_setup_phy(struct b44 *bp) argument 479 b44_stats_update(struct b44 *bp) argument 498 b44_link_report(struct b44 *bp) argument 513 b44_check_phy(struct b44 *bp) argument 578 struct b44 *bp = from_timer(bp, t, timer); local 591 b44_tx(struct b44 *bp) argument 632 b44_alloc_rx_skb(struct b44 *bp, int src_idx, u32 dest_idx_unmasked) argument 707 b44_recycle_rx(struct b44 *bp, int src_idx, u32 dest_idx_unmasked) argument 753 b44_rx(struct b44 *bp, int budget) argument 842 struct b44 *bp = container_of(napi, struct b44, napi); local 889 struct b44 *bp = netdev_priv(dev); local 930 struct b44 *bp = netdev_priv(dev); local 949 struct b44 *bp = netdev_priv(dev); local 1039 struct b44 *bp = netdev_priv(dev); local 1068 b44_free_rings(struct b44 *bp) argument 1103 b44_init_rings(struct b44 *bp) argument 1130 b44_free_consistent(struct b44 *bp) argument 1164 b44_alloc_consistent(struct b44 *bp, gfp_t gfp) argument 1243 b44_clear_stats(struct b44 *bp) argument 1255 b44_chip_reset(struct b44 *bp, int reset_kind) argument 1324 b44_halt(struct b44 *bp) argument 1341 __b44_set_mac_addr(struct b44 *bp) argument 1355 struct b44 *bp = netdev_priv(dev); local 1382 b44_init_hw(struct b44 *bp, int reset_kind) argument 1428 struct b44 *bp = netdev_priv(dev); local 1478 bwfilter_table(struct b44 *bp, u8 *pp, u32 bytes, u32 table_offset) argument 1522 b44_setup_pseudo_magicp(struct b44 *bp) argument 1577 b44_setup_wol_pci(struct b44 *bp) argument 1588 b44_setup_wol_pci(struct b44 *bp) argument 1591 b44_setup_wol(struct b44 *bp) argument 1622 struct b44 *bp = netdev_priv(dev); local 1656 struct b44 *bp = netdev_priv(dev); local 1699 __b44_load_mcast(struct b44 *bp, struct net_device *dev) argument 1716 struct b44 *bp = netdev_priv(dev); local 1747 struct b44 *bp = netdev_priv(dev); local 1756 struct b44 *bp = netdev_priv(dev); local 1762 struct b44 *bp = netdev_priv(dev); local 1768 struct b44 *bp = netdev_priv(dev); local 1788 struct b44 *bp = netdev_priv(dev); local 1807 struct b44 *bp = netdev_priv(dev); local 1861 struct b44 *bp = netdev_priv(dev); local 1944 struct b44 *bp = netdev_priv(dev); local 1957 struct b44 *bp = netdev_priv(dev); local 1984 struct b44 *bp = netdev_priv(dev); local 1997 struct b44 *bp = netdev_priv(dev); local 2048 struct b44 *bp = netdev_priv(dev); local 2071 struct b44 *bp = netdev_priv(dev); local 2083 struct b44 *bp = netdev_priv(dev); local 2117 struct b44 *bp = netdev_priv(dev); local 2135 b44_get_invariants(struct b44 *bp) argument 2193 struct b44 *bp = netdev_priv(dev); local 2228 b44_register_phy_one(struct b44 *bp) argument 2310 b44_unregister_phy_one(struct b44 *bp) argument 2324 struct b44 *bp; local 2453 struct b44 *bp = netdev_priv(dev); local 2469 struct b44 *bp = netdev_priv(dev); local 2498 struct b44 *bp = netdev_priv(dev); local [all...] |
H A D | bnx2.c | 243 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) argument 259 return bp->tx_ring_size - diff; 263 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) argument 268 spin_lock_irqsave(&bp->indirect_lock, flags); 269 BNX2_WR(bp, BNX2_PCICFG_REG_WINDOW_ADDRESS, offset); 270 val = BNX2_RD(bp, BNX2_PCICFG_REG_WINDOW); 271 spin_unlock_irqrestore(&bp->indirect_lock, flags); 276 bnx2_reg_wr_ind(struct bnx2 *bp, u3 argument 287 bnx2_shmem_wr(struct bnx2 *bp, u32 offset, u32 val) argument 293 bnx2_shmem_rd(struct bnx2 *bp, u32 offset) argument 299 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val) argument 328 struct bnx2 *bp = netdev_priv(dev); local 347 bnx2_setup_cnic_irq_info(struct bnx2 *bp) argument 378 struct bnx2 *bp = netdev_priv(dev); local 403 struct bnx2 *bp = netdev_priv(dev); local 418 struct bnx2 *bp = netdev_priv(dev); local 436 bnx2_cnic_stop(struct bnx2 *bp) argument 452 bnx2_cnic_start(struct bnx2 *bp) argument 475 bnx2_cnic_stop(struct bnx2 *bp) argument 480 bnx2_cnic_start(struct bnx2 *bp) argument 487 bnx2_read_phy(struct bnx2 *bp, u32 reg, u32 *val) argument 544 bnx2_write_phy(struct bnx2 *bp, u32 reg, u32 val) argument 593 bnx2_disable_int(struct bnx2 *bp) argument 607 bnx2_enable_int(struct bnx2 *bp) argument 628 bnx2_disable_int_sync(struct bnx2 *bp) argument 642 bnx2_napi_disable(struct bnx2 *bp) argument 651 bnx2_napi_enable(struct bnx2 *bp) argument 660 bnx2_netif_stop(struct bnx2 *bp, bool stop_cnic) argument 673 bnx2_netif_start(struct bnx2 *bp, bool start_cnic) argument 691 bnx2_free_tx_mem(struct bnx2 *bp) argument 711 bnx2_free_rx_mem(struct bnx2 *bp) argument 743 bnx2_alloc_tx_mem(struct bnx2 *bp) argument 765 bnx2_alloc_rx_mem(struct bnx2 *bp) argument 816 struct bnx2 *bp = netdev_priv(dev); local 832 struct bnx2 *bp = netdev_priv(dev); local 854 bnx2_free_mem(struct bnx2 *bp) argument 876 bnx2_alloc_mem(struct bnx2 *bp) argument 933 bnx2_report_fw_link(struct bnx2 *bp) argument 992 bnx2_xceiver_str(struct bnx2 *bp) argument 1000 bnx2_report_link(struct bnx2 *bp) argument 1031 bnx2_resolve_flow_ctrl(struct bnx2 *bp) argument 1107 bnx2_5709s_linkup(struct bnx2 *bp) argument 1146 bnx2_5708s_linkup(struct bnx2 *bp) argument 1175 bnx2_5706s_linkup(struct bnx2 *bp) argument 1212 bnx2_copper_linkup(struct bnx2 *bp) argument 1288 bnx2_init_rx_context(struct bnx2 *bp, u32 cid) argument 1303 bnx2_init_all_rx_contexts(struct bnx2 *bp) argument 1316 bnx2_set_mac_link(struct bnx2 *bp) argument 1383 bnx2_enable_bmsr1(struct bnx2 *bp) argument 1392 bnx2_disable_bmsr1(struct bnx2 *bp) argument 1401 bnx2_test_and_enable_2g5(struct bnx2 *bp) argument 1430 bnx2_test_and_disable_2g5(struct bnx2 *bp) argument 1456 bnx2_enable_forced_2g5(struct bnx2 *bp) argument 1500 bnx2_disable_forced_2g5(struct bnx2 *bp) argument 1539 bnx2_5706s_force_link_dn(struct bnx2 *bp, int start) argument 1552 bnx2_set_link(struct bnx2 *bp) argument 1636 bnx2_reset_phy(struct bnx2 *bp) argument 1660 bnx2_phy_get_pause_adv(struct bnx2 *bp) argument 1785 bnx2_enable_forced_2g5(bp); variable 1787 bnx2_disable_forced_2g5(bp); variable 1818 bnx2_report_link(bp); variable 1823 bnx2_resolve_flow_ctrl(bp); variable 1824 bnx2_set_mac_link(bp); variable 1829 bnx2_test_and_enable_2g5(bp); variable 1864 bnx2_resolve_flow_ctrl(bp); variable 1865 bnx2_set_mac_link(bp); variable 1887 bnx2_set_default_remote_link(struct bnx2 *bp) argument 1934 bnx2_set_default_link(struct bnx2 *bp) argument 1960 bnx2_send_heart_beat(struct bnx2 *bp) argument 1974 bnx2_remote_phy_event(struct bnx2 *bp) argument 2055 bnx2_set_remote_link(struct bnx2 *bp) argument 2111 bnx2_resolve_flow_ctrl(bp); variable 2112 bnx2_set_mac_link(bp); variable 2154 bnx2_resolve_flow_ctrl(bp); variable 2155 bnx2_set_mac_link(bp); variable 2158 bnx2_resolve_flow_ctrl(bp); variable 2159 bnx2_set_mac_link(bp); variable 2181 bnx2_init_5709s_phy(struct bnx2 *bp, int reset_phy) argument 2231 bnx2_init_5708s_phy(struct bnx2 *bp, int reset_phy) argument 2289 bnx2_init_5706s_phy(struct bnx2 *bp, int reset_phy) argument 2327 bnx2_init_copper_phy(struct bnx2 *bp, int reset_phy) argument 2432 bnx2_set_mac_loopback(struct bnx2 *bp) argument 2447 bnx2_set_phy_loopback(struct bnx2 *bp) argument 2477 bnx2_dump_mcp_state(struct bnx2 *bp) argument 2520 bnx2_fw_sync(struct bnx2 *bp, u32 msg_data, int ack, int silent) argument 2567 bnx2_init_5709_context(struct bnx2 *bp) argument 2615 bnx2_init_context(struct bnx2 *bp) argument 2658 bnx2_alloc_bad_rbuf(struct bnx2 *bp) argument 2707 bnx2_set_mac_addr(struct bnx2 *bp, const u8 *mac_addr, u32 pos) argument 2722 bnx2_alloc_rx_page(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index, gfp_t gfp) argument 2747 bnx2_free_rx_page(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index) argument 2763 bnx2_alloc_rx_data(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index, gfp_t gfp) argument 2796 bnx2_phy_event_is_set(struct bnx2 *bp, struct bnx2_napi *bnapi, u32 event) argument 2816 bnx2_phy_int(struct bnx2 *bp, struct bnx2_napi *bnapi) argument 2842 bnx2_tx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) argument 2937 bnx2_reuse_rx_skb_pages(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, struct sk_buff *skb, int count) argument 2994 bnx2_reuse_rx_data(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u8 *data, u16 cons, u16 prod) argument 3024 bnx2_rx_skb(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u8 *data, unsigned int len, unsigned int hdr_len, dma_addr_t dma_addr, u32 ring_idx) argument 3141 bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget) argument 3312 struct bnx2 *bp = bnapi->bp; local 3332 struct bnx2 *bp = bnapi->bp; local 3349 struct bnx2 *bp = bnapi->bp; local 3420 bnx2_chk_missed_msi(struct bnx2 *bp) argument 3442 bnx2_poll_cnic(struct bnx2 *bp, struct bnx2_napi *bnapi) argument 3458 bnx2_poll_link(struct bnx2 *bp, struct bnx2_napi *bnapi) argument 3478 bnx2_poll_work(struct bnx2 *bp, struct bnx2_napi *bnapi, int work_done, int budget) argument 3496 struct bnx2 *bp = bnapi->bp; local 3523 struct bnx2 *bp = bnapi->bp; local 3575 struct bnx2 *bp = netdev_priv(dev); local 3685 bnx2_release_firmware(struct bnx2 *bp) argument 3694 bnx2_request_uncached_firmware(struct bnx2 *bp) argument 3754 bnx2_request_firmware(struct bnx2 *bp) argument 3772 load_rv2p_fw(struct bnx2 *bp, u32 rv2p_proc, const struct bnx2_rv2p_fw_file_entry *fw_entry) argument 3832 load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg, const struct bnx2_mips_fw_file_entry *fw_entry) argument 3902 bnx2_init_cpus(struct bnx2 *bp) argument 3930 bnx2_setup_wol(struct bnx2 *bp) argument 4025 bnx2_set_power_state(struct bnx2 *bp, pci_power_t state) argument 4081 bnx2_acquire_nvram_lock(struct bnx2 *bp) argument 4103 bnx2_release_nvram_lock(struct bnx2 *bp) argument 4127 bnx2_enable_nvram_write(struct bnx2 *bp) argument 4156 bnx2_disable_nvram_write(struct bnx2 *bp) argument 4166 bnx2_enable_nvram_access(struct bnx2 *bp) argument 4177 bnx2_disable_nvram_access(struct bnx2 *bp) argument 4189 bnx2_nvram_erase_page(struct bnx2 *bp, u32 offset) argument 4229 bnx2_nvram_read_dword(struct bnx2 *bp, u32 offset, u8 *ret_val, u32 cmd_flags) argument 4274 bnx2_nvram_write_dword(struct bnx2 *bp, u32 offset, u8 *val, u32 cmd_flags) argument 4318 bnx2_init_nvram(struct bnx2 *bp) argument 4401 bnx2_nvram_read(struct bnx2 *bp, u32 offset, u8 *ret_buf, int buf_size) argument 4511 bnx2_nvram_write(struct bnx2 *bp, u32 offset, u8 *data_buf, int buf_size) argument 4691 bnx2_init_fw_cap(struct bnx2 *bp) argument 4731 bnx2_setup_msix_tbl(struct bnx2 *bp) argument 4740 bnx2_wait_dma_complete(struct bnx2 *bp) argument 4777 bnx2_reset_chip(struct bnx2 *bp, u32 reset_code) argument 4881 bnx2_init_chip(struct bnx2 *bp) argument 5109 bnx2_clear_ring_states(struct bnx2 *bp) argument 5132 bnx2_init_tx_context(struct bnx2 *bp, u32 cid, struct bnx2_tx_ring_info *txr) argument 5162 bnx2_init_tx_ring(struct bnx2 *bp, int ring_num) argument 5218 bnx2_init_rx_ring(struct bnx2 *bp, int ring_num) argument 5304 bnx2_init_all_rings(struct bnx2 *bp) argument 5370 bnx2_set_rx_ring_size(struct bnx2 *bp, u32 size) argument 5412 bnx2_free_tx_skbs(struct bnx2 *bp) argument 5457 bnx2_free_rx_skbs(struct bnx2 *bp) argument 5491 bnx2_free_skbs(struct bnx2 *bp) argument 5498 bnx2_reset_nic(struct bnx2 *bp, u32 reset_code) argument 5515 bnx2_init_nic(struct bnx2 *bp, int reset_phy) argument 5532 bnx2_shutdown_chip(struct bnx2 *bp) argument 5547 bnx2_test_registers(struct bnx2 *bp) argument 5718 bnx2_do_mem_test(struct bnx2 *bp, u32 start, u32 size) argument 5741 bnx2_test_memory(struct bnx2 *bp) argument 5786 bnx2_run_loopback(struct bnx2 *bp, int loopback_mode) argument 5924 bnx2_test_loopback(struct bnx2 *bp) argument 5946 bnx2_test_nvram(struct bnx2 *bp) argument 5981 bnx2_test_link(struct bnx2 *bp) argument 6007 bnx2_test_intr(struct bnx2 *bp) argument 6038 bnx2_5706_serdes_has_link(struct bnx2 *bp) argument 6069 bnx2_5706_serdes_timer(struct bnx2 *bp) argument 6131 bnx2_5708_serdes_timer(struct bnx2 *bp) argument 6166 struct bnx2 *bp = from_timer(bp, t, timer); local 6200 bnx2_request_irq(struct bnx2 *bp) argument 6223 __bnx2_free_irq(struct bnx2 *bp) argument 6237 bnx2_free_irq(struct bnx2 *bp) argument 6250 bnx2_enable_msix(struct bnx2 *bp, int msix_vecs) argument 6294 bnx2_setup_int_mode(struct bnx2 *bp, int dis_msi) argument 6349 struct bnx2 *bp = netdev_priv(dev); local 6431 struct bnx2 *bp = container_of(work, struct bnx2, reset_task); local 6466 bnx2_dump_ftq(struct bnx2 *bp) argument 6533 bnx2_dump_state(struct bnx2 *bp) argument 6559 struct bnx2 *bp = netdev_priv(dev); local 6576 struct bnx2 *bp = netdev_priv(dev); local 6750 struct bnx2 *bp = netdev_priv(dev); local 6767 bnx2_save_stats(struct bnx2 *bp) argument 6804 struct bnx2 *bp = netdev_priv(dev); local 6879 struct bnx2 *bp = netdev_priv(dev); local 6947 struct bnx2 *bp = netdev_priv(dev); local 7028 struct bnx2 *bp = netdev_priv(dev); local 7048 struct bnx2 *bp = netdev_priv(dev); local 7098 struct bnx2 *bp = netdev_priv(dev); local 7117 struct bnx2 *bp = netdev_priv(dev); local 7140 struct bnx2 *bp = netdev_priv(dev); local 7186 struct bnx2 *bp = netdev_priv(dev); local 7194 struct bnx2 *bp = netdev_priv(dev); local 7206 struct bnx2 *bp = netdev_priv(dev); local 7220 struct bnx2 *bp = netdev_priv(dev); local 7235 struct bnx2 *bp = netdev_priv(dev); local 7259 struct bnx2 *bp = netdev_priv(dev); local 7310 struct bnx2 *bp = netdev_priv(dev); local 7323 bnx2_change_ring_size(struct bnx2 *bp, u32 rx, u32 tx, bool reset_irq) argument 7383 struct bnx2 *bp = netdev_priv(dev); local 7400 struct bnx2 *bp = netdev_priv(dev); local 7410 struct bnx2 *bp = netdev_priv(dev); local 7588 struct bnx2 *bp = netdev_priv(dev); local 7659 struct bnx2 *bp = netdev_priv(dev); local 7705 struct bnx2 *bp = netdev_priv(dev); local 7738 struct bnx2 *bp = netdev_priv(dev); local 7763 struct bnx2 *bp = netdev_priv(dev); local 7785 struct bnx2 *bp = netdev_priv(dev); local 7846 struct bnx2 *bp = netdev_priv(dev); local 7897 struct bnx2 *bp = netdev_priv(dev); local 7913 struct bnx2 *bp = netdev_priv(dev); local 7924 struct bnx2 *bp = netdev_priv(dev); local 7938 bnx2_get_5709_media(struct bnx2 *bp) argument 7976 bnx2_get_pci_speed(struct bnx2 *bp) argument 8028 bnx2_read_vpd_fw_ver(struct bnx2 *bp) argument 8076 struct bnx2 *bp; local 8456 bnx2_bus_string(struct bnx2 *bp, char *str) argument 8476 bnx2_del_napi(struct bnx2 *bp) argument 8485 bnx2_init_napi(struct bnx2 *bp) argument 8524 struct bnx2 *bp; local 8601 struct bnx2 *bp = netdev_priv(dev); local 8626 struct bnx2 *bp = netdev_priv(dev); local 8645 struct bnx2 *bp = netdev_priv(dev); local 8678 struct bnx2 *bp = netdev_priv(dev); local 8710 struct bnx2 *bp = netdev_priv(dev); local 8749 struct bnx2 *bp = netdev_priv(dev); local 8762 struct bnx2 *bp; local [all...] |
/linux-master/drivers/sbus/char/ |
H A D | bbc_i2c.c | 55 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) argument 60 if (bp->devs[i].device == op) { 61 bp->devs[i].client_claimed = val; 70 struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) argument 76 if (!(op = bp->devs[i].device)) 90 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) argument 98 client->bp = bp; 110 claim_device(bp, op); 117 struct bbc_i2c_bus *bp local 124 wait_for_pin(struct bbc_i2c_bus *bp, u8 *status) argument 153 struct bbc_i2c_bus *bp = client->bp; local 184 struct bbc_i2c_bus *bp = client->bp; local 274 struct bbc_i2c_bus *bp = dev_id; local 286 reset_one_i2c(struct bbc_i2c_bus *bp) argument 297 struct bbc_i2c_bus *bp; local 363 struct bbc_i2c_bus *bp; local 387 struct bbc_i2c_bus *bp = dev_get_drvdata(&op->dev); local [all...] |
/linux-master/drivers/net/fddi/ |
H A D | defxx.c | 258 #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 data_b, PI_UINT32 *host_data); 290 static void dfx_hw_adap_reset(DFX_board_t *bp, PI_UINT3 299 dfx_rcv_flush(DFX_board_t *bp) argument 364 dfx_writel(DFX_board_t *bp, int offset, u32 data) argument 370 dfx_outl(DFX_board_t *bp, int offset, u32 data) argument 375 dfx_port_write_long(DFX_board_t *bp, int offset, u32 data) argument 386 dfx_readl(DFX_board_t *bp, int offset, u32 *data) argument 392 dfx_inl(DFX_board_t *bp, int offset, u32 *data) argument 397 dfx_port_read_long(DFX_board_t *bp, int offset, u32 *data) argument 431 dfx_get_bars(DFX_board_t *bp, resource_size_t *bar_start, resource_size_t *bar_len) argument 537 DFX_board_t *bp; /* board pointer */ local 723 DFX_board_t *bp = netdev_priv(dev); local 882 DFX_board_t *bp = netdev_priv(dev); local 943 dfx_bus_config_check(DFX_board_t *bp) argument 1042 DFX_board_t *bp = netdev_priv(dev); local 1253 dfx_adap_init(DFX_board_t *bp, int get_buffers) argument 1452 DFX_board_t *bp = netdev_priv(dev); local 1543 DFX_board_t *bp = netdev_priv(dev); local 1628 dfx_int_pr_halt_id(DFX_board_t *bp) argument 1732 dfx_int_type_0_process(DFX_board_t *bp) argument 1879 DFX_board_t *bp = netdev_priv(dev); local 1950 DFX_board_t *bp = netdev_priv(dev); local 2077 DFX_board_t *bp = netdev_priv(dev); local 2264 DFX_board_t *bp = netdev_priv(dev); local 2378 DFX_board_t *bp = netdev_priv(dev); local 2462 dfx_ctl_update_cam(DFX_board_t *bp) argument 2545 dfx_ctl_update_filters(DFX_board_t *bp) argument 2620 dfx_hw_dma_cmd_req(DFX_board_t *bp) argument 2734 dfx_hw_port_ctrl_req( DFX_board_t *bp, PI_UINT32 command, PI_UINT32 data_a, PI_UINT32 data_b, PI_UINT32 *host_data ) argument 2818 dfx_hw_adap_reset( DFX_board_t *bp, PI_UINT32 type ) argument 2866 dfx_hw_adap_state_rd(DFX_board_t *bp) argument 2906 dfx_hw_dma_uninit(DFX_board_t *bp, PI_UINT32 type) argument 2978 dfx_rcv_init(DFX_board_t *bp, int get_buffers) argument 3296 DFX_board_t *bp = netdev_priv(dev); local 3490 dfx_xmt_done(DFX_board_t *bp) argument 3698 DFX_board_t *bp = netdev_priv(dev); local [all...] |
/linux-master/kernel/debug/kdb/ |
H A D | kdb_bp.c | 40 static char *kdb_bptype(kdb_bp_t *bp) argument 42 if (bp->bp_type < 0 || bp->bp_type > 4) 45 return kdb_rwtypes[bp->bp_type]; 48 static int kdb_parsebp(int argc, const char **argv, int *nextargp, kdb_bp_t *bp) argument 53 bp->bph_length = 1; 56 bp->bp_type = BP_ACCESS_WATCHPOINT; 58 bp->bp_type = BP_WRITE_WATCHPOINT; 60 bp->bp_type = BP_HARDWARE_BREAKPOINT; 64 bp 92 _kdb_bp_remove(kdb_bp_t *bp) argument 108 kdb_handle_bp(struct pt_regs *regs, kdb_bp_t *bp) argument 125 _kdb_bp_install(struct pt_regs *regs, kdb_bp_t *bp) argument 179 kdb_bp_t *bp = &kdb_breakpoints[i]; local 210 kdb_bp_t *bp = &kdb_breakpoints[i]; local 238 kdb_printbp(kdb_bp_t *bp, int i) argument 280 kdb_bp_t *bp, *bp_check; local 389 kdb_bp_t *bp = NULL; local 578 kdb_bp_t *bp; local [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 36 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) argument 46 for_each_rx_queue_cnic(bp, i) { 47 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), bnx2x_poll); 51 static void bnx2x_add_all_napi(struct bnx2x *bp) argument 56 for_each_eth_queue(bp, i) { 57 netif_napi_add(bp 61 bnx2x_calc_num_queues(struct bnx2x *bp) argument 86 bnx2x_move_fp(struct bnx2x *bp, int from, int to) argument 143 bnx2x_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) argument 170 bnx2x_shrink_eth_fp(struct bnx2x *bp, int delta) argument 194 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, u16 idx, unsigned int *pkts_compl, unsigned int *bytes_compl) argument 273 bnx2x_tx_int(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) argument 358 struct bnx2x *bp = fp->bp; local 410 bnx2x_get_rxhash(const struct bnx2x *bp, const struct eth_fast_path_rx_cqe *cqe, enum pkt_hash_types *rxhash_type) argument 434 struct bnx2x *bp = fp->bp; local 547 bnx2x_alloc_rx_sge(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 index, gfp_t gfp_mask) argument 586 bnx2x_fill_frag_skb(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_agg_info *tpa_info, u16 pages, struct sk_buff *skb, struct eth_end_agg_rx_cqe *cqe, u16 cqe_idx) argument 710 bnx2x_gro_ip_csum(struct bnx2x *bp, struct sk_buff *skb) argument 722 bnx2x_gro_ipv6_csum(struct bnx2x *bp, struct sk_buff *skb) argument 734 bnx2x_gro_csum(struct bnx2x *bp, struct sk_buff *skb, void (*gro_func)(struct bnx2x*, struct sk_buff*)) argument 743 bnx2x_gro_receive(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct sk_buff *skb) argument 766 bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_agg_info *tpa_info, u16 pages, struct eth_end_agg_rx_cqe *cqe, u16 cqe_idx) argument 840 bnx2x_alloc_rx_data(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 index, gfp_t gfp_mask) argument 896 struct bnx2x *bp = fp->bp; local 1143 struct bnx2x *bp = fp->bp; local 1168 bnx2x_acquire_phy_lock(struct bnx2x *bp) argument 1175 bnx2x_release_phy_lock(struct bnx2x *bp) argument 1183 bnx2x_get_mf_speed(struct bnx2x *bp) argument 1214 bnx2x_fill_report_data(struct bnx2x *bp, struct bnx2x_link_report_data *data) argument 1261 bnx2x_link_report(struct bnx2x *bp) argument 1276 __bnx2x_link_report(struct bnx2x *bp) argument 1369 bnx2x_free_tpa_pool(struct bnx2x *bp, struct bnx2x_fastpath *fp, int last) argument 1392 bnx2x_init_rx_rings_cnic(struct bnx2x *bp) argument 1411 bnx2x_init_rx_rings(struct bnx2x *bp) argument 1507 struct bnx2x *bp = fp->bp; local 1528 bnx2x_free_tx_skbs_cnic(struct bnx2x *bp) argument 1537 bnx2x_free_tx_skbs(struct bnx2x *bp) argument 1548 struct bnx2x *bp = fp->bp; local 1570 bnx2x_free_rx_skbs_cnic(struct bnx2x *bp) argument 1579 bnx2x_free_rx_skbs(struct bnx2x *bp) argument 1593 bnx2x_free_skbs_cnic(struct bnx2x *bp) argument 1599 bnx2x_free_skbs(struct bnx2x *bp) argument 1605 bnx2x_update_max_mf_config(struct bnx2x *bp, u32 value) argument 1628 bnx2x_free_msix_irqs(struct bnx2x *bp, int nvecs) argument 1659 bnx2x_free_irq(struct bnx2x *bp) argument 1675 bnx2x_enable_msix(struct bnx2x *bp) argument 1758 bnx2x_req_msix_irqs(struct bnx2x *bp) argument 1811 bnx2x_enable_msi(struct bnx2x *bp) argument 1825 bnx2x_req_irq(struct bnx2x *bp) argument 1843 bnx2x_setup_irqs(struct bnx2x *bp) argument 1872 bnx2x_napi_enable_cnic(struct bnx2x *bp) argument 1881 bnx2x_napi_enable(struct bnx2x *bp) argument 1890 bnx2x_napi_disable_cnic(struct bnx2x *bp) argument 1899 bnx2x_napi_disable(struct bnx2x *bp) argument 1908 bnx2x_netif_start(struct bnx2x *bp) argument 1920 bnx2x_netif_stop(struct bnx2x *bp, int disable_hw) argument 1931 struct bnx2x *bp = netdev_priv(dev); local 1954 bnx2x_set_num_queues(struct bnx2x *bp) argument 1993 bnx2x_set_real_num_queues(struct bnx2x *bp, int include_cnic) argument 2023 bnx2x_set_rx_buf_size(struct bnx2x *bp) argument 2056 bnx2x_init_rss(struct bnx2x *bp) argument 2080 bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, bool config_hash, bool enable) argument 2138 bnx2x_init_hw(struct bnx2x *bp, u32 load_code) argument 2157 bnx2x_squeeze_objects(struct bnx2x *bp) argument 2242 bnx2x_free_fw_stats_mem(struct bnx2x *bp) argument 2249 bnx2x_alloc_fw_stats_mem(struct bnx2x *bp) argument 2329 bnx2x_nic_load_request(struct bnx2x *bp, u32 *load_code) argument 2373 bnx2x_compare_fw_ver(struct bnx2x *bp, u32 load_code, bool print_err) argument 2409 bnx2x_nic_load_no_mcp(struct bnx2x *bp, int port) argument 2430 bnx2x_nic_load_pmf(struct bnx2x *bp, u32 load_code) argument 2448 bnx2x_nic_load_afex_dcc(struct bnx2x *bp, int load_code) argument 2475 bnx2x_bz_fp(struct bnx2x *bp, int index) argument 2524 bnx2x_set_os_driver_state(struct bnx2x *bp, u32 state) argument 2538 bnx2x_load_cnic(struct bnx2x *bp) argument 2626 bnx2x_nic_load(struct bnx2x *bp, int load_mode) argument 2979 bnx2x_drain_tx_queues(struct bnx2x *bp) argument 2996 bnx2x_nic_unload(struct bnx2x *bp, int unload_mode, bool keep_link) argument 3181 bnx2x_set_power_state(struct bnx2x *bp, pci_power_t state) argument 3241 struct bnx2x *bp = fp->bp; local 3303 bnx2x_tx_split(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, struct sw_tx_bd *tx_buf, struct eth_tx_start_bd **tx_bd, u16 hlen, u16 bd_prod) argument 3362 bnx2x_xmit_type(struct bnx2x *bp, struct sk_buff *skb) argument 3419 bnx2x_pkt_req_lin(struct bnx2x *bp, struct sk_buff *skb, u32 xmit_type) argument 3537 bnx2x_set_pbd_csum_enc(struct bnx2x *bp, struct sk_buff *skb, u32 *parsing_data, u32 xmit_type) argument 3569 bnx2x_set_pbd_csum_e2(struct bnx2x *bp, struct sk_buff *skb, u32 *parsing_data, u32 xmit_type) argument 3591 bnx2x_set_sbd_csum(struct bnx2x *bp, struct sk_buff *skb, struct eth_tx_start_bd *tx_start_bd, u32 xmit_type) argument 3612 bnx2x_set_pbd_csum(struct bnx2x *bp, struct sk_buff *skb, struct eth_tx_parse_bd_e1x *pbd, u32 xmit_type) argument 3753 struct bnx2x *bp = netdev_priv(dev); local 4211 bnx2x_get_c2s_mapping(struct bnx2x *bp, u8 *c2s_map, u8 *c2s_default) argument 4256 struct bnx2x *bp = netdev_priv(dev); local 4334 struct bnx2x *bp = netdev_priv(dev); local 4364 bnx2x_free_fp_mem_at(struct bnx2x *bp, int fp_index) argument 4430 bnx2x_free_fp_mem_cnic(struct bnx2x *bp) argument 4437 bnx2x_free_fp_mem(struct bnx2x *bp) argument 4444 set_sb_shortcuts(struct bnx2x *bp, int index) argument 4464 struct bnx2x *bp = fp->bp; local 4516 bnx2x_alloc_fp_mem_at(struct bnx2x *bp, int index) argument 4659 bnx2x_alloc_fp_mem_cnic(struct bnx2x *bp) argument 4672 bnx2x_alloc_fp_mem(struct bnx2x *bp) argument 4713 bnx2x_free_mem_bp(struct bnx2x *bp) argument 4727 bnx2x_alloc_mem_bp(struct bnx2x *bp) argument 4805 struct bnx2x *bp = netdev_priv(dev); local 4814 bnx2x_get_cur_phy_idx(struct bnx2x *bp) argument 4843 bnx2x_get_link_cfg_idx(struct bnx2x *bp) argument 4865 struct bnx2x *bp = netdev_priv(dev); local 4889 struct bnx2x *bp = netdev_priv(dev); local 4919 struct bnx2x *bp = netdev_priv(dev); local 4952 struct bnx2x *bp = netdev_priv(dev); local 4992 struct bnx2x *bp = netdev_priv(dev); local 5012 struct bnx2x *bp; local 5040 struct bnx2x *bp; local 5072 bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt, u32 cid) argument 5090 storm_memset_hc_timeout(struct bnx2x *bp, u8 port, u8 fw_sb_id, u8 sb_index, u8 ticks) argument 5102 storm_memset_hc_disable(struct bnx2x *bp, u8 port, u16 fw_sb_id, u8 sb_index, u8 disable) argument 5119 bnx2x_update_coalesce_sb_index(struct bnx2x *bp, u8 fw_sb_id, u8 sb_index, u8 disable, u16 usec) argument 5131 bnx2x_schedule_sp_rtnl(struct bnx2x *bp, enum sp_rtnl_flag flag, u32 verbose) argument [all...] |
H A D | bnx2x_cmn.h | 39 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); \ 82 * @bp: driver handle 87 u32 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode); 92 * @bp: driver handle 95 void bnx2x_send_unload_done(struct bnx2x *bp, bool keep_link); 100 * @bp: driver handle 106 int bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, 112 * @bp 505 bnx2x_update_rx_prod(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 bd_prod, u16 rx_comp_prod, u16 rx_sge_prod) argument 636 bnx2x_igu_ack_sb_gen(struct bnx2x *bp, u8 igu_sb_id, u8 segment, u16 index, u8 op, u8 update, u32 igu_addr) argument 656 bnx2x_hc_ack_sb(struct bnx2x *bp, u8 sb_id, u8 storm, u16 index, u8 op, u8 update) argument 676 bnx2x_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 storm, u16 index, u8 op, u8 update) argument 696 bnx2x_hc_ack_int(struct bnx2x *bp) argument 706 bnx2x_igu_ack_int(struct bnx2x *bp) argument 718 bnx2x_ack_int(struct bnx2x *bp) argument 734 bnx2x_tx_avail(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) argument 793 bnx2x_tx_disable(struct bnx2x *bp) argument 799 bnx2x_free_rx_sge(struct bnx2x *bp, struct bnx2x_fastpath *fp, u16 index) argument 823 bnx2x_del_all_napi_cnic(struct bnx2x *bp) argument 833 bnx2x_del_all_napi(struct bnx2x *bp) argument 845 bnx2x_disable_msi(struct bnx2x *bp) argument 904 func_by_vn(struct bnx2x *bp, int vn) argument 909 bnx2x_config_rss_eth(struct bnx2x *bp, bool config_hash) argument 921 bnx2x_func_start(struct bnx2x *bp) argument 1002 bnx2x_free_rx_mem_pool(struct bnx2x *bp, struct bnx2x_alloc_pool *pool) argument 1010 bnx2x_free_rx_sge_range(struct bnx2x *bp, struct bnx2x_fastpath *fp, int last) argument 1049 struct bnx2x *bp = fp->bp; local 1062 struct bnx2x *bp = fp->bp; local 1090 bnx2x_get_path_func_num(struct bnx2x *bp) argument 1122 bnx2x_init_bp_objs(struct bnx2x *bp) argument 1161 bnx2x_init_txdata(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, u32 cid, int txq_index, __le16 *tx_cons_sb, struct bnx2x_fastpath *fp) argument 1176 bnx2x_cnic_eth_cl_id(struct bnx2x *bp, u8 cl_idx) argument 1182 bnx2x_cnic_fw_sb_id(struct bnx2x *bp) argument 1188 bnx2x_cnic_igu_sb_id(struct bnx2x *bp) argument 1193 bnx2x_clean_tx_queue(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata) argument 1219 __storm_memset_struct(struct bnx2x *bp, u32 addr, size_t size, u32 *data) argument 1233 bnx2x_wait_sp_comp(struct bnx2x *bp, unsigned long mask) argument 1285 bnx2x_extract_max_cfg(struct bnx2x *bp, u32 mf_cfg) argument 1324 bnx2x_link_sync_notify(struct bnx2x *bp) argument 1348 bnx2x_update_drv_flags(struct bnx2x *bp, u32 flags, u32 set) argument [all...] |
H A D | bnx2x_main.c | 306 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, argument 317 REG_WR(bp, addr, U64_LO(mapping)); 318 REG_WR(bp, addr + 4, U64_HI(mapping)); 321 static void storm_memset_spq_addr(struct bnx2x *bp, argument 327 __storm_memset_dma_mapping(bp, addr, mapping); 330 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, argument 333 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_VF_TO_PF_OFFSET(abs_fid), 335 REG_WR8(bp, BAR_CSTRORM_INTME 343 storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, u8 enable) argument 356 storm_memset_eq_data(struct bnx2x *bp, struct event_ring_data *eq_data, u16 pfid) argument 367 storm_memset_eq_prod(struct bnx2x *bp, u16 eq_prod, u16 pfid) argument 377 bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val) argument 385 bnx2x_reg_rd_ind(struct bnx2x *bp, u32 addr) argument 403 bnx2x_dp_dmae(struct bnx2x *bp, struct dmae_command *dmae, int msglvl) argument 470 bnx2x_post_dmae(struct bnx2x *bp, struct dmae_command *dmae, int idx) argument 493 bnx2x_dmae_opcode(struct bnx2x *bp, u8 src_type, u8 dst_type, bool with_comp, u8 comp_type) argument 518 bnx2x_prep_dmae_with_comp(struct bnx2x *bp, struct dmae_command *dmae, u8 src_type, u8 dst_type) argument 535 bnx2x_issue_dmae_with_comp(struct bnx2x *bp, struct dmae_command *dmae, u32 *comp) argument 582 bnx2x_write_dmae(struct bnx2x *bp, dma_addr_t dma_addr, u32 dst_addr, u32 len32) argument 618 bnx2x_read_dmae(struct bnx2x *bp, u32 src_addr, u32 len32) argument 657 bnx2x_write_dmae_phys_len(struct bnx2x *bp, dma_addr_t phys_addr, u32 addr, u32 len) argument 684 bnx2x_get_assert_list_entry(struct bnx2x *bp, enum storms storm, int entry) argument 704 bnx2x_mc_assert(struct bnx2x *bp) argument 771 bnx2x_fw_dump_lvl(struct bnx2x *bp, const char *lvl) argument 849 bnx2x_fw_dump(struct bnx2x *bp) argument 854 bnx2x_hc_int_disable(struct bnx2x *bp) argument 889 bnx2x_igu_int_disable(struct bnx2x *bp) argument 904 bnx2x_int_disable(struct bnx2x *bp) argument 912 bnx2x_panic_dump(struct bnx2x *bp, bool disable_int) argument 1227 bnx2x_pbf_pN_buf_flushed(struct bnx2x *bp, struct pbf_pN_buf_regs *regs, u32 poll_count) argument 1262 bnx2x_pbf_pN_cmd_flushed(struct bnx2x *bp, struct pbf_pN_cmd_regs *regs, u32 poll_count) argument 1294 bnx2x_flr_clnup_reg_poll(struct bnx2x *bp, u32 reg, u32 expected, u32 poll_count) argument 1306 bnx2x_flr_clnup_poll_hw_counter(struct bnx2x *bp, u32 reg, char *msg, u32 poll_cnt) argument 1318 bnx2x_flr_clnup_poll_count(struct bnx2x *bp) argument 1330 bnx2x_tx_hw_flushed(struct bnx2x *bp, u32 poll_count) argument 1403 bnx2x_send_final_clnup(struct bnx2x *bp, u8 clnup_func, u32 poll_cnt) argument 1445 bnx2x_poll_hw_usage_counters(struct bnx2x *bp, u32 poll_cnt) argument 1490 bnx2x_hw_enable_status(struct bnx2x *bp) argument 1520 bnx2x_pf_flr_clnup(struct bnx2x *bp) argument 1564 bnx2x_hc_int_enable(struct bnx2x *bp) argument 1629 bnx2x_igu_int_enable(struct bnx2x *bp) argument 1689 bnx2x_int_enable(struct bnx2x *bp) argument 1697 bnx2x_int_disable_sync(struct bnx2x *bp, int disable_hw) argument 1730 bnx2x_trylock_hw_lock(struct bnx2x *bp, u32 resource) argument 1773 bnx2x_get_leader_lock_resource(struct bnx2x *bp) argument 1788 bnx2x_trylock_leader_lock(struct bnx2x *bp) argument 1796 bnx2x_schedule_sp_task(struct bnx2x *bp) argument 1816 struct bnx2x *bp = fp->bp; local 1924 struct bnx2x *bp = netdev_priv(dev_instance); local 1997 bnx2x_acquire_hw_lock(struct bnx2x *bp, u32 resource) argument 2041 bnx2x_release_leader_lock(struct bnx2x *bp) argument 2046 bnx2x_release_hw_lock(struct bnx2x *bp, u32 resource) argument 2079 bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port) argument 2107 bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port) argument 2163 bnx2x_set_mult_gpio(struct bnx2x *bp, u8 pins, u32 mode) argument 2210 bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port) argument 2258 bnx2x_set_spio(struct bnx2x *bp, int spio, u32 mode) argument 2303 bnx2x_calc_fc_adv(struct bnx2x *bp) argument 2325 bnx2x_set_requested_fc(struct bnx2x *bp) argument 2337 bnx2x_init_dropless_fc(struct bnx2x *bp) argument 2354 bnx2x_initial_phy_init(struct bnx2x *bp, int load_mode) argument 2407 bnx2x_link_set(struct bnx2x *bp) argument 2421 bnx2x__link_reset(struct bnx2x *bp) argument 2431 bnx2x_force_link_reset(struct bnx2x *bp) argument 2438 bnx2x_link_test(struct bnx2x *bp, u8 is_serdes) argument 2462 bnx2x_calc_vn_min(struct bnx2x *bp, struct cmng_init_input *input) argument 2500 bnx2x_calc_vn_max(struct bnx2x *bp, int vn, struct cmng_init_input *input) argument 2524 bnx2x_get_cmng_fns_mode(struct bnx2x *bp) argument 2534 bnx2x_read_mf_cfg(struct bnx2x *bp) argument 2570 bnx2x_cmng_fns_init(struct bnx2x *bp, u8 read_cfg, u8 cmng_type) argument 2605 storm_memset_cmng(struct bnx2x *bp, struct cmng_init *cmng, u8 port) argument 2635 bnx2x_set_local_cmng(struct bnx2x *bp) argument 2650 bnx2x_link_attn(struct bnx2x *bp) argument 2682 bnx2x__link_status_update(struct bnx2x *bp) argument 2741 bnx2x_afex_func_update(struct bnx2x *bp, u16 vifid, u16 vlan_val, u8 allowed_prio) argument 2766 bnx2x_afex_handle_vif_list_cmd(struct bnx2x *bp, u8 cmd_type, u16 vif_index, u8 func_bit_map) argument 2804 bnx2x_handle_afex_cmd(struct bnx2x *bp, u32 cmd) argument 2925 bnx2x_handle_update_svid_cmd(struct bnx2x *bp) argument 2980 bnx2x_pmf_update(struct bnx2x *bp) argument 3021 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param) argument 3063 storm_memset_func_cfg(struct bnx2x *bp, struct tstorm_eth_function_common_config *tcfg, u16 abs_fid) argument 3075 bnx2x_func_init(struct bnx2x *bp, struct bnx2x_func_init_params *p) argument 3104 bnx2x_get_common_flags(struct bnx2x *bp, struct bnx2x_fastpath *fp, bool zero_stats) argument 3135 bnx2x_get_q_flags(struct bnx2x *bp, struct bnx2x_fastpath *fp, bool leading) argument 3173 bnx2x_pf_q_prep_general(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_general_setup_params *gen_init, u8 cos) argument 3191 bnx2x_pf_rx_q_prep(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct rxq_pause_params *pause, struct bnx2x_rxq_setup_params *rxq_init) argument 3279 bnx2x_pf_tx_q_prep(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_txq_setup_params *txq_init, u8 cos) argument 3300 bnx2x_pf_init(struct bnx2x *bp) argument 3352 bnx2x_e1h_disable(struct bnx2x *bp) argument 3361 bnx2x_e1h_enable(struct bnx2x *bp) argument 3379 bnx2x_drv_info_ether_stat(struct bnx2x *bp) argument 3422 bnx2x_drv_info_fcoe_stat(struct bnx2x *bp) argument 3524 bnx2x_drv_info_iscsi_stat(struct bnx2x *bp) argument 3548 bnx2x_config_mf_bw(struct bnx2x *bp) argument 3567 bnx2x_set_mf_bw(struct bnx2x *bp) argument 3573 bnx2x_handle_eee_event(struct bnx2x *bp) argument 3582 bnx2x_handle_drv_info_req(struct bnx2x *bp) argument 3683 bnx2x_update_mng_version(struct bnx2x *bp) argument 3731 bnx2x_update_mfw_dump(struct bnx2x *bp) argument 3757 bnx2x_oem_event(struct bnx2x *bp, u32 event) argument 3814 bnx2x_sp_get_next(struct bnx2x *bp) argument 3830 bnx2x_sp_prod_update(struct bnx2x *bp) argument 3879 bnx2x_sp_post(struct bnx2x *bp, int command, int cid, u32 data_hi, u32 data_lo, int cmd_type) argument 3958 bnx2x_acquire_alr(struct bnx2x *bp) argument 3981 bnx2x_release_alr(struct bnx2x *bp) argument 3989 bnx2x_update_dsb_idx(struct bnx2x *bp) argument 4014 bnx2x_attn_int_asserted(struct bnx2x *bp, u32 asserted) argument 4136 bnx2x_fan_failure(struct bnx2x *bp) argument 4161 bnx2x_attn_int_deasserted0(struct bnx2x *bp, u32 attn) argument 4201 bnx2x_attn_int_deasserted1(struct bnx2x *bp, u32 attn) argument 4232 bnx2x_attn_int_deasserted2(struct bnx2x *bp, u32 attn) argument 4276 bnx2x_attn_int_deasserted3(struct bnx2x *bp, u32 attn) argument 4407 bnx2x_set_reset_global(struct bnx2x *bp) argument 4421 bnx2x_clear_reset_global(struct bnx2x *bp) argument 4435 bnx2x_reset_is_global(struct bnx2x *bp) argument 4448 bnx2x_set_reset_done(struct bnx2x *bp) argument 4468 bnx2x_set_reset_in_progress(struct bnx2x *bp) argument 4486 bnx2x_reset_is_done(struct bnx2x *bp, int engine) argument 4501 bnx2x_set_pf_load(struct bnx2x *bp) argument 4539 bnx2x_clear_pf_load(struct bnx2x *bp) argument 4573 bnx2x_get_load_status(struct bnx2x *bp, int engine) argument 4591 _print_parity(struct bnx2x *bp, u32 reg) argument 4601 bnx2x_check_blocks_with_parity0(struct bnx2x *bp, u32 sig, int *par_num, bool print) argument 4665 bnx2x_check_blocks_with_parity1(struct bnx2x *bp, u32 sig, int *par_num, bool *global, bool print) argument 4809 bnx2x_check_blocks_with_parity2(struct bnx2x *bp, u32 sig, int *par_num, bool print) argument 4883 bnx2x_check_blocks_with_parity3(struct bnx2x *bp, u32 sig, int *par_num, bool *global, bool print) argument 4932 bnx2x_check_blocks_with_parity4(struct bnx2x *bp, u32 sig, int *par_num, bool print) argument 4968 bnx2x_parity_attn(struct bnx2x *bp, bool *global, bool print, u32 *sig) argument 5024 bnx2x_chk_parity_attn(struct bnx2x *bp, bool *global, bool print) argument 5058 bnx2x_attn_int_deasserted4(struct bnx2x *bp, u32 attn) argument 5111 bnx2x_attn_int_deasserted(struct bnx2x *bp, u32 deasserted) argument 5212 bnx2x_attn_int(struct bnx2x *bp) argument 5240 bnx2x_igu_ack_sb(struct bnx2x *bp, u8 igu_sb_id, u8 segment, u16 index, u8 op, u8 update) argument 5249 bnx2x_update_eq_prod(struct bnx2x *bp, u16 prod) argument 5255 bnx2x_cnic_handle_cfc_del(struct bnx2x *bp, u32 cid, union event_ring_elem *elem) argument 5277 bnx2x_handle_mcast_eqe(struct bnx2x *bp) argument 5302 bnx2x_handle_classification_eqe(struct bnx2x *bp, union event_ring_elem *elem) argument 5349 bnx2x_handle_rx_mode_eqe(struct bnx2x *bp) argument 5368 bnx2x_after_afex_vif_lists(struct bnx2x *bp, union event_ring_elem *elem) argument 5385 bnx2x_after_function_update(struct bnx2x *bp) argument 5449 bnx2x_cid_to_q_obj( struct bnx2x *bp, u32 cid) argument 5460 bnx2x_eq_int(struct bnx2x *bp) argument 5684 struct bnx2x *bp = container_of(work, struct bnx2x, sp_task.work); local 5748 struct bnx2x *bp = netdev_priv(dev); local 5778 bnx2x_drv_pulse(struct bnx2x *bp) argument 5786 struct bnx2x *bp = from_timer(bp, t, timer); local 5832 bnx2x_fill(struct bnx2x *bp, u32 addr, int fill, u32 len) argument 5844 bnx2x_wr_fp_sb_data(struct bnx2x *bp, int fw_sb_id, u32 *sb_data_p, u32 data_size) argument 5857 bnx2x_zero_fp_sb(struct bnx2x *bp, int fw_sb_id) argument 5890 bnx2x_wr_sp_sb_data(struct bnx2x *bp, struct hc_sp_status_block_data *sp_sb_data) argument 5902 bnx2x_zero_sp_sb(struct bnx2x *bp) argument 5959 bnx2x_init_sb(struct bnx2x *bp, dma_addr_t mapping, int vfid, u8 vf_valid, int fw_sb_id, int igu_sb_id) argument 6019 bnx2x_update_coalesce_sb(struct bnx2x *bp, u8 fw_sb_id, u16 tx_usec, u16 rx_usec) argument 6035 bnx2x_init_def_sb(struct bnx2x *bp) argument 6118 bnx2x_update_coalesce(struct bnx2x *bp) argument 6127 bnx2x_init_sp_ring(struct bnx2x *bp) argument 6138 bnx2x_init_eq_ring(struct bnx2x *bp) argument 6161 bnx2x_set_q_rx_mode(struct bnx2x *bp, u8 cl_id, unsigned long rx_mode_flags, unsigned long rx_accept_flags, unsigned long tx_accept_flags, unsigned long ramrod_flags) argument 6201 bnx2x_fill_accept_flags(struct bnx2x *bp, u32 rx_mode, unsigned long *rx_accept_flags, unsigned long *tx_accept_flags) argument 6280 bnx2x_set_storm_rx_mode(struct bnx2x *bp) argument 6303 bnx2x_init_internal_common(struct bnx2x *bp) argument 6319 bnx2x_init_internal(struct bnx2x *bp, u32 load_code) argument 6360 bnx2x_init_eth_fp(struct bnx2x *bp, int fp_idx) argument 6446 bnx2x_init_tx_rings_cnic(struct bnx2x *bp) argument 6454 bnx2x_init_tx_rings(struct bnx2x *bp) argument 6464 bnx2x_init_fcoe_fp(struct bnx2x *bp) argument 6505 bnx2x_nic_init_cnic(struct bnx2x *bp) argument 6523 bnx2x_pre_irq_nic_init(struct bnx2x *bp) argument 6551 bnx2x_post_irq_nic_init(struct bnx2x *bp, u32 load_code) argument 6570 bnx2x_gunzip_init(struct bnx2x *bp) argument 6601 bnx2x_gunzip_end(struct bnx2x *bp) argument 6616 bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len) argument 6669 bnx2x_lb_pckt(struct bnx2x *bp) argument 6690 bnx2x_int_mem_test(struct bnx2x *bp) argument 6835 bnx2x_enable_blocks_attention(struct bnx2x *bp) argument 6895 bnx2x_reset_common(struct bnx2x *bp) argument 6911 bnx2x_setup_dmae(struct bnx2x *bp) argument 6917 bnx2x_init_pxp(struct bnx2x *bp) argument 6935 bnx2x_setup_fan_failure_detection(struct bnx2x *bp) argument 6985 bnx2x_pf_disable(struct bnx2x *bp) argument 6995 bnx2x__common_init_phy(struct bnx2x *bp) argument 7016 bnx2x_config_endianity(struct bnx2x *bp, u32 val) argument 7033 bnx2x_set_endianity(struct bnx2x *bp) argument 7042 bnx2x_reset_endianity(struct bnx2x *bp) argument 7052 bnx2x_init_hw_common(struct bnx2x *bp) argument 7498 bnx2x_init_hw_common_chip(struct bnx2x *bp) argument 7512 bnx2x_init_hw_port(struct bnx2x *bp) argument 7740 bnx2x_ilt_wr(struct bnx2x *bp, u32 index, dma_addr_t addr) argument 7755 bnx2x_igu_clear_sb_gen(struct bnx2x *bp, u8 func, u8 idu_sb_id, bool is_pf) argument 7798 bnx2x_igu_clear_sb(struct bnx2x *bp, u8 idu_sb_id) argument 7803 bnx2x_clear_func_ilt(struct bnx2x *bp, u32 func) argument 7810 bnx2x_init_searcher(struct bnx2x *bp) argument 7818 bnx2x_func_switch_update(struct bnx2x *bp, int suspend) argument 7844 bnx2x_reset_nic_mode(struct bnx2x *bp) argument 7916 bnx2x_init_hw_func_cnic(struct bnx2x *bp) argument 7943 bnx2x_clean_pglue_errors(struct bnx2x *bp) argument 7950 bnx2x_init_hw_func(struct bnx2x *bp) argument 8267 bnx2x_free_mem_cnic(struct bnx2x *bp) argument 8281 bnx2x_free_mem(struct bnx2x *bp) argument 8314 bnx2x_alloc_mem_cnic(struct bnx2x *bp) argument 8351 bnx2x_alloc_mem(struct bnx2x *bp) argument 8430 bnx2x_set_mac_one(struct bnx2x *bp, const u8 *mac, struct bnx2x_vlan_mac_obj *obj, bool set, int mac_type, unsigned long *ramrod_flags) argument 8468 bnx2x_set_vlan_one(struct bnx2x *bp, u16 vlan, struct bnx2x_vlan_mac_obj *obj, bool set, unsigned long *ramrod_flags) argument 8505 bnx2x_clear_vlan_info(struct bnx2x *bp) argument 8516 bnx2x_del_all_vlans(struct bnx2x *bp) argument 8533 bnx2x_del_all_macs(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *mac_obj, int mac_type, bool wait_for_comp) argument 8554 bnx2x_set_eth_mac(struct bnx2x *bp, bool set) argument 8570 bnx2x_setup_leading(struct bnx2x *bp) argument 8585 bnx2x_set_int_mode(struct bnx2x *bp) argument 8630 bnx2x_cid_ilt_lines(struct bnx2x *bp) argument 8637 bnx2x_ilt_set_info(struct bnx2x *bp) argument 8738 bnx2x_pf_q_prep_init(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_queue_init_params *init_params) argument 8789 bnx2x_setup_tx_only(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_queue_state_params *q_params, struct bnx2x_queue_setup_tx_only_params *tx_only_params, int tx_index, bool leading) argument 8832 bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp, bool leading) argument 8916 bnx2x_stop_queue(struct bnx2x *bp, int index) argument 8982 bnx2x_reset_func(struct bnx2x *bp) argument 9063 bnx2x_reset_port(struct bnx2x *bp) argument 9092 bnx2x_reset_hw(struct bnx2x *bp, u32 load_code) argument 9107 bnx2x_func_stop(struct bnx2x *bp) argument 9145 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode) argument 9217 bnx2x_send_unload_done(struct bnx2x *bp, bool keep_link) argument 9226 bnx2x_func_wait_started(struct bnx2x *bp) argument 9293 bnx2x_disable_ptp(struct bnx2x *bp) argument 9317 bnx2x_stop_ptp(struct bnx2x *bp) argument 9335 bnx2x_chip_cleanup(struct bnx2x *bp, int unload_mode, bool keep_link) argument 9505 bnx2x_disable_close_the_gate(struct bnx2x *bp) argument 9528 bnx2x_set_234_gates(struct bnx2x *bp, bool close) argument 9568 bnx2x_clp_reset_prep(struct bnx2x *bp, u32 *magic_val) argument 9582 bnx2x_clp_reset_done(struct bnx2x *bp, u32 magic_val) argument 9598 bnx2x_reset_mcp_prep(struct bnx2x *bp, u32 *magic_val) argument 9627 bnx2x_mcp_wait_one(struct bnx2x *bp) argument 9640 bnx2x_init_shmem(struct bnx2x *bp) argument 9671 bnx2x_reset_mcp_comp(struct bnx2x *bp, u32 magic_val) argument 9682 bnx2x_pxp_prep(struct bnx2x *bp) argument 9700 bnx2x_process_kill_chip_reset(struct bnx2x *bp, bool global) argument 9804 bnx2x_er_poll_igu_vq(struct bnx2x *bp) argument 9827 bnx2x_process_kill(struct bnx2x *bp, bool global) argument 9914 bnx2x_leader_reset(struct bnx2x *bp) argument 9974 bnx2x_recovery_failed(struct bnx2x *bp) argument 10000 bnx2x_parity_recover(struct bnx2x *bp) argument 10163 bnx2x_udp_port_update(struct bnx2x *bp) argument 10211 struct bnx2x *bp = netdev_priv(netdev); local 10237 struct bnx2x *bp = container_of(work, struct bnx2x, sp_rtnl_task.work); local 10367 struct bnx2x *bp = container_of(work, struct bnx2x, period_task.work); local 10400 bnx2x_get_pretend_reg(struct bnx2x *bp) argument 10407 bnx2x_prev_unload_close_umac(struct bnx2x *bp, u8 port, u32 reset_reg, struct bnx2x_mac_vals *vals) argument 10426 bnx2x_prev_unload_close_mac(struct bnx2x *bp, struct bnx2x_mac_vals *vals) argument 10505 bnx2x_prev_is_after_undi(struct bnx2x *bp) argument 10522 bnx2x_prev_unload_undi_inc(struct bnx2x *bp, u8 inc) argument 10543 bnx2x_prev_mcp_done(struct bnx2x *bp) argument 10556 bnx2x_prev_path_get_entry(struct bnx2x *bp) argument 10569 bnx2x_prev_path_mark_eeh(struct bnx2x *bp) argument 10594 bnx2x_prev_is_path_marked(struct bnx2x *bp) argument 10619 bnx2x_port_after_undi(struct bnx2x *bp) argument 10634 bnx2x_prev_mark_path(struct bnx2x *bp, bool after_undi) argument 10687 bnx2x_do_flr(struct bnx2x *bp) argument 10712 bnx2x_prev_unload_uncommon(struct bnx2x *bp) argument 10757 bnx2x_prev_unload_common(struct bnx2x *bp) argument 10854 bnx2x_prev_unload(struct bnx2x *bp) argument 10937 bnx2x_get_common_hwinfo(struct bnx2x *bp) argument 11126 bnx2x_get_igu_cam_info(struct bnx2x *bp) argument 11185 bnx2x_link_settings_supported(struct bnx2x *bp, u32 switch_cfg) argument 11286 bnx2x_link_settings_requested(struct bnx2x *bp) argument 11493 bnx2x_get_port_hwinfo(struct bnx2x *bp) argument 11577 bnx2x_get_iscsi_info(struct bnx2x *bp) argument 11605 bnx2x_get_ext_wwn_info(struct bnx2x *bp, int func) argument 11620 bnx2x_shared_fcoe_funcs(struct bnx2x *bp) argument 11662 bnx2x_get_fcoe_info(struct bnx2x *bp) argument 11731 bnx2x_get_cnic_info(struct bnx2x *bp) argument 11742 bnx2x_get_cnic_mac_hwinfo(struct bnx2x *bp) argument 11834 bnx2x_get_mac_hwinfo(struct bnx2x *bp) argument 11886 bnx2x_get_dropless_info(struct bnx2x *bp) argument 11909 validate_set_si_mode(struct bnx2x *bp) argument 11925 bnx2x_get_hwinfo(struct bnx2x *bp) argument 12207 bnx2x_read_fwinfo(struct bnx2x *bp) argument 12240 bnx2x_set_modes_bitmap(struct bnx2x *bp) argument 12290 bnx2x_init_bp(struct bnx2x *bp) argument 12437 struct bnx2x *bp = netdev_priv(dev); local 12507 struct bnx2x *bp = netdev_priv(dev); local 12538 bnx2x_init_mcast_macs_list(struct bnx2x *bp, struct bnx2x_mcast_ramrod_params *p, struct list_head *mcast_group_list) argument 12580 bnx2x_set_uc_list(struct bnx2x *bp) argument 12618 bnx2x_set_mc_list_e1x(struct bnx2x *bp) argument 12653 bnx2x_set_mc_list(struct bnx2x *bp) argument 12693 struct bnx2x *bp = netdev_priv(dev); local 12705 bnx2x_set_rx_mode_inner(struct bnx2x *bp) argument 12768 struct bnx2x *bp = netdev_priv(netdev); local 12792 struct bnx2x *bp = netdev_priv(netdev); local 12811 struct bnx2x *bp = netdev_priv(dev); local 12829 struct bnx2x *bp = netdev_priv(dev); local 12845 struct bnx2x *bp = netdev_priv(netdev); local 12882 __bnx2x_vlan_configure_vid(struct bnx2x *bp, u16 vid, bool add) argument 12899 bnx2x_vlan_configure_vid_list(struct bnx2x *bp) argument 12926 bnx2x_vlan_configure(struct bnx2x *bp, bool set_rx_mode) argument 12945 bnx2x_vlan_reconfigure_vid(struct bnx2x *bp) argument 12955 struct bnx2x *bp = netdev_priv(dev); local 12976 struct bnx2x *bp = netdev_priv(dev); local 13042 bnx2x_init_dev(struct bnx2x *bp, struct pci_dev *pdev, struct net_device *dev, unsigned long board_type) argument 13263 bnx2x_check_firmware(struct bnx2x *bp) argument 13389 bnx2x_init_firmware(struct bnx2x *bp) argument 13489 bnx2x_release_firmware(struct bnx2x *bp) argument 13515 bnx2x__init_func_obj(struct bnx2x *bp) argument 13529 bnx2x_set_qm_cid_count(struct bnx2x *bp) argument 13636 bnx2x_send_update_drift_ramrod(struct bnx2x *bp, int drift_dir, int best_val, int best_period) argument 13663 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); local 13732 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); local 13749 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); local 13770 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); local 13793 struct bnx2x *bp = container_of(ptp, struct bnx2x, ptp_clock_info); local 13799 bnx2x_register_phc(struct bnx2x *bp) argument 13826 struct bnx2x *bp; local 14026 __bnx2x_remove(struct pci_dev *pdev, struct net_device *dev, struct bnx2x *bp, bool remove_netdev) argument 14119 struct bnx2x *bp; local 14130 bnx2x_eeh_nic_unload(struct bnx2x *bp) argument 14171 struct bnx2x *bp = netdev_priv(dev); local 14206 struct bnx2x *bp = netdev_priv(dev); local 14291 struct bnx2x *bp = netdev_priv(dev); local 14325 struct bnx2x *bp; local 14401 bnx2x_notify_link_changed(struct bnx2x *bp) argument 14416 bnx2x_set_iscsi_eth_mac_addr(struct bnx2x *bp) argument 14427 bnx2x_cnic_sp_post(struct bnx2x *bp, int count) argument 14511 struct bnx2x *bp = netdev_priv(dev); local 14559 bnx2x_cnic_ctl_send(struct bnx2x *bp, struct cnic_ctl_info *ctl) argument 14574 bnx2x_cnic_ctl_send_bh(struct bnx2x *bp, struct cnic_ctl_info *ctl) argument 14591 bnx2x_cnic_notify(struct bnx2x *bp, int cmd) argument 14600 bnx2x_cnic_cfc_comp(struct bnx2x *bp, int cid, u8 err) argument 14618 bnx2x_set_iscsi_eth_rx_mode(struct bnx2x *bp, bool start) argument 14655 struct bnx2x *bp = netdev_priv(dev); local 14835 struct bnx2x *bp = netdev_priv(dev); local 14898 bnx2x_setup_cnic_irq_info(struct bnx2x *bp) argument 14926 bnx2x_setup_cnic_info(struct bnx2x *bp) argument 14947 struct bnx2x *bp = netdev_priv(dev); local 15002 struct bnx2x *bp = netdev_priv(dev); local 15019 struct bnx2x *bp = netdev_priv(dev); local 15070 struct bnx2x *bp = fp->bp; local 15088 bnx2x_pretend_func(struct bnx2x *bp, u16 pretend_func_val) argument 15104 struct bnx2x *bp = container_of(work, struct bnx2x, ptp_task); local 15155 bnx2x_set_rx_ts(struct bnx2x *bp, struct sk_buff *skb) argument 15181 struct bnx2x *bp = container_of(cc, struct bnx2x, cyclecounter); local 15196 bnx2x_init_cyclecounter(struct bnx2x *bp) argument 15205 bnx2x_send_reset_timesync_ramrod(struct bnx2x *bp) argument 15225 bnx2x_enable_ptp_packets(struct bnx2x *bp) argument 15270 bnx2x_configure_ptp_filters(struct bnx2x *bp) argument 15354 bnx2x_hwtstamp_ioctl(struct bnx2x *bp, struct ifreq *ifr) argument 15382 bnx2x_configure_ptp(struct bnx2x *bp) argument 15427 bnx2x_init_ptp(struct bnx2x *bp) argument [all...] |
H A D | bnx2x.h | 53 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt) 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 551 struct bnx2x *bp; /* parent */ member in struct:bnx2x_fastpath 2075 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, int wait) argument [all...] |
H A D | bnx2x_sriov.h | 219 #define BNX2X_NR_VIRTFN(bp) ((bp)->vfdb->sriov.nr_virtfn) 221 #define for_each_vf(bp, var) \ 222 for ((var) = 0; (var) < BNX2X_NR_VIRTFN(bp); (var)++) 232 #define HW_VF_HANDLE(bp, abs_vfid) \ 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 */ 241 #define GET_NUM_VFS_PER_PF(bp) ((bp)->vfdb ? (bp) 518 bnx2x_vf_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) argument 524 bnx2x_vf_ustorm_prods_offset(struct bnx2x *bp, struct bnx2x_fastpath *fp) argument 539 bnx2x_vf_headroom(struct bnx2x *bp) argument 564 bnx2x_iov_set_queue_sp_obj(struct bnx2x *bp, int vf_cid, struct bnx2x_queue_sp_obj **q_obj) argument 566 bnx2x_vf_handle_flr_event(struct bnx2x *bp) argument 567 bnx2x_iov_eq_sp_event(struct bnx2x *bp, union event_ring_elem *elem) argument 569 bnx2x_vf_mbx(struct bnx2x *bp) argument 570 bnx2x_vf_mbx_schedule(struct bnx2x *bp, struct vf_pf_event_data *vfpf_event) argument 572 bnx2x_iov_init_ilt(struct bnx2x *bp, u16 line) argument 573 bnx2x_iov_init_dq(struct bnx2x *bp) argument 574 bnx2x_iov_alloc_mem(struct bnx2x *bp) argument 575 bnx2x_iov_free_mem(struct bnx2x *bp) argument 576 bnx2x_iov_chip_cleanup(struct bnx2x *bp) argument 577 bnx2x_iov_init_dmae(struct bnx2x *bp) argument 578 bnx2x_iov_init_one(struct bnx2x *bp, int int_mode_param, int num_vfs_param) argument 580 bnx2x_iov_remove_one(struct bnx2x *bp) argument 581 bnx2x_enable_sriov(struct bnx2x *bp) argument 582 bnx2x_disable_sriov(struct bnx2x *bp) argument 583 bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count) argument 585 bnx2x_vfpf_release(struct bnx2x *bp) argument 586 bnx2x_vfpf_init(struct bnx2x *bp) argument 587 bnx2x_vfpf_close_vf(struct bnx2x *bp) argument 588 bnx2x_vfpf_setup_q(struct bnx2x *bp, struct bnx2x_fastpath *fp, bool is_leading) argument 589 bnx2x_vfpf_config_mac(struct bnx2x *bp, const u8 *addr, u8 vf_qid, bool set) argument 591 bnx2x_vfpf_config_rss(struct bnx2x *bp, struct bnx2x_config_rss_params *params) argument 594 bnx2x_vfpf_storm_rx_mode(struct bnx2x *bp) argument 595 bnx2x_iov_nic_init(struct bnx2x *bp) argument 596 bnx2x_vf_headroom(struct bnx2x *bp) argument 597 bnx2x_iov_adjust_stats_req(struct bnx2x *bp) argument 598 bnx2x_vf_fill_fw_str(struct bnx2x *bp, char *buf, size_t buf_len) argument 600 bnx2x_vf_ustorm_prods_offset(struct bnx2x *bp, struct bnx2x_fastpath *fp) argument 602 bnx2x_sample_bulletin(struct bnx2x *bp) argument 606 bnx2x_timer_sriov(struct bnx2x *bp) argument 608 bnx2x_vf_doorbells(struct bnx2x *bp) argument 613 bnx2x_vf_pci_dealloc(struct bnx2x *bp) argument 614 bnx2x_vf_pci_alloc(struct bnx2x *bp) argument 615 bnx2x_pf_set_vfs_vlan(struct bnx2x *bp) argument 617 bnx2x_iov_channel_down(struct bnx2x *bp) argument 620 bnx2x_schedule_iov_task(struct bnx2x *bp, enum bnx2x_iov_flag flag) argument 621 bnx2x_iov_link_update(struct bnx2x *bp) argument 622 bnx2x_iov_link_update_vf(struct bnx2x *bp, int idx) argument 630 bnx2x_vfpf_update_vlan(struct bnx2x *bp, u16 vid, u8 vf_qid, bool add) argument [all...] |
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.c | 22 #define BUFFER_CHECK(bp) do { \ 23 if ((bp)->signature != BUFFER_SIG) { \ 26 (bp), __FILE__, __LINE__); \ 27 pvr2_buffer_describe(bp, "BadSig"); \ 32 #define BUFFER_CHECK(bp) do {} while (0) 99 static void pvr2_buffer_describe(struct pvr2_buffer *bp, const char *msg) argument 105 bp, 106 (bp ? pvr2_buffer_state_decode(bp->state) : "(invalid)"), 107 (bp 115 pvr2_buffer_remove(struct pvr2_buffer *bp) argument 149 pvr2_buffer_set_none(struct pvr2_buffer *bp) argument 165 pvr2_buffer_set_ready(struct pvr2_buffer *bp) argument 192 pvr2_buffer_set_idle(struct pvr2_buffer *bp) argument 216 pvr2_buffer_set_queued(struct pvr2_buffer *bp) argument 240 pvr2_buffer_wipe(struct pvr2_buffer *bp) argument 247 pvr2_buffer_init(struct pvr2_buffer *bp, struct pvr2_stream *sp, unsigned int id) argument 267 pvr2_buffer_done(struct pvr2_buffer *bp) argument 313 struct pvr2_buffer *bp; local 327 struct pvr2_buffer *bp; local 352 struct pvr2_buffer *bp; local 417 struct pvr2_buffer *bp = urb->context; local 575 struct pvr2_buffer *bp; local 589 pvr2_buffer_queue(struct pvr2_buffer *bp) argument 630 pvr2_buffer_set_buffer(struct pvr2_buffer *bp, void *ptr, unsigned int cnt) argument 659 pvr2_buffer_get_count(struct pvr2_buffer *bp) argument 664 pvr2_buffer_get_status(struct pvr2_buffer *bp) argument 669 pvr2_buffer_get_id(struct pvr2_buffer *bp) argument [all...] |
/linux-master/drivers/net/ethernet/cadence/ |
H A D | macb_ptp.c | 28 static struct macb_dma_desc_ptp *macb_ptp_desc(struct macb *bp, argument 31 if (bp->hw_dma_cap == HW_DMA_CAP_PTP) 34 if (bp->hw_dma_cap == HW_DMA_CAP_64B_PTP) 44 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); local 49 spin_lock_irqsave(&bp->tsu_clk_lock, flags); 51 first = gem_readl(bp, TN); 53 secl = gem_readl(bp, TSL); 54 sech = gem_readl(bp, TSH); 55 second = gem_readl(bp, TN); 63 ts->tv_nsec = gem_readl(bp, T 80 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); local 102 gem_tsu_incr_set(struct macb *bp, struct tsu_incr *incr_spec) argument 124 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); local 159 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); local 205 gem_ptp_init_timer(struct macb *bp) argument 220 gem_ptp_init_tsu(struct macb *bp) argument 236 gem_ptp_clear_timer(struct macb *bp) argument 246 gem_hw_timestamp(struct macb *bp, u32 dma_desc_ts_1, u32 dma_desc_ts_2, struct timespec64 *ts) argument 274 gem_ptp_rxstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc) argument 295 gem_ptp_txstamp(struct macb *bp, struct sk_buff *skb, struct macb_dma_desc *desc) argument 327 struct macb *bp = netdev_priv(dev); local 356 struct macb *bp = netdev_priv(ndev); local 367 gem_ptp_set_ts_mode(struct macb *bp, enum macb_bd_control tx_bd_control, enum macb_bd_control rx_bd_control) argument 380 struct macb *bp = netdev_priv(dev); local 389 gem_ptp_set_one_step_sync(struct macb *bp, u8 enable) argument 407 struct macb *bp = netdev_priv(dev); local [all...] |
H A D | macb_main.c | 56 #define RX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ 57 * (bp)->rx_ring_size) 62 #define TX_RING_BYTES(bp) (macb_dma_desc_get_size(bp) \ 63 * (bp)->tx_ring_size) 66 #define MACB_TX_WAKEUP_THRESH(bp) (3 * (bp)->tx_ring_size / 4) 128 static unsigned int macb_dma_desc_get_size(struct macb *bp) argument 133 switch (bp 155 macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) argument 174 macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) argument 182 macb_tx_ring_wrap(struct macb *bp, unsigned int index) argument 211 macb_rx_ring_wrap(struct macb *bp, unsigned int index) argument 230 hw_readl_native(struct macb *bp, int offset) argument 235 hw_writel_native(struct macb *bp, int offset, u32 value) argument 240 hw_readl(struct macb *bp, int offset) argument 245 hw_writel(struct macb *bp, int offset, u32 value) argument 279 macb_set_hwaddr(struct macb *bp) argument 303 macb_get_hwaddr(struct macb *bp) argument 332 macb_mdio_wait_for_idle(struct macb *bp) argument 342 struct macb *bp = bus->priv; local 375 struct macb *bp = bus->priv; local 421 struct macb *bp = bus->priv; local 454 struct macb *bp = bus->priv; local 496 macb_init_buffers(struct macb *bp) argument 522 macb_set_tx_clk(struct macb *bp, int speed) argument 569 struct macb *bp = container_of(pcs, struct macb, phylink_usx_pcs); local 583 struct macb *bp = container_of(pcs, struct macb, phylink_usx_pcs); local 603 struct macb *bp = container_of(pcs, struct macb, phylink_usx_pcs); local 647 struct macb *bp = netdev_priv(ndev); local 705 struct macb *bp = netdev_priv(ndev); local 729 struct macb *bp = netdev_priv(ndev); local 795 struct macb *bp = netdev_priv(ndev); local 819 macb_phylink_connect(struct macb *bp) argument 854 struct macb *bp = netdev_priv(ndev); local 862 struct macb *bp = netdev_priv(dev); local 918 macb_mdiobus_register(struct macb *bp) argument 954 macb_mii_init(struct macb *bp) argument 997 macb_update_stats(struct macb *bp) argument 1009 macb_halt_tx(struct macb *bp) argument 1029 macb_tx_unmap(struct macb *bp, struct macb_tx_skb *tx_skb, int budget) argument 1047 macb_set_addr(struct macb *bp, struct macb_dma_desc *desc, dma_addr_t addr) argument 1065 macb_get_addr(struct macb *bp, struct macb_dma_desc *desc) argument 1089 struct macb *bp = queue->bp; local 1234 struct macb *bp = queue->bp; local 1309 struct macb *bp = queue->bp; local 1391 struct macb *bp = queue->bp; local 1487 struct macb *bp = queue->bp; local 1563 struct macb *bp = queue->bp; local 1582 struct macb *bp = queue->bp; local 1660 struct macb *bp = queue->bp; local 1676 struct macb *bp = queue->bp; local 1713 struct macb *bp = queue->bp; local 1755 struct macb *bp = queue->bp; local 1797 struct macb *bp = from_tasklet(bp, t, hresp_err_tasklet); local 1837 struct macb *bp = queue->bp; local 1866 struct macb *bp = queue->bp; local 1895 struct macb *bp = queue->bp; local 2017 struct macb *bp = netdev_priv(dev); local 2029 macb_tx_map(struct macb *bp, struct macb_queue *queue, struct sk_buff *skb, unsigned int hdrlen) argument 2310 struct macb *bp = netdev_priv(dev); local 2409 macb_init_rx_buffer_size(struct macb *bp, size_t size) argument 2429 gem_free_rx_buffers(struct macb *bp) argument 2462 macb_free_rx_buffers(struct macb *bp) argument 2474 macb_free_consistent(struct macb *bp) argument 2500 gem_alloc_rx_buffers(struct macb *bp) argument 2519 macb_alloc_rx_buffers(struct macb *bp) argument 2536 macb_alloc_consistent(struct macb *bp) argument 2578 gem_init_rings(struct macb *bp) argument 2603 macb_init_rings(struct macb *bp) argument 2620 macb_reset_hw(struct macb *bp) argument 2652 gem_mdc_clk_div(struct macb *bp) argument 2677 macb_mdc_clk_div(struct macb *bp) argument 2702 macb_dbw(struct macb *bp) argument 2725 macb_configure_dma(struct macb *bp) argument 2771 macb_init_hw(struct macb *bp) argument 2868 struct macb *bp = netdev_priv(dev); local 2886 struct macb *bp = netdev_priv(dev); local 2928 struct macb *bp = netdev_priv(dev); local 2988 struct macb *bp = netdev_priv(dev); local 3042 gem_update_stats(struct macb *bp) argument 3071 gem_get_stats(struct macb *bp) argument 3115 struct macb *bp; local 3125 struct macb *bp = netdev_priv(dev); local 3138 struct macb *bp = netdev_priv(dev); local 3162 struct macb *bp = netdev_priv(dev); local 3215 struct macb *bp = netdev_priv(dev); local 3247 struct macb *bp = netdev_priv(netdev); local 3260 struct macb *bp = netdev_priv(netdev); local 3288 struct macb *bp = netdev_priv(netdev); local 3296 struct macb *bp = netdev_priv(netdev); local 3306 struct macb *bp = netdev_priv(netdev); local 3320 struct macb *bp = netdev_priv(netdev); local 3356 gem_get_tsu_rate(struct macb *bp) argument 3381 struct macb *bp = netdev_priv(dev); local 3422 struct macb *bp = netdev_priv(netdev); local 3430 gem_enable_flow_filters(struct macb *bp, bool enable) argument 3476 gem_prog_cmp_regs(struct macb *bp, struct ethtool_rx_flow_spec *fs) argument 3562 struct macb *bp = netdev_priv(netdev); local 3617 struct macb *bp = netdev_priv(netdev); local 3653 struct macb *bp = netdev_priv(netdev); local 3668 struct macb *bp = netdev_priv(netdev); local 3687 struct macb *bp = netdev_priv(netdev); local 3714 struct macb *bp = netdev_priv(netdev); local 3771 struct macb *bp = netdev_priv(dev); local 3782 struct macb *bp = netdev_priv(dev); local 3797 struct macb *bp = netdev_priv(dev); local 3808 macb_set_txcsum_feature(struct macb *bp, netdev_features_t features) argument 3825 macb_set_rxcsum_feature(struct macb *bp, netdev_features_t features) argument 3843 macb_set_rxflow_feature(struct macb *bp, netdev_features_t features) argument 3855 struct macb *bp = netdev_priv(netdev); local 3873 macb_restore_features(struct macb *bp) argument 3914 macb_configure_caps(struct macb *bp, const struct macb_config *dt_conf) argument 4077 struct macb *bp = netdev_priv(dev); local 4595 struct macb *bp = netdev_priv(dev); local 4725 struct macb *bp = netdev_priv(dev); local 4984 struct macb *bp; local 5186 struct macb *bp; local 5213 struct macb *bp = netdev_priv(netdev); local 5305 struct macb *bp = netdev_priv(netdev); local 5388 struct macb *bp = netdev_priv(netdev); local 5401 struct macb *bp = netdev_priv(netdev); local [all...] |
/linux-master/drivers/net/ethernet/sun/ |
H A D | sunbmac.c | 98 static void qec_init(struct bigmac *bp) argument 100 struct platform_device *qec_op = bp->qec_op; 101 void __iomem *gregs = bp->gregs; 102 u8 bsizes = bp->bigmac_bursts; 165 static void bigmac_stop(struct bigmac *bp) argument 167 bigmac_tx_reset(bp->bregs); 168 bigmac_rx_reset(bp->bregs); 171 static void bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) argument 173 struct net_device_stats *stats = &bp->dev->stats; 193 static void bigmac_clean_rings(struct bigmac *bp) argument 212 bigmac_init_rings(struct bigmac *bp, bool non_blocking) argument 268 write_tcvr_bit(struct bigmac *bp, void __iomem *tregs, int bit) argument 291 read_tcvr_bit(struct bigmac *bp, void __iomem *tregs) argument 314 read_tcvr_bit2(struct bigmac *bp, void __iomem *tregs) argument 336 put_tcvr_byte(struct bigmac *bp, void __iomem *tregs, unsigned int byte) argument 348 bigmac_tcvr_write(struct bigmac *bp, void __iomem *tregs, int reg, unsigned short val) argument 387 bigmac_tcvr_read(struct bigmac *bp, void __iomem *tregs, int reg) argument 454 bigmac_tcvr_init(struct bigmac *bp) argument 494 try_next_permutation(struct bigmac *bp, void __iomem *tregs) argument 529 struct bigmac *bp = from_timer(bp, t, bigmac_timer); local 583 bigmac_begin_auto_negotiation(struct bigmac *bp) argument 620 bigmac_init_hw(struct bigmac *bp, bool non_blocking) argument 717 bigmac_is_medium_rare(struct bigmac *bp, u32 qec_status, u32 bmac_status) argument 756 bigmac_tx(struct bigmac *bp) argument 799 bigmac_rx(struct bigmac *bp) argument 890 struct bigmac *bp = (struct bigmac *) dev_id; local 915 struct bigmac *bp = netdev_priv(dev); local 932 struct bigmac *bp = netdev_priv(dev); local 946 struct bigmac *bp = netdev_priv(dev); local 956 struct bigmac *bp = netdev_priv(dev); local 987 struct bigmac *bp = netdev_priv(dev); local 995 struct bigmac *bp = netdev_priv(dev); local 1047 struct bigmac *bp = netdev_priv(dev); local 1078 struct bigmac *bp; local 1239 struct bigmac *bp = platform_get_drvdata(op); local [all...] |
/linux-master/include/linux/ |
H A D | hw_breakpoint.h | 42 static inline unsigned long hw_breakpoint_addr(struct perf_event *bp) argument 44 return bp->attr.bp_addr; 47 static inline int hw_breakpoint_type(struct perf_event *bp) argument 49 return bp->attr.bp_type; 52 static inline unsigned long hw_breakpoint_len(struct perf_event *bp) argument 54 return bp->attr.bp_len; 65 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr); 67 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, 84 extern int register_perf_hw_breakpoint(struct perf_event *bp); 85 extern void unregister_hw_breakpoint(struct perf_event *bp); 96 counter_arch_bp(struct perf_event *bp) argument 111 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) argument 114 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, bool check) argument 127 register_perf_hw_breakpoint(struct perf_event *bp) argument 128 unregister_hw_breakpoint(struct perf_event *bp) argument 134 reserve_bp_slot(struct perf_event *bp) argument 135 release_bp_slot(struct perf_event *bp) argument 139 counter_arch_bp(struct perf_event *bp) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/virtual/ |
H A D | virtual_stream_encoder.h | 32 struct dc_context *ctx, struct dc_bios *bp); 37 struct dc_bios *bp);
|