Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/bbram/
Dbbram_microchip_mcp7940n_emul.c17 #define MICROCHIP_MCP7940N_SRAM_OFFSET 0x20 macro
75 if (regn >= MICROCHIP_MCP7940N_SRAM_OFFSET && in mcp7940n_emul_transfer_i2c()
77 MICROCHIP_MCP7940N_SRAM_OFFSET + MICROCHIP_MCP7940N_SRAM_SIZE) { in mcp7940n_emul_transfer_i2c()
80 data->data[regn + i - MICROCHIP_MCP7940N_SRAM_OFFSET]; in mcp7940n_emul_transfer_i2c()
90 if (regn >= MICROCHIP_MCP7940N_SRAM_OFFSET && in mcp7940n_emul_transfer_i2c()
92 MICROCHIP_MCP7940N_SRAM_OFFSET + MICROCHIP_MCP7940N_SRAM_SIZE) { in mcp7940n_emul_transfer_i2c()
94 data->data[regn + i - MICROCHIP_MCP7940N_SRAM_OFFSET] = in mcp7940n_emul_transfer_i2c()
Dbbram_microchip_mcp7940n.c20 #define MICROCHIP_MCP7940N_SRAM_OFFSET 0x20 macro
163 LOG_DBG("Read from 0x%x", (MICROCHIP_MCP7940N_SRAM_OFFSET + offset + i)); in microchip_mcp7940n_bbram_read()
165 (MICROCHIP_MCP7940N_SRAM_OFFSET + offset + i), in microchip_mcp7940n_bbram_read()
197 (MICROCHIP_MCP7940N_SRAM_OFFSET + offset + i)); in microchip_mcp7940n_bbram_write()
199 (MICROCHIP_MCP7940N_SRAM_OFFSET + offset + i), in microchip_mcp7940n_bbram_write()