Lines Matching refs:pd
82 struct pardevice *pd; member
198 struct pardevice *pd; in spi_lm70llp_attach() local
235 pd = parport_register_dev_model(p, DRVNAME, &lm70llp_cb, 0); in spi_lm70llp_attach()
237 if (!pd) { in spi_lm70llp_attach()
241 pp->pd = pd; in spi_lm70llp_attach()
243 status = parport_claim(pd); in spi_lm70llp_attach()
252 dev_warn(&pd->dev, "spi_bitbang_start failed with status %d\n", in spi_lm70llp_attach()
280 dev_warn(&pd->dev, "spi_new_device failed\n"); in spi_lm70llp_attach()
295 parport_release(pp->pd); in spi_lm70llp_attach()
297 parport_unregister_device(pd); in spi_lm70llp_attach()
317 parport_release(pp->pd); in spi_lm70llp_detach()
318 parport_unregister_device(pp->pd); in spi_lm70llp_detach()