Home
last modified time | relevance | path

Searched refs:mins (Results 1 – 3 of 3) sorted by relevance

/drivers/rtc/
Drtc-ab8500.c65 unsigned long mins, secs; in ab8500_rtc_read_time() local
97 mins = (buf[0] << 16) | (buf[1] << 8) | buf[2]; in ab8500_rtc_read_time()
101 secs = secs + (mins * 60); in ab8500_rtc_read_time()
145 unsigned long secs, mins; in ab8500_rtc_read_alarm() local
168 mins = (buf[0] << 16) | (buf[1] << 8) | (buf[2]); in ab8500_rtc_read_alarm()
169 secs = mins * 60; in ab8500_rtc_read_alarm()
187 unsigned long mins; in ab8500_rtc_set_alarm() local
189 mins = (unsigned long)rtc_tm_to_time64(&alarm->time) / 60; in ab8500_rtc_set_alarm()
191 buf[2] = mins & 0xFF; in ab8500_rtc_set_alarm()
192 buf[1] = (mins >> 8) & 0xFF; in ab8500_rtc_set_alarm()
[all …]
/drivers/block/drbd/
Ddrbd_int.h2107 static inline int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state() argument
2116 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state()
2122 extern int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins);
Ddrbd_main.c145 int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state() argument
150 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state()