Lines Matching refs:buffer
39 uint8_t buffer; in microchip_mcp7940n_bbram_init() local
50 &buffer); in microchip_mcp7940n_bbram_init()
71 uint8_t buffer; in microchip_mcp7940n_bbram_is_invalid() local
78 &buffer); in microchip_mcp7940n_bbram_is_invalid()
81 if ((buffer & MICROCHIP_MCP7940N_RTCWKDAY_PWRFAIL_BIT)) { in microchip_mcp7940n_bbram_is_invalid()
84 buffer &= (buffer ^ MICROCHIP_MCP7940N_RTCWKDAY_PWRFAIL_BIT); in microchip_mcp7940n_bbram_is_invalid()
88 buffer); in microchip_mcp7940n_bbram_is_invalid()
112 uint8_t buffer; in microchip_mcp7940n_bbram_check_standby_power() local
119 &buffer); in microchip_mcp7940n_bbram_check_standby_power()
122 if (!(buffer & MICROCHIP_MCP7940N_RTCWKDAY_VBATEN_BIT)) { in microchip_mcp7940n_bbram_check_standby_power()
125 buffer |= MICROCHIP_MCP7940N_RTCWKDAY_VBATEN_BIT; in microchip_mcp7940n_bbram_check_standby_power()
129 buffer); in microchip_mcp7940n_bbram_check_standby_power()
149 uint8_t *buffer) in microchip_mcp7940n_bbram_read() argument
166 &buffer[i]); in microchip_mcp7940n_bbram_read()
182 const uint8_t *buffer) in microchip_mcp7940n_bbram_write() argument
196 LOG_DBG("Write 0x%x to 0x%x", buffer[i], in microchip_mcp7940n_bbram_write()
200 buffer[i]); in microchip_mcp7940n_bbram_write()