Lines Matching defs:pf

56 	struct otx2_nic *pf = netdev_priv(netdev);  in otx2_change_mtu()  local
78 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr()
104 static void otx2_flr_wq_destroy(struct otx2_nic *pf) in otx2_flr_wq_destroy()
116 struct otx2_nic *pf = flrwork->pf; in otx2_flr_handler() local
147 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_flr_intr_handler() local
176 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_me_intr_handler() local
199 static int otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs) in otx2_register_flr_me_intr()
272 static int otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs) in otx2_pf_flr_init()
354 static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, in otx2_forward_vf_mbox_msgs()
455 struct otx2_nic *pf; in otx2_pfvf_mbox_handler() local
492 struct otx2_nic *pf = vf_mbox->pfvf; in otx2_pfvf_mbox_up_handler() local
541 struct otx2_nic *pf = (struct otx2_nic *)(pf_irq); in otx2_pfvf_mbox_intr_handler() local
568 static int otx2_pfvf_mbox_init(struct otx2_nic *pf, int numvfs) in otx2_pfvf_mbox_init()
633 static void otx2_pfvf_mbox_destroy(struct otx2_nic *pf) in otx2_pfvf_mbox_destroy()
651 static void otx2_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_enable_pfvf_mbox_intr()
666 static void otx2_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_disable_pfvf_mbox_intr()
685 static int otx2_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_register_pfvf_mbox_intr()
730 static void otx2_process_pfaf_mbox_msg(struct otx2_nic *pf, in otx2_process_pfaf_mbox_msg()
806 struct otx2_nic *pf; in otx2_pfaf_mbox_handler() local
830 static void otx2_handle_link_event(struct otx2_nic *pf) in otx2_handle_link_event()
847 int otx2_mbox_up_handler_mcs_intr_notify(struct otx2_nic *pf, in otx2_mbox_up_handler_mcs_intr_notify()
856 int otx2_mbox_up_handler_cgx_link_event(struct otx2_nic *pf, in otx2_mbox_up_handler_cgx_link_event()
884 static int otx2_process_mbox_msg_up(struct otx2_nic *pf, in otx2_process_mbox_msg_up()
930 struct otx2_nic *pf = af_mbox->pfvf; in otx2_pfaf_mbox_up_handler() local
963 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pfaf_mbox_intr_handler() local
1011 static void otx2_disable_mbox_intr(struct otx2_nic *pf) in otx2_disable_mbox_intr()
1020 static int otx2_register_mbox_intr(struct otx2_nic *pf, bool probe_af) in otx2_register_mbox_intr()
1064 static void otx2_pfaf_mbox_destroy(struct otx2_nic *pf) in otx2_pfaf_mbox_destroy()
1080 static int otx2_pfaf_mbox_init(struct otx2_nic *pf) in otx2_pfaf_mbox_init()
1128 static int otx2_cgx_config_linkevents(struct otx2_nic *pf, bool enable) in otx2_cgx_config_linkevents()
1166 static int otx2_cgx_config_loopback(struct otx2_nic *pf, bool enable) in otx2_cgx_config_loopback()
1268 struct otx2_nic *pf = data; in otx2_q_intr_handler() local
1385 struct otx2_nic *pf = (struct otx2_nic *)cq_poll->dev; in otx2_cq_intr_handler() local
1402 static void otx2_disable_napi(struct otx2_nic *pf) in otx2_disable_napi()
1416 static void otx2_free_cq_res(struct otx2_nic *pf) in otx2_free_cq_res()
1430 static void otx2_free_sq_res(struct otx2_nic *pf) in otx2_free_sq_res()
1452 static int otx2_get_rbuf_size(struct otx2_nic *pf, int mtu) in otx2_get_rbuf_size()
1480 static int otx2_init_hw_resources(struct otx2_nic *pf) in otx2_init_hw_resources()
1605 static void otx2_free_hw_resources(struct otx2_nic *pf) in otx2_free_hw_resources()
1707 static void otx2_do_set_rx_mode(struct otx2_nic *pf) in otx2_do_set_rx_mode()
1775 struct otx2_nic *pf = netdev_priv(netdev); in otx2_open() local
1992 struct otx2_nic *pf = netdev_priv(netdev); in otx2_stop() local
2063 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xmit() local
2099 static int otx2_qos_select_htb_queue(struct otx2_nic *pf, struct sk_buff *skb, in otx2_qos_select_htb_queue()
2118 struct otx2_nic *pf = netdev_priv(netdev); in otx2_select_queue() local
2175 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_rx_mode() local
2182 struct otx2_nic *pf = container_of(work, struct otx2_nic, rx_mode_work); in otx2_rx_mode_wrk_handler() local
2191 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_features() local
2206 struct otx2_nic *pf = container_of(work, struct otx2_nic, reset_task); in otx2_reset_task() local
2365 static int otx2_do_set_vf_mac(struct otx2_nic *pf, int vf, const u8 *mac) in otx2_do_set_vf_mac()
2395 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_vf_mac() local
2420 static int otx2_do_set_vf_vlan(struct otx2_nic *pf, int vf, u16 vlan, u8 qos, in otx2_do_set_vf_vlan()
2562 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_vf_vlan() local
2587 struct otx2_nic *pf = netdev_priv(netdev); in otx2_get_vf_config() local
2606 static int otx2_xdp_xmit_tx(struct otx2_nic *pf, struct xdp_frame *xdpf, in otx2_xdp_xmit_tx()
2632 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xdp_xmit() local
2661 static int otx2_xdp_setup(struct otx2_nic *pf, struct bpf_prog *prog) in otx2_xdp_setup()
2702 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xdp() local
2712 static int otx2_set_vf_permissions(struct otx2_nic *pf, int vf, in otx2_set_vf_permissions()
2743 struct otx2_nic *pf = netdev_priv(netdev); in otx2_ndo_set_vf_trust() local
2789 static int otx2_wq_init(struct otx2_nic *pf) in otx2_wq_init()
2818 static int otx2_realloc_msix_vectors(struct otx2_nic *pf) in otx2_realloc_msix_vectors()
2841 static int otx2_sriov_vfcfg_init(struct otx2_nic *pf) in otx2_sriov_vfcfg_init()
2862 static void otx2_sriov_vfcfg_cleanup(struct otx2_nic *pf) in otx2_sriov_vfcfg_cleanup()
2880 struct otx2_nic *pf; in otx2_probe() local
3141 struct otx2_nic *pf; in otx2_vf_link_event_task() local
3185 struct otx2_nic *pf = netdev_priv(netdev); in otx2_sriov_enable() local
3224 struct otx2_nic *pf = netdev_priv(netdev); in otx2_sriov_disable() local
3248 static void otx2_ndc_sync(struct otx2_nic *pf) in otx2_ndc_sync()
3274 struct otx2_nic *pf; in otx2_remove() local