| /openbsd/src/sys/arch/alpha/alpha/ |
| D | dec_eb164.c | 95 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 …]
|
| D | dec_alphabook1.c | 98 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()
|
| D | dec_kn20aa.c | 100 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()
|
| D | dec_eb64plus.c | 100 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()
|
| D | dec_3000_300.c | 95 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()
|
| D | dec_3000_500.c | 114 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()
|
| D | dec_kn300.c | 143 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()
|
| D | dec_1000a.c | 147 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()
|
| D | dec_550.c | 101 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()
|
| D | api_up1000.c | 100 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()
|
| D | dec_axppci_33.c | 145 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()
|
| D | dec_2100_a50.c | 120 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()
|
| D | dec_6600.c | 120 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/ |
| D | intel_guc_ct.c | 160 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/ |
| D | i915_gpu_error.c | 715 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 …]
|
| D | i915_gpu_error.h | 182 struct intel_ctb_coredump ctb[2]; member
|
| /openbsd/src/sys/arch/alpha/include/ |
| D | rpb.h | 344 struct ctb { struct
|