Lines Matching defs:supported
75 * Return options supported by the RTC device
77 * @return Supported options, or 0 if RTC is not supported
81 static int supported = -1;
83 if (supported < 0) {
87 supported = CVMX_RTC_READ | CVMX_RTC_WRITE | CVMX_RTC_TIME_EPOCH;
93 supported = CVMX_RTC_READ | CVMX_RTC_WRITE | CVMX_RTC_TIME_CAL;
97 supported = 0;
104 supported);
108 return (cvmx_rtc_options_t) supported;
116 * @return Time in seconds or 0 if RTC is not supported