Lines Matching refs:chip
157 static int rockchip_gpio_get_direction(struct gpio_chip *chip, unsigned int offset)
159 struct rockchip_pin_bank *bank = gpiochip_get_data(chip);
167 static int rockchip_gpio_set_direction(struct gpio_chip *chip, unsigned int offset, bool input)
169 struct rockchip_pin_bank *bank = gpiochip_get_data(chip);
316 struct irq_chip *chip = irq_desc_get_chip(desc);
323 chained_irq_enter(chip, desc);
370 chained_irq_exit(chip, desc);
501 gc->chip_types[0].chip.irq_ack = irq_gc_ack_set_bit;
502 gc->chip_types[0].chip.irq_mask = irq_gc_mask_set_bit;
503 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_clr_bit;
504 gc->chip_types[0].chip.irq_enable = irq_gc_mask_clr_bit;
505 gc->chip_types[0].chip.irq_disable = irq_gc_mask_set_bit;
506 gc->chip_types[0].chip.irq_set_wake = irq_gc_set_wake;
507 gc->chip_types[0].chip.irq_suspend = rockchip_irq_suspend;
508 gc->chip_types[0].chip.irq_resume = rockchip_irq_resume;
509 gc->chip_types[0].chip.irq_set_type = rockchip_irq_set_type;