Lines Matching full:pctrl

117 #define for_each_intel_pin_community(pctrl, community)					\  argument
119 __ci < pctrl->ncommunities && (community = &pctrl->communities[__ci]); \
127 #define for_each_intel_pad_group(pctrl, community, grp) \ argument
128 for_each_intel_pin_community(pctrl, community) \
131 #define for_each_intel_gpio_group(pctrl, community, grp) \ argument
132 for_each_intel_pad_group(pctrl, community, grp) \
135 const struct intel_community *intel_get_community(const struct intel_pinctrl *pctrl, in intel_get_community() argument
140 for_each_intel_pin_community(pctrl, community) { in intel_get_community()
146 dev_warn(pctrl->dev, "failed to find community for pin %u\n", pin); in intel_get_community()
165 static void __iomem *intel_get_padcfg(struct intel_pinctrl *pctrl, in intel_get_padcfg() argument
172 community = intel_get_community(pctrl, pin); in intel_get_padcfg()
185 static bool intel_pad_owned_by_host(const struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_owned_by_host() argument
192 community = intel_get_community(pctrl, pin); in intel_pad_owned_by_host()
210 static bool intel_pad_acpi_mode(const struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_acpi_mode() argument
217 community = intel_get_community(pctrl, pin); in intel_pad_acpi_mode()
252 static int intel_pad_locked(const struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_locked() argument
260 community = intel_get_community(pctrl, pin); in intel_pad_locked()
290 static bool intel_pad_is_unlocked(const struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_is_unlocked() argument
292 return (intel_pad_locked(pctrl, pin) & PAD_LOCKED) == PAD_UNLOCKED; in intel_pad_is_unlocked()
295 static bool intel_pad_usable(const struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_usable() argument
297 return intel_pad_owned_by_host(pctrl, pin) && intel_pad_is_unlocked(pctrl, pin); in intel_pad_usable()
302 const struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_groups_count() local
304 return pctrl->soc->ngroups; in intel_get_groups_count()
310 const struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_group_name() local
312 return pctrl->soc->groups[group].grp.name; in intel_get_group_name()
319 const struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_group_pins() local
321 *pins = pctrl->soc->groups[group].grp.pins; in intel_get_group_pins()
322 *npins = pctrl->soc->groups[group].grp.npins; in intel_get_group_pins()
330 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_pin_dbg_show() local
336 if (!intel_pad_owned_by_host(pctrl, pin)) { in intel_pin_dbg_show()
341 cfg0 = readl(intel_get_padcfg(pctrl, pin, PADCFG0)); in intel_pin_dbg_show()
342 cfg1 = readl(intel_get_padcfg(pctrl, pin, PADCFG1)); in intel_pin_dbg_show()
353 padcfg = intel_get_padcfg(pctrl, pin, PADCFG2); in intel_pin_dbg_show()
357 locked = intel_pad_locked(pctrl, pin); in intel_pin_dbg_show()
358 acpi = intel_pad_acpi_mode(pctrl, pin); in intel_pin_dbg_show()
387 const struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_functions_count() local
389 return pctrl->soc->nfunctions; in intel_get_functions_count()
395 const struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_function_name() local
397 return pctrl->soc->functions[function].func.name; in intel_get_function_name()
404 const struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_get_function_groups() local
406 *groups = pctrl->soc->functions[function].func.groups; in intel_get_function_groups()
407 *ngroups = pctrl->soc->functions[function].func.ngroups; in intel_get_function_groups()
415 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_pinmux_set_mux() local
416 const struct intel_pingroup *grp = &pctrl->soc->groups[group]; in intel_pinmux_set_mux()
419 guard(raw_spinlock_irqsave)(&pctrl->lock); in intel_pinmux_set_mux()
426 if (!intel_pad_usable(pctrl, grp->grp.pins[i])) in intel_pinmux_set_mux()
435 padcfg0 = intel_get_padcfg(pctrl, grp->grp.pins[i], PADCFG0); in intel_pinmux_set_mux()
531 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_gpio_request_enable() local
534 padcfg0 = intel_get_padcfg(pctrl, pin, PADCFG0); in intel_gpio_request_enable()
536 guard(raw_spinlock_irqsave)(&pctrl->lock); in intel_gpio_request_enable()
538 if (!intel_pad_owned_by_host(pctrl, pin)) in intel_gpio_request_enable()
541 if (!intel_pad_is_unlocked(pctrl, pin)) in intel_gpio_request_enable()
562 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_gpio_set_direction() local
566 padcfg0 = intel_get_padcfg(pctrl, pin, PADCFG0); in intel_gpio_set_direction()
568 guard(raw_spinlock_irqsave)(&pctrl->lock); in intel_gpio_set_direction()
589 static int intel_config_get_pull(struct intel_pinctrl *pctrl, unsigned int pin, in intel_config_get_pull() argument
595 padcfg1 = intel_get_padcfg(pctrl, pin, PADCFG1); in intel_config_get_pull()
597 scoped_guard(raw_spinlock_irqsave, &pctrl->lock) in intel_config_get_pull()
633 const struct intel_community *community = intel_get_community(pctrl, pin); in intel_config_get_pull()
670 static int intel_config_get_high_impedance(struct intel_pinctrl *pctrl, unsigned int pin, in intel_config_get_high_impedance() argument
676 padcfg0 = intel_get_padcfg(pctrl, pin, PADCFG0); in intel_config_get_high_impedance()
678 scoped_guard(raw_spinlock_irqsave, &pctrl->lock) in intel_config_get_high_impedance()
687 static int intel_config_get_debounce(struct intel_pinctrl *pctrl, unsigned int pin, in intel_config_get_debounce() argument
694 padcfg2 = intel_get_padcfg(pctrl, pin, PADCFG2); in intel_config_get_debounce()
698 scoped_guard(raw_spinlock_irqsave, &pctrl->lock) in intel_config_get_debounce()
713 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_config_get() local
718 if (!intel_pad_owned_by_host(pctrl, pin)) in intel_config_get()
725 ret = intel_config_get_pull(pctrl, pin, param, &arg); in intel_config_get()
731 ret = intel_config_get_high_impedance(pctrl, pin, param, &arg); in intel_config_get()
737 ret = intel_config_get_debounce(pctrl, pin, param, &arg); in intel_config_get()
750 static int intel_config_set_pull(struct intel_pinctrl *pctrl, unsigned int pin, in intel_config_set_pull() argument
788 const struct intel_community *community = intel_get_community(pctrl, pin); in intel_config_set_pull()
822 padcfg1 = intel_get_padcfg(pctrl, pin, PADCFG1); in intel_config_set_pull()
824 guard(raw_spinlock_irqsave)(&pctrl->lock); in intel_config_set_pull()
834 static void intel_gpio_set_high_impedance(struct intel_pinctrl *pctrl, unsigned int pin) in intel_gpio_set_high_impedance() argument
839 padcfg0 = intel_get_padcfg(pctrl, pin, PADCFG0); in intel_gpio_set_high_impedance()
841 guard(raw_spinlock_irqsave)(&pctrl->lock); in intel_gpio_set_high_impedance()
848 static int intel_config_set_debounce(struct intel_pinctrl *pctrl, in intel_config_set_debounce() argument
863 padcfg2 = intel_get_padcfg(pctrl, pin, PADCFG2); in intel_config_set_debounce()
867 padcfg0 = intel_get_padcfg(pctrl, pin, PADCFG0); in intel_config_set_debounce()
869 guard(raw_spinlock_irqsave)(&pctrl->lock); in intel_config_set_debounce()
894 struct intel_pinctrl *pctrl = pinctrl_dev_get_drvdata(pctldev); in intel_config_set() local
897 if (!intel_pad_usable(pctrl, pin)) in intel_config_set()
905 ret = intel_config_set_pull(pctrl, pin, configs[i]); in intel_config_set()
911 intel_gpio_set_high_impedance(pctrl, pin); in intel_config_set()
915 ret = intel_config_set_debounce(pctrl, pin, in intel_config_set()
944 * @pctrl: Pinctrl structure
956 static int intel_gpio_to_pin(const struct intel_pinctrl *pctrl, unsigned int offset, in intel_gpio_to_pin() argument
963 for_each_intel_gpio_group(pctrl, comm, grp) { in intel_gpio_to_pin()
979 * @pctrl: Pinctrl structure
986 static int intel_pin_to_gpio(const struct intel_pinctrl *pctrl, int pin) in intel_pin_to_gpio() argument
991 community = intel_get_community(pctrl, pin); in intel_pin_to_gpio()
1004 struct intel_pinctrl *pctrl = gpiochip_get_data(chip); in intel_gpio_get() local
1009 pin = intel_gpio_to_pin(pctrl, offset, NULL, NULL); in intel_gpio_get()
1013 reg = intel_get_padcfg(pctrl, pin, PADCFG0); in intel_gpio_get()
1027 struct intel_pinctrl *pctrl = gpiochip_get_data(chip); in intel_gpio_set() local
1032 pin = intel_gpio_to_pin(pctrl, offset, NULL, NULL); in intel_gpio_set()
1036 reg = intel_get_padcfg(pctrl, pin, PADCFG0); in intel_gpio_set()
1040 guard(raw_spinlock_irqsave)(&pctrl->lock); in intel_gpio_set()
1052 struct intel_pinctrl *pctrl = gpiochip_get_data(chip); in intel_gpio_get_direction() local
1057 pin = intel_gpio_to_pin(pctrl, offset, NULL, NULL); in intel_gpio_get_direction()
1061 reg = intel_get_padcfg(pctrl, pin, PADCFG0); in intel_gpio_get_direction()
1065 scoped_guard(raw_spinlock_irqsave, &pctrl->lock) in intel_gpio_get_direction()
1104 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_irq_ack() local
1109 pin = intel_gpio_to_pin(pctrl, irqd_to_hwirq(d), &community, &padgrp); in intel_gpio_irq_ack()
1119 guard(raw_spinlock)(&pctrl->lock); in intel_gpio_irq_ack()
1127 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_irq_mask_unmask() local
1132 pin = intel_gpio_to_pin(pctrl, hwirq, &community, &padgrp); in intel_gpio_irq_mask_unmask()
1144 guard(raw_spinlock_irqsave)(&pctrl->lock); in intel_gpio_irq_mask_unmask()
1179 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_irq_type() local
1180 unsigned int pin = intel_gpio_to_pin(pctrl, irqd_to_hwirq(d), NULL, NULL); in intel_gpio_irq_type()
1184 reg = intel_get_padcfg(pctrl, pin, PADCFG0); in intel_gpio_irq_type()
1193 if (intel_pad_acpi_mode(pctrl, pin)) { in intel_gpio_irq_type()
1194 dev_warn(pctrl->dev, "pin %u cannot be used as IRQ\n", pin); in intel_gpio_irq_type()
1215 guard(raw_spinlock_irqsave)(&pctrl->lock); in intel_gpio_irq_type()
1237 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_irq_wake() local
1238 unsigned int pin = intel_gpio_to_pin(pctrl, irqd_to_hwirq(d), NULL, NULL); in intel_gpio_irq_wake()
1241 enable_irq_wake(pctrl->irq); in intel_gpio_irq_wake()
1243 disable_irq_wake(pctrl->irq); in intel_gpio_irq_wake()
1245 dev_dbg(pctrl->dev, "%s wake for pin %u\n", str_enable_disable(on), pin); in intel_gpio_irq_wake()
1264 struct intel_pinctrl *pctrl = data; in intel_gpio_irq() local
1268 for_each_intel_pad_group(pctrl, community, padgrp) { in intel_gpio_irq()
1269 struct gpio_chip *gc = &pctrl->chip; in intel_gpio_irq()
1279 scoped_guard(raw_spinlock, &pctrl->lock) { in intel_gpio_irq()
1296 static void intel_gpio_irq_init(struct intel_pinctrl *pctrl) in intel_gpio_irq_init() argument
1300 for_each_intel_pin_community(pctrl, community) { in intel_gpio_irq_init()
1317 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_irq_init_hw() local
1323 intel_gpio_irq_init(pctrl); in intel_gpio_irq_init_hw()
1330 struct intel_pinctrl *pctrl = gpiochip_get_data(gc); in intel_gpio_add_pin_ranges() local
1335 for_each_intel_gpio_group(pctrl, community, grp) { in intel_gpio_add_pin_ranges()
1336 ret = gpiochip_add_pin_range(&pctrl->chip, dev_name(pctrl->dev), in intel_gpio_add_pin_ranges()
1340 dev_err(pctrl->dev, "failed to add GPIO pin range\n"); in intel_gpio_add_pin_ranges()
1348 static unsigned int intel_gpio_ngpio(const struct intel_pinctrl *pctrl) in intel_gpio_ngpio() argument
1354 for_each_intel_gpio_group(pctrl, community, grp) { in intel_gpio_ngpio()
1362 static int intel_gpio_probe(struct intel_pinctrl *pctrl, int irq) in intel_gpio_probe() argument
1367 pctrl->chip = intel_gpio_chip; in intel_gpio_probe()
1370 pctrl->chip.ngpio = intel_gpio_ngpio(pctrl); in intel_gpio_probe()
1371 pctrl->chip.label = dev_name(pctrl->dev); in intel_gpio_probe()
1372 pctrl->chip.parent = pctrl->dev; in intel_gpio_probe()
1373 pctrl->chip.base = -1; in intel_gpio_probe()
1374 pctrl->chip.add_pin_ranges = intel_gpio_add_pin_ranges; in intel_gpio_probe()
1375 pctrl->irq = irq; in intel_gpio_probe()
1381 ret = devm_request_irq(pctrl->dev, irq, intel_gpio_irq, in intel_gpio_probe()
1383 dev_name(pctrl->dev), pctrl); in intel_gpio_probe()
1385 dev_err(pctrl->dev, "failed to request interrupt\n"); in intel_gpio_probe()
1390 girq = &pctrl->chip.irq; in intel_gpio_probe()
1399 ret = devm_gpiochip_add_data(pctrl->dev, &pctrl->chip, pctrl); in intel_gpio_probe()
1401 dev_err(pctrl->dev, "failed to register gpiochip\n"); in intel_gpio_probe()
1408 static int intel_pinctrl_add_padgroups_by_gpps(struct intel_pinctrl *pctrl, in intel_pinctrl_add_padgroups_by_gpps() argument
1415 gpps = devm_kcalloc(pctrl->dev, ngpps, sizeof(*gpps), GFP_KERNEL); in intel_pinctrl_add_padgroups_by_gpps()
1448 static int intel_pinctrl_add_padgroups_by_size(struct intel_pinctrl *pctrl, in intel_pinctrl_add_padgroups_by_size() argument
1459 gpps = devm_kcalloc(pctrl->dev, ngpps, sizeof(*gpps), GFP_KERNEL); in intel_pinctrl_add_padgroups_by_size()
1483 static int intel_pinctrl_pm_init(struct intel_pinctrl *pctrl) in intel_pinctrl_pm_init() argument
1486 const struct intel_pinctrl_soc_data *soc = pctrl->soc; in intel_pinctrl_pm_init()
1491 pads = devm_kcalloc(pctrl->dev, soc->npins, sizeof(*pads), GFP_KERNEL); in intel_pinctrl_pm_init()
1495 communities = devm_kcalloc(pctrl->dev, pctrl->ncommunities, in intel_pinctrl_pm_init()
1501 for (i = 0; i < pctrl->ncommunities; i++) { in intel_pinctrl_pm_init()
1502 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_pm_init()
1505 intmask = devm_kcalloc(pctrl->dev, community->ngpps, in intel_pinctrl_pm_init()
1512 hostown = devm_kcalloc(pctrl->dev, community->ngpps, in intel_pinctrl_pm_init()
1520 pctrl->context.pads = pads; in intel_pinctrl_pm_init()
1521 pctrl->context.communities = communities; in intel_pinctrl_pm_init()
1527 static int intel_pinctrl_probe_pwm(struct intel_pinctrl *pctrl, in intel_pinctrl_probe_pwm() argument
1544 chip = devm_pwm_lpss_probe(pctrl->dev, community->regs + PWMC, &info); in intel_pinctrl_probe_pwm()
1552 struct intel_pinctrl *pctrl; in intel_pinctrl_probe() local
1555 pctrl = devm_kzalloc(dev, sizeof(*pctrl), GFP_KERNEL); in intel_pinctrl_probe()
1556 if (!pctrl) in intel_pinctrl_probe()
1559 pctrl->dev = dev; in intel_pinctrl_probe()
1560 pctrl->soc = soc_data; in intel_pinctrl_probe()
1561 raw_spin_lock_init(&pctrl->lock); in intel_pinctrl_probe()
1567 pctrl->ncommunities = pctrl->soc->ncommunities; in intel_pinctrl_probe()
1568 pctrl->communities = devm_kcalloc(dev, pctrl->ncommunities, in intel_pinctrl_probe()
1569 sizeof(*pctrl->communities), GFP_KERNEL); in intel_pinctrl_probe()
1570 if (!pctrl->communities) in intel_pinctrl_probe()
1573 for (i = 0; i < pctrl->ncommunities; i++) { in intel_pinctrl_probe()
1574 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_probe()
1579 *community = pctrl->soc->communities[i]; in intel_pinctrl_probe()
1629 ret = intel_pinctrl_add_padgroups_by_gpps(pctrl, community); in intel_pinctrl_probe()
1631 ret = intel_pinctrl_add_padgroups_by_size(pctrl, community); in intel_pinctrl_probe()
1635 ret = intel_pinctrl_probe_pwm(pctrl, community); in intel_pinctrl_probe()
1644 ret = intel_pinctrl_pm_init(pctrl); in intel_pinctrl_probe()
1648 pctrl->pctldesc = intel_pinctrl_desc; in intel_pinctrl_probe()
1649 pctrl->pctldesc.name = dev_name(dev); in intel_pinctrl_probe()
1650 pctrl->pctldesc.pins = pctrl->soc->pins; in intel_pinctrl_probe()
1651 pctrl->pctldesc.npins = pctrl->soc->npins; in intel_pinctrl_probe()
1653 pctrl->pctldev = devm_pinctrl_register(dev, &pctrl->pctldesc, pctrl); in intel_pinctrl_probe()
1654 if (IS_ERR(pctrl->pctldev)) { in intel_pinctrl_probe()
1656 return PTR_ERR(pctrl->pctldev); in intel_pinctrl_probe()
1659 ret = intel_gpio_probe(pctrl, irq); in intel_pinctrl_probe()
1663 platform_set_drvdata(pdev, pctrl); in intel_pinctrl_probe()
1731 static bool intel_pinctrl_should_save(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pinctrl_should_save() argument
1733 const struct pin_desc *pd = pin_desc_get(pctrl->pctldev, pin); in intel_pinctrl_should_save()
1736 if (!pd || !intel_pad_usable(pctrl, pin)) in intel_pinctrl_should_save()
1746 gpiochip_line_is_irq(&pctrl->chip, intel_pin_to_gpio(pctrl, pin))) in intel_pinctrl_should_save()
1763 value = readl(intel_get_padcfg(pctrl, pin, PADCFG0)); in intel_pinctrl_should_save()
1772 struct intel_pinctrl *pctrl = dev_get_drvdata(dev); in intel_pinctrl_suspend_noirq() local
1777 pads = pctrl->context.pads; in intel_pinctrl_suspend_noirq()
1778 for (i = 0; i < pctrl->soc->npins; i++) { in intel_pinctrl_suspend_noirq()
1779 const struct pinctrl_pin_desc *desc = &pctrl->soc->pins[i]; in intel_pinctrl_suspend_noirq()
1783 if (!intel_pinctrl_should_save(pctrl, desc->number)) in intel_pinctrl_suspend_noirq()
1786 val = readl(intel_get_padcfg(pctrl, desc->number, PADCFG0)); in intel_pinctrl_suspend_noirq()
1788 val = readl(intel_get_padcfg(pctrl, desc->number, PADCFG1)); in intel_pinctrl_suspend_noirq()
1791 padcfg = intel_get_padcfg(pctrl, desc->number, PADCFG2); in intel_pinctrl_suspend_noirq()
1796 communities = pctrl->context.communities; in intel_pinctrl_suspend_noirq()
1797 for (i = 0; i < pctrl->ncommunities; i++) { in intel_pinctrl_suspend_noirq()
1798 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_suspend_noirq()
1828 static void intel_restore_hostown(struct intel_pinctrl *pctrl, unsigned int c, in intel_restore_hostown() argument
1831 const struct intel_community *community = &pctrl->communities[c]; in intel_restore_hostown()
1833 struct device *dev = pctrl->dev; in intel_restore_hostown()
1841 for_each_requested_gpio_in_range(&pctrl->chip, i, padgrp->gpio_base, padgrp->size, dummy) in intel_restore_hostown()
1850 static void intel_restore_intmask(struct intel_pinctrl *pctrl, unsigned int c, in intel_restore_intmask() argument
1853 struct device *dev = pctrl->dev; in intel_restore_intmask()
1861 static void intel_restore_padcfg(struct intel_pinctrl *pctrl, unsigned int pin, in intel_restore_padcfg() argument
1866 struct device *dev = pctrl->dev; in intel_restore_padcfg()
1869 padcfg = intel_get_padcfg(pctrl, pin, reg); in intel_restore_padcfg()
1881 struct intel_pinctrl *pctrl = dev_get_drvdata(dev); in intel_pinctrl_resume_noirq() local
1887 intel_gpio_irq_init(pctrl); in intel_pinctrl_resume_noirq()
1889 pads = pctrl->context.pads; in intel_pinctrl_resume_noirq()
1890 for (i = 0; i < pctrl->soc->npins; i++) { in intel_pinctrl_resume_noirq()
1891 const struct pinctrl_pin_desc *desc = &pctrl->soc->pins[i]; in intel_pinctrl_resume_noirq()
1893 if (!(intel_pinctrl_should_save(pctrl, desc->number) || in intel_pinctrl_resume_noirq()
1901 intel_restore_padcfg(pctrl, desc->number, PADCFG0, pads[i].padcfg0); in intel_pinctrl_resume_noirq()
1902 intel_restore_padcfg(pctrl, desc->number, PADCFG1, pads[i].padcfg1); in intel_pinctrl_resume_noirq()
1903 intel_restore_padcfg(pctrl, desc->number, PADCFG2, pads[i].padcfg2); in intel_pinctrl_resume_noirq()
1906 communities = pctrl->context.communities; in intel_pinctrl_resume_noirq()
1907 for (i = 0; i < pctrl->ncommunities; i++) { in intel_pinctrl_resume_noirq()
1908 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_resume_noirq()
1914 intel_restore_intmask(pctrl, i, base, gpp, communities[i].intmask[gpp]); in intel_pinctrl_resume_noirq()
1918 intel_restore_hostown(pctrl, i, base, gpp, communities[i].hostown[gpp]); in intel_pinctrl_resume_noirq()