Searched refs:portdev (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/char/ |
D | virtio_console.c | 177 struct ports_device *portdev; member 261 static struct port *find_port_by_devt_in_portdev(struct ports_device *portdev, in find_port_by_devt_in_portdev() argument 267 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev() 268 list_for_each_entry(port, &portdev->ports, list) { in find_port_by_devt_in_portdev() 276 spin_unlock_irqrestore(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev() 283 struct ports_device *portdev; in find_port_by_devt() local 288 list_for_each_entry(portdev, &pdrvdata.portdevs, list) { in find_port_by_devt() 289 port = find_port_by_devt_in_portdev(portdev, dev); in find_port_by_devt() 299 static struct port *find_port_by_id(struct ports_device *portdev, u32 id) in find_port_by_id() argument 304 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_id() [all …]
|
/Linux-v5.10/drivers/ide/ |
D | ide-sysfs.c | 93 static ssize_t store_delete_devices(struct device *portdev, in store_delete_devices() argument 97 ide_hwif_t *hwif = dev_get_drvdata(portdev); in store_delete_devices() 109 static ssize_t store_scan(struct device *portdev, in store_scan() argument 113 ide_hwif_t *hwif = dev_get_drvdata(portdev); in store_scan() 137 rc = device_create_file(hwif->portdev, ide_port_attrs[i]); in ide_sysfs_register_port()
|
D | ide-probe.c | 563 hwif->portdev = device_create(ide_port_class, &hwif->gendev, in ide_register_port() 565 if (IS_ERR(hwif->portdev)) { in ide_register_port() 566 ret = PTR_ERR(hwif->portdev); in ide_register_port() 1498 device_unregister(hwif->portdev); in ide_host_register() 1610 device_unregister(hwif->portdev); in ide_unregister()
|
/Linux-v5.10/include/linux/ |
D | ide.h | 788 struct device *portdev; member
|