Lines Matching refs:gpioc
50 struct gpio_chip gpioc; member
68 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irqhandler()
96 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irqhandler()
101 generic_handle_domain_irq(hlwd->gpioc.irq.domain, hwirq); in hlwd_gpio_irqhandler()
121 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_mask()
125 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_mask()
135 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_unmask()
139 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_unmask()
176 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
197 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
201 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
230 res = bgpio_init(&hlwd->gpioc, &pdev->dev, 4, in hlwd_gpio_probe()
242 hlwd->gpioc.ngpio = ngpios; in hlwd_gpio_probe()
268 girq = &hlwd->gpioc.irq; in hlwd_gpio_probe()
282 return devm_gpiochip_add_data(&pdev->dev, &hlwd->gpioc, hlwd); in hlwd_gpio_probe()