Searched refs:LED_REG (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/arch/m68k/include/asm/ ! |
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)
|
/linux-6.1.9/drivers/leds/ ! |
D | leds-pca9532.c | 28 #define LED_REG(m, led) (PCA9532_REG_OFFSET(m) + 0x5 + (led >> 2)) macro 165 reg = i2c_smbus_read_byte_data(client, LED_REG(maxleds, led->id)); in pca9532_setled() 170 i2c_smbus_write_byte_data(client, LED_REG(maxleds, led->id), reg); in pca9532_setled() 264 reg = i2c_smbus_read_byte_data(client, LED_REG(maxleds, led->id)); in pca9532_getled()
|