Home
last modified time | relevance | path

Searched refs:isread (Results 1 – 8 of 8) sorted by relevance

/freebsd/stand/usb/
H A Dusb_busdma_loader.c434 uint8_t isread; in usb_bdma_work_loop() local
457 isread = USB_GET_DATA_ISREAD(xfer); in usb_bdma_work_loop()
465 xfer->frbuffers[0].isread = 1; in usb_bdma_work_loop()
468 xfer->frbuffers[0].isread = 0; in usb_bdma_work_loop()
472 xfer->frbuffers[0].isread = isread; in usb_bdma_work_loop()
491 xfer->frbuffers[nframes].isread = isread; in usb_bdma_work_loop()
580 if (pc->isread) { in usb_bdma_pre_sync()
612 if (pc->isread) { in usb_bdma_post_sync()
/freebsd/sys/dev/usb/
H A Dusb_pf.c338 int isread; in usbpf_xfer_frame_is_read() local
345 isread = 1; in usbpf_xfer_frame_is_read()
348 isread = 0; in usbpf_xfer_frame_is_read()
351 isread = USB_GET_DATA_ISREAD(xfer); in usbpf_xfer_frame_is_read()
353 return (isread); in usbpf_xfer_frame_is_read()
468 int isread; in usbpf_xfertap() local
482 isread = usbpf_xfer_frame_is_read(xfer, x); in usbpf_xfertap()
485 if (isread) { in usbpf_xfertap()
502 if (isread) in usbpf_xfertap()
H A Dusb_busdma.c928 uint8_t isread; in usb_bdma_work_loop() local
951 isread = USB_GET_DATA_ISREAD(xfer); in usb_bdma_work_loop()
959 xfer->frbuffers[0].isread = 1; in usb_bdma_work_loop()
962 xfer->frbuffers[0].isread = 0; in usb_bdma_work_loop()
966 xfer->frbuffers[0].isread = isread; in usb_bdma_work_loop()
985 xfer->frbuffers[nframes].isread = isread; in usb_bdma_work_loop()
1071 if (pc->isread) { in usb_bdma_pre_sync()
1103 if (pc->isread) { in usb_bdma_post_sync()
H A Dusb_generic.c1029 uint8_t isread; in usb_fs_open() local
1083 isread = ((usb_config[0].endpoint & in usb_fs_open()
1087 isread = !isread; in usb_fs_open()
1090 if (isread) { in usb_fs_open()
1276 uint8_t isread; in ugen_fs_copy_in() local
1340 isread = 1; in ugen_fs_copy_in()
1342 isread = 0; in ugen_fs_copy_in()
1350 isread = 1; in ugen_fs_copy_in()
1352 isread = 0; in ugen_fs_copy_in()
1396 if (!isread) { in ugen_fs_copy_in()
[all …]
H A Dusb_busdma.h95 uint8_t isread:1; /* set if we are currently reading member
/freebsd/sys/fs/cuse/
H A Dcuse.c840 struct cuse_data_chunk *pchk, bool isread) in cuse_server_ioctl_copy_locked() argument
868 if (!isread) { in cuse_server_ioctl_copy_locked()
947 struct cuse_data_chunk *pchk, bool isread) in cuse_server_data_copy_locked() argument
963 if (!isread) { in cuse_server_data_copy_locked()
988 struct cuse_data_chunk *pchk, bool isread) in cuse_server_data_copy_optimized_locked() argument
997 if (isread) { in cuse_server_data_copy_optimized_locked()
1022 error = cuse_server_data_copy_locked(pcs, pccmd, pchk, isread); in cuse_server_data_copy_optimized_locked()
/freebsd/tools/tools/usbtest/
H A Dusb_msc_test.c151 uint8_t isread, uint8_t isshort, uint8_t lun, uint8_t flags) in do_msc_cmd() argument
166 cbw.bCBWFlags = (isread ? CBWFLAGS_IN : CBWFLAGS_OUT); in do_msc_cmd()
192 xfer_io = isread ? xfer_in : xfer_out; in do_msc_cmd()
/freebsd/sys/cam/ctl/
H A Dctl.c8744 int isread; in ctl_read_write() local
8749 isread = ctsio->cdb[0] == READ_6 || ctsio->cdb[0] == READ_10 in ctl_read_write()
8904 if (isread) { in ctl_read_write()
8916 lbalen->flags = (isread ? CTL_LLF_READ : CTL_LLF_WRITE) | flags; in ctl_read_write()
10824 bool isread; in ctl_nvme_read_write() local
10834 isread = ctnio->cmd.opc == NVME_OPC_READ; in ctl_nvme_read_write()
10859 if (isread) in ctl_nvme_read_write()
10867 lbalen->flags = (isread ? CTL_LLF_READ : CTL_LLF_WRITE) | flags; in ctl_nvme_read_write()