Lines Matching refs:ppbdev
66 struct ppb_device *ppbdev;
71 ppbdev = (struct ppb_device *)device_get_ivars(dev);
73 if (ppbdev->flags != 0)
74 retval += printf(" flags 0x%x", ppbdev->flags);
97 struct ppb_device *ppbdev;
101 ppbdev = malloc(sizeof(struct ppb_device), M_PPBUSDEV,
103 if (!ppbdev)
107 ppbdev->name = name;
112 device_set_ivars(child, ppbdev);
442 struct ppb_device *ppbdev;
449 ppbdev = device_get_ivars(ppb->ppb_owner);
450 if (ppbdev->intr_hook == NULL)
453 ppbdev->intr_hook(ppbdev->intr_arg);
461 struct ppb_device *ppbdev = device_get_ivars(child);
473 ppbdev->intr_hook = ihand;
474 ppbdev->intr_arg = arg;
475 *cookiep = ppbdev;
484 struct ppb_device *ppbdev = device_get_ivars(child);
488 if (ppbdev != ih || ppb->ppc_irq_res != r) {
493 ppbdev->intr_hook = NULL;
510 struct ppb_device *ppbdev = (struct ppb_device *)device_get_ivars(dev);
540 if (ppbdev->ctx.valid)
541 ppb_set_mode(bus, ppbdev->ctx.mode);
559 struct ppb_device *ppbdev = (struct ppb_device *)device_get_ivars(dev);
566 ppbdev->ctx.mode = ppb_get_mode(bus);
569 ppbdev->ctx.valid = 1;