/Linux-v6.1/drivers/misc/ocxl/ |
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-v6.1/Documentation/devicetree/bindings/regmap/ |
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-v6.1/drivers/net/ethernet/freescale/ |
D | xgmac_mdio.c | 143 bool endian = priv->is_little_endian; in xgmac_mdio_write() local 145 mdio_stat = xgmac_read32(®s->mdio_stat, endian); in xgmac_mdio_write() 156 xgmac_write32(mdio_stat, ®s->mdio_stat, endian); in xgmac_mdio_write() 158 ret = xgmac_wait_until_free(&bus->dev, regs, endian); in xgmac_mdio_write() 164 xgmac_write32(mdio_ctl, ®s->mdio_ctl, endian); in xgmac_mdio_write() 168 xgmac_write32(regnum & 0xffff, ®s->mdio_addr, endian); in xgmac_mdio_write() 170 ret = xgmac_wait_until_free(&bus->dev, regs, endian); in xgmac_mdio_write() 176 xgmac_write32(MDIO_DATA(value), ®s->mdio_data, endian); in xgmac_mdio_write() 178 ret = xgmac_wait_until_done(&bus->dev, regs, endian); in xgmac_mdio_write() 199 bool endian = priv->is_little_endian; in xgmac_mdio_read() local [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/ |
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-v6.1/fs/nls/ |
D | nls_base.c | 117 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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/ |
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-v6.1/scripts/ |
D | recordmcount.pl | 123 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;
|
/Linux-v6.1/include/misc/ |
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-v6.1/Documentation/devicetree/bindings/i2c/ |
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-v6.1/Documentation/translations/zh_CN/riscv/ |
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-v6.1/tools/testing/selftests/bpf/prog_tests/ |
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-v6.1/Documentation/devicetree/bindings/gpio/ |
D | gpio-mpc8xxx.txt | 16 - little-endian : GPIO registers are used as little endian. If not 17 present registers are used as big endian by default. 35 little-endian; 52 little-endian;
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | fsl-ls208xa.dtsi | 277 little-endian; 291 little-endian; 360 little-endian; 525 little-endian; 532 little-endian; 544 little-endian; 556 little-endian; 569 little-endian; 582 little-endian; 595 little-endian; [all …]
|
/Linux-v6.1/drivers/nvmem/ |
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-v6.1/arch/arm/boot/dts/ |
D | ls1021a.dtsi | 96 big-endian; 142 big-endian; 165 big-endian; 184 big-endian; 306 big-endian; 319 big-endian; 398 big-endian; 405 big-endian; 412 big-endian; 419 big-endian; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/rtc/ |
D | rtc-fsl-ftm-alarm.txt | 21 - big-endian: If the host controller is big-endian mode, specify this property. 22 The default endian mode is little-endian.
|
/Linux-v6.1/Documentation/devicetree/bindings/timer/ |
D | fsl,ftm-timer.txt | 16 - big-endian: One boolean property, the big endian mode will be in use if it is 17 present, or the little endian mode will be in use for all the device registers. 30 big-endian;
|
/Linux-v6.1/Documentation/devicetree/bindings/counter/ |
D | ftm-quaddec.txt | 10 - big-endian: Access the device registers in big-endian mode. 16 big-endian;
|
/Linux-v6.1/arch/mips/boot/dts/brcm/ |
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 …]
|
D | bcm7125.dtsi | 82 native-endian; 109 native-endian; 122 native-endian; 134 native-endian; 146 native-endian; 223 native-endian; 232 native-endian;
|
/Linux-v6.1/fs/ntfs3/ |
D | dir.c | 90 enum utf16_endian endian) in put_utf16() argument 95 switch (endian) { in put_utf16() 114 static int _utf8s_to_utf16s(const u8 *s, int inlen, enum utf16_endian endian, in _utf8s_to_utf16s() argument 138 endian); in _utf8s_to_utf16s() 142 endian); in _utf8s_to_utf16s() 148 put_utf16(op++, u, endian); in _utf8s_to_utf16s() 155 put_utf16(op++, *s++, endian); in _utf8s_to_utf16s() 179 enum utf16_endian endian) in ntfs_nls_to_utf16() argument 190 ret = _utf8s_to_utf16s(name, name_len, endian, uname, max_ulen); in ntfs_nls_to_utf16() 207 if (endian == UTF16_LITTLE_ENDIAN) { in ntfs_nls_to_utf16() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/pwm/ |
D | pwm-fsl-ftm.txt | 14 Please see ../regmap/regmap.txt for more detail about how to specify endian 37 - big-endian: Boolean property, required if the FTM PWM registers use a big- 38 endian rather than little-endian layout. 54 big-endian;
|
/Linux-v6.1/tools/lib/traceevent/ |
D | event-parse-api.c | 272 void tep_set_file_bigendian(struct tep_handle *tep, enum tep_endian endian) in tep_set_file_bigendian() argument 275 tep->file_bigendian = endian; in tep_set_file_bigendian() 299 void tep_set_local_bigendian(struct tep_handle *tep, enum tep_endian endian) in tep_set_local_bigendian() argument 302 tep->host_bigendian = endian; in tep_set_local_bigendian()
|
/Linux-v6.1/tools/lib/traceevent/Documentation/ |
D | libtraceevent-host_endian.txt | 41 _TEP_LITTLE_ENDIAN_ - the machine is little endian, 42 _TEP_BIG_ENDIAN_ - the machine is big endian. 48 machine, executing the code, is big endian and zero otherwise. 51 local machine, saved in the _tep_ handler, is big endian, or false otherwise. 69 printf("This machine you are running on is little endian\n");
|
/Linux-v6.1/Documentation/riscv/ |
D | boot-image-header.rst | 17 u64 text_offset; /* Image load offset, little endian */ 18 u64 image_size; /* Effective Image size, little endian */ 19 u64 flags; /* kernel flags, little endian */ 23 u64 magic = 0x5643534952; /* Magic number, little endian, "RISCV" */ 24 u32 magic2 = 0x05435352; /* Magic number 2, little endian, "RSC\x05" */
|