Lines Matching refs:mtk_pin_desc
56 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_request_enable()
58 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_request_enable()
69 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_set_direction()
71 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_set_direction()
83 const struct mtk_pin_desc *desc; in mtk_pinconf_get()
89 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_get()
195 const struct mtk_pin_desc *desc; in mtk_pinconf_set()
203 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_set()
324 const struct mtk_pin_desc *pin = hw->soc->pins + pin_num; in mtk_pctrl_find_function_by_pin()
342 const struct mtk_pin_desc *pin = hw->soc->pins + i; in mtk_pctrl_is_function_valid()
543 const struct mtk_pin_desc *desc; in mtk_hw_get_value_wrap()
549 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_hw_get_value_wrap()
583 const struct mtk_pin_desc *desc; in mtk_pctrl_show_one_pin()
588 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_pctrl_show_one_pin()
689 const struct mtk_pin_desc *desc; in mtk_pmx_set_mux()
703 desc = (const struct mtk_pin_desc *)&hw->soc->pins[grp->pin]; in mtk_pmx_set_mux()
766 const struct mtk_pin_desc *desc; in mtk_gpio_get_direction()
779 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_get_direction()
794 const struct mtk_pin_desc *desc; in mtk_gpio_get()
800 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_get()
812 const struct mtk_pin_desc *desc; in mtk_gpio_set()
817 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_set()
848 const struct mtk_pin_desc *desc; in mtk_gpio_to_irq()
853 desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset]; in mtk_gpio_to_irq()
865 const struct mtk_pin_desc *desc; in mtk_gpio_set_config()
868 desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset]; in mtk_gpio_set_config()
926 const struct mtk_pin_desc *pin = hw->soc->pins + i; in mtk_pctrl_build_state()