Home
last modified time | relevance | path

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

/openbsd/src/sys/arch/alpha/alpha/
Ddec_eb164.c95 struct ctb *ctb; in dec_eb164_cons_init() local
102 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in dec_eb164_cons_init()
104 switch (ctb->ctb_term_type) { in dec_eb164_cons_init()
136 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_eb164_cons_init()
138 (CTB_TURBOSLOT_BUS(ctb->ctb_turboslot) == 0xff && in dec_eb164_cons_init()
139 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot) == 0xff)) in dec_eb164_cons_init()
143 &ccp->cc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_eb164_cons_init()
144 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_eb164_cons_init()
152 (unsigned long)ctb->ctb_term_type); in dec_eb164_cons_init()
154 (unsigned long)ctb->ctb_turboslot); in dec_eb164_cons_init()
[all …]
Ddec_alphabook1.c98 struct ctb *ctb; in dec_alphabook1_cons_init() local
105 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_alphabook1_cons_init()
107 switch (ctb->ctb_term_type) { in dec_alphabook1_cons_init()
133 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_alphabook1_cons_init()
138 &lcp->lc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_alphabook1_cons_init()
139 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_alphabook1_cons_init()
147 (unsigned long)ctb->ctb_term_type); in dec_alphabook1_cons_init()
149 (unsigned long)ctb->ctb_turboslot); in dec_alphabook1_cons_init()
152 (unsigned long)ctb->ctb_term_type); in dec_alphabook1_cons_init()
Ddec_kn20aa.c100 struct ctb *ctb; in dec_kn20aa_cons_init() local
107 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in dec_kn20aa_cons_init()
109 switch (ctb->ctb_term_type) { in dec_kn20aa_cons_init()
135 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_kn20aa_cons_init()
140 &ccp->cc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_kn20aa_cons_init()
141 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_kn20aa_cons_init()
149 (unsigned long)ctb->ctb_term_type); in dec_kn20aa_cons_init()
151 (unsigned long)ctb->ctb_turboslot); in dec_kn20aa_cons_init()
154 (unsigned long)ctb->ctb_term_type); in dec_kn20aa_cons_init()
Ddec_eb64plus.c100 struct ctb *ctb; in dec_eb64plus_cons_init() local
107 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in dec_eb64plus_cons_init()
109 switch (ctb->ctb_term_type) { in dec_eb64plus_cons_init()
135 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_eb64plus_cons_init()
140 &acp->ac_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_eb64plus_cons_init()
141 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_eb64plus_cons_init()
149 (unsigned long)ctb->ctb_term_type); in dec_eb64plus_cons_init()
151 (unsigned long)ctb->ctb_turboslot); in dec_eb64plus_cons_init()
154 (unsigned long)ctb->ctb_term_type); in dec_eb64plus_cons_init()
Ddec_3000_300.c95 struct ctb *ctb; in dec_3000_300_cons_init() local
97 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in dec_3000_300_cons_init()
99 switch (ctb->ctb_term_type) { in dec_3000_300_cons_init()
106 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot)) == 0) { in dec_3000_300_cons_init()
113 (unsigned long)ctb->ctb_turboslot); in dec_3000_300_cons_init()
141 (unsigned long)ctb->ctb_term_type); in dec_3000_300_cons_init()
143 (unsigned long)ctb->ctb_turboslot); in dec_3000_300_cons_init()
145 (unsigned long)ctb->ctb_term_type); in dec_3000_300_cons_init()
Ddec_3000_500.c114 struct ctb *ctb; in dec_3000_500_cons_init() local
116 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in dec_3000_500_cons_init()
118 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()
132 (unsigned long)ctb->ctb_turboslot); in dec_3000_500_cons_init()
159 (unsigned long)ctb->ctb_term_type); in dec_3000_500_cons_init()
161 (unsigned long)ctb->ctb_turboslot); in dec_3000_500_cons_init()
163 (unsigned long)ctb->ctb_term_type); in dec_3000_500_cons_init()
Ddec_kn300.c143 struct ctb *ctb; in dec_kn300_cons_init() local
150 ctb = (struct ctb *)(((char *)hwrpb) + hwrpb->rpb_ctb_off); in dec_kn300_cons_init()
152 switch (ctb->ctb_term_type) { in dec_kn300_cons_init()
175 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_kn300_cons_init()
180 &ccp->cc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_kn300_cons_init()
181 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_kn300_cons_init()
189 (unsigned long)ctb->ctb_term_type); in dec_kn300_cons_init()
191 (unsigned long)ctb->ctb_turboslot); in dec_kn300_cons_init()
194 (unsigned long)ctb->ctb_term_type); in dec_kn300_cons_init()
Ddec_1000a.c147 struct ctb *ctb; in dec_1000a_cons_init() local
169 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in dec_1000a_cons_init()
171 switch (ctb->ctb_term_type) { in dec_1000a_cons_init()
202 switch (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot)) { in dec_1000a_cons_init()
205 CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_1000a_cons_init()
206 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_1000a_cons_init()
220 (unsigned long)ctb->ctb_term_type); in dec_1000a_cons_init()
222 (unsigned long)ctb->ctb_turboslot); in dec_1000a_cons_init()
225 (unsigned long)ctb->ctb_term_type); in dec_1000a_cons_init()
Ddec_550.c101 struct ctb *ctb; in dec_550_cons_init() local
108 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in dec_550_cons_init()
110 switch (ctb->ctb_term_type) { in dec_550_cons_init()
136 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_550_cons_init()
141 &ccp->cc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_550_cons_init()
142 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_550_cons_init()
150 (unsigned long)ctb->ctb_term_type); in dec_550_cons_init()
152 (unsigned long)ctb->ctb_turboslot); in dec_550_cons_init()
155 (unsigned long)ctb->ctb_term_type); in dec_550_cons_init()
Dapi_up1000.c100 struct ctb *ctb; in api_up1000_cons_init() local
107 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in api_up1000_cons_init()
109 switch (ctb->ctb_term_type) { in api_up1000_cons_init()
135 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in api_up1000_cons_init()
140 &icp->ic_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in api_up1000_cons_init()
141 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in api_up1000_cons_init()
149 (unsigned long)ctb->ctb_term_type); in api_up1000_cons_init()
151 (unsigned long)ctb->ctb_turboslot); in api_up1000_cons_init()
154 (unsigned long)ctb->ctb_term_type); in api_up1000_cons_init()
Ddec_axppci_33.c145 struct ctb *ctb; in dec_axppci_33_cons_init() local
150 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in dec_axppci_33_cons_init()
152 switch (ctb->ctb_term_type) { in dec_axppci_33_cons_init()
178 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_axppci_33_cons_init()
183 &lcp->lc_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_axppci_33_cons_init()
184 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_axppci_33_cons_init()
192 (unsigned long)ctb->ctb_term_type); in dec_axppci_33_cons_init()
194 (unsigned long)ctb->ctb_turboslot); in dec_axppci_33_cons_init()
197 (unsigned long)ctb->ctb_term_type); in dec_axppci_33_cons_init()
Ddec_2100_a50.c120 struct ctb *ctb; in dec_2100_a50_cons_init() local
127 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in dec_2100_a50_cons_init()
129 switch (ctb->ctb_term_type) { in dec_2100_a50_cons_init()
155 if (CTB_TURBOSLOT_TYPE(ctb->ctb_turboslot) == in dec_2100_a50_cons_init()
160 &acp->ac_pc, CTB_TURBOSLOT_BUS(ctb->ctb_turboslot), in dec_2100_a50_cons_init()
161 CTB_TURBOSLOT_SLOT(ctb->ctb_turboslot), 0); in dec_2100_a50_cons_init()
169 (unsigned long)ctb->ctb_term_type); in dec_2100_a50_cons_init()
171 (unsigned long)ctb->ctb_turboslot); in dec_2100_a50_cons_init()
174 (unsigned long)ctb->ctb_term_type); in dec_2100_a50_cons_init()
Ddec_6600.c120 struct ctb *ctb; in dec_6600_cons_init() local
124 ctb = (struct ctb *)(((caddr_t)hwrpb) + hwrpb->rpb_ctb_off); in dec_6600_cons_init()
125 ctbslot = ctb->ctb_turboslot; in dec_6600_cons_init()
132 switch (ctb->ctb_term_type) { in dec_6600_cons_init()
177 (unsigned long)ctb->ctb_term_type, in dec_6600_cons_init()
182 (unsigned long)ctb->ctb_term_type); in dec_6600_cons_init()
/openbsd/src/sys/dev/pci/drm/i915/gt/uc/
Dintel_guc_ct.c160 static void guc_ct_buffer_reset(struct intel_guc_ct_buffer *ctb) in guc_ct_buffer_reset() argument
164 ctb->broken = false; in guc_ct_buffer_reset()
165 ctb->tail = 0; in guc_ct_buffer_reset()
166 ctb->head = 0; in guc_ct_buffer_reset()
167 space = CIRC_SPACE(ctb->tail, ctb->head, ctb->size) - ctb->resv_space; in guc_ct_buffer_reset()
168 atomic_set(&ctb->space, space); in guc_ct_buffer_reset()
170 guc_ct_buffer_desc_init(ctb->desc); in guc_ct_buffer_reset()
173 static void guc_ct_buffer_init(struct intel_guc_ct_buffer *ctb, in guc_ct_buffer_init() argument
179 ctb->desc = desc; in guc_ct_buffer_init()
180 ctb->cmds = cmds; in guc_ct_buffer_init()
[all …]
/openbsd/src/sys/dev/pci/drm/i915/
Di915_gpu_error.c715 const struct intel_ctb_coredump *ctb) in err_print_guc_ctb() argument
717 if (!ctb->size) in err_print_guc_ctb()
721 name, ctb->raw_status, ctb->raw_head, ctb->raw_tail, in err_print_guc_ctb()
722 ctb->head, ctb->tail, ctb->desc_offset, ctb->cmds_offset, ctb->size); in err_print_guc_ctb()
735 err_print_guc_ctb(m, "Send", error_uc->guc.ctb + 0); in err_print_uc()
736 err_print_guc_ctb(m, "Recv", error_uc->guc.ctb + 1); in err_print_uc()
1785 const struct intel_guc_ct_buffer *ctb, in gt_record_guc_ctb() argument
1788 if (!ctb || !ctb->desc) in gt_record_guc_ctb()
1791 saved->raw_status = ctb->desc->status; in gt_record_guc_ctb()
1792 saved->raw_head = ctb->desc->head; in gt_record_guc_ctb()
[all …]
Di915_gpu_error.h182 struct intel_ctb_coredump ctb[2]; member
/openbsd/src/sys/arch/alpha/include/
Drpb.h344 struct ctb { struct