Home
last modified time | relevance | path

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

/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()
/drivers/rpmsg/
Dvirtio_rpmsg_bus.c420 rpdev->little_endian = virtio_is_little_endian(vrp->vdev); in __rpmsg_create_channel()
714 bool little_endian = virtio_is_little_endian(vrp->vdev); in rpmsg_recv_single() local
715 unsigned int msg_len = __rpmsg16_to_cpu(little_endian, msg->len); in rpmsg_recv_single()
719 __rpmsg32_to_cpu(little_endian, msg->src), in rpmsg_recv_single()
720 __rpmsg32_to_cpu(little_endian, msg->dst), msg_len, in rpmsg_recv_single()
721 __rpmsg16_to_cpu(little_endian, msg->flags), in rpmsg_recv_single()
722 __rpmsg32_to_cpu(little_endian, msg->reserved)); in rpmsg_recv_single()
741 ept = idr_find(&vrp->endpoints, __rpmsg32_to_cpu(little_endian, msg->dst)); in rpmsg_recv_single()
755 __rpmsg32_to_cpu(little_endian, msg->src)); in rpmsg_recv_single()
851 rpdev_ctrl->little_endian = virtio_is_little_endian(vrp->vdev); in rpmsg_virtio_add_ctrl_dev()
[all …]
/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()
/drivers/soc/fsl/
Drcpm.c23 bool little_endian; member
119 if (rcpm->little_endian) { in rcpm_pm_prepare()
162 rcpm->little_endian = device_property_read_bool( in rcpm_probe()
Dguts.c191 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()
/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.c329 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()
/drivers/soc/bcm/bcm63xx/
Dbcm-pmb.c74 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()
/drivers/edac/
Dfsl_ddr_edac.c37 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()
/drivers/memory/
Dfsl_ifc.c227 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()
/drivers/power/supply/
Dolpc_battery.c57 bool little_endian; member
325 if (data->little_endian) in ecword_to_cpu()
658 data->little_endian = true; in olpc_battery_probe()
/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()
/drivers/net/ethernet/xilinx/
Dll_temac_main.c1393 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()
/drivers/vhost/
Dvringh.c668 vrh->little_endian = (features & (1ULL << VIRTIO_F_VERSION_1)); in vringh_init_user()
942 vrh->little_endian = (features & (1ULL << VIRTIO_F_VERSION_1)); in vringh_init_kern()