Searched refs:LED_REG (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/m68k/include/asm/ |
H A D | q40_master.h | 20 #define LED_REG 0x30 macro 22 #define Q40_LED_ON() master_outb(1,LED_REG) 23 #define Q40_LED_OFF() master_outb(0,LED_REG)
|
/openbmc/linux/drivers/leds/ |
H A D | leds-pca9532.c | 27 #define LED_REG(m, led) (PCA9532_REG_OFFSET(m) + 0x5 + (led >> 2)) macro 163 reg = i2c_smbus_read_byte_data(client, LED_REG(maxleds, led->id)); in pca9532_setled() 168 i2c_smbus_write_byte_data(client, LED_REG(maxleds, led->id), reg); in pca9532_setled() 262 reg = i2c_smbus_read_byte_data(client, LED_REG(maxleds, led->id)); in pca9532_getled()
|