Lines Matching full:ndev

46  * ndev - network / transport device (this module)
65 static int ow_acquire_bus(device_t ndev, device_t pdev, int how);
66 static void ow_release_bus(device_t ndev, device_t pdev);
235 ow_send_command(device_t ndev, device_t pdev, struct ow_cmd *cmd) in ow_send_command() argument
241 lldev = device_get_parent(ndev); in ow_send_command()
250 device_printf(ndev, "Reset said no device on bus?.\n"); in ow_send_command()
253 device_printf(ndev, "Reset said the device wasn't there.\n"); in ow_send_command()
257 device_printf(ndev, "Reset discovered bus wired wrong.\n"); in ow_send_command()
388 ow_crc(device_t ndev, device_t pdev, uint8_t *buffer, size_t len) in ow_crc() argument
542 ow_attach(device_t ndev) in ow_attach() argument
557 sc = device_get_softc(ndev); in ow_attach()
558 sc->dev = ndev; in ow_attach()
560 ow_enumerate(ndev, ow_search_rom, ow_device_found); in ow_attach()
561 bus_attach_children(ndev); in ow_attach()
566 ow_detach(device_t ndev) in ow_detach() argument
572 sc = device_get_softc(ndev); in ow_detach()
577 bus_generic_detach(ndev); in ow_detach()
582 if (device_get_children(ndev, &children, &nkid) != 0) in ow_detach()
586 device_delete_child(ndev, child); in ow_detach()
634 ow_print_child(device_t ndev, device_t pdev) in ow_print_child() argument
641 retval += bus_print_child_header(ndev, pdev); in ow_print_child()
643 retval += bus_print_child_footer(ndev, pdev); in ow_print_child()
649 ow_probe_nomatch(device_t ndev, device_t pdev) in ow_probe_nomatch() argument
654 device_printf(ndev, "romid %8D: no driver\n", &di->romid, ":"); in ow_probe_nomatch()
658 ow_acquire_bus(device_t ndev, device_t pdev, int how) in ow_acquire_bus() argument
662 sc = device_get_softc(ndev); in ow_acquire_bus()
668 device_get_nameunit(ndev), in ow_acquire_bus()
684 ow_release_bus(device_t ndev, device_t pdev) in ow_release_bus() argument
688 sc = device_get_softc(ndev); in ow_release_bus()
692 panic("%s: %s releasing unowned bus.", device_get_nameunit(ndev), in ow_release_bus()
696 device_get_nameunit(ndev), device_get_nameunit(pdev), in ow_release_bus()