Lines Matching refs:physport
460 tmp->physport = tmp; in parport_register_port()
701 if (port->physport->flags & PARPORT_FLAG_EXCL) { in parport_register_device()
716 if (port->physport->devices) { in parport_register_device()
766 spin_lock(&port->physport->pardevice_lock); in parport_register_device()
769 if (port->physport->devices) { in parport_register_device()
770 spin_unlock(&port->physport->pardevice_lock); in parport_register_device()
779 tmp->next = port->physport->devices; in parport_register_device()
785 if (port->physport->devices) in parport_register_device()
786 port->physport->devices->prev = tmp; in parport_register_device()
787 port->physport->devices = tmp; in parport_register_device()
788 spin_unlock(&port->physport->pardevice_lock); in parport_register_device()
833 if (port->physport->flags & PARPORT_FLAG_EXCL) { in parport_register_dev_model()
848 if (port->physport->devices) { in parport_register_dev_model()
909 spin_lock(&port->physport->pardevice_lock); in parport_register_dev_model()
912 if (port->physport->devices) { in parport_register_dev_model()
913 spin_unlock(&port->physport->pardevice_lock); in parport_register_dev_model()
923 par_dev->next = port->physport->devices; in parport_register_dev_model()
929 if (port->physport->devices) in parport_register_dev_model()
930 port->physport->devices->prev = par_dev; in parport_register_dev_model()
931 port->physport->devices = par_dev; in parport_register_dev_model()
932 spin_unlock(&port->physport->pardevice_lock); in parport_register_dev_model()
984 port = dev->port->physport; in parport_unregister_device()
1116 struct parport *port = dev->port->physport; in parport_claim()
1273 if (dev->port->physport->cad != dev) in parport_claim_or_block()
1275 dev->name, dev->port->physport->cad ? in parport_claim_or_block()
1276 dev->port->physport->cad->name:"nobody"); in parport_claim_or_block()
1295 struct parport *port = dev->port->physport; in parport_release()