Lines Matching refs:stm32_gpio_bank
69 container_of(chip, struct stm32_gpio_bank, range)
88 struct stm32_gpio_bank { struct
110 struct stm32_gpio_bank *banks; argument
158 static void stm32_gpio_backup_value(struct stm32_gpio_bank *bank, in stm32_gpio_backup_value()
165 static void stm32_gpio_backup_mode(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_mode()
174 static void stm32_gpio_backup_driving(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_driving()
181 static void stm32_gpio_backup_speed(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_speed()
188 static void stm32_gpio_backup_bias(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_bias()
197 static inline void __stm32_gpio_set(struct stm32_gpio_bank *bank, in __stm32_gpio_set()
210 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_request()
226 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_get()
233 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_set()
241 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_direction_output()
251 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_to_irq()
264 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_get_direction()
284 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_init_valid_mask()
322 struct stm32_gpio_bank *bank = d->domain->host_data; in stm32_gpio_irq_trigger()
344 struct stm32_gpio_bank *bank = d->domain->host_data; in stm32_gpio_set_type()
370 struct stm32_gpio_bank *bank = irq_data->domain->host_data; in stm32_gpio_irq_request_resources()
390 struct stm32_gpio_bank *bank = irq_data->domain->host_data; in stm32_gpio_irq_release_resources()
430 struct stm32_gpio_bank *bank = d->host_data; in stm32_gpio_domain_activate()
455 struct stm32_gpio_bank *bank = d->host_data; in stm32_gpio_domain_alloc()
494 struct stm32_gpio_bank *bank = d->host_data; in stm32_gpio_domain_free()
756 static int stm32_pmx_set_mode(struct stm32_gpio_bank *bank, in stm32_pmx_set_mode()
798 void stm32_pmx_get_mode(struct stm32_gpio_bank *bank, int pin, u32 *mode, in stm32_pmx_get_mode()
827 struct stm32_gpio_bank *bank; in stm32_pmx_set_mux()
854 struct stm32_gpio_bank *bank = gpiochip_get_data(range->gc); in stm32_pmx_gpio_set_direction()
891 static int stm32_pconf_set_driving(struct stm32_gpio_bank *bank, in stm32_pconf_set_driving()
926 static u32 stm32_pconf_get_driving(struct stm32_gpio_bank *bank, in stm32_pconf_get_driving()
942 static int stm32_pconf_set_speed(struct stm32_gpio_bank *bank, in stm32_pconf_set_speed()
977 static u32 stm32_pconf_get_speed(struct stm32_gpio_bank *bank, in stm32_pconf_get_speed()
993 static int stm32_pconf_set_bias(struct stm32_gpio_bank *bank, in stm32_pconf_set_bias()
1028 static u32 stm32_pconf_get_bias(struct stm32_gpio_bank *bank, in stm32_pconf_get_bias()
1044 static bool stm32_pconf_get(struct stm32_gpio_bank *bank, in stm32_pconf_get()
1070 struct stm32_gpio_bank *bank; in stm32_pconf_parse_conf()
1188 struct stm32_gpio_bank *bank; in stm32_pconf_dbg_show()
1266 struct stm32_gpio_bank *bank, in stm32_pctrl_get_desc_pin_from_gpio()
1291 struct stm32_gpio_bank *bank = &pctl->banks[pctl->nbanks]; in stm32_gpiolib_register_bank()
1616 struct stm32_gpio_bank *bank = &pctl->banks[i]; in stm32_pctl_probe()
1656 struct stm32_gpio_bank *bank = &pctl->banks[i]; in stm32_pctl_probe()
1671 struct stm32_gpio_bank *bank; in stm32_pinctrl_restore_gpio_regs()