Home
last modified time | relevance | path

Searched refs:is_input (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/usb/host/
Dehci-q.c573 int is_input; in qh_urb_transaction() local
592 is_input = usb_pipein (urb->pipe); in qh_urb_transaction()
632 if (is_input) in qh_urb_transaction()
636 maxpacket = usb_maxpacket(urb->dev, urb->pipe, !is_input); in qh_urb_transaction()
657 if (is_input) in qh_urb_transaction()
757 int is_input, type; in qh_make() local
772 is_input = usb_pipein (urb->pipe); in qh_make()
798 is_input, 0, mult * maxp)); in qh_make()
828 is_input, 0, maxp) / (125 * 1000); in qh_make()
831 if (is_input) { // SPLIT, gap, CSPLIT+DATA in qh_make()
[all …]
Doxu210hp-hcd.c1182 int is_input; in qh_urb_transaction() local
1201 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
1202 if (!urb->transfer_buffer && urb->transfer_buffer_length && is_input) in qh_urb_transaction()
1242 if (!is_input) in qh_urb_transaction()
1245 if (is_input) in qh_urb_transaction()
1249 maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); in qh_urb_transaction()
1264 if (is_input) in qh_urb_transaction()
1346 int is_input, type; in qh_make() local
1358 is_input = usb_pipein(urb->pipe); in qh_make()
1360 maxp = usb_maxpacket(urb->dev, urb->pipe, !is_input); in qh_make()
[all …]
Dfotg210-hcd.c2535 int is_input; in qh_urb_transaction() local
2554 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
2594 if (is_input) in qh_urb_transaction()
2598 maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); in qh_urb_transaction()
2619 if (is_input) in qh_urb_transaction()
2713 int is_input, type; in qh_make() local
2727 is_input = usb_pipein(urb->pipe); in qh_make()
2729 maxp = usb_maxpacket(urb->dev, urb->pipe, !is_input); in qh_make()
2750 is_input, 0, in qh_make()
2774 is_input, 0, maxp) / (125 * 1000); in qh_make()
[all …]
Dehci-sched.c1041 int is_input; in iso_stream_init() local
1049 is_input = usb_pipein(urb->pipe) ? USB_DIR_IN : 0; in iso_stream_init()
1051 buf1 = is_input ? 1 << 11 : 0; in iso_stream_init()
1098 dev->speed, is_input, 1, maxp)); in iso_stream_init()
1100 if (is_input) { in iso_stream_init()
1134 stream->bEndpointAddress = is_input | epnum; in iso_stream_init()
/Linux-v4.19/drivers/gpio/
Dgpio-twl4030.c150 static int twl4030_set_gpio_direction(int gpio, int is_input) in twl4030_set_gpio_direction() argument
160 if (is_input) in twl4030_set_gpio_direction()
Dgpio-omap.c101 int is_input) in omap_set_gpio_direction() argument
108 if (is_input) in omap_set_gpio_direction()
/Linux-v4.19/sound/core/
Drawmidi.c169 bool is_input) in __reset_runtime_ptrs() argument
173 runtime->avail = is_input ? 0 : runtime->buffer_size; in __reset_runtime_ptrs()
177 bool is_input) in reset_runtime_ptrs() argument
182 __reset_runtime_ptrs(runtime, is_input); in reset_runtime_ptrs()
649 bool is_input) in resize_runtime_buffer() argument
665 __reset_runtime_ptrs(runtime, is_input); in resize_runtime_buffer()
/Linux-v4.19/include/linux/usb/
Dhcd.h636 extern long usb_calc_bus_time(int speed, int is_input,
/Linux-v4.19/drivers/usb/core/
Dhcd.c1182 long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount) in usb_calc_bus_time() argument
1188 if (is_input) { in usb_calc_bus_time()
1198 return ((is_input) ? 7268L : 6265L) + BW_HOST_DELAY + tmp; in usb_calc_bus_time()
/Linux-v4.19/sound/usb/
Dmixer.c1700 bool is_input, char *name, int name_size) in get_connector_control_name() argument
1712 if (is_input) in get_connector_control_name()
1720 struct usb_audio_term *term, bool is_input) in build_connector_control() argument
1754 get_connector_control_name(mixer, term, is_input, kctl->id.name, in build_connector_control()