Lines Matching defs:pf

58 	struct otx2_nic *pf = netdev_priv(netdev);  in otx2_change_mtu()  local
80 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr()
106 static void otx2_flr_wq_destroy(struct otx2_nic *pf) in otx2_flr_wq_destroy()
118 struct otx2_nic *pf = flrwork->pf; in otx2_flr_handler() local
149 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_flr_intr_handler() local
178 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_me_intr_handler() local
201 static int otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs) in otx2_register_flr_me_intr()
274 static int otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs) in otx2_pf_flr_init()
356 static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, in otx2_forward_vf_mbox_msgs()
457 struct otx2_nic *pf; in otx2_pfvf_mbox_handler() local
494 struct otx2_nic *pf = vf_mbox->pfvf; in otx2_pfvf_mbox_up_handler() local
544 struct otx2_nic *pf = (struct otx2_nic *)(pf_irq); in otx2_pfvf_mbox_intr_handler() local
571 static int otx2_pfvf_mbox_init(struct otx2_nic *pf, int numvfs) in otx2_pfvf_mbox_init()
636 static void otx2_pfvf_mbox_destroy(struct otx2_nic *pf) in otx2_pfvf_mbox_destroy()
654 static void otx2_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_enable_pfvf_mbox_intr()
669 static void otx2_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_disable_pfvf_mbox_intr()
688 static int otx2_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_register_pfvf_mbox_intr()
733 static void otx2_process_pfaf_mbox_msg(struct otx2_nic *pf, in otx2_process_pfaf_mbox_msg()
809 struct otx2_nic *pf; in otx2_pfaf_mbox_handler() local
833 static void otx2_handle_link_event(struct otx2_nic *pf) in otx2_handle_link_event()
853 static int otx2_mbox_up_handler_rep_event_up_notify(struct otx2_nic *pf, in otx2_mbox_up_handler_rep_event_up_notify()
882 int otx2_mbox_up_handler_mcs_intr_notify(struct otx2_nic *pf, in otx2_mbox_up_handler_mcs_intr_notify()
891 int otx2_mbox_up_handler_cgx_link_event(struct otx2_nic *pf, in otx2_mbox_up_handler_cgx_link_event()
919 static int otx2_process_mbox_msg_up(struct otx2_nic *pf, in otx2_process_mbox_msg_up()
966 struct otx2_nic *pf = af_mbox->pfvf; in otx2_pfaf_mbox_up_handler() local
999 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pfaf_mbox_intr_handler() local
1047 void otx2_disable_mbox_intr(struct otx2_nic *pf) in otx2_disable_mbox_intr()
1057 int otx2_register_mbox_intr(struct otx2_nic *pf, bool probe_af) in otx2_register_mbox_intr()
1101 void otx2_pfaf_mbox_destroy(struct otx2_nic *pf) in otx2_pfaf_mbox_destroy()
1118 int otx2_pfaf_mbox_init(struct otx2_nic *pf) in otx2_pfaf_mbox_init()
1166 static int otx2_cgx_config_linkevents(struct otx2_nic *pf, bool enable) in otx2_cgx_config_linkevents()
1204 static int otx2_cgx_config_loopback(struct otx2_nic *pf, bool enable) in otx2_cgx_config_loopback()
1306 struct otx2_nic *pf = data; in otx2_q_intr_handler() local
1423 struct otx2_nic *pf = (struct otx2_nic *)cq_poll->dev; in otx2_cq_intr_handler() local
1441 void otx2_disable_napi(struct otx2_nic *pf) in otx2_disable_napi()
1459 static void otx2_free_cq_res(struct otx2_nic *pf) in otx2_free_cq_res()
1473 static void otx2_free_sq_res(struct otx2_nic *pf) in otx2_free_sq_res()
1497 static int otx2_get_rbuf_size(struct otx2_nic *pf, int mtu) in otx2_get_rbuf_size()
1525 int otx2_init_hw_resources(struct otx2_nic *pf) in otx2_init_hw_resources()
1660 void otx2_free_hw_resources(struct otx2_nic *pf) in otx2_free_hw_resources()
1756 static void otx2_do_set_rx_mode(struct otx2_nic *pf) in otx2_do_set_rx_mode()
1835 int otx2_alloc_queue_mem(struct otx2_nic *pf) in otx2_alloc_queue_mem()
1884 struct otx2_nic *pf = netdev_priv(netdev); in otx2_open() local
2069 struct otx2_nic *pf = netdev_priv(netdev); in otx2_stop() local
2136 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xmit() local
2172 static int otx2_qos_select_htb_queue(struct otx2_nic *pf, struct sk_buff *skb, in otx2_qos_select_htb_queue()
2191 struct otx2_nic *pf = netdev_priv(netdev); in otx2_select_queue() local
2248 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_rx_mode() local
2255 struct otx2_nic *pf = container_of(work, struct otx2_nic, rx_mode_work); in otx2_rx_mode_wrk_handler() local
2264 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_features() local
2283 struct otx2_nic *pf = container_of(work, struct otx2_nic, reset_task); in otx2_reset_task() local
2442 static int otx2_do_set_vf_mac(struct otx2_nic *pf, int vf, const u8 *mac) in otx2_do_set_vf_mac()
2472 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_vf_mac() local
2497 static int otx2_do_set_vf_vlan(struct otx2_nic *pf, int vf, u16 vlan, u8 qos, in otx2_do_set_vf_vlan()
2639 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_vf_vlan() local
2664 struct otx2_nic *pf = netdev_priv(netdev); in otx2_get_vf_config() local
2683 static int otx2_xdp_xmit_tx(struct otx2_nic *pf, struct xdp_frame *xdpf, in otx2_xdp_xmit_tx()
2708 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xdp_xmit() local
2737 static int otx2_xdp_setup(struct otx2_nic *pf, struct bpf_prog *prog) in otx2_xdp_setup()
2778 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xdp() local
2790 static int otx2_set_vf_permissions(struct otx2_nic *pf, int vf, in otx2_set_vf_permissions()
2821 struct otx2_nic *pf = netdev_priv(netdev); in otx2_ndo_set_vf_trust() local
2868 int otx2_wq_init(struct otx2_nic *pf) in otx2_wq_init()
2897 int otx2_realloc_msix_vectors(struct otx2_nic *pf) in otx2_realloc_msix_vectors()
2921 static int otx2_sriov_vfcfg_init(struct otx2_nic *pf) in otx2_sriov_vfcfg_init()
2942 static void otx2_sriov_vfcfg_cleanup(struct otx2_nic *pf) in otx2_sriov_vfcfg_cleanup()
2955 int otx2_init_rsrc(struct pci_dev *pdev, struct otx2_nic *pf) in otx2_init_rsrc()
3042 struct otx2_nic *pf; in otx2_probe() local
3260 struct otx2_nic *pf; in otx2_vf_link_event_task() local
3304 struct otx2_nic *pf = netdev_priv(netdev); in otx2_sriov_enable() local
3343 struct otx2_nic *pf = netdev_priv(netdev); in otx2_sriov_disable() local
3367 static void otx2_ndc_sync(struct otx2_nic *pf) in otx2_ndc_sync()
3393 struct otx2_nic *pf; in otx2_remove() local