Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/sysdev/
Dcpm1.c539 struct cpm1_gpio16_chip *cpm1_gc = to_cpm1_gpio16_chip(mm_gc); in cpm1_gpio16_save_regs() local
542 cpm1_gc->cpdata = in_be16(&iop->dat); in cpm1_gpio16_save_regs()
559 struct cpm1_gpio16_chip *cpm1_gc = to_cpm1_gpio16_chip(mm_gc); in __cpm1_gpio16_set() local
563 cpm1_gc->cpdata |= pin_mask; in __cpm1_gpio16_set()
565 cpm1_gc->cpdata &= ~pin_mask; in __cpm1_gpio16_set()
567 out_be16(&iop->dat, cpm1_gc->cpdata); in __cpm1_gpio16_set()
573 struct cpm1_gpio16_chip *cpm1_gc = to_cpm1_gpio16_chip(mm_gc); in cpm1_gpio16_set() local
577 spin_lock_irqsave(&cpm1_gc->lock, flags); in cpm1_gpio16_set()
581 spin_unlock_irqrestore(&cpm1_gc->lock, flags); in cpm1_gpio16_set()
587 struct cpm1_gpio16_chip *cpm1_gc = to_cpm1_gpio16_chip(mm_gc); in cpm1_gpio16_dir_out() local
[all …]