/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-bd70528.c | 28 u8 sec; member 58 d->sec &= ~BD70528_MASK_RTC_SEC; in tmday2rtc() 61 d->sec |= bin2bcd(t->tm_sec); in tmday2rtc() 90 t->tm_sec = bcd2bin(r->time.sec & BD70528_MASK_RTC_SEC); in rtc2tm()
|
H A D | rtc-rtd119x.c | 86 u32 sec; in rtd119x_rtc_read_time() local 96 sec = (readl_relaxed(data->base + RTD_RTCSEC) & RTD_RTCSEC_RTCSEC_MASK) >> 1; in rtd119x_rtc_read_time() 99 if (sec == tm->tm_sec) in rtd119x_rtc_read_time()
|
/kernel/linux/linux-6.6/init/ |
H A D | do_mounts.c | 83 int sec; in rootwait_timeout_setup() local 85 if (kstrtoint(str, 0, &sec) || sec < 0) { in rootwait_timeout_setup() 90 if (check_mul_overflow(sec, MSEC_PER_SEC, &root_wait)) { in rootwait_timeout_setup() 465 printk(KERN_INFO "Waiting %d sec before mounting root device...\n", in prepare_namespace()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | falcon.h | 28 void (*wr_init)(struct nvkm_falcon *, u8 port, bool sec, u32 mem_base); 36 enum nvkm_falcon_mem, bool sec, u32 *cmd); 46 enum nvkm_falcon_mem mem_type, u32 mem_base, int len, u16 tag, bool sec); 50 enum nvkm_falcon_mem mem_type, u32 mem_base, int len, bool sec);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | base.c | 41 enum nvkm_falcon_mem mem_type, u32 mem_base, int len, bool sec) in nvkm_falcon_dma_wr() 63 ret = dma->init(falcon, dma_addr, dmalen, mem_type, sec, &cmd); in nvkm_falcon_dma_wr() 160 enum nvkm_falcon_mem mem_type, u32 mem_base, int len, u16 tag, bool sec) in nvkm_falcon_pio_wr() 173 pio->wr_init(falcon, port, sec, mem_base); in nvkm_falcon_pio_wr() 40 nvkm_falcon_dma_wr(struct nvkm_falcon *falcon, const u8 *img, u64 dma_addr, u32 dma_base, enum nvkm_falcon_mem mem_type, u32 mem_base, int len, bool sec) nvkm_falcon_dma_wr() argument 159 nvkm_falcon_pio_wr(struct nvkm_falcon *falcon, const u8 *img, u32 img_base, u8 port, enum nvkm_falcon_mem mem_type, u32 mem_base, int len, u16 tag, bool sec) nvkm_falcon_pio_wr() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | gdth_proc.c | 155 int id, i, j, k, sec, flag; in gdth_show_info() local 544 sec = (int)((u32)ktime_get_real_seconds() - estr->first_stamp); in gdth_show_info() 545 if (sec < 0) sec = 0; in gdth_show_info() 547 sec/3600, sec%3600/60, sec%60, hrec); in gdth_show_info()
|
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | micrel.c | 3465 u32 *sec, u32 *nsec, u16 *seq) in lan8841_ptp_get_tx_ts() 3476 *sec = phy_read_mmd(phydev, 2, LAN8841_PTP_TX_EGRESS_SEC_HI); in lan8841_ptp_get_tx_ts() 3477 *sec = *sec << 16; in lan8841_ptp_get_tx_ts() 3478 *sec = *sec | phy_read_mmd(phydev, 2, LAN8841_PTP_TX_EGRESS_SEC_LO); in lan8841_ptp_get_tx_ts() 3487 u32 sec, nsec; in lan8841_ptp_process_tx_ts() local 3490 while (lan8841_ptp_get_tx_ts(ptp_priv, &sec, &nsec, &seq)) in lan8841_ptp_process_tx_ts() 3491 lan8814_match_tx_skb(ptp_priv, sec, nsec, seq); in lan8841_ptp_process_tx_ts() 3527 s32 sec, nse in lan8841_gpio_process_cap() local 3464 lan8841_ptp_get_tx_ts(struct kszphy_ptp_priv *ptp_priv, u32 *sec, u32 *nsec, u16 *seq) lan8841_ptp_get_tx_ts() argument 3828 lan8841_ptp_set_target(struct kszphy_ptp_priv *ptp_priv, u8 event, s64 sec, u32 nsec) lan8841_ptp_set_target() argument 3867 lan8841_ptp_set_reload(struct kszphy_ptp_priv *ptp_priv, u8 event, s64 sec, u32 nsec) lan8841_ptp_set_reload() argument 4004 s32 sec; lan8841_ptp_adjtime() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 17 #include "sec.h" 148 struct sec_dfx *dfx = &qp_ctx->ctx->sec->debug.dfx; in sec_req_cb() 210 atomic64_inc(&ctx->sec->debug.dfx.send_cnt); in sec_bd_send() 211 atomic64_inc(&ctx->sec->debug.dfx.send_busy_cnt); in sec_bd_send() 222 atomic64_inc(&ctx->sec->debug.dfx.send_cnt); in sec_bd_send() 441 struct sec_dev *sec; in sec_ctx_base_init() local 446 pr_err("Can not create sec qps!\n"); in sec_ctx_base_init() 450 sec = container_of(ctx->qps[0]->qm, struct sec_dev, qm); in sec_ctx_base_init() 451 ctx->sec = sec; in sec_ctx_base_init() [all...] |
/kernel/linux/linux-5.10/kernel/time/ |
H A D | clocksource.c | 137 * Interval: 0.5sec. 1043 u64 sec; in __clocksource_update_freq_scale() local 1059 sec = cs->mask; in __clocksource_update_freq_scale() 1060 do_div(sec, freq); in __clocksource_update_freq_scale() 1061 do_div(sec, scale); in __clocksource_update_freq_scale() 1062 if (!sec) in __clocksource_update_freq_scale() 1063 sec = 1; in __clocksource_update_freq_scale() 1064 else if (sec > 600 && cs->mask > UINT_MAX) in __clocksource_update_freq_scale() 1065 sec = 600; in __clocksource_update_freq_scale() 1068 NSEC_PER_SEC / scale, sec * scal in __clocksource_update_freq_scale() [all...] |
/kernel/linux/linux-6.6/kernel/time/ |
H A D | clocksource.c | 99 * Interval: 0.5sec. 1124 u64 sec; in __clocksource_update_freq_scale() local 1140 sec = cs->mask; in __clocksource_update_freq_scale() 1141 do_div(sec, freq); in __clocksource_update_freq_scale() 1142 do_div(sec, scale); in __clocksource_update_freq_scale() 1143 if (!sec) in __clocksource_update_freq_scale() 1144 sec = 1; in __clocksource_update_freq_scale() 1145 else if (sec > 600 && cs->mask > UINT_MAX) in __clocksource_update_freq_scale() 1146 sec = 600; in __clocksource_update_freq_scale() 1149 NSEC_PER_SEC / scale, sec * scal in __clocksource_update_freq_scale() [all...] |
/kernel/linux/linux-5.10/arch/m68k/emu/ |
H A D | nfblock.c | 68 sector_t sec = bio->bi_iter.bi_sector; in nfhd_submit_bio() local 75 nfhd_read_write(dev->id, 0, dir, sec >> shift, len >> shift, in nfhd_submit_bio() 77 sec += len; in nfhd_submit_bio()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-rtd119x.c | 87 u32 sec; in rtd119x_rtc_read_time() local 97 sec = (readl_relaxed(data->base + RTD_RTCSEC) & RTD_RTCSEC_RTCSEC_MASK) >> 1; in rtd119x_rtc_read_time() 100 if (sec == tm->tm_sec) in rtd119x_rtc_read_time()
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 20 #include "sec.h" 233 struct sec_dfx *dfx = &qp_ctx->ctx->sec->debug.dfx; in sec_req_cb() 289 atomic64_inc(&ctx->sec->debug.dfx.send_cnt); in sec_bd_send() 290 atomic64_inc(&ctx->sec->debug.dfx.send_busy_cnt); in sec_bd_send() 301 atomic64_inc(&ctx->sec->debug.dfx.send_cnt); in sec_bd_send() 588 struct sec_dev *sec; in sec_ctx_base_init() local 593 pr_err("Can not create sec qps!\n"); in sec_ctx_base_init() 597 sec = container_of(ctx->qps[0]->qm, struct sec_dev, qm); in sec_ctx_base_init() 598 ctx->sec = sec; in sec_ctx_base_init() [all...] |
/foundation/resourceschedule/ffrt/src/dfx/log/linux/ |
H A D | log_base.cpp | 42 auto sec = std::to_string(curtime.tm_sec); in GetCurrentTime() local 45 return year + "-" + mon + "-" + day + " " + hour + ":" + min + ":" + sec + "." + ms; in GetCurrentTime()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | log.h | 40 time_t sec = (time_t)tv->tv_sec; in FillpLogGetNowTime() local 41 (void)localtime_r(&sec, nowTime); in FillpLogGetNowTime()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | mca_drv.h | 109 #define slidx_count(slidx, sec) \ 112 slidx_foreach_entry(__pos, &((slidx)->sec)) { __count++; }\
|
/kernel/linux/linux-5.10/arch/m68k/sun3x/ |
H A D | time.c | 50 h->sec = bin2bcd(t->tm_sec); in sun3x_hwclk() 60 t->tm_sec = bcd2bin(h->sec); in sun3x_hwclk()
|
/kernel/linux/linux-6.6/arch/m68k/sun3x/ |
H A D | time.c | 50 h->sec = bin2bcd(t->tm_sec); in sun3x_hwclk() 60 t->tm_sec = bcd2bin(h->sec); in sun3x_hwclk()
|
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | mca_drv.h | 109 #define slidx_count(slidx, sec) \ 112 slidx_foreach_entry(__pos, &((slidx)->sec)) { __count++; }\
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
H A D | pm_netlink.sh | 27 sec=$(date +%s) 28 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX)
|
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/ |
H A D | ishtp-dev.h | 220 static inline unsigned long ishtp_secs_to_jiffies(unsigned long sec) in ishtp_secs_to_jiffies() argument 222 return msecs_to_jiffies(sec * MSEC_PER_SEC); in ishtp_secs_to_jiffies()
|
/kernel/linux/linux-5.10/drivers/input/ |
H A D | input-compat.c | 24 event->input_event_sec = compat_event.sec; in input_event_from_user() 44 compat_event.sec = event->input_event_sec; in input_event_to_user()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | xdp2skb_meta.sh | 189 prio 1 handle 1 bpf da obj $file sec $prog 204 call_ip link set dev $device xdp obj $file sec $prog
|
/kernel/linux/linux-5.10/include/media/ |
H A D | dvb_demux.h | 99 * @feed.ts or @feed.sec. 102 * @feed.sec: a &struct dmx_section_feed pointer. 106 * @cb.ts or @cb.sec. 109 * @cb.sec: a dmx_section_cb() callback function pointer. 133 struct dmx_section_feed sec; member 138 dmx_section_cb sec; member
|
/kernel/linux/linux-5.10/drivers/ptp/ |
H A D | ptp_kvm.c | 68 tspec.tv_sec = clock_pair.sec; in ptp_kvm_get_time_fn() 128 tspec.tv_sec = clock_pair.sec; in ptp_kvm_gettime()
|