Home
last modified time | relevance | path

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

/linux/drivers/char/
H A Dvirtio_console.c171 struct ports_device *portdev; member
252 static struct port *find_port_by_devt_in_portdev(struct ports_device *portdev, in find_port_by_devt_in_portdev() argument
258 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev()
259 list_for_each_entry(port, &portdev->ports, list) { in find_port_by_devt_in_portdev()
267 spin_unlock_irqrestore(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev()
274 struct ports_device *portdev; in find_port_by_devt() local
279 list_for_each_entry(portdev, &pdrvdata.portdevs, list) { in find_port_by_devt()
280 port = find_port_by_devt_in_portdev(portdev, dev); in find_port_by_devt()
290 static struct port *find_port_by_id(struct ports_device *portdev, u32 id) in find_port_by_id() argument
295 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_id()
[all …]