Home
last modified time | relevance | path

Searched refs:B_HOST_TO_LENDIAN_INT16 (Results 1 – 25 of 40) sorted by relevance

12

/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A Dgpt_known_guids.h35 && B_HOST_TO_LENDIAN_INT16(data2) == other.data2
36 && B_HOST_TO_LENDIAN_INT16(data3) == other.data3
47 guid.data2 = B_HOST_TO_LENDIAN_INT16(data2); in guid_t()
48 guid.data3 = B_HOST_TO_LENDIAN_INT16(data3); in guid_t()
H A Dutility.cpp103 to[index++] = B_HOST_TO_LENDIAN_INT16(c); in to_ucs2()
110 to[index++] = B_HOST_TO_LENDIAN_INT16(w1); in to_ucs2()
111 to[index++] = B_HOST_TO_LENDIAN_INT16(w2); in to_ucs2()
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dmkdos.cpp398 bs->BPB_BytsPerSec = B_HOST_TO_LENDIAN_INT16(sectorSize); in _dosfs_initialize()
400 bs->BPB_RsvdSecCnt = B_HOST_TO_LENDIAN_INT16(reservedSectorCount); in _dosfs_initialize()
402 bs->BPB_RootEntCnt = B_HOST_TO_LENDIAN_INT16(rootEntryCount); in _dosfs_initialize()
403 bs->BPB_TotSec16 = B_HOST_TO_LENDIAN_INT16(0); in _dosfs_initialize()
405 bs->BPB_FATSz16 = B_HOST_TO_LENDIAN_INT16(0); in _dosfs_initialize()
407 bs->BPB_SecPerTrk = B_HOST_TO_LENDIAN_INT16(temp16); in _dosfs_initialize()
409 bs->BPB_NumHeads = B_HOST_TO_LENDIAN_INT16(temp16); in _dosfs_initialize()
414 bs->BPB_ExtFlags = B_HOST_TO_LENDIAN_INT16(0); in _dosfs_initialize()
415 bs->BPB_FSVer = B_HOST_TO_LENDIAN_INT16(0); in _dosfs_initialize()
417 bs->BPB_FSInfo = B_HOST_TO_LENDIAN_INT16(FSINFO_SECTOR_NUM); in _dosfs_initialize()
[all …]
/haiku/src/add-ons/kernel/file_systems/ext2/
H A Dext2.h316 free_blocks = B_HOST_TO_LENDIAN_INT16(freeBlocks) & 0xffff; in SetFreeBlocks()
318 free_blocks_high = B_HOST_TO_LENDIAN_INT16(freeBlocks >> 16); in SetFreeBlocks()
323 free_inodes = B_HOST_TO_LENDIAN_INT16(freeInodes) & 0xffff; in SetFreeInodes()
325 free_inodes_high = B_HOST_TO_LENDIAN_INT16(freeInodes >> 16); in SetFreeInodes()
330 used_directories = B_HOST_TO_LENDIAN_INT16(usedDirectories& 0xffff); in SetUsedDirectories()
333 B_HOST_TO_LENDIAN_INT16(usedDirectories >> 16); in SetUsedDirectories()
338 flags = B_HOST_TO_LENDIAN_INT16(newFlags); in SetFlags()
343 unused_inodes = B_HOST_TO_LENDIAN_INT16(unusedInodes) & 0xffff; in SetUnusedInodes()
345 unused_inodes_high = B_HOST_TO_LENDIAN_INT16(unusedInodes >> 16); in SetUnusedInodes()
378 { num_entries = B_HOST_TO_LENDIAN_INT16(num); } in SetNumEntries()
[all …]
H A DHTree.h40 { entry_length = B_HOST_TO_LENDIAN_INT16(entryLength); } in SetEntryLength()
55 { limit = B_HOST_TO_LENDIAN_INT16(value); } in SetLimit()
58 { count = B_HOST_TO_LENDIAN_INT16(value); } in SetCount()
/haiku/src/add-ons/accelerants/radeon_hd/
H A Ddisplay.cpp916 args.usH_Total = B_HOST_TO_LENDIAN_INT16(displayTiming.h_total); in display_crtc_set()
917 args.usH_Disp = B_HOST_TO_LENDIAN_INT16(displayTiming.h_display); in display_crtc_set()
918 args.usH_SyncStart = B_HOST_TO_LENDIAN_INT16(displayTiming.h_sync_start); in display_crtc_set()
919 args.usH_SyncWidth = B_HOST_TO_LENDIAN_INT16(displayTiming.h_sync_end in display_crtc_set()
922 args.usV_Total = B_HOST_TO_LENDIAN_INT16(displayTiming.v_total); in display_crtc_set()
923 args.usV_Disp = B_HOST_TO_LENDIAN_INT16(displayTiming.v_display); in display_crtc_set()
924 args.usV_SyncStart = B_HOST_TO_LENDIAN_INT16(displayTiming.v_sync_start); in display_crtc_set()
925 args.usV_SyncWidth = B_HOST_TO_LENDIAN_INT16(displayTiming.v_sync_end in display_crtc_set()
938 args.susModeMiscInfo.usAccess = B_HOST_TO_LENDIAN_INT16(misc); in display_crtc_set()
964 args.usH_Size = B_HOST_TO_LENDIAN_INT16(displayTiming.h_display); in display_crtc_set_dtd()
[all …]
H A Dencoder.cpp502 args.sTVEncoder.usPixelClock = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in encoder_tv_setup()
571 args.v1.usPixelClock = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in encoder_digital_setup()
597 args.v2.usPixelClock = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in encoder_digital_setup()
754 args.v1.usPixelClock = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in encoder_dig_setup()
797 args.v3.usPixelClock = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in encoder_dig_setup()
823 args.v4.usPixelClock = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in encoder_dig_setup()
874 = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in encoder_dig_setup()
967 = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in encoder_external_setup()
989 = B_HOST_TO_LENDIAN_INT16(connectorObjectID); in encoder_external_setup()
992 = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in encoder_external_setup()
[all …]
H A Dpll.cpp643 = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in pll_adjust()
659 = B_HOST_TO_LENDIAN_INT16(pixelClock / 10); in pll_adjust()
679 = B_HOST_TO_LENDIAN_INT16(dpLinkSpeed / 10); in pll_adjust()
833 = B_HOST_TO_LENDIAN_INT16(pll->pixelClock / 10); in pll_set()
834 args.v1.usRefDiv = B_HOST_TO_LENDIAN_INT16(pll->referenceDiv); in pll_set()
835 args.v1.usFbDiv = B_HOST_TO_LENDIAN_INT16(pll->feedbackDiv); in pll_set()
844 = B_HOST_TO_LENDIAN_INT16(pll->pixelClock / 10); in pll_set()
845 args.v2.usRefDiv = B_HOST_TO_LENDIAN_INT16(pll->referenceDiv); in pll_set()
846 args.v2.usFbDiv = B_HOST_TO_LENDIAN_INT16(pll->feedbackDiv); in pll_set()
855 = B_HOST_TO_LENDIAN_INT16(pll->pixelClock / 10); in pll_set()
[all …]
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfStructures.h122 _type_and_timezone = B_HOST_TO_LENDIAN_INT16(type_and_timezone); } in set_type_and_timezone()
135 void set_year(uint16 year) { _year = B_HOST_TO_LENDIAN_INT16(year); } in set_year()
241 void set_udf_revision(uint16 revision) { _udf_revision = B_HOST_TO_LENDIAN_INT16(revision); } in set_udf_revision()
399 void set_partition(uint16 partition) { _partition = B_HOST_TO_LENDIAN_INT16(partition); } in set_partition()
527 void set_flags(uint16 flags) { _accessor().flags = B_HOST_TO_LENDIAN_INT16(flags); } in set_flags()
584 void set_id(uint16 id) { _id = B_HOST_TO_LENDIAN_INT16(id); } in set_id()
585 void set_version(uint16 version) { _version = B_HOST_TO_LENDIAN_INT16(version); } in set_version()
587 …void set_serial_number(uint16 serial_number) { _serial_number = B_HOST_TO_LENDIAN_INT16(serial_num… in set_serial_number()
588 void set_crc(uint16 crc) { _crc = B_HOST_TO_LENDIAN_INT16(crc); } in set_crc()
589 void set_crc_length(uint16 crc_length) { _crc_length = B_HOST_TO_LENDIAN_INT16(crc_length); } in set_crc_length()
[all …]
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_command.h14 #define htole16(x) B_HOST_TO_LENDIAN_INT16(x)
16 #define htole32(x) B_HOST_TO_LENDIAN_INT16(x)
/haiku/src/add-ons/kernel/file_systems/fat/bsd/sys/
H A Dendian.h59 *twoBytes = B_HOST_TO_LENDIAN_INT16(u); in le16enc()
/haiku/headers/os/support/
H A DByteOrder.h44 #define B_HOST_TO_LENDIAN_INT16(arg) (uint16)(arg) macro
78 #define B_HOST_TO_LENDIAN_INT16(arg) __swap_int16(arg) macro
/haiku/src/system/boot/loader/file_systems/fat/
H A Dfatfs.h33 *(uint16*)&buffer[off] = B_HOST_TO_LENDIAN_INT16(value)
H A DDirectory.cpp76 fClusterLSB = B_HOST_TO_LENDIAN_INT16((uint16)cluster); in SetCluster()
78 fClusterMSB = B_HOST_TO_LENDIAN_INT16(cluster >> 16); in SetCluster()
499 entry.fCreateTime = B_HOST_TO_LENDIAN_INT16((23 << 11) | (59 << 5) | 29); in CreateFile()
501 entry.fCreateDate = B_HOST_TO_LENDIAN_INT16((127 << 9) | (12 << 5) | 31); in CreateFile()
/haiku/headers/private/bluetooth/
H A DCommandManager.h40 fHeader->opcode = B_HOST_TO_LENDIAN_INT16(PACK_OPCODE(ogf, ocf)); in BluetoothCommand()
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dbtrfs.h334 name_length = B_HOST_TO_LENDIAN_INT16(nameLength); in SetName()
377 data_length = B_HOST_TO_LENDIAN_INT16(dataLength); in SetAttributeData()
383 name_length = B_HOST_TO_LENDIAN_INT16(nameLength); in SetName()
/haiku/src/add-ons/print/drivers/pcl6/
H A DPCL6Writer.cpp58 int16 v = B_HOST_TO_LENDIAN_INT16(value); in Append()
67 int16 v = B_HOST_TO_LENDIAN_INT16(value); in Append()
/haiku/src/libs/icon/flat_icon/
H A DLittleEndianBuffer.cpp88 *(uint16*)fHandle = B_HOST_TO_LENDIAN_INT16(value); in Write()
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DKLSI.cpp159 *((uint16 *)writeBuffer) = B_HOST_TO_LENDIAN_INT16(*numBytes); in OnWrite()
/haiku/src/add-ons/kernel/file_systems/exfat/
H A Dexfat.h152 { attribs = B_HOST_TO_LENDIAN_INT16(newAttribs); } in SetAttribs()
/haiku/src/add-ons/translators/tga/
H A DTGATranslator.cpp1080 outMapspec.firstentry = B_HOST_TO_LENDIAN_INT16(mapspec.firstentry); in write_tga_headers()
1081 outMapspec.length = B_HOST_TO_LENDIAN_INT16(mapspec.length); in write_tga_headers()
1085 outImagespec.xorigin = B_HOST_TO_LENDIAN_INT16(imagespec.xorigin); in write_tga_headers()
1086 outImagespec.yorigin = B_HOST_TO_LENDIAN_INT16(imagespec.yorigin); in write_tga_headers()
1087 outImagespec.width = B_HOST_TO_LENDIAN_INT16(imagespec.width); in write_tga_headers()
1088 outImagespec.height = B_HOST_TO_LENDIAN_INT16(imagespec.height); in write_tga_headers()
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/
H A DNW80xCamDevice.cpp254 *data = B_HOST_TO_LENDIAN_INT16(*(uint16 *)(&buffer[0])); in ReadIIC16()
/haiku/src/add-ons/media/media-add-ons/usb_webcam/addons/quickcam/
H A DQuickCamDevice.cpp219 *data = B_HOST_TO_LENDIAN_INT16(*(uint16 *)(&buffer[0])); in ReadIIC16()
/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamDevice.cpp352 data = B_HOST_TO_LENDIAN_INT16(data); in WriteReg16()
422 data = B_HOST_TO_LENDIAN_INT16(data); in WriteIIC16()
/haiku/src/kits/bluetooth/
H A DCommandManager.cpp28 header->opcode = B_HOST_TO_LENDIAN_INT16(PACK_OPCODE(ogf, ocf)); in buildCommand()

12