Lines Matching full:to
28 * @dev: Device to read from
29 * @time: Place to put the time that is read
37 * field to be set correctly.
39 * @dev: Device to read from
40 * @time: Time to write
45 * reset() - reset the RTC to a known-good state
47 * This function resets the RTC to a known-good state. The time may
51 * @dev: Device to read from
59 * @dev: Device to read from
60 * @reg: Register to read
68 * @dev: Device to write to
69 * @reg: Register to write
70 * @value: Value to write
82 * @dev: Device to read from
83 * @time: Place to put the current time
89 * dm_rtc_set() - Write a time to an RTC
91 * @dev: Device to read from
92 * @time: Time to write into the RTC
98 * dm_rtc_reset() - reset the RTC to a known-good state
100 * If the RTC appears to be broken (e.g. it is not counting up in seconds)
101 * it may need to be reset to a known good state. This function achieves this.
102 * After resetting the RTC the time should then be set to a known value by
105 * @dev: Device to read from
113 * @dev: Device to read from
114 * @reg: Register to read
122 * @dev: Device to write to
123 * @reg: Register to write
124 * @value: Value to write
132 * @dev: Device to read from
133 * @reg: Offset to start reading from
134 * @valuep: Place to put the value that is read
140 * rtc_write16() - Write a 16-bit value to the RTC
142 * @dev: Device to write to
143 * @reg: Register to start writing to
144 * @value: Value to write
152 * @dev: Device to read from
153 * @reg: Offset to start reading from
154 * @valuep: Place to put the value that is read
160 * rtc_write32() - Write a 32-bit value to the RTC
162 * @dev: Device to write to
163 * @reg: Register to start writing to
164 * @value: Value to write
178 * @reg: Register to read
186 * @reg: Register to write
187 * @value: Value to write
194 * @reg: Offset to start reading from
200 * rtc_write32() - Write a 32-bit value to the RTC
202 * @reg: Register to start writing to
203 * @value: Value to write
228 * It sets time->tm_wdaay to the correct day of the week.
230 * @time: Time to inspect. tm_wday is updated
241 * Note that tm_yday and tm_isdst are set to 0.
244 * @time: Place to put the broken-out time
251 * The following fields need to be valid for this function to work:
256 * @time: Broken-out time to convert