Home
last modified time | relevance | path

Searched refs:gpio_mode (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/pinctrl/
A Dpinctrl-da9062.c84 int gpio_mode, val; in da9062_gpio_get() local
88 if (gpio_mode < 0) in da9062_gpio_get()
89 return gpio_mode; in da9062_gpio_get()
91 switch (gpio_mode) { in da9062_gpio_get()
122 int gpio_mode; in da9062_gpio_get_direction() local
125 if (gpio_mode < 0) in da9062_gpio_get_direction()
126 return gpio_mode; in da9062_gpio_get_direction()
128 switch (gpio_mode) { in da9062_gpio_get_direction()
189 int gpio_mode; in da9062_gpio_set_config() local
205 if (gpio_mode < 0) in da9062_gpio_set_config()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/gpio/
A Dhw_gpio.h43 enum gpio_mode mode;
53 enum gpio_mode mode);
65 enum gpio_mode mode);
120 enum gpio_mode mode);
128 enum gpio_mode mode);
139 enum gpio_mode mode);
A Dgpio_base.c56 enum gpio_mode mode) in dal_gpio_open()
63 enum gpio_mode mode) in dal_gpio_open_ex()
104 enum gpio_mode dal_gpio_get_mode( in dal_gpio_get_mode()
124 enum gpio_mode mode) in dal_gpio_change_mode()
A Dhw_gpio.c62 enum gpio_mode mode) in dal_hw_gpio_open()
123 enum gpio_mode mode) in dal_hw_gpio_change_mode()
143 enum gpio_mode mode) in dal_hw_gpio_config_mode()
A Dgpio_service.c297 enum gpio_mode mode = gpio->mode; in dal_gpio_service_open()
537 enum gpio_mode mode, in dal_ddc_open()
596 enum gpio_mode mode) in dal_ddc_change_mode()
600 enum gpio_mode original_mode = in dal_ddc_change_mode()
/linux/arch/arm/plat-orion/
A Dmpp.c49 int shift, gpio_mode; in orion_mpp_conf() local
67 gpio_mode = 0; in orion_mpp_conf()
69 gpio_mode |= GPIO_INPUT_OK; in orion_mpp_conf()
71 gpio_mode |= GPIO_OUTPUT_OK; in orion_mpp_conf()
73 orion_gpio_set_valid(num, gpio_mode); in orion_mpp_conf()
/linux/arch/arm/mach-dove/
A Dmpp.c50 static void __init dove_mpp_gpio_mode(int start, int end, int gpio_mode) in dove_mpp_gpio_mode() argument
55 orion_gpio_set_valid(i, gpio_mode); in dove_mpp_gpio_mode()
125 int gpio_mode; in dove_mpp_conf_grp() local
139 gpio_mode = sel ? GPIO_OUTPUT_OK | GPIO_INPUT_OK : 0; in dove_mpp_conf_grp()
141 dove_mpp_grp[num].end, gpio_mode); in dove_mpp_conf_grp()
/linux/drivers/gpu/drm/amd/display/include/
A Dgpio_interface.h37 enum gpio_mode mode);
41 enum gpio_mode mode);
54 enum gpio_mode dal_gpio_get_mode(
60 enum gpio_mode mode);
A Dgpio_service_interface.h104 enum gpio_mode mode,
109 enum gpio_mode mode);
A Dgpio_types.h227 enum gpio_mode { enum
/linux/drivers/media/usb/dvb-usb-v2/
A Dmxl111sf.c307 state->gpio_mode = adap_state->gpio_mode; in mxl111sf_adap_fe_init()
442 state->gpio_mode = MXL111SF_GPIO_MOD_ATSC; in mxl111sf_lgdt3305_frontend_attach()
443 adap_state->gpio_mode = state->gpio_mode; in mxl111sf_lgdt3305_frontend_attach()
513 state->gpio_mode = MXL111SF_GPIO_MOD_MH; in mxl111sf_lg2160_frontend_attach()
514 adap_state->gpio_mode = state->gpio_mode; in mxl111sf_lg2160_frontend_attach()
598 state->gpio_mode = MXL111SF_GPIO_MOD_MH; in mxl111sf_lg2161_frontend_attach()
599 adap_state->gpio_mode = state->gpio_mode; in mxl111sf_lg2161_frontend_attach()
685 state->gpio_mode = MXL111SF_GPIO_MOD_MH; in mxl111sf_lg2161_ep6_frontend_attach()
686 adap_state->gpio_mode = state->gpio_mode; in mxl111sf_lg2161_ep6_frontend_attach()
760 state->gpio_mode = MXL111SF_GPIO_MOD_DVBT; in mxl111sf_attach_demod()
[all …]
A Dmxl111sf.h45 int gpio_mode; member
89 int gpio_mode; member
/linux/drivers/usb/serial/
A Dxr_serial.c120 u16 gpio_mode; member
160 .gpio_mode = 0x1a,
182 .gpio_mode = 0x0c,
205 .gpio_mode = 0xc0c,
225 .gpio_mode = 0x4c,
630 u16 flow, gpio_mode; in xr_set_flow_mode() local
633 ret = xr_get_reg_uart(port, type->gpio_mode, &gpio_mode); in xr_set_flow_mode()
645 gpio_mode &= ~XR_GPIO_MODE_SEL_MASK; in xr_set_flow_mode()
649 gpio_mode |= XR_GPIO_MODE_SEL_RTS_CTS; in xr_set_flow_mode()
666 xr_set_reg_uart(port, type->gpio_mode, gpio_mode); in xr_set_flow_mode()
[all …]
A Dcp210x.c498 __le16 gpio_mode; member
513 __le16 gpio_mode; member
1647 priv->gpio_pushpull = (u8)((le16_to_cpu(config.gpio_mode) & in cp2105_gpioconf_init()
1660 priv->gpio_pushpull = (u8)((le16_to_cpu(config.gpio_mode) & in cp2105_gpioconf_init()
1698 priv->gpio_pushpull = (u8)((le16_to_cpu(config.gpio_mode) & in cp2104_gpioconf_init()
/linux/sound/soc/codecs/
A Dl3.c98 gpio_set_value(adap->gpio_mode, val); in l3_set_mode()
120 ret = devm_gpio_request_one(dev, adap->gpio_mode, in l3_set_gpio_ops()
/linux/drivers/media/pci/bt8xx/
A Ddvb-bt8xx.c75 bt878_start(card->bt, card->gpio_mode, in dvb_bt8xx_start_feed()
819 card->gpio_mode = 0x0400c060; in dvb_bt8xx_probe()
827 card->gpio_mode = 0x0400C060; in dvb_bt8xx_probe()
836 card->gpio_mode = 0x0400c060; in dvb_bt8xx_probe()
843 card->gpio_mode = (1 << 26) | (1 << 14) | (1 << 5); in dvb_bt8xx_probe()
850 card->gpio_mode = 0x0400402B; in dvb_bt8xx_probe()
857 card->gpio_mode = 0x2204f2c; in dvb_bt8xx_probe()
875 card->gpio_mode = 0x0100EC7B; in dvb_bt8xx_probe()
A Ddvb-bt8xx.h40 u32 gpio_mode; member
/linux/include/sound/
A Dl3.h12 int gpio_mode; member
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
A Dgpio.h45 enum gpio_mode mode;
/linux/drivers/staging/wfx/
A Dhif_api_general.h175 u8 gpio_mode; member
/linux/drivers/pinctrl/nomadik/
A Dpinctrl-nomadik.c287 unsigned offset, int gpio_mode) in __nmk_gpio_set_mode() argument
293 if (gpio_mode & NMK_GPIO_ALT_A) in __nmk_gpio_set_mode()
295 if (gpio_mode & NMK_GPIO_ALT_B) in __nmk_gpio_set_mode()
378 unsigned offset, int gpio_mode, in __nmk_gpio_set_mode_safe() argument
394 __nmk_gpio_set_mode(nmk_chip, offset, gpio_mode); in __nmk_gpio_set_mode_safe()
/linux/arch/arm/mach-s3c/
A Dmach-mini2440.c560 .gpio_mode = S3C2410_GPB(2),
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_link.c7822 u8 gpio_port, gpio_mode; in bnx2x_sfp_e1e2_set_transmitter() local
7824 gpio_mode = MISC_REGISTERS_GPIO_OUTPUT_HIGH; in bnx2x_sfp_e1e2_set_transmitter()
7826 gpio_mode = MISC_REGISTERS_GPIO_OUTPUT_LOW; in bnx2x_sfp_e1e2_set_transmitter()
7830 bnx2x_set_gpio(bp, gpio_pin, gpio_mode, gpio_port); in bnx2x_sfp_e1e2_set_transmitter()
8529 u8 gpio_mode) in bnx2x_set_e1e2_module_fault_led() argument
8550 gpio_pin, gpio_port, gpio_mode); in bnx2x_set_e1e2_module_fault_led()
8561 u8 gpio_mode) in bnx2x_set_e3_module_fault_led() argument
8572 gpio_mode, pin_cfg); in bnx2x_set_e3_module_fault_led()
8573 bnx2x_set_cfg_pin(bp, pin_cfg, gpio_mode); in bnx2x_set_e3_module_fault_led()
8577 u8 gpio_mode) in bnx2x_set_sfp_module_fault_led() argument
[all …]
/linux/arch/arm/boot/dts/
A Dimx28-tx28.dts490 pinctrl-names = "default", "gpio_mode";

Completed in 68 milliseconds