Searched defs:vh (Results 1 - 9 of 9) sorted by relevance

/drivers/gpu/drm/nouveau/core/subdev/fb/
H A Dgddr5.c39 int pd, lf, xd, vh, vr, vo, l3; local
48 vh = ram->next->bios.ramcfg_11_02_10;
115 ram->mr[7] |= (vh & 0x01) << 7;
/drivers/mtd/ubi/
H A Dattach.c327 struct ubi_vid_hdr *vh = NULL; local
370 vh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL);
371 if (!vh)
375 err = ubi_io_read_vid_hdr(ubi, pnum, vh, 0);
389 vid_hdr = vh;
415 ubi_free_vid_hdr(ubi, vh);
427 ubi_free_vid_hdr(ubi, vh);
H A Dfastmap.c389 struct ubi_vid_hdr *vh; local
398 vh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL);
399 if (!vh) {
444 err = ubi_io_read_vid_hdr(ubi, pnum, vh, 0);
481 new_aeb->lnum = be32_to_cpu(vh->lnum);
482 new_aeb->sqnum = be64_to_cpu(vh->sqnum);
483 new_aeb->copy_flag = vh->copy_flag;
489 err = process_pool_aeb(ubi, ai, vh, new_aeb);
504 ubi_free_vid_hdr(ubi, vh);
880 struct ubi_vid_hdr *vh; local
1382 struct ubi_vid_hdr *vh; local
[all...]
/drivers/net/ethernet/sfc/
H A Drx.c849 const struct vlan_hdr *vh = local
856 EFX_BUG_ON_PARANOID(skb_headlen(skb) < sizeof(*vh));
857 ether_type = vh->h_vlan_encapsulated_proto;
/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2-enc.c98 const vop_header *vh; member in struct:solo_enc_buf
405 static inline int vop_interlaced(const vop_header *vh) argument
407 return (__le32_to_cpu((*vh)[0]) >> 30) & 1;
410 static inline u8 vop_channel(const vop_header *vh) argument
412 return (__le32_to_cpu((*vh)[0]) >> 24) & 0x1F;
415 static inline u8 vop_type(const vop_header *vh) argument
417 return (__le32_to_cpu((*vh)[0]) >> 22) & 3;
420 static inline u32 vop_mpeg_size(const vop_header *vh) argument
422 return __le32_to_cpu((*vh)[0]) & 0xFFFFF;
425 static inline u8 vop_hsize(const vop_header *vh) argument
430 vop_vsize(const vop_header *vh) argument
435 vop_mpeg_offset(const vop_header *vh) argument
440 vop_jpeg_offset(const vop_header *vh) argument
445 vop_jpeg_size(const vop_header *vh) argument
450 vop_sec(const vop_header *vh) argument
455 vop_usec(const vop_header *vh) argument
460 solo_fill_jpeg(struct solo_enc_dev *solo_enc, struct vb2_buffer *vb, const vop_header *vh) argument
494 solo_fill_mpeg(struct solo_enc_dev *solo_enc, struct vb2_buffer *vb, const vop_header *vh) argument
544 const vop_header *vh = enc_buf->vh; local
[all...]
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c306 struct vlan_ethhdr *vh = (struct vlan_ethhdr *)(skb->data); local
321 vh = (struct vlan_ethhdr *)skb->data;
322 vlan_id = ntohs(vh->h_vlan_TCI);
466 struct vlan_ethhdr *vh; local
471 vh = (struct vlan_ethhdr *)skb->data;
473 vlan_tci = ntohs(vh->h_vlan_TCI);
474 protocol = ntohs(vh->h_vlan_encapsulated_proto);
524 vh = (struct vlan_ethhdr *)((char *) hwdesc + 2);
525 skb_copy_from_linear_data(skb, vh, 12);
526 vh
[all...]
/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c1888 struct vlan_ethhdr *vh; local
1892 vh = (struct vlan_ethhdr *)skb->data;
1893 protocol = vh->h_vlan_encapsulated_proto;
1965 vh = (struct vlan_ethhdr *)((char *)hwdesc + 2);
1966 skb_copy_from_linear_data(skb, vh, 12);
1967 vh->h_vlan_proto = htons(ETH_P_8021Q);
1968 vh->h_vlan_TCI = htons(vid);
1970 (char *)vh + 16, copy_len - 16);
/drivers/net/
H A Dvxlan.c551 struct vxlanhdr *vh, *vh2; local
559 hlen = off_vx + sizeof(*vh);
560 vh = skb_gro_header_fast(skb, off_vx);
562 vh = skb_gro_header_slow(skb, hlen, off_vx);
563 if (unlikely(!vh))
567 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr));
586 if (vh->vx_vni != vh2->vx_vni || compare_ether_header(eh, eh2)) {
/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c1286 struct vlan_hdr *vh = (struct vlan_hdr *)(skb->data); local
1289 (vh->h_vlan_encapsulated_proto == htons(ETH_P_IP) ||
1290 vh->h_vlan_encapsulated_proto == htons(ETH_P_IPV6))) {

Completed in 214 milliseconds