Home
last modified time | relevance | path

Searched refs:ctb (Results 1 – 25 of 25) sorted by relevance

/netbsd-src/sys/arch/alpha/alpha/
H A Ddec_2000_300.c125 struct ctb_tt *ctb; in dec_2000_300_cons_init() local
132 ctb = (struct ctb_tt *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_2000_300_cons_init()
143 switch (ctb->ctb_type) { in dec_2000_300_cons_init()
149 printf("CTB CSR = 0x%08lx\n", ctb->ctb_csr); in dec_2000_300_cons_init()
150 printf("CTB BAUD = %lu\n", ctb->ctb_baud); in dec_2000_300_cons_init()
157 DELAY(160000000 / ctb->ctb_baud); in dec_2000_300_cons_init()
160 ctb->ctb_baud, COM_FREQ, COM_TYPE_NORMAL, in dec_2000_300_cons_init()
191 printf("ctb->ctb_type = 0x%lx\n", ctb->ctb_type); in dec_2000_300_cons_init()
192 printf("ctb->ctb_csr = 0x%lx\n", ctb->ctb_csr); in dec_2000_300_cons_init()
193 printf("ctb->ctb_baud = %lu\n", ctb->ctb_baud); in dec_2000_300_cons_init()
[all …]
H A Ddec_alphabook1.c117 struct ctb *ctb; in dec_alphabook1_cons_init() local
124 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_alphabook1_cons_init()
126 switch (ctb->ctb_term_type) { in dec_alphabook1_cons_init()
153 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_alphabook1_cons_init()
158 &lcp->lc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_alphabook1_cons_init()
159 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_alphabook1_cons_init()
166 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_alphabook1_cons_init()
167 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_alphabook1_cons_init()
170 ctb->ctb_term_type); in dec_alphabook1_cons_init()
H A Ddec_eb66.c117 struct ctb *ctb; in dec_eb66_cons_init() local
124 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_eb66_cons_init()
126 switch (ctb->ctb_term_type) { in dec_eb66_cons_init()
153 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_eb66_cons_init()
158 &lcp->lc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_eb66_cons_init()
159 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_eb66_cons_init()
166 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_eb66_cons_init()
167 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_eb66_cons_init()
170 ctb->ctb_term_type); in dec_eb66_cons_init()
H A Ddec_eb64plus.c125 struct ctb *ctb; in dec_eb64plus_cons_init() local
132 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_eb64plus_cons_init()
134 switch (ctb->ctb_term_type) { in dec_eb64plus_cons_init()
161 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_eb64plus_cons_init()
166 &acp->ac_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_eb64plus_cons_init()
167 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_eb64plus_cons_init()
174 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_eb64plus_cons_init()
175 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_eb64plus_cons_init()
178 ctb->ctb_term_type); in dec_eb64plus_cons_init()
H A Ddec_3000_300.c95 struct ctb *ctb; in dec_3000_300_cons_init() local
97 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_3000_300_cons_init()
99 switch (ctb->ctb_term_type) { in dec_3000_300_cons_init()
105 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot)) == 0) { in dec_3000_300_cons_init()
110 printf("TURBOchannel slot 0x%lx.\n", ctb->ctb_turboslot); in dec_3000_300_cons_init()
137 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_3000_300_cons_init()
138 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_3000_300_cons_init()
140 ctb->ctb_term_type); in dec_3000_300_cons_init()
H A Ddec_3000_500.c115 struct ctb *ctb; in dec_3000_500_cons_init() local
117 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_3000_500_cons_init()
119 switch (ctb->ctb_term_type) { in dec_3000_500_cons_init()
125 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot)) == 0) { in dec_3000_500_cons_init()
130 printf("TURBOchannel slot 0x%lx.\n", ctb->ctb_turboslot); in dec_3000_500_cons_init()
157 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_3000_500_cons_init()
158 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_3000_500_cons_init()
160 ctb->ctb_term_type); in dec_3000_500_cons_init()
H A Dapi_up1000.c112 struct ctb *ctb; in api_up1000_cons_init() local
119 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in api_up1000_cons_init()
121 switch (ctb->ctb_term_type) { in api_up1000_cons_init()
148 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in api_up1000_cons_init()
153 &icp->ic_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in api_up1000_cons_init()
154 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in api_up1000_cons_init()
161 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in api_up1000_cons_init()
162 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in api_up1000_cons_init()
165 ctb->ctb_term_type); in api_up1000_cons_init()
H A Ddec_eb164.c117 struct ctb *ctb; in dec_eb164_cons_init() local
124 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_eb164_cons_init()
126 switch (ctb->ctb_term_type) { in dec_eb164_cons_init()
153 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_eb164_cons_init()
158 &ccp->cc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_eb164_cons_init()
159 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_eb164_cons_init()
166 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_eb164_cons_init()
167 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_eb164_cons_init()
170 ctb->ctb_term_type); in dec_eb164_cons_init()
H A Ddec_550.c122 struct ctb *ctb; in dec_550_cons_init() local
129 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_550_cons_init()
131 switch (ctb->ctb_term_type) { in dec_550_cons_init()
158 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_550_cons_init()
163 &ccp->cc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_550_cons_init()
164 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_550_cons_init()
171 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_550_cons_init()
172 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_550_cons_init()
175 ctb->ctb_term_type); in dec_550_cons_init()
H A Ddec_1000a.c165 struct ctb *ctb; in dec_1000a_cons_init() local
187 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_1000a_cons_init()
189 switch (ctb->ctb_term_type) { in dec_1000a_cons_init()
220 switch (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot)) { in dec_1000a_cons_init()
223 CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_1000a_cons_init()
224 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_1000a_cons_init()
237 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_1000a_cons_init()
238 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_1000a_cons_init()
241 ctb->ctb_term_type); in dec_1000a_cons_init()
H A Ddec_kn20aa.c126 struct ctb *ctb; in dec_kn20aa_cons_init() local
133 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_kn20aa_cons_init()
135 switch (ctb->ctb_term_type) { in dec_kn20aa_cons_init()
162 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_kn20aa_cons_init()
167 &ccp->cc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_kn20aa_cons_init()
168 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_kn20aa_cons_init()
175 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_kn20aa_cons_init()
176 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_kn20aa_cons_init()
179 ctb->ctb_term_type); in dec_kn20aa_cons_init()
H A Ddec_axppci_33.c163 struct ctb *ctb; in dec_axppci_33_cons_init() local
168 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_axppci_33_cons_init()
170 switch (ctb->ctb_term_type) { in dec_axppci_33_cons_init()
197 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_axppci_33_cons_init()
202 &lcp->lc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_axppci_33_cons_init()
203 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_axppci_33_cons_init()
210 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_axppci_33_cons_init()
211 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_axppci_33_cons_init()
214 ctb->ctb_term_type); in dec_axppci_33_cons_init()
H A Ddec_2100_a500.c156 struct ctb *ctb; in dec_2100_a500_cons_init() local
160 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_2100_a500_cons_init()
161 ctbslot = ctb->ctb_turboslot; in dec_2100_a500_cons_init()
165 switch (ctb->ctb_term_type) { in dec_2100_a500_cons_init()
227 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_2100_a500_cons_init()
228 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_2100_a500_cons_init()
231 ctb->ctb_term_type); in dec_2100_a500_cons_init()
H A Ddec_kn300.c163 struct ctb *ctb; in dec_kn300_cons_init() local
170 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_kn300_cons_init()
172 switch (ctb->ctb_term_type) { in dec_kn300_cons_init()
196 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_kn300_cons_init()
201 &ccp->cc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_kn300_cons_init()
202 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_kn300_cons_init()
209 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_kn300_cons_init()
210 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_kn300_cons_init()
213 ctb->ctb_term_type); in dec_kn300_cons_init()
H A Ddec_2100_a50.c137 struct ctb *ctb; in dec_2100_a50_cons_init() local
144 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_2100_a50_cons_init()
146 switch (ctb->ctb_term_type) { in dec_2100_a50_cons_init()
173 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_2100_a50_cons_init()
178 &acp->ac_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_2100_a50_cons_init()
179 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_2100_a50_cons_init()
186 printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); in dec_2100_a50_cons_init()
187 printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); in dec_2100_a50_cons_init()
190 ctb->ctb_term_type); in dec_2100_a50_cons_init()
H A Ddec_6600.c149 struct ctb *ctb; in dec_6600_cons_init() local
153 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_6600_cons_init()
154 ctbslot = ctb->ctb_turboslot; in dec_6600_cons_init()
161 switch (ctb->ctb_term_type) { in dec_6600_cons_init()
207 " hose = %ld\n", ctb->ctb_term_type, ctbslot, in dec_6600_cons_init()
211 ctb->ctb_term_type); in dec_6600_cons_init()
/netbsd-src/external/mit/lua/dist/src/
H A Dlobject.h268 #define ttisthread(o) checktag((o), ctb(LUA_VTHREAD))
274 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VTHREAD)); \
307 #define ctb(t) ((t) | BIT_ISCOLLECTABLE) macro
315 val_(io).gc = i_g; settt_(io, ctb(i_g->tt)); }
376 #define ttisshrstring(o) checktag((o), ctb(LUA_VSHRSTR))
377 #define ttislngstring(o) checktag((o), ctb(LUA_VLNGSTR))
385 val_(io).gc = obj2gco(x_); settt_(io, ctb(x_->tt)); \
446 #define ttisfulluserdata(o) checktag((o), ctb(LUA_VUSERDATA))
458 val_(io).gc = obj2gco(x_); settt_(io, ctb(LUA_VUSERDATA)); \
607 #define ttisLclosure(o) checktag((o), ctb(LUA_VLCL))
[all …]
H A Dltable.c241 case ctb(LUA_VLNGSTR): in equalkey()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/uc/
H A Dintel_guc_ct.c297 static int ctb_write(struct intel_guc_ct_buffer *ctb, in ctb_write() argument
303 struct guc_ct_buffer_desc *desc = ctb->desc; in ctb_write()
309 u32 *cmds = ctb->cmds; in ctb_write()
482 struct intel_guc_ct_buffer *ctb = &ct->ctbs[CTB_SEND]; in ct_send() local
483 struct guc_ct_buffer_desc *desc = ctb->desc; in ct_send()
504 err = ctb_write(ctb, action, len, fence, !!response_buf); in ct_send()
587 static int ctb_read(struct intel_guc_ct_buffer *ctb, u32 *data) in ctb_read() argument
589 struct guc_ct_buffer_desc *desc = ctb->desc; in ctb_read()
593 u32 *cmds = ctb->cmds; in ctb_read()
829 struct intel_guc_ct_buffer *ctb = &ct->ctbs[CTB_RECV]; in intel_guc_ct_event_handler() local
[all …]
/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_create.c1193 ctf_bundle_t *ctb = arg; in enumcmp() local
1196 return (ctf_enum_value(ctb->ctb_file, ctb->ctb_type, in enumcmp()
1203 ctf_bundle_t *ctb = arg; in enumadd() local
1205 return (ctf_add_enumerator(ctb->ctb_file, ctb->ctb_type, in enumadd()
1213 ctf_bundle_t *ctb = arg; in membcmp() local
1216 return (ctf_member_info(ctb->ctb_file, ctb->ctb_type, in membcmp()
1223 ctf_bundle_t *ctb = arg; in membadd() local
1228 return (ctf_set_errno(ctb->ctb_file, EAGAIN)); in membadd()
1232 return (ctf_set_errno(ctb->ctb_file, EAGAIN)); in membadd()
1244 ctf_list_append(&ctb->ctb_dtd->dtd_u.dtu_members, dmd); in membadd()
[all …]
/netbsd-src/sys/arch/alpha/pci/
H A Dpci_machdep.c150 struct ctb *ctb; in device_pci_register() local
154 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in device_pci_register()
156 ctb->ctb_term_type == CTB_GRAPHICS) { in device_pci_register()
/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-create.c1428 ctf_bundle_t *ctb = arg; in enumcmp() local
1431 if (ctf_enum_value (ctb->ctb_dict, ctb->ctb_type, name, &bvalue) < 0) in enumcmp()
1433 ctf_err_warn (ctb->ctb_dict, 0, 0, in enumcmp()
1439 ctf_err_warn (ctb->ctb_dict, 1, ECTF_CONFLICT, in enumcmp()
1450 ctf_bundle_t *ctb = arg; in enumadd() local
1452 return (ctf_add_enumerator (ctb->ctb_dict, ctb->ctb_type, in enumadd()
1460 ctf_bundle_t *ctb = arg; in membcmp() local
1468 if (ctf_member_info (ctb->ctb_dict, ctb->ctb_type, name, &ctm) < 0) in membcmp()
1470 ctf_err_warn (ctb->ctb_dict, 0, 0, in membcmp()
1477 ctf_err_warn (ctb->ctb_dict, 1, ECTF_CONFLICT, in membcmp()
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-create.c1398 ctf_bundle_t *ctb = arg; in enumcmp() local
1401 if (ctf_enum_value (ctb->ctb_dict, ctb->ctb_type, name, &bvalue) < 0) in enumcmp()
1403 ctf_err_warn (ctb->ctb_dict, 0, 0, in enumcmp()
1409 ctf_err_warn (ctb->ctb_dict, 1, ECTF_CONFLICT, in enumcmp()
1420 ctf_bundle_t *ctb = arg; in enumadd() local
1422 return (ctf_add_enumerator (ctb->ctb_dict, ctb->ctb_type, in enumadd()
1430 ctf_bundle_t *ctb = arg; in membcmp() local
1438 if (ctf_member_info (ctb->ctb_dict, ctb->ctb_type, name, &ctm) < 0) in membcmp()
1440 ctf_err_warn (ctb->ctb_dict, 0, 0, in membcmp()
1447 ctf_err_warn (ctb->ctb_dict, 1, ECTF_CONFLICT, in membcmp()
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Dpgp-binary-keys208 #>&0 ubyte x (ctb: %x)
264 #>0 ubyte x (ctb: %x)
313 #>&0 ubyte x (ctb: %x)
326 #>0 ubyte x (ctb: %x)
372 #>&0 ubyte x (ctb: %x)
/netbsd-src/sys/arch/alpha/include/
H A Drpb.h368 struct ctb { struct