Lines Matching defs:pctl
372 static bool sx150x_pin_is_oscio(struct sx150x_pinctrl *pctl, unsigned int pin) in sx150x_pin_is_oscio()
387 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_get_direction() local
406 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_get() local
420 static int __sx150x_gpio_set(struct sx150x_pinctrl *pctl, unsigned int offset, in __sx150x_gpio_set()
427 static int sx150x_gpio_oscio_set(struct sx150x_pinctrl *pctl, in sx150x_gpio_oscio_set()
438 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_set() local
450 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_set_multiple() local
458 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_direction_input() local
471 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_direction_output() local
489 struct sx150x_pinctrl *pctl = gpiochip_get_data(gc); in sx150x_irq_mask() local
499 struct sx150x_pinctrl *pctl = gpiochip_get_data(gc); in sx150x_irq_unmask() local
506 static void sx150x_irq_set_sense(struct sx150x_pinctrl *pctl, in sx150x_irq_set_sense()
524 struct sx150x_pinctrl *pctl = gpiochip_get_data(gc); in sx150x_irq_set_type() local
543 struct sx150x_pinctrl *pctl = (struct sx150x_pinctrl *)dev_id; in sx150x_irq_thread_fn() local
566 struct sx150x_pinctrl *pctl = gpiochip_get_data(gc); in sx150x_irq_bus_lock() local
574 struct sx150x_pinctrl *pctl = gpiochip_get_data(gc); in sx150x_irq_bus_sync_unlock() local
585 struct sx150x_pinctrl *pctl = gpiochip_get_data(gc); in sx150x_irq_print_chip() local
604 struct sx150x_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sx150x_pinconf_get() local
735 struct sx150x_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sx150x_pinconf_set() local
866 static int sx150x_reset(struct sx150x_pinctrl *pctl) in sx150x_reset()
882 static int sx150x_init_misc(struct sx150x_pinctrl *pctl) in sx150x_init_misc()
914 static int sx150x_init_hw(struct sx150x_pinctrl *pctl) in sx150x_init_hw()
938 static int sx150x_regmap_reg_width(struct sx150x_pinctrl *pctl, in sx150x_regmap_reg_width()
967 static unsigned int sx150x_maybe_swizzle(struct sx150x_pinctrl *pctl, in sx150x_maybe_swizzle()
1023 struct sx150x_pinctrl *pctl = context; in sx150x_regmap_reg_read() local
1076 struct sx150x_pinctrl *pctl = context; in sx150x_regmap_reg_write() local
1099 struct sx150x_pinctrl *pctl = i2c_get_clientdata(to_i2c_client(dev)); in sx150x_reg_volatile() local
1123 struct sx150x_pinctrl *pctl; in sx150x_probe() local