/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/freescale/ |
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() 151 xgmac_write32(mdio_ctl, ®s->mdio_ctl, 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() 183 xgmac_write32(mdio_ctl, ®s->mdio_ctl, endian); in xgmac_mdio_write_c45() 210 bool endian = priv->is_little_endian; in xgmac_mdio_read_c22() local 227 xgmac_write32(mdio_ctl, ®s->mdio_ctl, endian); in xgmac_mdio_read_c22() 270 bool endian = priv->is_little_endian; in xgmac_mdio_read_c45() local [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/arm/lib/ |
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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/Documentation/devicetree/bindings/usb/ |
A D | generic-ehci.yaml | 107 big-endian: 110 Set this flag for HCDs with big endian descriptors and big 111 endian registers. 113 big-endian-desc: 116 Set this flag for HCDs with big endian descriptors. 118 big-endian-regs: 121 Set this flag for HCDs with big endian registers. 169 big-endian;
|
A D | generic-ohci.yaml | 82 big-endian: 85 Set this flag for HCDs with big endian descriptors and big 86 endian registers. 88 big-endian-desc: 91 Set this flag for HCDs with big endian descriptors. 93 big-endian-regs: 96 Set this flag for HCDs with big endian registers.
|
/linux-6.3-rc2/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-6.3-rc2/drivers/nvmem/ |
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-6.3-rc2/arch/arm64/boot/dts/freescale/ |
A 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; 1236 little-endian; [all …]
|
/linux-6.3-rc2/kernel/bpf/preload/iterators/ |
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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/arm/boot/dts/ |
A 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-6.3-rc2/Documentation/devicetree/bindings/counter/ |
A D | ftm-quaddec.txt | 10 - big-endian: Access the device registers in big-endian mode. 16 big-endian;
|
/linux-6.3-rc2/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 …]
|
/linux-6.3-rc2/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 …]
|