Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/net/smc/
Dsmc_clc.c985 struct smc_clc_msg_accept_confirm *clc; in smc_clc_send_confirm_accept() local
994 clc = (struct smc_clc_msg_accept_confirm *)clc_v2; in smc_clc_send_confirm_accept()
995 clc->hdr.version = version; /* SMC version */ in smc_clc_send_confirm_accept()
997 clc->hdr.typev2 |= SMC_FIRST_CONTACT_MASK; in smc_clc_send_confirm_accept()
1000 memcpy(clc->hdr.eyecatcher, SMCD_EYECATCHER, in smc_clc_send_confirm_accept()
1002 clc->hdr.typev1 = SMC_TYPE_D; in smc_clc_send_confirm_accept()
1003 clc->d0.gid = conn->lgr->smcd->local_gid; in smc_clc_send_confirm_accept()
1004 clc->d0.token = conn->rmb_desc->token; in smc_clc_send_confirm_accept()
1005 clc->d0.dmbe_size = conn->rmbe_size_short; in smc_clc_send_confirm_accept()
1006 clc->d0.dmbe_idx = 0; in smc_clc_send_confirm_accept()
[all …]
Daf_smc.c628 struct smc_clc_msg_accept_confirm *clc) in smc_conn_save_peer_info_fce() argument
631 (struct smc_clc_msg_accept_confirm_v2 *)clc; in smc_conn_save_peer_info_fce()
635 if (clc->hdr.version == SMC_V1 || in smc_conn_save_peer_info_fce()
636 !(clc->hdr.typev2 & SMC_FIRST_CONTACT_MASK)) in smc_conn_save_peer_info_fce()
659 struct smc_clc_msg_accept_confirm *clc) in smcr_conn_save_peer_info() argument
661 int bufsize = smc_uncompress_bufsize(clc->r0.rmbe_size); in smcr_conn_save_peer_info()
663 smc->conn.peer_rmbe_idx = clc->r0.rmbe_idx; in smcr_conn_save_peer_info()
664 smc->conn.local_tx_ctrl.token = ntohl(clc->r0.rmbe_alert_token); in smcr_conn_save_peer_info()
671 struct smc_clc_msg_accept_confirm *clc) in smcd_conn_save_peer_info() argument
673 int bufsize = smc_uncompress_bufsize(clc->d0.dmbe_size); in smcd_conn_save_peer_info()
[all …]
Dsmc_core.h523 struct smc_clc_msg_accept_confirm *clc);
Dsmc_core.c2548 struct smc_clc_msg_accept_confirm *clc) in smc_rmb_rtoken_handling() argument
2550 conn->rtoken_idx = smc_rtoken_add(lnk, clc->r0.rmb_dma_addr, in smc_rmb_rtoken_handling()
2551 clc->r0.rmb_rkey); in smc_rmb_rtoken_handling()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.c388 const struct mt7921_clc *clc; in mt7921_load_clc() local
440 for (offset = 0; offset < len; offset += le32_to_cpu(clc->len)) { in mt7921_load_clc()
441 clc = (const struct mt7921_clc *)(clc_base + offset); in mt7921_load_clc()
444 if (phy->clc[clc->idx]) in mt7921_load_clc()
448 if (clc->idx == MT7921_CLC_POWER && in mt7921_load_clc()
449 u8_get_bits(clc->type, MT_EE_HW_TYPE_ENCAP) != hw_encap) in mt7921_load_clc()
452 phy->clc[clc->idx] = devm_kmemdup(mdev->dev, clc, in mt7921_load_clc()
453 le32_to_cpu(clc->len), in mt7921_load_clc()
456 if (!phy->clc[clc->idx]) { in mt7921_load_clc()
1052 struct mt7921_clc *clc, in __mt7921_mcu_set_clc() argument
[all …]
Dmt7921.h202 struct mt7921_clc *clc[MT7921_CLC_MAX_NUM]; member
/linux-6.1.9/arch/x86/kernel/
Dhpet.c1283 uint64_t clc; in hpet_rtc_timer_init() local
1285 clc = (uint64_t) evt->mult * NSEC_PER_SEC; in hpet_rtc_timer_init()
1286 clc >>= evt->shift + DEFAULT_RTC_SHIFT; in hpet_rtc_timer_init()
1287 hpet_default_delta = clc; in hpet_rtc_timer_init()
1372 uint64_t clc; in hpet_set_periodic_freq() local
1382 clc = (uint64_t) evt->mult * NSEC_PER_SEC; in hpet_set_periodic_freq()
1383 do_div(clc, freq); in hpet_set_periodic_freq()
1384 clc >>= evt->shift; in hpet_set_periodic_freq()
1385 hpet_pie_delta = clc; in hpet_set_periodic_freq()
/linux-6.1.9/arch/x86/lib/
Dcsum-copy_64.S61 clc
138 clc
168 clc
/linux-6.1.9/drivers/clocksource/
Dbcm_kona_timer.c91 static int kona_timer_set_next_event(unsigned long clc, in kona_timer_set_next_event() argument
113 writel(lsw + clc, timers.tmr_regs + KONA_GPTIMER_STCM0_OFFSET); in kona_timer_set_next_event()
/linux-6.1.9/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_cbq.c167 struct Qdisc_class_common *clc; in cbq_class_lookup() local
169 clc = qdisc_class_find(&q->clhash, classid); in cbq_class_lookup()
170 if (clc == NULL) in cbq_class_lookup()
172 return container_of(clc, struct cbq_class, common); in cbq_class_lookup()
Dsch_htb.c190 struct Qdisc_class_common *clc; in htb_find() local
192 clc = qdisc_class_find(&q->clhash, handle); in htb_find()
193 if (clc == NULL) in htb_find()
195 return container_of(clc, struct htb_class, common); in htb_find()
/linux-6.1.9/arch/s390/boot/
Dhead.S66 clc 0(3,%r4),0(%r13) # if it is HDRx
69 clc 0(3,%r4),0(%r13) # if it is EOFx
91 clc 0(3,%r2),0(%r13)
94 clc 0(3,%r2),0(%r13)
/linux-6.1.9/arch/x86/math-emu/
Ddiv_Xsig.S115 clc
Dreg_u_div.S399 clc
/linux-6.1.9/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-6.1.9/arch/s390/tools/
Dopcodes.txt721 d5 clc SS_L0RDRD