Lines Matching refs:p_dev
58 device_t p_dev; member
180 port->p_ipend = SERDEV_IPEND(port->p_dev); in puc_intr()
320 port->p_dev = device_add_child(dev, NULL, -1); in puc_bfe_attach()
321 if (port->p_dev != NULL) in puc_bfe_attach()
322 device_set_ivars(port->p_dev, (void *)port); in puc_bfe_attach()
359 if (port->p_dev == NULL) in puc_bfe_attach()
361 error = device_probe_and_attach(port->p_dev); in puc_bfe_attach()
363 device_delete_child(dev, port->p_dev); in puc_bfe_attach()
364 port->p_dev = NULL; in puc_bfe_attach()
380 if (port->p_dev != NULL) in puc_bfe_attach()
381 device_delete_child(dev, port->p_dev); in puc_bfe_attach()
417 if (port->p_dev == NULL) in puc_bfe_detach()
419 if (device_delete_child(dev, port->p_dev) == 0) { in puc_bfe_detach()