Searched refs:pf_dev (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/basic_vf/ |
H A D | lm_vf.c | 22 u8_t max_num = pf_dev->params.base_fw_ndsb + MAX_RSS_CHAINS / pf_dev->params.vnics_per_port; in lm_vf_get_free_sbs() 35 … u8_t max_num = pf_dev->params.base_fw_client_id + MAX_RSS_CHAINS / pf_dev->params.vnics_per_port; in lm_vf_get_free_clients() 48 …u8_t min_num = pf_dev->params.vnics_per_port + VNIC_ID(pf_dev) * ((MAX_NUM_OF_STATS - pf_dev->para… in lm_vf_get_free_stats() 76 vf_dev->pf_dev = pf_dev; in lm_vf_prep() 139 …DbgMessage2(pf_dev, FATAL, "SB%d is allocated for PF[%d] itself\n", LM_FW_SB_ID(pf_dev, RSS_ID_TO_… in lm_vf_en() 141 …DbgMessage2(pf_dev, FATAL, "Client%d is allocated for PF[%d] itself\n", LM_FW_CLI_ID(pf_dev, RSS_I… in lm_vf_en() 144 lm_vf_acquire_resource(pf_dev->pf_resources.free_stats, LM_STATS_CNT_ID(pf_dev), 1); in lm_vf_en() 145 …DbgMessage2(pf_dev, FATAL, "Stats%d is allocated for PF[%d] itself\n", LM_STATS_CNT_ID(pf_dev), FU… in lm_vf_en() 167 mm_vf_dis(pf_dev); in lm_vf_dis() 186 lm_pretend_func(pf_dev, ABS_FUNC_ID(pf_dev) ); in lm_vf_dis() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_pf.c | 352 lm_status_t lm_pf_clear_vfs(struct _lm_device_t * pf_dev) 360 DbgMessage(pf_dev, FATAL, "vf disable\n"); 368 if (lm_is_function_after_flr(pf_dev)) { 369 pf_dev->vfs_set.number_of_enabled_vfs = 0; 379 lm_pretend_func(pf_dev, pretend_val); 381 REG_WR(pf_dev, IGU_REG_PCI_VF_MSIX_EN, 0); 382 REG_WR(pf_dev, IGU_REG_PCI_VF_MSIX_FUNC_MASK, 0); 385 lm_pretend_func(pf_dev, ABS_FUNC_ID(pf_dev) ); 389 REG_WR(pf_dev, 0x24d8, 1<<29); 391 REG_WR(pf_dev, PGLUE_B_REG_SR_IOV_DISABLED_REQUEST_CLR ,(1<<ABS_FUNC_ID(pf_dev))); [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/common/ |
H A D | lm_vf_common.h | 40 lm_vf_en(struct _lm_device_t * pf_dev, u16_t vf_num); 43 lm_vf_dis(struct _lm_device_t * pf_dev); 46 lm_vf_prep(struct _lm_device_t * pf_dev, struct _lm_device_t * vf_dev); 319 lm_status_t lm_pf_init_vf_client_init_data(struct _lm_device_t *pf_dev, lm_vf_info_t *vf_info, u8_t…
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/ |
H A D | lm5710.h | 131 #define IS_PFDEV(pdev) (((pdev)->pf_dev == NULL) && ((pdev)->params.device_type == DEVICE_… 132 #define IS_VFDEV(pdev) (((pdev)->pf_dev != NULL) || ((pdev)->params.device_type == DEVICE_… 3135 struct _lm_device_t* pf_dev; member 4292 lm_device_t *pf_dev = pdev->pf_dev; in DOORBELL() local 4293 if (!pf_dev) { in DOORBELL() 4294 pf_dev = pdev; in DOORBELL() 4305 db_fill=REG_RD(pf_dev,DORQ_REG_DQ_FILL_LVLF); in DOORBELL() 4319 db_fill=REG_RD(pf_dev,DORQ_REG_DQ_FILL_LVLF); in DOORBELL()
|