Searched refs:mins (Results 1 – 3 of 3) sorted by relevance
81 unsigned long mins, secs; in ab8500_rtc_read_time() local118 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() local205 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() local244 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 …]
2176 static inline int _get_ldev_if_state(struct drbd_conf *mdev, enum drbd_disk_state mins) in _get_ldev_if_state() argument2185 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);
168 int _get_ldev_if_state(struct drbd_conf *mdev, enum drbd_disk_state mins) in _get_ldev_if_state() argument173 io_allowed = (mdev->state.disk >= mins); in _get_ldev_if_state()