Searched refs:scratch_buf (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/drivers/disk/disk_access/src/ |
D | main.c | 62 static uint8_t scratch_buf[2][SECTOR_COUNT4 * SECTOR_SIZE + 4]; variable 237 test_sector_read(scratch_buf[0], SECTOR_COUNT1); in ZTEST() 238 test_sector_read(scratch_buf[0], SECTOR_COUNT2); in ZTEST() 239 test_sector_read(scratch_buf[0], SECTOR_COUNT3); in ZTEST() 240 test_sector_read(scratch_buf[0], SECTOR_COUNT4); in ZTEST() 243 memset(scratch_buf[0], 0, SECTOR_COUNT1 * disk_sector_size); in ZTEST() 244 rc = read_sector(scratch_buf[0], 0, SECTOR_COUNT1); in ZTEST() 248 memset(scratch_buf[1], 0xff, SECTOR_COUNT1 * disk_sector_size); in ZTEST() 249 rc = read_sector(scratch_buf[1], 0, SECTOR_COUNT1); in ZTEST() 251 zassert_mem_equal(scratch_buf[1], scratch_buf[0], in ZTEST() [all …]
|
/Zephyr-latest/drivers/led/ |
D | is31fl3733.c | 59 uint8_t scratch_buf[IS31FL3733_MAX_LED + 1]; member 137 pwm_start = data->scratch_buf + start_channel; in is31fl3733_led_write_channels() 209 data->scratch_buf[0] = 0x0; in is31fl3733_init() 210 memset(data->scratch_buf + 1, 0xFF, (IS31FL3733_MAX_LED / 8)); in is31fl3733_init() 216 return i2c_write_dt(&config->bus, data->scratch_buf, in is31fl3733_init()
|