Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
Dfotg210-hcd.c2541 int is_input; in qh_urb_transaction() local
2560 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
2600 if (is_input) in qh_urb_transaction()
2604 maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); in qh_urb_transaction()
2625 if (is_input) in qh_urb_transaction()
2719 int is_input, type; in qh_make() local
2733 is_input = usb_pipein(urb->pipe); in qh_make()
2735 maxp = usb_maxpacket(urb->dev, urb->pipe, !is_input); in qh_make()
2756 is_input, 0, in qh_make()
2780 is_input, 0, maxp) / (125 * 1000); in qh_make()
[all …]
Doxu210hp-hcd.c1621 int is_input; in qh_urb_transaction() local
1640 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
1641 if (!urb->transfer_buffer && urb->transfer_buffer_length && is_input) in qh_urb_transaction()
1681 if (!is_input) in qh_urb_transaction()
1684 if (is_input) in qh_urb_transaction()
1688 maxpacket = max_packet(usb_maxpacket(urb->dev, urb->pipe, !is_input)); in qh_urb_transaction()
1703 if (is_input) in qh_urb_transaction()
1785 int is_input, type; in qh_make() local
1797 is_input = usb_pipein(urb->pipe); in qh_make()
1799 maxp = usb_maxpacket(urb->dev, urb->pipe, !is_input); 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-v5.4/drivers/gpio/
Dsgpio-aspeed.c132 bool is_input; in aspeed_sgpio_get() local
137 is_input = gpio->dir_in[GPIO_BANK(offset)] & GPIO_BIT(offset); in aspeed_sgpio_get()
138 reg = is_input ? reg_val : reg_rdata; in aspeed_sgpio_get()
Dgpio-twl4030.c137 static int twl4030_set_gpio_direction(int gpio, int is_input) in twl4030_set_gpio_direction() argument
147 if (is_input) in twl4030_set_gpio_direction()
Dgpio-omap.c107 int is_input) in omap_set_gpio_direction() argument
110 BIT(gpio), is_input); in omap_set_gpio_direction()
/Linux-v5.4/sound/core/
Drawmidi.c155 bool is_input) in __reset_runtime_ptrs() argument
159 runtime->avail = is_input ? 0 : runtime->buffer_size; in __reset_runtime_ptrs()
163 bool is_input) in reset_runtime_ptrs() argument
168 __reset_runtime_ptrs(runtime, is_input); in reset_runtime_ptrs()
636 bool is_input) in resize_runtime_buffer() argument
652 __reset_runtime_ptrs(runtime, is_input); in resize_runtime_buffer()
/Linux-v5.4/arch/s390/include/asm/
Dqdio.h421 bool is_input, unsigned int *bufnr,
/Linux-v5.4/include/linux/usb/
Dhcd.h650 extern long usb_calc_bus_time(int speed, int is_input,
/Linux-v5.4/drivers/usb/core/
Dhcd.c1085 long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount) in usb_calc_bus_time() argument
1091 if (is_input) { in usb_calc_bus_time()
1101 return ((is_input) ? 7268L : 6265L) + BW_HOST_DELAY + tmp; in usb_calc_bus_time()
/Linux-v5.4/sound/usb/
Dmixer.c1725 bool is_input, char *name, int name_size) in get_connector_control_name() argument
1737 if (is_input) in get_connector_control_name()
1745 struct usb_audio_term *term, bool is_input) in build_connector_control() argument
1779 get_connector_control_name(mixer, term, is_input, kctl->id.name, in build_connector_control()
/Linux-v5.4/drivers/s390/cio/
Dqdio_main.c1685 int qdio_inspect_queue(struct ccw_device *cdev, unsigned int nr, bool is_input, in qdio_inspect_queue() argument
1693 q = is_input ? irq_ptr->input_qs[nr] : irq_ptr->output_qs[nr]; in qdio_inspect_queue()