Searched refs:addr_width (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/src/ |
D | main.c | 47 uint8_t addr_width, const uint8_t *comp_buffer) in run_full_read() argument 57 ret = i2c_write_read(i2c, addr, start_addr, (addr_width >> 3), i2c_buffer, TEST_DATA_SIZE); in run_full_read() 76 uint8_t addr_width, const uint8_t *comp_buffer, unsigned int offset) in run_partial_read() argument 84 switch (addr_width) { in run_partial_read() 96 start_addr, (addr_width >> 3), i2c_buffer, TEST_DATA_SIZE-offset); in run_partial_read() 115 uint8_t addr_width, unsigned int offset) in run_program_read() argument 128 switch (addr_width) { in run_program_read() 140 msg[0].len = (addr_width >> 3); in run_program_read() 153 start_addr, (addr_width >> 3), i2c_buffer, TEST_DATA_SIZE-offset); in run_program_read()
|
/Zephyr-latest/drivers/eeprom/ |
D | eeprom_mb85rcxx.c | 24 uint8_t addr_width; member 49 if (cfg->addr_width > 8) { in mb85rcxx_translate_address() 51 addr[0] &= BIT_MASK(cfg->addr_width - 8); in mb85rcxx_translate_address() 53 addr[0] = page_offset & BIT_MASK(cfg->addr_width); in mb85rcxx_translate_address() 56 return cfg->i2c.addr + (offset >> cfg->addr_width); in mb85rcxx_translate_address() 120 ret = i2c_write_read(cfg->i2c.bus, i2c_addr, addr, DIV_ROUND_UP(cfg->addr_width, 8), in mb85rcxx_read() 144 msgs[0].len = DIV_ROUND_UP(cfg->addr_width, 8); in mb85rcxx_i2c_write() 226 .addr_width = DT_INST_PROP(inst, address_width), \
|
D | eeprom_at2x.c | 55 uint8_t addr_width; member 241 const uint16_t addr_incr = *offset >> config->addr_width; in eeprom_at24_translate_offset() 242 *offset &= BIT_MASK(config->addr_width); in eeprom_at24_translate_offset() 251 const size_t remainder = BIT(config->addr_width) - offset; in eeprom_at24_adjust_read_count() 271 if (config->addr_width == 16) { in eeprom_at24_read() 287 addr, config->addr_width / 8, in eeprom_at24_read() 307 uint8_t block[config->addr_width / 8 + count]; in eeprom_at24_write() 320 if (config->addr_width == 16) { in eeprom_at24_write() 422 size_t cmd_len = 1 + config->addr_width / 8; in eeprom_at25_read() 459 switch (config->addr_width) { in eeprom_at25_read() [all …]
|
D | eeprom_at2x_emul.c | 38 uint8_t addr_width; member 162 .addr_width = 8, \
|
/Zephyr-latest/drivers/flash/ |
D | flash_mcux_flexspi_nor.c | 754 uint8_t addr_width; in flash_flexspi_nor_config_flash() local 778 addr_width = jesd216_bfp_addrbytes(bfp) == in flash_flexspi_nor_config_flash() 789 addr_width = 32; in flash_flexspi_nor_config_flash() 794 kFLEXSPI_1PAD, addr_width); in flash_flexspi_nor_config_flash() 798 kFLEXSPI_1PAD, addr_width); in flash_flexspi_nor_config_flash() 820 kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_4PAD, addr_width); in flash_flexspi_nor_config_flash() 838 kFLEXSPI_1PAD, addr_width); in flash_flexspi_nor_config_flash() 863 kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_2PAD, addr_width); in flash_flexspi_nor_config_flash() 874 kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, addr_width); in flash_flexspi_nor_config_flash()
|