Home
last modified time | relevance | path

Searched refs:vh (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/qemu/target/riscv/
H A Dm128_helper.c27 target_ulong vl, target_ulong vh) in HELPER()
32 if (vl == 0 && vh == 0) { /* Handle special behavior on div by zero */ in HELPER()
36 q = int128_divu(int128_make128(ul, uh), int128_make128(vl, vh)); in HELPER()
47 target_ulong vl, target_ulong vh) in HELPER()
52 if (vl == 0 && vh == 0) { in HELPER()
56 r = int128_remu(int128_make128(ul, uh), int128_make128(vl, vh)); in HELPER()
67 target_ulong vl, target_ulong vh) in HELPER()
72 if (vl == 0 && vh == 0) { /* Div by zero check */ in HELPER()
76 vh == ~0x0 && vl == ~0x0) { in HELPER()
92 target_ulong vl, target_ulong vh) in HELPER()
[all …]
/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c63 res = ubi_io_read(ubi, vh, pnum, ubi->vid_offset, sizeof(*vh)); in ubi_io_read_vid_hdr()
70 vh->magic = 0; in ubi_io_read_vid_hdr()
99 struct ubi_vid_hdr *vh, in ubi_rescan_fm_vid_hdr() argument
116 be32_to_cpu(vh->vol_id), in ubi_rescan_fm_vid_hdr()
177 be64_to_cpu(vh->sqnum)); in ubi_add_peb_to_vol()
228 struct ubi_vid_hdr *vh; in assign_aeb_to_av() local
242 vh = ubi->blockinfo + pnum; in assign_aeb_to_av()
249 struct ubi_vid_hdr *vh; in scan_pool() local
496 struct ubi_vid_hdr *vh; in ubi_scan_fastmap() local
541 vh = &ubi->fm_vh; in ubi_scan_fastmap()
[all …]
/openbmc/linux/fs/efs/
H A Dsuper.c163 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) { in module_exit()
172 ui = ((__be32 *) (vh + 1)) - 1; in module_exit()
173 for(csum = 0; ui >= ((__be32 *) vh);) { in module_exit()
183 pr_debug("bf: \"%16s\"\n", vh->vh_bootfile); in module_exit()
190 name[j] = vh->vh_vd[i].vd_name[j]; in module_exit()
196 name, (int) be32_to_cpu(vh->vh_vd[i].vd_lbn), in module_exit()
197 (int) be32_to_cpu(vh->vh_vd[i].vd_nbytes)); in module_exit()
208 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) { in module_exit()
210 i, (int)be32_to_cpu(vh->vh_pt[i].pt_firstlbn), in module_exit()
211 (int)be32_to_cpu(vh->vh_pt[i].pt_nblks), in module_exit()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dtap.c312 vh->flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in build_test_packet_valid_udp_gso()
313 vh->csum_start = ETH_HLEN + sizeof(struct iphdr); in build_test_packet_valid_udp_gso()
315 vh->gso_type = VIRTIO_NET_HDR_GSO_UDP; in build_test_packet_valid_udp_gso()
316 vh->gso_size = ETH_DATA_LEN - sizeof(struct iphdr); in build_test_packet_valid_udp_gso()
317 cur += sizeof(*vh); in build_test_packet_valid_udp_gso()
331 vh->flags = VIRTIO_NET_HDR_F_DATA_VALID; in build_test_packet_valid_udp_csum()
332 vh->gso_type = VIRTIO_NET_HDR_GSO_NONE; in build_test_packet_valid_udp_csum()
333 cur += sizeof(*vh); in build_test_packet_valid_udp_csum()
349 vh->flags = 0; in build_test_packet_crash_tap_invalid_eth_proto()
350 vh->gso_type = VIRTIO_NET_HDR_GSO_UDP; in build_test_packet_crash_tap_invalid_eth_proto()
[all …]
H A Dpsock_snd.c78 struct virtio_net_hdr *vh = header; in build_vnet_header() local
80 vh->hdr_len = ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr); in build_vnet_header()
83 vh->flags |= VIRTIO_NET_HDR_F_NEEDS_CSUM; in build_vnet_header()
84 vh->csum_start = ETH_HLEN + sizeof(struct iphdr); in build_vnet_header()
85 vh->csum_offset = __builtin_offsetof(struct udphdr, check); in build_vnet_header()
89 vh->csum_start += sizeof(struct udphdr) + cfg_payload_len - in build_vnet_header()
90 vh->csum_offset - 1; in build_vnet_header()
94 vh->gso_type = VIRTIO_NET_HDR_GSO_UDP; in build_vnet_header()
95 vh->gso_size = cfg_mtu - sizeof(struct iphdr); in build_vnet_header()
98 return sizeof(*vh); in build_vnet_header()
H A Dcsum.c408 struct virtio_net_hdr vh = {0}; in send_packet() local
421 vh.flags = VIRTIO_NET_HDR_F_NEEDS_CSUM; in send_packet()
426 vh.csum_start = sizeof(struct ethhdr) + sizeof(struct iphdr); in send_packet()
431 vh.csum_start += ENC_HEADER_LEN; in send_packet()
434 vh.csum_offset = __builtin_offsetof(struct tcphdr, check); in send_packet()
435 vh.hdr_len = vh.csum_start + sizeof(struct tcphdr); in send_packet()
437 vh.csum_offset = __builtin_offsetof(struct udphdr, check); in send_packet()
438 vh.hdr_len = vh.csum_start + sizeof(struct udphdr); in send_packet()
445 iov[0].iov_base = &vh; in send_packet()
446 iov[0].iov_len = sizeof(vh); in send_packet()
[all …]
/openbmc/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2-enc.c89 const vop_header *vh; member
421 return __le32_to_cpu((*vh)[1]) & 0xFF; in vop_vsize()
426 return __le32_to_cpu((*vh)[2]); in vop_mpeg_offset()
431 return __le32_to_cpu((*vh)[3]); in vop_jpeg_offset()
441 return __le32_to_cpu((*vh)[5]); in vop_sec()
446 return __le32_to_cpu((*vh)[6]); in vop_usec()
486 if (!vop_type(vh)) { in solo_fill_mpeg()
510 const vop_header *vh = enc_buf->vh; in solo_enc_fillbuf() local
516 ret = solo_fill_mpeg(solo_enc, vb, vh); in solo_enc_fillbuf()
617 enc_buf.vh = solo_dev->vh_buf; in solo_handle_ring()
[all …]
/openbmc/linux/fs/hfsplus/
H A Dioctl.c32 struct hfsplus_vh *vh = sbi->s_vhdr; in hfsplus_ioctl_bless() local
42 vh->finder_info[0] = bvh->finder_info[0] = in hfsplus_ioctl_bless()
50 vh->finder_info[1] = bvh->finder_info[1] = cpu_to_be32(cnid); in hfsplus_ioctl_bless()
53 vh->finder_info[5] = bvh->finder_info[5] = in hfsplus_ioctl_bless()
/openbmc/qemu/host/include/aarch64/host/
H A Dstore-insert-al16.h.inc27 uint64_t tl, th, vl, vh, ml, mh;
32 vh = int128_gethi(val);
40 "orr %[h], %[h], %[vh]\n\t"
44 : [vl] "r"(vl), [vh] "r"(vh), [ml] "r"(ml), [mh] "r"(mh));
/openbmc/webui-vue/src/layouts/
H A DLoginLayout.vue57 min-height: 100vh;
67 min-height: 50vh;
75 min-height: 100vh;
96 min-height: 100vh;
/openbmc/webui-vue/src/assets/styles/bmc/custom/
H A D_kvm.scss2 height: calc(100vh - 300px);
5 height: calc(100vh - 80px);
/openbmc/u-boot/drivers/mtd/ubi/
H A Dfastmap.c463 struct ubi_vid_hdr *vh; in scan_pool() local
473 if (!vh) { in scan_pool()
566 ubi_free_vid_hdr(ubi, vh); in scan_pool()
881 struct ubi_vid_hdr *vh; in ubi_scan_fastmap() local
948 if (!vh) { in ubi_scan_fastmap()
998 be32_to_cpu(vh->vol_id), in ubi_scan_fastmap()
1006 be32_to_cpu(vh->vol_id), in ubi_scan_fastmap()
1077 ubi_free_vid_hdr(ubi, vh); in ubi_scan_fastmap()
1086 ubi_free_vid_hdr(ubi, vh); in ubi_scan_fastmap()
1430 if (!vh) in invalidate_fastmap()
[all …]
H A Dattach.c324 struct ubi_vid_hdr *vh = NULL; in ubi_compare_lebs() local
367 vh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL); in ubi_compare_lebs()
368 if (!vh) in ubi_compare_lebs()
372 err = ubi_io_read_vid_hdr(ubi, pnum, vh, 0); in ubi_compare_lebs()
386 vid_hdr = vh; in ubi_compare_lebs()
412 ubi_free_vid_hdr(ubi, vh); in ubi_compare_lebs()
424 ubi_free_vid_hdr(ubi, vh); in ubi_compare_lebs()
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_hyp.h42 #define read_sysreg_elx(r,nvh,vh) \ argument
46 __mrs_s("%0", r##vh), \
52 #define write_sysreg_elx(v,r,nvh,vh) \ argument
56 __msr_s(r##vh, "%x0"), \
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dgddr5.c37 int pd, lf, xd, vh, vr, vo, l3; in nvkm_gddr5_calc() local
47 vh = ram->next->bios.ramcfg_11_02_10; in nvkm_gddr5_calc()
114 ram->mr[7] |= (vh & 0x01) << 7; in nvkm_gddr5_calc()
/openbmc/linux/sound/usb/6fire/
H A Dcomm.c56 u8 reg, u8 vl, u8 vh) in usb6fire_comm_init_buffer() argument
66 buffer[6] = vh; in usb6fire_comm_init_buffer()
125 u8 reg, u8 vl, u8 vh) in usb6fire_comm_write16() argument
135 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh); in usb6fire_comm_write16()
H A Dcomm.h32 u8 vh, u8 vl);
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dunpack.h14 #define nvif_unpack(r,d,s,m,vl,vh,x) ({ \ argument
16 int _ret = (r), _vl = (vl), _vh = (vh); \
/openbmc/linux/drivers/mtd/ubi/
H A Dfastmap.c107 struct ubi_vid_hdr *vh; in new_fm_vbuf() local
113 vh = ubi_get_vid_hdr(new); in new_fm_vbuf()
114 vh->vol_type = UBI_VID_DYNAMIC; in new_fm_vbuf()
120 vh->compat = UBI_COMPAT_DELETE; in new_fm_vbuf()
405 struct ubi_vid_hdr *vh; in scan_pool() local
420 vh = ubi_get_vid_hdr(vb); in scan_pool()
865 struct ubi_vid_hdr *vh; in ubi_scan_fastmap() local
953 vh = ubi_get_vid_hdr(vb); in ubi_scan_fastmap()
1007 be32_to_cpu(vh->vol_id), in ubi_scan_fastmap()
1458 struct ubi_vid_hdr *vh; in invalidate_fastmap() local
[all …]
/openbmc/linux/include/linux/
H A Dif_vlan.h611 struct vlan_hdr vhdr, *vh; in __vlan_get_protocol() local
613 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol()
614 if (unlikely(!vh || !--parse_depth)) in __vlan_get_protocol()
617 type = vh->h_vlan_encapsulated_proto; in __vlan_get_protocol()
/openbmc/phosphor-webui/app/server-control/styles/
H A Dremote-console.scss28 height: 80vh;
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dnf-queue.c170 struct nfqnl_msg_verdict_hdr vh = { in nfq_build_verdict() local
185 mnl_attr_put(nlh, NFQA_VERDICT_HDR, sizeof(vh), &vh); in nfq_build_verdict()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c662 return vh; in vxlan_gro_remcsum()
670 vh = skb_gro_remcsum_process(skb, (void *)vh, off, hdrlen, in vxlan_gro_remcsum()
675 return vh; in vxlan_gro_remcsum()
684 struct vxlanhdr *vh, *vh2; in vxlan_gro_prepare_receive() local
694 if (unlikely(!vh)) in vxlan_gro_prepare_receive()
699 flags = vh->vx_flags; in vxlan_gro_prepare_receive()
702 vh = vxlan_gro_remcsum(skb, off_vx, vh, sizeof(struct vxlanhdr), in vxlan_gro_prepare_receive()
707 if (!vh) in vxlan_gro_prepare_receive()
725 return vh; in vxlan_gro_prepare_receive()
751 struct vxlanhdr *vh; in vxlan_gpe_gro_receive() local
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c321 vh = skb_vlan_eth_hdr(skb); in qlcnic_send_filter()
322 vlan_id = ntohs(vh->h_vlan_TCI); in qlcnic_send_filter()
466 struct vlan_ethhdr *vh; in qlcnic_tx_pkt() local
471 vh = skb_vlan_eth_hdr(skb); in qlcnic_tx_pkt()
473 vlan_tci = ntohs(vh->h_vlan_TCI); in qlcnic_tx_pkt()
474 protocol = ntohs(vh->h_vlan_encapsulated_proto); in qlcnic_tx_pkt()
526 vh = (struct vlan_ethhdr *)((char *) hwdesc + 2); in qlcnic_tx_pkt()
527 skb_copy_from_linear_data(skb, vh, 12); in qlcnic_tx_pkt()
528 vh->h_vlan_proto = htons(ETH_P_8021Q); in qlcnic_tx_pkt()
529 vh->h_vlan_TCI = htons(vlan_tci); in qlcnic_tx_pkt()
[all …]
/openbmc/qemu/tcg/
H A Dtcg-op-ldst.c90 static void gen_ldst(TCGOpcode opc, TCGTemp *vl, TCGTemp *vh, in gen_ldst() argument
94 if (vh) { in gen_ldst()
95 tcg_gen_op4(opc, temp_arg(vl), temp_arg(vh), temp_arg(addr), oi); in gen_ldst()
104 if (vh) { in gen_ldst()
105 tcg_gen_op5(opc, temp_arg(vl), temp_arg(vh), in gen_ldst()
117 TCGTemp *vh = tcgv_i32_temp(TCGV_HIGH(v)); in gen_ldst_i64() local
118 gen_ldst(opc, vl, vh, addr, oi); in gen_ldst_i64()

12