/openbmc/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 | 993 stl_be_p(&outbuf[12], (nb_sectors >> 2) - 1); /* end sector */ in scsi_read_dvd_structure() 994 stl_be_p(&outbuf[16], (nb_sectors >> 2) - 1); /* l0 end sector */ in scsi_read_dvd_structure() 1110 stl_be_p(&outbuf[0], 36); /* Bytes after the data length field */ in scsi_get_configuration() 1123 stl_be_p(&outbuf[24], 1); /* SCSI */ in scsi_get_configuration() 2913 stl_be_p(&req->cdb[0], lba | (req->cmd << 24)); in scsi_block_do_sgio() 2921 stl_be_p(&req->cdb[2], lba); in scsi_block_do_sgio() 2930 stl_be_p(&req->cdb[2], lba); in scsi_block_do_sgio() 2931 stl_be_p(&req->cdb[6], nb_logical_blocks); in scsi_block_do_sgio() 2940 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()
|
/openbmc/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); \
|
/openbmc/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()
|
/openbmc/qemu/include/sysemu/ |
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()
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-pci-inst.c | 105 stl_be_p(&rrb->response.fmt, 0); in list_pci() 107 stl_be_p(&rrb->response.mdd, FH_MASK_SHM); in list_pci() 120 stl_be_p(&rrb->response.fh_list[i].config, in list_pci() 122 stl_be_p(&rrb->response.fh_list[i].fid, pbdev->fid); in list_pci() 123 stl_be_p(&rrb->response.fh_list[i].fh, pbdev->fh); in list_pci() 258 stl_be_p(&ressetpci->fh, pbdev->fh); in clp_service_call() 269 stl_be_p(&ressetpci->fh, pbdev->fh); in clp_service_call() 298 stl_be_p(&resquery->fid, pbdev->zpci_fn.fid); in clp_service_call() 299 stl_be_p(&resquery->uid, pbdev->zpci_fn.uid); in clp_service_call() 307 stl_be_p(&resquery->bar[i], data); in clp_service_call() [all …]
|
/openbmc/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() 2054 stl_be_p(&reply->magic, NBD_SIMPLE_REPLY_MAGIC); in set_be_simple_reply() 2055 stl_be_p(&reply->error, error); in set_be_simple_reply() 2108 stl_be_p(&chunk->magic, NBD_EXTENDED_REPLY_MAGIC); in set_be_chunk() 2118 stl_be_p(&chunk->magic, NBD_STRUCTURED_REPLY_MAGIC); in set_be_chunk() 2122 stl_be_p(&chunk->length, length); in set_be_chunk() 2186 stl_be_p(&chunk.error, nbd_err); in nbd_co_send_chunk_error() [all …]
|
/openbmc/qemu/hw/nvram/ |
H A D | mac_nvram.c | 200 stl_be_p(&data[20], 2); in pmac_format_nvram_partition_osx() 203 stl_be_p(&data[16], adler32(0, &data[20], len - 20)); in pmac_format_nvram_partition_osx()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/qemu/include/exec/ |
H A D | cpu-all.h | 49 #define stl_p(p, v) stl_be_p(p, v)
|
/openbmc/qemu/target/ppc/ |
H A D | mem_helper.c | 115 stl_be_p(host, env->gpr[reg]); in helper_stmw() 233 stl_be_p(host, env->gpr[reg]); in helper_stsw()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-access.h | 108 stl_be_p(ptr, v); in virtio_stl_p()
|
/openbmc/qemu/include/qemu/ |
H A D | bswap.h | 369 static inline void stl_be_p(void *ptr, uint32_t v) in stl_be_p() function
|
/openbmc/qemu/hw/sd/ |
H A D | sd.c | 459 stl_be_p(&sd->cid[9], 0xdeadbeef); /* Fake serial number (PSN) */ in sd_set_cid() 478 stl_be_p(&sd->cid[10], 0xdeadbeef); /* Fake serial number (PSN) */ in emmc_set_cid() 735 stl_be_p(&buffer[1], req->arg); in sd_req_crc_validate() 742 stl_be_p(response, sd->card_status); in sd_response_r1_make() 750 stl_be_p(response, sd->ocr & ACMD41_R3_MASK); in sd_response_r3_make() 767 stl_be_p(response, sd->vhs); in sd_response_r7_make()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/qemu/tests/tcg/plugins/ |
H A D | mem.c | 182 stl_be_p(p, value.data.u32); in update_region_info()
|
/openbmc/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()
|
/openbmc/qemu/hw/ufs/ |
H A D | lu.c | 121 stl_be_p(outbuf, len - 8); in ufs_emulate_report_luns()
|
/openbmc/qemu/hw/net/fsl_etsec/ |
H A D | rings.c | 141 stl_be_p(&bd->bufptr, bd->bufptr); in write_buffer_descriptor()
|
/openbmc/qemu/hw/audio/ |
H A D | asc.c | 302 stl_be_p(&s->regs[chanreg], phase); in generate_wavetable()
|
/openbmc/qemu/hw/net/ |
H A D | msf2-emac.c | 389 stl_be_p(s->mac_addr, value); in emac_write()
|