Lines Matching refs:mtk_pin_desc
103 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_request_enable()
105 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_request_enable()
116 const struct mtk_pin_desc *desc; in mtk_pinmux_gpio_set_direction()
118 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_set_direction()
130 const struct mtk_pin_desc *desc; in mtk_pinconf_get()
135 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_get()
254 const struct mtk_pin_desc *desc; in mtk_pinconf_set()
261 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_set()
380 const struct mtk_pin_desc *pin = hw->soc->pins + pin_num; in mtk_pctrl_find_function_by_pin()
398 const struct mtk_pin_desc *pin = hw->soc->pins + i; in mtk_pctrl_is_function_valid()
599 const struct mtk_pin_desc *desc; in mtk_hw_get_value_wrap()
605 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_hw_get_value_wrap()
639 const struct mtk_pin_desc *desc; in mtk_pctrl_show_one_pin()
648 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_pctrl_show_one_pin()
762 const struct mtk_pin_desc *desc; in mtk_pmx_set_mux()
776 desc = (const struct mtk_pin_desc *)&hw->soc->pins[grp->pin]; in mtk_pmx_set_mux()
853 const struct mtk_pin_desc *desc; in mtk_gpio_get_direction()
866 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_get_direction()
881 const struct mtk_pin_desc *desc; in mtk_gpio_get()
887 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_get()
899 const struct mtk_pin_desc *desc; in mtk_gpio_set()
904 desc = (const struct mtk_pin_desc *)&hw->soc->pins[gpio]; in mtk_gpio_set()
935 const struct mtk_pin_desc *desc; in mtk_gpio_to_irq()
940 desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset]; in mtk_gpio_to_irq()
952 const struct mtk_pin_desc *desc; in mtk_gpio_set_config()
955 desc = (const struct mtk_pin_desc *)&hw->soc->pins[offset]; in mtk_gpio_set_config()
1012 const struct mtk_pin_desc *pin = hw->soc->pins + i; in mtk_pctrl_build_state()