Searched refs:cpu_to_le16 (Results 1 - 17 of 17) sorted by relevance

/external/libsepol/src/
H A Dprivate.h25 #define cpu_to_le16(x) (x) macro
32 #define cpu_to_le16(x) bswap_16(x) macro
H A Dwrite.c216 buf16[0] = cpu_to_le16(cur->key.source_type);
217 buf16[1] = cpu_to_le16(cur->key.target_type);
218 buf16[2] = cpu_to_le16(cur->key.target_class);
219 buf16[3] = cpu_to_le16(cur->key.specified);
/external/qemu/hw/i386/
H A Dsmbios.c102 field->header.length = cpu_to_le16(sizeof(*field) + len);
105 field->offset = cpu_to_le16(offset);
110 cpu_to_le16(le16_to_cpu(*(uint16_t *)smbios_entries) + 1);
190 table->header.length = cpu_to_le16(sizeof(*table) + size);
202 cpu_to_le16(le16_to_cpu(*(uint16_t *)smbios_entries) + 1);
/external/kernel-headers/original/uapi/linux/
H A Dncp.h60 #define AR_READ (cpu_to_le16(1))
61 #define AR_WRITE (cpu_to_le16(2))
62 #define AR_EXCLUSIVE (cpu_to_le16(0x20))
H A Dmsdos_fs.h21 #define CT_LE_W(v) cpu_to_le16(v)
/external/f2fs-tools/mkfs/
H A Df2fs_format.c109 super_block.major_ver = cpu_to_le16(F2FS_MAJOR_VERSION);
110 super_block.minor_ver = cpu_to_le16(F2FS_MINOR_VERSION);
475 ckp->cur_node_blkoff[0] = cpu_to_le16(1);
476 ckp->cur_data_blkoff[0] = cpu_to_le16(1);
565 sum->n_sits = cpu_to_le16(6);
567 sum->sit_j.entries[0].se.vblocks = cpu_to_le16((CURSEG_HOT_NODE << 10) | 1);
570 sum->sit_j.entries[1].se.vblocks = cpu_to_le16((CURSEG_WARM_NODE << 10));
572 sum->sit_j.entries[2].se.vblocks = cpu_to_le16((CURSEG_COLD_NODE << 10));
576 sum->sit_j.entries[3].se.vblocks = cpu_to_le16((CURSEG_HOT_DATA << 10) | 1);
579 sum->sit_j.entries[4].se.vblocks = cpu_to_le16((CURSEG_WARM_DAT
[all...]
/external/fio/
H A Dserver.h197 cmd->opcode = cpu_to_le16(opcode);
H A Dclient.c530 cslp->len = cpu_to_le16(arg_len);
535 clp->lines = cpu_to_le16(client->argc);
H A Dserver.c1060 p.ts.continue_on_error = cpu_to_le16(ts->continue_on_error);
/external/qemu/distrib/ext4_utils/src/
H A Dext4_utils.h69 #define cpu_to_le16(x) (x) macro
H A Dcontents.c388 new_entry->e_value_offs = cpu_to_le16(e_value_offs);
410 inode->i_extra_isize = cpu_to_le16(sizeof(struct ext4_inode) - EXT4_GOOD_OLD_INODE_SIZE);
/external/fio/os/
H A Dos.h215 #define cpu_to_le16(val) ({ \ macro
/external/qemu/hw/nvram/
H A Dfw_cfg.c210 *copy = cpu_to_le16(value);
/external/f2fs-tools/include/
H A Df2fs_fs.h93 #define cpu_to_le16(x) ((__u16)(x)) macro
100 #define cpu_to_le16(x) bswap_16(x) macro
/external/qemu/hw/pci/
H A Dpci.c161 id[0] = cpu_to_le16(pci_default_sub_vendor_id);
162 id[1] = cpu_to_le16(pci_default_sub_device_id);
/external/qemu-pc-bios/bochs/bios/
H A Drombios32.c1529 static inline uint16_t cpu_to_le16(uint16_t x) function
1754 fadt->sci_int = cpu_to_le16(pm_sci_int);
1764 fadt->plvl2_lat = cpu_to_le16(0xfff); // C2 state not supported
1765 fadt->plvl3_lat = cpu_to_le16(0xfff); // C3 state not supported
/external/f2fs-tools/fsck/
H A Dmount.c1027 sit->vblocks = cpu_to_le16((type << SIT_VBLOCKS_SHIFT) |

Completed in 252 milliseconds