Lines Matching defs:write_buf
165 uint8_t* write_buf,
170 zx_status_t status = i2c_write_read(&gauss_led->channel, write_buf, write_len,
244 uint8_t write_buf[] = {PCA9956_PWM_BASE | AUTO_INCREMENT_ADDRESS_MASK};
246 zx_status_t status = gauss_led_i2c_transact(dev->led, write_buf,
247 sizeof(write_buf),
271 uint8_t write_buf[NUM_PWM_CHANNELS + 1] =
287 write_buf[1 + idx] = val;
296 zx_status_t status = gauss_led_i2c_transact(dev->led, write_buf,
297 sizeof(write_buf), 0, dev);
314 uint8_t write_buf[] = {PCA9956_DUTY_CYCLE};
315 zx_status_t status = gauss_led_i2c_transact(dev->led, write_buf,
316 sizeof(write_buf), 1, dev);
350 uint8_t write_buf[] = {PCA9956_DUTY_CYCLE, value};
351 zx_status_t status = gauss_led_i2c_transact(dev->led, write_buf,
352 sizeof(write_buf), 0, dev);