Searched refs:tm (Results 201 - 225 of 355) sorted by relevance

1234567891011>>

/linux-master/drivers/s390/cio/
H A Dorb.h91 struct tm_orb tm; member in union:orb
/linux-master/arch/m68k/mac/
H A Dmisc.c293 static void via_set_rtc_time(struct rtc_time *tm) argument
302 time = mktime64(tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday,
303 tm->tm_hour, tm->tm_min, tm->tm_sec);
/linux-master/arch/powerpc/kernel/
H A Dtime.c738 struct rtc_time tm; local
743 rtc_time64_to_tm(now.tv_sec + 1 + timezone_offset, &tm);
745 return ppc_md.set_rtc_time(&tm);
750 struct rtc_time tm; local
770 ppc_md.get_rtc_time(&tm);
772 ts->tv_sec = rtc_tm_to_time64(&tm);
1017 static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm) argument
1019 ppc_md.get_rtc_time(tm);
1023 static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm) argument
1028 if (ppc_md.set_rtc_time(tm) <
[all...]
/linux-master/include/net/
H A Dact_api.h75 static inline void tcf_lastuse_update(struct tcf_t *tm) argument
79 if (tm->lastuse != now)
80 tm->lastuse = now;
81 if (unlikely(!tm->firstuse))
82 tm->firstuse = now;
/linux-master/drivers/md/persistent-data/
H A Ddm-array.c158 r = dm_tm_new_block(info->btree_info.tm, &array_validator, block);
223 r = dm_tm_read_lock(info->btree_info.tm, b, &array_validator, block);
236 dm_tm_unlock(info->btree_info.tm, block);
284 int r = dm_tm_shadow_block(info->btree_info.tm, b,
313 dm_tm_inc(info->btree_info.tm, b);
582 dm_tm_inc(info->btree_info.tm, le64_to_cpu(*block_le));
598 r = dm_tm_ref(info->btree_info.tm, b, &ref_count);
621 dm_tm_dec(info->btree_info.tm, b);
640 struct dm_transaction_manager *tm,
646 info->btree_info.tm
639 dm_array_info_init(struct dm_array_info *info, struct dm_transaction_manager *tm, struct dm_btree_value_type *vt) argument
[all...]
H A Ddm-btree.c74 void inc_children(struct dm_transaction_manager *tm, struct btree_node *n, argument
80 dm_tm_with_runs(tm, value_ptr(n, 0), nr_entries, dm_tm_inc_range);
141 block_size = dm_bm_block_size(dm_tm_get_bm(info->tm));
175 struct dm_transaction_manager *tm; member in struct:del_stack
200 struct dm_block_manager *bm = dm_tm_get_bm(s->tm);
221 r = dm_tm_ref(s->tm, b, &ref_count);
230 dm_tm_dec(s->tm, b);
236 r = dm_tm_read_lock(s->tm, b, &btree_node_validator, &f->b);
259 dm_tm_dec(s->tm, dm_block_location(f->b));
260 dm_tm_unlock(s->tm,
[all...]
/linux-master/security/tomoyo/
H A Dutil.c93 struct tm tm; local
95 time64_to_tm(time64, 0, &tm);
96 stamp->sec = tm.tm_sec;
97 stamp->min = tm.tm_min;
98 stamp->hour = tm.tm_hour;
99 stamp->day = tm.tm_mday;
100 stamp->month = tm.tm_mon + 1;
101 stamp->year = tm.tm_year + 1900;
/linux-master/sound/core/seq/
H A Dseq_timer.c408 struct timespec64 tm; local
410 ktime_get_ts64(&tm);
411 tm = timespec64_sub(tm, tmr->last_update);
412 cur_time.tv_nsec += tm.tv_nsec;
413 cur_time.tv_sec += tm.tv_sec;
/linux-master/drivers/pinctrl/qcom/
H A Dpinctrl-ipq4019.c515 QCA_PIN_FUNCTION(tm),
619 PINGROUP(52, qpic, mdc, pcie, i2s_tx, NA, NA, NA, tm, wifi0, wifi1, NA,
621 PINGROUP(53, qpic, mdio, i2s_tx, prng_rosc, NA, tm, wifi0, wifi1, NA,
623 PINGROUP(54, qpic, blsp_spi0, i2s_td, NA, pmu, NA, NA, NA, tm, NA, NA,
625 PINGROUP(55, qpic, blsp_spi0, i2s_td, NA, pmu, NA, NA, NA, tm, NA, NA,
627 PINGROUP(56, qpic, blsp_spi0, i2s_td, NA, NA, tm, wifi0, wifi1, NA, NA,
629 PINGROUP(57, qpic, blsp_spi0, i2s_tx, NA, NA, tm, wifi0, wifi1, NA, NA,
631 PINGROUP(58, qpic, led2, blsp_i2c0, smart3, smart1, i2s_rx, NA, NA, tm,
634 NA, NA, tm, NA, NA, NA),
636 NA, NA, NA, NA, NA, tm, N
[all...]
/linux-master/include/linux/
H A Dsvga.h119 int svga_check_timings(const struct svga_timing_regs *tm, struct fb_var_screeninfo *var, int node);
120 void svga_set_timings(void __iomem *regbase, const struct svga_timing_regs *tm, struct fb_var_screeninfo *var, u32 hmul, u32 hdiv, u32 vmul, u32 vdiv, u32 hborder, int node);
/linux-master/include/sound/
H A Dtas2781.h103 struct tm tm; member in struct:tasdevice_priv
/linux-master/arch/um/drivers/
H A Drtc_kern.c33 static int uml_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
39 rtc_time64_to_tm(timespec64_to_ktime(ts) / NSEC_PER_SEC, tm);
/linux-master/tools/testing/selftests/powerpc/nx-gzip/include/
H A Dnx_dbg.h35 time_t t; struct tm *m; time(&t); m = localtime(&t); \
/linux-master/drivers/rtc/
H A Drtc-wm831x.c118 static int wm831x_rtc_readtime(struct device *dev, struct rtc_time *tm) argument
154 rtc_time64_to_tm(time, tm);
168 static int wm831x_rtc_settime(struct device *dev, struct rtc_time *tm) argument
177 time = rtc_tm_to_time64(tm);
H A Drtc-cpcap.c91 static int cpcap_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
113 cpcap2rtc_time(tm, &cpcap_tm);
118 static int cpcap_rtc_set_time(struct device *dev, struct rtc_time *tm) argument
126 rtc2cpcap_time(&cpcap_tm, tm);
H A Drtc-mc13xxx.c60 static int mc13xxx_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
84 rtc_time64_to_tm((time64_t)days1 * SEC_PER_DAY + seconds, tm);
89 static int mc13xxx_rtc_set_time(struct device *dev, struct rtc_time *tm) argument
96 days = div_s64_rem(rtc_tm_to_time64(tm), SEC_PER_DAY, &seconds);
H A Drtc-mxc_v2.c135 * This function reads the current RTC time into tm in Gregorian date.
137 * @param tm contains the RTC time value upon return
141 static int mxc_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
149 rtc_time64_to_tm(now, tm);
157 * This function sets the internal RTC time based on tm in Gregorian date.
159 * @param tm the time value to be set in the RTC
163 static int mxc_rtc_set_time(struct device *dev, struct rtc_time *tm) argument
166 time64_t time = rtc_tm_to_time64(tm);
H A Drtc-mpfs.c86 static int mpfs_rtc_readtime(struct device *dev, struct rtc_time *tm) argument
93 rtc_time64_to_tm(time, tm);
98 static int mpfs_rtc_settime(struct device *dev, struct rtc_time *tm) argument
105 time = rtc_tm_to_time64(tm);
H A Drtc-sa1100.c110 static int sa1100_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
114 rtc_time64_to_tm(readl_relaxed(info->rcnr), tm);
118 static int sa1100_rtc_set_time(struct device *dev, struct rtc_time *tm) argument
122 writel_relaxed(rtc_tm_to_time64(tm), info->rcnr);
H A Drtc-ab8500.c61 static int ab8500_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
103 rtc_time64_to_tm(secs, tm);
107 static int ab8500_rtc_set_time(struct device *dev, struct rtc_time *tm) argument
113 secs = rtc_tm_to_time64(tm);
H A Drtc-88pm80x.c99 static int pm80x_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
116 rtc_time64_to_tm(ticks, tm);
120 static int pm80x_rtc_set_time(struct device *dev, struct rtc_time *tm) argument
126 ticks = rtc_tm_to_time64(tm);
H A Drtc-zynqmp.c59 static int xlnx_rtc_set_time(struct device *dev, struct rtc_time *tm) argument
69 new_time = rtc_tm_to_time64(tm) + 1;
86 static int xlnx_rtc_read_time(struct device *dev, struct rtc_time *tm) argument
110 rtc_time64_to_tm(read_time, tm);
/linux-master/tools/perf/jvmti/
H A Djvmti_agent.c134 struct tm tm; local
139 localtime_r(&t, &tm);
147 strftime(str, sizeof(str), JIT_LANG"-jit-%Y%m%d", &tm);
/linux-master/kernel/time/
H A Dtimeconv.c45 * @result: pointer to struct tm variable to receive broken-down time
47 void time64_to_tm(time64_t totalsecs, int offset, struct tm *result)
101 * (*) The numbering of months follows tm more closely and thus,
135 /* Convert to tm's format. */
/linux-master/arch/parisc/math-emu/
H A Dfpudispatch.c1158 u_int rm1, rm2, tm, ra, ta; /* operands */ local
1180 tm = extru(ir, fptmpos, 5) * sizeof(double)/sizeof(u_int);
1181 if (tm == 0)
1229 fpregs[tm] = mtmp.ints.i1;
1230 fpregs[tm+1] = mtmp.ints.i2;
1248 tm = (extru(ir,fptmpos,4) | 0x10 ) << 1; /* get offset */
1249 tm |= extru(ir,fptmpos-4,1); /* add right word offset */
1282 fpregs[tm] = mtmp.ints.i1;
1298 u_int rm1, rm2, tm, ra, ta; /* operands */ local
1318 tm
[all...]

Completed in 344 milliseconds

1234567891011>>