Home
last modified time | relevance | path

Searched full:endian (Results 1 – 25 of 2505) sorted by relevance

12345678910>>...101

/kernel/linux/linux-5.10/drivers/misc/ocxl/
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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/regmap/
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;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regmap/
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;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dlantiq,vrx200-pcie-phy.yaml49 lantiq,rcu-endian-offset:
51 description: the offset of the endian registers for this PHY instance in the RCU syscon
53 lantiq,rcu-big-endian-mask:
55 description: the mask to set the PDI (PHY) registers for this PHY instance to big endian
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
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/freescale/
Dxgmac_mdio.c136 bool endian = priv->is_little_endian; in xgmac_mdio_write() local
138 mdio_stat = xgmac_read32(&regs->mdio_stat, endian); in xgmac_mdio_write()
149 xgmac_write32(mdio_stat, &regs->mdio_stat, endian); in xgmac_mdio_write()
151 ret = xgmac_wait_until_free(&bus->dev, regs, endian); in xgmac_mdio_write()
157 xgmac_write32(mdio_ctl, &regs->mdio_ctl, endian); in xgmac_mdio_write()
161 xgmac_write32(regnum & 0xffff, &regs->mdio_addr, endian); in xgmac_mdio_write()
163 ret = xgmac_wait_until_free(&bus->dev, regs, endian); in xgmac_mdio_write()
169 xgmac_write32(MDIO_DATA(value), &regs->mdio_data, endian); in xgmac_mdio_write()
171 ret = xgmac_wait_until_done(&bus->dev, regs, endian); in xgmac_mdio_write()
192 bool endian = priv->is_little_endian; in xgmac_mdio_read() local
[all …]
/kernel/linux/linux-5.10/include/uapi/drm/
Ddrm_fourcc.h72 #define DRM_FORMAT_BIG_ENDIAN (1U<<31) /* format is big endian instead of little endian */
84 #define DRM_FORMAT_R16 fourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */
87 #define DRM_FORMAT_RG88 fourcc_code('R', 'G', '8', '8') /* [15:0] R:G 8:8 little endian */
88 #define DRM_FORMAT_GR88 fourcc_code('G', 'R', '8', '8') /* [15:0] G:R 8:8 little endian */
91 #define DRM_FORMAT_RG1616 fourcc_code('R', 'G', '3', '2') /* [31:0] R:G 16:16 little endian */
92 #define DRM_FORMAT_GR1616 fourcc_code('G', 'R', '3', '2') /* [31:0] G:R 16:16 little endian */
99 #define DRM_FORMAT_XRGB4444 fourcc_code('X', 'R', '1', '2') /* [15:0] x:R:G:B 4:4:4:4 little endian
100 #define DRM_FORMAT_XBGR4444 fourcc_code('X', 'B', '1', '2') /* [15:0] x:B:G:R 4:4:4:4 little endian
101 #define DRM_FORMAT_RGBX4444 fourcc_code('R', 'X', '1', '2') /* [15:0] R:G:B:x 4:4:4:4 little endian
102 #define DRM_FORMAT_BGRX4444 fourcc_code('B', 'X', '1', '2') /* [15:0] B:G:R:x 4:4:4:4 little endian
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/
Dcommon-properties.txt13 - big-endian: Boolean; force big endian register accesses
16 - little-endian: Boolean; force little endian register accesses
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
29 helper functions do assume that little-endian is the default, because
39 native-endian;
47 big-endian;
55 native-endian;
63 little-endian;
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dxgmac_mdio.c136 bool endian = priv->is_little_endian; in xgmac_mdio_write() local
138 mdio_stat = xgmac_read32(&regs->mdio_stat, endian); in xgmac_mdio_write()
149 xgmac_write32(mdio_stat, &regs->mdio_stat, endian); in xgmac_mdio_write()
151 ret = xgmac_wait_until_free(&bus->dev, regs, endian); in xgmac_mdio_write()
157 xgmac_write32(mdio_ctl, &regs->mdio_ctl, endian); in xgmac_mdio_write()
161 xgmac_write32(regnum & 0xffff, &regs->mdio_addr, endian); in xgmac_mdio_write()
163 ret = xgmac_wait_until_free(&bus->dev, regs, endian); in xgmac_mdio_write()
169 xgmac_write32(MDIO_DATA(value), &regs->mdio_data, endian); in xgmac_mdio_write()
171 ret = xgmac_wait_until_done(&bus->dev, regs, endian); in xgmac_mdio_write()
192 bool endian = priv->is_little_endian; in xgmac_mdio_read() local
[all …]
/kernel/linux/linux-4.19/include/uapi/drm/
Ddrm_fourcc.h36 #define DRM_FORMAT_BIG_ENDIAN (1<<31) /* format is big endian instead of little endian */
45 #define DRM_FORMAT_R16 fourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */
48 #define DRM_FORMAT_RG88 fourcc_code('R', 'G', '8', '8') /* [15:0] R:G 8:8 little endian */
49 #define DRM_FORMAT_GR88 fourcc_code('G', 'R', '8', '8') /* [15:0] G:R 8:8 little endian */
52 #define DRM_FORMAT_RG1616 fourcc_code('R', 'G', '3', '2') /* [31:0] R:G 16:16 little endian */
53 #define DRM_FORMAT_GR1616 fourcc_code('G', 'R', '3', '2') /* [31:0] G:R 16:16 little endian */
60 #define DRM_FORMAT_XRGB4444 fourcc_code('X', 'R', '1', '2') /* [15:0] x:R:G:B 4:4:4:4 little endian
61 #define DRM_FORMAT_XBGR4444 fourcc_code('X', 'B', '1', '2') /* [15:0] x:B:G:R 4:4:4:4 little endian
62 #define DRM_FORMAT_RGBX4444 fourcc_code('R', 'X', '1', '2') /* [15:0] R:G:B:x 4:4:4:4 little endian
63 #define DRM_FORMAT_BGRX4444 fourcc_code('B', 'X', '1', '2') /* [15:0] B:G:R:x 4:4:4:4 little endian
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/usb/
Dusb-ehci.txt12 - big-endian-regs : boolean, set this for hcds with big-endian registers
13 - big-endian-desc : boolean, set this for hcds with big-endian descriptors
14 - big-endian : boolean, for hcds with big-endian-regs + big-endian-desc
31 big-endian;
Dusb-ohci.txt9 - big-endian-regs : boolean, set this for hcds with big-endian registers
10 - big-endian-desc : boolean, set this for hcds with big-endian descriptors
11 - big-endian : boolean, for hcds with big-endian-regs + big-endian-desc
/kernel/linux/linux-4.19/drivers/crypto/cavium/cpt/
Dcpt_hw_types.h33 * stored in memory as little-endian unless CPT()_PF_Q()_CTL[INST_BE] is set.
79 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */
83 #else /* Word 0 - Little Endian */
89 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 2 - Big Endian */
94 #else /* Word 2 - Little Endian */
116 * This structure is stored in memory as little-endian unless
136 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */
141 #else /* Word 0 - Little Endian */
165 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */
168 #else /* Word 0 - Little Endian */
[all …]
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Dcpt_hw_types.h30 * stored in memory as little-endian unless CPT()_PF_Q()_CTL[INST_BE] is set.
76 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */
80 #else /* Word 0 - Little Endian */
86 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 2 - Big Endian */
91 #else /* Word 2 - Little Endian */
113 * This structure is stored in memory as little-endian unless
133 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */
138 #else /* Word 0 - Little Endian */
162 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */
165 #else /* Word 0 - Little Endian */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/
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 */
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/i2c/
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 */
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf_endian.c13 enum btf_endianness endian = BTF_LITTLE_ENDIAN; in test_btf_endian() local
15 enum btf_endianness endian = BTF_BIG_ENDIAN; in test_btf_endian()
19 enum btf_endianness swap_endian = 1 - endian; in test_btf_endian()
32 ASSERT_EQ(btf__endianness(btf), endian, "endian"); in test_btf_endian()
34 ASSERT_EQ(btf__endianness(btf), swap_endian, "endian"); in test_btf_endian()
46 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian()
62 btf__set_endianness(swap_btf, endian); in test_btf_endian()
89 ASSERT_EQ(btf__endianness(swap_btf), swap_endian, "endian"); in test_btf_endian()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dgeneric-ehci.yaml53 big-endian:
56 Set this flag for HCDs with big endian descriptors and big
57 endian registers.
59 big-endian-desc:
62 Set this flag for HCDs with big endian descriptors.
64 big-endian-regs:
67 Set this flag for HCDs with big endian registers.
108 big-endian;
Dgeneric-ohci.yaml42 big-endian:
45 Set this flag for HCDs with big endian descriptors and big
46 endian registers.
48 big-endian-desc:
51 Set this flag for HCDs with big endian descriptors.
53 big-endian-regs:
56 Set this flag for HCDs with big endian registers.
/kernel/linux/linux-5.10/tools/lib/traceevent/
Devent-parse-api.c252 * tep_is_file_bigendian - return the endian of the file
255 * This returns true if the file is in big endian order
266 * tep_set_file_bigendian - set if the file is in big endian order
268 * @endian: non zero, if the file is in big endian order
270 * This sets if the file is in big endian order
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()
279 * tep_is_local_bigendian - return the endian of the saved local machine
282 * This returns true if the saved local machine in @tep is big endian.
293 * tep_set_local_bigendian - set the stored local machine endian order
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/
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.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
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.
/kernel/linux/linux-4.19/drivers/usb/host/
Dehci-fsl.h22 #define USBMODE_ES (1 << 2) /* (Big) Endian Select */
31 #define FSL_SOC_USB_SNOOP1 0x400 /* NOTE: big-endian */
32 #define FSL_SOC_USB_SNOOP2 0x404 /* NOTE: big-endian */
33 #define FSL_SOC_USB_AGECNTTHRSH 0x408 /* NOTE: big-endian */
34 #define FSL_SOC_USB_PRICTRL 0x40c /* NOTE: big-endian */
35 #define FSL_SOC_USB_SICTRL 0x410 /* NOTE: big-endian */
36 #define FSL_SOC_USB_CTRL 0x500 /* NOTE: big-endian */
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
Dotx_cpt_hw_types.h167 * stored in memory as little-endian unless CPT()_PF_Q()_CTL[INST_BE] is set.
214 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */
218 #else /* Word 0 - Little Endian */
224 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 2 - Big Endian */
229 #else /* Word 2 - Little Endian */
251 * This structure is stored in memory as little-endian unless
271 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */
276 #else /* Word 0 - Little Endian */
300 #if defined(__BIG_ENDIAN_BITFIELD) /* Word 0 - Big Endian */
303 #else /* Word 0 - Little Endian */
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-fsl.h22 #define USBMODE_ES (1 << 2) /* (Big) Endian Select */
31 #define FSL_SOC_USB_SNOOP1 0x400 /* NOTE: big-endian */
32 #define FSL_SOC_USB_SNOOP2 0x404 /* NOTE: big-endian */
33 #define FSL_SOC_USB_AGECNTTHRSH 0x408 /* NOTE: big-endian */
34 #define FSL_SOC_USB_PRICTRL 0x40c /* NOTE: big-endian */
35 #define FSL_SOC_USB_SICTRL 0x410 /* NOTE: big-endian */
36 #define FSL_SOC_USB_CTRL 0x500 /* NOTE: big-endian */

12345678910>>...101