mtk_pinctrl 41 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 75 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 88 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 100 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 215 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 433 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = gpiochip_get_data(chip); mtk_pinctrl 448 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = gpiochip_get_data(chip); mtk_pinctrl 471 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = gpiochip_get_data(chip); mtk_pinctrl 488 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw = gpiochip_get_data(chip); mtk_pinctrl 504 drivers/pinctrl/mediatek/pinctrl-moore.c static int mtk_build_gpiochip(struct mtk_pinctrl *hw, struct device_node *np) mtk_pinctrl 547 drivers/pinctrl/mediatek/pinctrl-moore.c static int mtk_build_groups(struct mtk_pinctrl *hw) mtk_pinctrl 567 drivers/pinctrl/mediatek/pinctrl-moore.c static int mtk_build_functions(struct mtk_pinctrl *hw) mtk_pinctrl 593 drivers/pinctrl/mediatek/pinctrl-moore.c struct mtk_pinctrl *hw; mtk_pinctrl 1404 drivers/pinctrl/mediatek/pinctrl-mt7623.c struct mtk_pinctrl *hw = platform_get_drvdata(pdev); mtk_pinctrl 45 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c static void mtk_w32(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 val) mtk_pinctrl 50 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c static u32 mtk_r32(struct mtk_pinctrl *pctl, u8 i, u32 reg) mtk_pinctrl 55 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set) mtk_pinctrl 65 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c static int mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw, mtk_pinctrl 128 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c static int mtk_hw_pin_field_get(struct mtk_pinctrl *hw, mtk_pinctrl 146 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c static void mtk_hw_write_cross_field(struct mtk_pinctrl *hw, mtk_pinctrl 160 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c static void mtk_hw_read_cross_field(struct mtk_pinctrl *hw, mtk_pinctrl 175 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, mtk_pinctrl 194 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, mtk_pinctrl 213 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c static int mtk_xt_find_eint_num(struct mtk_pinctrl *hw, unsigned long eint_n) mtk_pinctrl 233 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; mtk_pinctrl 250 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; mtk_pinctrl 271 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data; mtk_pinctrl 311 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev) mtk_pinctrl 352 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw, mtk_pinctrl 370 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw, mtk_pinctrl 392 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_bias_set(struct mtk_pinctrl *hw, mtk_pinctrl 411 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_bias_get(struct mtk_pinctrl *hw, mtk_pinctrl 431 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 444 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 461 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 480 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 506 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_drive_set(struct mtk_pinctrl *hw, mtk_pinctrl 534 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_drive_get(struct mtk_pinctrl *hw, mtk_pinctrl 559 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 579 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 596 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw, mtk_pinctrl 636 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw, mtk_pinctrl 678 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw, mtk_pinctrl 704 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw, mtk_pinctrl 189 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h struct mtk_pinctrl; mtk_pinctrl 210 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int (*bias_disable_set)(struct mtk_pinctrl *hw, mtk_pinctrl 212 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int (*bias_disable_get)(struct mtk_pinctrl *hw, mtk_pinctrl 214 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int (*bias_set)(struct mtk_pinctrl *hw, mtk_pinctrl 216 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int (*bias_get)(struct mtk_pinctrl *hw, mtk_pinctrl 219 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int (*drive_set)(struct mtk_pinctrl *hw, mtk_pinctrl 221 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int (*drive_get)(struct mtk_pinctrl *hw, mtk_pinctrl 224 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int (*adv_pull_set)(struct mtk_pinctrl *hw, mtk_pinctrl 227 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int (*adv_pull_get)(struct mtk_pinctrl *hw, mtk_pinctrl 230 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int (*adv_drive_set)(struct mtk_pinctrl *hw, mtk_pinctrl 232 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int (*adv_drive_get)(struct mtk_pinctrl *hw, mtk_pinctrl 251 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set); mtk_pinctrl 253 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, mtk_pinctrl 255 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, mtk_pinctrl 258 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev); mtk_pinctrl 260 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw, mtk_pinctrl 262 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw, mtk_pinctrl 264 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_bias_set(struct mtk_pinctrl *hw, mtk_pinctrl 266 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_bias_get(struct mtk_pinctrl *hw, mtk_pinctrl 270 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 272 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 275 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 277 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 281 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_drive_set(struct mtk_pinctrl *hw, mtk_pinctrl 283 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_drive_get(struct mtk_pinctrl *hw, mtk_pinctrl 286 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 288 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw, mtk_pinctrl 291 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw, mtk_pinctrl 294 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw, mtk_pinctrl 297 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw, mtk_pinctrl 299 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw, mtk_pinctrl 53 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static struct regmap *mtk_get_regmap(struct mtk_pinctrl *pctl, mtk_pinctrl 61 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static unsigned int mtk_get_port(struct mtk_pinctrl *pctl, unsigned long pin) mtk_pinctrl 74 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 96 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = gpiochip_get_data(chip); mtk_pinctrl 109 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pconf_set_ies_smt(struct mtk_pinctrl *pctl, unsigned pin, mtk_pinctrl 181 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl, unsigned long pin) { mtk_pinctrl 194 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pconf_set_driving(struct mtk_pinctrl *pctl, mtk_pinctrl 285 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pconf_set_pull_select(struct mtk_pinctrl *pctl, mtk_pinctrl 339 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 377 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 387 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 410 drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *pctl, u32 pin) mtk_pinctrl 425 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl, u32 pin_num, u32 fnum) mtk_pinctrl 439 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static bool mtk_pctrl_is_function_valid(struct mtk_pinctrl *pctl, mtk_pinctrl 464 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl, mtk_pinctrl 505 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 615 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 623 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 633 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 665 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 680 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 698 drivers/pinctrl/mediatek/pinctrl-mtk-common.c mtk_find_pin_by_eint_num(struct mtk_pinctrl *pctl, unsigned int eint_num) mtk_pinctrl 718 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 735 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_pmx_find_gpio_mode(struct mtk_pinctrl *pctl, mtk_pinctrl 755 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 798 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = gpiochip_get_data(chip); mtk_pinctrl 815 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = gpiochip_get_data(chip); mtk_pinctrl 827 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = gpiochip_get_data(chip); mtk_pinctrl 843 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = gpiochip_get_data(chip); mtk_pinctrl 877 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = dev_get_drvdata(device); mtk_pinctrl 884 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = dev_get_drvdata(device); mtk_pinctrl 896 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = platform_get_drvdata(pdev); mtk_pinctrl 930 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; mtk_pinctrl 945 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; mtk_pinctrl 957 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data; mtk_pinctrl 982 drivers/pinctrl/mediatek/pinctrl-mtk-common.c static int mtk_eint_init(struct mtk_pinctrl *pctl, struct platform_device *pdev) mtk_pinctrl 1021 drivers/pinctrl/mediatek/pinctrl-mtk-common.c struct mtk_pinctrl *pctl; mtk_pinctrl 54 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 67 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 79 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 204 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 344 drivers/pinctrl/mediatek/pinctrl-paris.c mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *hw, u32 pin) mtk_pinctrl 359 drivers/pinctrl/mediatek/pinctrl-paris.c mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum) mtk_pinctrl 373 drivers/pinctrl/mediatek/pinctrl-paris.c static bool mtk_pctrl_is_function_valid(struct mtk_pinctrl *hw, u32 pin_num, mtk_pinctrl 397 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl, mtk_pinctrl 431 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 553 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 561 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 570 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 602 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 614 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 649 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 659 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev); mtk_pinctrl 692 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = gpiochip_get_data(chip); mtk_pinctrl 707 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = gpiochip_get_data(chip); mtk_pinctrl 722 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = gpiochip_get_data(chip); mtk_pinctrl 745 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = gpiochip_get_data(chip); mtk_pinctrl 762 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = gpiochip_get_data(chip); mtk_pinctrl 778 drivers/pinctrl/mediatek/pinctrl-paris.c static int mtk_build_gpiochip(struct mtk_pinctrl *hw, struct device_node *np) mtk_pinctrl 808 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw = platform_get_drvdata(pdev); mtk_pinctrl 840 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *hw; mtk_pinctrl 932 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *pctl = dev_get_drvdata(device); mtk_pinctrl 939 drivers/pinctrl/mediatek/pinctrl-paris.c struct mtk_pinctrl *pctl = dev_get_drvdata(device);