Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_litex.c31 uint32_t write_addr; member
65 set_bit(config->write_addr, SCL_BIT_POS, state); in i2c_litex_bitbang_set_scl()
73 set_bit(config->write_addr, SDA_DIR_BIT_POS, SDA_DIR_OUTPUT); in i2c_litex_bitbang_set_sda()
74 set_bit(config->write_addr, SDA_BIT_W_POS, state); in i2c_litex_bitbang_set_sda()
82 set_bit(config->write_addr, SDA_DIR_BIT_POS, SDA_DIR_INPUT); in i2c_litex_bitbang_get_sda()
98 litex_write8(litex_read8(config->write_addr) | HIGH_STATE_ON_I2C_LINES, config->write_addr); in i2c_litex_init()
153 .write_addr = DT_INST_REG_ADDR_BY_NAME(n, write), \
/Zephyr-latest/subsys/storage/stream/
Dstream_flash.c128 size_t write_addr = ctx->offset + ctx->bytes_written; in flash_sync() local
141 write_addr + ctx->buf_bytes - 1); in flash_sync()
144 rc, write_addr); in flash_sync()
160 rc = flash_write(ctx->fdev, write_addr, ctx->buf, buf_bytes_aligned); in flash_sync()
164 write_addr); in flash_sync()
178 rc = flash_read(ctx->fdev, write_addr, ctx->buf, in flash_sync()
185 rc = ctx->callback(ctx->buf, ctx->buf_bytes, write_addr); in flash_sync()