Searched refs:mtk_pinctrl (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common-v2.h | 231 struct mtk_pinctrl; 255 int (*bias_disable_set)(struct mtk_pinctrl *hw, 257 int (*bias_disable_get)(struct mtk_pinctrl *hw, 259 int (*bias_set)(struct mtk_pinctrl *hw, 261 int (*bias_get)(struct mtk_pinctrl *hw, 264 int (*bias_set_combo)(struct mtk_pinctrl *hw, 266 int (*bias_get_combo)(struct mtk_pinctrl *hw, 269 int (*drive_set)(struct mtk_pinctrl *hw, 271 int (*drive_get)(struct mtk_pinctrl *hw, 274 int (*adv_pull_set)(struct mtk_pinctrl *hw, [all …]
|
D | pinctrl-mtk-common-v2.c | 47 static void mtk_w32(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 val) in mtk_w32() 52 static u32 mtk_r32(struct mtk_pinctrl *pctl, u8 i, u32 reg) in mtk_r32() 57 void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set) in mtk_rmw() 72 static int mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw, in mtk_hw_pin_field_lookup() 145 static int mtk_hw_pin_field_get(struct mtk_pinctrl *hw, in mtk_hw_pin_field_get() 163 static void mtk_hw_write_cross_field(struct mtk_pinctrl *hw, in mtk_hw_write_cross_field() 177 static void mtk_hw_read_cross_field(struct mtk_pinctrl *hw, in mtk_hw_read_cross_field() 192 int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_set_value() 215 int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, in mtk_hw_get_value() 235 static int mtk_xt_find_eint_num(struct mtk_pinctrl *hw, unsigned long eint_n) in mtk_xt_find_eint_num() [all …]
|
D | pinctrl-mtk-common.c | 52 static struct regmap *mtk_get_regmap(struct mtk_pinctrl *pctl, in mtk_get_regmap() 60 static unsigned int mtk_get_port(struct mtk_pinctrl *pctl, unsigned long pin) in mtk_get_port() 73 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_gpio_set_direction() 95 struct mtk_pinctrl *pctl = gpiochip_get_data(chip); in mtk_gpio_set() 108 static int mtk_pconf_set_ies_smt(struct mtk_pinctrl *pctl, unsigned pin, in mtk_pconf_set_ies_smt() 197 struct mtk_pinctrl *pctl, unsigned long pin) { in mtk_find_pin_drv_grp_by_pin() 210 static int mtk_pconf_set_driving(struct mtk_pinctrl *pctl, in mtk_pconf_set_driving() 303 static int mtk_pconf_set_pull_select(struct mtk_pinctrl *pctl, in mtk_pconf_set_pull_select() 358 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_parse_conf() 396 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pconf_group_get() [all …]
|
D | pinctrl-paris.c | 102 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_request_enable() 115 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_set_direction() 127 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_get() 253 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_set() 363 mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *hw, u32 pin) in mtk_pctrl_find_group_by_pin() 378 mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum) in mtk_pctrl_find_function_by_pin() 392 static bool mtk_pctrl_is_function_valid(struct mtk_pinctrl *hw, u32 pin_num, in mtk_pctrl_is_function_valid() 416 static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl, in mtk_pctrl_dt_node_to_map_func() 450 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_dt_subnode_to_map() 572 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pctrl_get_groups_count() [all …]
|
D | pinctrl-moore.c | 41 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_set_mux() 77 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_request_enable() 92 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinmux_gpio_set_direction() 106 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_get() 223 struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); in mtk_pinconf_set() 443 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_get() 460 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set() 487 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_to_irq() 504 struct mtk_pinctrl *hw = gpiochip_get_data(chip); in mtk_gpio_set_config() 522 static int mtk_build_gpiochip(struct mtk_pinctrl *hw) in mtk_build_gpiochip() [all …]
|
D | pinctrl-paris.h | 62 ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw,
|
D | pinctrl-mtk-common.h | 276 struct mtk_pinctrl { struct
|
D | pinctrl-mt7623.c | 1404 struct mtk_pinctrl *hw = platform_get_drvdata(pdev); in mt7623_bonding_disable()
|