Searched refs:cpm2_gc (Results 1 – 1 of 1) sorted by relevance
240 struct cpm2_gpio32_chip *cpm2_gc = to_cpm2_gpio32_chip(mm_gc); in cpm2_gpio32_save_regs() local243 cpm2_gc->cpdata = in_be32(&iop->dat); in cpm2_gpio32_save_regs()260 struct cpm2_gpio32_chip *cpm2_gc = to_cpm2_gpio32_chip(mm_gc); in __cpm2_gpio32_set() local264 cpm2_gc->cpdata |= pin_mask; in __cpm2_gpio32_set()266 cpm2_gc->cpdata &= ~pin_mask; in __cpm2_gpio32_set()268 out_be32(&iop->dat, cpm2_gc->cpdata); in __cpm2_gpio32_set()274 struct cpm2_gpio32_chip *cpm2_gc = to_cpm2_gpio32_chip(mm_gc); in cpm2_gpio32_set() local278 spin_lock_irqsave(&cpm2_gc->lock, flags); in cpm2_gpio32_set()282 spin_unlock_irqrestore(&cpm2_gc->lock, flags); in cpm2_gpio32_set()288 struct cpm2_gpio32_chip *cpm2_gc = to_cpm2_gpio32_chip(mm_gc); in cpm2_gpio32_dir_out() local[all …]