par_dev 439 drivers/block/paride/paride.c static int pi_probe(struct pardevice *par_dev) par_dev 441 drivers/block/paride/paride.c struct device_driver *drv = par_dev->dev.driver; par_dev 444 drivers/block/paride/paride.c if (strncmp(par_dev->name, drv->name, len)) par_dev 831 drivers/char/ppdev.c static int pp_probe(struct pardevice *par_dev) par_dev 833 drivers/char/ppdev.c struct device_driver *drv = par_dev->dev.driver; par_dev 836 drivers/char/ppdev.c if (strncmp(par_dev->name, drv->name, len)) par_dev 1187 drivers/net/hamradio/baycom_epp.c static int baycom_epp_par_probe(struct pardevice *par_dev) par_dev 1189 drivers/net/hamradio/baycom_epp.c struct device_driver *drv = par_dev->dev.driver; par_dev 1192 drivers/net/hamradio/baycom_epp.c if (strncmp(par_dev->name, drv->name, len)) par_dev 492 drivers/net/hamradio/baycom_par.c static int baycom_par_probe(struct pardevice *par_dev) par_dev 494 drivers/net/hamradio/baycom_par.c struct device_driver *drv = par_dev->dev.driver; par_dev 497 drivers/net/hamradio/baycom_par.c if (strncmp(par_dev->name, drv->name, len)) par_dev 1333 drivers/net/plip/plip.c static int plip_probe(struct pardevice *par_dev) par_dev 1335 drivers/net/plip/plip.c struct device_driver *drv = par_dev->dev.driver; par_dev 1338 drivers/net/plip/plip.c if (strncmp(par_dev->name, drv->name, len)) par_dev 123 drivers/parport/share.c struct pardevice *par_dev = to_pardevice(dev); par_dev 125 drivers/parport/share.c if (strcmp(par_dev->name, drv->name)) par_dev 840 drivers/parport/share.c struct pardevice *par_dev = to_pardevice(dev); par_dev 842 drivers/parport/share.c kfree(par_dev->name); par_dev 843 drivers/parport/share.c kfree(par_dev); par_dev 850 drivers/parport/share.c struct pardevice *par_dev; par_dev 887 drivers/parport/share.c par_dev = kzalloc(sizeof(*par_dev), GFP_KERNEL); par_dev 888 drivers/parport/share.c if (!par_dev) par_dev 891 drivers/parport/share.c par_dev->state = kzalloc(sizeof(*par_dev->state), GFP_KERNEL); par_dev 892 drivers/parport/share.c if (!par_dev->state) par_dev 899 drivers/parport/share.c par_dev->name = devname; par_dev 900 drivers/parport/share.c par_dev->port = port; par_dev 901 drivers/parport/share.c par_dev->daisy = -1; par_dev 902 drivers/parport/share.c par_dev->preempt = par_dev_cb->preempt; par_dev 903 drivers/parport/share.c par_dev->wakeup = par_dev_cb->wakeup; par_dev 904 drivers/parport/share.c par_dev->private = par_dev_cb->private; par_dev 905 drivers/parport/share.c par_dev->flags = par_dev_cb->flags; par_dev 906 drivers/parport/share.c par_dev->irq_func = par_dev_cb->irq_func; par_dev 907 drivers/parport/share.c par_dev->waiting = 0; par_dev 908 drivers/parport/share.c par_dev->timeout = 5 * HZ; par_dev 910 drivers/parport/share.c par_dev->dev.parent = &port->bus_dev; par_dev 911 drivers/parport/share.c par_dev->dev.bus = &parport_bus_type; par_dev 912 drivers/parport/share.c ret = dev_set_name(&par_dev->dev, "%s.%d", devname, id); par_dev 915 drivers/parport/share.c par_dev->dev.release = free_pardevice; par_dev 916 drivers/parport/share.c par_dev->devmodel = true; par_dev 917 drivers/parport/share.c ret = device_register(&par_dev->dev); par_dev 919 drivers/parport/share.c kfree(par_dev->state); par_dev 920 drivers/parport/share.c put_device(&par_dev->dev); par_dev 925 drivers/parport/share.c par_dev->prev = NULL; par_dev 937 drivers/parport/share.c kfree(par_dev->state); par_dev 938 drivers/parport/share.c device_unregister(&par_dev->dev); par_dev 944 drivers/parport/share.c par_dev->next = port->physport->devices; par_dev 951 drivers/parport/share.c port->physport->devices->prev = par_dev; par_dev 952 drivers/parport/share.c port->physport->devices = par_dev; par_dev 955 drivers/parport/share.c init_waitqueue_head(&par_dev->wait_q); par_dev 956 drivers/parport/share.c par_dev->timeslice = parport_default_timeslice; par_dev 957 drivers/parport/share.c par_dev->waitnext = NULL; par_dev 958 drivers/parport/share.c par_dev->waitprev = NULL; par_dev 964 drivers/parport/share.c port->ops->init_state(par_dev, par_dev->state); par_dev 966 drivers/parport/share.c port->proc_device = par_dev; par_dev 967 drivers/parport/share.c parport_device_proc_register(par_dev); par_dev 970 drivers/parport/share.c return par_dev; par_dev 975 drivers/parport/share.c kfree(par_dev->state); par_dev 977 drivers/parport/share.c if (!par_dev->devmodel) par_dev 978 drivers/parport/share.c kfree(par_dev);