Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/
H A Dpinctrl-microchip-sgpio.c110 bool is_input; member
364 val = bank->is_input; in sgpio_pinconf_get()
368 val = !bank->is_input; in sgpio_pinconf_get()
372 if (bank->is_input) in sgpio_pinconf_get()
403 if (bank->is_input) in sgpio_pinconf_set()
457 return (input == bank->is_input) ? 0 : -EINVAL; in sgpio_gpio_set_direction()
529 return bank->is_input ? 0 : -EINVAL; in microchip_sgpio_direction_input()
540 if (bank->is_input) in microchip_sgpio_direction_output()
552 return bank->is_input ? GPIO_LINE_DIRECTION_IN : GPIO_LINE_DIRECTION_OUT; in microchip_sgpio_get_direction()
569 return bank->is_input ? sgpio_input_get(priv, &addr) : sgpio_output_get(priv, &addr); in microchip_sgpio_get_value()
[all …]
H A Dpinctrl-rp1.c745 static void rp1_set_dir(struct rp1_pin_info *pin, bool is_input) in rp1_set_dir() argument
747 int reg = is_input ? RP1_RIO_OE_CLR : RP1_RIO_OE_SET; in rp1_set_dir()
/linux/drivers/accessibility/speakup/
H A Dmakemapdata.c76 add_key(def_name, value, is_input); in main()
85 add_key(def_name, value, is_input); in main()
H A Dutils.h16 #define is_input -1 macro
H A Dgenmap.c91 } else if (this->shift == is_input) in main()
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-dai-i2s.c281 bool is_input, unsigned int rate, in mt8365_dai_set_config() argument
296 if (is_input) { in mt8365_dai_set_config()
323 if (i2s_data->adda_link && is_input) in mt8365_dai_set_config()
496 bool is_input, bool enable)
500 if (is_input) { in mt8365_dai_set_enable()
499 mt8365_dai_set_enable(struct mtk_base_afe * afe,struct mtk_afe_i2s_priv * i2s_data,bool is_input,bool enable) mt8365_dai_set_enable() argument
/linux/include/net/
H A Dioam6.h61 bool is_input);
/linux/drivers/media/cec/usb/extron-da-hd-4k-plus/
H A Dextron-da-hd-4k-plus.h45 bool is_input; member
/linux/drivers/usb/host/
H A Doxu210hp-hcd.c1597 int is_input; in qh_urb_transaction() local
1616 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
1617 if (!urb->transfer_buffer && urb->transfer_buffer_length && is_input) in qh_urb_transaction()
1657 if (!is_input) in qh_urb_transaction()
1660 if (is_input) in qh_urb_transaction()
1679 if (is_input) in qh_urb_transaction()
1761 int is_input, type; in qh_make() local
1773 is_input = usb_pipein(urb->pipe); in qh_make()
1787 is_input, 0, in qh_make()
1811 is_input, 0, maxp) / (125 * 1000); in qh_make()
[all …]
H A 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()
/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c2528 int is_input; in qh_urb_transaction() local
2547 is_input = usb_pipein(urb->pipe); in qh_urb_transaction()
2587 if (is_input) in qh_urb_transaction()
2612 if (is_input) in qh_urb_transaction()
2707 int is_input, type; in qh_make() local
2722 is_input = usb_pipein(urb->pipe); in qh_make()
2746 is_input, 0, mult * maxp)); in qh_make()
2769 is_input, 0, maxp) / (125 * 1000); in qh_make()
2772 if (is_input) { /* SPLIT, gap, CSPLIT+DATA */ in qh_make()
2783 is_input, 0, maxp)); in qh_make()
[all …]
/linux/sound/core/
H A Drawmidi.c226 bool is_input) in __reset_runtime_ptrs() argument
230 runtime->avail = is_input ? 0 : runtime->buffer_size; in __reset_runtime_ptrs()
234 bool is_input) in reset_runtime_ptrs() argument
238 __reset_runtime_ptrs(substream->runtime, is_input); in reset_runtime_ptrs()
712 bool is_input) in resize_runtime_buffer() argument
739 __reset_runtime_ptrs(runtime, is_input); in resize_runtime_buffer()
/linux/sound/usb/
H A Dmixer.c2042 bool is_input, char *name, int name_size) in get_connector_control_name() argument
2056 if (is_input) in get_connector_control_name()
2074 struct usb_audio_term *term, bool is_input) in build_connector_control() argument
2121 get_connector_control_name(mixer, term, is_input, kctl->id.name, in build_connector_control()
/linux/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.c2067 bool is_input = bank->pin_backup[offset].advcfg & STM32_GPIO_ADVCFGR_DLYPATH_MASK; in stm32_pinctrl_restore_gpio_regs() local
2071 is_input); in stm32_pinctrl_restore_gpio_regs()