Lines Matching defs:pf

53 	struct otx2_nic *pf = netdev_priv(netdev);  in otx2_change_mtu()  local
75 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr()
101 static void otx2_flr_wq_destroy(struct otx2_nic *pf) in otx2_flr_wq_destroy()
113 struct otx2_nic *pf = flrwork->pf; in otx2_flr_handler() local
144 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_flr_intr_handler() local
173 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_me_intr_handler() local
196 static int otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs) in otx2_register_flr_me_intr()
269 static int otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs) in otx2_pf_flr_init()
364 static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, in otx2_forward_vf_mbox_msgs()
461 struct otx2_nic *pf; in otx2_pfvf_mbox_handler() local
499 struct otx2_nic *pf = vf_mbox->pfvf; in otx2_pfvf_mbox_up_handler() local
550 struct otx2_nic *pf = (struct otx2_nic *)(pf_irq); in otx2_pfvf_mbox_intr_handler() local
575 static int otx2_pfvf_mbox_init(struct otx2_nic *pf, int numvfs) in otx2_pfvf_mbox_init()
640 static void otx2_pfvf_mbox_destroy(struct otx2_nic *pf) in otx2_pfvf_mbox_destroy()
658 static void otx2_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_enable_pfvf_mbox_intr()
673 static void otx2_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_disable_pfvf_mbox_intr()
692 static int otx2_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_register_pfvf_mbox_intr()
737 static void otx2_process_pfaf_mbox_msg(struct otx2_nic *pf, in otx2_process_pfaf_mbox_msg()
817 struct otx2_nic *pf; in otx2_pfaf_mbox_handler() local
839 static void otx2_handle_link_event(struct otx2_nic *pf) in otx2_handle_link_event()
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()
929 struct otx2_nic *pf = af_mbox->pfvf; in otx2_pfaf_mbox_up_handler() local
959 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pfaf_mbox_intr_handler() local
974 static void otx2_disable_mbox_intr(struct otx2_nic *pf) in otx2_disable_mbox_intr()
983 static int otx2_register_mbox_intr(struct otx2_nic *pf, bool probe_af) in otx2_register_mbox_intr()
1027 static void otx2_pfaf_mbox_destroy(struct otx2_nic *pf) in otx2_pfaf_mbox_destroy()
1043 static int otx2_pfaf_mbox_init(struct otx2_nic *pf) in otx2_pfaf_mbox_init()
1092 static int otx2_cgx_config_linkevents(struct otx2_nic *pf, bool enable) in otx2_cgx_config_linkevents()
1113 static int otx2_cgx_config_loopback(struct otx2_nic *pf, bool enable) in otx2_cgx_config_loopback()
1161 struct otx2_nic *pf = data; in otx2_q_intr_handler() local
1241 struct otx2_nic *pf = (struct otx2_nic *)cq_poll->dev; in otx2_cq_intr_handler() local
1257 static void otx2_disable_napi(struct otx2_nic *pf) in otx2_disable_napi()
1270 static void otx2_free_cq_res(struct otx2_nic *pf) in otx2_free_cq_res()
1284 static void otx2_free_sq_res(struct otx2_nic *pf) in otx2_free_sq_res()
1303 static int otx2_get_rbuf_size(struct otx2_nic *pf, int mtu) in otx2_get_rbuf_size()
1328 static int otx2_init_hw_resources(struct otx2_nic *pf) in otx2_init_hw_resources()
1431 static void otx2_free_hw_resources(struct otx2_nic *pf) in otx2_free_hw_resources()
1503 static void otx2_do_set_rx_mode(struct otx2_nic *pf) in otx2_do_set_rx_mode()
1543 struct otx2_nic *pf = netdev_priv(netdev); in otx2_open() local
1732 struct otx2_nic *pf = netdev_priv(netdev); in otx2_stop() local
1802 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xmit() local
1845 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_rx_mode() local
1852 struct otx2_nic *pf = container_of(work, struct otx2_nic, rx_mode_work); in otx2_rx_mode_wrk_handler() local
1862 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_features() local
1917 struct otx2_nic *pf = container_of(work, struct otx2_nic, reset_task); in otx2_reset_task() local
2069 static int otx2_do_set_vf_mac(struct otx2_nic *pf, int vf, const u8 *mac) in otx2_do_set_vf_mac()
2099 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_vf_mac() local
2124 static int otx2_do_set_vf_vlan(struct otx2_nic *pf, int vf, u16 vlan, u8 qos, in otx2_do_set_vf_vlan()
2266 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_vf_vlan() local
2291 struct otx2_nic *pf = netdev_priv(netdev); in otx2_get_vf_config() local
2310 static int otx2_xdp_xmit_tx(struct otx2_nic *pf, struct xdp_frame *xdpf, in otx2_xdp_xmit_tx()
2336 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xdp_xmit() local
2365 static int otx2_xdp_setup(struct otx2_nic *pf, struct bpf_prog *prog) in otx2_xdp_setup()
2405 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xdp() local
2415 static int otx2_set_vf_permissions(struct otx2_nic *pf, int vf, in otx2_set_vf_permissions()
2446 struct otx2_nic *pf = netdev_priv(netdev); in otx2_ndo_set_vf_trust() local
2488 static int otx2_wq_init(struct otx2_nic *pf) in otx2_wq_init()
2517 static int otx2_realloc_msix_vectors(struct otx2_nic *pf) in otx2_realloc_msix_vectors()
2540 static int otx2_sriov_vfcfg_init(struct otx2_nic *pf) in otx2_sriov_vfcfg_init()
2561 static void otx2_sriov_vfcfg_cleanup(struct otx2_nic *pf) in otx2_sriov_vfcfg_cleanup()
2578 struct otx2_nic *pf; in otx2_probe() local
2821 struct otx2_nic *pf; in otx2_vf_link_event_task() local
2847 struct otx2_nic *pf = netdev_priv(netdev); in otx2_sriov_enable() local
2886 struct otx2_nic *pf = netdev_priv(netdev); in otx2_sriov_disable() local
2913 struct otx2_nic *pf; in otx2_remove() local