Lines Matching refs:mtk_pin_desc
108 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_request_enable()
110 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_request_enable()
121 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_set_direction()
123 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_set_direction()
135 const struct mtk_pin_desc *desc; in mtk_pinconf_get()
140 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_get()
262 const struct mtk_pin_desc *desc; in mtk_pinconf_set()
269 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_set()
371 const struct mtk_pin_desc *pin = hw->soc->pins + pin_num; in mtk_pctrl_find_function_by_pin()
389 const struct mtk_pin_desc *pin = hw->soc->pins + i; in mtk_pctrl_is_function_valid()
588 const struct mtk_pin_desc *desc; in mtk_hw_get_value_wrap()
594 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_hw_get_value_wrap()
628 const struct mtk_pin_desc *desc; in mtk_pctrl_show_one_pin()
637 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_pctrl_show_one_pin()
751 const struct mtk_pin_desc *desc; in mtk_pmx_set_mux()
765 desc = (const struct mtk_pin_desc *)&hw->soc->pins[grp->pin]; in mtk_pmx_set_mux()
840 const struct mtk_pin_desc *desc; in mtk_gpio_get_direction()
853 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_get_direction()
868 const struct mtk_pin_desc *desc; in mtk_gpio_get()
874 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_get()
886 const struct mtk_pin_desc *desc; in mtk_gpio_set()
891 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_set()
922 const struct mtk_pin_desc *desc; in mtk_gpio_to_irq()
927 desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset]; in mtk_gpio_to_irq()
939 const struct mtk_pin_desc *desc; in mtk_gpio_set_config()
942 desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset]; in mtk_gpio_set_config()
998 const struct mtk_pin_desc *pin = hw->soc->pins + i; in mtk_pctrl_build_state()