Home
last modified time | relevance | path

Searched refs:lduw_be_p (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/qemu/net/
H A Dchecksum.c78 switch (lduw_be_p(&PKT_GET_ETH_HDR(data)->h_proto)) { in net_checksum_calculate()
84 if (lduw_be_p(&PKT_GET_VLAN_HDR(data)->h_proto) == ETH_P_VLAN) { in net_checksum_calculate()
121 ip_len = lduw_be_p(&ip->ip_len); in net_checksum_calculate()
/openbmc/qemu/hw/ide/
H A Datapi.c826 max_len = lduw_be_p(buf + 7); in cmd_get_configuration()
865 max_len = lduw_be_p(buf + 7); in cmd_mode_sense()
988 nb_sectors = lduw_be_p(buf + 7); in cmd_read()
1099 int max_len = lduw_be_p(buf + 8); in cmd_mechanism_status()
1117 max_len = lduw_be_p(buf + 7); in cmd_read_toc_pma_atip()
1163 uint32_t max_len = lduw_be_p(buf + 7); in cmd_read_disc_information()
1197 max_len = lduw_be_p(buf + 8); in cmd_read_dvd_structure()
/openbmc/qemu/include/sysemu/
H A Dtpm_util.h36 return lduw_be_p(b); in tpm_cmd_get_tag()
/openbmc/qemu/hw/display/
H A Dvga-access.h41 return lduw_be_p(ptr); in vga_read_word_be()
/openbmc/qemu/hw/s390x/
H A Ds390-pci-inst.c58 if (lduw_be_p(&rrb->request.hdr.len) != 32) { in list_pci()
90 if (lduw_be_p(&rrb->response.hdr.len) < 48) { in list_pci()
96 initial_l2 = lduw_be_p(&rrb->response.hdr.len); in list_pci()
128 lduw_be_p(&rrb->response.fh_list[i].vendor_id), in list_pci()
129 lduw_be_p(&rrb->response.fh_list[i].device_id), in list_pci()
175 req_len = lduw_be_p(&reqh->len); in clp_service_call()
187 res_len = lduw_be_p(&resh->len); in clp_service_call()
208 switch (lduw_be_p(&reqh->cmd)) { in clp_service_call()
344 trace_s390_pci_unknown("clp", lduw_be_p(&reqh->cmd)); in clp_service_call()
/openbmc/qemu/hw/net/
H A De1000x_common.c53 uint16_t eth_proto = lduw_be_p(&PKT_GET_ETH_HDR(buf)->h_proto); in e1000x_is_vlan_packet()
64 uint16_t vid = lduw_be_p(&vhdr->h_tci); in e1000x_rx_vlan_filter()
H A De1000.c588 lduw_be_p(tp->data + css + 4) + frames); in xmit_seg()
611 phsum = lduw_be_p(sp) + len; in xmit_seg()
919 vlan_special = cpu_to_le16(lduw_be_p(filter_buf + 14)); in e1000_receive_iov()
H A Drtl8139.c1005 lduw_be_p(&buf[ETH_ALEN * 2]) == ETH_P_VLAN) { in rtl8139_do_receive()
1018 lduw_be_p(&dot1q_buf[ETHER_TYPE_LEN])); in rtl8139_do_receive()
H A Dftgmac100.c1106 bd.des1 = lduw_be_p(buf + 14) | FTGMAC100_RXDES1_VLANTAG_AVAIL; in ftgmac100_receive()
/openbmc/qemu/include/exec/
H A Dcpu-all.h44 #define lduw_p(p) lduw_be_p(p)
/openbmc/qemu/hw/net/fsl_etsec/
H A Drings.c122 bd->flags = lduw_be_p(&bd->flags); in read_buffer_descriptor()
123 bd->length = lduw_be_p(&bd->length); in read_buffer_descriptor()
/openbmc/qemu/target/ppc/
H A Dmem_helper.c155 val = lduw_be_p(host) << 16; in do_lsw()
158 val = (lduw_be_p(host) << 16) | (ldub_p(host + 2) << 8); in do_lsw()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-access.h126 return lduw_be_p(ptr); in virtio_lduw_p()
/openbmc/qemu/disas/
H A Dcapstone.c128 print(stream, " %04x", lduw_be_p(insn->bytes + i)); in cap_dump_insn_units()
/openbmc/qemu/include/qemu/
H A Dbswap.h339 static inline int lduw_be_p(const void *ptr) in lduw_be_p() function
/openbmc/qemu/include/disas/
H A Ddis-asm.h497 return lduw_be_p(addr); in bfd_getb16()
/openbmc/qemu/hw/scsi/
H A Dscsi-generic.c214 page_idx = lduw_be_p(r->buf + 2) + 4; in scsi_handle_inquiry_reply()
225 stw_be_p(r->buf + 2, lduw_be_p(r->buf + 2) + 1); in scsi_handle_inquiry_reply()
H A Dscsi-disk.c1609 page_len = lduw_be_p(&p[2]); in mode_select_pages()
1676 bd_len = (cmd == MODE_SELECT ? p[3] : lduw_be_p(&p[6])); in scsi_disk_emulate_mode_select()
1835 if (len < lduw_be_p(&p[0]) + 2) { in scsi_disk_emulate_unmap()
1838 if (len < lduw_be_p(&p[2]) + 8) { in scsi_disk_emulate_unmap()
1841 if (lduw_be_p(&p[2]) & 15) { in scsi_disk_emulate_unmap()
1854 data->count = lduw_be_p(&p[2]) >> 4; in scsi_disk_emulate_unmap()
/openbmc/qemu/tests/tcg/plugins/
H A Dmem.c172 uint16_t val = be ? lduw_be_p(p) : lduw_le_p(p); in update_region_info()
/openbmc/qemu/scsi/
H A Dutils.c37 return lduw_be_p(&buf[7]); in scsi_cdb_xfer()
H A Dqemu-pr-helper.c501 len = lduw_be_p(&param[i + 2]); in multipath_pr_out()
/openbmc/qemu/system/
H A Dmemory_ldst.c.inc225 val = lduw_be_p(ptr);
/openbmc/qemu/hw/ppc/
H A Dspapr_nvdimm.c280 data = lduw_be_p(buf); in h_scm_read_metadata()
/openbmc/qemu/nbd/
H A Dserver.c1532 request->flags = lduw_be_p(buf + 4); in nbd_receive_request()
1533 request->type = lduw_be_p(buf + 6); in nbd_receive_request()
/openbmc/qemu/target/m68k/
H A Dhelper.c104 env->fregs[n].l.upper = lduw_be_p(mem_buf); in m68k_fpu_gdb_set_reg()

12