Lines Matching defs:temp

110 	uint32_t temp = 0;
115 temp *= 10;
116 temp += (*ptr - '0');
117 if (temp >= 1000000) {
130 return (temp);
522 int temp;
524 if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_CONFIG), &temp)) {
527 *pindex = temp;
535 int temp = cfg_index;
540 if (ioctl(pdev->file_ctrl, IOUSB(USB_SET_CONFIG), &temp)) {
569 int temp = 0;
574 if (ioctl(pdev->file_ctrl, IOUSB(USB_DEVICEENUMERATE), &temp)) {
602 int temp;
606 temp = USB_POWER_MODE_OFF;
609 temp = USB_POWER_MODE_ON;
612 temp = USB_POWER_MODE_SAVE;
615 temp = USB_POWER_MODE_SUSPEND;
618 temp = USB_POWER_MODE_RESUME;
623 if (ioctl(pdev->file_ctrl, IOUSB(USB_SET_POWER_MODE), &temp)) {
632 int temp;
634 if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_POWER_MODE), &temp)) {
637 switch (temp) {
639 temp = LIBUSB20_POWER_OFF;
642 temp = LIBUSB20_POWER_ON;
645 temp = LIBUSB20_POWER_SAVE;
648 temp = LIBUSB20_POWER_SUSPEND;
651 temp = LIBUSB20_POWER_RESUME;
654 temp = LIBUSB20_POWER_ON;
657 *power_mode = temp;
664 int temp;
666 if (ioctl(pdev->file_ctrl, IOUSB(USB_GET_POWER_USAGE), &temp)) {
669 *power_usage = temp;
700 int temp = iface_index;
702 if (ioctl(pdev->file_ctrl, IOUSB(USB_IFACE_DRIVER_ACTIVE), &temp)) {
712 int temp = iface_index;
714 if (ioctl(pdev->file_ctrl, IOUSB(USB_IFACE_DRIVER_DETACH), &temp)) {
750 struct usb_fs_complete temp;
756 if (ioctl(pdev->file, IOUSB(USB_FS_COMPLETE), &temp)) {
766 fsep += temp.ep_index;
767 xfer += temp.ep_index;
805 } temp;
811 memset(&temp, 0, sizeof(temp));
816 temp.fs_open.max_bufsize = MaxBufSize;
817 temp.fs_open.max_frames = MaxFrameCount;
818 temp.fs_open.ep_index = xfer->trIndex;
819 temp.fs_open.ep_no = ep_no;
822 temp.fs_open_stream.stream_id = stream_id;
824 if (ioctl(xfer->pdev->file, IOUSB(USB_FS_OPEN_STREAM), &temp.fs_open_stream))
827 if (ioctl(xfer->pdev->file, IOUSB(USB_FS_OPEN), &temp.fs_open))
831 xfer->maxFrames = temp.fs_open.max_frames;
834 xfer->maxTotalLength = temp.fs_open.max_bufsize;
835 xfer->maxPacketLen = temp.fs_open.max_packet_length;
847 struct usb_fs_close temp;
849 memset(&temp, 0, sizeof(temp));
851 temp.ep_index = xfer->trIndex;
853 if (ioctl(xfer->pdev->file, IOUSB(USB_FS_CLOSE), &temp)) {
862 struct usb_fs_clear_stall_sync temp;
864 memset(&temp, 0, sizeof(temp));
868 temp.ep_index = xfer->trIndex;
870 if (ioctl(xfer->pdev->file, IOUSB(USB_FS_CLEAR_STALL_SYNC), &temp)) {
879 struct usb_fs_start temp;
882 memset(&temp, 0, sizeof(temp));
907 temp.ep_index = xfer->trIndex;
909 if (ioctl(xfer->pdev->file, IOUSB(USB_FS_START), &temp)) {
918 struct usb_fs_stop temp;
920 memset(&temp, 0, sizeof(temp));
922 temp.ep_index = xfer->trIndex;
924 if (ioctl(xfer->pdev->file, IOUSB(USB_FS_STOP), &temp)) {
1078 ugen20_root_set_template(struct libusb20_backend *pbe, int temp)
1080 return (ugen20_be_ioctl(IOUSB(USB_SET_TEMPLATE), &temp));