Lines Matching refs:buf
521 char buf[8]; in cap_vc() local
538 TABLE(ref_clocks, BITS(cr1, 8, 2), buf), in cap_vc()
547 printf("\n\t\tCtrl:\tArbSelect=%s\n", TABLE(arb_selects, BITS(ctrl, 1, 3), buf)); in cap_vc()
587 TABLE(vc_arb_selects, BITS(rctrl, 17, 3), buf), in cap_vc()
606 char buf[8]; in cap_rclink() local
620 TABLE(elt_types, BITS(esd, 0, 8), buf)); in cap_rclink()
773 char buf[48]; in cap_phy_32gt() local
801 TABLE(mod_ts_modes, PCI_32GT_CTL_MOD_TS_MODE(ctl), buf)); in cap_phy_32gt()
811 TABLE(enh_link_ctl, PCI_32GT_STATUS_RCV_ENH_LINK(status), buf), in cap_phy_32gt()
1622 static const char *offstr(char *buf, u32 off) in offstr() argument
1627 sprintf(buf, "[%x]", off); in offstr()
1628 return buf; in offstr()
1631 static const char *ide_alg(char *buf, size_t len, u32 l) in ide_alg() argument
1636 snprintf(buf, len, "%s", algo[l]); in ide_alg()
1638 snprintf(buf, len, "%s", "reserved"); in ide_alg()
1639 return buf; in ide_alg()
1834 static const char *link_width_str(char *buf, size_t buflen, int width) in link_width_str() argument
1851 snprintf(buf, buflen, "Unknown (%d)", width); in link_width_str()
1852 return buf; in link_width_str()
1861 char buf[16]; in cap_dev3() local
1899 link_width_str(buf, sizeof(buf), PCI_DEV3_DEVCTL3_TARGET_LINK_WIDTH(devctl3)), in cap_dev3()
1908 link_width_str(buf, sizeof(buf), PCI_DEV3_DEVSTA3_INIT_LINK_WIDTH(devsta3)), in cap_dev3()