Home
last modified time | relevance | path

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

1234567891011

/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 …]
/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 …]
/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;
/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 …]
/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 …]
/linux/fs/nls/
H A Dnls_base.c120 static inline void put_utf16(wchar_t *s, unsigned c, enum utf16_endian endian) in put_utf16() argument
122 switch (endian) { in put_utf16()
135 int utf8s_to_utf16s(const u8 *s, int inlen, enum utf16_endian endian, in utf8s_to_utf16s() argument
157 endian); in utf8s_to_utf16s()
161 endian); in utf8s_to_utf16s()
164 put_utf16(op++, u, endian); in utf8s_to_utf16s()
168 put_utf16(op++, *s++, endian); in utf8s_to_utf16s()
177 static inline unsigned long get_utf16(unsigned c, enum utf16_endian endian) in get_utf16() argument
179 switch (endian) { in get_utf16()
189 int utf16s_to_utf8s(const wchar_t *pwcs, int inlen, enum utf16_endian endian, in utf16s_to_utf8s() argument
[all …]
/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.
/linux/scripts/
H A Drecordmcount.pl123 my ($arch, $endian, $bits, $objdump, $objcopy, $cc,
235 if ($endian eq "big") {
249 if ($endian eq "big") {
332 $objdump .= " -Melf-trad".$endian."mips ";
334 if ($endian eq "big") {
335 $endian = " -EB ";
338 $endian = " -EL ";
342 $cc .= " -mno-abicalls -fno-pic -mabi=" . $bits . $endian;
343 $ld .= $endian;
/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);
/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 */
/linux/Documentation/translations/zh_CN/arch/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" */
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_endian.c11 enum btf_endianness endian = BTF_LITTLE_ENDIAN; in test_btf_endian() local
13 enum btf_endianness endian = BTF_BIG_ENDIAN; in test_btf_endian()
17 enum btf_endianness swap_endian = 1 - endian; in test_btf_endian()
30 ASSERT_EQ(btf__endianness(btf), endian, "endian"); in test_btf_endian()
60 btf__set_endianness(swap_btf, endian); in test_btf_endian()
/linux/drivers/nvmem/
H A Dlayerscape-sfp.c26 enum regmap_endian endian; member
66 config.val_format_endian = data->endian; in layerscape_sfp_probe()
83 .endian = REGMAP_ENDIAN_BIG,
88 .endian = REGMAP_ENDIAN_LITTLE,
/linux/kernel/bpf/preload/iterators/
H A DREADME3 rebuild "iterators.lskel-little-endian.h". Then, on a big-endian
5 "iterators.lskel-big-endian.h". Commit both resulting headers.
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls208xa.dtsi272 little-endian;
286 little-endian;
356 little-endian;
521 little-endian;
528 little-endian;
540 little-endian;
552 little-endian;
565 little-endian;
578 little-endian;
591 little-endian;
[all …]
H A Dfsl-lx2160a.dtsi434 little-endian;
441 little-endian;
687 little-endian;
701 little-endian;
739 little-endian;
938 little-endian;
953 little-endian;
1035 little-endian;
1046 little-endian;
1057 little-endian;
[all …]
H A Dfsl-ls1088a.dtsi234 little-endian;
245 little-endian;
328 little-endian;
368 little-endian;
379 little-endian;
390 little-endian;
401 little-endian;
412 little-endian;
486 little-endian;
784 little-endian;
[all …]
/linux/arch/mips/boot/dts/brcm/
H A Dbcm7346.dtsi82 native-endian;
126 native-endian;
139 native-endian;
151 native-endian;
163 native-endian;
321 native-endian;
330 native-endian;
340 native-endian;
349 native-endian;
359 native-endian;
[all …]
H A Dbcm7125.dtsi82 native-endian;
109 native-endian;
122 native-endian;
134 native-endian;
146 native-endian;
223 native-endian;
232 native-endian;
H A Dbcm7358.dtsi76 native-endian;
120 native-endian;
133 native-endian;
145 native-endian;
157 native-endian;
294 native-endian;
303 native-endian;
/linux/Documentation/arch/riscv/
H A Dboot-image-header.rst14 u64 text_offset; /* Image load offset, little endian */
15 u64 image_size; /* Effective Image size, little endian */
16 u64 flags; /* kernel flags, little endian */
20 u64 magic = 0x5643534952; /* Magic number, little endian, "RISCV" */
21 u32 magic2 = 0x05435352; /* Magic number 2, little endian, "RSC\x05" */
/linux/Documentation/devicetree/bindings/soc/fsl/
H A Dguts.txt28 - little-endian : Indicates that the global utilities block is little
29 endian. The default is big endian.
/linux/include/linux/iio/common/
H A Dst_sensors.h54 ch2, s, endian, rbits, sbits, addr, ext) \ argument
68 .endianness = endian, \
74 ch2, s, endian, rbits, sbits, addr) \ argument
76 ch2, s, endian, rbits, sbits, addr, NULL)
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-sdr-ru12le.rst11 Real unsigned 12-bit little endian sample
18 represented as a 12 bit unsigned little endian number. Sample is stored
H A Dpixfmt-sdr-cu16le.rst11 Complex unsigned 16-bit little endian IQ sample
19 and Q are represented as a 16 bit unsigned little endian number. I value

1234567891011