mtk_pinctrl
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
static int mtk_build_gpiochip(struct mtk_pinctrl *hw)
static int mtk_build_groups(struct mtk_pinctrl *hw)
static int mtk_build_functions(struct mtk_pinctrl *hw)
struct mtk_pinctrl *hw;
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = platform_get_drvdata(pdev);
int mtk_pinconf_drive_set(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_get(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_get_raw(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_drive_set_raw(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_drive_get_raw(struct mtk_pinctrl *hw,
static int mtk_hw_pin_field_get(struct mtk_pinctrl *hw,
static void mtk_hw_write_cross_field(struct mtk_pinctrl *hw,
static void mtk_hw_read_cross_field(struct mtk_pinctrl *hw,
int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
static int mtk_xt_find_eint_num(struct mtk_pinctrl *hw, unsigned long eint_n)
bool mtk_is_virt_gpio(struct mtk_pinctrl *hw, unsigned int gpio_n)
struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data;
struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data;
struct mtk_pinctrl *hw = (struct mtk_pinctrl *)data;
int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev)
int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw,
static void mtk_w32(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 val)
int mtk_pinconf_bias_set(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_get(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw,
static u32 mtk_r32(struct mtk_pinctrl *pctl, u8 i, u32 reg)
int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw,
void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set)
static int mtk_pinconf_bias_set_pu_pd(struct mtk_pinctrl *hw,
static int mtk_pinconf_bias_set_pullsel_pullen(struct mtk_pinctrl *hw,
static int mtk_pinconf_bias_set_pupd_r1_r0(struct mtk_pinctrl *hw,
static int mtk_hw_pin_rsel_lookup(struct mtk_pinctrl *hw,
static int mtk_hw_pin_field_lookup(struct mtk_pinctrl *hw,
static int mtk_pinconf_bias_set_rsel(struct mtk_pinctrl *hw,
static int mtk_pinconf_bias_set_pu_pd_rsel(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw,
static int mtk_rsel_get_si_unit(struct mtk_pinctrl *hw,
static int mtk_pinconf_bias_get_pu_pd_rsel(struct mtk_pinctrl *hw,
static int mtk_pinconf_bias_get_pu_pd(struct mtk_pinctrl *hw,
static int mtk_pinconf_bias_get_pd(struct mtk_pinctrl *hw,
static int mtk_pinconf_bias_get_pullsel_pullen(struct mtk_pinctrl *hw,
static int mtk_pinconf_bias_get_pupd_r1_r0(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_get_combo(struct mtk_pinctrl *hw,
struct mtk_pinctrl;
int (*bias_disable_set)(struct mtk_pinctrl *hw,
int (*bias_disable_get)(struct mtk_pinctrl *hw,
int (*bias_set)(struct mtk_pinctrl *hw,
int (*bias_get)(struct mtk_pinctrl *hw,
int (*bias_set_combo)(struct mtk_pinctrl *hw,
int (*bias_get_combo)(struct mtk_pinctrl *hw,
int (*drive_set)(struct mtk_pinctrl *hw,
int (*drive_get)(struct mtk_pinctrl *hw,
int (*adv_pull_set)(struct mtk_pinctrl *hw,
int (*adv_pull_get)(struct mtk_pinctrl *hw,
int (*adv_drive_set)(struct mtk_pinctrl *hw,
int (*adv_drive_get)(struct mtk_pinctrl *hw,
void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set);
int mtk_hw_set_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
int mtk_hw_get_value(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc,
int mtk_build_eint(struct mtk_pinctrl *hw, struct platform_device *pdev);
int mtk_pinconf_bias_disable_set(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_disable_get(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_set(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_get(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_disable_set_rev1(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_disable_get_rev1(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_set_rev1(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_get_rev1(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw,
int mtk_pinconf_bias_get_combo(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_set(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_get(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_get_rev1(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw,
int mtk_pinconf_drive_get_raw(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_pull_get(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_drive_get(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_drive_set_raw(struct mtk_pinctrl *hw,
int mtk_pinconf_adv_drive_get_raw(struct mtk_pinctrl *hw,
bool mtk_is_virt_gpio(struct mtk_pinctrl *hw, unsigned int gpio_n);
static int mtk_eint_init(struct mtk_pinctrl *pctl, struct platform_device *pdev)
static int mtk_pconf_set_ies_smt(struct mtk_pinctrl *pctl, unsigned pin,
struct mtk_pinctrl *pctl;
struct mtk_pinctrl *pctl, unsigned long pin) {
static int mtk_pconf_set_driving(struct mtk_pinctrl *pctl,
static int mtk_pconf_set_pull_select(struct mtk_pinctrl *pctl,
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *pctl, u32 pin)
struct mtk_pinctrl *pctl, u32 pin_num, u32 fnum)
static bool mtk_pctrl_is_function_valid(struct mtk_pinctrl *pctl,
static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl,
static struct regmap *mtk_get_regmap(struct mtk_pinctrl *pctl,
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
static unsigned int mtk_get_port(struct mtk_pinctrl *pctl, unsigned long pin)
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
mtk_find_pin_by_eint_num(struct mtk_pinctrl *pctl, unsigned int eint_num)
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
static int mtk_pmx_find_gpio_mode(struct mtk_pinctrl *pctl,
struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *pctl = gpiochip_get_data(chip);
struct mtk_pinctrl *pctl = gpiochip_get_data(chip);
struct mtk_pinctrl *pctl = gpiochip_get_data(chip);
struct mtk_pinctrl *pctl = gpiochip_get_data(chip);
struct mtk_pinctrl *pctl = gpiochip_get_data(chip);
struct mtk_pinctrl *pctl = gpiochip_get_data(chip);
struct mtk_pinctrl *pctl = dev_get_drvdata(device);
struct mtk_pinctrl *pctl = dev_get_drvdata(device);
struct mtk_pinctrl *pctl = gpiochip_get_data(chip);
struct mtk_pinctrl *pctl = platform_get_drvdata(pdev);
struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data;
struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data;
struct mtk_pinctrl *pctl = (struct mtk_pinctrl *)data;
struct mtk_pinctrl *hw;
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *pctl = dev_get_drvdata(device);
struct mtk_pinctrl *pctl = dev_get_drvdata(device);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *hw, u32 pin)
mtk_pctrl_find_function_by_pin(struct mtk_pinctrl *hw, u32 pin_num, u32 fnum)
static bool mtk_pctrl_is_function_valid(struct mtk_pinctrl *hw, u32 pin_num,
static int mtk_pctrl_dt_node_to_map_func(struct mtk_pinctrl *pctl,
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
static int mtk_hw_get_value_wrap(struct mtk_pinctrl *hw, unsigned int gpio, int field)
ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw,
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = pinctrl_dev_get_drvdata(pctldev);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
struct mtk_pinctrl *hw = gpiochip_get_data(chip);
static int mtk_build_gpiochip(struct mtk_pinctrl *hw)
struct mtk_pinctrl *hw = platform_get_drvdata(pdev);
ssize_t mtk_pctrl_show_one_pin(struct mtk_pinctrl *hw,