Home
last modified time | relevance | path

Searched refs:stl_le_p (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/qemu/hw/usb/
H A Ddev-network.c674 stl_le_p(outbuf + (i * sizeof(le32)), oid_supported_list[i]); in ndis_query()
680 stl_le_p(outbuf, 0); in ndis_query()
685 stl_le_p(outbuf, s->medium); in ndis_query()
690 stl_le_p(outbuf, s->medium); in ndis_query()
695 stl_le_p(outbuf, ETH_FRAME_LEN); in ndis_query()
700 stl_le_p(outbuf, s->speed); in ndis_query()
705 stl_le_p(outbuf, ETH_FRAME_LEN); in ndis_query()
710 stl_le_p(outbuf, ETH_FRAME_LEN); in ndis_query()
715 stl_le_p(outbuf, s->vendorid); in ndis_query()
724 stl_le_p(outbuf, 1); in ndis_query()
[all …]
/openbmc/qemu/hw/i386/
H A Dmultiboot.c136 stl_le_p(p + MB_MOD_START, start); in mb_add_mod()
137 stl_le_p(p + MB_MOD_END, end); in mb_add_mod()
138 stl_le_p(p + MB_MOD_CMDLINE, cmdline_phys); in mb_add_mod()
367 stl_le_p(bootinfo + MBI_CMDLINE, mb_add_cmdline(&mbs, kcmdline)); in load_multiboot()
368 stl_le_p(bootinfo + MBI_BOOTLOADER, mb_add_bootloader(&mbs, in load_multiboot()
370 stl_le_p(bootinfo + MBI_MODS_ADDR, mbs.mb_buf_phys + mbs.offset_mbinfo); in load_multiboot()
371 stl_le_p(bootinfo + MBI_MODS_COUNT, mbs.mb_mods_count); /* mods_count */ in load_multiboot()
374 stl_le_p(bootinfo + MBI_FLAGS, MULTIBOOT_FLAGS_MEMORY in load_multiboot()
380 stl_le_p(bootinfo + MBI_BOOT_DEVICE, 0x8000ffff); /* XXX: use the -boot switch? */ in load_multiboot()
381 stl_le_p(bootinfo + MBI_MMAP_ADDR, ADDR_E820_MAP); in load_multiboot()
H A Dx86-common.c802 stl_le_p(header + 0x228, cmdline_addr); in x86_load_linux()
884 stl_le_p(header + 0x218, initrd_addr); in x86_load_linux()
885 stl_le_p(header + 0x21c, initrd_size); in x86_load_linux()
H A Dintel_iommu.c103 stl_le_p(&s->csr[addr], val); in vtd_define_long()
104 stl_le_p(&s->wmask[addr], wmask); in vtd_define_long()
105 stl_le_p(&s->w1cmask[addr], w1cmask); in vtd_define_long()
110 stl_le_p(&s->womask[addr], mask); in vtd_define_long_wo()
128 stl_le_p(&s->csr[addr], in vtd_set_long()
166 stl_le_p(&s->csr[addr], new_val); in vtd_set_clear_mask_long()
/openbmc/qemu/hw/cxl/
H A Dcxl-component-utils.c118 stl_le_p((uint8_t *)cache_mem + offset, value); in dumb_hdm_handler()
217 stl_le_p(reg_state + R_CXL_RAS_UNC_ERR_STATUS, 0); in ras_init_common()
218 stl_le_p(write_msk + R_CXL_RAS_UNC_ERR_STATUS, 0x1cfff); in ras_init_common()
220 stl_le_p(reg_state + R_CXL_RAS_UNC_ERR_MASK, 0x1cfff); in ras_init_common()
221 stl_le_p(write_msk + R_CXL_RAS_UNC_ERR_MASK, 0x1cfff); in ras_init_common()
222 stl_le_p(reg_state + R_CXL_RAS_UNC_ERR_SEVERITY, 0x1cfff); in ras_init_common()
223 stl_le_p(write_msk + R_CXL_RAS_UNC_ERR_SEVERITY, 0x1cfff); in ras_init_common()
224 stl_le_p(reg_state + R_CXL_RAS_COR_ERR_STATUS, 0); in ras_init_common()
225 stl_le_p(write_msk + R_CXL_RAS_COR_ERR_STATUS, 0x7f); in ras_init_common()
226 stl_le_p(reg_state + R_CXL_RAS_COR_ERR_MASK, 0x7f); in ras_init_common()
[all …]
H A Dcxl-mailbox-utils.c1415 stl_le_p(&id->lsa_size, cvc->get_lsa_size(ct3d)); in cmd_identify_memory_device()
1710 stl_le_p(&out->records[i].length, (stop - start) / CXL_CACHE_LINE_SIZE); in cmd_media_get_poison_list()
1922 stl_le_p(&out->estimated_runtime_ms, in cmd_media_get_scan_media_capabilities()
2111 stl_le_p(&out->records[i].length, (stop - start) / CXL_CACHE_LINE_SIZE); in cmd_media_get_scan_media_results()
2193 stl_le_p(&out->records[i].dsmadhandle, in cmd_dcd_get_dyn_cap_config()
2201 stl_le_p(&extra_out->num_extents_supported, CXL_NUM_EXTENTS_SUPPORTED); in cmd_dcd_get_dyn_cap_config()
2202 stl_le_p(&extra_out->num_extents_available, CXL_NUM_EXTENTS_SUPPORTED - in cmd_dcd_get_dyn_cap_config()
2204 stl_le_p(&extra_out->num_tags_supported, CXL_NUM_TAGS_SUPPORTED); in cmd_dcd_get_dyn_cap_config()
2205 stl_le_p(&extra_out->num_tags_available, CXL_NUM_TAGS_SUPPORTED); in cmd_dcd_get_dyn_cap_config()
2250 stl_le_p(&out->count, record_count); in cmd_dcd_get_dyn_cap_ext_list()
[all …]
/openbmc/qemu/hw/virtio/
H A Dvirtio-crypto.c283 stl_le_p(&input.status, VIRTIO_CRYPTO_NOTSUPP); in virtio_crypto_create_session_completion()
285 stl_le_p(&input.status, VIRTIO_CRYPTO_KEY_REJECTED); in virtio_crypto_create_session_completion()
287 stl_le_p(&input.status, VIRTIO_CRYPTO_ERR); in virtio_crypto_create_session_completion()
291 stl_le_p(&input.status, VIRTIO_CRYPTO_OK); in virtio_crypto_create_session_completion()
437 stl_le_p(&input.status, VIRTIO_CRYPTO_NOTSUPP); in virtio_crypto_handle_ctrl()
1146 stl_le_p(&crypto_cfg.status, c->status); in virtio_crypto_get_config()
1147 stl_le_p(&crypto_cfg.max_dataqueues, c->max_queues); in virtio_crypto_get_config()
1148 stl_le_p(&crypto_cfg.crypto_services, c->conf.crypto_services); in virtio_crypto_get_config()
1149 stl_le_p(&crypto_cfg.cipher_algo_l, c->conf.cipher_algo_l); in virtio_crypto_get_config()
1150 stl_le_p(&crypto_cfg.cipher_algo_h, c->conf.cipher_algo_h); in virtio_crypto_get_config()
[all …]
H A Dvirtio-config-io.c198 stl_le_p(vdev->config + addr, val); in virtio_config_modern_writel()
/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c1705 stl_le_p(&s->regs_ro[RISCV_IOMMU_REG_CQT], ~s->cq_mask); in riscv_iommu_process_cq_control()
1706 stl_le_p(&s->regs_rw[RISCV_IOMMU_REG_CQH], 0); in riscv_iommu_process_cq_control()
1707 stl_le_p(&s->regs_rw[RISCV_IOMMU_REG_CQT], 0); in riscv_iommu_process_cq_control()
1713 stl_le_p(&s->regs_ro[RISCV_IOMMU_REG_CQT], ~0); in riscv_iommu_process_cq_control()
1736 stl_le_p(&s->regs_ro[RISCV_IOMMU_REG_FQH], ~s->fq_mask); in riscv_iommu_process_fq_control()
1737 stl_le_p(&s->regs_rw[RISCV_IOMMU_REG_FQH], 0); in riscv_iommu_process_fq_control()
1738 stl_le_p(&s->regs_rw[RISCV_IOMMU_REG_FQT], 0); in riscv_iommu_process_fq_control()
1743 stl_le_p(&s->regs_ro[RISCV_IOMMU_REG_FQH], ~0); in riscv_iommu_process_fq_control()
1766 stl_le_p(&s->regs_ro[RISCV_IOMMU_REG_PQH], ~s->pq_mask); in riscv_iommu_process_pq_control()
1767 stl_le_p(&s->regs_rw[RISCV_IOMMU_REG_PQH], 0); in riscv_iommu_process_pq_control()
[all …]
H A Driscv-iommu.h96 stl_le_p(s->regs_rw + idx, (val & ~clr) | set); in riscv_iommu_reg_mod32()
103 stl_le_p(s->regs_rw + idx, set); in riscv_iommu_reg_set32()
/openbmc/qemu/hw/mem/
H A Dcxl_type3.c414 stl_le_p(cache_mem + R_CXL_HDM_DECODER0_CTRL + which * hdm_inc, ctrl); in hdm_decoder_commit()
429 stl_le_p(cache_mem + R_CXL_HDM_DECODER0_CTRL + which * hdm_inc, ctrl); in hdm_decoder_uncommit()
574 stl_le_p(header_log + i, cxl_err->header[i]); in ct3d_reg_write()
588 stl_le_p((uint8_t *)cache_mem + A_CXL_RAS_ERR_CAP_CTRL, capctrl); in ct3d_reg_write()
594 stl_le_p((uint8_t *)cache_mem + offset, unc_err); in ct3d_reg_write()
603 stl_le_p((uint8_t *)cache_mem + offset, temp); in ct3d_reg_write()
610 stl_le_p((uint8_t *)cache_mem + offset, value); in ct3d_reg_write()
1480 stl_le_p(header_log + i, cxl_err->header[i]); in qmp_cxl_inject_uncorrectable_errors()
1485 stl_le_p(cache_mem + R_CXL_RAS_ERR_CAP_CTRL, capctrl); in qmp_cxl_inject_uncorrectable_errors()
1496 stl_le_p(reg_state + R_CXL_RAS_UNC_ERR_STATUS, unc_err); in qmp_cxl_inject_uncorrectable_errors()
[all …]
/openbmc/qemu/hw/pci-host/
H A Dsh_pci.c59 stl_le_p(pcic->dev->config + addr, val); in sh_pci_reg_write()
H A Draven.c189 stl_le_p(buf, val); in raven_io_write()
H A Dppc440_pcix.c174 stl_le_p(s->config + addr, val); in ppc440_pcix_reg_write4()
/openbmc/qemu/include/exec/
H A Dcpu-all.h59 #define stl_p(p, v) stl_le_p(p, v)
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-access.h110 stl_le_p(ptr, v); in virtio_stl_p()
/openbmc/qemu/target/i386/tcg/
H A Daccess.c153 stl_le_p(p, val); in access_stl()
/openbmc/qemu/hw/nvram/
H A Dnrf51_nvm.c298 stl_le_p(s->storage + offset, oldval); in flash_write()
/openbmc/qemu/hw/nvme/
H A Dctrl.c1526 stl_le_p(&n->bar.csts, NVME_CSTS_FAILED); in nvme_post_cqes()
7413 stl_le_p(&n->bar.csts, NVME_CSTS_FAILED); in nvme_process_sq()
7559 stl_le_p(&n->bar.csts, sctrl->scs ? 0 : NVME_CSTS_FAILED); in nvme_ctrl_reset()
7561 stl_le_p(&n->bar.csts, 0); in nvme_ctrl_reset()
7564 stl_le_p(&n->bar.intms, 0); in nvme_ctrl_reset()
7565 stl_le_p(&n->bar.intmc, 0); in nvme_ctrl_reset()
7566 stl_le_p(&n->bar.cc, 0); in nvme_ctrl_reset()
7686 stl_le_p(&n->bar.cmbloc, cmbloc); in nvme_cmb_enable_regs()
7695 stl_le_p(&n->bar.cmbsz, cmbsz); in nvme_cmb_enable_regs()
7732 stl_le_p(&n->bar.intms, intms); in nvme_write_bar()
[all …]
/openbmc/qemu/include/qemu/
H A Dbswap.h329 static inline void stl_le_p(void *ptr, uint32_t v) in stl_le_p() function
/openbmc/qemu/tests/tcg/plugins/
H A Dmem.c184 stl_le_p(p, value.data.u32); in update_region_info()
/openbmc/qemu/tests/qtest/
H A Dhd-geo-test.c464 stl_le_p(&buf[offset + 0x8], mbr[i].start_sect); in create_qcow2_with_mbr()
465 stl_le_p(&buf[offset + 0xc], mbr[i].nr_sects); in create_qcow2_with_mbr()
/openbmc/qemu/hw/display/
H A Dedid-generate.c456 stl_le_p(edid + 12, serial_nr); in qemu_edid_generate()
/openbmc/qemu/hw/net/fsl_etsec/
H A Drings.c137 stl_le_p(&bd->bufptr, bd->bufptr); in write_buffer_descriptor()
/openbmc/qemu/include/hw/pci/
H A Dpci.h471 stl_le_p(config, val); in pci_set_long()

12