Lines Matching refs:time
35 union evm_time time;
48 if (tries && time.bytes[0] == status)
50 time.bytes[0] = status;
55 if (tries && time.bytes[1] == status)
57 time.bytes[1] = status;
62 if (tries && time.bytes[2] == status)
64 time.bytes[2] = status;
69 if (tries && time.bytes[3] == status)
71 time.bytes[3] = status;
75 dev_dbg(dev, "read timestamp %08x\n", time.value);
77 rtc_time64_to_tm(le32_to_cpu(time.value), tm);
83 union evm_time time;
88 time.value = cpu_to_le32(value);
90 dev_dbg(dev, "write timestamp %08x\n", time.value);
96 status = dm355evm_msp_write(time.bytes[0], DM355EVM_MSP_RTC_0);
100 status = dm355evm_msp_write(time.bytes[1], DM355EVM_MSP_RTC_1);
104 status = dm355evm_msp_write(time.bytes[2], DM355EVM_MSP_RTC_2);
108 status = dm355evm_msp_write(time.bytes[3], DM355EVM_MSP_RTC_3);