Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-ab8500.c81 unsigned long mins, secs; in ab8500_rtc_read_time() local
118 mins = (buf[0] << 16) | (buf[1] << 8) | buf[2]; in ab8500_rtc_read_time()
122 secs = secs + (mins * 60); in ab8500_rtc_read_time()
182 unsigned long secs, mins; in ab8500_rtc_read_alarm() local
205 mins = (buf[0] << 16) | (buf[1] << 8) | (buf[2]); in ab8500_rtc_read_alarm()
206 secs = mins * 60; in ab8500_rtc_read_alarm()
227 unsigned long mins, secs = 0; in ab8500_rtc_set_alarm() local
244 mins = secs / 60; in ab8500_rtc_set_alarm()
246 buf[2] = mins & 0xFF; in ab8500_rtc_set_alarm()
247 buf[1] = (mins >> 8) & 0xFF; in ab8500_rtc_set_alarm()
[all …]
/drivers/block/drbd/
Ddrbd_int.h2176 static inline int _get_ldev_if_state(struct drbd_conf *mdev, enum drbd_disk_state mins) in _get_ldev_if_state() argument
2185 io_allowed = (mdev->state.disk >= mins); in _get_ldev_if_state()
2191 extern int _get_ldev_if_state(struct drbd_conf *mdev, enum drbd_disk_state mins);
Ddrbd_main.c168 int _get_ldev_if_state(struct drbd_conf *mdev, enum drbd_disk_state mins) in _get_ldev_if_state() argument
173 io_allowed = (mdev->state.disk >= mins); in _get_ldev_if_state()