Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/leds/
Dleds-lp5562.c200 return ptn->size_r >= LP55xx_BYTES_PER_PAGE || in _is_pc_overflow()
201 ptn->size_g >= LP55xx_BYTES_PER_PAGE || in _is_pc_overflow()
202 ptn->size_b >= LP55xx_BYTES_PER_PAGE; in _is_pc_overflow()
Dleds-lp55xx-common.c32 #define LP55xx_MAX_PROGRAM_LENGTH (LP55xx_BYTES_PER_PAGE * 4) /* 128 bytes (4 pages) */
182 program_length = LP55xx_BYTES_PER_PAGE; in lp55xx_update_program_memory()
215 start_addr += LP55xx_BYTES_PER_PAGE * idx; in lp55xx_update_program_memory()
217 for (page = 0; page < program_length / LP55xx_BYTES_PER_PAGE; page++) { in lp55xx_update_program_memory()
223 for (i = 0; i < LP55xx_BYTES_PER_PAGE; i++) { in lp55xx_update_program_memory()
225 pattern[i + (page * LP55xx_BYTES_PER_PAGE)]); in lp55xx_update_program_memory()
245 program_length = LP55xx_BYTES_PER_PAGE; in lp55xx_firmware_loaded_cb()
1294 program_length = LP55xx_BYTES_PER_PAGE; in lp55xx_probe()
Dleds-lp5523.c129 static const u8 pattern[][LP55xx_BYTES_PER_PAGE] = { in lp5523_init_program_engine()
153 for (j = 0; j < LP55xx_BYTES_PER_PAGE; j++) { in lp5523_init_program_engine()
Dleds-lp5569.c121 static const u8 pattern[][LP55xx_BYTES_PER_PAGE] = { in lp5569_init_program_engine()
145 for (j = 0; j < LP55xx_BYTES_PER_PAGE; j++) { in lp5569_init_program_engine()
Dleds-lp55xx-common.h17 #define LP55xx_BYTES_PER_PAGE 32 /* bytes */ macro