Home
last modified time | relevance | path

Searched full:vip (Results 1 – 25 of 98) sorted by relevance

1234

/linux-6.12.1/drivers/media/pci/sta2x11/
Dsta2x11_vip.c203 /* Write VIP register */
204 static inline void reg_write(struct sta2x11_vip *vip, unsigned int reg, u32 val) in reg_write() argument
206 iowrite32((val), (vip->iomem)+(reg)); in reg_write()
208 /* Read VIP register */
209 static inline u32 reg_read(struct sta2x11_vip *vip, unsigned int reg) in reg_read() argument
211 return ioread32((vip->iomem)+(reg)); in reg_read()
214 static void start_dma(struct sta2x11_vip *vip, struct vip_buffer *vip_buf) in start_dma() argument
218 if (vip->format.field == V4L2_FIELD_INTERLACED) in start_dma()
219 offset = vip->format.width * 2; in start_dma()
221 spin_lock_irq(&vip->slock); in start_dma()
[all …]
DKconfig3 tristate "STA2X11 VIP Video For Linux"
12 Say Y for support for STA2X11 VIP (Video Input Port) capture
/linux-6.12.1/fs/freevxfs/
Dvxfs_inode.c27 vxfs_dumpi(struct vxfs_inode_info *vip, ino_t ino) in vxfs_dumpi() argument
36 printk(KERN_DEBUG "mode is %x\n", vip->vii_mode); in vxfs_dumpi()
38 vip->vii_nlink, vip->vii_uid, vip->vii_gid); in vxfs_dumpi()
40 vip->vii_size, vip->vii_blocks); in vxfs_dumpi()
41 printk(KERN_DEBUG "orgtype:%u\n", vip->vii_orgtype); in vxfs_dumpi()
47 * @vip: VxFS inode
54 vxfs_transmod(struct vxfs_inode_info *vip) in vxfs_transmod() argument
56 umode_t ret = vip->vii_mode & ~VXFS_TYPE_MASK; in vxfs_transmod()
58 if (VXFS_ISFIFO(vip)) in vxfs_transmod()
60 if (VXFS_ISCHR(vip)) in vxfs_transmod()
[all …]
Dvxfs_bmap.c46 struct vxfs_inode_info *vip = VXFS_INO(ip); in vxfs_bmap_ext4() local
49 u32 indsize = fs32_to_cpu(sbi, vip->vii_ext4.ve4_indsize); in vxfs_bmap_ext4()
56 struct direct *d = vip->vii_ext4.ve4_direct + i; in vxfs_bmap_ext4()
68 fs32_to_cpu(sbi, vip->vii_ext4.ve4_indir[0])); in vxfs_bmap_ext4()
188 struct vxfs_inode_info *vip = VXFS_INO(ip); in vxfs_bmap_typed() local
194 struct vxfs_typed *typ = vip->vii_org.typed + i; in vxfs_bmap_typed()
252 struct vxfs_inode_info *vip = VXFS_INO(ip); in vxfs_bmap1() local
254 if (VXFS_ISEXT4(vip)) in vxfs_bmap1()
256 if (VXFS_ISTYPED(vip)) in vxfs_bmap1()
258 if (VXFS_ISNONE(vip)) in vxfs_bmap1()
[all …]
Dvxfs_fshead.c88 struct vxfs_inode_info *vip; in vxfs_read_fshead() local
96 vip = VXFS_INO(infp->vsi_fship); in vxfs_read_fshead()
97 if (!VXFS_ISFSH(vip)) { in vxfs_read_fshead()
99 vip->vii_mode & VXFS_TYPE_MASK); in vxfs_read_fshead()
105 vxfs_dumpi(vip, infp->vsi_fshino); in vxfs_read_fshead()
Dvxfs_immed.c33 struct vxfs_inode_info *vip = VXFS_INO(folio->mapping->host); in vxfs_immed_read_folio() local
34 void *src = vip->vii_immed.vi_immed + folio_pos(folio); in vxfs_immed_read_folio()
/linux-6.12.1/drivers/staging/media/tegra-video/
Dvip.c3 * Parallel video capture module (VIP) for the Tegra VI.
5 * This file implements the VIP-specific infrastructure.
21 #include "vip.h"
54 struct tegra_vip *vip = vip_channel_to_vip(vip_chan); in tegra_vip_enable_stream() local
58 err = pm_runtime_resume_and_get(vip->dev); in tegra_vip_enable_stream()
60 return dev_err_probe(vip->dev, err, "failed to get runtime PM\n"); in tegra_vip_enable_stream()
62 err = vip->soc->ops->vip_start_streaming(vip_chan); in tegra_vip_enable_stream()
74 pm_runtime_put(vip->dev); in tegra_vip_enable_stream()
81 struct tegra_vip *vip = vip_channel_to_vip(vip_chan); in tegra_vip_disable_stream() local
86 pm_runtime_put(vip->dev); in tegra_vip_disable_stream()
[all …]
Dvip.h23 * struct tegra_vip_channel - Tegra VIP (parallel video capture) channel
27 * @of_node: vip device tree node
36 * struct tegra_vip_ops - Tegra VIP operations
38 * @vip_start_streaming: programs vip hardware to enable streaming.
45 * struct tegra_vip_soc - NVIDIA Tegra VIP SoC structure
47 * @ops: vip hardware operations
54 * struct tegra_vip - NVIDIA Tegra VIP device structure
59 * @chan: the VIP channel
Dtegra20.c11 * VI and VIP SoC specific data, operations and registers accessors.
21 #include "vip.h"
223 * comes from a downstream 3.1 kernel that has a working VIP driver for
591 .vi_max_channels = 1, /* parallel input (VIP) */
597 * VIP
601 * VIP-specific configuration for stream start.
603 * Whatever is common among VIP and CSI is done by the VI component (see
604 * tegra20_vi_start_streaming()). Here we do what is VIP-specific.
630 * For VIP, D9..D2 is mapped to the video decoder's P7..P0. in tegra20_vip_start_streaming()
/linux-6.12.1/arch/alpha/kernel/
Dcore_cia.c46 #define vip volatile int * macro
116 stat0 = *(vip)CIA_IOC_CIA_ERR; in conf_read()
117 *(vip)CIA_IOC_CIA_ERR = stat0; in conf_read()
119 *(vip)CIA_IOC_CIA_ERR; /* re-read to force write */ in conf_read()
123 cia_cfg = *(vip)CIA_IOC_CFG; in conf_read()
124 *(vip)CIA_IOC_CFG = (cia_cfg & ~3) | 1; in conf_read()
126 *(vip)CIA_IOC_CFG; in conf_read()
136 value = *(vip)addr; in conf_read()
149 *(vip)CIA_IOC_CFG = cia_cfg; in conf_read()
151 *(vip)CIA_IOC_CFG; in conf_read()
[all …]
/linux-6.12.1/samples/bpf/
Dxdp_tx_iptunnel_kern.c31 __type(key, struct vip);
87 struct vip vip = {}; in handle_ipv4() local
99 vip.protocol = iph->protocol; in handle_ipv4()
100 vip.family = AF_INET; in handle_ipv4()
101 vip.daddr.v4 = iph->daddr; in handle_ipv4()
102 vip.dport = dport; in handle_ipv4()
105 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
110 /* The vip key is found. Add an IP header and send it out */ in handle_ipv4()
147 count_tx(vip.protocol); in handle_ipv4()
161 struct vip vip = {}; in handle_ipv6() local
[all …]
Dxdp_tx_iptunnel_user.c83 "in an IPv4/v6 header and XDP_TX it out. The dst <VIP:PORT>\n" in usage()
87 printf(" -a <vip-service-address> IPv4 or IPv6\n"); in usage()
88 printf(" -p <vip-service-port> A port range (e.g. 433-444) is also allowed\n"); in usage()
163 struct vip vip = {}; in main() local
169 vip.protocol = IPPROTO_TCP; in main()
186 vip.family = parse_ipstr(optarg, vip.daddr.v6); in main()
187 if (vip.family == AF_UNSPEC) in main()
195 vip.protocol = atoi(optarg); in main()
285 vip.dport = htons(min_port++); in main()
286 if (bpf_map_update_elem(vip2tnl_map_fd, &vip, &tnl, in main()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_xdp_loop.c30 __type(key, struct vip);
85 struct vip vip = {}; in handle_ipv4() local
97 vip.protocol = iph->protocol; in handle_ipv4()
98 vip.family = AF_INET; in handle_ipv4()
99 vip.daddr.v4 = iph->daddr; in handle_ipv4()
100 vip.dport = dport; in handle_ipv4()
103 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
143 count_tx(vip.protocol); in handle_ipv4()
157 struct vip vip = {}; in handle_ipv6() local
167 vip.protocol = ip6h->nexthdr; in handle_ipv6()
[all …]
Dtest_xdp.c34 __type(key, struct vip);
89 struct vip vip = {}; in handle_ipv4() local
101 vip.protocol = iph->protocol; in handle_ipv4()
102 vip.family = AF_INET; in handle_ipv4()
103 vip.daddr.v4 = iph->daddr; in handle_ipv4()
104 vip.dport = dport; in handle_ipv4()
107 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
147 count_tx(vip.protocol); in handle_ipv4()
161 struct vip vip = {}; in handle_ipv6() local
171 vip.protocol = ip6h->nexthdr; in handle_ipv6()
[all …]
Dtest_xdp_dynptr.c37 __type(key, struct vip);
89 struct vip vip = {}; in handle_ipv4() local
110 vip.protocol = iph->protocol; in handle_ipv4()
111 vip.family = AF_INET; in handle_ipv4()
112 vip.daddr.v4 = iph->daddr; in handle_ipv4()
113 vip.dport = dport; in handle_ipv4()
116 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
154 count_tx(vip.protocol); in handle_ipv4()
170 struct vip vip = {}; in handle_ipv6() local
189 vip.protocol = ip6h->nexthdr; in handle_ipv6()
[all …]
Dtest_l4lb_noinline.c169 __type(key, struct vip);
335 struct vip vip = {}; in process_packet() local
404 memcpy(vip.daddr.v6, pckt.dstv6, 16); in process_packet()
406 vip.daddr.v4 = pckt.dst; in process_packet()
408 vip.dport = pckt.port16[1]; in process_packet()
409 vip.protocol = pckt.proto; in process_packet()
410 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
412 vip.dport = 0; in process_packet()
413 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
Dtest_l4lb.c173 __type(key, struct vip);
336 struct vip vip = {}; in process_packet() local
405 memcpy(vip.daddr.v6, pckt.dstv6, 16); in process_packet()
407 vip.daddr.v4 = pckt.dst; in process_packet()
409 vip.dport = pckt.port16[1]; in process_packet()
410 vip.protocol = pckt.proto; in process_packet()
411 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
413 vip.dport = 0; in process_packet()
414 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
Dtest_l4lb_noinline_dynptr.c171 __type(key, struct vip);
340 struct vip vip = {}; in process_packet() local
411 memcpy(vip.daddr.v6, pckt.dstv6, 16); in process_packet()
413 vip.daddr.v4 = pckt.dst; in process_packet()
415 vip.dport = pckt.port16[1]; in process_packet()
416 vip.protocol = pckt.proto; in process_packet()
417 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
419 vip.dport = 0; in process_packet()
420 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
Dtest_xdp_noinline.c137 __be32 vip; member
671 struct vip_definition vip = { }; in process_packet() local
705 memcpy(vip.vipv6, pckt.flow.dstv6, 16); in process_packet()
707 vip.vip = pckt.flow.dst; in process_packet()
708 vip.port = pckt.flow.port16[1]; in process_packet()
709 vip.proto = pckt.flow.proto; in process_packet()
710 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
712 vip.port = 0; in process_packet()
713 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
/linux-6.12.1/drivers/gpu/drm/sti/
Dsti_tvout.c156 * tvout_vip_set_color_order - Set the clipping mode of a VIP
180 * tvout_vip_set_clip_mode - Set the clipping mode of a VIP
196 * tvout_vip_set_rnd - Set the rounded value of a VIP
212 * tvout_vip_set_sel_input - Select the VIP input
292 * tvout_dvo_start - Start VIP block for DVO output
295 * @main_path: true if main path has to be used in the vip configuration
306 DRM_DEBUG_DRIVER("main vip for DVO\n"); in tvout_dvo_start()
315 DRM_DEBUG_DRIVER("aux vip for DVO\n"); in tvout_dvo_start()
346 * tvout_hdmi_start - Start VIP block for HDMI output
349 * @main_path: true if main path has to be used in the vip configuration
[all …]
/linux-6.12.1/drivers/media/pci/cx88/
Dcx88-reg.h83 #define MO_VIP_INTMSK 0x200080 // VIP interrupt mask
84 #define MO_VIP_INTSTAT 0x200084 // VIP interrupt status
85 #define MO_VIP_INTMSTAT 0x200088 // VIP interrupt masked status
86 #define MO_VIP_INTSSTAT 0x20008C // VIP interrupt set status
448 * VIP registers
451 #define MO_VIPD_DMA 0x340000 // {64}RWp VIP downstream
452 #define MO_VIPU_DMA 0x340008 // {64}RWp VIP upstream
453 #define MO_VIPD_GPCNT 0x34C020 // {16}RO VIP down general purpose counter
454 #define MO_VIPU_GPCNT 0x34C024 // {16}RO VIP up general purpose counter
455 #define MO_VIPD_GPCNTRL 0x34C030 // {2}WO VIP down general purpose control
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/display/tegra/
Dnvidia,tegra20-vip.yaml4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-vip.yaml#
7 title: NVIDIA Tegra VIP (parallel video capture) controller
15 - nvidia,tegra20-vip
Dnvidia,tegra20-vi.yaml76 vip:
77 $ref: /schemas/display/tegra/nvidia,tegra20-vip.yaml
86 Input from the VIP (parallel input capture) module
147 vip {
148 compatible = "nvidia,tegra20-vip";
/linux-6.12.1/tools/testing/selftests/x86/
Dentry_from_vm86.c299 /* STI with VIP set */ in main()
302 do_test(&v86, vmcode_sti - vmcode, VM86_STI, 0, "STI with VIP set"); in main()
304 /* POPF with VIP set but IF clear: should not trap */ in main()
307 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_UNKNOWN, 0, "POPF with VIP set and IF clear"); in main()
309 /* POPF with VIP set and IF set: should trap */ in main()
312 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_STI, 0, "POPF with VIP and IF set"); in main()
314 /* POPF with VIP clear and IF set: should not trap */ in main()
317 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_UNKNOWN, 0, "POPF with VIP clear and IF set"); in main()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dxdp.c7 struct vip key4 = {.protocol = 6, .family = AF_INET}; in test_xdp()
8 struct vip key6 = {.protocol = 6, .family = AF_INET6}; in test_xdp()

1234