Home
last modified time | relevance | path

Searched refs:B_LENDIAN_TO_HOST_INT16 (Results 1 – 25 of 33) sorted by relevance

12

/haiku/src/add-ons/kernel/file_systems/ext2/
H A Dext2.h96 uint16 Magic() const { return B_LENDIAN_TO_HOST_INT16(magic); } in Magic()
97 uint16 State() const { return B_LENDIAN_TO_HOST_INT16(state); } in State()
98 uint32 RevisionLevel() const { return B_LENDIAN_TO_HOST_INT16(revision_level); } in RevisionLevel()
123 uint16 InodeSize() const { return B_LENDIAN_TO_HOST_INT16(inode_size); } in InodeSize()
141 { return B_LENDIAN_TO_HOST_INT16(reserved_gdt_blocks); } in ReservedGDTBlocks()
149 { return B_LENDIAN_TO_HOST_INT16(group_descriptor_size); } in GroupDescriptorSize()
281 uint32 blocks = B_LENDIAN_TO_HOST_INT16(free_blocks); in FreeBlocks()
284 ((uint32)B_LENDIAN_TO_HOST_INT16(free_blocks_high) << 16); in FreeBlocks()
289 uint32 inodes = B_LENDIAN_TO_HOST_INT16(free_inodes); in FreeInodes()
292 ((uint32)B_LENDIAN_TO_HOST_INT16(free_inodes_high) << 16); in FreeInodes()
[all …]
H A DHTree.h48 { return B_LENDIAN_TO_HOST_INT16(limit); } in Limit()
50 { return B_LENDIAN_TO_HOST_INT16(count); } in Count()
/haiku/src/add-ons/accelerants/radeon_hd/
H A Dconnector.cpp237 = B_LENDIAN_TO_HOST_INT16(lvdsInfo->info.sLCDTiming.usPixClk) * 10; in connector_read_mode_lvds()
240 = B_LENDIAN_TO_HOST_INT16(lvdsInfo->info.sLCDTiming.usHActive); in connector_read_mode_lvds()
241 timing->h_total = timing->h_display + B_LENDIAN_TO_HOST_INT16( in connector_read_mode_lvds()
244 + B_LENDIAN_TO_HOST_INT16(lvdsInfo->info.sLCDTiming.usHSyncOffset); in connector_read_mode_lvds()
246 + B_LENDIAN_TO_HOST_INT16(lvdsInfo->info.sLCDTiming.usHSyncWidth); in connector_read_mode_lvds()
249 = B_LENDIAN_TO_HOST_INT16(lvdsInfo->info.sLCDTiming.usVActive); in connector_read_mode_lvds()
250 timing->v_total = timing->v_display + B_LENDIAN_TO_HOST_INT16( in connector_read_mode_lvds()
253 + B_LENDIAN_TO_HOST_INT16(lvdsInfo->info.sLCDTiming.usVSyncOffset); in connector_read_mode_lvds()
255 + B_LENDIAN_TO_HOST_INT16(lvdsInfo->info.sLCDTiming.usVSyncWidth); in connector_read_mode_lvds()
260 = B_LENDIAN_TO_HOST_INT16(lvdsInfo->info.usOffDelayInMs); in connector_read_mode_lvds()
[all …]
H A Dpll.cpp100 = B_LENDIAN_TO_HOST_INT16(firmwareInfo->info.usReferenceClock) * 10; in pll_limit_probe()
104 = B_LENDIAN_TO_HOST_INT16( in pll_limit_probe()
118 = B_LENDIAN_TO_HOST_INT16( in pll_limit_probe()
125 = B_LENDIAN_TO_HOST_INT16( in pll_limit_probe()
148 pll->pllInMin = B_LENDIAN_TO_HOST_INT16( in pll_limit_probe()
150 pll->pllInMax = B_LENDIAN_TO_HOST_INT16( in pll_limit_probe()
188 pll->ssPercentage = B_LENDIAN_TO_HOST_INT16( in pll_ppll_ss_probe()
250 pll->ssPercentage = B_LENDIAN_TO_HOST_INT16( in pll_asic_ss_probe()
256 pll->ssRate = B_LENDIAN_TO_HOST_INT16( in pll_asic_ss_probe()
279 pll->ssPercentage = B_LENDIAN_TO_HOST_INT16( in pll_asic_ss_probe()
[all …]
H A Dgpu.cpp78 gInfo->dpExternalClock = B_LENDIAN_TO_HOST_INT16( in radeon_gpu_probe()
83 gInfo->maximumPixelClock = B_LENDIAN_TO_HOST_INT16( in radeon_gpu_probe()
/haiku/src/add-ons/kernel/file_systems/exfat/
H A Dexfat.h74 uint16 Flags() const { return B_LENDIAN_TO_HOST_INT16(flags); } in Flags()
138 { return B_LENDIAN_TO_HOST_INT16(modification_time); } in ModificationTime()
140 { return B_LENDIAN_TO_HOST_INT16(modification_date); } in ModificationDate()
142 { return B_LENDIAN_TO_HOST_INT16(access_time); } in AccessTime()
144 { return B_LENDIAN_TO_HOST_INT16(access_date); } in AccessDate()
146 { return B_LENDIAN_TO_HOST_INT16(creation_time); } in CreationTime()
148 { return B_LENDIAN_TO_HOST_INT16(creation_date); } in CreationDate()
150 { return B_LENDIAN_TO_HOST_INT16(attribs); } in Attribs()
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dencodings.cpp853 if ((B_LENDIAN_TO_HOST_INT16(uni_str[0])&0xff80) == 0)\
854 *str++ = B_LENDIAN_TO_HOST_INT16(*uni_str++);\
855 else if ((B_LENDIAN_TO_HOST_INT16(uni_str[0])&0xf800) == 0) {\
856 str[0] = 0xc0|(B_LENDIAN_TO_HOST_INT16(uni_str[0])>>6);\
857 str[1] = 0x80|(B_LENDIAN_TO_HOST_INT16(*uni_str++)&0x3f);\
859 } else if ((B_LENDIAN_TO_HOST_INT16(uni_str[0])&0xfc00) != 0xd800) {\
860 str[0] = 0xe0|(B_LENDIAN_TO_HOST_INT16(uni_str[0])>>12);\
861 str[1] = 0x80|((B_LENDIAN_TO_HOST_INT16(uni_str[0])>>6)&0x3f);\
862 str[2] = 0x80|(B_LENDIAN_TO_HOST_INT16(*uni_str++)&0x3f);\
866 …val = ((B_LENDIAN_TO_HOST_INT16(uni_str[0])-0xd7c0)<<10) | (B_LENDIAN_TO_HOST_INT16(uni_str[1])&0x…
[all …]
H A Ddosfs.h26 #define read16(buffer, off) B_LENDIAN_TO_HOST_INT16(*(uint16*)&buffer[off])
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfStructures.h95 uint16 type_and_timezone() const { return B_LENDIAN_TO_HOST_INT16(_type_and_timezone); } in type_and_timezone()
110 uint16 year() const { return B_LENDIAN_TO_HOST_INT16(_year); } in year()
396 uint16 partition() const { return B_LENDIAN_TO_HOST_INT16(_partition); } in partition()
509 uint16 flags() const { return B_LENDIAN_TO_HOST_INT16(_accessor().flags); } in flags()
576 uint16 id() const { return B_LENDIAN_TO_HOST_INT16(_id); } in id()
577 uint16 version() const { return B_LENDIAN_TO_HOST_INT16(_version); } in version()
579 uint16 serial_number() const { return B_LENDIAN_TO_HOST_INT16(_serial_number); } in serial_number()
580 uint16 crc() const { return B_LENDIAN_TO_HOST_INT16(_crc); } in crc()
581 uint16 crc_length() const { return B_LENDIAN_TO_HOST_INT16(_crc_length); } in crc_length()
710 uint16 volume_sequence_number() const { return B_LENDIAN_TO_HOST_INT16(_volume_sequence_number); } in volume_sequence_number()
[all …]
/haiku/src/add-ons/kernel/bluetooth/hci/
H A Dacl.cpp55 aclHeader->handle = B_LENDIAN_TO_HOST_INT16(aclHeader->handle); in AclAssembly()
59 uint16 length = B_LENDIAN_TO_HOST_INT16(aclHeader->alen); in AclAssembly()
115 conn->currentRxExpectedLength = B_LENDIAN_TO_HOST_INT16(l2capHeader->length) in AclAssembly()
H A Dbluetooth.cpp142 + B_LENDIAN_TO_HOST_INT16(headerPkt->alen); in Assemble()
/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A Dutility.cpp44 uint16 w1 = B_LENDIAN_TO_HOST_INT16(from[i]); in to_utf8()
56 uint16 w2 = B_LENDIAN_TO_HOST_INT16(from[i + 1]); in to_utf8()
H A DHeader.cpp379 B_LENDIAN_TO_HOST_INT32(id.data1), B_LENDIAN_TO_HOST_INT16(id.data2), in _PrintGUID()
380 B_LENDIAN_TO_HOST_INT16(id.data3), id.data4[0], id.data4[1], in _PrintGUID()
/haiku/src/add-ons/kernel/file_systems/fat/bsd/sys/
H A Dendian.h43 return B_LENDIAN_TO_HOST_INT16(*twoBytes); in le16dec()
/haiku/headers/os/support/
H A DByteOrder.h51 #define B_LENDIAN_TO_HOST_INT16(arg) (uint16)(arg) macro
85 #define B_LENDIAN_TO_HOST_INT16(arg) __swap_int16(arg) macro
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dbtrfs.h197 { return B_LENDIAN_TO_HOST_INT16(stripe_count); } in StripeCount()
199 { return B_LENDIAN_TO_HOST_INT16(sub_stripes); } in SubStripes()
329 uint16 NameLength() const { return B_LENDIAN_TO_HOST_INT16(name_length); } in NameLength()
368 uint16 DataLength() const { return B_LENDIAN_TO_HOST_INT16(data_length); } in DataLength()
369 uint16 NameLength() const { return B_LENDIAN_TO_HOST_INT16(name_length); } in NameLength()
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_command.h15 #define le16toh(x) B_LENDIAN_TO_HOST_INT16(x)
/haiku/src/system/boot/loader/file_systems/fat/
H A DDirectory.cpp66 uint32 c = B_LENDIAN_TO_HOST_INT16(fClusterLSB); in Cluster()
68 c += ((uint32)B_LENDIAN_TO_HOST_INT16(fClusterMSB) << 16); in Cluster()
166 uint16 c = B_LENDIAN_TO_HOST_INT16(utf16[i]); in ConvertNameToUTF8()
184 uint16 c2 = B_LENDIAN_TO_HOST_INT16(utf16[++i]); in ConvertNameToUTF8()
/haiku/src/libs/icon/flat_icon/
H A DLittleEndianBuffer.cpp197 value = B_LENDIAN_TO_HOST_INT16(*(uint16*)fHandle); in Read()
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DKLSI.cpp143 size_t bytes = B_LENDIAN_TO_HOST_INT16(*(uint16 *)(*buffer)); in OnRead()
/haiku/src/add-ons/translators/tga/
H A DTGATranslator.cpp284 mapspec.firstentry = B_LENDIAN_TO_HOST_INT16(mapspec.firstentry); in identify_tga_header()
289 mapspec.length = B_LENDIAN_TO_HOST_INT16(mapspec.length); in identify_tga_header()
309 imagespec.xorigin = B_LENDIAN_TO_HOST_INT16(imagespec.xorigin); in identify_tga_header()
312 imagespec.yorigin = B_LENDIAN_TO_HOST_INT16(imagespec.yorigin); in identify_tga_header()
315 imagespec.width = B_LENDIAN_TO_HOST_INT16(imagespec.width); in identify_tga_header()
320 imagespec.height = B_LENDIAN_TO_HOST_INT16(imagespec.height); in identify_tga_header()
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Diso9660_identify.cpp343 B_LENDIAN_TO_HOST_INT16(record->volume_space))); in dump_directory_record()
/haiku/headers/os/drivers/pcmcia/
H A Dk_compat.h59 #define le16_to_cpu B_LENDIAN_TO_HOST_INT16
/haiku/src/tools/translation/tgainfo/
H A Dtgainfo.cpp131 return B_LENDIAN_TO_HOST_INT16(*(reinterpret_cast<uint16 *>(buffer + offset))); in tga_uint16()
/haiku/src/kits/device/
H A DUSBDevice.cpp286 const uint16 character = B_LENDIAN_TO_HOST_INT16(ustr[i]); in DecodeStringDescriptor()

12