Searched refs:mins (Results 1 – 3 of 3) sorted by relevance
65 unsigned long mins, secs; in ab8500_rtc_read_time() local97 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() local168 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() local189 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 …]
2107 static inline int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state() argument2116 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);
145 int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state() argument150 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state()