Lines Matching defs:pf
57 struct otx2_nic *pf = netdev_priv(netdev); in otx2_change_mtu() local
79 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr()
105 static void otx2_flr_wq_destroy(struct otx2_nic *pf) in otx2_flr_wq_destroy()
117 struct otx2_nic *pf = flrwork->pf; in otx2_flr_handler() local
148 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_flr_intr_handler() local
177 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_me_intr_handler() local
200 static int otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs) in otx2_register_flr_me_intr()
273 static int otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs) in otx2_pf_flr_init()
355 static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, in otx2_forward_vf_mbox_msgs()
456 struct otx2_nic *pf; in otx2_pfvf_mbox_handler() local
493 struct otx2_nic *pf = vf_mbox->pfvf; in otx2_pfvf_mbox_up_handler() local
543 struct otx2_nic *pf = (struct otx2_nic *)(pf_irq); in otx2_pfvf_mbox_intr_handler() local
570 static int otx2_pfvf_mbox_init(struct otx2_nic *pf, int numvfs) in otx2_pfvf_mbox_init()
635 static void otx2_pfvf_mbox_destroy(struct otx2_nic *pf) in otx2_pfvf_mbox_destroy()
653 static void otx2_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_enable_pfvf_mbox_intr()
668 static void otx2_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_disable_pfvf_mbox_intr()
687 static int otx2_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in otx2_register_pfvf_mbox_intr()
732 static void otx2_process_pfaf_mbox_msg(struct otx2_nic *pf, in otx2_process_pfaf_mbox_msg()
808 struct otx2_nic *pf; in otx2_pfaf_mbox_handler() local
832 static void otx2_handle_link_event(struct otx2_nic *pf) in otx2_handle_link_event()
852 static int otx2_mbox_up_handler_rep_event_up_notify(struct otx2_nic *pf, in otx2_mbox_up_handler_rep_event_up_notify()
881 int otx2_mbox_up_handler_mcs_intr_notify(struct otx2_nic *pf, in otx2_mbox_up_handler_mcs_intr_notify()
890 int otx2_mbox_up_handler_cgx_link_event(struct otx2_nic *pf, in otx2_mbox_up_handler_cgx_link_event()
918 static int otx2_process_mbox_msg_up(struct otx2_nic *pf, in otx2_process_mbox_msg_up()
965 struct otx2_nic *pf = af_mbox->pfvf; in otx2_pfaf_mbox_up_handler() local
998 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pfaf_mbox_intr_handler() local
1046 void otx2_disable_mbox_intr(struct otx2_nic *pf) in otx2_disable_mbox_intr()
1056 int otx2_register_mbox_intr(struct otx2_nic *pf, bool probe_af) in otx2_register_mbox_intr()
1100 void otx2_pfaf_mbox_destroy(struct otx2_nic *pf) in otx2_pfaf_mbox_destroy()
1117 int otx2_pfaf_mbox_init(struct otx2_nic *pf) in otx2_pfaf_mbox_init()
1165 static int otx2_cgx_config_linkevents(struct otx2_nic *pf, bool enable) in otx2_cgx_config_linkevents()
1203 static int otx2_cgx_config_loopback(struct otx2_nic *pf, bool enable) in otx2_cgx_config_loopback()
1305 struct otx2_nic *pf = data; in otx2_q_intr_handler() local
1422 struct otx2_nic *pf = (struct otx2_nic *)cq_poll->dev; in otx2_cq_intr_handler() local
1440 void otx2_disable_napi(struct otx2_nic *pf) in otx2_disable_napi()
1458 static void otx2_free_cq_res(struct otx2_nic *pf) in otx2_free_cq_res()
1472 static void otx2_free_sq_res(struct otx2_nic *pf) in otx2_free_sq_res()
1496 static int otx2_get_rbuf_size(struct otx2_nic *pf, int mtu) in otx2_get_rbuf_size()
1524 int otx2_init_hw_resources(struct otx2_nic *pf) in otx2_init_hw_resources()
1659 void otx2_free_hw_resources(struct otx2_nic *pf) in otx2_free_hw_resources()
1764 static void otx2_do_set_rx_mode(struct otx2_nic *pf) in otx2_do_set_rx_mode()
1843 int otx2_alloc_queue_mem(struct otx2_nic *pf) in otx2_alloc_queue_mem()
1892 struct otx2_nic *pf = netdev_priv(netdev); in otx2_open() local
2077 struct otx2_nic *pf = netdev_priv(netdev); in otx2_stop() local
2144 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xmit() local
2180 static int otx2_qos_select_htb_queue(struct otx2_nic *pf, struct sk_buff *skb, in otx2_qos_select_htb_queue()
2199 struct otx2_nic *pf = netdev_priv(netdev); in otx2_select_queue() local
2256 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_rx_mode() local
2263 struct otx2_nic *pf = container_of(work, struct otx2_nic, rx_mode_work); in otx2_rx_mode_wrk_handler() local
2272 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_features() local
2291 struct otx2_nic *pf = container_of(work, struct otx2_nic, reset_task); in otx2_reset_task() local
2450 static int otx2_do_set_vf_mac(struct otx2_nic *pf, int vf, const u8 *mac) in otx2_do_set_vf_mac()
2480 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_vf_mac() local
2505 static int otx2_do_set_vf_vlan(struct otx2_nic *pf, int vf, u16 vlan, u8 qos, in otx2_do_set_vf_vlan()
2647 struct otx2_nic *pf = netdev_priv(netdev); in otx2_set_vf_vlan() local
2672 struct otx2_nic *pf = netdev_priv(netdev); in otx2_get_vf_config() local
2691 static int otx2_xdp_xmit_tx(struct otx2_nic *pf, struct xdp_frame *xdpf, in otx2_xdp_xmit_tx()
2717 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xdp_xmit() local
2746 static int otx2_xdp_setup(struct otx2_nic *pf, struct bpf_prog *prog) in otx2_xdp_setup()
2787 struct otx2_nic *pf = netdev_priv(netdev); in otx2_xdp() local
2797 static int otx2_set_vf_permissions(struct otx2_nic *pf, int vf, in otx2_set_vf_permissions()
2828 struct otx2_nic *pf = netdev_priv(netdev); in otx2_ndo_set_vf_trust() local
2874 int otx2_wq_init(struct otx2_nic *pf) in otx2_wq_init()
2903 int otx2_realloc_msix_vectors(struct otx2_nic *pf) in otx2_realloc_msix_vectors()
2927 static int otx2_sriov_vfcfg_init(struct otx2_nic *pf) in otx2_sriov_vfcfg_init()
2948 static void otx2_sriov_vfcfg_cleanup(struct otx2_nic *pf) in otx2_sriov_vfcfg_cleanup()
2961 int otx2_init_rsrc(struct pci_dev *pdev, struct otx2_nic *pf) in otx2_init_rsrc()
3048 struct otx2_nic *pf; in otx2_probe() local
3254 struct otx2_nic *pf; in otx2_vf_link_event_task() local
3298 struct otx2_nic *pf = netdev_priv(netdev); in otx2_sriov_enable() local
3337 struct otx2_nic *pf = netdev_priv(netdev); in otx2_sriov_disable() local
3361 static void otx2_ndc_sync(struct otx2_nic *pf) in otx2_ndc_sync()
3387 struct otx2_nic *pf; in otx2_remove() local