Searched refs:num_msi (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/vfio/cdx/ |
H A D | main.c | 127 info.num_irqs = cdx_dev->num_msi ? 1 : 0; in vfio_cdx_ioctl_get_info() 172 if (!cdx_dev->num_msi) in vfio_cdx_ioctl_get_irq_info() 176 info.count = cdx_dev->num_msi; in vfio_cdx_ioctl_get_irq_info() 194 ret = vfio_set_irqs_validate_and_prepare(&hdr, cdx_dev->num_msi, in vfio_cdx_ioctl_set_irqs()
|
/linux/drivers/cdx/ |
H A D | cdx.h | 46 u32 num_msi; member
|
H A D | cdx.c | 829 cdx_dev->num_msi = dev_params->num_msi; in cdx_device_add()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 487 for (i = HCLGEVF_MISC_VECTOR_NUM + 1; i < hdev->num_msi; i++) { in hclgevf_get_vector() 513 for (i = 0; i < hdev->num_msi; i++) in hclgevf_get_vector_index() 2322 hdev->num_msi, in hclgevf_init_msi() 2326 hdev->num_msi, in hclgevf_init_msi() 2335 if (vectors < hdev->num_msi) in hclgevf_init_msi() 2338 hdev->num_msi, vectors); in hclgevf_init_msi() 2340 hdev->num_msi = vectors; in hclgevf_init_msi() 2343 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclgevf_init_msi() 2350 for (i = 0; i < hdev->num_msi; i++) in hclgevf_init_msi() 2353 hdev->vector_irq = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclgevf_init_msi() [all …]
|
H A D | hclgevf_main.h | 246 u16 num_msi; member
|
/linux/include/linux/cdx/ |
H A D | cdx_bus.h | 167 u32 num_msi; member
|
/linux/drivers/cdx/controller/ |
H A D | mcdi_functions.c | 133 dev_params->num_msi = MCDI_DWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MSI_COUNT); in cdx_mcdi_get_dev_config()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 917 u16 num_msi; member
|
H A D | hclge_main.c | 872 hdev->num_msi = hdev->num_nic_msi + hdev->num_roce_msi; in hclge_query_pf_resource() 874 hdev->num_msi = hdev->num_nic_msi; in hclge_query_pf_resource() 2489 if (hdev->num_msi < hdev->num_nic_msi + hdev->num_roce_msi) in hclge_init_roce_base_info() 2513 hdev->num_msi, in hclge_init_msi() 2521 if (vectors < hdev->num_msi) in hclge_init_msi() 2524 hdev->num_msi, vectors); in hclge_init_msi() 2526 hdev->num_msi = vectors; in hclge_init_msi() 2529 hdev->vector_status = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclge_init_msi() 2536 for (i = 0; i < hdev->num_msi; i++) in hclge_init_msi() 2539 hdev->vector_irq = devm_kcalloc(&pdev->dev, hdev->num_msi, in hclge_init_msi() [all …]
|