Home
last modified time | relevance | path

Searched refs:is_pf (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_cmd.c54 bool is_pf) in hclge_comm_set_default_capability() argument
57 if (is_pf) { in hclge_comm_set_default_capability()
194 hclge_comm_parse_capability(struct hnae3_ae_dev *ae_dev, bool is_pf, in hclge_comm_parse_capability() argument
198 is_pf ? hclge_pf_cmd_caps : hclge_vf_cmd_caps; in hclge_comm_parse_capability()
199 u32 size = is_pf ? ARRAY_SIZE(hclge_pf_cmd_caps) : in hclge_comm_parse_capability()
230 u32 *fw_version, bool is_pf) in hclge_comm_cmd_query_version_and_capability() argument
251 hclge_comm_set_default_capability(ae_dev, is_pf); in hclge_comm_cmd_query_version_and_capability()
255 hclge_comm_parse_capability(ae_dev, is_pf, resp); in hclge_comm_cmd_query_version_and_capability()
613 u32 *fw_version, bool is_pf, in hclge_comm_cmd_init() argument
644 fw_version, is_pf); in hclge_comm_cmd_init()
[all …]
H A Dhclge_comm_cmd.h481 u32 *fw_version, bool is_pf);
496 u32 *fw_version, bool is_pf,
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.c267 u32 idx, bool is_pf) in i40e_remove_sd_bp_new() argument
271 if (!is_pf) in i40e_remove_sd_bp_new()
316 u32 idx, bool is_pf) in i40e_remove_pd_page_new() argument
320 if (!is_pf) in i40e_remove_pd_page_new()
H A Di40e_hmc.h211 u32 idx, bool is_pf);
216 u32 idx, bool is_pf);
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_int.c1629 !p_block->is_pf || in qed_get_pf_igu_sb_id()
1967 p_block->is_pf, p_block->vector_number); in qed_int_igu_init_pure_rt_single()
2018 !p_block->is_pf || in qed_int_igu_init_pure_rt()
2110 p_block->is_pf = 1; in qed_int_igu_reset_cam()
2118 p_block->is_pf = 1; in qed_int_igu_reset_cam()
2127 p_block->is_pf = 0; in qed_int_igu_reset_cam()
2134 p_block->is_pf = 0; in qed_int_igu_reset_cam()
2140 SET_FIELD(val, IGU_MAPPING_LINE_PF_VALID, p_block->is_pf); in qed_int_igu_reset_cam()
2145 SET_FIELD(val, IGU_MAPPING_LINE_VALID, p_block->is_pf); in qed_int_igu_reset_cam()
2160 p_block->is_pf, in qed_int_igu_reset_cam()
[all …]
H A Dqed_int.h233 u8 is_pf; member
H A Dqed_debug.c7187 bool is_wr_cmd, is_pf; in qed_parse_igu_fifo_element() local
7196 is_pf = GET_FIELD(element->dword0, IGU_FIFO_ELEMENT_DWORD0_IS_PF); in qed_parse_igu_fifo_element()
7292 is_pf ? "pf" : "vf", in qed_parse_igu_fifo_element()
7298 (!is_pf && found_addr->vf_desc) in qed_parse_igu_fifo_element()
H A Dqed_dev.c2587 if (!p_block->is_pf) in qed_init_cau_rt_data()
/linux/drivers/net/ethernet/amd/pds_core/
H A Dmain.c332 bool is_pf; in pdsc_probe() local
335 is_pf = !pdev->is_virtfn; in pdsc_probe()
336 ops = is_pf ? &pdsc_dl_ops : &pdsc_dl_vf_ops; in pdsc_probe()
371 if (is_pf) in pdsc_probe()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.c257 bool is_pf; in rvu_get_blkaddr() local
293 is_pf = false; in rvu_get_blkaddr()
296 is_pf = true; in rvu_get_blkaddr()
304 reg = is_pf ? RVU_PRIV_PFX_NIXX_CFG(0) : in rvu_get_blkaddr()
312 reg = is_pf ? RVU_PRIV_PFX_NIXX_CFG(1) : in rvu_get_blkaddr()
320 reg = is_pf ? RVU_PRIV_PFX_CPTX_CFG(0) : in rvu_get_blkaddr()
328 reg = is_pf ? RVU_PRIV_PFX_CPTX_CFG(1) : in rvu_get_blkaddr()
346 bool is_pf; in rvu_update_rsrc_map() local
358 is_pf = false; in rvu_update_rsrc_map()
361 is_pf = true; in rvu_update_rsrc_map()
[all …]
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_device.h656 int bus, int dev, int func, int is_pf);
H A Docteon_device.c764 int bus, int dev, int func, int is_pf) in octeon_register_device() argument
/linux/include/net/mana/
H A Dgdma.h387 bool is_pf; member
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c2354 if (gd->gdma_context->is_pf) in mana_destroy_vport()
2366 if (gd->gdma_context->is_pf) { in mana_create_vport()
2583 if (gd->gdma_context->is_pf) { in mana_alloc_queues()
2645 if (gd->gdma_context->is_pf) in mana_dealloc_queues()
H A Dgdma_main.c57 if (gc->is_pf) in mana_gd_init_registers()
1515 gc->is_pf = mana_is_pf(pdev->device); in mana_gd_probe()
H A Dhw_channel.c846 if (gc->is_pf) { in mana_hwc_send_request()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_lib.c1771 u32 func, bool is_pf) in cudbg_read_sge_qbase_indirect_reg() argument
1775 if (is_pf) { in cudbg_read_sge_qbase_indirect_reg()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x.h2093 bool is_pf);
H A Dbnx2x_main.c7755 void bnx2x_igu_clear_sb_gen(struct bnx2x *bp, u8 func, u8 idu_sb_id, bool is_pf) in bnx2x_igu_clear_sb_gen() argument
7762 u32 func_encode = func | (is_pf ? 1 : 0) << IGU_FID_ENCODE_IS_PF_SHIFT; in bnx2x_igu_clear_sb_gen()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c1687 u16 tqp_pid, u16 tqp_vid, bool is_pf) in hclge_map_tqps_to_func() argument
1699 if (!is_pf) in hclge_map_tqps_to_func()
1777 bool is_pf; in hclge_map_tqp_to_vport() local
1780 is_pf = !(vport->vport_id); in hclge_map_tqp_to_vport()
1782 i, is_pf); in hclge_map_tqp_to_vport()