Lines Matching refs:stm32_gpio_bank
65 container_of(chip, struct stm32_gpio_bank, range)
84 struct stm32_gpio_bank { struct
106 struct stm32_gpio_bank *banks; argument
153 static void stm32_gpio_backup_value(struct stm32_gpio_bank *bank, in stm32_gpio_backup_value()
160 static void stm32_gpio_backup_mode(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_mode()
169 static void stm32_gpio_backup_driving(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_driving()
176 static void stm32_gpio_backup_speed(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_speed()
183 static void stm32_gpio_backup_bias(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_bias()
192 static inline void __stm32_gpio_set(struct stm32_gpio_bank *bank, in __stm32_gpio_set()
209 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_request()
230 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_get_noclk()
237 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_get()
251 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_set()
264 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_direction_output()
275 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_to_irq()
288 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_get_direction()
318 struct stm32_gpio_bank *bank = d->domain->host_data; in stm32_gpio_irq_trigger()
340 struct stm32_gpio_bank *bank = d->domain->host_data; in stm32_gpio_set_type()
366 struct stm32_gpio_bank *bank = irq_data->domain->host_data; in stm32_gpio_irq_request_resources()
391 struct stm32_gpio_bank *bank = irq_data->domain->host_data; in stm32_gpio_irq_release_resources()
434 struct stm32_gpio_bank *bank = d->host_data; in stm32_gpio_domain_activate()
478 struct stm32_gpio_bank *bank = d->host_data; in stm32_gpio_domain_deactivate()
491 struct stm32_gpio_bank *bank = d->host_data; in stm32_gpio_domain_alloc()
763 static int stm32_pmx_set_mode(struct stm32_gpio_bank *bank, in stm32_pmx_set_mode()
807 void stm32_pmx_get_mode(struct stm32_gpio_bank *bank, int pin, u32 *mode, in stm32_pmx_get_mode()
838 struct stm32_gpio_bank *bank; in stm32_pmx_set_mux()
868 struct stm32_gpio_bank *bank = gpiochip_get_data(range->gc); in stm32_pmx_gpio_set_direction()
885 static int stm32_pconf_set_driving(struct stm32_gpio_bank *bank, in stm32_pconf_set_driving()
922 static u32 stm32_pconf_get_driving(struct stm32_gpio_bank *bank, in stm32_pconf_get_driving()
940 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()
995 static int stm32_pconf_set_bias(struct stm32_gpio_bank *bank, in stm32_pconf_set_bias()
1032 static u32 stm32_pconf_get_bias(struct stm32_gpio_bank *bank, in stm32_pconf_get_bias()
1050 static bool stm32_pconf_get(struct stm32_gpio_bank *bank, in stm32_pconf_get()
1078 struct stm32_gpio_bank *bank; in stm32_pconf_parse_conf()
1174 struct stm32_gpio_bank *bank; in stm32_pconf_dbg_show()
1244 struct stm32_gpio_bank *bank = &pctl->banks[pctl->nbanks]; in stm32_gpiolib_register_bank()
1568 struct stm32_gpio_bank *bank = &pctl->banks[i]; in stm32_pctl_probe()
1611 struct stm32_gpio_bank *bank; in stm32_pinctrl_restore_gpio_regs()