Searched refs:portdev (Results 1 – 1 of 1) sorted by relevance
| /Linux-v6.1/drivers/char/ |
| D | virtio_console.c | 178 struct ports_device *portdev; member 262 static struct port *find_port_by_devt_in_portdev(struct ports_device *portdev, in find_port_by_devt_in_portdev() argument 268 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev() 269 list_for_each_entry(port, &portdev->ports, list) { in find_port_by_devt_in_portdev() 277 spin_unlock_irqrestore(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev() 284 struct ports_device *portdev; in find_port_by_devt() local 289 list_for_each_entry(portdev, &pdrvdata.portdevs, list) { in find_port_by_devt() 290 port = find_port_by_devt_in_portdev(portdev, dev); in find_port_by_devt() 300 static struct port *find_port_by_id(struct ports_device *portdev, u32 id) in find_port_by_id() argument 305 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_id() [all …]
|