Lines Matching refs:BITS
104 if (BITS(lane_err_stat, 0, 1)) in cap_sec()
535 evc_cnt = BITS(cr1, 0, 3); in cap_vc()
537 BITS(cr1, 4, 3), in cap_vc()
538 TABLE(ref_clocks, BITS(cr1, 8, 2), buf), in cap_vc()
539 1 << BITS(cr1, 10, 2)); in cap_vc()
545 arb_table_pos = BITS(cr2, 24, 8); in cap_vc()
547 printf("\n\t\tCtrl:\tArbSelect=%s\n", TABLE(arb_selects, BITS(ctrl, 1, 3), buf)); in cap_vc()
573 pat_pos = BITS(rcap, 24, 8); in cap_vc()
576 BITS(rcap, 16, 7) + 1, in cap_vc()
586 BITS(rctrl, 24, 3), in cap_vc()
587 TABLE(vc_arb_selects, BITS(rctrl, 17, 3), buf), in cap_vc()
588 BITS(rctrl, 0, 8)); in cap_vc()
616 num_links = BITS(esd, 8, 8); in cap_rclink()
618 BITS(esd, 24, 8), in cap_rclink()
619 BITS(esd, 16, 8), in cap_rclink()
620 TABLE(elt_types, BITS(esd, 0, 8), buf)); in cap_rclink()
639 BITS(desc, 24, 8), in cap_rclink()
640 BITS(desc, 16, 8), in cap_rclink()
651 BITS(addr_lo, 20, n), in cap_rclink()
652 BITS(addr_lo, 15, 5), in cap_rclink()
653 BITS(addr_lo, 12, 3), in cap_rclink()
683 if (BITS(bmap, dev, 1)) in cap_rcec()
707 u8 lastbusn = BITS(busn, 16, 8); in cap_rcec()
708 u8 nextbusn = BITS(busn, 8, 8); in cap_rcec()
908 cache_unit_size = BITS(w, 0, 4); in dvsec_cxl_device()
909 cache_size = BITS(w, 8, 8); in dvsec_cxl_device()
1000 unsigned int bir = BITS(lo, 0, 3); in dvsec_cxl_register_locator()
1001 unsigned int block_id = BITS(lo, 8, 8); in dvsec_cxl_register_locator()
1002 u64 base = (BITS(lo, 16, 16) << 16) | ((u64) hi << 32); in dvsec_cxl_register_locator()
1027 time_base = BITS(w, 0, 4); in dvsec_cxl_gpf_device()
1028 time_scale = BITS(w, 8, 4); in dvsec_cxl_gpf_device()
1068 time_base = BITS(w, 0, 4); in dvsec_cxl_gpf_port()
1069 time_scale = BITS(w, 8, 4); in dvsec_cxl_gpf_port()
1099 time_base = BITS(w, 0, 4); in dvsec_cxl_gpf_port()
1100 time_scale = BITS(w, 8, 4); in dvsec_cxl_gpf_port()
1193 data = BITS(l, 0, 24); in dvsec_cxl_flex_bus()
1209 nop = BITS(l, 0, 2); in dvsec_cxl_flex_bus()
1322 u16 vendor = BITS(hdr, 0, 16); in cap_dvsec()
1323 byte rev = BITS(hdr, 16, 4); in cap_dvsec()
1324 u16 len = BITS(hdr, 20, 12); in cap_dvsec()
1349 BITS(hdr, 0, 16), in cap_evendor()
1350 BITS(hdr, 16, 4), in cap_evendor()
1351 BITS(hdr, 20, 12)); in cap_evendor()
1396 printf("\t\t\t PortCommonModeRestoreTime=%dus ", BITS(l1_cap, 8, 8)); in cap_l1pm()
1397 time = l1pm_calc_pwron(BITS(l1_cap, 16, 2), BITS(l1_cap, 19, 5)); in cap_l1pm()
1413 printf("\t\t\t T_CommonMode=%dus", BITS(val, 8, 8)); in cap_l1pm()
1417 scale = BITS(val, 29, 3); in cap_l1pm()
1421 … printf(" LTR1.2_Threshold=%" PCI_U64_FMT_U "ns", BITS(val, 16, 10) * (u64) cap_ltr_scale(scale)); in cap_l1pm()
1430 time = l1pm_calc_pwron(BITS(val, 0, 2), BITS(val, 3, 5)); in cap_l1pm()
1463 clock = BITS(buff, 8, 8); in cap_ptm()
1483 clock = BITS(buff, 8, 8); in cap_ptm()
1551 bar_index = BITS(control_buffer, 0, 3); in cap_rebar()
1552 current_size = BITS(control_buffer, 8, 6); in cap_rebar()
1553 ext_sizes = BITS(control_buffer, 16, 16); in cap_rebar()
1558 num_bars = BITS(control_buffer, 5, 3); in cap_rebar()