Home
last modified time | relevance | path

Searched refs:vip (Results 1 - 25 of 68) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/media/pci/sta2x11/
H A Dsta2x11_vip.c203 static inline void reg_write(struct sta2x11_vip *vip, unsigned int reg, u32 val) in reg_write() argument
205 iowrite32((val), (vip->iomem)+(reg)); in reg_write()
208 static inline u32 reg_read(struct sta2x11_vip *vip, unsigned int reg) in reg_read() argument
210 return ioread32((vip->iomem)+(reg)); in reg_read()
213 static void start_dma(struct sta2x11_vip *vip, struct vip_buffer *vip_buf) in start_dma() argument
217 if (vip->format.field == V4L2_FIELD_INTERLACED) in start_dma()
218 offset = vip->format.width * 2; in start_dma()
220 spin_lock_irq(&vip->slock); in start_dma()
222 reg_write(vip, DVP_CTL, reg_read(vip, DVP_CT in start_dma()
230 vip_active_buf_next(struct sta2x11_vip *vip) vip_active_buf_next() argument
256 struct sta2x11_vip *vip = vb2_get_drv_priv(vq); queue_setup() local
284 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); buffer_prepare() local
302 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); buffer_queue() local
319 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); buffer_finish() local
333 struct sta2x11_vip *vip = vb2_get_drv_priv(vq); start_streaming() local
349 struct sta2x11_vip *vip = vb2_get_drv_priv(vq); stop_streaming() local
404 struct sta2x11_vip *vip = video_drvdata(file); vidioc_querycap() local
429 struct sta2x11_vip *vip = video_drvdata(file); vidioc_s_std() local
464 struct sta2x11_vip *vip = video_drvdata(file); vidioc_g_std() local
482 struct sta2x11_vip *vip = video_drvdata(file); vidioc_querystd() local
514 struct sta2x11_vip *vip = video_drvdata(file); vidioc_s_input() local
539 struct sta2x11_vip *vip = video_drvdata(file); vidioc_g_input() local
586 struct sta2x11_vip *vip = video_drvdata(file); vidioc_try_fmt_vid_cap() local
644 struct sta2x11_vip *vip = video_drvdata(file); vidioc_s_fmt_vid_cap() local
711 struct sta2x11_vip *vip = video_drvdata(file); vidioc_g_fmt_vid_cap() local
773 vip_irq(int irq, struct sta2x11_vip *vip) vip_irq() argument
812 sta2x11_vip_init_register(struct sta2x11_vip *vip) sta2x11_vip_init_register() argument
826 sta2x11_vip_clear_register(struct sta2x11_vip *vip) sta2x11_vip_clear_register() argument
839 sta2x11_vip_init_buffer(struct sta2x11_vip *vip) sta2x11_vip_init_buffer() argument
866 sta2x11_vip_init_controls(struct sta2x11_vip *vip) sta2x11_vip_init_controls() argument
964 struct sta2x11_vip *vip; sta2x11_vip_init_one() local
1142 struct sta2x11_vip *vip = sta2x11_vip_remove_one() local
1180 struct sta2x11_vip *vip = sta2x11_vip_suspend() local
1214 struct sta2x11_vip *vip = sta2x11_vip_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/sta2x11/
H A Dsta2x11_vip.c204 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()
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()
223 reg_write(vip, DVP_CTL, reg_read(vip, DVP_CT in start_dma()
231 vip_active_buf_next(struct sta2x11_vip *vip) vip_active_buf_next() argument
257 struct sta2x11_vip *vip = vb2_get_drv_priv(vq); queue_setup() local
285 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); buffer_prepare() local
303 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); buffer_queue() local
320 struct sta2x11_vip *vip = vb2_get_drv_priv(vb->vb2_queue); buffer_finish() local
334 struct sta2x11_vip *vip = vb2_get_drv_priv(vq); start_streaming() local
350 struct sta2x11_vip *vip = vb2_get_drv_priv(vq); stop_streaming() local
426 struct sta2x11_vip *vip = video_drvdata(file); vidioc_s_std() local
461 struct sta2x11_vip *vip = video_drvdata(file); vidioc_g_std() local
479 struct sta2x11_vip *vip = video_drvdata(file); vidioc_querystd() local
511 struct sta2x11_vip *vip = video_drvdata(file); vidioc_s_input() local
536 struct sta2x11_vip *vip = video_drvdata(file); vidioc_g_input() local
583 struct sta2x11_vip *vip = video_drvdata(file); vidioc_try_fmt_vid_cap() local
641 struct sta2x11_vip *vip = video_drvdata(file); vidioc_s_fmt_vid_cap() local
708 struct sta2x11_vip *vip = video_drvdata(file); vidioc_g_fmt_vid_cap() local
770 vip_irq(int irq, struct sta2x11_vip *vip) vip_irq() argument
809 sta2x11_vip_init_register(struct sta2x11_vip *vip) sta2x11_vip_init_register() argument
823 sta2x11_vip_clear_register(struct sta2x11_vip *vip) sta2x11_vip_clear_register() argument
836 sta2x11_vip_init_buffer(struct sta2x11_vip *vip) sta2x11_vip_init_buffer() argument
863 sta2x11_vip_init_controls(struct sta2x11_vip *vip) sta2x11_vip_init_controls() argument
964 struct sta2x11_vip *vip; sta2x11_vip_init_one() local
1142 struct sta2x11_vip *vip = sta2x11_vip_remove_one() local
1180 struct sta2x11_vip *vip = sta2x11_vip_suspend() local
1214 struct sta2x11_vip *vip = sta2x11_vip_resume() local
[all...]
/kernel/linux/linux-5.10/fs/freevxfs/
H A Dvxfs_inode.c51 vxfs_dumpi(struct vxfs_inode_info *vip, ino_t ino) in vxfs_dumpi() argument
60 printk(KERN_DEBUG "mode is %x\n", vip->vii_mode); in vxfs_dumpi()
62 vip->vii_nlink, vip->vii_uid, vip->vii_gid); in vxfs_dumpi()
64 vip->vii_size, vip->vii_blocks); in vxfs_dumpi()
65 printk(KERN_DEBUG "orgtype:%u\n", vip->vii_orgtype); in vxfs_dumpi()
71 * @vip: VxFS inode
78 vxfs_transmod(struct vxfs_inode_info *vip) in vxfs_transmod() argument
100 dip2vip_cpy(struct vxfs_sb_info *sbi, struct vxfs_inode_info *vip, struct vxfs_dinode *dip) dip2vip_cpy() argument
180 struct vxfs_inode_info *vip = VXFS_INO(inode); vxfs_blkiget() local
184 dip2vip_cpy(VXFS_SBI(sbp), vip, dip); vxfs_blkiget() local
211 __vxfs_iget(struct inode *ilistp, struct vxfs_inode_info *vip, ino_t ino) __vxfs_iget() argument
280 struct vxfs_inode_info *vip; vxfs_iget() local
[all...]
H A Dvxfs_bmap.c70 struct vxfs_inode_info *vip = VXFS_INO(ip); in vxfs_bmap_ext4() local
73 u32 indsize = fs32_to_cpu(sbi, vip->vii_ext4.ve4_indsize); in vxfs_bmap_ext4()
80 struct direct *d = vip->vii_ext4.ve4_direct + i; in vxfs_bmap_ext4()
92 fs32_to_cpu(sbi, vip->vii_ext4.ve4_indir[0])); in vxfs_bmap_ext4()
212 struct vxfs_inode_info *vip = VXFS_INO(ip); in vxfs_bmap_typed() local
218 struct vxfs_typed *typ = vip->vii_org.typed + i; in vxfs_bmap_typed()
276 struct vxfs_inode_info *vip = VXFS_INO(ip); in vxfs_bmap1() local
278 if (VXFS_ISEXT4(vip)) in vxfs_bmap1()
280 if (VXFS_ISTYPED(vip)) in vxfs_bmap1()
282 if (VXFS_ISNONE(vip)) in vxfs_bmap1()
[all...]
H A Dvxfs_fshead.c112 struct vxfs_inode_info *vip; in vxfs_read_fshead() local
120 vip = VXFS_INO(infp->vsi_fship); in vxfs_read_fshead()
121 if (!VXFS_ISFSH(vip)) { in vxfs_read_fshead()
123 vip->vii_mode & VXFS_TYPE_MASK); in vxfs_read_fshead()
129 vxfs_dumpi(vip, infp->vsi_fshino); in vxfs_read_fshead()
/kernel/linux/linux-6.6/fs/freevxfs/
H A 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
76 dip2vip_cpy(struct vxfs_sb_info *sbi, struct vxfs_inode_info *vip, struct vxfs_dinode *dip) dip2vip_cpy() argument
155 struct vxfs_inode_info *vip = VXFS_INO(inode); vxfs_blkiget() local
159 dip2vip_cpy(VXFS_SBI(sbp), vip, dip); vxfs_blkiget() local
186 __vxfs_iget(struct inode *ilistp, struct vxfs_inode_info *vip, ino_t ino) __vxfs_iget() argument
255 struct vxfs_inode_info *vip; vxfs_iget() local
[all...]
H A 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...]
H A 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()
/kernel/linux/linux-6.6/drivers/staging/media/tegra-video/
H A Dvip.c21 #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()
111 static int tegra_vip_channel_of_parse(struct tegra_vip *vip) in tegra_vip_channel_of_parse() argument
113 struct device *dev = vip in tegra_vip_channel_of_parse()
158 tegra_vip_channel_init(struct tegra_vip *vip) tegra_vip_channel_init() argument
192 struct tegra_vip *vip = host1x_client_to_vip(client); tegra_vip_init() local
212 struct tegra_vip *vip = host1x_client_to_vip(client); tegra_vip_exit() local
229 struct tegra_vip *vip; tegra_vip_probe() local
259 struct tegra_vip *vip = platform_get_drvdata(pdev); tegra_vip_remove() local
[all...]
/kernel/linux/linux-5.10/arch/alpha/kernel/
H A 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_CF in conf_read()
[all...]
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A 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_CF in conf_read()
[all...]
/kernel/linux/linux-5.10/samples/bpf/
H A 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 in handle_ipv4()
161 struct vip vip = {}; handle_ipv6() local
[all...]
H A Dxdp_tx_iptunnel_user.c88 printf(" -a <vip-service-address> IPv4 or IPv6\n"); in usage()
89 printf(" -p <vip-service-port> A port range (e.g. 433-444) is also allowed\n"); in usage()
167 struct vip vip = {}; in main() local
173 vip.protocol = IPPROTO_TCP; in main()
190 vip.family = parse_ipstr(optarg, vip.daddr.v6); in main()
191 if (vip.family == AF_UNSPEC) in main()
199 vip.protocol = atoi(optarg); in main()
289 vip in main()
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A 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 in handle_ipv4()
161 struct vip vip = {}; handle_ipv6() local
[all...]
H A Dxdp_tx_iptunnel_user.c87 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 in main()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_xdp.c35 __type(key, struct vip);
90 struct vip vip = {}; in handle_ipv4() local
102 vip.protocol = iph->protocol; in handle_ipv4()
103 vip.family = AF_INET; in handle_ipv4()
104 vip.daddr.v4 = iph->daddr; in handle_ipv4()
105 vip.dport = dport; in handle_ipv4()
108 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
148 count_tx(vip.protocol); in handle_ipv4()
162 struct vip vi in handle_ipv6() local
[all...]
H A Dtest_xdp_loop.c31 __type(key, struct vip);
86 struct vip vip = {}; in handle_ipv4() local
98 vip.protocol = iph->protocol; in handle_ipv4()
99 vip.family = AF_INET; in handle_ipv4()
100 vip.daddr.v4 = iph->daddr; in handle_ipv4()
101 vip.dport = dport; in handle_ipv4()
104 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
144 count_tx(vip.protocol); in handle_ipv4()
158 struct vip vi in handle_ipv6() local
[all...]
H A Dtest_l4lb.c175 __type(key, struct vip);
338 struct vip vip = {}; in process_packet() local
407 memcpy(vip.daddr.v6, pckt.dstv6, 16); in process_packet()
409 vip.daddr.v4 = pckt.dst; in process_packet()
411 vip.dport = pckt.port16[1]; in process_packet()
412 vip.protocol = pckt.proto; in process_packet()
413 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
415 vip.dport = 0; in process_packet()
416 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
[all...]
H A 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()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_xdp.c33 __type(key, struct vip);
88 struct vip vip = {}; in handle_ipv4() local
100 vip.protocol = iph->protocol; in handle_ipv4()
101 vip.family = AF_INET; in handle_ipv4()
102 vip.daddr.v4 = iph->daddr; in handle_ipv4()
103 vip.dport = dport; in handle_ipv4()
106 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
146 count_tx(vip.protocol); in handle_ipv4()
160 struct vip vi in handle_ipv6() local
[all...]
H A 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 vi in handle_ipv6() local
[all...]
H A Dtest_xdp_loop.c29 __type(key, struct vip);
84 struct vip vip = {}; in handle_ipv4() local
96 vip.protocol = iph->protocol; in handle_ipv4()
97 vip.family = AF_INET; in handle_ipv4()
98 vip.daddr.v4 = iph->daddr; in handle_ipv4()
99 vip.dport = dport; in handle_ipv4()
102 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
142 count_tx(vip.protocol); in handle_ipv4()
156 struct vip vi in handle_ipv6() local
[all...]
H A 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()
[all...]
H A 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()
[all...]
H A 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()
[all...]

Completed in 16 milliseconds

123