Home
last modified time | relevance | path

Searched refs:stw_be_p (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/qemu/hw/m68k/
H A Dbootinfo.h17 stw_be_p(base, id); \
19 stw_be_p(base, sizeof(struct bi_record)); \
25 stw_be_p(base, id); \
27 stw_be_p(base, sizeof(struct bi_record) + 4); \
35 stw_be_p(base, id); \
37 stw_be_p(base, sizeof(struct bi_record) + 8); \
47 stw_be_p(base, id); \
49 stw_be_p(base, \
62 stw_be_p(base, id); \
64 stw_be_p(base, \
[all …]
/openbmc/qemu/hw/ide/
H A Datapi.c472 stw_be_p(buf_profile, profile); in ide_atapi_set_profile()
510 stw_be_p(buf, 2048 + 2); in ide_dvd_read_structure()
521 stw_be_p(buf, 4 + 2); in ide_dvd_read_structure()
531 stw_be_p(buf, 2048 + 2); in ide_dvd_read_structure()
544 stw_be_p(buf + 6, 2048 + 4); in ide_dvd_read_structure()
548 stw_be_p(buf + 10, 4 + 4); in ide_dvd_read_structure()
552 stw_be_p(buf + 14, 188 + 4); in ide_dvd_read_structure()
556 stw_be_p(buf + 18, 2048 + 4); in ide_dvd_read_structure()
559 stw_be_p(buf, 16 + 2); in ide_dvd_read_structure()
846 stw_be_p(buf + 6, MMC_PROFILE_DVD_ROM); in cmd_get_configuration()
[all …]
/openbmc/qemu/hw/s390x/
H A Ds390-pci-inst.c108 stw_be_p(&rrb->response.max_fn, PCI_MAX_FUNCTIONS); in list_pci()
115 stw_be_p(&rrb->response.fh_list[i].device_id, in list_pci()
117 stw_be_p(&rrb->response.fh_list[i].vendor_id, in list_pci()
142 stw_be_p(&rrb->response.hdr.len, g_l2); in list_pci()
143 stw_be_p(&rrb->response.hdr.rsp, CLP_RC_OK); in list_pci()
147 stw_be_p(&rrb->response.hdr.rsp, res_code); in list_pci()
204 stw_be_p(&resh->rsp, CLP_RC_LEN); in clp_service_call()
220 stw_be_p(&ressetpci->hdr.rsp, CLP_RC_SETPCIFN_FH); in clp_service_call()
228 stw_be_p(&ressetpci->hdr.rsp, CLP_RC_SETPCIFN_DMAAS); in clp_service_call()
233 stw_be_p(&ressetpci->hdr.rsp, CLP_RC_SETPCIFN_RES); in clp_service_call()
[all …]
H A Dcss.c766 stw_be_p(dest + 1, src->cu_type); in copy_sense_id_to_guest()
768 stw_be_p(dest + 4, src->dev_type); in copy_sense_id_to_guest()
774 stw_be_p(dest + 10 + i * 4, src->ciw[i].count); in copy_sense_id_to_guest()
/openbmc/qemu/hw/scsi/
H A Demulation.c17 stw_be_p(outbuf + 2, MIN(bl->min_io_size, bl->max_io_sectors)); in scsi_emulate_block_limits()
25 stw_be_p(outbuf + 2, bl->min_io_size); in scsi_emulate_block_limits()
H A Dscsi-disk.c764 stw_be_p(&outbuf[buflen + 2], s->port_index); in scsi_disk_emulate_vpd_page()
1016 stw_be_p(&outbuf[size + 2], rds_caps_size[i]); in scsi_read_dvd_structure()
1027 stw_be_p(outbuf, size - 2); in scsi_read_dvd_structure()
1089 stw_be_p(outbuf, size - 4); in scsi_get_event_status_notification()
1111 stw_be_p(&outbuf[6], current); in scsi_get_configuration()
1115 stw_be_p(&outbuf[12], MMC_PROFILE_DVD_ROM); in scsi_get_configuration()
1117 stw_be_p(&outbuf[16], MMC_PROFILE_CD_ROM); in scsi_get_configuration()
1120 stw_be_p(&outbuf[20], 1); in scsi_get_configuration()
1126 stw_be_p(&outbuf[32], 3); in scsi_get_configuration()
2923 stw_be_p(&req->cdb[7], nb_logical_blocks); in scsi_block_do_sgio()
H A Dscsi-generic.c225 stw_be_p(r->buf + 2, lduw_be_p(r->buf + 2) + 1); in scsi_handle_inquiry_reply()
249 stw_be_p(buf + 2, len); in scsi_generic_emulate_block_limits()
/openbmc/qemu/net/
H A Dchecksum.c114 stw_be_p(&ip->ip_sum, csum); in net_checksum_calculate()
151 stw_be_p(&tcp->th_sum, csum); in net_checksum_calculate()
175 stw_be_p(&udp->uh_sum, csum); in net_checksum_calculate()
/openbmc/qemu/hw/block/
H A Dcdrom.c80 stw_be_p(buf, len - 2); in cdrom_read_toc()
153 stw_be_p(buf, len - 2); in cdrom_read_toc_raw()
/openbmc/qemu/include/sysemu/
H A Dtpm_util.h41 stw_be_p(b, tag); in tpm_cmd_set_tag()
/openbmc/qemu/hw/net/
H A De1000.c543 stw_be_p(data + sloc, net_checksum_finish_nozero(sum)); in putsum()
586 stw_be_p(tp->data+css+2, tp->size - css); in xmit_seg()
587 stw_be_p(tp->data+css+4, in xmit_seg()
590 stw_be_p(tp->data+css+4, tp->size - css); in xmit_seg()
604 stw_be_p(tp->data+css+4, len); in xmit_seg()
613 stw_be_p(sp, phsum); in xmit_seg()
677 stw_be_p(tp->vlan_header, in process_tx_desc()
679 stw_be_p(tp->vlan_header + 2, in process_tx_desc()
H A Dftgmac100.c523 stw_be_p(vlan_hdr, ETH_P_VLAN); in ftgmac100_insert_vlan()
524 stw_be_p(vlan_hdr + 2, vlan_tci); in ftgmac100_insert_vlan()
H A Dmsf2-emac.c397 stw_be_p(s->mac_addr + 4, value >> 16); in emac_write()
/openbmc/qemu/include/exec/
H A Dcpu-all.h48 #define stw_p(p, v) stw_be_p(p, v)
/openbmc/qemu/nbd/
H A Dclient.c360 stw_be_p(buf + 4 + len, info->request_sizes); in nbd_opt_info_or_go()
362 stw_be_p(buf + 4 + len + 2, NBD_INFO_BLOCK_SIZE); in nbd_opt_info_or_go()
1386 stw_be_p(buf + 4, request->flags); in nbd_send_request()
1387 stw_be_p(buf + 6, request->type); in nbd_send_request()
H A Dserver.c531 stw_be_p(buf + 8, myflags); in nbd_negotiate_handle_export_name()
724 stw_be_p(buf + 8, myflags); in nbd_negotiate_handle_info()
1421 stw_be_p(buf + 16, NBD_FLAG_FIXED_NEWSTYLE | NBD_FLAG_NO_ZEROES); in nbd_negotiate()
2109 stw_be_p(&chunk->flags, flags); in set_be_chunk()
2110 stw_be_p(&chunk->type, type); in set_be_chunk()
2119 stw_be_p(&chunk->flags, flags); in set_be_chunk()
2120 stw_be_p(&chunk->type, type); in set_be_chunk()
2187 stw_be_p(&chunk.message_length, iov[2].iov_len); in nbd_co_send_chunk_error()
/openbmc/qemu/hw/net/fsl_etsec/
H A Drings.c139 stw_be_p(&bd->flags, bd->flags); in write_buffer_descriptor()
140 stw_be_p(&bd->length, bd->length); in write_buffer_descriptor()
/openbmc/qemu/target/ppc/
H A Dmem_helper.c243 stw_be_p(host, val >> 16); in helper_stsw()
246 stw_be_p(host, val >> 16); in helper_stsw()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-access.h99 stw_be_p(ptr, v); in virtio_stw_p()
/openbmc/qemu/include/qemu/
H A Dbswap.h359 static inline void stw_be_p(void *ptr, uint16_t v) in stw_be_p() function
/openbmc/qemu/scsi/
H A Dqemu-pr-helper.c408 stw_be_p(&data[0], out->length); in multipath_pr_in()
411 stw_be_p(&data[4], out->pr_type_mask); in multipath_pr_in()
/openbmc/qemu/tests/tcg/plugins/
H A Dmem.c167 stw_be_p(p, value.data.u16); in update_region_info()
/openbmc/qemu/hw/display/
H A Dedid-generate.c454 stw_be_p(edid + 8, vendor_id); in qemu_edid_generate()
/openbmc/qemu/system/
H A Dmemory_ldst.c.inc425 stw_be_p(ptr, val);
/openbmc/qemu/hw/ppc/
H A Dspapr_nvdimm.c339 stw_be_p(buf, data); in h_scm_write_metadata()

12