/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_irq.h | 21 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only); 22 void ice_free_irq(struct ice_pf *pf, struct msi_map map);
|
H A D | ice_irq.c | 278 * return struct msi_map with interrupt details and track 294 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only) 297 struct msi_map map = { .index = -ENOENT }; 335 void ice_free_irq(struct ice_pf *pf, struct msi_map map)
|
H A D | ice_idc.c | 251 struct msi_map map; 276 struct msi_map map;
|
H A D | ice.h | 483 struct msi_map irq; 610 struct msi_map oicr_irq; /* Other interrupt cause MSIX vector */ 611 struct msi_map ll_ts_irq; /* LL_TS interrupt MSIX vector */
|
H A D | ice_main.c | 3412 struct msi_map irq;
|
/linux-master/include/linux/ |
H A D | msi_api.h | 40 * msi_map - Mapping between MSI index and Linux interrupt number 47 struct msi_map { struct
|
H A D | pci.h | 1688 struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index, 1690 void pci_msix_free_irq(struct pci_dev *pdev, struct msi_map map); 1697 struct msi_map pci_ims_alloc_irq(struct pci_dev *pdev, union msi_instance_cookie *icookie, 1699 void pci_ims_free_irq(struct pci_dev *pdev, struct msi_map map); 1736 static inline struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index, 1739 struct msi_map map = { .index = -ENOSYS, }; 1744 static inline void pci_msix_free_irq(struct pci_dev *pdev, struct msi_map map) 1769 static inline struct msi_map pci_ims_alloc_irq(struct pci_dev *pdev, 1773 struct msi_map map = { .index = -ENOSYS, }; 1778 static inline void pci_ims_free_irq(struct pci_dev *pdev, struct msi_map ma [all...] |
H A D | msi.h | 631 struct msi_map msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, unsigned int index,
|
/linux-master/drivers/irqchip/ |
H A D | irq-alpine-msi.c | 36 unsigned long *msi_map; member in struct:alpine_msix_data 65 first = bitmap_find_next_zero_area(priv->msi_map, priv->num_spis, 0, 72 bitmap_set(priv->msi_map, first, num_req); 86 bitmap_clear(priv->msi_map, first, num_req); 269 priv->msi_map = bitmap_zalloc(priv->num_spis, GFP_KERNEL); 270 if (!priv->msi_map) { 285 bitmap_free(priv->msi_map);
|
H A D | irq-loongson-pch-msi.c | 25 unsigned long *msi_map; member in struct:pch_msi_data 56 first = bitmap_find_free_region(priv->msi_map, priv->num_irqs, 74 bitmap_release_region(priv->msi_map, first, get_count_order(num_req)); 205 priv->msi_map = bitmap_zalloc(priv->num_irqs, GFP_KERNEL); 206 if (!priv->msi_map) 220 bitmap_free(priv->msi_map);
|
/linux-master/drivers/pci/msi/ |
H A D | api.c | 141 * Return: A struct msi_map 143 * On success msi_map::index contains the allocated index (>= 0) and 144 * msi_map::virq contains the allocated Linux interrupt number (> 0). 146 * On fail msi_map::index contains the error code and msi_map::virq 149 struct msi_map pci_msix_alloc_irq_at(struct pci_dev *dev, unsigned int index, 152 struct msi_map map = { .index = -ENOTSUPP }; 168 * @map: A struct msi_map describing the interrupt to free 172 void pci_msix_free_irq(struct pci_dev *dev, struct msi_map map) 387 * Return: A struct msi_map [all...] |
/linux-master/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.h | 32 struct msi_map map;
|
H A D | mlx5_vnet.c | 87 struct msi_map map; 129 struct msi_map map;
|
/linux-master/drivers/pci/controller/ |
H A D | pcie-xilinx.c | 97 * @msi_map: Bitmap of allocated MSIs 106 unsigned long msi_map[BITS_TO_LONGS(XILINX_NUM_MSI_IRQS)]; member in struct:xilinx_pcie 240 hwirq = bitmap_find_free_region(pcie->msi_map, XILINX_NUM_MSI_IRQS, order_base_2(nr_irqs)); 263 bitmap_release_region(pcie->msi_map, d->hwirq, order_base_2(nr_irqs));
|
H A D | pcie-iproc.c | 1350 const __be32 *msi_map = NULL; local 1354 msi_map = of_get_property(pcie->dev->of_node, "msi-map", &len); 1355 if (!msi_map) 1358 phandle = be32_to_cpup(msi_map + 1);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pci_irq.c | 35 struct msi_map map; 517 * Returns: struct msi_map with result encoded. 521 struct msi_map mlx5_msix_alloc(struct mlx5_core_dev *dev, 526 struct msi_map map; 555 void mlx5_msix_free(struct mlx5_core_dev *dev, struct msi_map map)
|
/linux-master/kernel/irq/ |
H A D | msi.c | 1464 static struct msi_map __msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, 1471 struct msi_map map = { }; 1526 * Return: struct msi_map 1528 * On success msi_map::index contains the allocated index number and 1529 * msi_map::virq the corresponding Linux interrupt number 1531 * On failure msi_map::index contains the error code and msi_map::virq 1534 struct msi_map msi_domain_alloc_irq_at(struct device *dev, unsigned int domid, unsigned int index, 1538 struct msi_map map; 1573 struct msi_map ma [all...] |
/linux-master/drivers/vfio/pci/ |
H A D | vfio_pci_intrs.c | 430 struct msi_map map;
|
/linux-master/include/linux/mlx5/ |
H A D | driver.h | 1378 struct msi_map mlx5_msix_alloc(struct mlx5_core_dev *dev, 1382 void mlx5_msix_free(struct mlx5_core_dev *dev, struct msi_map map);
|