Home
last modified time | relevance | path

Searched refs:cpm1_gc (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/platforms/8xx/
Dcpm1.c533 struct cpm1_gpio16_chip *cpm1_gc = in cpm1_gpio16_save_regs() local
537 cpm1_gc->cpdata = in_be16(&iop->dat); in cpm1_gpio16_save_regs()
554 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in __cpm1_gpio16_set() local
558 cpm1_gc->cpdata |= pin_mask; in __cpm1_gpio16_set()
560 cpm1_gc->cpdata &= ~pin_mask; in __cpm1_gpio16_set()
562 out_be16(&iop->dat, cpm1_gc->cpdata); in __cpm1_gpio16_set()
568 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in cpm1_gpio16_set() local
572 spin_lock_irqsave(&cpm1_gc->lock, flags); in cpm1_gpio16_set()
576 spin_unlock_irqrestore(&cpm1_gc->lock, flags); in cpm1_gpio16_set()
582 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in cpm1_gpio16_to_irq() local
[all …]