Home
last modified time | relevance | path

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

12

/qemu/hw/scsi/
H A Demulation.c20 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 Dscsi-disk.c976 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 Dscsi-generic.c196 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 Dbootinfo.h29 stl_be_p(base, value); \
39 stl_be_p(base, value1); \
41 stl_be_p(base, value2); \
/qemu/hw/block/
H A Dcdrom.c62 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 Dtpm_util.h51 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 Ds390-pci-inst.c107 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 Dclient.c81 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 Dserver.c193 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 Dmac_nvram.c199 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 Datapi.c505 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 Dl2tpv3.c187 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 Dmem_helper.c117 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 Dvirtio-access.h108 stl_be_p(ptr, v); in virtio_stl_p()
/qemu/include/qemu/
H A Dbswap.h366 static inline void stl_be_p(void *ptr, uint32_t v) in stl_be_p() function
/qemu/hw/sd/
H A Dsd.c451 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 Dpcie_aer.c439 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 Dqemu-pr-helper.c399 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 Dmem.c182 stl_be_p(p, value.data.u32); in update_region_info()
/qemu/hw/ufs/
H A Dlu.c121 stl_be_p(outbuf, len - 8); in ufs_emulate_report_luns()
/qemu/hw/ppc/
H A Dspapr_numa.c526 stl_be_p(distance_table, distance_table_entries); in spapr_numa_FORM2_write_rtas_tables()
H A Dspapr_nvdimm.c343 stl_be_p(buf, data); in h_scm_write_metadata()
/qemu/hw/net/fsl_etsec/
H A Drings.c141 stl_be_p(&bd->bufptr, bd->bufptr); in write_buffer_descriptor()
/qemu/hw/audio/
H A Dasc.c303 stl_be_p(&s->regs[chanreg], phase); in generate_wavetable()
/qemu/hw/net/
H A Dmsf2-emac.c389 stl_be_p(s->mac_addr, value); in emac_write()

12