Searched refs:mtk_pinctrl (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 61 static struct regmap *mtk_get_regmap(struct mtk_pinctrl *pctl, in mtk_get_regmap() 69 static unsigned int mtk_get_port(struct mtk_pinctrl *pctl, unsigned long pin) in mtk_get_port() 82 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_gpio_set_direction() 104 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_set() 117 static int mtk_pconf_set_ies_smt(struct mtk_pinctrl *pctl, unsigned pin, in mtk_pconf_set_ies_smt() 189 struct mtk_pinctrl *pctl, unsigned long pin) { in mtk_find_pin_drv_grp_by_pin() 202 static int mtk_pconf_set_driving(struct mtk_pinctrl *pctl, in mtk_pconf_set_driving() 293 static int mtk_pconf_set_pull_select(struct mtk_pinctrl *pctl, in mtk_pconf_set_pull_select() 347 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_parse_conf() 385 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_get() [all …]
|
D | pinctrl-mt7622.c | 132 struct mtk_pinctrl { struct 939 static void mtk_w32(struct mtk_pinctrl *pctl, u32 reg, u32 val) in mtk_w32() 944 static u32 mtk_r32(struct mtk_pinctrl *pctl, u32 reg) in mtk_r32() 949 static void mtk_rmw(struct mtk_pinctrl *pctl, u32 reg, u32 mask, u32 set) in mtk_rmw() 959 static int mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw, int pin, in mtk_hw_pin_field_lookup() 997 static int mtk_hw_pin_field_get(struct mtk_pinctrl *hw, int pin, in mtk_hw_pin_field_get() 1023 static void mtk_hw_write_cross_field(struct mtk_pinctrl *hw, in mtk_hw_write_cross_field() 1037 static void mtk_hw_read_cross_field(struct mtk_pinctrl *hw, in mtk_hw_read_cross_field() 1050 static int mtk_hw_set_value(struct mtk_pinctrl *hw, int pin, int field, in mtk_hw_set_value() 1069 static int mtk_hw_get_value(struct mtk_pinctrl *hw, int pin, int field, in mtk_hw_get_value() [all …]
|
D | pinctrl-mtk-common.h | 267 struct mtk_pinctrl { struct
|