Searched refs:portdev (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.15/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 …]
|