Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/sysdev/
Dcpm1.c542 struct cpm1_gpio16_chip *cpm1_gc = in cpm1_gpio16_save_regs() local
546 cpm1_gc->cpdata = in_be16(&iop->dat); in cpm1_gpio16_save_regs()
563 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in __cpm1_gpio16_set() local
567 cpm1_gc->cpdata |= pin_mask; in __cpm1_gpio16_set()
569 cpm1_gc->cpdata &= ~pin_mask; in __cpm1_gpio16_set()
571 out_be16(&iop->dat, cpm1_gc->cpdata); in __cpm1_gpio16_set()
577 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in cpm1_gpio16_set() local
581 spin_lock_irqsave(&cpm1_gc->lock, flags); in cpm1_gpio16_set()
585 spin_unlock_irqrestore(&cpm1_gc->lock, flags); in cpm1_gpio16_set()
591 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in cpm1_gpio16_to_irq() local
[all …]