Lines Matching refs:mask
132 uint16_t *mask) in nxp_irtc_alarm_get_supported_fields() argument
140 *mask = (RTC_ALARM_TIME_MASK_SECOND | RTC_ALARM_TIME_MASK_MINUTE | in nxp_irtc_alarm_get_supported_fields()
147 static int nxp_irtc_alarm_set_time(const struct device *dev, uint16_t id, uint16_t mask, in nxp_irtc_alarm_set_time() argument
154 if (id != 0 || (mask && (timeptr == 0)) || in nxp_irtc_alarm_set_time()
155 (timeptr && !rtc_utils_validate_rtc_time(timeptr, mask))) { in nxp_irtc_alarm_set_time()
163 if (mask & RTC_ALARM_TIME_MASK_SECOND) { in nxp_irtc_alarm_set_time()
167 if (mask & RTC_ALARM_TIME_MASK_MINUTE) { in nxp_irtc_alarm_set_time()
171 if (mask & RTC_ALARM_TIME_MASK_HOUR) { in nxp_irtc_alarm_set_time()
175 if (mask & RTC_ALARM_TIME_MASK_MONTHDAY) { in nxp_irtc_alarm_set_time()
179 if (mask & RTC_ALARM_TIME_MASK_MONTH) { in nxp_irtc_alarm_set_time()
183 if (mask & RTC_ALARM_TIME_MASK_YEAR) { in nxp_irtc_alarm_set_time()
190 switch (mask) { in nxp_irtc_alarm_set_time()
206 data->alarm_mask = mask; in nxp_irtc_alarm_set_time()
213 static int nxp_irtc_alarm_get_time(const struct device *dev, uint16_t id, uint16_t *mask, in nxp_irtc_alarm_get_time() argument
257 *mask = return_mask; in nxp_irtc_alarm_get_time()