Searched refs:gpio_info (Results 1 – 3 of 3) sorted by relevance
93 struct mt_pin_info gpio_info; in mt_gpio_find_reg_addr() local95 gpio_info = mt8192_pin_infos[pin]; in mt_gpio_find_reg_addr()97 switch (gpio_info.base & 0x0f) { in mt_gpio_find_reg_addr()137 struct mt_pin_info gpio_info; in mt_gpio_set_spec_pull_pupd() local139 gpio_info = mt8192_pin_infos[pin]; in mt_gpio_set_spec_pull_pupd()140 uint32_t bit = gpio_info.bit; in mt_gpio_set_spec_pull_pupd()142 reg1 = mt_gpio_find_reg_addr(pin) + gpio_info.offset; in mt_gpio_set_spec_pull_pupd()143 reg2 = reg1 + (gpio_info.base & 0xf0); in mt_gpio_set_spec_pull_pupd()162 struct mt_pin_info gpio_info; in mt_gpio_set_pull_pu_pd() local164 gpio_info = mt8192_pin_infos[pin]; in mt_gpio_set_pull_pu_pd()[all …]
89 typedef struct gpio_info { struct102 struct gpio_info info[PMIC_GPIO_MAX_NUMBER]; argument
804 unsigned struct_gpio_info_sz = sizeof(gpio_info);