Home
last modified time | relevance | path

Searched refs:dev_table (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/char/pcmcia/
Dcm4040_cs.c83 static struct pcmcia_device *dev_table[CM_MAX_DEV]; variable
445 link = dev_table[minor]; in cm4040_open()
488 link = dev_table[minor]; in cm4040_close()
563 if (dev_table[i] == NULL) in reader_probe()
580 dev_table[i] = link; in reader_probe()
590 dev_table[i] = NULL; in reader_probe()
607 if (dev_table[devno] == link) in reader_detach()
615 dev_table[devno] = NULL; in reader_detach()
Dcm4000_cs.c149 static struct pcmcia_device *dev_table[CM4000_MAX_DEV]; variable
1425 link = dev_table[iminor(inode)]; in cmm_ioctl()
1633 link = dev_table[minor]; in cmm_open()
1690 link = dev_table[minor]; in cmm_close()
1790 if (dev_table[i] == NULL) in cm4000_probe()
1805 dev_table[i] = link; in cm4000_probe()
1814 dev_table[i] = NULL; in cm4000_probe()
1831 if (dev_table[devno] == link) in cm4000_detach()
1840 dev_table[devno] = NULL; in cm4000_detach()
/linux-6.1.9/net/openvswitch/
Dvport.c27 static struct hlist_head *dev_table; variable
37 dev_table = kcalloc(VPORT_HASH_BUCKETS, sizeof(struct hlist_head), in ovs_vport_init()
39 if (!dev_table) in ovs_vport_init()
52 kfree(dev_table); in ovs_vport_exit()
58 return &dev_table[hash & (VPORT_HASH_BUCKETS - 1)]; in hash_bucket()
/linux-6.1.9/drivers/iommu/amd/
Dinit.c417 void *dev_table = (void *)get_dev_table(iommu); in iommu_set_device_table() local
421 entry = iommu_virt_to_phys(dev_table); in iommu_set_device_table()
651 pci_seg->dev_table = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO | GFP_DMA32, in alloc_dev_table()
653 if (!pci_seg->dev_table) in alloc_dev_table()
661 free_pages((unsigned long)pci_seg->dev_table, in free_dev_table()
663 pci_seg->dev_table = NULL; in free_dev_table()
993 static void __set_dev_entry_bit(struct dev_table_entry *dev_table, in __set_dev_entry_bit() argument
999 dev_table[devid].data[i] |= (1UL << _bit); in __set_dev_entry_bit()
1004 struct dev_table_entry *dev_table = get_dev_table(iommu); in set_dev_entry_bit() local
1006 return __set_dev_entry_bit(dev_table, devid, bit); in set_dev_entry_bit()
[all …]
Diommu.c124 struct dev_table_entry *dev_table; in get_dev_table() local
128 dev_table = pci_seg->dev_table; in get_dev_table()
129 BUG_ON(dev_table == NULL); in get_dev_table()
131 return dev_table; in get_dev_table()
223 struct dev_table_entry *dev_table; in clone_alias() local
234 dev_table = get_dev_table(iommu); in clone_alias()
235 memcpy(dev_table[alias].data, in clone_alias()
236 dev_table[devid].data, in clone_alias()
237 sizeof(dev_table[alias].data)); in clone_alias()
414 struct dev_table_entry *dev_table = get_dev_table(iommu); in iommu_ignore_device() local
[all …]
Damd_iommu_types.h591 struct dev_table_entry *dev_table; member
/linux-6.1.9/kernel/
Dsysctl.c2482 static struct ctl_table dev_table[] = { variable
2489 DECLARE_SYSCTL_BASE(dev, dev_table);
/linux-6.1.9/drivers/net/wireless/atmel/
Dat76c50x-usb.c128 static const struct usb_device_id dev_table[] = { variable
264 MODULE_DEVICE_TABLE(usb, dev_table);
2565 .id_table = dev_table,
/linux-6.1.9/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_core.c6871 static const struct usb_device_id dev_table[] = { variable
7056 .id_table = dev_table,
7078 MODULE_DEVICE_TABLE(usb, dev_table);