Searched refs:ppdev_cb (Results 1 – 2 of 2) sorted by relevance
288 struct pardev_cb ppdev_cb; in register_device() local303 memset(&ppdev_cb, 0, sizeof(ppdev_cb)); in register_device()304 ppdev_cb.irq_func = pp_irq; in register_device()305 ppdev_cb.flags = (pp->flags & PP_EXCL) ? PARPORT_FLAG_EXCL : 0; in register_device()306 ppdev_cb.private = pp; in register_device()307 pdev = parport_register_dev_model(port, name, &ppdev_cb, index); in register_device()
923 struct pardev_cb ppdev_cb; in lp_register() local925 memset(&ppdev_cb, 0, sizeof(ppdev_cb)); in lp_register()926 ppdev_cb.preempt = lp_preempt; in lp_register()927 ppdev_cb.private = &lp_table[nr]; in lp_register()929 &ppdev_cb, nr); in lp_register()