Home
last modified time | relevance | path

Searched refs:ABS_FUNC_ID (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/
H A Dlm_vf.c179 pretend_val = ABS_FUNC_ID(pf_dev) | (1<<3) | (vfid << 4); in lm_vf_dis()
186 lm_pretend_func(pf_dev, ABS_FUNC_ID(pf_dev) ); in lm_vf_dis()
192 REG_WR(pf_dev, PGLUE_B_REG_SR_IOV_DISABLED_REQUEST_CLR ,(1<<ABS_FUNC_ID(pf_dev))); in lm_vf_dis()
456 pretend_val = ABS_FUNC_ID(pdev) | (1<<3) | (ABS_VFID(pdev) << 4); in lm_vf_enable_vf()
461 lm_pretend_func(PFDEV(pdev), ABS_FUNC_ID(pdev) ); in lm_vf_enable_vf()
519 pretend_val = ABS_FUNC_ID(pdev) | (1<<3) | (ABS_VFID(pdev) << 4); in lm_vf_enable_igu_int()
544 status = lm_pretend_func(PFDEV(pdev), ABS_FUNC_ID(pdev)); in lm_vf_enable_igu_int()
571 pretend_val = ABS_FUNC_ID(pdev) | (1<<3) | (ABS_VFID(pdev) << 4); in lm_vf_disable_igu_int()
581 return (lm_pretend_func(PFDEV(pdev), ABS_FUNC_ID(pdev))); in lm_vf_disable_igu_int()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_power.c227 u8_t abs_func_id = ABS_FUNC_ID(pdev); // for debugging only in lm_set_d3_nwuf()
440 const u8_t abs_func_id = ABS_FUNC_ID(pdev); in lm_pcie_state_save_for_d3()
459 const u8_t abs_func_id = ABS_FUNC_ID(pdev); in lm_pcie_state_restore_for_d0()
468 if((DEFINITIVE_PF_FOR_MPS != ABS_FUNC_ID(pdev)) && // if we're not PF0 ourselves, in lm_pcie_state_restore_for_d0()
H A Dlm_er.c420 lm_pretend_func(pdev, ABS_FUNC_ID(pdev)); in lm_er_leader_reset()
451 lm_pretend_func(pdev, ABS_FUNC_ID(pdev)); in lm_er_notify_other_path()
501 u32_t func_bit = 1 << ABS_FUNC_ID(pdev); in lm_er_get_func_bit()
H A Dlm_devinfo.c187 DbgMessage(pdev, WARN, "lm_get_shmem_info: PCI_FUNC_ID: %d\n", ABS_FUNC_ID(pdev)); in lm_print_func_info()
1562 LM_MFCFG_READ(pdev, OFFSETOF(mf_cfg_t, func_mf_config[ABS_FUNC_ID(pdev)].e1hov_tag),&val); in lm_get_shmem_mf_cfg_info_sd()
1637 const u8_t abs_func_id = ABS_FUNC_ID(pdev); in lm_get_shmem_ext_mac_addresses()
1713 LM_MFCFG_READ(pdev, OFFSETOF(mf_cfg_t, func_ext_config[ABS_FUNC_ID(pdev)].func_cfg),&val); in lm_get_shmem_mf_cfg_info_si()
1735 LM_MFCFG_READ(pdev, OFFSETOF(mf_cfg_t, func_mf_config[ABS_FUNC_ID(pdev)].e1hov_tag),&e1hov_tag); in lm_get_shmem_mf_cfg_info_niv()
1857 LM_SHMEM_READ(pdev, NO_MCP_WA_OVLAN(ABS_FUNC_ID(pdev)), &val); in lm_get_shmem_info_no_mcp_bypass()
1903 mf_info->ext_id, ABS_FUNC_ID(pdev)); in lm_get_shmem_info_no_mcp_bypass()
1910 mf_info->vnics_per_port, ABS_FUNC_ID(pdev)); in lm_get_shmem_info_no_mcp_bypass()
2176 LM_MFCFG_READ(pdev, OFFSETOF(mf_cfg_t, func_mf_config[ABS_FUNC_ID(pdev)].e1hov_tag),&val); in lm_get_shmem_mf_cfg_info()
2255 LM_MFCFG_READ(pdev, OFFSETOF(mf_cfg_t, func_mf_config[ABS_FUNC_ID(pdev)].config),&val); in lm_get_shmem_mf_cfg_info()
[all …]
H A Dlm_hw_attn.c95 ABS_FUNC_ID(pdev), attn_sig[0], attn_sig[1], attn_sig[2], attn_sig[3]); in lm_recoverable_error()
114 ABS_FUNC_ID(pdev), attn_sig[0], attn_sig[1], attn_sig[2], attn_sig[3]); in lm_recoverable_error()
132 ABS_FUNC_ID(pdev), attn_sig[0], attn_sig[1], attn_sig[2], attn_sig[3]); in lm_recoverable_error()
1187 LM_MFCFG_READ(pdev, OFFSETOF(mf_cfg_t, func_mf_config[ABS_FUNC_ID(pdev)].config), &val); in lm_dcc_event()
1379 LM_MFCFG_READ(pdev, OFFSETOF(mf_cfg_t, func_mf_config[ABS_FUNC_ID(pdev)].e1hov_tag),&tag); in lm_ufp_pf_enable()
1415 const u32_t offset = OFFSETOF(mf_cfg_t, func_mf_config[ABS_FUNC_ID(pdev)].config); in lm_oem_event()
1482 LM_MFCFG_READ(pdev, OFFSETOF(mf_cfg_t, func_mf_config[ABS_FUNC_ID(pdev)].e1hov_tag),&tag); in lm_update_svid()
H A Dlm_niv.c273 …te(pdev, VIF_LIST_RULE_CLEAR_FUNC, 0/*list_index*/, 0/*func_bit_map*/ ,ABS_FUNC_ID(pdev)/*func_to_… in lm_niv_vif_delete()
454 const u32_t abs_func_id = ABS_FUNC_ID(pdev); in lm_niv_vif_set()
H A Dlm_hw_init_reset.c332 pretend_value = ABS_FUNC_ID(pdev) | (1<<3) | (ABS_VFID(pdev) << 4); in lm_cleanup_after_flr()
337 lm_pretend_func(PFDEV(pdev), ABS_FUNC_ID(pdev)); in lm_cleanup_after_flr()
1508 switch (ABS_FUNC_ID(pdev)) in lm_pretend_func()
1626 u8_t abs_func_id = ABS_FUNC_ID(pdev); in lm_reset_nig_values_for_func_save_restore()
1708 …u8_t abs_func_id = ABS_FUNC_ID(pdev); // f… in lm_reset_device_with_nig()
2593 if (abs_func_id == ABS_FUNC_ID(pdev)) in init_misc_common()
2602 lm_pretend_func(pdev, ABS_FUNC_ID(pdev)); in init_misc_common()
2743 lm_pretend_func(pdev, ABS_FUNC_ID(pdev)); in init_pxp2_common()
H A Dlm_pf.c378 pretend_val = ABS_FUNC_ID(pf_dev) | (1<<3) | (vfid << 4);
385 lm_pretend_func(pf_dev, ABS_FUNC_ID(pf_dev) );
391 REG_WR(pf_dev, PGLUE_B_REG_SR_IOV_DISABLED_REQUEST_CLR ,(1<<ABS_FUNC_ID(pf_dev)));
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c2936 pretend_val = ABS_FUNC_ID(pdev) | (1<<3) | (abs_vf_id << 4); in lm_pf_enable_vf_igu_int()
2973 lm_status = lm_pretend_func(PFDEV(pdev), ABS_FUNC_ID(pdev)); in lm_pf_enable_vf_igu_int()
2988 pretend_val = ABS_FUNC_ID(pdev) | (1<<3) | (abs_vf_id << 4); in lm_pf_disable_vf_igu_int()
2998 lm_status = lm_pretend_func(PFDEV(pdev), ABS_FUNC_ID(pdev)); in lm_pf_disable_vf_igu_int()
3022 pretend_val = ABS_FUNC_ID(pdev) | (1<<3) | (abs_vf_id << 4); in lm_pf_enable_vf()
3027 lm_pretend_func(PFDEV(pdev), ABS_FUNC_ID(pdev) ); in lm_pf_enable_vf()
3085 pretend_val = ABS_FUNC_ID(pdev) | (1<<3) | (abs_vf_id << 4); in lm_pf_disable_vf()
3090 lm_pretend_func(PFDEV(pdev), ABS_FUNC_ID(pdev) ); in lm_pf_disable_vf()
3267 pretend_value = ABS_FUNC_ID(pdev) | (1<<3) | (vf_info->abs_vf_id << 4); in lm_pf_cleanup_vf_after_flr()
3271 lm_pretend_func(PFDEV(pdev), ABS_FUNC_ID(pdev)); in lm_pf_cleanup_vf_after_flr()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_sp_verbs.c6249 ABS_FUNC_ID(pdev), load_code); in ecore_func_hw_init()
6367 ECORE_MSG(pdev, "function %d reset_phase %x\n", ABS_FUNC_ID(pdev), in ecore_func_hw_reset()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm5710.h1013 #define ABS_FUNC_ID(pdev) (PFDEV(pdev)->params.pfunc_abs) macro