Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/sysdev/
Dcpm_common.c111 struct cpm2_gpio32_chip *cpm2_gc = in cpm2_gpio32_save_regs() local
115 cpm2_gc->cpdata = in_be32(&iop->dat); in cpm2_gpio32_save_regs()
132 struct cpm2_gpio32_chip *cpm2_gc = gpiochip_get_data(&mm_gc->gc); in __cpm2_gpio32_set() local
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()
146 struct cpm2_gpio32_chip *cpm2_gc = gpiochip_get_data(gc); in cpm2_gpio32_set() local
150 spin_lock_irqsave(&cpm2_gc->lock, flags); in cpm2_gpio32_set()
154 spin_unlock_irqrestore(&cpm2_gc->lock, flags); in cpm2_gpio32_set()
160 struct cpm2_gpio32_chip *cpm2_gc = gpiochip_get_data(gc); in cpm2_gpio32_dir_out() local
[all …]