Home
last modified time | relevance | path

Searched refs:IS_PF (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ethernet/qlogic/qed/
Dqed_main.c159 if (IS_PF(cdev) && !(pci_resource_flags(pdev, 2) & IORESOURCE_MEM)) { in qed_init_pci()
191 if (IS_PF(cdev) && !cdev->pci_params.pm_cap) in qed_init_pci()
212 if (IS_PF(cdev)) { in qed_init_pci()
270 if (IS_PF(cdev)) { in qed_fill_dev_info()
288 if (IS_PF(cdev)) { in qed_fill_dev_info()
979 if (IS_PF(cdev)) { in qed_slowpath_start()
1006 if (IS_PF(cdev)) in qed_slowpath_start()
1013 if (IS_PF(cdev)) { in qed_slowpath_start()
1058 if (IS_PF(cdev)) { in qed_slowpath_start()
1072 if (IS_PF(cdev)) { in qed_slowpath_start()
[all …]
Dqed_l2.c90 if (IS_PF(p_hwfn->cdev)) { in qed_l2_alloc()
200 if (IS_PF(p_hwfn->cdev) && !b_legacy_vf) in qed_eth_queue_cid_release()
340 if (IS_PF(p_hwfn->cdev) && !b_legacy_vf) { in qed_eth_queue_to_cid()
350 if (!p_cid && IS_PF(p_hwfn->cdev) && !b_legacy_vf) in qed_eth_queue_to_cid()
958 if (IS_PF(p_hwfn->cdev)) { in qed_eth_rx_queue_start()
1072 if (IS_PF(p_hwfn->cdev)) in qed_eth_rx_queue_stop()
1163 if (IS_PF(p_hwfn->cdev)) in qed_eth_tx_queue_start()
1206 if (IS_PF(p_hwfn->cdev)) in qed_eth_tx_queue_stop()
1619 if (IS_PF(p_hwfn->cdev)) { in __qed_get_vport_pstats_addrlen()
1668 if (IS_PF(p_hwfn->cdev)) { in __qed_get_vport_tstats()
[all …]
Dqed_sriov.h44 #define IS_PF(cdev) (!((cdev)->b_is_vf)) macro
48 #define IS_PF(cdev) (1) macro
Dqed_int.c1412 if (IS_PF(p_hwfn->cdev)) in qed_int_sb_setup()
1464 else if (IS_PF(p_hwfn->cdev)) in qed_get_igu_sb_id()
1490 if (IS_PF(p_hwfn->cdev)) { in qed_int_sb_init()
1510 if (IS_PF(p_hwfn->cdev)) { in qed_int_sb_init()
Dqed_dev.c1665 if (IS_PF(cdev)) { in qed_hw_init()
1780 if (IS_PF(cdev)) { in qed_hw_init()
1940 if (IS_PF(cdev)) { in qed_hw_stop()
3035 if (IS_PF(cdev)) in qed_hw_prepare()
3076 if (IS_PF(cdev)) { in qed_hw_prepare()
3092 if (IS_PF(cdev)) in qed_hw_remove()
Dqed_hw.c263 if (IS_PF(p_hwfn->cdev)) { in qed_memcpy_hw()
Dqed_sriov.c5012 if (IS_PF(p_hwfn->cdev) && !IS_PF_SRIOV(p_hwfn)) in qed_iov_wq_start()
5025 if (IS_PF(cdev)) in qed_iov_wq_start()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c147 if (IS_PF(bp)) { in bnx2x_fill_fw_str()
1205 if (IS_PF(bp)) { in bnx2x_fill_report_data()
1272 if (IS_PF(bp) && !CHIP_IS_E1(bp)) in __bnx2x_link_report()
1294 if (IS_PF(bp)) in __bnx2x_link_report()
1622 if (IS_PF(bp)) { in bnx2x_free_msix_irqs()
1652 if (IS_PF(bp)) in bnx2x_free_irq()
1666 if (IS_PF(bp)) { in bnx2x_enable_msix()
1749 if (IS_PF(bp)) { in bnx2x_req_msix_irqs()
1780 if (IS_PF(bp)) { in bnx2x_req_msix_irqs()
2117 if (IS_PF(bp)) in bnx2x_rss()
[all …]
Dbnx2x_main.c916 if (IS_PF(bp) && disable_int) in bnx2x_panic_dump()
927 if (IS_PF(bp)) { in bnx2x_panic_dump()
1088 if (IS_PF(bp)) { in bnx2x_panic_dump()
1182 if (IS_PF(bp)) { in bnx2x_panic_dump()
2681 if (IS_PF(bp)) { in bnx2x__link_status_update()
5786 if (IS_PF(bp) && in bnx2x_timer()
6532 if (IS_PF(bp)) { in bnx2x_pre_irq_nic_init()
8552 if (IS_PF(bp)) { in bnx2x_set_eth_mac()
8568 if (IS_PF(bp)) in bnx2x_setup_leading()
10213 if (!netif_running(bp->dev) || !IS_PF(bp) || CHIP_IS_E1x(bp)) in __bnx2x_add_udp_port()
[all …]
Dbnx2x_stats.c518 if (IS_PF(bp)) { in bnx2x_stats_start()
928 if (IS_PF(bp) && bnx2x_storm_stats_validate_counters(bp)) in bnx2x_storm_stats_update()
1223 if (IS_PF(bp)) { in bnx2x_stats_update()
Dbnx2x.h1493 #define IS_PF(bp) (!((bp)->flags & IS_VF_FLAG)) macro
1496 #define IS_PF(bp) true macro
Dbnx2x_ethtool.c1173 if (IS_PF(bp) && (level & BNX2X_MSG_MCP)) in bnx2x_set_msglevel()
3704 netdev->ethtool_ops = (IS_PF(bp)) ? in bnx2x_set_ethtool_ops()