Lines Matching refs:rzg2l_pinctrl

272 struct rzg2l_pinctrl;
289 void (*pwpr_pfc_lock_unlock)(struct rzg2l_pinctrl *pctrl, bool lock);
290 void (*pmc_writeb)(struct rzg2l_pinctrl *pctrl, u8 val, u16 offset);
291 u32 (*oen_read)(struct rzg2l_pinctrl *pctrl, unsigned int _pin);
292 int (*oen_write)(struct rzg2l_pinctrl *pctrl, unsigned int _pin, u8 oen);
333 struct rzg2l_pinctrl { struct
361 static u64 rzg2l_pinctrl_get_variable_pin_cfg(struct rzg2l_pinctrl *pctrl, in rzg2l_pinctrl_get_variable_pin_cfg() argument
433 static void rzg2l_pmc_writeb(struct rzg2l_pinctrl *pctrl, u8 val, u16 offset) in rzg2l_pmc_writeb()
438 static void rzv2h_pmc_writeb(struct rzg2l_pinctrl *pctrl, u8 val, u16 offset) in rzv2h_pmc_writeb()
449 static void rzg2l_pinctrl_set_pfc_mode(struct rzg2l_pinctrl *pctrl, in rzg2l_pinctrl_set_pfc_mode()
486 struct rzg2l_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in rzg2l_pinctrl_set_mux()
544 struct rzg2l_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in rzg2l_dt_subnode_to_map()
728 struct rzg2l_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in rzg2l_dt_node_to_map()
762 static int rzg2l_validate_gpio_pin(struct rzg2l_pinctrl *pctrl, in rzg2l_validate_gpio_pin()
779 static u32 rzg2l_read_pin_config(struct rzg2l_pinctrl *pctrl, u32 offset, in rzg2l_read_pin_config()
793 static void rzg2l_rmw_pin_config(struct rzg2l_pinctrl *pctrl, u32 offset, in rzg2l_rmw_pin_config()
828 static int rzg2l_get_power_source(struct rzg2l_pinctrl *pctrl, u32 pin, u32 caps) in rzg2l_get_power_source()
856 static int rzg2l_set_power_source(struct rzg2l_pinctrl *pctrl, u32 pin, u32 caps, u32 ps) in rzg2l_set_power_source()
963 static bool rzg2l_ds_is_supported(struct rzg2l_pinctrl *pctrl, u32 caps, in rzg2l_ds_is_supported()
995 static int rzg2l_pin_to_oen_bit(struct rzg2l_pinctrl *pctrl, unsigned int _pin) in rzg2l_pin_to_oen_bit()
1016 static u32 rzg2l_read_oen(struct rzg2l_pinctrl *pctrl, unsigned int _pin) in rzg2l_read_oen()
1027 static int rzg2l_write_oen(struct rzg2l_pinctrl *pctrl, unsigned int _pin, u8 oen) in rzg2l_write_oen()
1049 static int rzg3s_pin_to_oen_bit(struct rzg2l_pinctrl *pctrl, unsigned int _pin) in rzg3s_pin_to_oen_bit()
1069 static u32 rzg3s_oen_read(struct rzg2l_pinctrl *pctrl, unsigned int _pin) in rzg3s_oen_read()
1080 static int rzg3s_oen_write(struct rzg2l_pinctrl *pctrl, unsigned int _pin, u8 oen) in rzg3s_oen_write()
1167 static u8 rzv2h_pin_to_oen_bit(struct rzg2l_pinctrl *pctrl, unsigned int _pin) in rzv2h_pin_to_oen_bit()
1184 static u32 rzv2h_oen_read(struct rzg2l_pinctrl *pctrl, unsigned int _pin) in rzv2h_oen_read()
1193 static int rzv2h_oen_write(struct rzg2l_pinctrl *pctrl, unsigned int _pin, u8 oen) in rzv2h_oen_write()
1222 struct rzg2l_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in rzg2l_pinctrl_pinconf_get()
1361 struct rzg2l_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in rzg2l_pinctrl_pinconf_set()
1596 struct rzg2l_pinctrl *pctrl = gpiochip_get_data(chip); in rzg2l_gpio_request()
1626 static void rzg2l_gpio_set_direction(struct rzg2l_pinctrl *pctrl, u32 offset, in rzg2l_gpio_set_direction()
1649 struct rzg2l_pinctrl *pctrl = gpiochip_get_data(chip); in rzg2l_gpio_get_direction()
1670 struct rzg2l_pinctrl *pctrl = gpiochip_get_data(chip); in rzg2l_gpio_direction_input()
1680 struct rzg2l_pinctrl *pctrl = gpiochip_get_data(chip); in rzg2l_gpio_set()
1703 struct rzg2l_pinctrl *pctrl = gpiochip_get_data(chip); in rzg2l_gpio_direction_output()
1713 struct rzg2l_pinctrl *pctrl = gpiochip_get_data(chip); in rzg2l_gpio_get()
2211 static int rzg2l_gpio_get_gpioint(unsigned int virq, struct rzg2l_pinctrl *pctrl) in rzg2l_gpio_get_gpioint()
2237 static void rzg2l_gpio_irq_endisable(struct rzg2l_pinctrl *pctrl, in rzg2l_gpio_irq_endisable()
2299 struct rzg2l_pinctrl *pctrl = container_of(gc, struct rzg2l_pinctrl, gpio_chip); in rzg2l_gpio_irq_set_wake()
2335 struct rzg2l_pinctrl *pctrl = gpiochip_get_data(chip); in rzg2l_gpio_interrupt_input_mode()
2359 struct rzg2l_pinctrl *pctrl = gpiochip_get_data(gc); in rzg2l_gpio_child_to_parent_hwirq()
2409 static void rzg2l_gpio_irq_restore(struct rzg2l_pinctrl *pctrl) in rzg2l_gpio_irq_restore()
2458 struct rzg2l_pinctrl *pctrl = container_of(gc, struct rzg2l_pinctrl, gpio_chip); in rzg2l_gpio_irq_domain_free()
2482 struct rzg2l_pinctrl *pctrl = gpiochip_get_data(gc); in rzg2l_init_irq_valid_mask()
2500 static int rzg2l_pinctrl_reg_cache_alloc(struct rzg2l_pinctrl *pctrl) in rzg2l_pinctrl_reg_cache_alloc()
2562 static int rzg2l_gpio_register(struct rzg2l_pinctrl *pctrl) in rzg2l_gpio_register()
2629 static int rzg2l_pinctrl_register(struct rzg2l_pinctrl *pctrl) in rzg2l_pinctrl_register()
2724 struct rzg2l_pinctrl *pctrl; in rzg2l_pinctrl_probe()
2774 static void rzg2l_pinctrl_pm_setup_regs(struct rzg2l_pinctrl *pctrl, bool suspend) in rzg2l_pinctrl_pm_setup_regs()
2824 static void rzg2l_pinctrl_pm_setup_dedicated_regs(struct rzg2l_pinctrl *pctrl, bool suspend) in rzg2l_pinctrl_pm_setup_dedicated_regs()
2883 static void rzg2l_pinctrl_pm_setup_pfc(struct rzg2l_pinctrl *pctrl) in rzg2l_pinctrl_pm_setup_pfc()
2938 struct rzg2l_pinctrl *pctrl = dev_get_drvdata(dev); in rzg2l_pinctrl_suspend_noirq()
2966 struct rzg2l_pinctrl *pctrl = dev_get_drvdata(dev); in rzg2l_pinctrl_resume_noirq()
2995 static void rzg2l_pwpr_pfc_lock_unlock(struct rzg2l_pinctrl *pctrl, bool lock) in rzg2l_pwpr_pfc_lock_unlock()
3010 static void rzv2h_pwpr_pfc_lock_unlock(struct rzg2l_pinctrl *pctrl, bool lock) in rzv2h_pwpr_pfc_lock_unlock()