Home
last modified time | relevance | path

Searched refs:cpu_to_le16 (Results 1 – 7 of 7) sorted by relevance

/pciutils/lib/
H A Di386-ports.c90 (class == cpu_to_le16(PCI_CLASS_BRIDGE_HOST) || class == cpu_to_le16(PCI_CLASS_DISPLAY_VGA)) || in intel_sanity_check()
92 (vendor == cpu_to_le16(PCI_VENDOR_ID_INTEL) || vendor == cpu_to_le16(PCI_VENDOR_ID_COMPAQ))) in intel_sanity_check()
155 ((u16 *) buf)[0] = cpu_to_le16(intel_inw(addr)); in conf1_read()
249 ((u16 *) buf)[0] = cpu_to_le16(intel_inw(addr)); in conf2_read()
H A Dsysdep.h44 #define cpu_to_le16 __cpu_to_le16 macro
109 #define cpu_to_le16 swab16 macro
127 #define cpu_to_le16(x) (x) macro
H A Dnbsd-libpci.c91 *(u16*)buf = cpu_to_le16(val >> shift); in nbsd_read()
H A Dsylixos-device.c91 ((u16 *) buf)[0] = cpu_to_le16(data_word); in sylixos_read()
H A Ddarwin.c146 ((u16 *) buf)[0] = cpu_to_le16((u16) param.value); in darwin_read()
H A Daccess.c160 word buf = cpu_to_le16(data); in pci_write_word()
H A Dfbsd-device.c290 ((u16 *) buf)[0] = cpu_to_le16((u16) pi.pi_data); in fbsd_read()