| /linux/drivers/misc/ocxl/ |
| H A D | mmio.c | 8 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 D | xgmac_mdio.c | 136 bool endian = priv->is_little_endian; in xgmac_mdio_write_c22() local 141 mdio_stat = xgmac_read32(®s->mdio_stat, endian); in xgmac_mdio_write_c22() 143 xgmac_write32(mdio_stat, ®s->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, ®s->mdio_ctl, endian); in xgmac_mdio_write_c22() 154 xgmac_write32(MDIO_DATA(value), ®s->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(®s->mdio_stat, endian); in xgmac_mdio_write_c45() 175 xgmac_write32(mdio_stat, ®s->mdio_stat, endian); in xgmac_mdio_write_c45() [all …]
|
| /linux/Documentation/devicetree/bindings/regmap/ |
| H A D | regmap.txt | 5 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 D | common-properties.txt | 13 - 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 D | findbit.S | 24 .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 D | nls_base.c | 120 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 D | sm501fb.txt | 19 - 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 D | recordmcount.pl | 123 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 D | ocxl.h | 241 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 D | i2c-mux-reg.txt | 18 - 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 D | boot-image-header.rst | 27 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 D | btf_endian.c | 11 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 D | layerscape-sfp.c | 26 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 D | README | 3 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 D | fsl-ls208xa.dtsi | 272 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 D | fsl-lx2160a.dtsi | 434 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 D | fsl-ls1088a.dtsi | 234 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 D | bcm7346.dtsi | 82 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 D | bcm7125.dtsi | 82 native-endian; 109 native-endian; 122 native-endian; 134 native-endian; 146 native-endian; 223 native-endian; 232 native-endian;
|
| H A D | bcm7358.dtsi | 76 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 D | boot-image-header.rst | 14 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 D | guts.txt | 28 - little-endian : Indicates that the global utilities block is little 29 endian. The default is big endian.
|
| /linux/include/linux/iio/common/ |
| H A D | st_sensors.h | 54 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 D | pixfmt-sdr-ru12le.rst | 11 Real unsigned 12-bit little endian sample 18 represented as a 12 bit unsigned little endian number. Sample is stored
|
| H A D | pixfmt-sdr-cu16le.rst | 11 Complex unsigned 16-bit little endian IQ sample 19 and Q are represented as a 16 bit unsigned little endian number. I value
|