Home
last modified time | relevance | path

Searched refs:clc (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/kernel/time/
Dclockevents.c35 u64 clc = (u64) latch << evt->shift; in cev_delta2ns() local
46 if ((clc >> evt->shift) != (u64)latch) in cev_delta2ns()
47 clc = ~0ULL; in cev_delta2ns()
68 if ((~0ULL - clc > rnd) && in cev_delta2ns()
70 clc += rnd; in cev_delta2ns()
72 do_div(clc, evt->mult); in cev_delta2ns()
75 return clc > 1000 ? clc : 1000; in cev_delta2ns()
235 unsigned long long clc; in clockevents_program_min_delta() local
247 clc = ((unsigned long long) delta * dev->mult) >> dev->shift; in clockevents_program_min_delta()
248 if (dev->set_next_event((unsigned long) clc, dev) == 0) in clockevents_program_min_delta()
[all …]
/Linux-v5.4/arch/x86/lib/
Dcsum-copy_64.S76 clc
150 clc
179 clc
/Linux-v5.4/arch/x86/kernel/
Dhpet.c1092 uint64_t clc; in hpet_rtc_timer_init() local
1094 clc = (uint64_t) evt->mult * NSEC_PER_SEC; in hpet_rtc_timer_init()
1095 clc >>= evt->shift + DEFAULT_RTC_SHIFT; in hpet_rtc_timer_init()
1096 hpet_default_delta = clc; in hpet_rtc_timer_init()
1181 uint64_t clc; in hpet_set_periodic_freq() local
1191 clc = (uint64_t) evt->mult * NSEC_PER_SEC; in hpet_set_periodic_freq()
1192 do_div(clc, freq); in hpet_set_periodic_freq()
1193 clc >>= evt->shift; in hpet_set_periodic_freq()
1194 hpet_pie_delta = clc; in hpet_set_periodic_freq()
/Linux-v5.4/drivers/clocksource/
Dbcm_kona_timer.c101 static int kona_timer_set_next_event(unsigned long clc, in kona_timer_set_next_event() argument
123 writel(lsw + clc, timers.tmr_regs + KONA_GPTIMER_STCM0_OFFSET); in kona_timer_set_next_event()
/Linux-v5.4/net/smc/
Daf_smc.c421 struct smc_clc_msg_accept_confirm *clc) in smcr_conn_save_peer_info() argument
423 int bufsize = smc_uncompress_bufsize(clc->rmbe_size); in smcr_conn_save_peer_info()
425 smc->conn.peer_rmbe_idx = clc->rmbe_idx; in smcr_conn_save_peer_info()
426 smc->conn.local_tx_ctrl.token = ntohl(clc->rmbe_alert_token); in smcr_conn_save_peer_info()
433 struct smc_clc_msg_accept_confirm *clc) in smcd_conn_save_peer_info() argument
435 int bufsize = smc_uncompress_bufsize(clc->dmbe_size); in smcd_conn_save_peer_info()
437 smc->conn.peer_rmbe_idx = clc->dmbe_idx; in smcd_conn_save_peer_info()
438 smc->conn.peer_token = clc->token; in smcd_conn_save_peer_info()
446 struct smc_clc_msg_accept_confirm *clc) in smc_conn_save_peer_info() argument
449 smcd_conn_save_peer_info(smc, clc); in smc_conn_save_peer_info()
[all …]
Dsmc_clc.c42 struct smc_clc_msg_accept_confirm *clc; in smc_clc_msg_hdr_valid() local
71 clc = (struct smc_clc_msg_accept_confirm *)clcm; in smc_clc_msg_hdr_valid()
73 ntohs(clc->hdr.length) != SMCR_CLC_ACCEPT_CONFIRM_LEN) || in smc_clc_msg_hdr_valid()
75 ntohs(clc->hdr.length) != SMCD_CLC_ACCEPT_CONFIRM_LEN)) in smc_clc_msg_hdr_valid()
78 ((u8 *)clc + ntohs(clc->hdr.length) - sizeof(*trl)); in smc_clc_msg_hdr_valid()
Dsmc_core.h295 struct smc_clc_msg_accept_confirm *clc);
Dsmc_core.c1021 struct smc_clc_msg_accept_confirm *clc) in smc_rmb_rtoken_handling() argument
1023 conn->rtoken_idx = smc_rtoken_add(conn->lgr, clc->rmb_dma_addr, in smc_rmb_rtoken_handling()
1024 clc->rmb_rkey); in smc_rmb_rtoken_handling()
/Linux-v5.4/net/sched/
Dsch_drr.c42 struct Qdisc_class_common *clc; in drr_find_class() local
44 clc = qdisc_class_find(&q->clhash, classid); in drr_find_class()
45 if (clc == NULL) in drr_find_class()
47 return container_of(clc, struct drr_class, common); in drr_find_class()
Dsch_qfq.c209 struct Qdisc_class_common *clc; in qfq_find_class() local
211 clc = qdisc_class_find(&q->clhash, classid); in qfq_find_class()
212 if (clc == NULL) in qfq_find_class()
214 return container_of(clc, struct qfq_class, common); in qfq_find_class()
Dsch_hfsc.c867 struct Qdisc_class_common *clc; in hfsc_find_class() local
869 clc = qdisc_class_find(&q->clhash, classid); in hfsc_find_class()
870 if (clc == NULL) in hfsc_find_class()
872 return container_of(clc, struct hfsc_class, cl_common); in hfsc_find_class()
Dsch_htb.c183 struct Qdisc_class_common *clc; in htb_find() local
185 clc = qdisc_class_find(&q->clhash, handle); in htb_find()
186 if (clc == NULL) in htb_find()
188 return container_of(clc, struct htb_class, common); in htb_find()
Dsch_cbq.c168 struct Qdisc_class_common *clc; in cbq_class_lookup() local
170 clc = qdisc_class_find(&q->clhash, classid); in cbq_class_lookup()
171 if (clc == NULL) in cbq_class_lookup()
173 return container_of(clc, struct cbq_class, common); in cbq_class_lookup()
/Linux-v5.4/arch/s390/boot/
Dhead.S185 clc 0(3,%r4),.L_hdr # if it is HDRx
187 clc 0(3,%r4),.L_eof # if it is EOFx
225 clc 0(3,%r2),.L_hdr # skip HDRx and EOFx
227 clc 0(3,%r2),.L_eof
/Linux-v5.4/arch/x86/math-emu/
Ddiv_Xsig.S115 clc
Dreg_u_div.S399 clc
/Linux-v5.4/Documentation/powerpc/
Dhvcs.rst394 adapter. The first vty partner corresponds to the first clc item, the
395 second vty partner to the second clc item, etc.
398 "current_vty" prints the clc of the currently selected partner vty when
401 The current_vty can be changed by writing a valid partner clc to the entry
/Linux-v5.4/arch/s390/kernel/
Dentry.S1157 clc 0(8,%r14),__LC_ASYNC_ENTER_TIMER
1160 0: clc 0(8,%r14),__LC_EXIT_TIMER
1163 1: clc 0(8,%r14),__LC_LAST_UPDATE_TIMER
/Linux-v5.4/arch/s390/tools/
Dopcodes.txt716 d5 clc SS_L0RDRD