| /OK3568_Linux_fs/u-boot/drivers/mtd/ubispl/ |
| H A D | ubispl.c | 50 struct ubi_vid_hdr *vh, int unused) in ubi_io_read_vid_hdr() argument 64 res = ubi_io_read(ubi, vh, pnum, ubi->vid_offset, sizeof(*vh)); in ubi_io_read_vid_hdr() 71 vh->magic = 0; in ubi_io_read_vid_hdr() 77 magic = be32_to_cpu(vh->magic); in ubi_io_read_vid_hdr() 87 if (crc32(UBI_CRC32_INIT, vh, UBI_VID_HDR_SIZE_CRC) != in ubi_io_read_vid_hdr() 88 be32_to_cpu(vh->hdr_crc)) { in ubi_io_read_vid_hdr() 94 ubi_dbg("RV: pnum: %i sqnum %llu", pnum, be64_to_cpu(vh->sqnum)); in ubi_io_read_vid_hdr() 100 struct ubi_vid_hdr *vh, in ubi_rescan_fm_vid_hdr() argument 108 res = ubi_io_read_vid_hdr(ubi, fm_pnum, vh, 0); in ubi_rescan_fm_vid_hdr() 111 if (be32_to_cpu(vh->vol_id) == fm_vol_id && in ubi_rescan_fm_vid_hdr() [all …]
|
| /OK3568_Linux_fs/kernel/fs/efs/ |
| H A D | super.c | 155 static efs_block_t efs_validate_vh(struct volume_header *vh) { in module_exit() 163 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() 203 pt_type = (int) be32_to_cpu(vh->vh_pt[i].pt_type); in module_exit() 208 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) { in module_exit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/solo6x10/ |
| H A D | solo6x10-v4l2-enc.c | 89 const vop_header *vh; member 394 static inline int vop_interlaced(const vop_header *vh) in vop_interlaced() argument 396 return (__le32_to_cpu((*vh)[0]) >> 30) & 1; in vop_interlaced() 399 static inline u8 vop_channel(const vop_header *vh) in vop_channel() argument 401 return (__le32_to_cpu((*vh)[0]) >> 24) & 0x1F; in vop_channel() 404 static inline u8 vop_type(const vop_header *vh) in vop_type() argument 406 return (__le32_to_cpu((*vh)[0]) >> 22) & 3; in vop_type() 409 static inline u32 vop_mpeg_size(const vop_header *vh) in vop_mpeg_size() argument 411 return __le32_to_cpu((*vh)[0]) & 0xFFFFF; in vop_mpeg_size() 414 static inline u8 vop_hsize(const vop_header *vh) in vop_hsize() argument [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | psock_snd.c | 78 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()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ubi/ |
| H A D | fastmap.c | 464 struct ubi_vid_hdr *vh; in scan_pool() local 473 vh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL); in scan_pool() 474 if (!vh) { in scan_pool() 519 err = ubi_io_read_vid_hdr(ubi, pnum, vh, 0); in scan_pool() 544 new_aeb->lnum = be32_to_cpu(vh->lnum); in scan_pool() 545 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool() 546 new_aeb->copy_flag = vh->copy_flag; in scan_pool() 552 err = process_pool_aeb(ubi, ai, vh, new_aeb); in scan_pool() 567 ubi_free_vid_hdr(ubi, vh); in scan_pool() 882 struct ubi_vid_hdr *vh; in ubi_scan_fastmap() local [all …]
|
| H A D | attach.c | 325 struct ubi_vid_hdr *vh = NULL; in ubi_compare_lebs() local 368 vh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL); in ubi_compare_lebs() 369 if (!vh) in ubi_compare_lebs() 373 err = ubi_io_read_vid_hdr(ubi, pnum, vh, 0); in ubi_compare_lebs() 387 vid_hdr = vh; in ubi_compare_lebs() 413 ubi_free_vid_hdr(ubi, vh); in ubi_compare_lebs() 425 ubi_free_vid_hdr(ubi, vh); in ubi_compare_lebs()
|
| /OK3568_Linux_fs/kernel/fs/hfsplus/ |
| H A D | ioctl.c | 32 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()
|
| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A D | kvm_hyp.h | 19 #define read_sysreg_elx(r,nvh,vh) \ argument 23 __mrs_s("%0", r##vh), \ 29 #define write_sysreg_elx(v,r,nvh,vh) \ argument 33 __msr_s(r##vh, "%x0"), \
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ubi/ |
| H A D | fastmap.c | 107 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() 115 vh->vol_id = cpu_to_be32(vol_id); 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() 487 new_aeb->lnum = be32_to_cpu(vh->lnum); in scan_pool() 488 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool() 489 new_aeb->copy_flag = vh->copy_flag; in scan_pool() [all …]
|
| /OK3568_Linux_fs/kernel/sound/usb/6fire/ |
| H A D | comm.c | 56 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 D | comm.h | 32 u8 vh, u8 vl);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| H A D | gddr5.c | 37 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvif/ |
| H A D | unpack.h | 14 #define nvif_unpack(r,d,s,m,vl,vh,x) ({ \ argument 16 int _ret = (r), _vl = (vl), _vh = (vh); \
|
| /OK3568_Linux_fs/external/linux-rga/docs/ |
| H A D | Rockchip_FAQ_RGA_CN.md | 261 E librga : src:[0,b400007431ed6040,b400007431fb7040],x-y[0,0],w-h[1280,720],vw-vh[1280,720],f=0 //… 262 E librga : dst:[0,b400007431b4f040,b400007431c30040],x-y[0,0],w-h[1280,720],vw-vh[1280,720],f=0 //… 263 E librga : pat:[0,0,0],x-y[0,0],w-h[0,0],vw-vh[0,0],f=0 //pat/src1通道的内存、图像参数、格式信息,由于当前模式没有使用到… 462 …ah=720 vw=1280 vh=720 xoff=0 yoff=0 format=RGBA8888 //src通道的图像数据参数:y: 如有则为fd的值, uv:如有则为虚拟地址的值, v:v… 463 …rga2: dst : y=0 uv=b4000072cc535040 v=b4000072cc616040 aw=1280 ah=720 vw=1280 vh=720 xoff=0 yoff=0… 490 rga_debugger: src: y = 19 uv = 0 v = e1000 aw = 1280 ah = 720 vw = 1280 vh = 720 491 …//src通道的图像数据参数:y: 如有则为fd的值, uv:如有则为虚拟地址的值, v:vw * vh + uv, aw、ah:实宽实高,即实际操作图像区域,vw、vh:虚宽虚高,即图像本身大小。 494 rga_debugger: dst: y=1a uv=0 v=e1000 aw=1280 ah=720 vw=1280 vh=720 520 rga3_reg: win0: vw = 1280 vh = 720 xoff = 0 yoff = 0 format = RGBA8888 523 rga3_reg: wr: y = ff8e0000 uv = ff9c1000 v = ff9f9400 vw = 1280 vh = 720 [all …]
|
| H A D | Rockchip_FAQ_RGA_EN.md | 257 E librga : src:[0,b400007431ed6040,b400007431fb7040],x-y[0,0],w-h[1280,720],vw-vh[1280,720],f=0 //… 258 E librga : dst:[0,b400007431b4f040,b400007431c30040],x-y[0,0],w-h[1280,720],vw-vh[1280,720],f=0 //… 259 E librga : pat:[0,0,0],x-y[0,0],w-h[0,0],vw-vh[0,0],f=0 //Memory, image parameters, format in… 457 …rga2: src : y=0 uv=b4000072cc8bc040 v=b4000072cc99d040 aw=1280 ah=720 vw=1280 vh=720 xoff=0 yoff=0… 458 …y:fd, uv:virtual address, v:vw * vh + uv, aw and ah:actual width and height, the actual area of im… 459 …rga2: dst : y=0 uv=b4000072cc535040 v=b4000072cc616040 aw=1280 ah=720 vw=1280 vh=720 xoff=0 yoff=0… 487 rga_debugger: src: y = 19 uv = 0 v = e1000 aw = 1280 ah = 720 vw = 1280 vh = 720 488 …y:fd, uv:virtual address, v:vw * vh + uv, aw and ah:actual width and height, the actual area of im… 491 rga_debugger: dst: y=1a uv=0 v=e1000 aw=1280 ah=720 vw=1280 vh=720 517 rga3_reg: win0: vw = 1280 vh = 720 xoff = 0 yoff = 0 format = RGBA8888 [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | if_vlan.h | 600 struct vlan_hdr vhdr, *vh; in __vlan_get_protocol() local 602 vh = skb_header_pointer(skb, vlan_depth, sizeof(vhdr), &vhdr); in __vlan_get_protocol() 603 if (unlikely(!vh || !--parse_depth)) in __vlan_get_protocol() 606 type = vh->h_vlan_encapsulated_proto; in __vlan_get_protocol()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/ |
| H A D | nf-queue.c | 170 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_io.c | 305 struct vlan_ethhdr *vh = (struct vlan_ethhdr *)(skb->data); in qlcnic_send_filter() local 320 vh = (struct vlan_ethhdr *)skb->data; in qlcnic_send_filter() 321 vlan_id = ntohs(vh->h_vlan_TCI); in qlcnic_send_filter() 465 struct vlan_ethhdr *vh; in qlcnic_tx_pkt() local 470 vh = (struct vlan_ethhdr *)skb->data; in qlcnic_tx_pkt() 472 vlan_tci = ntohs(vh->h_vlan_TCI); in qlcnic_tx_pkt() 473 protocol = ntohs(vh->h_vlan_encapsulated_proto); in qlcnic_tx_pkt() 525 vh = (struct vlan_ethhdr *)((char *) hwdesc + 2); in qlcnic_tx_pkt() 526 skb_copy_from_linear_data(skb, vh, 12); in qlcnic_tx_pkt() 527 vh->h_vlan_proto = htons(ETH_P_8021Q); in qlcnic_tx_pkt() [all …]
|
| /OK3568_Linux_fs/kernel/net/openvswitch/ |
| H A D | flow.c | 304 struct vlan_head *vh = (struct vlan_head *)skb->data; in parse_vlan_tag() local 306 if (likely(!eth_type_vlan(vh->tpid))) in parse_vlan_tag() 316 vh = (struct vlan_head *)skb->data; in parse_vlan_tag() 317 key_vh->tci = vh->tci | htons(VLAN_CFI_MASK); in parse_vlan_tag() 318 key_vh->tpid = vh->tpid; in parse_vlan_tag()
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ui/ |
| H A D | buildinfohelper.py | 849 for vh in vardump[k]['history']: 850 if not 'documentation.conf' in vh['file']: 852 file_name = vh['file'], 853 line_number = vh['line'], 854 operation = vh['op'])) 1141 for vh in data[k]['history']: 1142 if not 'documentation.conf' in vh['file']: 1143 abs_file_name = vh['file'] 1147 vh['file']=abs_file_name[pp.rfind("/")+1:]
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | vxlan.c | 734 struct vxlanhdr *vh, size_t hdrlen, in vxlan_gro_remcsum() argument 742 return vh; in vxlan_gro_remcsum() 750 vh = skb_gro_remcsum_process(skb, (void *)vh, off, hdrlen, in vxlan_gro_remcsum() 755 return vh; in vxlan_gro_remcsum() 764 struct vxlanhdr *vh, *vh2; in vxlan_gro_receive() local 774 hlen = off_vx + sizeof(*vh); in vxlan_gro_receive() 775 vh = skb_gro_header_fast(skb, off_vx); in vxlan_gro_receive() 777 vh = skb_gro_header_slow(skb, hlen, off_vx); in vxlan_gro_receive() 778 if (unlikely(!vh)) in vxlan_gro_receive() 782 skb_gro_postpull_rcsum(skb, vh, sizeof(struct vxlanhdr)); in vxlan_gro_receive() [all …]
|
| H A D | thunderbolt.c | 930 struct vlan_hdr *vhdr, vh; in tbnet_xmit_csum_and_map() local 932 vhdr = skb_header_pointer(skb, ETH_HLEN, sizeof(vh), &vh); in tbnet_xmit_csum_and_map()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic_main.c | 1860 struct vlan_ethhdr *vh; in netxen_tso_check() local 1864 vh = (struct vlan_ethhdr *)skb->data; in netxen_tso_check() 1865 protocol = vh->h_vlan_encapsulated_proto; in netxen_tso_check() 1937 vh = (struct vlan_ethhdr *)((char *)hwdesc + 2); in netxen_tso_check() 1938 skb_copy_from_linear_data(skb, vh, 12); in netxen_tso_check() 1939 vh->h_vlan_proto = htons(ETH_P_8021Q); in netxen_tso_check() 1940 vh->h_vlan_TCI = htons(vid); in netxen_tso_check() 1942 (char *)vh + 16, copy_len - 16); in netxen_tso_check()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/hal/ |
| H A D | intrin_neon.hpp | 430 float32x2_t vl = vget_low_f32(v.val), vh = vget_high_f32(v.val); in v_matmul() local 433 res = vmlaq_lane_f32(res, m2.val, vh, 0); in v_matmul() 434 res = vmlaq_lane_f32(res, m3.val, vh, 1); in v_matmul() 442 float32x2_t vl = vget_low_f32(v.val), vh = vget_high_f32(v.val); in v_matmuladd() local 445 res = vmlaq_lane_f32(res, m2.val, vh, 0); in v_matmuladd()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/hal/ |
| H A D | intrin_neon.hpp | 430 float32x2_t vl = vget_low_f32(v.val), vh = vget_high_f32(v.val); in v_matmul() local 433 res = vmlaq_lane_f32(res, m2.val, vh, 0); in v_matmul() 434 res = vmlaq_lane_f32(res, m3.val, vh, 1); in v_matmul() 442 float32x2_t vl = vget_low_f32(v.val), vh = vget_high_f32(v.val); in v_matmuladd() local 445 res = vmlaq_lane_f32(res, m2.val, vh, 0); in v_matmuladd()
|