Home
last modified time | relevance | path

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

/drivers/pinctrl/
Dpinctrl-microchip-sgpio.c105 bool is_input; member
288 val = bank->is_input; in sgpio_pinconf_get()
292 val = !bank->is_input; in sgpio_pinconf_get()
296 if (bank->is_input) in sgpio_pinconf_get()
327 if (bank->is_input) in sgpio_pinconf_set()
381 return (input == bank->is_input) ? 0 : -EINVAL; in sgpio_gpio_set_direction()
453 return bank->is_input ? 0 : -EINVAL; in microchip_sgpio_direction_input()
464 if (bank->is_input) in microchip_sgpio_direction_output()
478 return bank->is_input ? GPIO_LINE_DIRECTION_IN : GPIO_LINE_DIRECTION_OUT; in microchip_sgpio_get_direction()
495 return bank->is_input ? sgpio_input_get(priv, &addr) : sgpio_output_get(priv, &addr); in microchip_sgpio_get_value()
[all …]
/drivers/usb/host/
Dehci-q.c584 int is_input; in qh_urb_transaction() local
603 is_input = usb_pipein (urb->pipe); in qh_urb_transaction()
643 if (is_input) in qh_urb_transaction()
647 maxpacket = usb_maxpacket(urb->dev, urb->pipe, !is_input); in qh_urb_transaction()
668 if (is_input) in qh_urb_transaction()
768 int is_input, type; in qh_make() local
783 is_input = usb_pipein (urb->pipe); in qh_make()
809 is_input, 0, mult * maxp)); in qh_make()
839 is_input, 0, maxp) / (125 * 1000); in qh_make()
842 if (is_input) { // SPLIT, gap, CSPLIT+DATA 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 …]
Dfotg210-hcd.c2534 int is_input; in qh_urb_transaction() local
2553 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
2593 if (is_input) in qh_urb_transaction()
2597 maxpacket = usb_maxpacket(urb->dev, urb->pipe, !is_input); in qh_urb_transaction()
2618 if (is_input) in qh_urb_transaction()
2713 int is_input, type; in qh_make() local
2728 is_input = usb_pipein(urb->pipe); in qh_make()
2752 is_input, 0, mult * maxp)); in qh_make()
2775 is_input, 0, maxp) / (125 * 1000); in qh_make()
2778 if (is_input) { /* SPLIT, gap, CSPLIT+DATA */ in qh_make()
[all …]
Dehci-sched.c1027 int is_input; in iso_stream_init() local
1035 is_input = usb_pipein(urb->pipe) ? USB_DIR_IN : 0; in iso_stream_init()
1037 buf1 = is_input ? 1 << 11 : 0; in iso_stream_init()
1084 dev->speed, is_input, 1, maxp)); in iso_stream_init()
1086 if (is_input) { in iso_stream_init()
1120 stream->bEndpointAddress = is_input | epnum; in iso_stream_init()
/drivers/gpio/
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.c109 int is_input) in omap_set_gpio_direction() argument
112 BIT(gpio), is_input); in omap_set_gpio_direction()
/drivers/s390/cio/
Dqdio_main.c1286 int qdio_inspect_queue(struct ccw_device *cdev, unsigned int nr, bool is_input, in qdio_inspect_queue() argument
1294 q = is_input ? irq_ptr->input_qs[nr] : irq_ptr->output_qs[nr]; in qdio_inspect_queue()
/drivers/usb/core/
Dhcd.c1098 long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount) in usb_calc_bus_time() argument
1104 if (is_input) { in usb_calc_bus_time()
1114 return ((is_input) ? 7268L : 6265L) + BW_HOST_DELAY + tmp; in usb_calc_bus_time()