Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/platforms/8xx/
Dcpm1.c532 struct cpm1_gpio16_chip *cpm1_gc = in cpm1_gpio16_save_regs() local
536 cpm1_gc->cpdata = in_be16(&iop->dat); in cpm1_gpio16_save_regs()
553 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in __cpm1_gpio16_set() local
557 cpm1_gc->cpdata |= pin_mask; in __cpm1_gpio16_set()
559 cpm1_gc->cpdata &= ~pin_mask; in __cpm1_gpio16_set()
561 out_be16(&iop->dat, cpm1_gc->cpdata); in __cpm1_gpio16_set()
567 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in cpm1_gpio16_set() local
571 spin_lock_irqsave(&cpm1_gc->lock, flags); in cpm1_gpio16_set()
575 spin_unlock_irqrestore(&cpm1_gc->lock, flags); in cpm1_gpio16_set()
581 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in cpm1_gpio16_to_irq() local
[all …]