Home
last modified time | relevance | path

Searched refs:output_enabled (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/pinctrl/qcom/
H A Dpinctrl-spmi-mpp.c127 bool output_enabled; member
264 if (pad->input_enabled && pad->output_enabled) in pmic_mpp_write_mode_ctl()
272 if (pad->input_enabled && pad->output_enabled) in pmic_mpp_write_mode_ctl()
450 pad->output_enabled = true; in pmic_mpp_config_set()
541 seq_printf(s, " %-4s", pad->output_enabled ? "out" : "in"); in pmic_mpp_config_dbg_show()
696 pad->output_enabled = false; in pmic_mpp_populate()
701 pad->output_enabled = true; in pmic_mpp_populate()
706 pad->output_enabled = true; in pmic_mpp_populate()
711 pad->output_enabled = true; in pmic_mpp_populate()
716 pad->output_enabled = false; in pmic_mpp_populate()
[all …]
H A Dpinctrl-spmi-gpio.c163 bool output_enabled; member
335 else if (pad->output_enabled && pad->input_enabled) in pmic_gpio_set_mux()
337 else if (pad->output_enabled) in pmic_gpio_set_mux()
438 arg = pad->output_enabled; in pmic_gpio_config_get()
530 pad->output_enabled = arg ? true : false; in pmic_gpio_config_set()
533 pad->output_enabled = true; in pmic_gpio_config_set()
611 else if (pad->output_enabled && pad->input_enabled) in pmic_gpio_config_set()
613 else if (pad->output_enabled) in pmic_gpio_config_set()
704 pad->output_enabled ? "out" : "in"); in pmic_gpio_config_dbg_show()
898 pad->output_enabled = false; in pmic_gpio_populate()
[all …]
H A Dpinctrl-lpass-lpi.c229 bool value, output_enabled = false; in lpi_config_set() local
253 output_enabled = false; in lpi_config_set()
256 output_enabled = true; in lpi_config_set()
276 if (output_enabled) { in lpi_config_set()
287 u32p_replace_bits(&val, output_enabled, LPI_GPIO_OE_MASK); in lpi_config_set()
/linux/drivers/gpio/
H A Dgpio-dln2.c54 DECLARE_BITMAP(output_enabled, DLN2_GPIO_MAX_PINS);
176 clear_bit(offset, dln2->output_enabled); in dln2_gpio_request()
179 set_bit(offset, dln2->output_enabled); in dln2_gpio_request()
202 if (test_bit(offset, dln2->output_enabled)) in dln2_gpio_get_direction()
246 set_bit(offset, dln2->output_enabled); in dln2_gpio_set_direction()
248 clear_bit(offset, dln2->output_enabled); in dln2_gpio_set_direction()
H A Dgpio-ljca.c65 DECLARE_BITMAP(output_enabled, LJCA_MAX_GPIO_NUM);
170 clear_bit(offset, ljca_gpio->output_enabled); in ljca_gpio_direction_input()
187 set_bit(offset, ljca_gpio->output_enabled); in ljca_gpio_direction_output()
196 if (test_bit(offset, ljca_gpio->output_enabled)) in ljca_gpio_get_direction()