Searched refs:LED_REG (Results 1 – 2 of 2) sorted by relevance
19 #define LED_REG 0x30 macro21 #define Q40_LED_ON() master_outb(1,LED_REG)22 #define Q40_LED_OFF() master_outb(0,LED_REG)
26 #define LED_REG(led) ((led>>2)+PCA9532_REG_LS0) macro112 reg = i2c_smbus_read_byte_data(client, LED_REG(led->id)); in pca9532_setled()117 i2c_smbus_write_byte_data(client, LED_REG(led->id), reg); in pca9532_setled()