Home
last modified time | relevance | path

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

12345678910>>...23

/openbmc/linux/drivers/misc/ocxl/
H A Dmmio.c8 enum ocxl_endian endian, u32 *val) in ocxl_global_mmio_read32() argument
14 if (endian == OCXL_HOST_ENDIAN) in ocxl_global_mmio_read32()
15 endian = OCXL_BIG_ENDIAN; in ocxl_global_mmio_read32()
18 switch (endian) { in ocxl_global_mmio_read32()
33 enum ocxl_endian endian, u64 *val) in ocxl_global_mmio_read64() argument
39 if (endian == OCXL_HOST_ENDIAN) in ocxl_global_mmio_read64()
40 endian = OCXL_BIG_ENDIAN; in ocxl_global_mmio_read64()
43 switch (endian) { in ocxl_global_mmio_read64()
58 enum ocxl_endian endian, u32 val) in ocxl_global_mmio_write32() argument
64 if (endian == OCXL_HOST_ENDIAN) in ocxl_global_mmio_write32()
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dsiteinfo.bbclass17 # * endianness: Return "be" for big endian targets, "le" for little endian
26 …"allarch": "endian-little bit-32", # bogus, but better than special-casing the checks below for al…
27 "aarch64": "endian-little bit-64 arm-common arm-64",
28 "aarch64_be": "endian-big bit-64 arm-common arm-64",
29 "arc": "endian-little bit-32 arc-common",
30 "arceb": "endian-big bit-32 arc-common",
31 "arm": "endian-little bit-32 arm-common arm-32",
32 "armeb": "endian-big bit-32 arm-common arm-32",
33 "avr32": "endian-big bit-32 avr32-common",
34 "bfin": "endian-little bit-32 bfin-common",
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dxgmac_mdio.c136 bool endian = priv->is_little_endian; in xgmac_mdio_write_c22() local
141 mdio_stat = xgmac_read32(&regs->mdio_stat, endian); in xgmac_mdio_write_c22()
143 xgmac_write32(mdio_stat, &regs->mdio_stat, endian); in xgmac_mdio_write_c22()
145 ret = xgmac_wait_until_free(&bus->dev, regs, endian); in xgmac_mdio_write_c22()
151 xgmac_write32(mdio_ctl, &regs->mdio_ctl, endian); in xgmac_mdio_write_c22()
154 xgmac_write32(MDIO_DATA(value), &regs->mdio_data, endian); in xgmac_mdio_write_c22()
156 ret = xgmac_wait_until_done(&bus->dev, regs, endian); in xgmac_mdio_write_c22()
168 bool endian = priv->is_little_endian; in xgmac_mdio_write_c45() local
172 mdio_stat = xgmac_read32(&regs->mdio_stat, endian); in xgmac_mdio_write_c45()
175 xgmac_write32(mdio_stat, &regs->mdio_stat, endian); in xgmac_mdio_write_c45()
[all …]
/openbmc/u-boot/fs/zfs/
H A Dzfs_fletcher.c35 zfs_endian_t endian, in fletcher_2_endian() argument
43 a0 += zfs_to_cpu64(ip[0], endian); in fletcher_2_endian()
44 a1 += zfs_to_cpu64(ip[1], endian); in fletcher_2_endian()
49 zcp->zc_word[0] = cpu_to_zfs64(a0, endian); in fletcher_2_endian()
50 zcp->zc_word[1] = cpu_to_zfs64(a1, endian); in fletcher_2_endian()
51 zcp->zc_word[2] = cpu_to_zfs64(b0, endian); in fletcher_2_endian()
52 zcp->zc_word[3] = cpu_to_zfs64(b1, endian); in fletcher_2_endian()
56 fletcher_4_endian(const void *buf, uint64_t size, zfs_endian_t endian, in fletcher_4_endian() argument
64 a += zfs_to_cpu32(ip[0], endian); in fletcher_4_endian()
70 zcp->zc_word[0] = cpu_to_zfs64(a, endian); in fletcher_4_endian()
[all …]
H A Dzfs.c141 zfs_endian_t endian; member
209 static int zio_read_data(blkptr_t *bp, zfs_endian_t endian,
213 zio_read(blkptr_t *bp, zfs_endian_t endian, void **buf,
237 zfs_endian_t endian __attribute__ ((unused)), in zio_checksum_off() argument
265 zfs_endian_t endian, char *buf, int size) in zio_checksum_verify() argument
279 ci->ci_func(buf, size, endian, &actual_cksum); in zio_checksum_verify()
283 ci->ci_func(buf, size, endian, &actual_cksum); in zio_checksum_verify()
348 zfs_endian_t endian = UNKNOWN_ENDIAN; in uberblock_verify() local
360 endian = LITTLE_ENDIAN; in uberblock_verify()
365 endian = BIG_ENDIAN; in uberblock_verify()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/regmap/
H A Dregmap.txt5 little-endian,
6 big-endian,
7 native-endian: See common-properties.txt for a definition
10 Regmap defaults to little-endian register access on MMIO based
12 architectures that typically run big-endian operating systems
13 (e.g. PowerPC), registers can be defined as big-endian and must
16 On SoCs that can be operated in both big-endian and little-endian
19 chips), "native-endian" is used to allow using the same device tree
23 Scenario 1 : a register set in big-endian mode.
27 big-endian;
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-security/keyutils/files/
H A D0001-tests-toolbox.inc.sh-update-regex-for-getting-endian.patch4 Subject: [PATCH] tests/toolbox.inc.sh: update regex for getting endian
6 Update regex for getting endian in following condition:
23 endian=`file -L /proc/$$/exe`
24 -if expr "$endian" : '.* MSB \+\(pie executable\|executable\|shared object\).*' >&/dev/null
25 +if expr "$endian" : '.* MSB .*\(pie executable\|executable\|shared object\).*' >&/dev/null
27 endian=BE
28 -elif expr "$endian" : '.* LSB \+\(pie executable\|executable\|shared object\).*' >&/dev/null
29 +elif expr "$endian" : '.* LSB .*\(pie executable\|executable\|shared object\).*' >&/dev/null
31 endian=LE
/openbmc/openbmc-tools/dbus-pcap/
H A Ddbus-pcap246 def parse_fixed(endian, stream, tc): argument
251 val = struct.unpack("{}{}".format(endian, prop.type), val)[0]
266 def parse_string(endian, stream, tc): argument
269 size = parse_fixed(endian, stream, TypeContainer(prop.nature, None))
294 def parse_type(endian, stream, tc): argument
296 val = parse_fixed(endian, stream, tc)
298 val = parse_string(endian, stream, tc)
300 val = parse_container(endian, stream, tc)
307 def parse_array(endian, stream, tc): argument
309 length = parse_fixed(endian, stream, TypeContainer(DBusType.UINT32, None))
[all …]
/openbmc/linux/Documentation/devicetree/bindings/
H A Dcommon-properties.txt13 - big-endian: Boolean; force big endian register accesses
15 know the peripheral always needs to be accessed in big endian (BE) mode.
16 - little-endian: Boolean; force little endian register accesses
18 peripheral always needs to be accessed in little endian (LE) mode.
19 - native-endian: Boolean; always use register accesses matched to the
27 In such cases, little-endian is the preferred default, but it is not
28 a requirement. Some implementations assume that little-endian is
38 native-endian;
46 big-endian;
54 native-endian;
[all …]
/openbmc/linux/arch/arm/lib/
H A Dfindbit.S24 .macro find_first, endian, set, name
25 ENTRY(_find_first_\name\()bit_\endian)
36 .ifc \endian, SWAB_ENDIAN
47 ENDPROC(_find_first_\name\()bit_\endian)
50 .macro find_next, endian, set, name
51 ENTRY(_find_next_\name\()bit_\endian)
63 .ifc \endian, SWAB_ENDIAN
77 ENDPROC(_find_next_\name\()bit_\endian)
80 .macro find_bit, endian, set, name
81 find_first \endian, \set, \name
[all …]
/openbmc/bios-bmc-smm-error-logger/src/
H A Dbuffer.cpp51 boost::endian::native_to_little(bmcInterfaceVersion); in initialize()
52 initializationHeader.queueSize = boost::endian::native_to_little(queueSize); in initialize()
54 boost::endian::native_to_little(ueRegionSize); in initialize()
58 return boost::endian::native_to_little(number); in initialize()
104 boost::endian::native_to_little(newReadPtr & 0xffffff); in updateReadPtr()
127 boost::endian::native_to_little(newBmcFlag); in updateBmcFlags()
219 boost::endian::little_to_native(cachedBufferHeader.bmcReadPtr), in readEntryHeader()
228 size_t entrySize = boost::endian::little_to_native(entryHeader.entrySize); in readEntry()
233 boost::endian::little_to_native(cachedBufferHeader.bmcReadPtr), in readEntry()
260 boost::endian::little_to_native(cachedBufferHeader.biosWritePtr); in readErrorLogs()
[all …]
/openbmc/qemu/docs/devel/
H A Dloads-stores.rst27 load: ``ld{sign}{size}_{endian}_p(ptr)``
29 store: ``st{size}_{endian}_p(ptr, val)``
43 ``endian``
44 - ``he`` : host endian
45 - ``be`` : big endian
46 - ``le`` : little endian
48 The ``_{endian}`` infix is omitted for target-endian accesses.
50 The target endian accessors are only available to source
55 load: ``ldn{endian}_p(ptr, sz)``
58 as an ``{endian}`` order value and returns it in a uint64_t.
[all …]
/openbmc/linux/fs/nls/
H A Dnls_base.c117 static inline void put_utf16(wchar_t *s, unsigned c, enum utf16_endian endian) in put_utf16() argument
119 switch (endian) { in put_utf16()
132 int utf8s_to_utf16s(const u8 *s, int inlen, enum utf16_endian endian, in utf8s_to_utf16s() argument
154 endian); in utf8s_to_utf16s()
158 endian); in utf8s_to_utf16s()
161 put_utf16(op++, u, endian); in utf8s_to_utf16s()
165 put_utf16(op++, *s++, endian); in utf8s_to_utf16s()
174 static inline unsigned long get_utf16(unsigned c, enum utf16_endian endian) in get_utf16() argument
176 switch (endian) { in get_utf16()
186 int utf16s_to_utf8s(const wchar_t *pwcs, int inlen, enum utf16_endian endian, in utf16s_to_utf8s() argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/
H A Darm64-support.patch20 @@ -1228,6 +1228,7 @@ if endian == "auto":
22 'arm' : { 'endian': 'little', 'defines': ('__arm__',) },
23 'aarch64' : { 'endian': 'little', 'defines': ('__arm64__', '__aarch64__')},
24 + 'arm64' : { 'endian': 'little', 'defines': ('__arm64__', '__aarch64__')},
25 'i386' : { 'endian': 'little', 'defines': ('__i386', '_M_IX86')},
26 'ppc64le' : { 'endian': 'little', 'defines': ('__powerpc64__',)},
27 's390x' : { 'endian': 'big', 'defines': ('__s390x__',)},
40 # Using 64 bit little endian
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/nginx/files/
H A D0001-Allow-the-overriding-of-the-endianness-via-the-confi.patch5 --with-endian
7 The existing configure options contain the --with-endian; however, the command
25 + echo " little endian"
28 + echo " big endian"
48 - echo " little endian"
51 - echo " big endian"
55 + echo " little endian"
58 + echo " big endian"
/openbmc/u-boot/doc/
H A DREADME.fsl-esdhc18 ESDHC IP is in little-endian mode. Accessing ESDHC registers can be
19 determined by ESDHC IP's endian mode or processor's endian mode.
21 ESDHC IP is in big-endian mode. Accessing ESDHC registers can be determined
22 by ESDHC IP's endian mode or processor's endian mode.
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dsm501fb.txt19 - little-endian: available on big endian systems, to
20 set different foreign endian.
21 - big-endian: available on little endian systems, to
22 set different foreign endian.
/openbmc/linux/scripts/
H A Drecordmcount.pl123 my ($arch, $endian, $bits, $objdump, $objcopy, $cc,
235 if ($endian eq "big") {
249 if ($endian eq "big") {
339 $objdump .= " -Melf-trad".$endian."mips ";
341 if ($endian eq "big") {
342 $endian = " -EB ";
345 $endian = " -EL ";
349 $cc .= " -mno-abicalls -fno-pic -mabi=" . $bits . $endian;
350 $ld .= $endian;
/openbmc/linux/include/misc/
H A Docxl.h241 enum ocxl_endian endian, u32 *val);
253 enum ocxl_endian endian, u64 *val);
265 enum ocxl_endian endian, u32 val);
277 enum ocxl_endian endian, u64 val);
289 enum ocxl_endian endian, u32 mask);
301 enum ocxl_endian endian, u64 mask);
313 enum ocxl_endian endian, u32 mask);
325 enum ocxl_endian endian, u64 mask);
/openbmc/u-boot/include/zfs/
H A Dzio_checksum.h18 zfs_endian_t endian, zio_cksum_t *zcp);
31 zfs_endian_t endian, zio_cksum_t *);
32 extern void fletcher_2_endian(const void *, uint64_t, zfs_endian_t endian,
34 extern void fletcher_4_endian(const void *, uint64_t, zfs_endian_t endian,
/openbmc/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-mux-reg.txt18 - little-endian: The existence indicates the register is in little endian.
19 - big-endian: The existence indicates the register is in big endian.
20 If both little-endian and big-endian are omitted, the endianness of the
36 Example of a mux on PCIe card, the host is a powerpc SoC (big endian):
45 little-endian; /* little endian register on PCIe */
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0002-FF-A-v15-lib-uuid-introduce-uuid_str_to_le_bin-funct.patch6 convert UUID string to little endian binary data
40 + * uuid_str_to_le_bin() - Convert string UUID to little endian binary data.
42 + * @uuid_bin: pointer to allocated array for little endian output [16B]
44 + * uuid_bin filled with little endian UUID data
70 + * uuid_str_to_le_bin() - Convert string UUID to little endian binary data.
72 + * @uuid_bin: pointer to allocated array for little endian output [16B]
79 + * When converting to a little endian binary UUID, the string fields are reversed.
83 + * uuid_bin filled with little endian UUID data
114 * uuid_bin_to_str() - convert big endian binary data to string UUID or GUID.
/openbmc/qemu/docs/
H A Dxen-save-devices-state.txt19 32 bit big endian: QEMU_VM_FILE_MAGIC
20 32 bit big endian: QEMU_VM_FILE_VERSION
25 32 bit big endian: section_id
28 32 bit big endian: instance_id
29 32 bit big endian: version_id
/openbmc/linux/Documentation/translations/zh_CN/riscv/
H A Dboot-image-header.rst27 u64 text_offset; /* Image load offset, little endian */
28 u64 image_size; /* Effective Image size, little endian */
29 u64 flags; /* kernel flags, little endian */
33 u64 magic = 0x5643534952; /* Magic number, little endian, "RISCV" */
34 u32 magic2 = 0x05435352; /* Magic number 2, little endian, "RSC\x05" */
/openbmc/qemu/include/qemu/
H A Dbswap.h114 #define CPU_CONVERT(endian, size, type)\ argument
115 static inline type endian ## size ## _to_cpu(type v)\
117 return glue(endian, _bswap)(v, size);\
120 static inline type cpu_to_ ## endian ## size(type v)\
122 return glue(endian, _bswap)(v, size);\
125 static inline void endian ## size ## _to_cpus(type *p)\
127 glue(endian, _bswaps)(p, size);\
130 static inline void cpu_to_ ## endian ## size ## s(type *p)\
132 glue(endian, _bswaps)(p, size);\

12345678910>>...23