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()
190 const struct mtk_pin_desc *desc; in mtk_pinconf_set()
198 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_set()
319 const struct mtk_pin_desc *pin = hw->soc->pins + pin_num; in mtk_pctrl_find_function_by_pin()
337 const struct mtk_pin_desc *pin = hw->soc->pins + i; in mtk_pctrl_is_function_valid()
538 const struct mtk_pin_desc *desc; in mtk_hw_get_value_wrap()
544 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_hw_get_value_wrap()
578 const struct mtk_pin_desc *desc; in mtk_pctrl_show_one_pin()
586 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_pctrl_show_one_pin()
687 const struct mtk_pin_desc *desc; in mtk_pmx_set_mux()
701 desc = (const struct mtk_pin_desc *)&hw->soc->pins[grp->pin]; in mtk_pmx_set_mux()
762 const struct mtk_pin_desc *desc; in mtk_gpio_get_direction()
775 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_get_direction()
790 const struct mtk_pin_desc *desc; in mtk_gpio_get()
796 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_get()
808 const struct mtk_pin_desc *desc; in mtk_gpio_set()
813 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_set()
844 const struct mtk_pin_desc *desc; in mtk_gpio_to_irq()
849 desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset]; in mtk_gpio_to_irq()
861 const struct mtk_pin_desc *desc; in mtk_gpio_set_config()
864 desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset]; in mtk_gpio_set_config()
922 const struct mtk_pin_desc *pin = hw->soc->pins + i; in mtk_pctrl_build_state()