| H A D | bnxt.c | 335 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ | DB_RING_IDX(db, idx),\ 339 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_MASK | \ 346 bnxt_writeq(bp, (db)->db_key64 | DBR_TYPE_NQ_ARM | \ 349 static void bnxt_db_nq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq() argument 351 if (bp->flags & BNXT_FLAG_CHIP_P7) in bnxt_db_nq() 353 else if (bp->flags & BNXT_FLAG_CHIP_P5_PLUS) in bnxt_db_nq() 359 static void bnxt_db_nq_arm(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_nq_arm() argument 361 if (bp->flags & BNXT_FLAG_CHIP_P5_PLUS) in bnxt_db_nq_arm() 367 static void bnxt_db_cq(struct bnxt *bp, struct bnxt_db_info *db, u32 idx) in bnxt_db_cq() argument 369 if (bp in bnxt_db_cq() 376 bnxt_queue_fw_reset_work(struct bnxt * bp,unsigned long delay) bnxt_queue_fw_reset_work() argument 387 __bnxt_queue_sp_work(struct bnxt * bp) __bnxt_queue_sp_work() argument 395 bnxt_queue_sp_work(struct bnxt * bp,unsigned int event) bnxt_queue_sp_work() argument 401 bnxt_sched_reset_rxr(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_sched_reset_rxr() argument 414 bnxt_sched_reset_txr(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u16 curr) bnxt_sched_reset_txr() argument 462 bnxt_txr_db_kick(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u16 prod) bnxt_txr_db_kick() argument 483 struct bnxt *bp = netdev_priv(dev); bnxt_start_xmit() local 836 __bnxt_tx_int(struct bnxt * bp,struct bnxt_tx_ring_info * txr,int budget) __bnxt_tx_int() argument 942 bnxt_tx_int(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) bnxt_tx_int() argument 961 __bnxt_alloc_rx_page(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,unsigned int * offset,gfp_t gfp) __bnxt_alloc_rx_page() argument 982 __bnxt_alloc_rx_netmem(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,unsigned int * offset,gfp_t gfp) __bnxt_alloc_rx_netmem() argument 1003 __bnxt_alloc_rx_frag(struct bnxt * bp,dma_addr_t * mapping,struct bnxt_rx_ring_info * rxr,gfp_t gfp) __bnxt_alloc_rx_frag() argument 1019 bnxt_alloc_rx_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_data() argument 1058 struct bnxt *bp = rxr->bnapi->bp; bnxt_reuse_rx_data() local 1086 bnxt_alloc_rx_netmem(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 prod,gfp_t gfp) bnxt_alloc_rx_netmem() argument 1116 bnxt_get_agg(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u16 cp_cons,u16 curr) bnxt_get_agg() argument 1128 bnxt_get_tpa_agg_p5(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 agg_id,u16 curr) bnxt_get_tpa_agg_p5() argument 1141 struct bnxt *bp = bnapi->bp; bnxt_reuse_rx_agg_bufs() local 1194 bnxt_rx_multi_page_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_multi_page_skb() argument 1229 bnxt_rx_page_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_page_skb() argument 1276 bnxt_rx_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 cons,void * data,u8 * data_ptr,dma_addr_t dma_addr,unsigned int offset_and_len) bnxt_rx_skb() argument 1306 __bnxt_rx_agg_netmems(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u16 idx,u32 agg_bufs,bool tpa,struct sk_buff * skb,struct xdp_buff * xdp) __bnxt_rx_agg_netmems() argument 1397 bnxt_rx_agg_netmems_skb(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct sk_buff * skb,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_netmems_skb() argument 1415 bnxt_rx_agg_netmems_xdp(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,struct xdp_buff * xdp,u16 idx,u32 agg_bufs,bool tpa) bnxt_rx_agg_netmems_xdp() argument 1436 bnxt_agg_bufs_valid(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u8 agg_bufs,u32 * raw_cons) bnxt_agg_bufs_valid() argument 1453 struct bnxt *bp = bnapi->bp; bnxt_copy_data() local 1507 bnxt_discard_rx(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,void * cmp) bnxt_discard_rx() argument 1537 bnxt_alloc_agg_idx(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,u16 agg_id) bnxt_alloc_agg_idx() argument 1599 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) bnxt_tpa_start() argument 1861 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,struct bnxt_rx_sw_stats * rx_stats) bnxt_gro_skb() argument 1897 bnxt_get_pkt_dev(struct bnxt * bp,u16 cfa_code) bnxt_get_pkt_dev() argument 1905 bnxt_tpa_end(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,struct rx_tpa_end_cmp * tpa_end,struct rx_tpa_end_cmp_ext * tpa_end1,u8 * event) bnxt_tpa_end() argument 2058 bnxt_tpa_agg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct rx_agg_cmp * rx_agg) bnxt_tpa_agg() argument 2070 bnxt_deliver_skb(struct bnxt * bp,struct bnxt_napi * bnapi,struct sk_buff * skb) bnxt_deliver_skb() argument 2084 bnxt_rx_ts_valid(struct bnxt * bp,u32 flags,struct rx_cmp_ext * rxcmp1,u32 * cmpl_ts) bnxt_rx_ts_valid() argument 2148 bnxt_rx_pkt(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_rx_pkt() argument 2437 bnxt_force_rx_discard(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,u32 * raw_cons,u8 * event) bnxt_force_rx_discard() argument 2482 bnxt_fw_health_readl(struct bnxt * bp,int reg_idx) bnxt_fw_health_readl() argument 2509 bnxt_agg_ring_id_to_grp_idx(struct bnxt * bp,u16 ring_id) bnxt_agg_ring_id_to_grp_idx() argument 2526 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_get_force_speed() local 2537 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_set_force_speed() local 2569 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_set_auto_speed() local 2581 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_force_speed_updated() local 2599 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_auto_speed_updated() local 2612 bnxt_bs_trace_avail(struct bnxt * bp,u16 type) bnxt_bs_trace_avail() argument 2621 bnxt_bs_trace_init(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm) bnxt_bs_trace_init() argument 2684 bnxt_event_error_report(struct bnxt * bp,u32 data1,u32 data2) bnxt_event_error_report() argument 2773 bnxt_async_event_process(struct bnxt * bp,struct hwrm_async_event_cmpl * cmpl) bnxt_async_event_process() argument 2999 bnxt_hwrm_handler(struct bnxt * bp,struct tx_cmp * txcmp) bnxt_hwrm_handler() argument 3038 bnxt_vnic_is_active(struct bnxt * bp) bnxt_vnic_is_active() argument 3048 struct bnxt *bp = bnapi->bp; bnxt_msix() local 3058 bnxt_has_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_has_work() argument 3069 __bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) __bnxt_poll_work() argument 3175 __bnxt_poll_work_done(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) __bnxt_poll_work_done() argument 3195 bnxt_poll_work(struct bnxt * bp,struct bnxt_cp_ring_info * cpr,int budget) bnxt_poll_work() argument 3216 struct bnxt *bp = bnapi->bp; bnxt_poll_nitroa0() local 3292 struct bnxt *bp = bnapi->bp; bnxt_poll() local 3327 __bnxt_poll_cqs(struct bnxt * bp,struct bnxt_napi * bnapi,int budget) __bnxt_poll_cqs() argument 3344 __bnxt_poll_cqs_done(struct bnxt * bp,struct bnxt_napi * bnapi,u64 dbr_type,int budget) __bnxt_poll_cqs_done() argument 3378 struct bnxt *bp = bnapi->bp; bnxt_poll_p5() local 3458 bnxt_free_one_tx_ring_skbs(struct bnxt * bp,struct bnxt_tx_ring_info * txr,int idx) bnxt_free_one_tx_ring_skbs() argument 3543 bnxt_free_tx_skbs(struct bnxt * bp) bnxt_free_tx_skbs() argument 3563 bnxt_free_one_rx_ring(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_ring() argument 3584 bnxt_free_one_rx_agg_ring(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_agg_ring() argument 3604 bnxt_free_one_tpa_info_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_tpa_info_data() argument 3621 bnxt_free_one_rx_ring_skbs(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_rx_ring_skbs() argument 3649 bnxt_free_rx_skbs(struct bnxt * bp) bnxt_free_rx_skbs() argument 3660 bnxt_free_skbs(struct bnxt * bp) bnxt_free_skbs() argument 3683 __bnxt_copy_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem,void * buf,size_t offset,size_t head,size_t tail) __bnxt_copy_ring() argument 3712 bnxt_free_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem) bnxt_free_ring() argument 3745 bnxt_alloc_ring(struct bnxt * bp,struct bnxt_ring_mem_info * rmem) bnxt_alloc_ring() argument 3798 bnxt_free_one_tpa_info(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_free_one_tpa_info() argument 3815 bnxt_free_tpa_info(struct bnxt * bp) bnxt_free_tpa_info() argument 3826 bnxt_alloc_one_tpa_info(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_one_tpa_info() argument 3852 bnxt_alloc_tpa_info(struct bnxt * bp) bnxt_alloc_tpa_info() argument 3880 bnxt_free_rx_rings(struct bnxt * bp) bnxt_free_rx_rings() argument 3913 bnxt_rx_agg_ring_fill_level(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_rx_agg_ring_fill_level() argument 3928 bnxt_alloc_rx_page_pool(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int numa_node) bnxt_alloc_rx_page_pool() argument 3985 bnxt_alloc_rx_agg_bmap(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_rx_agg_bmap() argument 3998 bnxt_alloc_rx_rings(struct bnxt * bp) bnxt_alloc_rx_rings() argument 4092 bnxt_free_tx_rings(struct bnxt * bp) bnxt_free_tx_rings() argument 4118 BNXT_TC_TO_RING_BASE(bp,tc) global() argument 4121 BNXT_RING_TO_TC_OFF(bp,tx) global() argument 4124 BNXT_RING_TO_TC(bp,tx) global() argument 4127 bnxt_alloc_tx_rings(struct bnxt * bp) bnxt_alloc_tx_rings() argument 4218 bnxt_free_all_cp_arrays(struct bnxt * bp) bnxt_free_all_cp_arrays() argument 4233 bnxt_alloc_all_cp_arrays(struct bnxt * bp) bnxt_alloc_all_cp_arrays() argument 4250 bnxt_free_cp_rings(struct bnxt * bp) bnxt_free_cp_rings() argument 4287 bnxt_alloc_cp_sub_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_alloc_cp_sub_ring() argument 4314 bnxt_alloc_cp_rings(struct bnxt * bp) bnxt_alloc_cp_rings() argument 4389 bnxt_init_rx_ring_struct(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_rx_ring_struct() argument 4414 bnxt_reset_rx_ring_struct(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_reset_rx_ring_struct() argument 4448 bnxt_init_ring_struct(struct bnxt * bp) bnxt_init_ring_struct() argument 4534 bnxt_alloc_one_rx_ring_skb(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int ring_nr) bnxt_alloc_one_rx_ring_skb() argument 4553 bnxt_alloc_one_rx_ring_netmem(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,int ring_nr) bnxt_alloc_one_rx_ring_netmem() argument 4574 bnxt_alloc_one_tpa_info_data(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_alloc_one_tpa_info_data() argument 4595 bnxt_alloc_one_rx_ring(struct bnxt * bp,int ring_nr) bnxt_alloc_one_rx_ring() argument 4615 bnxt_init_one_rx_ring_rxbd(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_one_rx_ring_rxbd() argument 4632 bnxt_init_one_rx_agg_ring_rxbd(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_init_one_rx_agg_ring_rxbd() argument 4658 bnxt_init_one_rx_ring(struct bnxt * bp,int ring_nr) bnxt_init_one_rx_ring() argument 4678 bnxt_init_cp_rings(struct bnxt * bp) bnxt_init_cp_rings() argument 4702 bnxt_init_rx_rings(struct bnxt * bp) bnxt_init_rx_rings() argument 4723 bnxt_init_tx_rings(struct bnxt * bp) bnxt_init_tx_rings() argument 4748 bnxt_free_ring_grps(struct bnxt * bp) bnxt_free_ring_grps() argument 4754 bnxt_init_ring_grps(struct bnxt * bp,bool irq_re_init) bnxt_init_ring_grps() argument 4775 bnxt_free_vnics(struct bnxt * bp) bnxt_free_vnics() argument 4782 bnxt_alloc_vnics(struct bnxt * bp) bnxt_alloc_vnics() argument 4806 bnxt_init_vnics(struct bnxt * bp) bnxt_init_vnics() argument 4873 bnxt_set_tpa_flags(struct bnxt * bp) bnxt_set_tpa_flags() argument 4884 bnxt_init_ring_params(struct bnxt * bp) bnxt_init_ring_params() argument 4898 bnxt_set_ring_params(struct bnxt * bp) bnxt_set_ring_params() argument 4997 __bnxt_set_rx_skb_mode(struct bnxt * bp,bool page_mode) __bnxt_set_rx_skb_mode() argument 5026 bnxt_set_rx_skb_mode(struct bnxt * bp,bool page_mode) bnxt_set_rx_skb_mode() argument 5045 bnxt_free_vnic_attributes(struct bnxt * bp) bnxt_free_vnic_attributes() argument 5081 bnxt_alloc_vnic_attributes(struct bnxt * bp) bnxt_alloc_vnic_attributes() argument 5158 bnxt_free_hwrm_resources(struct bnxt * bp) bnxt_free_hwrm_resources() argument 5171 bnxt_alloc_hwrm_resources(struct bnxt * bp) bnxt_alloc_hwrm_resources() argument 5184 bnxt_free_stats_mem(struct bnxt * bp,struct bnxt_stats_mem * stats) bnxt_free_stats_mem() argument 5197 bnxt_alloc_stats_mem(struct bnxt * bp,struct bnxt_stats_mem * stats,bool alloc_masks) bnxt_alloc_stats_mem() argument 5237 bnxt_hwrm_func_qstat_ext(struct bnxt * bp,struct bnxt_stats_mem * stats) bnxt_hwrm_func_qstat_ext() argument 5269 bnxt_init_stats(struct bnxt * bp) bnxt_init_stats() argument 5340 bnxt_free_port_stats(struct bnxt * bp) bnxt_free_port_stats() argument 5350 bnxt_free_ring_stats(struct bnxt * bp) bnxt_free_ring_stats() argument 5368 bnxt_alloc_stats(struct bnxt * bp) bnxt_alloc_stats() argument 5435 bnxt_clear_ring_indices(struct bnxt * bp) bnxt_clear_ring_indices() argument 5473 bnxt_insert_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_insert_usr_fltr() argument 5483 bnxt_del_one_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_del_one_usr_fltr() argument 5489 bnxt_clear_usr_fltrs(struct bnxt * bp,bool all) bnxt_clear_usr_fltrs() argument 5500 bnxt_del_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_del_fltr() argument 5511 bnxt_free_ntp_fltrs(struct bnxt * bp,bool all) bnxt_free_ntp_fltrs() argument 5542 bnxt_alloc_ntp_fltrs(struct bnxt * bp) bnxt_alloc_ntp_fltrs() argument 5561 bnxt_free_l2_filters(struct bnxt * bp,bool all) bnxt_free_l2_filters() argument 5580 bnxt_init_l2_fltr_tbl(struct bnxt * bp) bnxt_init_l2_fltr_tbl() argument 5589 bnxt_free_mem(struct bnxt * bp,bool irq_re_init) bnxt_free_mem() argument 5618 bnxt_alloc_mem(struct bnxt * bp,bool irq_re_init) bnxt_alloc_mem() argument 5763 bnxt_disable_int(struct bnxt * bp) bnxt_disable_int() argument 5780 bnxt_cp_num_to_irq_num(struct bnxt * bp,int n) bnxt_cp_num_to_irq_num() argument 5789 bnxt_disable_int_sync(struct bnxt * bp) bnxt_disable_int_sync() argument 5806 bnxt_enable_int(struct bnxt * bp) bnxt_enable_int() argument 5819 bnxt_hwrm_func_drv_rgtr(struct bnxt * bp,unsigned long * bmap,int bmap_size,bool async_only) bnxt_hwrm_func_drv_rgtr() argument 5920 bnxt_hwrm_func_drv_unrgtr(struct bnxt * bp) bnxt_hwrm_func_drv_unrgtr() argument 5936 bnxt_hwrm_tunnel_dst_port_free(struct bnxt * bp,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_free() argument 5983 bnxt_hwrm_tunnel_dst_port_alloc(struct bnxt * bp,__be16 port,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_alloc() argument 6031 bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt * bp,u16 vnic_id) bnxt_hwrm_cfa_l2_set_rx_mask() argument 6050 bnxt_del_l2_filter(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_del_l2_filter() argument 6069 __bnxt_lookup_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u32 idx) __bnxt_lookup_l2_filter() argument 6086 bnxt_lookup_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u32 idx) bnxt_lookup_l2_filter() argument 6100 BNXT_IPV4_4TUPLE(bp,fkeys) global() argument 6106 BNXT_IPV6_4TUPLE(bp,fkeys) global() argument 6112 bnxt_get_rss_flow_tuple_len(struct bnxt * bp,struct flow_keys * fkeys) bnxt_get_rss_flow_tuple_len() argument 6135 bnxt_toeplitz(struct bnxt * bp,struct flow_keys * fkeys,const unsigned char * key) bnxt_toeplitz() argument 6175 bnxt_lookup_l2_filter_from_key(struct bnxt * bp,struct bnxt_l2_key * key) bnxt_lookup_l2_filter_from_key() argument 6187 bnxt_init_l2_filter(struct bnxt * bp,struct bnxt_l2_filter * fltr,struct bnxt_l2_key * key,u32 idx) bnxt_init_l2_filter() argument 6213 bnxt_alloc_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,gfp_t gfp) bnxt_alloc_l2_filter() argument 6240 bnxt_alloc_new_l2_filter(struct bnxt * bp,struct bnxt_l2_key * key,u16 flags) bnxt_alloc_new_l2_filter() argument 6285 bnxt_hwrm_l2_filter_free(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_hwrm_l2_filter_free() argument 6311 bnxt_hwrm_l2_filter_alloc(struct bnxt * bp,struct bnxt_l2_filter * fltr) bnxt_hwrm_l2_filter_alloc() argument 6364 bnxt_hwrm_cfa_ntuple_filter_free(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_free() argument 6409 bnxt_cfg_rfs_ring_tbl_idx(struct bnxt * bp,struct hwrm_cfa_ntuple_filter_alloc_input * req,struct bnxt_ntuple_filter * fltr) bnxt_cfg_rfs_ring_tbl_idx() argument 6448 bnxt_hwrm_cfa_ntuple_filter_alloc(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_hwrm_cfa_ntuple_filter_alloc() argument 6514 bnxt_hwrm_set_vnic_filter(struct bnxt * bp,u16 vnic_id,u16 idx,const u8 * mac_addr) bnxt_hwrm_set_vnic_filter() argument 6536 bnxt_hwrm_clear_vnic_filter(struct bnxt * bp) bnxt_hwrm_clear_vnic_filter() argument 6559 bnxt_hwrm_vnic_update_tunl_tpa(struct bnxt * bp,struct hwrm_vnic_tpa_cfg_input * req) bnxt_hwrm_vnic_update_tunl_tpa() argument 6578 bnxt_hwrm_vnic_set_tpa(struct bnxt * bp,struct bnxt_vnic_info * vnic,u32 tpa_flags) bnxt_hwrm_vnic_set_tpa() argument 6641 bnxt_cp_ring_from_grp(struct bnxt * bp,struct bnxt_ring_struct * ring) bnxt_cp_ring_from_grp() argument 6649 bnxt_cp_ring_for_rx(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_cp_ring_for_rx() argument 6657 bnxt_cp_ring_for_tx(struct bnxt * bp,struct bnxt_tx_ring_info * txr) bnxt_cp_ring_for_tx() argument 6665 bnxt_alloc_rss_indir_tbl(struct bnxt * bp) bnxt_alloc_rss_indir_tbl() argument 6683 bnxt_set_dflt_rss_indir_tbl(struct bnxt * bp,struct ethtool_rxfh_context * rss_ctx) bnxt_set_dflt_rss_indir_tbl() argument 6711 bnxt_get_max_rss_ring(struct bnxt * bp) bnxt_get_max_rss_ring() argument 6724 bnxt_get_nr_rss_ctxs(struct bnxt * bp,int rx_rings) bnxt_get_nr_rss_ctxs() argument 6740 bnxt_fill_hw_rss_tbl(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_fill_hw_rss_tbl() argument 6767 bnxt_fill_hw_rss_tbl_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_fill_hw_rss_tbl_p5() argument 6797 __bnxt_hwrm_vnic_set_rss(struct bnxt * bp,struct hwrm_vnic_rss_cfg_input * req,struct bnxt_vnic_info * vnic) __bnxt_hwrm_vnic_set_rss() argument 6817 bnxt_hwrm_vnic_set_rss(struct bnxt * bp,struct bnxt_vnic_info * vnic,bool set_rss) bnxt_hwrm_vnic_set_rss() argument 6837 bnxt_hwrm_vnic_set_rss_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic,bool set_rss) bnxt_hwrm_vnic_set_rss_p5() argument 6873 bnxt_hwrm_update_rss_hash_cfg(struct bnxt * bp) bnxt_hwrm_update_rss_hash_cfg() argument 6893 bnxt_hwrm_vnic_set_hds(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_set_hds() argument 6918 bnxt_hwrm_vnic_ctx_free_one(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 ctx_idx) bnxt_hwrm_vnic_ctx_free_one() argument 6934 bnxt_hwrm_vnic_ctx_free(struct bnxt * bp) bnxt_hwrm_vnic_ctx_free() argument 6949 bnxt_hwrm_vnic_ctx_alloc(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 ctx_idx) bnxt_hwrm_vnic_ctx_alloc() argument 6970 bnxt_get_roce_vnic_mode(struct bnxt * bp) bnxt_get_roce_vnic_mode() argument 6977 bnxt_hwrm_vnic_cfg(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_cfg() argument 7047 bnxt_hwrm_vnic_free_one(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_free_one() argument 7063 bnxt_hwrm_vnic_free(struct bnxt * bp) bnxt_hwrm_vnic_free() argument 7071 bnxt_hwrm_vnic_alloc(struct bnxt * bp,struct bnxt_vnic_info * vnic,unsigned int start_rx_ring_idx,unsigned int nr_rings) bnxt_hwrm_vnic_alloc() argument 7112 bnxt_hwrm_vnic_qcaps(struct bnxt * bp) bnxt_hwrm_vnic_qcaps() argument 7177 bnxt_hwrm_ring_grp_alloc(struct bnxt * bp) bnxt_hwrm_ring_grp_alloc() argument 7212 bnxt_hwrm_ring_grp_free(struct bnxt * bp) bnxt_hwrm_ring_grp_free() argument 7236 bnxt_set_rx_ring_params_p5(struct bnxt * bp,u32 ring_type,struct hwrm_ring_alloc_input * req,struct bnxt_rx_ring_info * rxr,struct bnxt_ring_struct * ring) bnxt_set_rx_ring_params_p5() argument 7261 hwrm_ring_alloc_send_msg(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,struct bnxt_ring_struct * ring,u32 ring_type,u32 map_index) hwrm_ring_alloc_send_msg() argument 7363 bnxt_hwrm_set_async_event_cr(struct bnxt * bp,int idx) bnxt_hwrm_set_async_event_cr() argument 7392 bnxt_set_db_mask(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type) bnxt_set_db_mask() argument 7416 bnxt_set_db(struct bnxt * bp,struct bnxt_db_info * db,u32 ring_type,u32 map_idx,u32 xid) bnxt_set_db() argument 7459 bnxt_hwrm_rx_ring_alloc(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_hwrm_rx_ring_alloc() argument 7478 bnxt_hwrm_rx_agg_ring_alloc(struct bnxt * bp,struct bnxt_rx_ring_info * rxr) bnxt_hwrm_rx_agg_ring_alloc() argument 7501 bnxt_hwrm_cp_ring_alloc_p5(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_alloc_p5() argument 7520 bnxt_hwrm_tx_ring_alloc(struct bnxt * bp,struct bnxt_tx_ring_info * txr,u32 tx_idx) bnxt_hwrm_tx_ring_alloc() argument 7534 bnxt_hwrm_ring_alloc(struct bnxt * bp) bnxt_hwrm_ring_alloc() argument 7610 bnxt_cancel_dim(struct bnxt * bp) bnxt_cancel_dim() argument 7630 hwrm_ring_free_send_msg(struct bnxt * bp,struct bnxt_ring_struct * ring,u32 ring_type,int cmpl_ring_id) hwrm_ring_free_send_msg() argument 7663 bnxt_hwrm_tx_ring_free(struct bnxt * bp,struct bnxt_tx_ring_info * txr,bool close_path) bnxt_hwrm_tx_ring_free() argument 7680 bnxt_hwrm_rx_ring_free(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,bool close_path) bnxt_hwrm_rx_ring_free() argument 7700 bnxt_hwrm_rx_agg_ring_free(struct bnxt * bp,struct bnxt_rx_ring_info * rxr,bool close_path) bnxt_hwrm_rx_agg_ring_free() argument 7724 bnxt_hwrm_cp_ring_free(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_hwrm_cp_ring_free() argument 7738 bnxt_clear_one_cp_ring(struct bnxt * bp,struct bnxt_cp_ring_info * cpr) bnxt_clear_one_cp_ring() argument 7751 bnxt_hwrm_ring_free(struct bnxt * bp,bool close_path) bnxt_hwrm_ring_free() argument 7802 bnxt_hwrm_get_rings(struct bnxt * bp) bnxt_hwrm_get_rings() argument 7862 __bnxt_hwrm_get_tx_rings(struct bnxt * bp,u16 fid,int * tx_rings) __bnxt_hwrm_get_tx_rings() argument 7888 __bnxt_hwrm_reserve_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) __bnxt_hwrm_reserve_pf_rings() argument 7932 __bnxt_hwrm_reserve_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) __bnxt_hwrm_reserve_vf_rings() argument 7974 bnxt_hwrm_reserve_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_pf_rings() argument 7999 bnxt_hwrm_reserve_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_vf_rings() argument 8020 bnxt_hwrm_reserve_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_reserve_rings() argument 8028 bnxt_nq_rings_in_use(struct bnxt * bp) bnxt_nq_rings_in_use() argument 8033 bnxt_cp_rings_in_use(struct bnxt * bp) bnxt_cp_rings_in_use() argument 8044 bnxt_get_func_stat_ctxs(struct bnxt * bp) bnxt_get_func_stat_ctxs() argument 8049 bnxt_get_total_rss_ctxs(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_get_total_rss_ctxs() argument 8070 bnxt_check_rss_tbl_no_rmgr(struct bnxt * bp) bnxt_check_rss_tbl_no_rmgr() argument 8082 bnxt_get_total_vnics(struct bnxt * bp,int rx_rings) bnxt_get_total_vnics() argument 8093 bnxt_get_total_resources(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_get_total_resources() argument 8109 bnxt_need_reserve_rings(struct bnxt * bp) bnxt_need_reserve_rings() argument 8149 bnxt_copy_reserved_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_copy_reserved_rings() argument 8166 bnxt_rings_ok(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_rings_ok() argument 8174 __bnxt_reserve_rings(struct bnxt * bp) __bnxt_reserve_rings() argument 8299 bnxt_hwrm_check_vf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_vf_rings() argument 8321 bnxt_hwrm_check_pf_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_pf_rings() argument 8344 bnxt_hwrm_check_rings(struct bnxt * bp,struct bnxt_hw_rings * hwr) bnxt_hwrm_check_rings() argument 8355 bnxt_hwrm_coal_params_qcaps(struct bnxt * bp) bnxt_hwrm_coal_params_qcaps() argument 8402 bnxt_usec_to_coal_tmr(struct bnxt * bp,u16 usec) bnxt_usec_to_coal_tmr() argument 8409 bnxt_hwrm_set_coal_params(struct bnxt * bp,struct bnxt_coal * hw_coal,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_coal_params() argument 8465 __bnxt_hwrm_set_coal_nq(struct bnxt * bp,struct bnxt_napi * bnapi,struct bnxt_coal * hw_coal) __bnxt_hwrm_set_coal_nq() argument 8493 bnxt_hwrm_set_ring_coal(struct bnxt * bp,struct bnxt_napi * bnapi) bnxt_hwrm_set_ring_coal() argument 8523 bnxt_hwrm_set_rx_coal(struct bnxt * bp,struct bnxt_napi * bnapi,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_rx_coal() argument 8533 bnxt_hwrm_set_tx_coal(struct bnxt * bp,struct bnxt_napi * bnapi,struct hwrm_ring_cmpl_ring_cfg_aggint_params_input * req) bnxt_hwrm_set_tx_coal() argument 8553 bnxt_hwrm_set_coal(struct bnxt * bp) bnxt_hwrm_set_coal() argument 8603 bnxt_hwrm_stat_ctx_free(struct bnxt * bp) bnxt_hwrm_stat_ctx_free() argument 8645 bnxt_hwrm_stat_ctx_alloc(struct bnxt * bp) bnxt_hwrm_stat_ctx_alloc() argument 8680 bnxt_hwrm_func_qcfg(struct bnxt * bp) bnxt_hwrm_func_qcfg() argument 8784 bnxt_alloc_all_ctx_pg_info(struct bnxt * bp,int ctx_max) bnxt_alloc_all_ctx_pg_info() argument 8812 bnxt_hwrm_func_backing_store_qcaps_v2(struct bnxt * bp) bnxt_hwrm_func_backing_store_qcaps_v2() argument 8885 bnxt_hwrm_func_backing_store_qcaps(struct bnxt * bp) bnxt_hwrm_func_backing_store_qcaps() argument 9028 bnxt_hwrm_func_backing_store_cfg(struct bnxt * bp,u32 enables) bnxt_hwrm_func_backing_store_cfg() argument 9158 bnxt_alloc_ctx_mem_blk(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg) bnxt_alloc_ctx_mem_blk() argument 9172 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) bnxt_alloc_ctx_pg_tbls() argument 9232 bnxt_copy_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg,void * buf,size_t offset,size_t head,size_t tail) bnxt_copy_ctx_pg_tbls() argument 9262 bnxt_free_ctx_pg_tbls(struct bnxt * bp,struct bnxt_ctx_pg_info * ctx_pg) bnxt_free_ctx_pg_tbls() argument 9291 bnxt_setup_ctxm_pg_tbls(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,u32 entries,u8 pg_lvl) bnxt_setup_ctxm_pg_tbls() argument 9317 bnxt_hwrm_func_backing_store_cfg_v2(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,bool last) bnxt_hwrm_func_backing_store_cfg_v2() argument 9375 bnxt_backing_store_cfg_v2(struct bnxt * bp) bnxt_backing_store_cfg_v2() argument 9437 __bnxt_copy_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,void * buf,size_t offset,size_t head,size_t tail) __bnxt_copy_ctx_mem() argument 9459 bnxt_copy_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,void * buf,size_t offset) bnxt_copy_ctx_mem() argument 9467 bnxt_free_one_ctx_mem(struct bnxt * bp,struct bnxt_ctx_mem_type * ctxm,bool force) bnxt_free_one_ctx_mem() argument 9492 bnxt_free_ctx_mem(struct bnxt * bp,bool force) bnxt_free_ctx_mem() argument 9510 bnxt_alloc_ctx_mem(struct bnxt * bp) bnxt_alloc_ctx_mem() argument 9653 bnxt_hwrm_crash_dump_mem_cfg(struct bnxt * bp) bnxt_hwrm_crash_dump_mem_cfg() argument 9680 bnxt_free_crash_dump_mem(struct bnxt * bp) bnxt_free_crash_dump_mem() argument 9689 bnxt_alloc_crash_dump_mem(struct bnxt * bp) bnxt_alloc_crash_dump_mem() argument 9726 bnxt_hwrm_func_resc_qcaps(struct bnxt * bp,bool all) bnxt_hwrm_func_resc_qcaps() argument 9788 __bnxt_hwrm_ptp_qcfg(struct bnxt * bp) __bnxt_hwrm_ptp_qcfg() argument 9856 __bnxt_hwrm_func_qcaps(struct bnxt * bp) __bnxt_hwrm_func_qcaps() argument 9994 bnxt_hwrm_dbg_qcaps(struct bnxt * bp) bnxt_hwrm_dbg_qcaps() argument 10022 bnxt_hwrm_func_qcaps(struct bnxt * bp) bnxt_hwrm_func_qcaps() argument 10048 bnxt_hwrm_cfa_adv_flow_mgnt_qcaps(struct bnxt * bp) bnxt_hwrm_cfa_adv_flow_mgnt_qcaps() argument 10085 __bnxt_alloc_fw_health(struct bnxt * bp) __bnxt_alloc_fw_health() argument 10098 bnxt_alloc_fw_health(struct bnxt * bp) bnxt_alloc_fw_health() argument 10116 __bnxt_map_fw_health_reg(struct bnxt * bp,u32 reg) __bnxt_map_fw_health_reg() argument 10123 bnxt_inv_fw_health_reg(struct bnxt * bp) bnxt_inv_fw_health_reg() argument 10140 bnxt_try_map_fw_health_reg(struct bnxt * bp) bnxt_try_map_fw_health_reg() argument 10187 bnxt_map_fw_health_regs(struct bnxt * bp) bnxt_map_fw_health_regs() argument 10216 bnxt_remap_fw_health_regs(struct bnxt * bp) bnxt_remap_fw_health_regs() argument 10229 bnxt_hwrm_error_recovery_qcfg(struct bnxt * bp) bnxt_hwrm_error_recovery_qcfg() argument 10294 bnxt_hwrm_func_reset(struct bnxt * bp) bnxt_hwrm_func_reset() argument 10308 bnxt_nvm_cfg_ver_get(struct bnxt * bp) bnxt_nvm_cfg_ver_get() argument 10318 bnxt_hwrm_queue_qportcfg(struct bnxt * bp) bnxt_hwrm_queue_qportcfg() argument 10369 bnxt_hwrm_poll(struct bnxt * bp) bnxt_hwrm_poll() argument 10387 bnxt_hwrm_ver_get(struct bnxt * bp) bnxt_hwrm_ver_get() argument 10513 bnxt_hwrm_fw_set_time(struct bnxt * bp) bnxt_hwrm_fw_set_time() argument 10576 bnxt_accumulate_ring_stats(struct bnxt * bp) bnxt_accumulate_ring_stats() argument 10601 bnxt_accumulate_port_stats(struct bnxt * bp) bnxt_accumulate_port_stats() argument 10625 bnxt_accumulate_all_stats(struct bnxt * bp) bnxt_accumulate_all_stats() argument 10644 bnxt_sync_ring_stats(struct bnxt * bp) bnxt_sync_ring_stats() argument 10660 bnxt_hwrm_port_qstats(struct bnxt * bp,u8 flags) bnxt_hwrm_port_qstats() argument 10684 bnxt_hwrm_port_qstats_ext(struct bnxt * bp,u8 flags) bnxt_hwrm_port_qstats_ext() argument 10774 bnxt_hwrm_free_tunnel_ports(struct bnxt * bp) bnxt_hwrm_free_tunnel_ports() argument 10782 bnxt_set_tpa(struct bnxt * bp,bool set_tpa) bnxt_set_tpa() argument 10802 bnxt_hwrm_clear_vnic_rss(struct bnxt * bp) bnxt_hwrm_clear_vnic_rss() argument 10810 bnxt_clear_vnic(struct bnxt * bp) bnxt_clear_vnic() argument 10829 bnxt_hwrm_resource_free(struct bnxt * bp,bool close_path,bool irq_re_init) bnxt_hwrm_resource_free() argument 10841 bnxt_hwrm_set_br_mode(struct bnxt * bp,u16 br_mode) bnxt_hwrm_set_br_mode() argument 10864 bnxt_hwrm_set_cache_line_size(struct bnxt * bp,int size) bnxt_hwrm_set_cache_line_size() argument 10885 __bnxt_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic) __bnxt_setup_vnic() argument 10941 bnxt_hwrm_vnic_update(struct bnxt * bp,struct bnxt_vnic_info * vnic,u8 valid) bnxt_hwrm_vnic_update() argument 10961 bnxt_hwrm_vnic_rss_cfg_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_hwrm_vnic_rss_cfg_p5() argument 10978 __bnxt_setup_vnic_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic) __bnxt_setup_vnic_p5() argument 11009 bnxt_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic) bnxt_setup_vnic() argument 11017 bnxt_alloc_and_setup_vnic(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 start_rx_ring_idx,int rx_rings) bnxt_alloc_and_setup_vnic() argument 11032 bnxt_alloc_rfs_vnics(struct bnxt * bp) bnxt_alloc_rfs_vnics() argument 11062 bnxt_del_one_rss_ctx(struct bnxt * bp,struct bnxt_rss_ctx * rss_ctx,bool all) bnxt_del_one_rss_ctx() argument 11097 bnxt_vnic_has_rx_ring(struct bnxt * bp,struct bnxt_vnic_info * vnic,int rxr_id) bnxt_vnic_has_rx_ring() argument 11122 bnxt_set_vnic_mru_p5(struct bnxt * bp,struct bnxt_vnic_info * vnic,u16 mru,int rxr_id) bnxt_set_vnic_mru_p5() argument 11150 bnxt_set_rss_ctx_vnic_mru(struct bnxt * bp,u16 mru,int rxr_id) bnxt_set_rss_ctx_vnic_mru() argument 11168 bnxt_hwrm_realloc_rss_ctx_vnic(struct bnxt * bp) bnxt_hwrm_realloc_rss_ctx_vnic() argument 11189 bnxt_clear_rss_ctxs(struct bnxt * bp) bnxt_clear_rss_ctxs() argument 11202 bnxt_promisc_ok(struct bnxt * bp) bnxt_promisc_ok() argument 11211 bnxt_setup_nitroa0_vnic(struct bnxt * bp) bnxt_setup_nitroa0_vnic() argument 11239 bnxt_init_chip(struct bnxt * bp,bool irq_re_init) bnxt_init_chip() argument 11365 bnxt_shutdown_nic(struct bnxt * bp,bool irq_re_init) bnxt_shutdown_nic() argument 11371 bnxt_init_nic(struct bnxt * bp,bool irq_re_init) bnxt_init_nic() argument 11387 bnxt_set_real_num_queues(struct bnxt * bp) bnxt_set_real_num_queues() argument 11409 __bnxt_trim_rings(struct bnxt * bp,int * rx,int * tx,int max,bool shared) __bnxt_trim_rings() argument 11433 __bnxt_num_tx_to_cp(struct bnxt * bp,int tx,int tx_sets,int tx_xdp) __bnxt_num_tx_to_cp() argument 11438 bnxt_num_tx_to_cp(struct bnxt * bp,int tx) bnxt_num_tx_to_cp() argument 11447 bnxt_num_cp_to_tx(struct bnxt * bp,int tx_cp) bnxt_num_cp_to_tx() argument 11455 bnxt_trim_rings(struct bnxt * bp,int * rx,int * tx,int max,bool sh) bnxt_trim_rings() argument 11473 bnxt_setup_msix(struct bnxt * bp) bnxt_setup_msix() argument 11509 bnxt_change_msix(struct bnxt * bp,int total) bnxt_change_msix() argument 11533 bnxt_setup_int_mode(struct bnxt * bp) bnxt_setup_int_mode() argument 11549 bnxt_get_max_func_rss_ctxs(struct bnxt * bp) bnxt_get_max_func_rss_ctxs() argument 11554 bnxt_get_max_func_vnics(struct bnxt * bp) bnxt_get_max_func_vnics() argument 11559 bnxt_get_max_func_stat_ctxs(struct bnxt * bp) bnxt_get_max_func_stat_ctxs() argument 11564 bnxt_get_max_func_cp_rings(struct bnxt * bp) bnxt_get_max_func_cp_rings() argument 11569 bnxt_get_max_func_cp_rings_for_en(struct bnxt * bp) bnxt_get_max_func_cp_rings_for_en() argument 11579 bnxt_get_max_func_irqs(struct bnxt * bp) bnxt_get_max_func_irqs() argument 11589 bnxt_set_max_func_irqs(struct bnxt * bp,unsigned int max_irqs) bnxt_set_max_func_irqs() argument 11594 bnxt_get_avail_cp_rings_for_en(struct bnxt * bp) bnxt_get_avail_cp_rings_for_en() argument 11605 bnxt_get_avail_stat_ctxs_for_en(struct bnxt * bp) bnxt_get_avail_stat_ctxs_for_en() argument 11610 bnxt_get_avail_msix(struct bnxt * bp,int num) bnxt_get_avail_msix() argument 11623 bnxt_get_num_msix(struct bnxt * bp) bnxt_get_num_msix() argument 11631 bnxt_init_int_mode(struct bnxt * bp) bnxt_init_int_mode() argument 11688 bnxt_clear_int_mode(struct bnxt * bp) bnxt_clear_int_mode() argument 11696 bnxt_reserve_rings(struct bnxt * bp,bool irq_re_init) bnxt_reserve_rings() argument 11753 bnxt_tx_queue_stop(struct bnxt * bp,int idx) bnxt_tx_queue_stop() argument 11784 bnxt_tx_queue_start(struct bnxt * bp,int idx) bnxt_tx_queue_start() argument 11888 bnxt_register_irq_notifier(struct bnxt * bp,struct bnxt_irq * irq) bnxt_register_irq_notifier() argument 11903 bnxt_alloc_ring_cpu_masks(struct bnxt * bp) bnxt_alloc_ring_cpu_masks() argument 11922 bnxt_free_ring_cpu_masks(struct bnxt * bp) bnxt_free_ring_cpu_masks() argument 11938 bnxt_free_irq(struct bnxt * bp) bnxt_free_irq() argument 11971 bnxt_request_irq(struct bnxt * bp) bnxt_request_irq() argument 12062 bnxt_del_napi(struct bnxt * bp) bnxt_del_napi() argument 12085 bnxt_init_napi(struct bnxt * bp) bnxt_init_napi() argument 12110 bnxt_disable_napi(struct bnxt * bp) bnxt_disable_napi() argument 12131 bnxt_enable_napi(struct bnxt * bp) bnxt_enable_napi() argument 12153 bnxt_tx_disable(struct bnxt * bp) bnxt_tx_disable() argument 12172 bnxt_tx_enable(struct bnxt * bp) bnxt_tx_enable() argument 12232 bnxt_report_link(struct bnxt * bp) bnxt_report_link() argument 12308 bnxt_hwrm_phy_qcaps(struct bnxt * bp) bnxt_hwrm_phy_qcaps() argument 12369 bnxt_hwrm_mac_qcaps(struct bnxt * bp) bnxt_hwrm_mac_qcaps() argument 12398 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); bnxt_support_speed_dropped() local 12424 bnxt_update_link(struct bnxt * bp,bool chng_link_state) bnxt_update_link() argument 12556 bnxt_get_port_module_status(struct bnxt * bp) bnxt_get_port_module_status() argument 12584 bnxt_hwrm_set_pause_common(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_pause_common() argument 12611 bnxt_hwrm_set_link_common(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_link_common() argument 12650 bnxt_hwrm_set_pause(struct bnxt * bp) bnxt_hwrm_set_pause() argument 12681 bnxt_hwrm_set_eee(struct bnxt * bp,struct hwrm_port_phy_cfg_input * req) bnxt_hwrm_set_eee() argument 12704 bnxt_hwrm_set_link_setting(struct bnxt * bp,bool set_pause,bool set_eee) bnxt_hwrm_set_link_setting() argument 12723 bnxt_hwrm_shutdown_link(struct bnxt * bp) bnxt_hwrm_shutdown_link() argument 12754 bnxt_fw_reset_via_optee(struct bnxt * bp) bnxt_fw_reset_via_optee() argument 12769 bnxt_try_recover_fw(struct bnxt * bp) bnxt_try_recover_fw() argument 12800 bnxt_clear_reservations(struct bnxt * bp,bool fw_reset) bnxt_clear_reservations() argument 12821 bnxt_cancel_reservations(struct bnxt * bp,bool fw_reset) bnxt_cancel_reservations() argument 12837 bnxt_hwrm_if_change(struct bnxt * bp,bool up) bnxt_hwrm_if_change() argument 12926 bnxt_hwrm_port_led_qcaps(struct bnxt * bp) bnxt_hwrm_port_led_qcaps() argument 12969 bnxt_hwrm_alloc_wol_fltr(struct bnxt * bp) bnxt_hwrm_alloc_wol_fltr() argument 12992 bnxt_hwrm_free_wol_fltr(struct bnxt * bp) bnxt_hwrm_free_wol_fltr() argument 13008 bnxt_hwrm_get_wol_fltrs(struct bnxt * bp,u16 handle) bnxt_hwrm_get_wol_fltrs() argument 13037 bnxt_get_wol_settings(struct bnxt * bp) bnxt_get_wol_settings() argument 13050 bnxt_eee_config_ok(struct bnxt * bp) bnxt_eee_config_ok() argument 13077 bnxt_update_phy_setting(struct bnxt * bp) bnxt_update_phy_setting() argument 13139 bnxt_reinit_after_abort(struct bnxt * bp) bnxt_reinit_after_abort() argument 13161 bnxt_cfg_one_usr_fltr(struct bnxt * bp,struct bnxt_filter_base * fltr) bnxt_cfg_one_usr_fltr() argument 13189 bnxt_cfg_usr_fltrs(struct bnxt * bp) bnxt_cfg_usr_fltrs() argument 13197 bnxt_set_xps_mapping(struct bnxt * bp) bnxt_set_xps_mapping() argument 13237 bnxt_tx_nr_rings(struct bnxt * bp) bnxt_tx_nr_rings() argument 13243 bnxt_tx_nr_rings_per_tc(struct bnxt * bp) bnxt_tx_nr_rings_per_tc() argument 13248 bnxt_set_xdp_tx_rings(struct bnxt * bp) bnxt_set_xdp_tx_rings() argument 13254 bnxt_adj_tx_rings(struct bnxt * bp) bnxt_adj_tx_rings() argument 13263 __bnxt_open_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) __bnxt_open_nic() argument 13362 bnxt_open_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) bnxt_open_nic() argument 13381 bnxt_half_open_nic(struct bnxt * bp) bnxt_half_open_nic() argument 13417 bnxt_half_close_nic(struct bnxt * bp) bnxt_half_close_nic() argument 13426 bnxt_reenable_sriov(struct bnxt * bp) bnxt_reenable_sriov() argument 13439 struct bnxt *bp = netdev_priv(dev); bnxt_open() local 13471 bnxt_drv_busy(struct bnxt * bp) bnxt_drv_busy() argument 13480 __bnxt_close_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) __bnxt_close_nic() argument 13519 bnxt_close_nic(struct bnxt * bp,bool irq_re_init,bool link_re_init) bnxt_close_nic() argument 13552 struct bnxt *bp = netdev_priv(dev); bnxt_close() local 13560 bnxt_hwrm_port_phy_read(struct bnxt * bp,u16 phy_addr,u16 reg,u16 * val) bnxt_hwrm_port_phy_read() argument 13592 bnxt_hwrm_port_phy_write(struct bnxt * bp,u16 phy_addr,u16 reg,u16 val) bnxt_hwrm_port_phy_write() argument 13623 struct bnxt *bp = netdev_priv(dev); bnxt_ioctl() local 13657 bnxt_get_ring_stats(struct bnxt * bp,struct rtnl_link_stats64 * stats) bnxt_get_ring_stats() argument 13696 bnxt_add_prev_stats(struct bnxt * bp,struct rtnl_link_stats64 * stats) bnxt_add_prev_stats() argument 13714 struct bnxt *bp = netdev_priv(dev); bnxt_get_stats64() local 13756 bnxt_get_one_ring_drv_stats(struct bnxt * bp,struct bnxt_total_ring_drv_stats * stats,struct bnxt_cp_ring_info * cpr) bnxt_get_one_ring_drv_stats() argument 13778 bnxt_get_ring_drv_stats(struct bnxt * bp,struct bnxt_total_ring_drv_stats * stats) bnxt_get_ring_drv_stats() argument 13787 bnxt_mc_list_updated(struct bnxt * bp,u32 * rx_mask,const struct netdev_hw_addr_list * mc) bnxt_mc_list_updated() argument 13821 bnxt_uc_list_updated(struct bnxt * bp,const struct netdev_hw_addr_list * uc) bnxt_uc_list_updated() argument 13844 struct bnxt *bp = netdev_priv(dev); bnxt_set_rx_mode() local 13883 bnxt_cfg_rx_mode(struct bnxt * bp,struct netdev_hw_addr_list * uc,bool uc_update) bnxt_cfg_rx_mode() argument 13951 bnxt_can_reserve_rings(struct bnxt * bp) bnxt_can_reserve_rings() argument 13971 bnxt_rfs_supported(struct bnxt * bp) bnxt_rfs_supported() argument 13989 bnxt_rfs_capable(struct bnxt * bp,bool new_rss_ctx) bnxt_rfs_capable() argument 14043 struct bnxt *bp = netdev_priv(dev); bnxt_fix_features() local 14080 bnxt_reinit_features(struct bnxt * bp,bool irq_re_init,bool link_re_init,u32 flags,bool update_tpa) bnxt_reinit_features() argument 14093 struct bnxt *bp = netdev_priv(dev); bnxt_set_features() local 14162 bnxt_exthdr_check(struct bnxt * bp,struct sk_buff * skb,int nw_off,u8 ** nextp) bnxt_exthdr_check() argument 14211 bnxt_udp_tunl_check(struct bnxt * bp,struct sk_buff * skb) bnxt_udp_tunl_check() argument 14239 bnxt_tunl_check(struct bnxt * bp,struct sk_buff * skb,u8 l4_proto) bnxt_tunl_check() argument 14268 struct bnxt *bp = netdev_priv(dev); bnxt_features_check() local 14291 bnxt_dbg_hwrm_rd_reg(struct bnxt * bp,u32 reg_off,u16 num_words,u32 * reg_buf) bnxt_dbg_hwrm_rd_reg() argument 14330 bnxt_dbg_hwrm_ring_info_get(struct bnxt * bp,u8 ring_type,u32 ring_id,u32 * prod,u32 * cons) bnxt_dbg_hwrm_ring_info_get() argument 14395 bnxt_dbg_dump_states(struct bnxt * bp) bnxt_dbg_dump_states() argument 14410 bnxt_hwrm_rx_ring_reset(struct bnxt * bp,int ring_nr) bnxt_hwrm_rx_ring_reset() argument 14431 bnxt_reset_task(struct bnxt * bp,bool silent) bnxt_reset_task() argument 14443 struct bnxt *bp = netdev_priv(dev); bnxt_tx_timeout() local 14449 bnxt_fw_health_check(struct bnxt * bp) bnxt_fw_health_check() argument 14488 struct bnxt *bp = timer_container_of(bp, t, timer); bnxt_timer() local 14527 bnxt_lock_sp(struct bnxt * bp) bnxt_lock_sp() argument 14539 bnxt_unlock_sp(struct bnxt * bp) bnxt_unlock_sp() argument 14546 bnxt_rtnl_lock_sp(struct bnxt * bp) bnxt_rtnl_lock_sp() argument 14553 bnxt_rtnl_unlock_sp(struct bnxt * bp) bnxt_rtnl_unlock_sp() argument 14560 bnxt_tph_update(struct bnxt * bp) bnxt_tph_update() argument 14598 bnxt_reset(struct bnxt * bp,bool silent) bnxt_reset() argument 14607 bnxt_rx_ring_reset(struct bnxt * bp) bnxt_rx_ring_reset() argument 14662 bnxt_fw_fatal_close(struct bnxt * bp) bnxt_fw_fatal_close() argument 14672 bnxt_fw_reset_close(struct bnxt * bp) bnxt_fw_reset_close() argument 14695 is_bnxt_fw_ok(struct bnxt * bp) is_bnxt_fw_ok() argument 14716 bnxt_force_fw_reset(struct bnxt * bp) bnxt_force_fw_reset() argument 14753 bnxt_fw_exception(struct bnxt * bp) bnxt_fw_exception() argument 14766 bnxt_get_registered_vfs(struct bnxt * bp) bnxt_get_registered_vfs() argument 14787 bnxt_fw_reset(struct bnxt * bp) bnxt_fw_reset() argument 14839 bnxt_chk_missed_irq(struct bnxt * bp) bnxt_chk_missed_irq() argument 14878 bnxt_init_ethtool_link_settings(struct bnxt * bp) bnxt_init_ethtool_link_settings() argument 14903 bnxt_fw_echo_reply(struct bnxt * bp) bnxt_fw_echo_reply() argument 14917 bnxt_ulp_restart(struct bnxt * bp) bnxt_ulp_restart() argument 14925 struct bnxt *bp = container_of(work, struct bnxt, sp_task); bnxt_sp_task() local 15039 bnxt_check_rings(struct bnxt * bp,int tx,int rx,bool sh,int tcs,int tx_xdp) bnxt_check_rings() argument 15097 bnxt_unmap_bars(struct bnxt * bp,struct pci_dev * pdev) bnxt_unmap_bars() argument 15115 bnxt_cleanup_pci(struct bnxt * bp) bnxt_cleanup_pci() argument 15124 bnxt_init_dflt_coal(struct bnxt * bp) bnxt_init_dflt_coal() argument 15159 bnxt_fw_pre_resv_vnics(struct bnxt * bp) bnxt_fw_pre_resv_vnics() argument 15172 bnxt_hwrm_pfcwd_qcaps(struct bnxt * bp) bnxt_hwrm_pfcwd_qcaps() argument 15189 bnxt_fw_init_one_p1(struct bnxt * bp) bnxt_fw_init_one_p1() argument 15220 bnxt_fw_init_one_p2(struct bnxt * bp) bnxt_fw_init_one_p2() argument 15278 bnxt_set_dflt_rss_hash_type(struct bnxt * bp) bnxt_set_dflt_rss_hash_type() argument 15294 bnxt_set_dflt_rfs(struct bnxt * bp) bnxt_set_dflt_rfs() argument 15310 bnxt_fw_init_one_p3(struct bnxt * bp) bnxt_fw_init_one_p3() argument 15329 bnxt_fw_init_one(struct bnxt * bp) bnxt_fw_init_one() argument 15354 bnxt_fw_reset_writel(struct bnxt * bp,int reg_idx) bnxt_fw_reset_writel() argument 15386 bnxt_hwrm_reset_permitted(struct bnxt * bp) bnxt_hwrm_reset_permitted() argument 15407 bnxt_reset_all(struct bnxt * bp) bnxt_reset_all() argument 15438 bnxt_fw_reset_timeout(struct bnxt * bp) bnxt_fw_reset_timeout() argument 15444 bnxt_fw_reset_abort(struct bnxt * bp,int rc) bnxt_fw_reset_abort() argument 15455 struct bnxt *bp = container_of(work, struct bnxt, fw_reset_task.work); bnxt_fw_reset_task() local 15633 struct bnxt *bp = netdev_priv(dev); bnxt_init_board() local 15723 struct bnxt *bp = netdev_priv(dev); bnxt_change_mac_addr() local 15750 struct bnxt *bp = netdev_priv(dev); bnxt_change_mtu() local 15774 bnxt_set_cp_rings(struct bnxt * bp,bool sh) bnxt_set_cp_rings() argument 15784 struct bnxt *bp = netdev_priv(dev); bnxt_setup_mq_tc() local 15830 struct bnxt *bp = cb_priv; bnxt_setup_tc_block_cb() local 15849 struct bnxt *bp = netdev_priv(dev); bnxt_setup_tc() local 15869 bnxt_get_ntp_filter_idx(struct bnxt * bp,struct flow_keys * fkeys,const struct sk_buff * skb) bnxt_get_ntp_filter_idx() argument 15881 bnxt_insert_ntp_filter(struct bnxt * bp,struct bnxt_ntuple_filter * fltr,u32 idx) bnxt_insert_ntp_filter() argument 15945 bnxt_lookup_ntp_filter_from_idx(struct bnxt * bp,struct bnxt_ntuple_filter * fltr,u32 idx) bnxt_lookup_ntp_filter_from_idx() argument 15963 struct bnxt *bp = netdev_priv(dev); bnxt_rx_flow_steer() local 16047 bnxt_del_ntp_filter(struct bnxt * bp,struct bnxt_ntuple_filter * fltr) bnxt_del_ntp_filter() argument 16063 bnxt_cfg_ntp_filters(struct bnxt * bp) bnxt_cfg_ntp_filters() argument 16107 struct bnxt *bp = netdev_priv(netdev); bnxt_udp_tunnel_set_port() local 16123 struct bnxt *bp = netdev_priv(netdev); bnxt_udp_tunnel_unset_port() local 16159 struct bnxt *bp = netdev_priv(dev); bnxt_bridge_getlink() local 16168 struct bnxt *bp = netdev_priv(dev); bnxt_bridge_setlink() local 16197 struct bnxt *bp = netdev_priv(dev); bnxt_get_port_parent_id() local 16254 struct bnxt *bp = netdev_priv(dev); bnxt_get_queue_stats_rx() local 16283 struct bnxt *bp = netdev_priv(dev); bnxt_get_queue_stats_tx() local 16309 struct bnxt *bp = netdev_priv(dev); bnxt_get_base_stats() local 16337 struct bnxt *bp = netdev_priv(dev); bnxt_validate_qcfg() local 16359 struct bnxt *bp = netdev_priv(dev); bnxt_queue_mem_alloc() local 16455 struct bnxt *bp = netdev_priv(dev); bnxt_queue_mem_free() local 16478 bnxt_copy_rx_ring(struct bnxt * bp,struct bnxt_rx_ring_info * dst,struct bnxt_rx_ring_info * src) bnxt_copy_rx_ring() argument 16539 struct bnxt *bp = netdev_priv(dev); bnxt_queue_start() local 16618 struct bnxt *bp = netdev_priv(dev); bnxt_queue_stop() local 16682 struct bnxt *bp = netdev_priv(dev); bnxt_remove_one() local 16728 bnxt_probe_phy(struct bnxt * bp,bool fw_dflt) bnxt_probe_phy() argument 16782 _bnxt_get_max_rings(struct bnxt * bp,int * max_rx,int * max_tx,int * max_cp) _bnxt_get_max_rings() argument 16818 bnxt_get_max_rings(struct bnxt * bp,int * max_rx,int * max_tx,bool shared) bnxt_get_max_rings() argument 16831 bnxt_get_dflt_rings(struct bnxt * bp,int * max_rx,int * max_tx,bool shared) bnxt_get_dflt_rings() argument 16879 bnxt_trim_dflt_sh_rings(struct bnxt * bp) bnxt_trim_dflt_sh_rings() argument 16887 bnxt_adj_dflt_rings(struct bnxt * bp,bool sh) bnxt_adj_dflt_rings() argument 16900 bnxt_set_dflt_rings(struct bnxt * bp,bool sh) bnxt_set_dflt_rings() argument 16962 bnxt_init_dflt_ring_mode(struct bnxt * bp) bnxt_init_dflt_ring_mode() argument 16992 bnxt_restore_pf_fw_resources(struct bnxt * bp) bnxt_restore_pf_fw_resources() argument 17017 bnxt_init_mac_addr(struct bnxt * bp) bnxt_init_mac_addr() argument 17044 bnxt_vpd_read_info(struct bnxt * bp) bnxt_vpd_read_info() argument 17078 bnxt_pcie_dsn_get(struct bnxt * bp,u8 dsn[]) bnxt_pcie_dsn_get() argument 17095 bnxt_map_db_bar(struct bnxt * bp) bnxt_map_db_bar() argument 17105 bnxt_print_device_info(struct bnxt * bp) bnxt_print_device_info() argument 17118 struct bnxt *bp; bnxt_init_one() local 17410 struct bnxt *bp; bnxt_shutdown() local 17446 struct bnxt *bp = netdev_priv(dev); bnxt_suspend() local 17467 struct bnxt *bp = netdev_priv(dev); bnxt_resume() local 17544 struct bnxt *bp = netdev_priv(netdev); bnxt_io_error_detected() local 17598 struct bnxt *bp = netdev_priv(netdev); bnxt_io_slot_reset() local 17682 struct bnxt *bp = netdev_priv(netdev); bnxt_io_resume() local [all...] |
| H A D | ptp_ocp.c | 278 struct ptp_ocp *bp; member 319 void (*init)(struct ptp_ocp *bp); 320 u32 (*get)(struct ptp_ocp *bp, int sma_nr); 321 int (*set_inputs)(struct ptp_ocp *bp, int sma_nr, u32 val); 322 int (*set_output)(struct ptp_ocp *bp, int sma_nr, u32 val); 428 int (*setup)(struct ptp_ocp *bp, struct ocp_resource *r); 434 static int ptp_ocp_register_mem(struct ptp_ocp *bp, struct ocp_resource *r); 435 static int ptp_ocp_register_i2c(struct ptp_ocp *bp, struct ocp_resource *r); 436 static int ptp_ocp_register_spi(struct ptp_ocp *bp, struct ocp_resource *r); 437 static int ptp_ocp_register_serial(struct ptp_ocp *bp, struc 475 BP_MAP_ENTRY_ADDR(bp,map) global() argument 491 bp_assign_entry(bp,res,val) global() argument 1412 ptp_ocp_sma_init(struct ptp_ocp * bp) ptp_ocp_sma_init() argument 1418 ptp_ocp_sma_get(struct ptp_ocp * bp,int sma_nr) ptp_ocp_sma_get() argument 1424 ptp_ocp_sma_set_inputs(struct ptp_ocp * bp,int sma_nr,u32 val) ptp_ocp_sma_set_inputs() argument 1430 ptp_ocp_sma_set_output(struct ptp_ocp * bp,int sma_nr,u32 val) ptp_ocp_sma_set_output() argument 1476 __ptp_ocp_gettime_locked(struct ptp_ocp * bp,struct timespec64 * ts,struct ptp_system_timestamp * sts) __ptp_ocp_gettime_locked() argument 1510 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); ptp_ocp_gettimex() local 1522 __ptp_ocp_settime_locked(struct ptp_ocp * bp,const struct timespec64 * ts) __ptp_ocp_settime_locked() argument 1546 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); ptp_ocp_settime() local 1557 __ptp_ocp_adjtime_locked(struct ptp_ocp * bp,u32 adj_val) __ptp_ocp_adjtime_locked() argument 1575 ptp_ocp_adjtime_coarse(struct ptp_ocp * bp,s64 delta_ns) ptp_ocp_adjtime_coarse() argument 1594 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); ptp_ocp_adjtime() local 1638 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); ptp_ocp_enable() local 1708 struct ptp_ocp *bp = container_of(ptp_info, struct ptp_ocp, ptp_info); ptp_ocp_verify() local 1754 __ptp_ocp_clear_drift_locked(struct ptp_ocp * bp) __ptp_ocp_clear_drift_locked() argument 1771 ptp_ocp_utc_distribute(struct ptp_ocp * bp,u32 val) ptp_ocp_utc_distribute() argument 1792 struct ptp_ocp *bp = timer_container_of(bp, t, watchdog); ptp_ocp_watchdog() local 1826 ptp_ocp_estimate_pci_timing(struct ptp_ocp * bp) ptp_ocp_estimate_pci_timing() argument 1850 ptp_ocp_init_clock(struct ptp_ocp * bp,struct ptp_ocp_servo_conf * servo_conf) ptp_ocp_init_clock() argument 1891 ptp_ocp_tod_init(struct ptp_ocp * bp) ptp_ocp_tod_init() argument 1937 struct ptp_ocp *bp; global() member 1957 ptp_ocp_nvmem_device_get(struct ptp_ocp * bp,const void * const tag) ptp_ocp_nvmem_device_get() argument 1973 ptp_ocp_read_eeprom(struct ptp_ocp * bp) ptp_ocp_read_eeprom() argument 2016 ptp_ocp_find_flash(struct ptp_ocp * bp) ptp_ocp_find_flash() argument 2038 struct ptp_ocp *bp = devlink_priv(devlink); ptp_ocp_devlink_fw_image() local 2087 struct ptp_ocp *bp = devlink_priv(devlink); ptp_ocp_devlink_flash() local 2131 struct ptp_ocp *bp = devlink_priv(devlink); ptp_ocp_devlink_flash_update() local 2158 struct ptp_ocp *bp = devlink_priv(devlink); ptp_ocp_devlink_info_get() local 2197 __ptp_ocp_get_mem(struct ptp_ocp * bp,resource_size_t start,int size) __ptp_ocp_get_mem() argument 2205 ptp_ocp_get_mem(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_get_mem() argument 2214 ptp_ocp_register_spi(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_register_spi() argument 2260 ptp_ocp_register_i2c(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_register_i2c() argument 2296 struct ptp_ocp *bp = ext->bp; ptp_ocp_signal_irq() local 2318 ptp_ocp_signal_set(struct ptp_ocp * bp,int gen,struct ptp_ocp_signal * s) ptp_ocp_signal_set() argument 2358 ptp_ocp_signal_from_perout(struct ptp_ocp * bp,int gen,struct ptp_perout_request * req) ptp_ocp_signal_from_perout() argument 2386 struct ptp_ocp *bp = ext->bp; ptp_ocp_signal_enable() local 2461 struct ptp_ocp *bp = ext->bp; ptp_ocp_ts_enable() local 2505 ptp_ocp_register_ext(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_register_ext() argument 2542 ptp_ocp_serial_line(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_serial_line() argument 2564 ptp_ocp_register_serial(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_register_serial() argument 2582 ptp_ocp_register_mem(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_register_mem() argument 2596 ptp_ocp_nmea_out_init(struct ptp_ocp * bp) ptp_ocp_nmea_out_init() argument 2619 ptp_ocp_signal_init(struct ptp_ocp * bp) ptp_ocp_signal_init() argument 2630 ptp_ocp_attr_group_del(struct ptp_ocp * bp) ptp_ocp_attr_group_del() argument 2637 ptp_ocp_attr_group_add(struct ptp_ocp * bp,const struct ocp_attr_group * attr_tbl) ptp_ocp_attr_group_add() argument 2680 ptp_ocp_irig_out(struct ptp_ocp * bp,bool enable) ptp_ocp_irig_out() argument 2687 ptp_ocp_irig_in(struct ptp_ocp * bp,bool enable) ptp_ocp_irig_in() argument 2694 ptp_ocp_dcf_out(struct ptp_ocp * bp,bool enable) ptp_ocp_dcf_out() argument 2701 ptp_ocp_dcf_in(struct ptp_ocp * bp,bool enable) ptp_ocp_dcf_in() argument 2708 __handle_signal_outputs(struct ptp_ocp * bp,u32 val) __handle_signal_outputs() argument 2715 __handle_signal_inputs(struct ptp_ocp * bp,u32 val) __handle_signal_inputs() argument 2722 ptp_ocp_sma_fb_get(struct ptp_ocp * bp,int sma_nr) ptp_ocp_sma_fb_get() argument 2740 ptp_ocp_sma_fb_set_output(struct ptp_ocp * bp,int sma_nr,u32 val) ptp_ocp_sma_fb_set_output() argument 2766 ptp_ocp_sma_fb_set_inputs(struct ptp_ocp * bp,int sma_nr,u32 val) ptp_ocp_sma_fb_set_inputs() argument 2792 ptp_ocp_sma_fb_init(struct ptp_ocp * bp) ptp_ocp_sma_fb_init() argument 2854 ptp_ocp_sma_adva_set_output(struct ptp_ocp * bp,int sma_nr,u32 val) ptp_ocp_sma_adva_set_output() argument 2878 ptp_ocp_sma_adva_set_inputs(struct ptp_ocp * bp,int sma_nr,u32 val) ptp_ocp_sma_adva_set_inputs() argument 2918 ptp_ocp_set_pins(struct ptp_ocp * bp) ptp_ocp_set_pins() argument 2939 ptp_ocp_fb_set_version(struct ptp_ocp * bp) ptp_ocp_fb_set_version() argument 2972 ptp_ocp_fb_board_init(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_fb_board_init() argument 3002 ptp_ocp_allow_irq(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_allow_irq() argument 3013 ptp_ocp_register_resources(struct ptp_ocp * bp,kernel_ulong_t driver_data) ptp_ocp_register_resources() argument 3034 ptp_ocp_art_sma_init(struct ptp_ocp * bp) ptp_ocp_art_sma_init() argument 3091 ptp_ocp_art_sma_get(struct ptp_ocp * bp,int sma_nr) ptp_ocp_art_sma_get() argument 3101 ptp_ocp_art_sma_set(struct ptp_ocp * bp,int sma_nr,u32 val) ptp_ocp_art_sma_set() argument 3137 ptp_ocp_art_board_init(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_art_board_init() argument 3167 ptp_ocp_adva_board_init(struct ptp_ocp * bp,struct ocp_resource * r) ptp_ocp_adva_board_init() argument 3285 ptp_ocp_sma_show(struct ptp_ocp * bp,int sma_nr,char * buf,int default_in_val,int default_out_val) ptp_ocp_sma_show() argument 3307 struct ptp_ocp *bp = dev_get_drvdata(dev); sma1_show() local 3315 struct ptp_ocp *bp = dev_get_drvdata(dev); sma2_show() local 3323 struct ptp_ocp *bp = dev_get_drvdata(dev); sma3_show() local 3331 struct ptp_ocp *bp = dev_get_drvdata(dev); sma4_show() local 3337 ptp_ocp_sma_store_val(struct ptp_ocp * bp,int val,enum ptp_ocp_sma_mode mode,int sma_nr) ptp_ocp_sma_store_val() argument 3375 ptp_ocp_sma_store(struct ptp_ocp * bp,const char * buf,int sma_nr) ptp_ocp_sma_store() argument 3392 struct ptp_ocp *bp = dev_get_drvdata(dev); sma1_store() local 3403 struct ptp_ocp *bp = dev_get_drvdata(dev); sma2_store() local 3414 struct ptp_ocp *bp = dev_get_drvdata(dev); sma3_store() local 3425 struct ptp_ocp *bp = dev_get_drvdata(dev); sma4_store() local 3440 struct ptp_ocp *bp = dev_get_drvdata(dev); available_sma_inputs_show() local 3450 struct ptp_ocp *bp = dev_get_drvdata(dev); available_sma_outputs_show() local 3470 struct ptp_ocp *bp = dev_get_drvdata(dev); signal_store() local 3530 struct ptp_ocp *bp = dev_get_drvdata(dev); signal_show() local 3552 struct ptp_ocp *bp = dev_get_drvdata(dev); duty_show() local 3566 struct ptp_ocp *bp = dev_get_drvdata(dev); period_show() local 3580 struct ptp_ocp *bp = dev_get_drvdata(dev); phase_show() local 3595 struct ptp_ocp *bp = dev_get_drvdata(dev); polarity_show() local 3609 struct ptp_ocp *bp = dev_get_drvdata(dev); running_show() local 3623 struct ptp_ocp *bp = dev_get_drvdata(dev); start_show() local 3640 struct ptp_ocp *bp = dev_get_drvdata(dev); seconds_store() local 3663 struct ptp_ocp *bp = dev_get_drvdata(dev); seconds_show() local 3684 struct ptp_ocp *bp = dev_get_drvdata(dev); frequency_show() local 3706 struct ptp_ocp *bp = dev_get_drvdata(dev); ptp_ocp_tty_show() local 3720 struct ptp_ocp *bp = dev_get_drvdata(kobj_to_dev(kobj)); ptp_ocp_timecard_tty_is_visible() local 3759 struct ptp_ocp *bp = dev_get_drvdata(dev); serialnum_show() local 3771 struct ptp_ocp *bp = dev_get_drvdata(dev); gnss_sync_show() local 3787 struct ptp_ocp *bp = dev_get_drvdata(dev); utc_tai_offset_show() local 3797 struct ptp_ocp *bp = dev_get_drvdata(dev); utc_tai_offset_store() local 3815 struct ptp_ocp *bp = dev_get_drvdata(dev); ts_window_adjust_show() local 3825 struct ptp_ocp *bp = dev_get_drvdata(dev); ts_window_adjust_store() local 3842 struct ptp_ocp *bp = dev_get_drvdata(dev); irig_b_mode_show() local 3855 struct ptp_ocp *bp = dev_get_drvdata(dev); irig_b_mode_store() local 3882 struct ptp_ocp *bp = dev_get_drvdata(dev); clock_source_show() local 3896 struct ptp_ocp *bp = dev_get_drvdata(dev); clock_source_store() local 3924 struct ptp_ocp *bp = dev_get_drvdata(dev); clock_status_drift_show() local 3939 struct ptp_ocp *bp = dev_get_drvdata(dev); clock_status_offset_show() local 3954 struct ptp_ocp *bp = dev_get_drvdata(dev); tod_correction_show() local 3968 struct ptp_ocp *bp = dev_get_drvdata(dev); tod_correction_store() local 4040 struct ptp_ocp *bp = dev_get_drvdata(kobj_to_dev(kobj)); disciplining_config_read() local 4075 struct ptp_ocp *bp = dev_get_drvdata(kobj_to_dev(kobj)); disciplining_config_write() local 4102 struct ptp_ocp *bp = dev_get_drvdata(kobj_to_dev(kobj)); temperature_table_read() local 4137 struct ptp_ocp *bp = dev_get_drvdata(kobj_to_dev(kobj)); temperature_table_write() local 4299 gpio_input_map(char * buf,struct ptp_ocp * bp,u16 map[][2],u16 bit,const char * def) gpio_input_map() argument 4318 gpio_output_map(char * buf,struct ptp_ocp * bp,u16 map[][2],u16 bit) gpio_output_map() argument 4333 _signal_summary_show(struct seq_file * s,struct ptp_ocp * bp,int nr) _signal_summary_show() argument 4394 struct ptp_ocp *bp; ptp_ocp_summary_show() local 4625 struct ptp_ocp *bp; ptp_ocp_tod_status_show() local 4675 ptp_ocp_debugfs_add_device(struct ptp_ocp * bp) ptp_ocp_debugfs_add_device() argument 4689 ptp_ocp_debugfs_remove_device(struct ptp_ocp * bp) ptp_ocp_debugfs_remove_device() argument 4709 struct ptp_ocp *bp = dev_get_drvdata(dev); ptp_ocp_dev_release() local 4717 ptp_ocp_device_init(struct ptp_ocp * bp,struct pci_dev * pdev) ptp_ocp_device_init() argument 4761 ptp_ocp_symlink(struct ptp_ocp * bp,struct device * child,const char * link) ptp_ocp_symlink() argument 4770 ptp_ocp_link_child(struct ptp_ocp * bp,const char * name,const char * link) ptp_ocp_link_child() argument 4787 ptp_ocp_complete(struct ptp_ocp * bp) ptp_ocp_complete() argument 4805 ptp_ocp_phc_info(struct ptp_ocp * bp) ptp_ocp_phc_info() argument 4830 ptp_ocp_info(struct ptp_ocp * bp) ptp_ocp_info() argument 4857 ptp_ocp_detach_sysfs(struct ptp_ocp * bp) ptp_ocp_detach_sysfs() argument 4866 ptp_ocp_detach(struct ptp_ocp * bp) ptp_ocp_detach() argument 4916 struct ptp_ocp *bp = priv; ptp_ocp_dpll_lock_status_get() local 4928 struct ptp_ocp *bp = priv; ptp_ocp_dpll_state_get() local 4971 struct ptp_ocp *bp = dpll_priv; ptp_ocp_dpll_direction_set() local 4989 struct ptp_ocp *bp = dpll_priv; ptp_ocp_dpll_frequency_set() local 5011 struct ptp_ocp *bp = dpll_priv; ptp_ocp_dpll_frequency_get() local 5044 struct ptp_ocp *bp; ptp_ocp_sync_work() local 5062 struct ptp_ocp *bp; ptp_ocp_probe() local 5166 struct ptp_ocp *bp = pci_get_drvdata(pdev); ptp_ocp_remove() local 5199 struct ptp_ocp *bp; ptp_ocp_i2c_notifier_call() local [all...] |