/qemu/hw/scsi/ |
H A D | emulation.c | 20 stl_be_p(outbuf + 4, bl->max_io_sectors); in scsi_emulate_block_limits() 23 stl_be_p(outbuf + 8, MIN(bl->opt_io_size, bl->max_io_sectors)); in scsi_emulate_block_limits() 26 stl_be_p(outbuf + 8, bl->opt_io_size); in scsi_emulate_block_limits() 30 stl_be_p(outbuf + 16, bl->max_unmap_sectors); in scsi_emulate_block_limits() 33 stl_be_p(outbuf + 20, bl->max_unmap_descr); in scsi_emulate_block_limits() 36 stl_be_p(outbuf + 24, bl->unmap_sectors); in scsi_emulate_block_limits() 39 stl_be_p(outbuf + 36, bl->max_io_sectors); in scsi_emulate_block_limits()
|
H A D | scsi-disk.c | 976 stl_be_p(&outbuf[12], (nb_sectors >> 2) - 1); /* end sector */ in scsi_read_dvd_structure() 977 stl_be_p(&outbuf[16], (nb_sectors >> 2) - 1); /* l0 end sector */ in scsi_read_dvd_structure() 1093 stl_be_p(&outbuf[0], 36); /* Bytes after the data length field */ in scsi_get_configuration() 1106 stl_be_p(&outbuf[24], 1); /* SCSI */ in scsi_get_configuration() 2892 stl_be_p(&req->cdb[0], lba | (req->cmd << 24)); in scsi_block_do_sgio() 2900 stl_be_p(&req->cdb[2], lba); in scsi_block_do_sgio() 2909 stl_be_p(&req->cdb[2], lba); in scsi_block_do_sgio() 2910 stl_be_p(&req->cdb[6], nb_logical_blocks); in scsi_block_do_sgio() 2919 stl_be_p(&req->cdb[10], nb_logical_blocks); in scsi_block_do_sgio()
|
H A D | scsi-generic.c | 196 stl_be_p(&buf[8], max_transfer); in scsi_handle_inquiry_reply() 197 stl_be_p(&buf[12], MIN_NON_ZERO(max_transfer, ldl_be_p(&buf[12]))); in scsi_handle_inquiry_reply()
|
/qemu/hw/m68k/ |
H A D | bootinfo.h | 29 stl_be_p(base, value); \ 39 stl_be_p(base, value1); \ 41 stl_be_p(base, value2); \
|
/qemu/hw/block/ |
H A D | cdrom.c | 62 stl_be_p(q, 0); in cdrom_read_toc() 76 stl_be_p(q, nb_sectors); in cdrom_read_toc() 130 stl_be_p(q, nb_sectors); in cdrom_read_toc_raw()
|
/qemu/include/system/ |
H A D | tpm_util.h | 51 stl_be_p(b + 2, size); in tpm_cmd_set_size() 66 stl_be_p(b + 6, error); in tpm_cmd_set_error()
|
/qemu/hw/s390x/ |
H A D | s390-pci-inst.c | 107 stl_be_p(&rrb->response.fmt, 0); in list_pci() 109 stl_be_p(&rrb->response.mdd, FH_MASK_SHM); in list_pci() 122 stl_be_p(&rrb->response.fh_list[i].config, in list_pci() 124 stl_be_p(&rrb->response.fh_list[i].fid, pbdev->fid); in list_pci() 125 stl_be_p(&rrb->response.fh_list[i].fh, pbdev->fh); in list_pci() 260 stl_be_p(&ressetpci->fh, pbdev->fh); in clp_service_call() 271 stl_be_p(&ressetpci->fh, pbdev->fh); in clp_service_call() 300 stl_be_p(&resquery->fid, pbdev->zpci_fn.fid); in clp_service_call() 301 stl_be_p(&resquery->uid, pbdev->zpci_fn.uid); in clp_service_call() 309 stl_be_p(&resquery->bar[i], data); in clp_service_call() [all …]
|
/qemu/nbd/ |
H A D | client.c | 81 stl_be_p(&req.option, opt); in nbd_send_option_request() 82 stl_be_p(&req.length, len); in nbd_send_option_request() 357 stl_be_p(buf, len); in nbd_opt_info_or_go() 693 stl_be_p(p, export_len); in nbd_send_meta_query() 695 stl_be_p(p += export_len, queries); in nbd_send_meta_query() 697 stl_be_p(p += sizeof(queries), query_len); in nbd_send_meta_query() 1391 stl_be_p(buf, NBD_EXTENDED_REQUEST_MAGIC); in nbd_send_request() 1396 stl_be_p(buf, NBD_REQUEST_MAGIC); in nbd_send_request() 1397 stl_be_p(buf + 24, request->len); in nbd_send_request()
|
H A D | server.c | 193 stl_be_p(&rep->option, option); in set_be_option_rep() 194 stl_be_p(&rep->type, type); in set_be_option_rep() 195 stl_be_p(&rep->length, length); in set_be_option_rep() 854 stl_be_p(&opt.context_id, context_id); in nbd_negotiate_send_meta_context() 2055 stl_be_p(&reply->magic, NBD_SIMPLE_REPLY_MAGIC); in set_be_simple_reply() 2056 stl_be_p(&reply->error, error); in set_be_simple_reply() 2109 stl_be_p(&chunk->magic, NBD_EXTENDED_REPLY_MAGIC); in set_be_chunk() 2119 stl_be_p(&chunk->magic, NBD_STRUCTURED_REPLY_MAGIC); in set_be_chunk() 2123 stl_be_p(&chunk->length, length); in set_be_chunk() 2187 stl_be_p(&chunk.error, nbd_err); in nbd_co_send_chunk_error() [all …]
|
/qemu/hw/nvram/ |
H A D | mac_nvram.c | 199 stl_be_p(&data[20], 2); in pmac_format_nvram_partition_osx() 202 stl_be_p(&data[16], adler32(0, &data[20], len - 20)); in pmac_format_nvram_partition_osx()
|
/qemu/hw/ide/ |
H A D | atapi.c | 505 stl_be_p(buf + 8, 0); /* start sector */ in ide_dvd_read_structure() 506 stl_be_p(buf + 12, total_sectors - 1); /* end sector */ in ide_dvd_read_structure() 507 stl_be_p(buf + 16, total_sectors - 1); /* l0 end sector */ in ide_dvd_read_structure() 855 stl_be_p(buf, len - 4); /* data length */ in cmd_get_configuration() 1155 stl_be_p(buf, total_sectors - 1); in cmd_read_cdvd_capacity() 1156 stl_be_p(buf + 4, 2048); in cmd_read_cdvd_capacity()
|
/qemu/net/ |
H A D | l2tpv3.c | 187 stl_be_p((uint32_t *) s->header_buf, L2TPV3_DATA_PACKET); in l2tpv3_form_header() 189 stl_be_p( in l2tpv3_form_header() 200 stl_be_p( in l2tpv3_form_header() 211 stl_be_p(counter, ++s->counter); in l2tpv3_form_header()
|
/qemu/target/ppc/ |
H A D | mem_helper.c | 117 stl_be_p(host, env->gpr[reg]); in helper_stmw() 235 stl_be_p(host, env->gpr[reg]); in helper_stsw()
|
/qemu/include/hw/virtio/ |
H A D | virtio-access.h | 108 stl_be_p(ptr, v); in virtio_stl_p()
|
/qemu/include/qemu/ |
H A D | bswap.h | 366 static inline void stl_be_p(void *ptr, uint32_t v) in stl_be_p() function
|
/qemu/hw/sd/ |
H A D | sd.c | 451 stl_be_p(&sd->cid[9], 0xdeadbeef); /* Fake serial number (PSN) */ in sd_set_cid() 470 stl_be_p(&sd->cid[10], 0xdeadbeef); /* Fake serial number (PSN) */ in emmc_set_cid() 727 stl_be_p(&buffer[1], req->arg); in sd_req_crc_validate() 734 stl_be_p(response, sd->card_status); in sd_response_r1_make() 742 stl_be_p(response, sd->ocr & ACMD41_R3_MASK); in sd_response_r3_make() 759 stl_be_p(response, sd->vhs); in sd_response_r7_make()
|
/qemu/hw/pci/ |
H A D | pcie_aer.c | 439 stl_be_p(header_log, err->header[i]); in pcie_aer_update_log() 453 stl_be_p(prefix_log, err->prefix[i]); in pcie_aer_update_log()
|
/qemu/scsi/ |
H A D | qemu-pr-helper.c | 399 stl_be_p(&data[0], out->prgeneration); in multipath_pr_in() 400 stl_be_p(&data[4], out->additional_length); in multipath_pr_in()
|
/qemu/tests/tcg/plugins/ |
H A D | mem.c | 182 stl_be_p(p, value.data.u32); in update_region_info()
|
/qemu/hw/ufs/ |
H A D | lu.c | 121 stl_be_p(outbuf, len - 8); in ufs_emulate_report_luns()
|
/qemu/hw/ppc/ |
H A D | spapr_numa.c | 526 stl_be_p(distance_table, distance_table_entries); in spapr_numa_FORM2_write_rtas_tables()
|
H A D | spapr_nvdimm.c | 343 stl_be_p(buf, data); in h_scm_write_metadata()
|
/qemu/hw/net/fsl_etsec/ |
H A D | rings.c | 141 stl_be_p(&bd->bufptr, bd->bufptr); in write_buffer_descriptor()
|
/qemu/hw/audio/ |
H A D | asc.c | 303 stl_be_p(&s->regs[chanreg], phase); in generate_wavetable()
|
/qemu/hw/net/ |
H A D | msf2-emac.c | 389 stl_be_p(s->mac_addr, value); in emac_write()
|