Lines Matching refs:p_dev
58 device_t p_dev; member
181 port->p_ipend = SERDEV_IPEND(port->p_dev); in puc_intr()
321 port->p_dev = device_add_child(dev, NULL, -1); in puc_bfe_attach()
322 if (port->p_dev != NULL) in puc_bfe_attach()
323 device_set_ivars(port->p_dev, (void *)port); in puc_bfe_attach()
360 if (port->p_dev == NULL) in puc_bfe_attach()
362 error = device_probe_and_attach(port->p_dev); in puc_bfe_attach()
364 device_delete_child(dev, port->p_dev); in puc_bfe_attach()
365 port->p_dev = NULL; in puc_bfe_attach()
381 if (port->p_dev != NULL) in puc_bfe_attach()
382 device_delete_child(dev, port->p_dev); in puc_bfe_attach()
418 if (port->p_dev == NULL) in puc_bfe_detach()
420 if (device_delete_child(dev, port->p_dev) == 0) { in puc_bfe_detach()