Searched refs:hdev (Results 1 - 2 of 2) sorted by relevance
/third_party/FreeBSD/sys/dev/usb/controller/ |
H A D | xhci.c | 1338 struct xhci_hw_dev *hdev; in xhci_set_address() local 1352 hdev = &sc->sc_hw.devs[index]; in xhci_set_address() 1359 switch (hdev->state) { in xhci_set_address() 1363 hdev->state = XHCI_ST_ENABLED; in xhci_set_address() 1409 usbd_get_page(&hdev->input_pc, 0, &buf_inp); in xhci_set_address() 1431 usbd_get_page(&hdev->device_pc, 0, &buf_dev); in xhci_set_address() 1433 usb_pc_cpu_invalidate(&hdev->device_pc); in xhci_set_address() 1441 hdev->state = XHCI_ST_ADDRESSED; in xhci_set_address() 1443 hdev->state = XHCI_ST_DEFAULT; in xhci_set_address()
|
/third_party/backends/backend/ |
H A D | microtek2.c | 689 SANE_String hdev; in add_device_list() local 693 if ( (hdev = strdup(dev_name)) == NULL) in add_device_list() 695 DBG(5, "add_device_list: malloc() for hdev failed\n"); in add_device_list() 699 len = strlen(hdev); in add_device_list() 700 if ( hdev[len - 1] == '\n' ) in add_device_list() 701 hdev[--len] = '\0'; in add_device_list() 703 DBG(30, "add_device_list: device='%s'\n", hdev); in add_device_list() 709 if ( strcmp(hdev, md->name) == 0 ) in add_device_list() 711 DBG(30, "add_device_list: device '%s' already in list\n", hdev); in add_device_list() 739 strncpy(md->name, hdev, PATH_MA in add_device_list() [all...] |
Completed in 9 milliseconds