/Zephyr-latest/drivers/watchdog/ |
D | wdt_npm6001.c | 55 return i2c_write_dt(&config->bus, buf, sizeof(buf)); in wdt_npm6001_disable() 84 ret = i2c_write_dt(&config->bus, buf, sizeof(buf)); in wdt_npm6001_install_timeout() 91 ret = i2c_write_dt(&config->bus, buf, sizeof(buf)); in wdt_npm6001_install_timeout() 99 ret = i2c_write_dt(&config->bus, buf, sizeof(buf)); in wdt_npm6001_install_timeout() 106 ret = i2c_write_dt(&config->bus, buf, sizeof(buf)); in wdt_npm6001_install_timeout() 113 ret = i2c_write_dt(&config->bus, buf, sizeof(buf)); in wdt_npm6001_install_timeout() 120 ret = i2c_write_dt(&config->bus, buf, sizeof(buf)); in wdt_npm6001_install_timeout() 128 ret = i2c_write_dt(&config->bus, buf, sizeof(buf)); in wdt_npm6001_install_timeout() 135 ret = i2c_write_dt(&config->bus, buf, sizeof(buf)); in wdt_npm6001_install_timeout() 142 ret = i2c_write_dt(&config->bus, buf, sizeof(buf)); in wdt_npm6001_install_timeout() [all …]
|
/Zephyr-latest/drivers/misc/grove_lcd_rgb/ |
D | grove_lcd_rgb.c | 90 i2c_write_dt(&config->bus, buf, sizeof(buf)); in glcd_print() 110 i2c_write_dt(&config->bus, data, 2); in glcd_cursor_pos_set() 119 i2c_write_dt(&config->bus, clear, sizeof(clear)); in glcd_clear() 134 i2c_write_dt(&config->bus, buf, sizeof(buf)); in glcd_display_state_set() 158 i2c_write_dt(&config->bus, buf, sizeof(buf)); in glcd_input_state_set() 202 i2c_write_dt(&config->bus, buf, sizeof(buf)); in glcd_function_set()
|
/Zephyr-latest/tests/boards/mec15xxevb_assy6853/i2c_api/src/ |
D | main.c | 45 ret = i2c_write_dt(&i2c, datas, 3); in ZTEST() 51 ret = i2c_write_dt(&i2c, datas, 1); in ZTEST()
|
/Zephyr-latest/tests/boards/mec172xevb_assy6906/i2c_api/src/ |
D | main.c | 45 ret = i2c_write_dt(&i2c, datas, 3); in ZTEST() 51 ret = i2c_write_dt(&i2c, datas, 1); in ZTEST()
|
/Zephyr-latest/drivers/led/ |
D | ht16k33.c | 119 if (i2c_write_dt(&config->i2c, &cmd, sizeof(cmd))) { in ht16k33_led_blink() 146 if (i2c_write_dt(&config->i2c, &cmd, sizeof(cmd))) { in ht16k33_led_set_brightness() 181 if (i2c_write_dt(&config->i2c, cmd, sizeof(cmd))) { in ht16k33_led_set_state() 312 err = i2c_write_dt(&config->i2c, cmd, 1); in ht16k33_init() 322 err = i2c_write_dt(&config->i2c, cmd, sizeof(cmd)); in ht16k33_init() 330 err = i2c_write_dt(&config->i2c, cmd, 1); in ht16k33_init() 338 err = i2c_write_dt(&config->i2c, cmd, 1); in ht16k33_init() 374 if (i2c_write_dt(&config->i2c, cmd, 1)) { in ht16k33_init() 397 if (i2c_write_dt(&config->i2c, cmd, 1)) { in ht16k33_init()
|
D | lp50xx.c | 138 return i2c_write_dt(&config->bus, buf, sizeof(buf)); in lp50xx_set_brightness() 177 return i2c_write_dt(&config->bus, buf, sizeof(buf)); in lp50xx_set_color() 203 return i2c_write_dt(&config->bus, data->chan_buf, num_channels + 1); in lp50xx_write_channels() 215 err = i2c_write_dt(&config->bus, buf, 2); in lp50xx_reset() 231 return i2c_write_dt(&config->bus, buf, 2); in lp50xx_reset()
|
/Zephyr-latest/drivers/auxdisplay/ |
D | auxdisplay_jhd1313.c | 102 rc = i2c_write_dt(&config->bus, buf, sizeof(buf)); in auxdisplay_jhd1313_print() 128 return i2c_write_dt(&config->bus, data, 2); in auxdisplay_jhd1313_cursor_position_set() 137 rc = i2c_write_dt(&config->bus, clear, sizeof(clear)); in auxdisplay_jhd1313_clear() 164 rc = i2c_write_dt(&config->bus, buf, sizeof(buf)); in auxdisplay_jhd1313_update_display_state() 199 i2c_write_dt(&config->bus, buf, sizeof(buf)); in auxdisplay_jhd1313_input_state_set() 240 i2c_write_dt(&config->bus, buf, sizeof(buf)); in auxdisplay_jhd1313_function_set()
|
D | auxdisplay_serlcd.c | 104 int rc = i2c_write_dt(&config->bus, buffer, sizeof(buffer)); in auxdisplay_serlcd_send_command() 117 int rc = i2c_write_dt(&config->bus, buffer, sizeof(buffer)); in auxdisplay_serlcd_send_special_command() 309 rc = i2c_write_dt(&config->bus, &buffer, sizeof(buffer)); in auxdisplay_serlcd_custom_character_set() 365 rc = i2c_write_dt(&config->bus, text, len); in auxdisplay_serlcd_write()
|
/Zephyr-latest/drivers/input/ |
D | input_nunchuk.c | 42 ret = i2c_write_dt(&cfg->i2c_bus, &value, sizeof(value)); in nunchuk_read_registers() 119 ret = i2c_write_dt(&cfg->i2c_bus, init_seq_1, sizeof(init_seq_1)); in nunchuk_init() 126 ret = i2c_write_dt(&cfg->i2c_bus, init_seq_2, sizeof(init_seq_2)); in nunchuk_init()
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_npm6001.c | 77 return i2c_write_dt(&config->bus, buf, sizeof(buf)); in gpio_npm6001_port_set_bits_raw() 90 return i2c_write_dt(&config->bus, buf, sizeof(buf)); in gpio_npm6001_port_clear_bits_raw() 162 return i2c_write_dt(&config->bus, buf, sizeof(buf)); in gpio_npm6001_configure()
|
D | gpio_sx1509b.c | 167 return i2c_write_dt(bus, tx_buf, 3); in i2c_reg_write_word_be() 185 return i2c_write_dt(bus, tx_buf, 2); in i2c_reg_write_byte_be() 267 rc = i2c_write_dt(&cfg->bus, &pin_buf.reg, in write_pin_state() 271 rc = i2c_write_dt(&cfg->bus, &pin_buf.reg, sizeof(pin_buf)); in write_pin_state() 373 rc = i2c_write_dt(&cfg->bus, &debounce_buf.reg, in sx1509b_config() 526 rc = i2c_write_dt(&cfg->bus, &irq_buf.reg, sizeof(irq_buf)); in pin_interrupt_configure()
|
/Zephyr-latest/drivers/sensor/microchip/tcn75a/ |
D | tcn75a.c | 30 ret = i2c_write_dt(&config->i2c_spec, adc_conf, 2); in tcn75a_sample_fetch() 115 return i2c_write_dt(&config->i2c_spec, adc_conf, 2); in tcn75a_init()
|
/Zephyr-latest/drivers/sensor/jedec/jc42/ |
D | jc42.c | 45 return i2c_write_dt(&cfg->i2c, buf, sizeof(buf)); in jc42_reg_write_16bit() 56 return i2c_write_dt(&cfg->i2c, buf, sizeof(buf)); in jc42_reg_write_8bit()
|
/Zephyr-latest/drivers/sensor/ti/ina23x/ |
D | ina23x_common.c | 48 return i2c_write_dt(bus, tx_buf, sizeof(tx_buf)); in ina23x_reg_write()
|
/Zephyr-latest/drivers/sensor/memsic/mmc56x3/ |
D | mmc56x3_i2c.c | 34 return i2c_write_dt(&bus->i2c, buf, size); in mmc56x3_raw_write_i2c()
|
/Zephyr-latest/drivers/w1/ |
D | w1_ds2477_85_common.c | 29 ret = i2c_write_dt(&cfg->i2c_spec, buf, (CMD_WR_W1_PORT_CFG_LEN + CMD_OVERHEAD_LEN)); in ds2477_85_write_port_config() 55 ret = i2c_write_dt(&cfg->i2c_spec, buf, (CMD_RD_W1_PORT_CFG_LEN + CMD_OVERHEAD_LEN)); in ds2477_85_read_port_config() 81 ret = i2c_write_dt(&cfg->i2c_spec, buf, 1); in ds2477_85_reset_master() 244 ret = i2c_write_dt(&cfg->i2c_spec, buf, (CMD_RD_BLOCK_LEN + CMD_OVERHEAD_LEN)); in ds2477_85_read_block()
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_rv8263.c | 113 err = i2c_write_dt(&config->i2c_bus, buf, 2); in rv8263c8_update_disable_timer() 119 return i2c_write_dt(&config->i2c_bus, buf, 2); in rv8263c8_update_disable_timer() 147 err = i2c_write_dt(&config->i2c_bus, buf, 2); in rv8263c8_update_enable_timer() 155 return i2c_write_dt(&config->i2c_bus, buf, 2); in rv8263c8_update_enable_timer() 226 return i2c_write_dt(&config->i2c_bus, regs, sizeof(regs)); in rv8263c8_time_set() 325 err = i2c_write_dt(&config->i2c_bus, buf, 2); in rv8263c8_init() 454 err = i2c_write_dt(&config->i2c_bus, regs, sizeof(regs)); in rv8263c8_alarm_set_time()
|
/Zephyr-latest/drivers/sensor/ams/ccs811/ |
D | ccs811.c | 150 rc = i2c_write_dt(&config->i2c, buf, sizeof(buf)); in ccs811_baseline_update() 218 rc = i2c_write_dt(&config->i2c, buf, sizeof(buf)); in ccs811_envdata_update() 343 if (i2c_write_dt(&config->i2c, &buf, 1) < 0) { in switch_to_app_mode() 417 rc = i2c_write_dt(&config->i2c, buf, sizeof(buf)); in ccs811_set_thresholds() 489 if (i2c_write_dt(&config->i2c, reset_seq, sizeof(reset_seq)) < 0) { in ccs811_init()
|
/Zephyr-latest/drivers/sensor/aosong/dht20/ |
D | dht20.c | 78 rc = i2c_write_dt(&cfg->bus, tx_buf, sizeof(tx_buf)); in read_status() 113 rc = i2c_write_dt(&cfg->bus, tx_buf, sizeof(tx_buf)); in reset_register() 221 rc = i2c_write_dt(&cfg->bus, tx_buf, sizeof(tx_buf)); in dht20_sample_fetch()
|
/Zephyr-latest/drivers/sensor/tdk/icp10125/ |
D | icp10125.c | 155 rc = i2c_write_dt(&cfg->i2c, (uint8_t *)&otp_read_setup, sizeof(otp_read_setup)); in icp10125_read_otp() 162 rc = i2c_write_dt(&cfg->i2c, (uint8_t *)&otp_read_request_cmd, in icp10125_read_otp() 197 rc = i2c_write_dt(i2c, (uint8_t *)&cmds[mode], sizeof(cmds[mode])); in icp10125_measure()
|
/Zephyr-latest/drivers/sensor/meas/ms5607/ |
D | ms5607_i2c.c | 22 return i2c_write_dt(&config->bus_cfg.i2c, &cmd, 1); in ms5607_i2c_raw_cmd()
|
/Zephyr-latest/drivers/sensor/sensirion/sht3xd/ |
D | sht3xd.c | 60 return i2c_write_dt(&config->bus, tx_buf, sizeof(tx_buf)); in sht3xd_write_command() 72 return i2c_write_dt(&config->bus, tx_buf, sizeof(tx_buf)); in sht3xd_write_reg()
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_max31790.c | 222 result = i2c_write_dt(&config->i2c, buffer, sizeof(buffer)); in max31790_set_cycles_internal() 229 result = i2c_write_dt(&config->i2c, buffer, sizeof(buffer)); in max31790_set_cycles_internal() 254 result = i2c_write_dt(&config->i2c, buffer, sizeof(buffer)); in max31790_set_cycles_internal()
|
/Zephyr-latest/drivers/sensor/ens160/ |
D | ens160_i2c.c | 46 return i2c_write_dt(&config->i2c, buff, sizeof(buff)); in ens160_write_data_i2c()
|
/Zephyr-latest/drivers/mfd/ |
D | mfd_ad559x_i2c.c | 28 return i2c_write_dt(&config->i2c, val, len); in mfd_ad559x_i2c_write_raw()
|