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, secs = 0, cursec = 0; in ab8500_rtc_set_alarm() local
205 mins = secs / 60; in ab8500_rtc_set_alarm()
207 buf[2] = mins & 0xFF; in ab8500_rtc_set_alarm()
208 buf[1] = (mins >> 8) & 0xFF; in ab8500_rtc_set_alarm()
[all …]
/drivers/block/drbd/
Ddrbd_int.h2116 static inline int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state() argument
2125 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state()
2131 extern int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins);
Ddrbd_main.c158 int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state() argument
163 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state()