Lines Matching defs:secs
65 dev_dbg(&client->dev, "%s: tm is secs=%d, mins=%d, hours=%d, "
73 static int ds1672_set_mmss(struct i2c_client *client, unsigned long secs)
79 buf[1] = secs & 0x000000FF;
80 buf[2] = (secs & 0x0000FF00) >> 8;
81 buf[3] = (secs & 0x00FF0000) >> 16;
82 buf[4] = (secs & 0xFF000000) >> 24;
96 unsigned long secs;
99 "%s: secs=%d, mins=%d, hours=%d, "
105 rtc_tm_to_time(tm, &secs);
107 return ds1672_set_mmss(client, secs);
120 static int ds1672_rtc_set_mmss(struct device *dev, unsigned long secs)
122 return ds1672_set_mmss(to_i2c_client(dev), secs);