| /linux/drivers/misc/ocxl/ |
| A D | mmio.c | 15 endian = OCXL_BIG_ENDIAN; in ocxl_global_mmio_read32() 18 switch (endian) { in ocxl_global_mmio_read32() 40 endian = OCXL_BIG_ENDIAN; in ocxl_global_mmio_read64() 43 switch (endian) { in ocxl_global_mmio_read64() 65 endian = OCXL_BIG_ENDIAN; in ocxl_global_mmio_write32() 68 switch (endian) { in ocxl_global_mmio_write32() 94 switch (endian) { in ocxl_global_mmio_write64() 122 switch (endian) { in ocxl_global_mmio_set32() 153 switch (endian) { in ocxl_global_mmio_set64() 184 switch (endian) { in ocxl_global_mmio_clear32() [all …]
|
| /linux/drivers/net/ethernet/freescale/ |
| A D | xgmac_mdio.c | 138 bool endian = priv->is_little_endian; in xgmac_mdio_write() local 140 mdio_stat = xgmac_read32(®s->mdio_stat, endian); in xgmac_mdio_write() 151 xgmac_write32(mdio_stat, ®s->mdio_stat, endian); in xgmac_mdio_write() 153 ret = xgmac_wait_until_free(&bus->dev, regs, endian); in xgmac_mdio_write() 159 xgmac_write32(mdio_ctl, ®s->mdio_ctl, endian); in xgmac_mdio_write() 173 ret = xgmac_wait_until_done(&bus->dev, regs, endian); in xgmac_mdio_write() 194 bool endian = priv->is_little_endian; in xgmac_mdio_read() local 196 mdio_stat = xgmac_read32(®s->mdio_stat, endian); in xgmac_mdio_read() 205 xgmac_write32(mdio_stat, ®s->mdio_stat, endian); in xgmac_mdio_read() 207 ret = xgmac_wait_until_free(&bus->dev, regs, endian); in xgmac_mdio_read() [all …]
|
| /linux/Documentation/devicetree/bindings/regmap/ |
| 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/phy/ |
| A D | lantiq,vrx200-pcie-phy.yaml | 49 lantiq,rcu-endian-offset: 53 lantiq,rcu-big-endian-mask: 57 big-endian: 58 description: Configures the PDI (PHY) registers in big-endian mode 61 little-endian: 62 description: Configures the PDI (PHY) registers in big-endian mode 74 - lantiq,rcu-endian-offset 75 - lantiq,rcu-big-endian-mask 85 lantiq,rcu-endian-offset = <0x4c>; 86 lantiq,rcu-big-endian-mask = <0x80>; /* bit 7 */ [all …]
|
| /linux/Documentation/devicetree/bindings/ |
| 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/fs/nls/ |
| A 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() 195 u = get_utf16(*pwcs, endian); in utf16s_to_utf8s() [all …]
|
| /linux/Documentation/devicetree/bindings/display/ |
| 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/ |
| A 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/include/misc/ |
| 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/ |
| 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/riscv/ |
| 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/Documentation/devicetree/bindings/usb/ |
| A D | generic-ohci.yaml | 73 big-endian: 76 Set this flag for HCDs with big endian descriptors and big 77 endian registers. 79 big-endian-desc: 82 Set this flag for HCDs with big endian descriptors. 84 big-endian-regs: 87 Set this flag for HCDs with big endian registers.
|
| A D | generic-ehci.yaml | 99 big-endian: 102 Set this flag for HCDs with big endian descriptors and big 103 endian registers. 105 big-endian-desc: 108 Set this flag for HCDs with big endian descriptors. 110 big-endian-regs: 113 Set this flag for HCDs with big endian registers. 165 big-endian;
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| 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/arch/arm64/boot/dts/freescale/ |
| A D | fsl-ls208xa.dtsi | 278 little-endian; 284 little-endian; 353 little-endian; 518 little-endian; 525 little-endian; 534 little-endian; 543 little-endian; 556 little-endian; 569 little-endian; 1223 little-endian; [all …]
|
| /linux/arch/arm/boot/dts/ |
| A D | ls1021a.dtsi | 96 big-endian; 135 big-endian; 158 big-endian; 177 big-endian; 299 big-endian; 312 big-endian; 391 big-endian; 398 big-endian; 405 big-endian; 412 big-endian; [all …]
|
| /linux/Documentation/devicetree/bindings/gpio/ |
| A 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/arch/mips/boot/dts/brcm/ |
| 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 …]
|
| 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;
|
| /linux/fs/ntfs3/ |
| A 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/Documentation/devicetree/bindings/sound/ |
| A D | fsl,spdif.yaml | 77 big-endian: 80 If this property is absent, the native endian mode will be in use 81 as default, or the big endian mode will be in use for all the device 82 registers. Set this flag for HCDs with big endian descriptors and big 83 endian registers. 115 big-endian;
|
| /linux/Documentation/devicetree/bindings/rtc/ |
| A 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/Documentation/devicetree/bindings/timer/ |
| A 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/Documentation/devicetree/bindings/pwm/ |
| A 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/Documentation/devicetree/bindings/counter/ |
| A D | ftm-quaddec.txt | 10 - big-endian: Access the device registers in big-endian mode. 16 big-endian;
|