/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-microchip-sgpio.c | 111 bool is_input; member 367 val = bank->is_input; in sgpio_pinconf_get() 371 val = !bank->is_input; in sgpio_pinconf_get() 375 if (bank->is_input) in sgpio_pinconf_get() 406 if (bank->is_input) in sgpio_pinconf_set() 460 return (input == bank->is_input) ? 0 : -EINVAL; in sgpio_gpio_set_direction() 532 return bank->is_input ? 0 : -EINVAL; in microchip_sgpio_direction_input() 543 if (bank->is_input) in microchip_sgpio_direction_output() 555 return bank->is_input ? GPIO_LINE_DIRECTION_IN : GPIO_LINE_DIRECTION_OUT; in microchip_sgpio_get_direction() 572 return bank->is_input ? sgpio_input_get(priv, &addr) : sgpio_output_get(priv, &addr); in microchip_sgpio_get_value() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-q.c | 585 int is_input; in qh_urb_transaction() local 604 is_input = usb_pipein (urb->pipe); in qh_urb_transaction() 644 if (is_input) in qh_urb_transaction() 669 if (is_input) in qh_urb_transaction() 769 int is_input, type; in qh_make() local 784 is_input = usb_pipein (urb->pipe); in qh_make() 810 is_input, 0, mult * maxp)); in qh_make() 840 is_input, 0, maxp) / (125 * 1000); in qh_make() 843 if (is_input) { // SPLIT, gap, CSPLIT+DATA in qh_make() 854 is_input, 0, maxp)); in qh_make() [all …]
|
H A D | oxu210hp-hcd.c | 1621 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() 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() 1811 is_input, 0, in qh_make() 1835 is_input, 0, maxp) / (125 * 1000); in qh_make() [all …]
|
H A D | ehci-sched.c | 1028 int is_input; in iso_stream_init() local 1036 is_input = usb_pipein(urb->pipe) ? USB_DIR_IN : 0; in iso_stream_init() 1038 buf1 = is_input ? 1 << 11 : 0; in iso_stream_init() 1085 dev->speed, is_input, 1, maxp)); in iso_stream_init() 1087 if (is_input) { in iso_stream_init() 1121 stream->bEndpointAddress = is_input | epnum; in iso_stream_init()
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | makemapdata.c | 77 add_key(def_name, value, is_input); in main() 86 add_key(def_name, value, is_input); in main()
|
H A D | utils.h | 16 #define is_input -1 macro
|
H A D | genmap.c | 92 } else if (this->shift == is_input) in main()
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | mcs7830.c | 762 bool is_input; in mcs7830_eth_probe() local 768 is_input = epaddr & USB_DIR_IN; in mcs7830_eth_probe() 772 if (is_input && !ep_in_found) { in mcs7830_eth_probe() 776 if (!is_input && !ep_out_found) { in mcs7830_eth_probe() 783 if (is_input && !ep_intr_found) { in mcs7830_eth_probe()
|
/openbmc/linux/include/net/ |
H A D | ioam6.h | 60 bool is_input);
|
/openbmc/u-boot/drivers/gpio/ |
H A D | omap_gpio.c | 55 int is_input) in _set_gpio_direction() argument 63 if (is_input) in _set_gpio_direction()
|
/openbmc/linux/net/ipv6/ |
H A D | ioam6.c | 637 u8 sclen, bool is_input) in __ioam6_fill_trace_data() argument 652 if (is_input) in __ioam6_fill_trace_data() 747 if (is_input) in __ioam6_fill_trace_data() 864 bool is_input) in ioam6_fill_trace_data() argument 894 __ioam6_fill_trace_data(skb, ns, trace, sc, sclen, is_input); in ioam6_fill_trace_data()
|
/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 2532 int is_input; in qh_urb_transaction() local 2551 is_input = usb_pipein(urb->pipe); in qh_urb_transaction() 2591 if (is_input) in qh_urb_transaction() 2616 if (is_input) in qh_urb_transaction() 2711 int is_input, type; in qh_make() local 2726 is_input = usb_pipein(urb->pipe); in qh_make() 2750 is_input, 0, mult * maxp)); in qh_make() 2773 is_input, 0, maxp) / (125 * 1000); in qh_make() 2776 if (is_input) { /* SPLIT, gap, CSPLIT+DATA */ in qh_make() 2787 is_input, 0, maxp)); in qh_make() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-twl4030.c | 139 static int twl4030_set_gpio_direction(int gpio, int is_input) in twl4030_set_gpio_direction() argument 149 if (is_input) in twl4030_set_gpio_direction()
|
H A D | gpio-omap.c | 110 int is_input) in omap_set_gpio_direction() argument 113 BIT(gpio), is_input); in omap_set_gpio_direction()
|
/openbmc/linux/sound/core/ |
H A D | rawmidi.c | 231 bool is_input) in __reset_runtime_ptrs() argument 235 runtime->avail = is_input ? 0 : runtime->buffer_size; in __reset_runtime_ptrs() 239 bool is_input) in reset_runtime_ptrs() argument 245 __reset_runtime_ptrs(substream->runtime, is_input); in reset_runtime_ptrs() 729 bool is_input) in resize_runtime_buffer() argument 756 __reset_runtime_ptrs(runtime, is_input); in resize_runtime_buffer()
|
/openbmc/linux/include/linux/usb/ |
H A D | hcd.h | 655 extern long usb_calc_bus_time(int speed, int is_input,
|
/openbmc/linux/drivers/usb/core/ |
H A D | hcd.c | 1073 long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount) in usb_calc_bus_time() argument 1079 if (is_input) { in usb_calc_bus_time() 1089 return ((is_input) ? 7268L : 6265L) + BW_HOST_DELAY + tmp; in usb_calc_bus_time()
|
/openbmc/linux/sound/usb/ |
H A D | mixer.c | 1845 bool is_input, char *name, int name_size) in get_connector_control_name() argument 1857 if (is_input) in get_connector_control_name() 1875 struct usb_audio_term *term, bool is_input) in build_connector_control() argument 1922 get_connector_control_name(mixer, term, is_input, kctl->id.name, in build_connector_control()
|