Home
last modified time | relevance | path

Searched refs:little_endian (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dvirtio_byteorder.h16 static inline u16 __virtio16_to_cpu(bool little_endian, __virtio16 val) in __virtio16_to_cpu() argument
18 if (little_endian) in __virtio16_to_cpu()
24 static inline __virtio16 __cpu_to_virtio16(bool little_endian, u16 val) in __cpu_to_virtio16() argument
26 if (little_endian) in __cpu_to_virtio16()
32 static inline u32 __virtio32_to_cpu(bool little_endian, __virtio32 val) in __virtio32_to_cpu() argument
34 if (little_endian) in __virtio32_to_cpu()
40 static inline __virtio32 __cpu_to_virtio32(bool little_endian, u32 val) in __cpu_to_virtio32() argument
42 if (little_endian) in __cpu_to_virtio32()
48 static inline u64 __virtio64_to_cpu(bool little_endian, __virtio64 val) in __virtio64_to_cpu() argument
50 if (little_endian) in __virtio64_to_cpu()
[all …]
Dvirtio_net.h48 bool little_endian) in virtio_net_hdr_to_skb() argument
86 u32 start = __virtio16_to_cpu(little_endian, hdr->csum_start); in virtio_net_hdr_to_skb()
87 u32 off = __virtio16_to_cpu(little_endian, hdr->csum_offset); in virtio_net_hdr_to_skb()
143 u16 gso_size = __virtio16_to_cpu(little_endian, hdr->gso_size); in virtio_net_hdr_to_skb()
167 bool little_endian, in virtio_net_hdr_from_skb() argument
177 hdr->hdr_len = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb()
179 hdr->gso_size = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb()
194 hdr->csum_start = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb()
196 hdr->csum_offset = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb()
Dfsl_ifc.h848 bool little_endian; member
857 if (fsl_ifc_ctrl_dev->little_endian) in ifc_in32()
869 if (fsl_ifc_ctrl_dev->little_endian) in ifc_in16()
884 if (fsl_ifc_ctrl_dev->little_endian) in ifc_out32()
892 if (fsl_ifc_ctrl_dev->little_endian) in ifc_out16()
Dvringh.h26 bool little_endian; member
225 return vrh->little_endian || in vringh_is_little_endian()
/kernel/linux/linux-5.10/drivers/i2c/muxes/
Di2c-mux-reg.c36 if (mux->data.little_endian) in i2c_mux_reg_set()
44 if (mux->data.little_endian) in i2c_mux_reg_set()
107 mux->data.little_endian = true; in i2c_mux_reg_probe_dt()
109 mux->data.little_endian = false; in i2c_mux_reg_probe_dt()
113 mux->data.little_endian = true; in i2c_mux_reg_probe_dt()
116 mux->data.little_endian = false; in i2c_mux_reg_probe_dt()
/kernel/linux/linux-5.10/drivers/soc/fsl/
Drcpm.c22 bool little_endian; member
86 if (rcpm->little_endian) { in rcpm_pm_prepare()
123 rcpm->little_endian = device_property_read_bool( in rcpm_probe()
Dguts.c19 bool little_endian; member
130 if (guts->little_endian) in fsl_guts_get_svr()
152 guts->little_endian = of_property_read_bool(np, "little-endian"); in fsl_guts_probe()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Docfb.c62 int little_endian; member
89 if (fbdev->little_endian) in ocfb_readreg()
97 if (fbdev->little_endian) in ocfb_writereg()
115 fbdev->little_endian = 0; in ocfb_setupfb()
120 fbdev->little_endian = 1; in ocfb_setupfb()
344 if (fbdev->little_endian) in ocfb_probe()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-fsl-qspi.c206 bool little_endian; member
215 .little_endian = true,
224 .little_endian = true,
234 .little_endian = true,
244 .little_endian = true,
253 .little_endian = false,
262 .little_endian = true,
326 if (q->devtype_data->little_endian) in qspi_writel()
334 if (q->devtype_data->little_endian) in qspi_readl()
635 if (!q->devtype_data->little_endian) in fsl_qspi_readl_poll_tout()
Dspi-nxp-fspi.c319 bool little_endian; member
327 .little_endian = true, /* little-endian */
335 .little_endian = true, /* little-endian */
343 .little_endian = true, /* little-endian */
371 if (f->devtype_data->little_endian) in fspi_writel()
379 if (f->devtype_data->little_endian) in fspi_readl()
473 if (!f->devtype_data->little_endian) in fspi_readl_poll_tout()
/kernel/linux/linux-5.10/include/linux/platform_data/
Di2c-mux-reg.h31 bool little_endian; member
/kernel/linux/linux-5.10/drivers/edac/
Dfsl_ddr_edac.c39 static bool little_endian; variable
43 return little_endian ? ioread32(addr) : ioread32be(addr); in ddr_in32()
48 if (little_endian) in ddr_out32()
513 little_endian = of_property_read_bool(op->dev.of_node, "little-endian"); in fsl_mc_err_probe()
/kernel/linux/linux-5.10/drivers/memory/
Dfsl_ifc.c226 fsl_ifc_ctrl_dev->little_endian = true; in fsl_ifc_ctrl_probe()
229 fsl_ifc_ctrl_dev->little_endian = false; in fsl_ifc_ctrl_probe()
/kernel/linux/linux-5.10/drivers/power/supply/
Dolpc_battery.c57 bool little_endian; member
325 if (data->little_endian) in ecword_to_cpu()
655 data->little_endian = true; in olpc_battery_probe()
/kernel/linux/linux-5.10/drivers/thermal/
Dqoriq_thermal.c267 const bool little_endian = of_property_read_bool(np, "little-endian"); in qoriq_tmu_probe() local
269 little_endian ? REGMAP_ENDIAN_LITTLE : REGMAP_ENDIAN_BIG; in qoriq_tmu_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/
Dll_temac_main.c1375 bool little_endian; in temac_probe() local
1439 little_endian = false; in temac_probe()
1442 little_endian = true; in temac_probe()
1444 little_endian = pdata->reg_little_endian; in temac_probe()
1446 if (little_endian) { in temac_probe()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0032_linux_drivers_regulator_remoteproc_reset_rpmsg_rtc.patch2382 + rpdev->little_endian = virtio_is_little_endian(vrp->vdev);
2405 + bool little_endian = virtio_is_little_endian(vrp->vdev);
2406 + unsigned int msg_len = __rpmsg16_to_cpu(little_endian, msg->len);
2414 + __rpmsg32_to_cpu(little_endian, msg->src),
2415 + __rpmsg32_to_cpu(little_endian, msg->dst), msg_len,
2416 + __rpmsg16_to_cpu(little_endian, msg->flags),
2417 + __rpmsg32_to_cpu(little_endian, msg->reserved));
2426 + ept = idr_find(&vrp->endpoints, __rpmsg32_to_cpu(little_endian, msg->dst));
2435 + __rpmsg32_to_cpu(little_endian, msg->src));
2505 + rpdev_ctrl->little_endian = virtio_is_little_endian(vrp->vdev);
[all …]
D0033_linux_drivers_soc_scsi_spi_tee_thermal.patch3867 .little_endian = true, /* little-endian */
3871 .little_endian = true, /* little-endian */
3879 + .little_endian = true, /* little-endian */
/kernel/linux/linux-5.10/net/rxrpc/
Drxkad.c909 bool little_endian; in rxkad_decrypt_ticket() local
966 little_endian = *p & 1; in rxkad_decrypt_ticket()
1001 if (little_endian) { in rxkad_decrypt_ticket()
/kernel/linux/linux-5.10/drivers/vhost/
Dvringh.c640 vrh->little_endian = (features & (1ULL << VIRTIO_F_VERSION_1)); in vringh_init_user()
911 vrh->little_endian = (features & (1ULL << VIRTIO_F_VERSION_1)); in vringh_init_kern()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch4491 bool little_endian;
12969 + * @little_endian: True if transport is using little endian byte representation
12977 + bool little_endian;
12990 + return __rpmsg16_to_cpu(rpdev->little_endian, val);
12998 + return __cpu_to_rpmsg16(rpdev->little_endian, val);
13006 + return __rpmsg32_to_cpu(rpdev->little_endian, val);
13014 + return __cpu_to_rpmsg32(rpdev->little_endian, val);
13022 + return __rpmsg64_to_cpu(rpdev->little_endian, val);
13030 + return __cpu_to_rpmsg64(rpdev->little_endian, val);
13114 +static inline u16 __rpmsg16_to_cpu(bool little_endian, __rpmsg16 val)
[all …]