Searched refs:MICROCHIP_MCP7940N_SRAM_OFFSET (Results 1 – 2 of 2) sorted by relevance
17 #define MICROCHIP_MCP7940N_SRAM_OFFSET 0x20 macro75 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()
20 #define MICROCHIP_MCP7940N_SRAM_OFFSET 0x20 macro163 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()