Home
last modified time | relevance | path

Searched refs:write8reg8 (Results 1 – 1 of 1) sorted by relevance

/device/amlogic/yukawa/hal/lights/
Dlights.cpp77 static int write8reg8(int fd, uint8_t regaddr, uint8_t cmd) { in write8reg8() function
117 write8reg8(fd, addr.red, ((color >> 16) & 0xFF)); in writeLedArray()
118 write8reg8(fd, addr.green, ((color >> 8) & 0xFF)); in writeLedArray()
119 write8reg8(fd, addr.blue, (color)&0xFF); in writeLedArray()
121 write8reg8(fd, LA_P0_ENABLE, 0x00); in writeLedArray()
122 write8reg8(fd, LA_P1_ENABLE, 0x00); in writeLedArray()