Home
last modified time | relevance | path

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

/openbmc/linux/fs/ntfs/
H A Dlogfile.h57 /* 4*/ le16 usa_ofs; /* See NTFS_RECORD definition in layout.h.
61 /* 6*/ le16 usa_count; /* See NTFS_RECORD definition in layout.h. */
77 /* 24*/ le16 restart_area_offset;/* Byte offset from the start of this header to
105 typedef le16 RESTART_AREA_FLAGS;
120 /* 8*/ le16 log_clients; /* Number of log client records in the array of
123 /* 10*/ le16 client_free_list; /* The index of the first free log client record
139 /* 12*/ le16 client_in_use_list;/* The index of the first in-use log client
178 /* 20*/ le16 restart_area_length;/* Length of the restart area including the
186 /* 22*/ le16 client_array_offset;/* Offset from the start of this record to
224 /* 36*/ le16 log_record_header_length;/* Byte size of the log record header.
[all …]
H A Dlayout.h38 le16 bytes_per_sector; /* Size of a sector in bytes. */
40 le16 reserved_sectors; /* zero */
42 le16 root_entries; /* zero */
43 le16 sectors; /* zero */
45 le16 sectors_per_fat; /* zero */
46 le16 sectors_per_track; /* irrelevant */
47 le16 heads; /* irrelevant */
81 le16 end_of_sector_marker; /* End of bootsector magic. Always is
177 le16 usa_ofs; /* Offset to the Update Sequence Array (usa)
179 le16 usa_count; /* Number of le16 sized entries in the usa
[all …]
H A Dmst.c111 le16 *usa_pos, *data_pos; in pre_write_mst_fixup()
113 le16 le_usn; in pre_write_mst_fixup()
130 usa_pos = (le16*)((u8*)b + usa_ofs); in pre_write_mst_fixup()
141 data_pos = (le16*)b + NTFS_BLOCK_SIZE/sizeof(le16) - 1; in pre_write_mst_fixup()
152 data_pos += NTFS_BLOCK_SIZE/sizeof(le16); in pre_write_mst_fixup()
167 le16 *usa_pos, *data_pos; in post_write_mst_fixup()
173 usa_pos = (le16*)b + usa_ofs/sizeof(le16); in post_write_mst_fixup()
176 data_pos = (le16*)b + NTFS_BLOCK_SIZE/sizeof(le16) - 1; in post_write_mst_fixup()
187 data_pos += NTFS_BLOCK_SIZE/sizeof(le16); in post_write_mst_fixup()
H A Dusnjrnl.h159 /* 4*/le16 major_ver; /* Major version of the transaction log used
161 /* 6*/le16 minor_ver; /* Minor version of the transaction log used
178 /*0x38*/le16 file_name_size; /* Size of the file name in bytes. */
179 /*0x3a*/le16 file_name_offset; /* Offset to the file name in bytes from the
H A Dtypes.h14 typedef __le16 le16; typedef
22 typedef le16 ntfschar;
H A Dendian.h21 return le16_to_cpu((__force le16)x); in sle16_to_cpu()
36 return le16_to_cpu(*(__force le16*)x); in sle16_to_cpup()
H A Dcompress.c195 if (cb == cb_end || !le16_to_cpup((le16*)cb) || in ntfs_decompress()
245 cb_sb_end = cb_sb_start + (le16_to_cpup((le16*)cb) & NTFS_SB_SIZE_MASK) in ntfs_decompress()
267 if (!(le16_to_cpup((le16*)cb) & NTFS_SB_IS_COMPRESSED)) { in ntfs_decompress()
372 pt = le16_to_cpup((le16*)cb); in ntfs_decompress()
H A Dmft.c2049 *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = cpu_to_le16(1); in ntfs_mft_record_layout()
2254 le16 seq_no, usn; in ntfs_mft_record_alloc()
2554 usn = *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)); in ntfs_mft_record_alloc()
2567 *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = usn; in ntfs_mft_record_alloc()
2781 le16 old_seq_no; in ntfs_extent_mft_record_free()
/openbmc/u-boot/arch/sandbox/include/asm/
H A Dio.h68 #define out_le16(a,v) out_arch(w,le16,a,v)
72 #define in_le16(a) in_arch(w,le16,a)
104 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
105 #define setbits_le16(addr, set) setbits(le16, addr, set)
106 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
125 #define out_le16(a,v) out_arch(w,le16,a,v)
128 #define in_le16(a) in_arch(w,le16,a)
160 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
161 #define setbits_le16(addr, set) setbits(le16, addr, set)
162 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/u-boot/arch/nios2/include/asm/
H A Dio.h125 #define out_le16(a,v) out_arch(w,le16,a,v)
128 #define in_le16(a) in_arch(w,le16,a)
160 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
161 #define setbits_le16(addr, set) setbits(le16, addr, set)
162 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/u-boot/arch/arc/include/asm/
H A Dio.h229 #define out_le16(a, v) out_arch(w, le16, a, v)
232 #define in_le16(a) in_arch(w, le16, a)
272 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
273 #define setbits_le16(addr, set) setbits(le16, addr, set)
274 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/u-boot/arch/x86/include/asm/
H A Dio.h87 #define out_le16(a, v) out_arch(w, le16, a, v)
91 #define in_le16(a) in_arch(w, le16, a)
123 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
124 #define setbits_le16(addr, set) setbits(le16, addr, set)
125 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/u-boot/arch/nds32/include/asm/
H A Dio.h161 #define out_le16(a, v) out_arch(w, le16, a, v)
164 #define in_le16(a) in_arch(w, le16, a)
204 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
205 #define setbits_le16(addr, set) setbits(le16, addr, set)
206 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/u-boot/arch/riscv/include/asm/
H A Dio.h148 #define out_le16(a, v) out_arch(w, le16, a, v)
151 #define in_le16(a) in_arch(w, le16, a)
191 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
192 #define setbits_le16(addr, set) setbits(le16, addr, set)
193 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/u-boot/arch/arm/include/asm/
H A Dio.h151 #define out_le16(a,v) out_arch(w,le16,a,v)
155 #define in_le16(a) in_arch(w,le16,a)
196 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
197 #define setbits_le16(addr, set) setbits(le16, addr, set)
198 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/u-boot/arch/m68k/include/asm/
H A Dio.h239 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
240 #define setbits_le16(addr, set) setbits(le16, addr, set)
241 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/u-boot/arch/mips/include/asm/
H A Dio.h555 #define out_le16(a, v) out_arch(w, le16, a, v)
559 #define in_le16(a) in_arch(w, le16, a)
573 BUILD_CLRSETBITS(w, le16, le16, u16)
/openbmc/u-boot/arch/sh/include/asm/
H A Dio.h226 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
227 #define setbits_le16(addr, set) setbits(le16, addr, set)
228 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/u-boot/include/
H A Dwait_bit.h74 BUILD_WAIT_FOR_BIT(le16, u16, readw)
/openbmc/linux/drivers/iio/pressure/
H A Dbmp280-core.c245 &data->le16, sizeof(data->le16)); in bme280_read_calib()
250 calib->H2 = sign_extend32(le16_to_cpu(data->le16), 15); in bme280_read_calib()
269 &data->le16, sizeof(data->le16)); in bme280_read_calib()
274 calib->H5 = sign_extend32(FIELD_GET(BME280_COMP_H5_MASK, le16_to_cpu(data->le16)), 11); in bme280_read_calib()
1509 &data->le16, sizeof(data->le16)); in bmp580_nvmem_read()
1515 *dst++ = le16_to_cpu(data->le16); in bmp580_nvmem_read()
1560 data->le16 = cpu_to_le16(*buf++); in bmp580_nvmem_write()
1563 &data->le16, sizeof(data->le16)); in bmp580_nvmem_write()
H A Dbmp280.h417 __le16 le16; member
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dio.h277 #define clrbits_le16(addr, clear) clrbits(le16, addr, clear)
278 #define setbits_le16(addr, set) setbits(le16, addr, set)
279 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/u-boot/drivers/usb/host/
H A Dr8a66597-hcd.c104 setbits(le16, R8A66597_BASE0, XTAL); in r8a66597_clock_enable()
107 setbits(le16, R8A66597_BASE0, UPLLE); in r8a66597_clock_enable()
129 clrbits(le16, R8A66597_BASE0, UPLLE); in r8a66597_clock_disable()
/openbmc/linux/arch/powerpc/include/asm/
H A Dio.h1046 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set)
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c4337 #define le16(__p) ((__p)[0] | ((__p)[1] << 8)) in phy_aq1202_version() macro
4338 #define le24(__p) (le16(__p) | ((__p)[2] << 16)) in phy_aq1202_version()
4345 #undef le16 in phy_aq1202_version()