Lines Matching refs:cy8c95x0_pinctrl

151 struct cy8c95x0_pinctrl {  struct
313 static int cy8c95x0_pinmux_direction(struct cy8c95x0_pinctrl *chip,
316 static inline u8 cypress_get_port(struct cy8c95x0_pinctrl *chip, unsigned int pin) in cypress_get_port()
322 static int cypress_get_pin_mask(struct cy8c95x0_pinctrl *chip, unsigned int pin) in cypress_get_pin_mask()
472 static inline int cy8c95x0_regmap_update_bits_base(struct cy8c95x0_pinctrl *chip, in cy8c95x0_regmap_update_bits_base()
539 static int cy8c95x0_regmap_write_bits(struct cy8c95x0_pinctrl *chip, unsigned int reg, in cy8c95x0_regmap_write_bits()
563 static int cy8c95x0_regmap_update_bits(struct cy8c95x0_pinctrl *chip, unsigned int reg, in cy8c95x0_regmap_update_bits()
585 static int cy8c95x0_regmap_read(struct cy8c95x0_pinctrl *chip, unsigned int reg, in cy8c95x0_regmap_read()
607 static int cy8c95x0_write_regs_mask(struct cy8c95x0_pinctrl *chip, int reg, in cy8c95x0_write_regs_mask()
643 static int cy8c95x0_read_regs_mask(struct cy8c95x0_pinctrl *chip, int reg, in cy8c95x0_read_regs_mask()
694 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_gpio_direction_output()
709 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_gpio_get_value()
732 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_gpio_set_value()
741 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_gpio_get_direction()
757 static int cy8c95x0_gpio_get_pincfg(struct cy8c95x0_pinctrl *chip, in cy8c95x0_gpio_get_pincfg()
835 static int cy8c95x0_gpio_set_pincfg(struct cy8c95x0_pinctrl *chip, in cy8c95x0_gpio_set_pincfg()
890 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_gpio_get_multiple()
898 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_gpio_set_multiple()
905 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_add_pin_ranges()
916 static int cy8c95x0_setup_gpiochip(struct cy8c95x0_pinctrl *chip) in cy8c95x0_setup_gpiochip()
948 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_irq_mask()
958 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_irq_unmask()
968 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_irq_bus_lock()
976 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_irq_bus_sync_unlock()
999 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_irq_set_type()
1031 struct cy8c95x0_pinctrl *chip = gpiochip_get_data(gc); in cy8c95x0_irq_shutdown()
1052 static bool cy8c95x0_irq_pending(struct cy8c95x0_pinctrl *chip, unsigned long *pending) in cy8c95x0_irq_pending()
1080 struct cy8c95x0_pinctrl *chip = devid; in cy8c95x0_irq_handler()
1117 struct cy8c95x0_pinctrl *chip = pinctrl_dev_get_drvdata(pctldev); in cy8c95x0_pinctrl_get_groups_count()
1149 struct cy8c95x0_pinctrl *chip = pinctrl_dev_get_drvdata(pctldev); in cy8c95x0_pin_dbg_show()
1189 struct cy8c95x0_pinctrl *chip = pinctrl_dev_get_drvdata(pctldev); in cy8c95x0_get_function_groups()
1196 static int cy8c95x0_set_mode(struct cy8c95x0_pinctrl *chip, unsigned int off, bool mode) in cy8c95x0_set_mode()
1204 static int cy8c95x0_pinmux_mode(struct cy8c95x0_pinctrl *chip, in cy8c95x0_pinmux_mode()
1229 struct cy8c95x0_pinctrl *chip = pinctrl_dev_get_drvdata(pctldev); in cy8c95x0_set_mux()
1238 struct cy8c95x0_pinctrl *chip = pinctrl_dev_get_drvdata(pctldev); in cy8c95x0_gpio_request_enable()
1243 static int cy8c95x0_pinmux_direction(struct cy8c95x0_pinctrl *chip, in cy8c95x0_pinmux_direction()
1273 struct cy8c95x0_pinctrl *chip = pinctrl_dev_get_drvdata(pctldev); in cy8c95x0_gpio_set_direction()
1291 struct cy8c95x0_pinctrl *chip = pinctrl_dev_get_drvdata(pctldev); in cy8c95x0_pinconf_get()
1299 struct cy8c95x0_pinctrl *chip = pinctrl_dev_get_drvdata(pctldev); in cy8c95x0_pinconf_set()
1318 static int cy8c95x0_irq_setup(struct cy8c95x0_pinctrl *chip, int irq) in cy8c95x0_irq_setup()
1361 static int cy8c95x0_setup_pinctrl(struct cy8c95x0_pinctrl *chip) in cy8c95x0_setup_pinctrl()
1417 struct cy8c95x0_pinctrl *chip; in cy8c95x0_probe()