Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/sysdev/
Dsimple_gpio.c55 struct u8_gpio_chip *u8_gc = to_u8_gpio_chip(mm_gc); in u8_gpio_set() local
58 spin_lock_irqsave(&u8_gc->lock, flags); in u8_gpio_set()
61 u8_gc->data |= u8_pin2mask(gpio); in u8_gpio_set()
63 u8_gc->data &= ~u8_pin2mask(gpio); in u8_gpio_set()
65 out_8(mm_gc->regs, u8_gc->data); in u8_gpio_set()
67 spin_unlock_irqrestore(&u8_gc->lock, flags); in u8_gpio_set()
83 struct u8_gpio_chip *u8_gc = to_u8_gpio_chip(mm_gc); in u8_gpio_save_regs() local
85 u8_gc->data = in_8(mm_gc->regs); in u8_gpio_save_regs()
91 struct u8_gpio_chip *u8_gc; in u8_simple_gpiochip_add() local
95 u8_gc = kzalloc(sizeof(*u8_gc), GFP_KERNEL); in u8_simple_gpiochip_add()
[all …]