Searched refs:mcp795_rtcc_read (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/rtc/ |
D | rtc-mcp795.c | 60 static int mcp795_rtcc_read(struct device *dev, u8 addr, u8 *buf, u8 count) in mcp795_rtcc_read() function 101 ret = mcp795_rtcc_read(dev, addr, &tmp, 1); in mcp795_rtcc_set_bits() 122 ret = mcp795_rtcc_read(dev, MCP795_REG_CONTROL, &data, 1); in mcp795_stop_oscillator() 133 ret = mcp795_rtcc_read(dev, MCP795_REG_DAY, &data, 1); in mcp795_stop_oscillator() 195 ret = mcp795_rtcc_read(dev, MCP795_REG_SECONDS, data, sizeof(data)); in mcp795_set_time() 242 ret = mcp795_rtcc_read(dev, MCP795_REG_SECONDS, data, sizeof(data)); in mcp795_read_time() 286 ret = mcp795_rtcc_read(dev, MCP795_REG_ALM0_SECONDS, tmp, sizeof(tmp)); in mcp795_set_alarm() 324 ret = mcp795_rtcc_read( in mcp795_read_alarm()
|