Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/8xx/
Dcpm1.c394 struct cpm1_gpio16_chip *cpm1_gc = in cpm1_gpio16_save_regs() local
398 cpm1_gc->cpdata = in_be16(&iop->dat); in cpm1_gpio16_save_regs()
415 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in __cpm1_gpio16_set() local
419 cpm1_gc->cpdata |= pin_mask; in __cpm1_gpio16_set()
421 cpm1_gc->cpdata &= ~pin_mask; in __cpm1_gpio16_set()
423 out_be16(&iop->dat, cpm1_gc->cpdata); in __cpm1_gpio16_set()
429 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in cpm1_gpio16_set() local
433 spin_lock_irqsave(&cpm1_gc->lock, flags); in cpm1_gpio16_set()
437 spin_unlock_irqrestore(&cpm1_gc->lock, flags); in cpm1_gpio16_set()
443 struct cpm1_gpio16_chip *cpm1_gc = gpiochip_get_data(&mm_gc->gc); in cpm1_gpio16_to_irq() local
[all …]