Home
last modified time | relevance | path

Searched refs:portdev (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/char/
Dvirtio_console.c190 struct ports_device *portdev; member
274 static struct port *find_port_by_devt_in_portdev(struct ports_device *portdev, in find_port_by_devt_in_portdev() argument
280 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev()
281 list_for_each_entry(port, &portdev->ports, list) { in find_port_by_devt_in_portdev()
289 spin_unlock_irqrestore(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev()
296 struct ports_device *portdev; in find_port_by_devt() local
301 list_for_each_entry(portdev, &pdrvdata.portdevs, list) { in find_port_by_devt()
302 port = find_port_by_devt_in_portdev(portdev, dev); in find_port_by_devt()
312 static struct port *find_port_by_id(struct ports_device *portdev, u32 id) in find_port_by_id() argument
317 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_id()
[all …]
/linux-4.19.296/include/linux/
Dide.h778 struct device *portdev; member