Searched refs:print_bits (Results 1 – 3 of 3) sorted by relevance
/freebsd/usr.sbin/pciconf/ |
H A D | err.c | 112 print_bits(const char *header, struct bit_table *table, uint32_t mask) in print_bits() function 145 print_bits("PCI errors", pci_status, sta & PCI_ERRORS); in list_errors() 154 print_bits("PCI-e errors", pcie_device_status, sta & PCIE_ERRORS); in list_errors() 164 print_bits("Fatal", aer_uc, mask & severity); in list_errors() 165 print_bits("Non-fatal", aer_uc, mask & ~severity); in list_errors() 169 print_bits("Corrected", aer_cor, mask); in list_errors()
|
/freebsd/sbin/ifconfig/ |
H A D | ifconfig_netlink.c | 350 print_bits("IFCAPS", caps, sz_u32, ifcap_bit_names, nitems(ifcap_bit_names)); in print_ifcaps() 358 print_bits("IFCAPS", caps, sz_u32, ifcap_bit_names, nitems(ifcap_bit_names)); in print_ifcaps() 373 print_bits("IFF", &link->ifi_flags, 1, IFFBITS, nitems(IFFBITS)); in status_nl()
|
H A D | ifconfig.c | 1746 print_bits("options", &ifr.ifr_curcap, 1, IFCAPBITS, nitems(IFCAPBITS)); in print_ifcap() 1750 print_bits("capabilities", &ifr.ifr_reqcap, 1, IFCAPBITS, nitems(IFCAPBITS)); in print_ifcap() 1839 print_bits("flags", &ifa->ifa_flags, 1, IFFBITS, nitems(IFFBITS)); in status() 1926 print_bits(const char *btype, uint32_t *v, const int v_count, in print_bits() function
|