Home
last modified time | relevance | path

Searched refs:BITX (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/i86pc/sys/
H A Dhpet_acpi.h140 #define HPET_GCAP_VENDOR_ID(l) BITX(l, 31, 16)
141 #define HPET_GCAP_LEG_ROUTE_CAP(l) BITX(l, 15, 15)
142 #define HPET_GCAP_CNT_SIZE_CAP(l) BITX(l, 13, 13)
143 #define HPET_GCAP_NUM_TIM_CAP(l) BITX(l, 12, 8)
144 #define HPET_GCAP_REV_ID(l) BITX(l, 7, 0)
175 #define HPET_GCFR_LEG_RT_CNF_BITX(l) BITX(l, 1, 1)
176 #define HPET_GCFR_ENABLE_CNF_BITX(l) BITX(l, 0, 0)
181 #define HPET_GIS_T2_INT_STS(l) BITX(l, 2, 2)
182 #define HPET_GIS_T1_INT_STS(l) BITX(l, 1, 1)
183 #define HPET_GIS_T0_INT_STS(l) BITX(l, 0, 0)
[all …]
H A Dimmu.h374 #define RDT_DLM(rdt) BITX((rdt), 10, 8)
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dexpand.c205 if ((family = BITX(vcr->r_eax, 11, 8)) == 0xf) in amd64_config_cpu()
206 family += BITX(vcr->r_eax, 27, 20); in amd64_config_cpu()
208 if ((model = BITX(vcr->r_eax, 7, 4)) == 0xf) in amd64_config_cpu()
209 model += BITX(vcr->r_eax, 19, 16) << 4; in amd64_config_cpu()
210 step = BITX(vcr->r_eax, 3, 0); in amd64_config_cpu()
235 if (BITX(xtdfeatures, 29, 29)) /* long mode */ in amd64_config_cpu()
240 if (!BITX(stdfeatures, 0, 0)) { in amd64_config_cpu()
245 if (!BITX(stdfeatures, 4, 4)) { in amd64_config_cpu()
250 if (!BITX(stdfeatures, 5, 5)) { in amd64_config_cpu()
255 if (!BITX(stdfeatures, 6, 6)) { in amd64_config_cpu()
[all …]
H A Dcpu.h36 #define BITX(u, h, l) (((u) >> (l)) & ((1lu << ((h) - (l) + 1lu)) - 1lu)) macro
/titanic_41/usr/src/lib/libipmi/common/
H A Dipmi_fru.c37 #define BITX(u, h, l) (((u) >> (l)) & ((1LU << ((h) - (l) + 1LU)) - 1LU)) macro
87 cmd_data_in.ifr_offset_lsb = BITX(offset, 7, 0); in ipmi_fru_read()
88 cmd_data_in.ifr_offset_msb = BITX(offset, 15, 8); in ipmi_fru_read()
144 len = BITX(typelen, 5, 0); in ipmi_fru_parse_product()
149 len = BITX(typelen, 5, 0); in ipmi_fru_parse_product()
155 len = BITX(typelen, 5, 0); in ipmi_fru_parse_product()
160 len = BITX(typelen, 5, 0); in ipmi_fru_parse_product()
166 len = BITX(typelen, 5, 0); in ipmi_fru_parse_product()
172 len = BITX(typelen, 5, 0); in ipmi_fru_parse_product()
210 len = BITX(typelen, 5, 0); in ipmi_fru_parse_board()
[all …]
H A Dipmi_util.c40 #define BITX(u, h, l) (((u) >> (l)) & ((1LU << ((h) - (l) + 1LU)) - 1LU)) macro
282 tmp = BITX(*(data+j), 5, 0); in ipmi_decode_string()
285 lo = BITX(*(data+j++), 7, 6); in ipmi_decode_string()
286 tmp = BITX(*(data+j), 3, 0); in ipmi_decode_string()
290 lo = BITX(*(data+j++), 7, 4); in ipmi_decode_string()
291 tmp = BITX(*(data+j), 1, 0); in ipmi_decode_string()
295 tmp = BITX(*(data+j++), 7, 2); in ipmi_decode_string()
300 tmp = BITX(*(data+j), 5, 0); in ipmi_decode_string()
304 tmp = BITX(*(data+j), 5, 0); in ipmi_decode_string()
307 lo = BITX(*(data+j++), 7, 6); in ipmi_decode_string()
[all …]
/titanic_41/usr/src/uts/i86pc/os/
H A Dcpuid.c372 #define CPI_FAMILY_XTD(cpi) BITX((cpi)->cpi_std[1].cp_eax, 27, 20)
373 #define CPI_MODEL_XTD(cpi) BITX((cpi)->cpi_std[1].cp_eax, 19, 16)
374 #define CPI_TYPE(cpi) BITX((cpi)->cpi_std[1].cp_eax, 13, 12)
375 #define CPI_FAMILY(cpi) BITX((cpi)->cpi_std[1].cp_eax, 11, 8)
376 #define CPI_STEP(cpi) BITX((cpi)->cpi_std[1].cp_eax, 3, 0)
377 #define CPI_MODEL(cpi) BITX((cpi)->cpi_std[1].cp_eax, 7, 4)
385 #define CPI_BRANDID(cpi) BITX((cpi)->cpi_std[1].cp_ebx, 7, 0)
386 #define CPI_CHUNKS(cpi) BITX((cpi)->cpi_std[1].cp_ebx, 15, 7)
387 #define CPI_CPU_COUNT(cpi) BITX((cpi)->cpi_std[1].cp_ebx, 23, 16)
388 #define CPI_APIC_ID(cpi) BITX((cpi)->cpi_std[1].cp_ebx, 31, 24)
[all …]
H A Dcpuid_subr.c412 idx = BITX(cp.cp_ebx, 31, 28); in synth_amd_info()
429 if (BITX(val, 8, 8)) { in synth_amd_info()
/titanic_41/usr/src/uts/common/sys/
H A Dbitmap.h189 #define BITX(u, h, l) (((u) >> (l)) & ((1LU << ((h) - (l) + 1LU)) - 1LU)) macro
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxen_machdep.c151 xenver[idx].xv_major = BITX(ver, 31, 16); in xen_set_version()
152 xenver[idx].xv_minor = BITX(ver, 15, 0); in xen_set_version()
/titanic_41/usr/src/uts/i86pc/io/
H A Dimmu_qinv.c49 #define QINV_IQA_HEAD(QH) BITX((QH), 18, 4)