Home
last modified time | relevance | path

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

/src/usr.sbin/spi/
H A Dspi.c73 static int _read_write(int hdev, void *bufw, void *bufr, int cbrw, int lsb);
75 static int get_info(int hdev, const char *dev_name);
76 static int set_mode(int hdev, struct spi_options *popt);
77 static int set_speed(int hdev, struct spi_options *popt);
79 static int perform_read(int hdev, struct spi_options *popt);
80 static int perform_write(int hdev, struct spi_options *popt);
81 static int perform_readwrite(int hdev, struct spi_options *popt);
162 int err, ch, hdev, finfo, stream, fdir; in main() local
170 hdev = -1; in main()
335 hdev = open(dev_name, O_RDWR); in main()
[all …]
/src/sys/fs/cuse/
H A Dcuse.c142 TAILQ_HEAD(, cuse_server_dev) hdev;
717 while ((pcsd = TAILQ_FIRST(&pcs->hdev)) != NULL) { in cuse_server_unref()
718 TAILQ_REMOVE(&pcs->hdev, pcsd, entry); in cuse_server_unref()
798 TAILQ_INIT(&pcs->hdev); in cuse_server_open()
1312 TAILQ_INSERT_TAIL(&pcs->hdev, pcsd, entry); in cuse_server_ioctl()
1327 pcsd = TAILQ_FIRST(&pcs->hdev); in cuse_server_ioctl()
1330 TAILQ_REMOVE(&pcs->hdev, pcsd, entry); in cuse_server_ioctl()
1335 pcsd = TAILQ_FIRST(&pcs->hdev); in cuse_server_ioctl()
/src/sys/dev/usb/controller/
H A Dxhci.c1431 struct xhci_hw_dev *hdev; in xhci_set_address() local
1445 hdev = &sc->sc_hw.devs[index]; in xhci_set_address()
1452 switch (hdev->state) { in xhci_set_address()
1456 hdev->state = XHCI_ST_ENABLED; in xhci_set_address()
1502 usbd_get_page(&hdev->input_pc, 0, &buf_inp); in xhci_set_address()
1524 usbd_get_page(&hdev->device_pc, 0, &buf_dev); in xhci_set_address()
1527 usb_pc_cpu_invalidate(&hdev->device_pc); in xhci_set_address()
1535 hdev->state = XHCI_ST_ADDRESSED; in xhci_set_address()
1537 hdev->state = XHCI_ST_DEFAULT; in xhci_set_address()
3827 struct xhci_hw_dev *hdev; in xhci_get_endpoint_state() local
[all …]