Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/net/smc/
Dsmc_clc.c1018 struct smc_clc_msg_accept_confirm *clc; in smc_clc_send_confirm_accept() local
1026 clc = (struct smc_clc_msg_accept_confirm *)clc_v2; in smc_clc_send_confirm_accept()
1027 clc->hdr.version = version; /* SMC version */ in smc_clc_send_confirm_accept()
1029 clc->hdr.typev2 |= SMC_FIRST_CONTACT_MASK; in smc_clc_send_confirm_accept()
1032 memcpy(clc->hdr.eyecatcher, SMCD_EYECATCHER, in smc_clc_send_confirm_accept()
1034 clc->hdr.typev1 = SMC_TYPE_D; in smc_clc_send_confirm_accept()
1035 clc->d0.gid = htonll(smcd->ops->get_local_gid(smcd)); in smc_clc_send_confirm_accept()
1036 clc->d0.token = htonll(conn->rmb_desc->token); in smc_clc_send_confirm_accept()
1037 clc->d0.dmbe_size = conn->rmbe_size_comp; in smc_clc_send_confirm_accept()
1038 clc->d0.dmbe_idx = 0; in smc_clc_send_confirm_accept()
[all …]
Daf_smc.c678 struct smc_clc_msg_accept_confirm *clc) in smc_conn_save_peer_info_fce() argument
681 (struct smc_clc_msg_accept_confirm_v2 *)clc; in smc_conn_save_peer_info_fce()
685 if (clc->hdr.version == SMC_V1 || in smc_conn_save_peer_info_fce()
686 !(clc->hdr.typev2 & SMC_FIRST_CONTACT_MASK)) in smc_conn_save_peer_info_fce()
709 struct smc_clc_msg_accept_confirm *clc) in smcr_conn_save_peer_info() argument
711 int bufsize = smc_uncompress_bufsize(clc->r0.rmbe_size); in smcr_conn_save_peer_info()
713 smc->conn.peer_rmbe_idx = clc->r0.rmbe_idx; in smcr_conn_save_peer_info()
714 smc->conn.local_tx_ctrl.token = ntohl(clc->r0.rmbe_alert_token); in smcr_conn_save_peer_info()
721 struct smc_clc_msg_accept_confirm *clc) in smcd_conn_save_peer_info() argument
723 int bufsize = smc_uncompress_bufsize(clc->d0.dmbe_size); in smcd_conn_save_peer_info()
[all …]
Dsmc_core.h554 struct smc_clc_msg_accept_confirm *clc);
Dsmc_core.c2565 struct smc_clc_msg_accept_confirm *clc) in smc_rmb_rtoken_handling() argument
2567 conn->rtoken_idx = smc_rtoken_add(lnk, clc->r0.rmb_dma_addr, in smc_rmb_rtoken_handling()
2568 clc->r0.rmb_rkey); in smc_rmb_rtoken_handling()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.c371 const struct mt7921_clc *clc; in mt7921_load_clc() local
423 for (offset = 0; offset < len; offset += le32_to_cpu(clc->len)) { in mt7921_load_clc()
424 clc = (const struct mt7921_clc *)(clc_base + offset); in mt7921_load_clc()
427 if (phy->clc[clc->idx]) in mt7921_load_clc()
431 if (clc->idx == MT7921_CLC_POWER && in mt7921_load_clc()
432 u8_get_bits(clc->type, MT_EE_HW_TYPE_ENCAP) != hw_encap) in mt7921_load_clc()
435 phy->clc[clc->idx] = devm_kmemdup(mdev->dev, clc, in mt7921_load_clc()
436 le32_to_cpu(clc->len), in mt7921_load_clc()
439 if (!phy->clc[clc->idx]) { in mt7921_load_clc()
1123 struct mt7921_clc *clc, in __mt7921_mcu_set_clc() argument
[all …]
/linux-6.6.21/arch/x86/kernel/
Dhpet.c1285 uint64_t clc; in hpet_rtc_timer_init() local
1287 clc = (uint64_t) evt->mult * NSEC_PER_SEC; in hpet_rtc_timer_init()
1288 clc >>= evt->shift + DEFAULT_RTC_SHIFT; in hpet_rtc_timer_init()
1289 hpet_default_delta = clc; in hpet_rtc_timer_init()
1374 uint64_t clc; in hpet_set_periodic_freq() local
1384 clc = (uint64_t) evt->mult * NSEC_PER_SEC; in hpet_set_periodic_freq()
1385 do_div(clc, freq); in hpet_set_periodic_freq()
1386 clc >>= evt->shift; in hpet_set_periodic_freq()
1387 hpet_pie_delta = clc; in hpet_set_periodic_freq()
/linux-6.6.21/arch/x86/lib/
Dcsum-copy_64.S61 clc
138 clc
168 clc
/linux-6.6.21/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.6.21/net/sched/
Dsch_drr.c41 struct Qdisc_class_common *clc; in drr_find_class() local
43 clc = qdisc_class_find(&q->clhash, classid); in drr_find_class()
44 if (clc == NULL) in drr_find_class()
46 return container_of(clc, struct drr_class, common); in drr_find_class()
Dsch_qfq.c208 struct Qdisc_class_common *clc; in qfq_find_class() local
210 clc = qdisc_class_find(&q->clhash, classid); in qfq_find_class()
211 if (clc == NULL) in qfq_find_class()
213 return container_of(clc, struct qfq_class, common); in qfq_find_class()
Dsch_hfsc.c866 struct Qdisc_class_common *clc; in hfsc_find_class() local
868 clc = qdisc_class_find(&q->clhash, classid); in hfsc_find_class()
869 if (clc == NULL) in hfsc_find_class()
871 return container_of(clc, struct hfsc_class, cl_common); in hfsc_find_class()
Dsch_htb.c189 struct Qdisc_class_common *clc; in htb_find() local
191 clc = qdisc_class_find(&q->clhash, handle); in htb_find()
192 if (clc == NULL) in htb_find()
194 return container_of(clc, struct htb_class, common); in htb_find()
/linux-6.6.21/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.6.21/arch/x86/math-emu/
Ddiv_Xsig.S115 clc
Dreg_u_div.S399 clc
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt792x.h121 void *clc[MT792x_CLC_MAX_NUM]; member
/linux-6.6.21/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.6.21/arch/s390/tools/
Dopcodes.txt721 d5 clc SS_L0RDRD