Lines Matching refs:chip_data
658 int_desc = data->chip_data; in hv_arch_irq_unmask()
792 struct hv_pci_chip_data *chip_data = domain->host_data; in hv_pci_vec_irq_free() local
797 mutex_lock(&chip_data->map_lock); in hv_pci_vec_irq_free()
798 bitmap_release_region(chip_data->spi_map, in hv_pci_vec_irq_free()
801 mutex_unlock(&chip_data->map_lock); in hv_pci_vec_irq_free()
822 struct hv_pci_chip_data *chip_data = domain->host_data; in hv_pci_vec_alloc_device_irq() local
826 mutex_lock(&chip_data->map_lock); in hv_pci_vec_alloc_device_irq()
827 index = bitmap_find_free_region(chip_data->spi_map, in hv_pci_vec_alloc_device_irq()
830 mutex_unlock(&chip_data->map_lock); in hv_pci_vec_alloc_device_irq()
920 static struct hv_pci_chip_data *chip_data; in hv_pci_irqchip_init() local
924 chip_data = kzalloc(sizeof(*chip_data), GFP_KERNEL); in hv_pci_irqchip_init()
925 if (!chip_data) in hv_pci_irqchip_init()
928 mutex_init(&chip_data->map_lock); in hv_pci_irqchip_init()
940 chip_data); in hv_pci_irqchip_init()
950 kfree(chip_data); in hv_pci_irqchip_init()
1566 irq_data->chip_data = NULL; in hv_msi_free()
1776 if (data->chip_data && multi_msi) { in hv_compose_msi_msg()
1777 int_desc = data->chip_data; in hv_compose_msi_msg()
1794 if (data->chip_data && !multi_msi) { in hv_compose_msi_msg()
1795 int_desc = data->chip_data; in hv_compose_msi_msg()
1796 data->chip_data = NULL; in hv_compose_msi_msg()
1810 data->chip_data = int_desc; in hv_compose_msi_msg()
1951 data->chip_data = int_desc; in hv_compose_msi_msg()