nled               47 drivers/leds/leds-nic78bx.c 	struct nic78bx_led *nled = to_nic78bx_led(cdev);
nled               51 drivers/leds/leds-nic78bx.c 	spin_lock_irqsave(&nled->data->lock, flags);
nled               52 drivers/leds/leds-nic78bx.c 	value = inb(nled->data->io_base);
nled               55 drivers/leds/leds-nic78bx.c 		value &= ~nled->mask;
nled               56 drivers/leds/leds-nic78bx.c 		value |= nled->bit;
nled               58 drivers/leds/leds-nic78bx.c 		value &= ~nled->bit;
nled               61 drivers/leds/leds-nic78bx.c 	outb(value, nled->data->io_base);
nled               62 drivers/leds/leds-nic78bx.c 	spin_unlock_irqrestore(&nled->data->lock, flags);
nled               67 drivers/leds/leds-nic78bx.c 	struct nic78bx_led *nled = to_nic78bx_led(cdev);
nled               71 drivers/leds/leds-nic78bx.c 	spin_lock_irqsave(&nled->data->lock, flags);
nled               72 drivers/leds/leds-nic78bx.c 	value = inb(nled->data->io_base);
nled               73 drivers/leds/leds-nic78bx.c 	spin_unlock_irqrestore(&nled->data->lock, flags);
nled               75 drivers/leds/leds-nic78bx.c 	return (value & nled->bit) ? 1 : LED_OFF;