Home
last modified time | relevance | path

Searched full:cbr (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCallBrPrepare.cpp60 static void UpdateSSA(DominatorTree &DT, CallBrInst *CBR, CallInst *Intrinsic,
112 if (auto *CBR = dyn_cast<CallBrInst>(BB.getTerminator())) in FindCallBrs() local
113 if (!CBR->getType()->isVoidTy() && !CBR->use_empty()) in FindCallBrs()
114 CBRs.push_back(CBR); in FindCallBrs()
131 for (CallBrInst *CBR : CBRs) in SplitCriticalEdges()
132 for (unsigned i = 1, e = CBR->getNumSuccessors(); i != e; ++i) in SplitCriticalEdges()
133 if (CBR->getSuccessor(i) == CBR->getSuccessor(0) || in SplitCriticalEdges()
134 isCriticalEdge(CBR, i, /*AllowIdenticalEdges*/ true)) in SplitCriticalEdges()
135 if (SplitKnownCriticalEdge(CBR, i, Options)) in SplitCriticalEdges()
144 for (CallBrInst *CBR : CBRs) { in InsertIntrinsicCalls()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_prop.c316 dsl_prop_cb_record_t *cbr; in dsl_prop_register() local
326 cbr = kmem_alloc(sizeof (dsl_prop_cb_record_t), KM_SLEEP); in dsl_prop_register()
327 cbr->cbr_ds = ds; in dsl_prop_register()
328 cbr->cbr_func = callback; in dsl_prop_register()
329 cbr->cbr_arg = cbarg; in dsl_prop_register()
335 cbr->cbr_pr = pr; in dsl_prop_register()
336 list_insert_head(&pr->pr_cbs, cbr); in dsl_prop_register()
337 list_insert_head(&ds->ds_prop_cbs, cbr); in dsl_prop_register()
340 cbr->cbr_func(cbr->cbr_arg, value); in dsl_prop_register()
479 dsl_prop_cb_record_t *cbr; in dsl_prop_unregister() local
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mips/brcm/
H A Dsoc.yaml58 brcm,bmips-cbr-reg:
59 description: Reference address of the CBR.
60 Some SoC suffer from a BUG where CBR(Core Base Register)
64 The CBR address is always the same on the SoC hence it
89 - brcm,bmips-cbr-reg
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-time.c176 uint32_t cbr; in query_cbr_null() local
182 errcode = pt_time_query_cbr(&cbr, NULL); in query_cbr_null()
190 uint32_t cbr; in query_cbr_none() local
193 errcode = pt_time_query_cbr(&cbr, &tfix->time); in query_cbr_none()
279 static struct ptunit_result cbr(struct time_fixture *tfix) in cbr() function
282 uint32_t cbr; in cbr() local
290 errcode = pt_time_query_cbr(&cbr, &tfix->time); in cbr()
293 ptu_uint_eq(cbr, 0x38); in cbr()
390 ptu_run_f(suite, cbr, tfix); in main()
H A Dptunit-block_decoder.c256 uint32_t cbr; in cbr_null() local
259 errcode = pt_blk_core_bus_ratio(NULL, &cbr); in cbr_null()
H A Dptunit-insn_decoder.c256 uint32_t cbr; in cbr_null() local
259 errcode = pt_insn_core_bus_ratio(NULL, &cbr); in cbr_null()
H A Dptunit-query.c2109 uint32_t cbr; in cbr_null() local
2118 errcode = pt_qry_core_bus_ratio(NULL, &cbr); in cbr_null()
2127 uint32_t cbr; in cbr_initial() local
2130 errcode = pt_qry_core_bus_ratio(decoder, &cbr); in cbr_initial()
2136 static struct ptunit_result cbr(struct ptu_decoder_fixture *dfix) in cbr() function
2139 uint32_t cbr; in cbr() local
2143 decoder->last_time.cbr = 42; in cbr()
2145 errcode = pt_qry_core_bus_ratio(decoder, &cbr); in cbr()
2147 ptu_uint_eq(cbr, 42); in cbr()
2866 ptu_run_f(suite, cbr, dfix_empty); in main()
H A Dptunit-packet.c323 static struct ptunit_result cbr(struct packet_fixture *pfix) in cbr() function
326 pfix->packet[0].payload.cbr.ratio = 0x23; in cbr()
613 ptu_run_f(suite, cbr, pfix); in main()
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_time.c65 int pt_time_query_cbr(uint32_t *cbr, const struct pt_time *time) in pt_time_query_cbr() argument
67 if (!cbr || !time) in pt_time_query_cbr()
73 *cbr = time->cbr; in pt_time_query_cbr()
157 uint8_t cbr; in pt_time_update_cbr() local
164 cbr = packet->ratio; in pt_time_update_cbr()
165 if (!cbr) in pt_time_update_cbr()
169 time->cbr = cbr; in pt_time_update_cbr()
571 /* A CBR outside of PSB+ indicates a frequency change. Reset our in pt_tcal_update_cbr()
583 uint64_t cbr, p1, fcr; in pt_tcal_header_cbr() local
593 cbr = packet->ratio; in pt_tcal_header_cbr()
[all …]
H A Dpt_encoder.c448 *pos++ = packet->payload.cbr.ratio; in pt_enc_next()
851 int pt_encode_cbr(struct pt_encoder *encoder, uint8_t cbr) in pt_encode_cbr() argument
856 packet.payload.cbr.ratio = cbr; in pt_encode_cbr()
H A Dpt_query_decoder.c960 int pt_qry_core_bus_ratio(struct pt_query_decoder *decoder, uint32_t *cbr) in pt_qry_core_bus_ratio() argument
962 if (!decoder || !cbr) in pt_qry_core_bus_ratio()
965 return pt_time_query_cbr(cbr, &decoder->last_time); in pt_qry_core_bus_ratio()
2252 &packet.payload.cbr, in skd010_scan_for_ovf_resume()
2481 &packet.payload.cbr, in apl12_resume_disabled()
2540 * This will drop any CBR or MTC events. We will update @decoder's timing state
2541 * on CBR but drop the event.
2674 &packet.payload.cbr, in apl11_apply()
2722 * This will drop any CBR or MTC events. We will update @decoder's timing state
2723 * on CBR but drop the event.
[all …]
H A Dpt_insn_decoder.c426 int pt_insn_core_bus_ratio(struct pt_insn_decoder *decoder, uint32_t *cbr) in pt_insn_core_bus_ratio() argument
428 if (!decoder || !cbr) in pt_insn_core_bus_ratio()
431 return pt_qry_core_bus_ratio(&decoder->query, cbr); in pt_insn_core_bus_ratio()
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_time.h66 uint8_t cbr; member
71 /* A flag saying whether we have seen a CBR packet. */
100 * Provides the core:bus ratio in @cbr.
103 * Returns -pte_internal if @cbr or @time is NULL.
104 * Returns -pte_no_cbr if there has not been a CBR packet.
106 extern int pt_time_query_cbr(uint32_t *cbr, const struct pt_time *time);
200 * Timing calibration takes one CBR or two MTC packets before it can provide
H A Dpt_encoder.h103 /* Encode a Core Bus Ratio (cbr) packet. */
H A Dpt_opcodes.h196 /* The size of a CBR packet's payload in bytes. */
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211reg.h84 #define AR_Q0_CBRCFG 0x08c0 /* CBR configuration */
85 #define AR_Q1_CBRCFG 0x08c4 /* CBR configuration */
86 #define AR_Q2_CBRCFG 0x08c8 /* CBR configuration */
87 #define AR_Q3_CBRCFG 0x08cc /* CBR configuration */
88 #define AR_Q4_CBRCFG 0x08d0 /* CBR configuration */
89 #define AR_Q5_CBRCFG 0x08d4 /* CBR configuration */
90 #define AR_Q6_CBRCFG 0x08d8 /* CBR configuration */
91 #define AR_Q7_CBRCFG 0x08dc /* CBR configuration */
92 #define AR_Q8_CBRCFG 0x08e0 /* CBR configuration */
93 #define AR_Q9_CBRCFG 0x08e4 /* CBR configuration */
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212reg.h101 #define AR_Q0_CBRCFG 0x08c0 /* MAC CBR configuration */
102 #define AR_Q1_CBRCFG 0x08c4 /* MAC CBR configuration */
103 #define AR_Q2_CBRCFG 0x08c8 /* MAC CBR configuration */
104 #define AR_Q3_CBRCFG 0x08cc /* MAC CBR configuration */
105 #define AR_Q4_CBRCFG 0x08d0 /* MAC CBR configuration */
106 #define AR_Q5_CBRCFG 0x08d4 /* MAC CBR configuration */
107 #define AR_Q6_CBRCFG 0x08d8 /* MAC CBR configuration */
108 #define AR_Q7_CBRCFG 0x08dc /* MAC CBR configuration */
109 #define AR_Q8_CBRCFG 0x08e0 /* MAC CBR configuration */
110 #define AR_Q9_CBRCFG 0x08e4 /* MAC CBR configuration */
[all …]
/freebsd/contrib/processor-trace/libipt/include/
H A Dintel-pt.h484 * If not zero, timing calibration will also be able to use CBR
701 /** A CBR packet. */
862 /** Packet: cbr. */
863 struct pt_packet_cbr cbr; member
1447 /** Event: cbr. */
1451 } cbr; member
1641 * On success, provides the current core:bus ratio in \@cbr. The ratio is
1646 * Returns -pte_invalid if \@decoder or \@cbr is NULL.
1647 * Returns -pte_no_cbr if there has not been a CBR packet.
1650 uint32_t *cbr);
[all …]
H A Dintel-pt.h.in484 * If not zero, timing calibration will also be able to use CBR
701 /** A CBR packet. */
862 /** Packet: cbr. */
863 struct pt_packet_cbr cbr; member
1447 /** Event: cbr. */
1451 } cbr; member
1641 * On success, provides the current core:bus ratio in \@cbr. The ratio is
1646 * Returns -pte_invalid if \@decoder or \@cbr is NULL.
1647 * Returns -pte_no_cbr if there has not been a CBR packet.
1650 uint32_t *cbr);
[all …]
/freebsd/sys/dev/hyperv/vmbus/
H A Dvmbus_chan.c337 struct vmbus_chan_br cbr; in vmbus_chan_open() local
351 cbr.cbr = chan->ch_bufring; in vmbus_chan_open()
352 cbr.cbr_paddr = pmap_kextract((vm_offset_t)chan->ch_bufring); in vmbus_chan_open()
353 cbr.cbr_txsz = txbr_size; in vmbus_chan_open()
354 cbr.cbr_rxsz = rxbr_size; in vmbus_chan_open()
356 error = vmbus_chan_open_br(chan, &cbr, udata, udlen, cb, cbarg); in vmbus_chan_open()
378 vmbus_chan_open_br(struct vmbus_channel *chan, const struct vmbus_chan_br *cbr,
396 br = cbr->cbr; in vmbus_chan_open_br()
380 vmbus_chan_open_br(struct vmbus_channel * chan,const struct vmbus_chan_br * cbr,const void * udata,int udlen,vmbus_chan_callback_t cb,void * cbarg) vmbus_chan_open_br() argument
[all...]
/freebsd/sys/dev/hyperv/include/
H A Dvmbus.h118 void *cbr; member
174 const struct vmbus_chan_br *cbr, const void *udata,
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300reg.h264 #define AR_ISR_QCBROVF 0x02000000 // QCU CBR overflow interrupt
265 #define AR_ISR_QCBRURN 0x04000000 // QCU CBR underrun interrupt
346 #define AR_IMR_QCBROVF 0x02000000 // QCU CBR overflow interrupt
347 #define AR_IMR_QCBRURN 0x04000000 // QCU CBR underrun interrupt
480 /* MAC CBR configuration */
483 #define AR_Q_CBRCFG_INTERVAL 0x00FFFFFF // Mask for CBR interval (us)
484 #define AR_Q_CBRCFG_INTERVAL_S 0 // Shift for CBR interval (us)
485 #define AR_Q_CBRCFG_OVF_THRESH 0xFF000000 // Mask for CBR overflow threshold
486 #define AR_Q_CBRCFG_OVF_THRESH_S 24 // Shift for CBR overflow threshold
511 #define AR_Q_MISC_FSP_CBR 1 // CBR
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp699 auto *CBR = cast<CallBase>(R); in cmpOperations() local
700 if (int Res = cmpNumbers(CBL->getCallingConv(), CBR->getCallingConv())) in cmpOperations()
702 if (int Res = cmpAttrs(CBL->getAttributes(), CBR->getAttributes())) in cmpOperations()
704 if (int Res = cmpOperandBundlesSchema(*CBL, *CBR)) in cmpOperations()
/freebsd/contrib/tcpdump/
H A Dgmpls.c124 { 49, "CBR/CBRa"},
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp3034 llvm::CallBrInst *CBR; in EmitAsmStmt() local
3038 CBR = Builder.CreateCallBr(IA, Fallthrough, Transfer, Args); in EmitAsmStmt()
3040 UpdateAsmCallInst(*CBR, HasSideEffect, false, ReadOnly, ReadNone, in EmitAsmStmt()
3048 for (llvm::BasicBlock *Dest : CBR->getIndirectDests()) { in EmitAsmStmt()
3055 CBRRegResults[SynthBB].push_back(CBR); in EmitAsmStmt()
3058 llvm::Value *Tmp = Builder.CreateExtractValue(CBR, j, "asmresult"); in EmitAsmStmt()
3065 CBR->setIndirectDest(i++, SynthBB); in EmitAsmStmt()
3089 for (llvm::BasicBlock *Succ : CBR->getIndirectDests()) { in EmitAsmStmt()

12