Home
last modified time | relevance | path

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

12

/openbmc/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.c993 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 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()
/openbmc/qemu/hw/m68k/
H A Dbootinfo.h29 stl_be_p(base, value); \
39 stl_be_p(base, value1); \
41 stl_be_p(base, value2); \
/openbmc/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()
/openbmc/qemu/include/sysemu/
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()
/openbmc/qemu/hw/s390x/
H A Ds390-pci-inst.c105 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 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()
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 Dmac_nvram.c200 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 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()
/openbmc/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()
/openbmc/qemu/include/exec/
H A Dcpu-all.h49 #define stl_p(p, v) stl_be_p(p, v)
/openbmc/qemu/target/ppc/
H A Dmem_helper.c115 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 Dvirtio-access.h108 stl_be_p(ptr, v); in virtio_stl_p()
/openbmc/qemu/include/qemu/
H A Dbswap.h369 static inline void stl_be_p(void *ptr, uint32_t v) in stl_be_p() function
/openbmc/qemu/hw/sd/
H A Dsd.c459 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 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()
/openbmc/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()
/openbmc/qemu/tests/tcg/plugins/
H A Dmem.c182 stl_be_p(p, value.data.u32); in update_region_info()
/openbmc/qemu/hw/ppc/
H A Dspapr_numa.c526 stl_be_p(distance_table, distance_table_entries); in spapr_numa_FORM2_write_rtas_tables()
/openbmc/qemu/hw/ufs/
H A Dlu.c121 stl_be_p(outbuf, len - 8); in ufs_emulate_report_luns()
/openbmc/qemu/hw/net/fsl_etsec/
H A Drings.c141 stl_be_p(&bd->bufptr, bd->bufptr); in write_buffer_descriptor()
/openbmc/qemu/hw/audio/
H A Dasc.c302 stl_be_p(&s->regs[chanreg], phase); in generate_wavetable()
/openbmc/qemu/hw/net/
H A Dmsf2-emac.c389 stl_be_p(s->mac_addr, value); in emac_write()

12