Home
last modified time | relevance | path

Searched refs:mtk_pin_desc (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common-v2.h175 struct mtk_pin_desc { struct
194 const struct mtk_pin_desc *pins; argument
211 const struct mtk_pin_desc *desc);
213 const struct mtk_pin_desc *desc, int *res);
215 const struct mtk_pin_desc *desc, bool pullup);
217 const struct mtk_pin_desc *desc, bool pullup, int *res);
220 const struct mtk_pin_desc *desc, u32 arg);
222 const struct mtk_pin_desc *desc, int *val);
225 const struct mtk_pin_desc *desc, bool pullup,
228 const struct mtk_pin_desc *desc, bool pullup,
[all …]
Dpinctrl-mtk-common-v2.c66 const struct mtk_pin_desc *desc, in mtk_hw_pin_field_lookup()
129 const struct mtk_pin_desc *desc, in mtk_hw_pin_field_get()
175 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_set_value()
194 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_get_value()
215 const struct mtk_pin_desc *desc; in mtk_xt_find_eint_num()
218 desc = (const struct mtk_pin_desc *)hw->soc->pins; in mtk_xt_find_eint_num()
234 const struct mtk_pin_desc *desc; in mtk_xt_get_gpio_n()
236 desc = (const struct mtk_pin_desc *)hw->soc->pins; in mtk_xt_get_gpio_n()
251 const struct mtk_pin_desc *desc; in mtk_xt_get_gpio_state()
260 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio_n]; in mtk_xt_get_gpio_state()
[all …]
Dpinctrl-moore.c58 const struct mtk_pin_desc *desc; in mtk_pinmux_set_mux()
62 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_set_mux()
76 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_request_enable()
78 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_request_enable()
89 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_set_direction()
91 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_set_direction()
103 const struct mtk_pin_desc *desc; in mtk_pinconf_get()
105 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_get()
216 const struct mtk_pin_desc *desc; in mtk_pinconf_set()
220 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_set()
[all …]
Dpinctrl-paris.c55 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_request_enable()
57 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_request_enable()
68 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_set_direction()
70 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_set_direction()
82 const struct mtk_pin_desc *desc; in mtk_pinconf_get()
84 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_get()
205 const struct mtk_pin_desc *desc; in mtk_pinconf_set()
209 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_set()
361 const struct mtk_pin_desc *pin = hw->soc->pins + pin_num; in mtk_pctrl_find_function_by_pin()
379 const struct mtk_pin_desc *pin = hw->soc->pins + i; in mtk_pctrl_is_function_valid()
[all …]
Dpinctrl-mt7629.c114 static const struct mtk_pin_desc mt7629_pins[] = {
Dpinctrl-mt7622.c155 static const struct mtk_pin_desc mt7622_pins[] = {
Dpinctrl-mtk-mt6765.h14 static struct mtk_pin_desc mtk_pins_mt6765[] = {
Dpinctrl-mtk-mt8183.h14 static struct mtk_pin_desc mtk_pins_mt8183[] = {
Dpinctrl-mt7623.c416 static const struct mtk_pin_desc mt7623_pins[] = {
Dpinctrl-mtk-mt6797.h17 static const struct mtk_pin_desc mtk_pins_mt6797[] = {