Home
last modified time | relevance | path

Searched refs:hdev (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/usr.sbin/spi/
H A Dspi.c164 int err, ch, hdev, finfo, fdir; in main() local
171 hdev = -1; in main()
332 hdev = open(dev_name, O_RDWR); in main()
334 if (hdev == -1) { in main()
342 err = get_info(hdev, dev_name); in main()
349 err = set_mode(hdev, &opt); in main()
356 err = set_speed(hdev, &opt); in main()
365 err = perform_read(hdev, &opt); in main()
368 err = perform_write(hdev, &opt); in main()
376 if (hdev != -1) in main()
[all …]
/freebsd-13.1/sys/fs/cuse/
H A Dcuse.c132 TAILQ_HEAD(, cuse_server_dev) hdev;
693 while ((pcsd = TAILQ_FIRST(&pcs->hdev)) != NULL) { in cuse_server_unref()
694 TAILQ_REMOVE(&pcs->hdev, pcsd, entry); in cuse_server_unref()
774 TAILQ_INIT(&pcs->hdev); in cuse_server_open()
1246 TAILQ_INSERT_TAIL(&pcs->hdev, pcsd, entry); in cuse_server_ioctl()
1261 pcsd = TAILQ_FIRST(&pcs->hdev); in cuse_server_ioctl()
1264 TAILQ_REMOVE(&pcs->hdev, pcsd, entry); in cuse_server_ioctl()
1269 pcsd = TAILQ_FIRST(&pcs->hdev); in cuse_server_ioctl()
/freebsd-13.1/sys/dev/usb/controller/
H A Dxhci.c1403 struct xhci_hw_dev *hdev; in xhci_set_address() local
1417 hdev = &sc->sc_hw.devs[index]; in xhci_set_address()
1424 switch (hdev->state) { in xhci_set_address()
1428 hdev->state = XHCI_ST_ENABLED; in xhci_set_address()
1474 usbd_get_page(&hdev->input_pc, 0, &buf_inp); in xhci_set_address()
1496 usbd_get_page(&hdev->device_pc, 0, &buf_dev); in xhci_set_address()
1498 usb_pc_cpu_invalidate(&hdev->device_pc); in xhci_set_address()
1506 hdev->state = XHCI_ST_ADDRESSED; in xhci_set_address()
1508 hdev->state = XHCI_ST_DEFAULT; in xhci_set_address()
3794 struct xhci_hw_dev *hdev; in xhci_get_endpoint_state() local
[all …]