Home
last modified time | relevance | path

Searched refs:vip (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v5.10/drivers/media/pci/sta2x11/
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_CTL) | DVP_CTL_ENA); in start_dma()
224 reg_write(vip, DVP_VTP, (u32)vip_buf->dma); in start_dma()
[all …]
/Linux-v5.10/fs/freevxfs/
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()
78 vxfs_transmod(struct vxfs_inode_info *vip) in vxfs_transmod() argument
80 umode_t ret = vip->vii_mode & ~VXFS_TYPE_MASK; in vxfs_transmod()
82 if (VXFS_ISFIFO(vip)) in vxfs_transmod()
84 if (VXFS_ISCHR(vip)) in vxfs_transmod()
86 if (VXFS_ISDIR(vip)) in vxfs_transmod()
[all …]
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 …]
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()
Dvxfs_immed.c68 struct vxfs_inode_info *vip = VXFS_INO(pp->mapping->host); in vxfs_immed_readpage() local
73 memcpy(kaddr, vip->vii_immed.vi_immed + offset, PAGE_SIZE); in vxfs_immed_readpage()
/Linux-v5.10/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-v5.10/tools/testing/selftests/bpf/progs/
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 vip = {}; in handle_ipv6() local
172 vip.protocol = ip6h->nexthdr; in handle_ipv6()
[all …]
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 vip = {}; in handle_ipv6() local
168 vip.protocol = ip6h->nexthdr; in handle_ipv6()
[all …]
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()
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_xdp_noinline.c136 __be32 vip; member
697 struct vip_definition vip = { }; in process_packet() local
732 memcpy(vip.vipv6, pckt.flow.dstv6, 16); in process_packet()
734 vip.vip = pckt.flow.dst; in process_packet()
735 vip.port = pckt.flow.port16[1]; in process_packet()
736 vip.proto = pckt.flow.proto; in process_packet()
737 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
739 vip.port = 0; in process_packet()
740 vip_info = bpf_map_lookup_elem(&vip_map, &vip); in process_packet()
/Linux-v5.10/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()
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 …]
Dxdp_tx_iptunnel_user.c167 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.dport = htons(min_port++); in main()
290 if (bpf_map_update_elem(vip2tnl_map_fd, &vip, &tnl, in main()
Dxdp_tx_iptunnel_common.h11 struct vip { struct
/Linux-v5.10/arch/alpha/include/asm/
Dcore_lca.h219 #define vip volatile int __force * macro
247 result = *(vip) ((addr << 5) + base_and_type); in lca_ioread8()
283 result = *(vip) ((addr << 5) + base_and_type); in lca_ioread16()
342 #undef vip
Dcore_mcpcia.h249 #define vip volatile int __force * macro
278 result = *(vip) ((addr << 5) + hose + 0x00); in mcpcia_ioread8()
302 result = *(vip) ((addr << 5) + hose + 0x08); in mcpcia_ioread16()
363 #undef vip
Dcore_t2.h361 #define vip volatile int * macro
366 long result = *(vip) ((addr << 5) + T2_IO + 0x00); in t2_inb()
381 long result = *(vip) ((addr << 5) + T2_IO + 0x08); in t2_inw()
460 result = *(vip) ((addr << 5) + T2_SPARSE_MEM + 0x00); in t2_readb()
596 #undef vip
Dcore_cia.h341 #define vip volatile int __force * macro
358 result = *(vip) ((addr << 5) + base_and_type); in cia_ioread8()
388 result = *(vip) ((addr << 5) + base_and_type); in cia_ioread16()
465 #undef vip
Dcore_apecs.h374 #define vip volatile int __force * macro
401 result = *(vip) ((addr << 5) + base_and_type); in apecs_ioread8()
437 result = *(vip) ((addr << 5) + base_and_type); in apecs_ioread16()
498 #undef vip
/Linux-v5.10/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()
/Linux-v5.10/drivers/parisc/
Diosapic.c905 struct vector_info *vip; in iosapic_register() local
935 vip = isi->isi_vector = kcalloc(isi->isi_num_vectors, in iosapic_register()
937 if (vip == NULL) { in iosapic_register()
942 for (cnt=0; cnt < isi->isi_num_vectors; cnt++, vip++) { in iosapic_register()
943 vip->irqline = (unsigned char) cnt; in iosapic_register()
944 vip->iosapic = isi; in iosapic_register()
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_iptunnel_common.h11 struct vip { struct
/Linux-v5.10/drivers/media/platform/xilinx/
DMakefile3 xilinx-video-objs += xilinx-dma.o xilinx-vip.o xilinx-vipp.o
/Linux-v5.10/net/8021q/
Dvlan.h143 struct vlan_dev_priv *vip = vlan_dev_priv(dev); in vlan_get_ingress_priority() local
145 return vip->ingress_priority_map[(vlan_tci >> VLAN_PRIO_SHIFT) & 0x7]; in vlan_get_ingress_priority()
/Linux-v5.10/arch/arm/boot/dts/
Datlas6.dtsi294 vip@b00C0000 {
295 compatible = "sirf,prima2-vip";
299 sirf,vip-dma-rx-channel = <16>;
484 vip_pins_a: vip@0 {
485 vip {
487 sirf,function = "vip";

12