Lines Matching refs:intel_pinctrl

110 struct intel_community *intel_get_community(struct intel_pinctrl *pctrl, unsigned int pin)  in intel_get_community()
143 static void __iomem *intel_get_padcfg(struct intel_pinctrl *pctrl, in intel_get_padcfg()
163 static bool intel_pad_owned_by_host(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_owned_by_host()
188 static bool intel_pad_acpi_mode(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_acpi_mode()
231 static int intel_pad_locked(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_locked()
269 static bool intel_pad_is_unlocked(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_is_unlocked()
274 static bool intel_pad_usable(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_usable()
281 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_groups_count()
289 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_group_name()
298 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_group_pins()
309 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_pin_dbg_show()
366 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_functions_count()
374 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_function_name()
383 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_function_groups()
394 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_pinmux_set_mux()
486 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_gpio_request_enable()
526 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_gpio_set_direction()
548 static int intel_config_get_pull(struct intel_pinctrl *pctrl, unsigned int pin, in intel_config_get_pull()
630 static int intel_config_get_debounce(struct intel_pinctrl *pctrl, unsigned int pin, in intel_config_get_debounce()
657 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_config_get()
688 static int intel_config_set_pull(struct intel_pinctrl *pctrl, unsigned int pin, in intel_config_set_pull()
785 static int intel_config_set_debounce(struct intel_pinctrl *pctrl, in intel_config_set_debounce()
833 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_config_set()
891 static int intel_gpio_to_pin(struct intel_pinctrl *pctrl, unsigned int offset, in intel_gpio_to_pin()
934 static __maybe_unused int intel_pin_to_gpio(struct intel_pinctrl *pctrl, int pin) in intel_pin_to_gpio()
952 struct intel_pinctrl *pctrl = gpiochip_get_data(chip); in intel_gpio_get()
975 struct intel_pinctrl *pctrl = gpiochip_get_data(chip); in intel_gpio_set()
1001 struct intel_pinctrl *pctrl = gpiochip_get_data(chip); in intel_gpio_get_direction()
1054 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_irq_ack()
1075 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_irq_mask_unmask()
1129 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_irq_type()
1190 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_irq_wake()
1213 static int intel_gpio_community_irq_handler(struct intel_pinctrl *pctrl, in intel_gpio_community_irq_handler()
1248 struct intel_pinctrl *pctrl = data; in intel_gpio_irq()
1261 static void intel_gpio_irq_init(struct intel_pinctrl *pctrl) in intel_gpio_irq_init()
1283 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_irq_init_hw()
1294 static int intel_gpio_add_community_ranges(struct intel_pinctrl *pctrl, in intel_gpio_add_community_ranges()
1317 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_add_pin_ranges()
1333 static unsigned int intel_gpio_ngpio(const struct intel_pinctrl *pctrl) in intel_gpio_ngpio()
1355 static int intel_gpio_probe(struct intel_pinctrl *pctrl, int irq) in intel_gpio_probe()
1401 static int intel_pinctrl_add_padgroups_by_gpps(struct intel_pinctrl *pctrl, in intel_pinctrl_add_padgroups_by_gpps()
1441 static int intel_pinctrl_add_padgroups_by_size(struct intel_pinctrl *pctrl, in intel_pinctrl_add_padgroups_by_size()
1476 static int intel_pinctrl_pm_init(struct intel_pinctrl *pctrl) in intel_pinctrl_pm_init()
1520 static int intel_pinctrl_probe_pwm(struct intel_pinctrl *pctrl, in intel_pinctrl_probe_pwm()
1545 struct intel_pinctrl *pctrl; in intel_pinctrl_probe()
1724 static bool intel_pinctrl_should_save(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pinctrl_should_save()
1765 struct intel_pinctrl *pctrl = dev_get_drvdata(dev); in intel_pinctrl_suspend_noirq()
1822 static void intel_restore_hostown(struct intel_pinctrl *pctrl, unsigned int c, in intel_restore_hostown()
1844 static void intel_restore_intmask(struct intel_pinctrl *pctrl, unsigned int c, in intel_restore_intmask()
1855 static void intel_restore_padcfg(struct intel_pinctrl *pctrl, unsigned int pin, in intel_restore_padcfg()
1875 struct intel_pinctrl *pctrl = dev_get_drvdata(dev); in intel_pinctrl_resume_noirq()