Searched refs:hdev (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/usr.sbin/spi/ |
| H A D | spi.c | 162 int err, ch, hdev, finfo, fdir; in main() local 169 hdev = -1; in main() 330 hdev = open(dev_name, O_RDWR); in main() 332 if (hdev == -1) { in main() 340 err = get_info(hdev, dev_name); in main() 347 err = set_mode(hdev, &opt); in main() 354 err = set_speed(hdev, &opt); in main() 363 err = perform_read(hdev, &opt); in main() 366 err = perform_write(hdev, &opt); in main() 374 if (hdev != -1) in main() [all …]
|
| /freebsd-14.2/sys/fs/cuse/ |
| H A D | cuse.c | 142 TAILQ_HEAD(, cuse_server_dev) hdev; 715 while ((pcsd = TAILQ_FIRST(&pcs->hdev)) != NULL) { in cuse_server_unref() 716 TAILQ_REMOVE(&pcs->hdev, pcsd, entry); in cuse_server_unref() 796 TAILQ_INIT(&pcs->hdev); in cuse_server_open() 1310 TAILQ_INSERT_TAIL(&pcs->hdev, pcsd, entry); in cuse_server_ioctl() 1325 pcsd = TAILQ_FIRST(&pcs->hdev); in cuse_server_ioctl() 1328 TAILQ_REMOVE(&pcs->hdev, pcsd, entry); in cuse_server_ioctl() 1333 pcsd = TAILQ_FIRST(&pcs->hdev); in cuse_server_ioctl()
|
| /freebsd-14.2/sys/dev/usb/controller/ |
| H A D | xhci.c | 1346 struct xhci_hw_dev *hdev; in xhci_set_address() local 1360 hdev = &sc->sc_hw.devs[index]; in xhci_set_address() 1367 switch (hdev->state) { in xhci_set_address() 1371 hdev->state = XHCI_ST_ENABLED; in xhci_set_address() 1417 usbd_get_page(&hdev->input_pc, 0, &buf_inp); in xhci_set_address() 1439 usbd_get_page(&hdev->device_pc, 0, &buf_dev); in xhci_set_address() 1442 usb_pc_cpu_invalidate(&hdev->device_pc); in xhci_set_address() 1450 hdev->state = XHCI_ST_ADDRESSED; in xhci_set_address() 1452 hdev->state = XHCI_ST_DEFAULT; in xhci_set_address() 3742 struct xhci_hw_dev *hdev; in xhci_get_endpoint_state() local [all …]
|