/openbmc/qemu/accel/tcg/ |
H A D | ldst_atomicity.c.inc | 704 * @val_le: data to store 707 * from @val_le; return the bytes of @val_le beyond @size that have not been stored. 709 static uint64_t store_bytes_leN(void *pv, int size, uint64_t val_le) 712 for (int i = 0; i < size; i++, val_le >>= 8) { 713 p[i] = val_le; 715 return val_le; 722 * @val_le: data to store 727 static uint64_t store_parts_leN(void *pv, int size, uint64_t val_le) 735 store_atomic4(pv, le32_to_cpu(val_le)); 736 val_le >>= 32; [all …]
|
H A D | cputlb.c | 2475 uint64_t val_le, vaddr addr, int size, in int_st_mmio_leN() argument 2489 r = memory_region_dispatch_write(mr, mr_offset, val_le, in int_st_mmio_leN() 2499 val_le >>= this_size * 8; in int_st_mmio_leN() 2505 return val_le; in int_st_mmio_leN() 2509 uint64_t val_le, vaddr addr, int size, in do_st_mmio_leN() argument 2524 return int_st_mmio_leN(cpu, full, val_le, addr, size, mmu_idx, in do_st_mmio_leN() 2529 Int128 val_le, vaddr addr, int size, in do_st16_mmio_leN() argument 2544 int_st_mmio_leN(cpu, full, int128_getlo(val_le), addr, 8, in do_st16_mmio_leN() 2546 return int_st_mmio_leN(cpu, full, int128_gethi(val_le), addr + 8, in do_st16_mmio_leN() 2554 uint64_t val_le, int mmu_idx, in do_st_leN() argument [all …]
|
/openbmc/linux/drivers/misc/ |
H A D | ds1682.c | 60 __le32 val_le = 0; in ds1682_show() local 67 (u8 *)&val_le); in ds1682_show() 71 val = le32_to_cpu(val_le); in ds1682_show() 80 (u8 *)&val_le); in ds1682_show() 85 val = le32_to_cpu(val_le); in ds1682_show() 103 __le32 val_le; in ds1682_store() local 121 val_le = cpu_to_le32(val); in ds1682_store() 123 (u8 *) & val_le); in ds1682_store()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | imx274.c | 715 __le32 val_le = 0; in imx274_read_mbreg() local 718 err = regmap_bulk_read(priv->regmap, addr, &val_le, nbytes); in imx274_read_mbreg() 724 *val = le32_to_cpu(val_le); in imx274_read_mbreg() 747 __le32 val_le = cpu_to_le32(val); in imx274_write_mbreg() local 750 err = regmap_bulk_write(priv->regmap, addr, &val_le, nbytes); in imx274_write_mbreg()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs35l56-sdw.c | 88 u32 val_le = swab32(*(u32 *)buf); in cs35l56_sdw_write_one() local 91 ret = sdw_nwrite_no_pm(peripheral, reg, 4, (u8 *)&val_le); in cs35l56_sdw_write_one()
|
/openbmc/linux/drivers/usb/isp1760/ |
H A D | isp1760-udc.c | 80 __le32 val_le = cpu_to_le32(val); in isp1760_udc_write_raw() local 82 regmap_raw_write(udc->regs, reg, &val_le, 4); in isp1760_udc_write_raw() 87 __le16 val_le = cpu_to_le16(val); in isp1760_udc_write_raw16() local 89 regmap_raw_write(udc->regs, reg, &val_le, 2); in isp1760_udc_write_raw16()
|
/openbmc/qemu/subprojects/libvduse/ |
H A D | libvduse.c | 585 uint16_t val_le = htole16(val); in vring_set_avail_event() local 586 memcpy(&vq->vring.used->ring[vq->vring.num], &val_le, sizeof(uint16_t)); in vring_set_avail_event()
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.c | 2699 uint16_t val_le = htole16(val); in vring_set_avail_event() local 2705 memcpy(&vq->vring.used->ring[vq->vring.num], &val_le, sizeof(uint16_t)); in vring_set_avail_event()
|
/openbmc/qemu/hw/vfio/ |
H A D | pci.c | 1251 uint32_t val_le = cpu_to_le32(val); in vfio_pci_write_config() local 1256 if (pwrite(vdev->vbasedev.fd, &val_le, len, vdev->config_offset + addr) in vfio_pci_write_config()
|