/linux-6.3-rc2/include/linux/ |
A D | virtio_byteorder.h | 16 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 …]
|
A D | virtio_net.h | 50 bool little_endian) in virtio_net_hdr_to_skb() argument 93 u32 start = __virtio16_to_cpu(little_endian, hdr->csum_start); in virtio_net_hdr_to_skb() 94 u32 off = __virtio16_to_cpu(little_endian, hdr->csum_offset); in virtio_net_hdr_to_skb() 150 u16 gso_size = __virtio16_to_cpu(little_endian, hdr->gso_size); in virtio_net_hdr_to_skb() 174 bool little_endian, in virtio_net_hdr_from_skb() argument 184 hdr->hdr_len = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb() 186 hdr->gso_size = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb() 203 hdr->csum_start = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb() 205 hdr->csum_offset = __cpu_to_virtio16(little_endian, in virtio_net_hdr_from_skb()
|
A D | rpmsg.h | 61 bool little_endian; member 123 return __rpmsg16_to_cpu(rpdev->little_endian, val); in rpmsg16_to_cpu() 131 return __cpu_to_rpmsg16(rpdev->little_endian, val); in cpu_to_rpmsg16() 139 return __rpmsg32_to_cpu(rpdev->little_endian, val); in rpmsg32_to_cpu() 147 return __cpu_to_rpmsg32(rpdev->little_endian, val); in cpu_to_rpmsg32() 155 return __rpmsg64_to_cpu(rpdev->little_endian, val); in rpmsg64_to_cpu() 163 return __cpu_to_rpmsg64(rpdev->little_endian, val); in cpu_to_rpmsg64()
|
A D | fsl_ifc.h | 848 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()
|
A D | vringh.h | 27 bool little_endian; member 242 return vrh->little_endian || in vringh_is_little_endian()
|
/linux-6.3-rc2/include/linux/rpmsg/ |
A D | byteorder.h | 19 static inline u16 __rpmsg16_to_cpu(bool little_endian, __rpmsg16 val) in __rpmsg16_to_cpu() argument 21 if (little_endian) in __rpmsg16_to_cpu() 27 static inline __rpmsg16 __cpu_to_rpmsg16(bool little_endian, u16 val) in __cpu_to_rpmsg16() argument 29 if (little_endian) in __cpu_to_rpmsg16() 35 static inline u32 __rpmsg32_to_cpu(bool little_endian, __rpmsg32 val) in __rpmsg32_to_cpu() argument 37 if (little_endian) in __rpmsg32_to_cpu() 43 static inline __rpmsg32 __cpu_to_rpmsg32(bool little_endian, u32 val) in __cpu_to_rpmsg32() argument 45 if (little_endian) in __cpu_to_rpmsg32() 51 static inline u64 __rpmsg64_to_cpu(bool little_endian, __rpmsg64 val) in __rpmsg64_to_cpu() argument 53 if (little_endian) in __rpmsg64_to_cpu() [all …]
|
/linux-6.3-rc2/drivers/i2c/muxes/ |
A D | i2c-mux-reg.c | 36 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()
|
/linux-6.3-rc2/drivers/soc/fsl/ |
A D | rcpm.c | 23 bool little_endian; member 119 if (rcpm->little_endian) { in rcpm_pm_prepare() 162 rcpm->little_endian = device_property_read_bool( in rcpm_probe()
|
A D | guts.c | 191 bool little_endian; in fsl_guts_init() local 207 little_endian = of_property_read_bool(np, "little-endian"); in fsl_guts_init() 208 if (little_endian) in fsl_guts_init()
|
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | ocfb.c | 62 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()
|
/linux-6.3-rc2/drivers/rpmsg/ |
A D | virtio_rpmsg_bus.c | 419 rpdev->little_endian = virtio_is_little_endian(vrp->vdev); in __rpmsg_create_channel() 713 bool little_endian = virtio_is_little_endian(vrp->vdev); in rpmsg_recv_single() local 714 unsigned int msg_len = __rpmsg16_to_cpu(little_endian, msg->len); in rpmsg_recv_single() 718 __rpmsg32_to_cpu(little_endian, msg->src), in rpmsg_recv_single() 719 __rpmsg32_to_cpu(little_endian, msg->dst), msg_len, in rpmsg_recv_single() 720 __rpmsg16_to_cpu(little_endian, msg->flags), in rpmsg_recv_single() 721 __rpmsg32_to_cpu(little_endian, msg->reserved)); in rpmsg_recv_single() 740 ept = idr_find(&vrp->endpoints, __rpmsg32_to_cpu(little_endian, msg->dst)); in rpmsg_recv_single() 754 __rpmsg32_to_cpu(little_endian, msg->src)); in rpmsg_recv_single() 850 rpdev_ctrl->little_endian = virtio_is_little_endian(vrp->vdev); in rpmsg_virtio_add_ctrl_dev() [all …]
|
/linux-6.3-rc2/drivers/soc/loongson/ |
A D | loongson2_guts.c | 42 bool little_endian; member 85 if (guts->little_endian) in loongson2_guts_get_svr() 107 guts->little_endian = of_property_read_bool(np, "little-endian"); in loongson2_guts_probe()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-fsl-qspi.c | 206 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()
|
A D | spi-nxp-fspi.c | 329 bool little_endian; member 337 .little_endian = true, /* little-endian */ 345 .little_endian = true, /* little-endian */ 353 .little_endian = true, /* little-endian */ 361 .little_endian = true, /* little-endian */ 394 if (f->devtype_data->little_endian) in fspi_writel() 402 if (f->devtype_data->little_endian) in fspi_readl() 496 if (!f->devtype_data->little_endian) in fspi_readl_poll_tout()
|
/linux-6.3-rc2/drivers/soc/bcm/bcm63xx/ |
A D | bcm-pmb.c | 74 bool little_endian; member 103 *val = pmb->little_endian ? le32_to_cpu(*val) : be32_to_cpu(*val); in bcm_pmb_bpcm_read() 115 val = pmb->little_endian ? cpu_to_le32(val) : cpu_to_be32(val); in bcm_pmb_bpcm_write() 295 pmb->little_endian = !of_device_is_big_endian(dev->of_node); in bcm_pmb_probe()
|
/linux-6.3-rc2/include/linux/platform_data/ |
A D | i2c-mux-reg.h | 31 bool little_endian; member
|
/linux-6.3-rc2/drivers/edac/ |
A D | fsl_ddr_edac.c | 37 static bool little_endian; variable 41 return little_endian ? ioread32(addr) : ioread32be(addr); in ddr_in32() 46 if (little_endian) in ddr_out32() 511 little_endian = of_property_read_bool(op->dev.of_node, "little-endian"); in fsl_mc_err_probe()
|
/linux-6.3-rc2/drivers/memory/ |
A D | fsl_ifc.c | 227 fsl_ifc_ctrl_dev->little_endian = true; in fsl_ifc_ctrl_probe() 230 fsl_ifc_ctrl_dev->little_endian = false; in fsl_ifc_ctrl_probe()
|
/linux-6.3-rc2/drivers/power/supply/ |
A D | olpc_battery.c | 57 bool little_endian; member 325 if (data->little_endian) in ecword_to_cpu() 658 data->little_endian = true; in olpc_battery_probe()
|
/linux-6.3-rc2/drivers/thermal/ |
A D | qoriq_thermal.c | 266 const bool little_endian = of_property_read_bool(np, "little-endian"); in qoriq_tmu_probe() local 268 little_endian ? REGMAP_ENDIAN_LITTLE : REGMAP_ENDIAN_BIG; in qoriq_tmu_probe()
|
/linux-6.3-rc2/drivers/net/ethernet/xilinx/ |
A D | ll_temac_main.c | 1393 bool little_endian; in temac_probe() local 1457 little_endian = false; in temac_probe() 1460 little_endian = true; in temac_probe() 1462 little_endian = pdata->reg_little_endian; in temac_probe() 1464 if (little_endian) { in temac_probe()
|
/linux-6.3-rc2/net/rxrpc/ |
A D | rxkad.c | 870 bool little_endian; in rxkad_decrypt_ticket() local 914 little_endian = *p & 1; in rxkad_decrypt_ticket() 949 if (little_endian) { in rxkad_decrypt_ticket()
|
/linux-6.3-rc2/drivers/vhost/ |
A D | vringh.c | 658 vrh->little_endian = (features & (1ULL << VIRTIO_F_VERSION_1)); in vringh_init_user() 932 vrh->little_endian = (features & (1ULL << VIRTIO_F_VERSION_1)); in vringh_init_kern()
|