Lines Matching refs:p
53 struct daisydev *newdev, **p; in add_dev() local
60 for (p = &topology; *p && (*p)->devnum<devnum; p = &(*p)->next) in add_dev()
62 newdev->next = *p; in add_dev()
63 *p = newdev; in add_dev()
205 struct daisydev **p; in parport_daisy_fini() local
208 p = &topology; in parport_daisy_fini()
209 while (*p) { in parport_daisy_fini()
210 struct daisydev *dev = *p; in parport_daisy_fini()
212 p = &dev->next; in parport_daisy_fini()
215 *p = dev->next; in parport_daisy_fini()
243 struct daisydev *p = topology; in parport_open() local
251 while (p && p->devnum != devnum) in parport_open()
252 p = p->next; in parport_open()
254 if (!p) { in parport_open()
259 daisy = p->daisy; in parport_open()
260 port = parport_get_port(p->port); in parport_open()