Searched refs:secs (Results 51 - 75 of 110) sorted by relevance

12345

/linux-master/drivers/scsi/
H A Dscsicam.c143 * unsigned int *hds, unsigned int *secs);
147 * the results in *cyls, *hds, and *secs.
176 unsigned int *secs)
201 *secs = (unsigned int) sectors;
175 setsize(unsigned long capacity, unsigned int *cyls, unsigned int *hds, unsigned int *secs) argument
/linux-master/drivers/rtc/
H A Drtc-ep93xx.c67 unsigned long secs = rtc_tm_to_time64(tm); local
69 writel(secs + 1, ep93xx_rtc->mmio_base + EP93XX_RTC_LOAD);
H A Drtc-rzn1.c82 u32 secs; local
85 days = div_s64_rem(time, 86400, &secs);
94 u32 val, secs; local
105 secs = readl(rtc->base + RZN1_RTC_SECC);
106 if (tm->tm_sec != secs)
H A Drtc-brcmstb-waketimer.c76 unsigned int secs)
85 writel_relaxed(secs, timer->base + BRCMSTB_WKTMR_ALARM);
88 while ((int)(secs - now) <= 0 &&
90 secs = now + 1;
91 writel_relaxed(secs, timer->base + BRCMSTB_WKTMR_ALARM);
75 brcmstb_waketmr_set_alarm(struct brcmstb_waketmr *timer, unsigned int secs) argument
H A Dinterface.c25 time64_t secs; local
30 secs = rtc_tm_to_time64(tm);
38 if ((rtc->start_secs > rtc->range_min && secs >= rtc->start_secs) ||
40 secs <= (rtc->start_secs + rtc->range_max - rtc->range_min)))
43 rtc_time64_to_tm(secs + rtc->offset_secs, tm);
48 time64_t secs; local
53 secs = rtc_tm_to_time64(tm);
61 if (secs >= rtc->range_min && secs <= rtc->range_max)
64 rtc_time64_to_tm(secs
[all...]
H A Drtc-lpc32xx.c69 u32 secs = rtc_tm_to_time64(time); local
77 rtc_writel(rtc, LPC32XX_RTC_UCOUNT, secs);
78 rtc_writel(rtc, LPC32XX_RTC_DCOUNT, 0xFFFFFFFF - secs);
H A Drtc-st-lpc.c105 unsigned long long lpt, secs; local
108 secs = rtc_tm_to_time64(tm);
110 lpt = (unsigned long long)secs * rtc->clkrate;
166 /* Now many secs to fire */
/linux-master/drivers/mfd/
H A Dgateworks-gsc.c74 * secs - number of seconds to remain powered off
76 static int gsc_powerdown(struct gsc_dev *gsc, unsigned long secs) argument
82 secs);
84 put_unaligned_le32(secs, regs);
/linux-master/lib/
H A Dtest_lockup.c328 static void test_wait(unsigned int secs, unsigned int nsecs) argument
331 if (secs)
332 mdelay(secs * MSEC_PER_SEC);
342 time = ns_to_ktime((u64)secs * NSEC_PER_SEC + nsecs);
345 schedule_timeout(secs * HZ + nsecs_to_jiffies(nsecs));
/linux-master/fs/affs/
H A Damigaffs.c372 affs_secs_to_datestamp(time64_t secs, struct affs_date *ds) argument
378 secs -= sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA;
379 if (secs < 0)
380 secs = 0;
381 days = div_s64_rem(secs, 86400, &rem);
/linux-master/fs/hpfs/
H A Danode.c399 void hpfs_truncate_btree(struct super_block *s, secno f, int fno, unsigned secs) argument
415 if (!secs) {
430 if (le32_to_cpu(btree->u.internal[i].file_secno) >= secs) goto f;
441 if (btree->u.internal[i].file_secno == cpu_to_le32(secs)) {
455 if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >= secs) goto ff;
459 if (secs <= le32_to_cpu(btree->u.external[i].file_secno)) {
460 hpfs_error(s, "there is an allocation error in file %08x, sector %08x", f, secs);
463 else if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > secs) {
464 hpfs_free_sectors(s, le32_to_cpu(btree->u.external[i].disk_secno) + secs -
466 - secs
[all...]
/linux-master/arch/x86/kernel/cpu/sgx/
H A Dencl.c168 pginfo.secs = (u64)sgx_get_epc_virt_addr(secs_page);
170 pginfo.secs = 0;
245 struct sgx_epc_page *epc_page = encl->secs.epc_page;
248 epc_page = sgx_encl_eldu(&encl->secs, NULL);
270 epc_page = sgx_encl_eldu(entry, encl->secs.epc_page);
388 pginfo.secs = (unsigned long)sgx_get_epc_virt_addr(encl->secs.epc_page);
743 if (!encl->secs_child_cnt && encl->secs.epc_page) {
744 sgx_encl_free_epc_page(encl->secs.epc_page);
745 encl->secs
[all...]
H A Dencl.h59 struct sgx_encl_page secs; member in struct:sgx_encl
H A Dmain.c166 pginfo.secs = 0;
218 ret = __etrack(sgx_get_epc_virt_addr(encl->secs.epc_page));
271 sgx_encl_ewb(encl->secs.epc_page, &secs_backing);
273 sgx_encl_free_epc_page(encl->secs.epc_page);
274 encl->secs.epc_page = NULL;
/linux-master/include/trace/events/
H A Drcu.h766 unsigned long secs, unsigned long c_old, unsigned long c),
768 TP_ARGS(rcutorturename, rhp, secs, c_old, c),
773 __field(unsigned long, secs)
781 __entry->secs = secs;
788 __entry->secs, __entry->c_old, __entry->c)
/linux-master/drivers/net/dsa/microchip/
H A Dlan937x_main.c260 u32 secs = msecs / 1000; local
264 value = FIELD_GET(SW_AGE_PERIOD_7_0_M, secs);
270 value = FIELD_GET(SW_AGE_PERIOD_19_8_M, secs);
/linux-master/kernel/rcu/
H A Dupdate.c517 unsigned long secs,
520 trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c);
524 #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \
516 do_trace_rcu_torture_read(const char *rcutorturename, struct rcu_head *rhp, unsigned long secs, unsigned long c_old, unsigned long c) argument
H A Drcu.h564 unsigned long secs,
578 unsigned long secs,
582 #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi.c292 time_t secs; local
296 secs = (ts.tv_nsec + timeout_ns) / 1000000000;
298 ts.tv_sec += secs;
/linux-master/drivers/watchdog/
H A Dda9063_wdt.c40 static unsigned int da9063_wdt_timeout_to_sel(unsigned int secs) argument
45 if (wdt_timeout[i] >= secs)
H A Dda9062_wdt.c47 static unsigned int da9062_wdt_timeout_to_sel(unsigned int secs) argument
52 if (wdt_timeout[i] >= secs)
H A Dhpwdt.c29 #define SECS_TO_TICKS(secs) ((secs) * 1000 / 128)
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_resource.c224 * @secs: Number of seconds to wait
231 int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs) argument
234 unsigned long err_at = jiffies + secs * HZ;
/linux-master/fs/f2fs/
H A Dgc.c2014 unsigned int secs, bool dry_run)
2023 MAIN_SECS(sbi) -= secs;
2061 MAIN_SECS(sbi) += secs;
2065 static void update_sb_metadata(struct f2fs_sb_info *sbi, int secs) argument
2072 int segs = secs * SEGS_PER_SEC(sbi);
2081 raw_sb->section_count = cpu_to_le32(section_count + secs);
2098 static void update_fs_metadata(struct f2fs_sb_info *sbi, int secs) argument
2100 int segs = secs * SEGS_PER_SEC(sbi);
2107 MAIN_SECS(sbi) += secs;
2108 FREE_I(sbi)->free_sections = (int)FREE_I(sbi)->free_sections + secs;
2013 free_segment_range(struct f2fs_sb_info *sbi, unsigned int secs, bool dry_run) argument
2131 unsigned int secs; local
[all...]
/linux-master/include/xen/interface/
H A Dplatform.h18 * Set clock such that it would read <secs,nsecs> after 00:00:00 UTC,
24 uint32_t secs; member in struct:xenpf_settime32
32 uint64_t secs; member in struct:xenpf_settime64

Completed in 233 milliseconds

12345