Lines Matching refs:mem

69 	void __iomem *mem;  member
108 mode = led->mem + BCM6328_REG_MODE_HI; in bcm6328_led_mode()
110 mode = led->mem + BCM6328_REG_MODE_LO; in bcm6328_led_mode()
172 val = bcm6328_led_read(led->mem + BCM6328_REG_INIT); in bcm6328_blink_set()
175 bcm6328_led_write(led->mem + BCM6328_REG_INIT, val); in bcm6328_blink_set()
191 void __iomem *mem, spinlock_t *lock) in bcm6328_hwled() argument
197 val = bcm6328_led_read(mem + BCM6328_REG_HWDIS); in bcm6328_hwled()
199 bcm6328_led_write(mem + BCM6328_REG_HWDIS, val); in bcm6328_hwled()
213 addr = mem + BCM6328_REG_LNKACTSEL_LO; in bcm6328_hwled()
215 addr = mem + BCM6328_REG_LNKACTSEL_HI; in bcm6328_hwled()
240 addr = mem + BCM6328_REG_LNKACTSEL_LO; in bcm6328_hwled()
242 addr = mem + BCM6328_REG_LNKACTSEL_HI; in bcm6328_hwled()
263 void __iomem *mem, spinlock_t *lock, in bcm6328_led() argument
276 led->mem = mem; in bcm6328_led()
299 mode = mem + BCM6328_REG_MODE_HI; in bcm6328_led()
301 mode = mem + BCM6328_REG_MODE_LO; in bcm6328_led()
343 void __iomem *mem; in bcm6328_leds_probe() local
351 mem = devm_ioremap_resource(dev, mem_r); in bcm6328_leds_probe()
352 if (IS_ERR(mem)) in bcm6328_leds_probe()
353 return PTR_ERR(mem); in bcm6328_leds_probe()
369 bcm6328_led_write(mem + BCM6328_REG_HWDIS, ~0); in bcm6328_leds_probe()
370 bcm6328_led_write(mem + BCM6328_REG_LNKACTSEL_HI, 0); in bcm6328_leds_probe()
371 bcm6328_led_write(mem + BCM6328_REG_LNKACTSEL_LO, 0); in bcm6328_leds_probe()
373 val = bcm6328_led_read(mem + BCM6328_REG_INIT); in bcm6328_leds_probe()
385 bcm6328_led_write(mem + BCM6328_REG_INIT, val); in bcm6328_leds_probe()
401 rc = bcm6328_hwled(dev, child, reg, mem, lock); in bcm6328_leds_probe()
403 rc = bcm6328_led(dev, child, reg, mem, lock, in bcm6328_leds_probe()