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()
366 static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, in otx2_forward_vf_mbox_msgs()
468 struct otx2_nic *pf; in otx2_pfvf_mbox_handler() local
506 struct otx2_nic *pf = vf_mbox->pfvf; in otx2_pfvf_mbox_up_handler() local
557 struct otx2_nic *pf = (struct otx2_nic *)(pf_irq); in otx2_pfvf_mbox_intr_handler() local
585 static int otx2_pfvf_mbox_init(struct otx2_nic *pf, int numvfs) in otx2_pfvf_mbox_init()
649 static void otx2_pfvf_mbox_destroy(struct otx2_nic *pf) in otx2_pfvf_mbox_destroy()
667 static void otx2_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_enable_pfvf_mbox_intr()
682 static void otx2_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_disable_pfvf_mbox_intr()
701 static int otx2_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_register_pfvf_mbox_intr()
746 static void otx2_process_pfaf_mbox_msg(struct otx2_nic *pf, in otx2_process_pfaf_mbox_msg()
822 struct otx2_nic *pf; in otx2_pfaf_mbox_handler() local
844 static void otx2_handle_link_event(struct otx2_nic *pf) in otx2_handle_link_event()
861 int otx2_mbox_up_handler_mcs_intr_notify(struct otx2_nic *pf, in otx2_mbox_up_handler_mcs_intr_notify()
870 int otx2_mbox_up_handler_cgx_link_event(struct otx2_nic *pf, in otx2_mbox_up_handler_cgx_link_event()
898 static int otx2_process_mbox_msg_up(struct otx2_nic *pf, in otx2_process_mbox_msg_up()
944 struct otx2_nic *pf = af_mbox->pfvf; in otx2_pfaf_mbox_up_handler() local
974 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pfaf_mbox_intr_handler() local
989 static void otx2_disable_mbox_intr(struct otx2_nic *pf) in otx2_disable_mbox_intr()
998 static int otx2_register_mbox_intr(struct otx2_nic *pf, bool probe_af) in otx2_register_mbox_intr()
1042 static void otx2_pfaf_mbox_destroy(struct otx2_nic *pf) in otx2_pfaf_mbox_destroy()
1058 static int otx2_pfaf_mbox_init(struct otx2_nic *pf) in otx2_pfaf_mbox_init()
1106 static int otx2_cgx_config_linkevents(struct otx2_nic *pf, bool enable) in otx2_cgx_config_linkevents()
1127 static int otx2_cgx_config_loopback(struct otx2_nic *pf, bool enable) in otx2_cgx_config_loopback()
1229 struct otx2_nic *pf = data; in otx2_q_intr_handler() local
1346 struct otx2_nic *pf = (struct otx2_nic *)cq_poll->dev; in otx2_cq_intr_handler() local
1363 static void otx2_disable_napi(struct otx2_nic *pf) in otx2_disable_napi()
1377 static void otx2_free_cq_res(struct otx2_nic *pf) in otx2_free_cq_res()
1391 static void otx2_free_sq_res(struct otx2_nic *pf) in otx2_free_sq_res()
1413 static int otx2_get_rbuf_size(struct otx2_nic *pf, int mtu) in otx2_get_rbuf_size()
1441 static int otx2_init_hw_resources(struct otx2_nic *pf) in otx2_init_hw_resources()
1566 static void otx2_free_hw_resources(struct otx2_nic *pf) in otx2_free_hw_resources()
1668 static void otx2_do_set_rx_mode(struct otx2_nic *pf) in otx2_do_set_rx_mode()
1736 struct otx2_nic *pf = netdev_priv(netdev); in otx2_open() local
1945 struct otx2_nic *pf = netdev_priv(netdev); in otx2_stop() local
2016 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xmit() local
2052 static int otx2_qos_select_htb_queue(struct otx2_nic *pf, struct sk_buff *skb, in otx2_qos_select_htb_queue()
2071 struct otx2_nic *pf = netdev_priv(netdev); in otx2_select_queue() local
2128 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_rx_mode() local
2135 struct otx2_nic *pf = container_of(work, struct otx2_nic, rx_mode_work); in otx2_rx_mode_wrk_handler() local
2144 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_features() local
2159 struct otx2_nic *pf = container_of(work, struct otx2_nic, reset_task); in otx2_reset_task() local
2318 static int otx2_do_set_vf_mac(struct otx2_nic *pf, int vf, const u8 *mac) in otx2_do_set_vf_mac()
2348 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_vf_mac() local
2373 static int otx2_do_set_vf_vlan(struct otx2_nic *pf, int vf, u16 vlan, u8 qos, in otx2_do_set_vf_vlan()
2515 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_vf_vlan() local
2540 struct otx2_nic *pf = netdev_priv(netdev); in otx2_get_vf_config() local
2559 static int otx2_xdp_xmit_tx(struct otx2_nic *pf, struct xdp_frame *xdpf, in otx2_xdp_xmit_tx()
2585 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xdp_xmit() local
2614 static int otx2_xdp_setup(struct otx2_nic *pf, struct bpf_prog *prog) in otx2_xdp_setup()
2655 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xdp() local
2665 static int otx2_set_vf_permissions(struct otx2_nic *pf, int vf, in otx2_set_vf_permissions()
2696 struct otx2_nic *pf = netdev_priv(netdev); in otx2_ndo_set_vf_trust() local
2742 static int otx2_wq_init(struct otx2_nic *pf) in otx2_wq_init()
2771 static int otx2_realloc_msix_vectors(struct otx2_nic *pf) in otx2_realloc_msix_vectors()
2794 static int otx2_sriov_vfcfg_init(struct otx2_nic *pf) in otx2_sriov_vfcfg_init()
2815 static void otx2_sriov_vfcfg_cleanup(struct otx2_nic *pf) in otx2_sriov_vfcfg_cleanup()
2833 struct otx2_nic *pf; in otx2_probe() local
3090 struct otx2_nic *pf; in otx2_vf_link_event_task() local
3116 struct otx2_nic *pf = netdev_priv(netdev); in otx2_sriov_enable() local
3155 struct otx2_nic *pf = netdev_priv(netdev); in otx2_sriov_disable() local
3182 struct otx2_nic *pf; in otx2_remove() local