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);
319 struct irq_chip *chip = irq_desc_get_chip(desc);
326 chained_irq_enter(chip, desc);
373 chained_irq_exit(chip, desc);
504 gc->chip_types[0].chip.irq_ack = irq_gc_ack_set_bit;
505 gc->chip_types[0].chip.irq_mask = irq_gc_mask_set_bit;
506 gc->chip_types[0].chip.irq_unmask = irq_gc_mask_clr_bit;
507 gc->chip_types[0].chip.irq_enable = irq_gc_mask_clr_bit;
508 gc->chip_types[0].chip.irq_disable = irq_gc_mask_set_bit;
509 gc->chip_types[0].chip.irq_set_wake = irq_gc_set_wake;
510 gc->chip_types[0].chip.irq_suspend = rockchip_irq_suspend;
511 gc->chip_types[0].chip.irq_resume = rockchip_irq_resume;
512 gc->chip_types[0].chip.irq_set_type = rockchip_irq_set_type;