Searched refs:cpm2_gc (Results 1 – 1 of 1) sorted by relevance
111 struct cpm2_gpio32_chip *cpm2_gc = in cpm2_gpio32_save_regs() local115 cpm2_gc->cpdata = in_be32(&iop->dat); in cpm2_gpio32_save_regs()136 cpm2_gc->cpdata |= pin_mask; in __cpm2_gpio32_set()138 cpm2_gc->cpdata &= ~pin_mask; in __cpm2_gpio32_set()140 out_be32(&iop->dat, cpm2_gc->cpdata); in __cpm2_gpio32_set()150 spin_lock_irqsave(&cpm2_gc->lock, flags); in cpm2_gpio32_set()195 struct cpm2_gpio32_chip *cpm2_gc; in cpm2_gpiochip_add32() local199 cpm2_gc = kzalloc(sizeof(*cpm2_gc), GFP_KERNEL); in cpm2_gpiochip_add32()200 if (!cpm2_gc) in cpm2_gpiochip_add32()203 spin_lock_init(&cpm2_gc->lock); in cpm2_gpiochip_add32()[all …]
Completed in 3 milliseconds