port 41 arch/x86/boot/boot.h asm volatile("outb %0,%1" : : "a" (v), "dN" (port)); port 46 arch/x86/boot/boot.h asm volatile("inb %1,%0" : "=a" (v) : "dN" (port)); port 52 arch/x86/boot/boot.h asm volatile("outw %0,%1" : : "a" (v), "dN" (port)); port 57 arch/x86/boot/boot.h asm volatile("inw %1,%0" : "=a" (v) : "dN" (port)); port 63 arch/x86/boot/boot.h asm volatile("outl %0,%1" : : "a" (v), "dN" (port)); port 68 arch/x86/boot/boot.h asm volatile("inl %1,%0" : "=a" (v) : "dN" (port)); port 132 arch/x86/boot/video.h outb(index, port); port 133 arch/x86/boot/video.h return inb(port+1); port 138 arch/x86/boot/video.h outw(index+(v << 8), port); port 144 arch/x86/boot/video.h out_idx(port, index, v); port 145 arch/x86/boot/video.h return in_idx(port, index); port 136 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c u16 port; port 161 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c acpi_os_read_port((acpi_io_address)cmd->addr.io.port, port 181 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c acpi_os_write_port((acpi_io_address)cmd->addr.io.port, port 230 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c cmd.addr.io.port = perf->control_register.address; port 438 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c cmd.addr.io.port = perf->control_register.address; port 119 arch/x86/kernel/early_printk.c unsigned port; port 127 arch/x86/kernel/early_printk.c port = simple_strtoul(s, &e, 10); port 128 arch/x86/kernel/early_printk.c if (port > 1 || s == e) port 129 arch/x86/kernel/early_printk.c port = 0; port 130 arch/x86/kernel/early_printk.c early_serial_base = bases[port]; port 499 arch/x86/kernel/early_printk.c portsc = readl(&ehci_regs->port_status[port - 1]); port 502 arch/x86/kernel/early_printk.c writel(portsc, &ehci_regs->port_status[port - 1]); port 509 arch/x86/kernel/early_printk.c portsc = readl(&ehci_regs->port_status[port - 1]); port 514 arch/x86/kernel/early_printk.c &ehci_regs->port_status[port - 1]); port 516 arch/x86/kernel/early_printk.c portsc = readl(&ehci_regs->port_status[port-1]); port 544 arch/x86/kernel/early_printk.c ret = ehci_reset_port(port); port 572 arch/x86/kernel/early_printk.c dword |= ((port & 0x0f)<<12); port 575 arch/x86/kernel/early_printk.c dbgp_printk("set debug port to %d\n", port); port 946 arch/x86/kernel/io_apic_32.c unsigned int port = 0x4d0 + (irq >> 3); port 947 arch/x86/kernel/io_apic_32.c return (inb(port) >> (irq & 7)) & 1; port 242 arch/x86/kernel/mca_32.c return port; port 412 arch/x86/kernel/mpparse.c unsigned int port; port 414 arch/x86/kernel/mpparse.c port = 0x4d0 + (irq >> 3); port 415 arch/x86/kernel/mpparse.c return (inb(port) >> (irq & 7)) & 1; port 57 arch/x86/kernel/olpc.c return !!(inb(port) & 0x02); port 62 arch/x86/kernel/olpc.c return inb(port) & 0x01; port 69 arch/x86/kernel/olpc.c int state = ibf_status(port); port 73 arch/x86/kernel/olpc.c state = ibf_status(port); port 89 arch/x86/kernel/olpc.c int state = obf_status(port); port 93 arch/x86/kernel/olpc.c state = obf_status(port); port 1098 arch/x86/kvm/svm.c unsigned port; port 1114 arch/x86/kvm/svm.c port = io_info >> 16; port 1119 arch/x86/kvm/svm.c return kvm_emulate_pio(&svm->vcpu, kvm_run, in, size, port); port 2345 arch/x86/kvm/vmx.c unsigned port; port 2362 arch/x86/kvm/vmx.c port = exit_qualification >> 16; port 2364 arch/x86/kvm/vmx.c return kvm_emulate_pio(vcpu, kvm_run, in, size, port); port 2278 arch/x86/kvm/x86.c kvm_iodevice_read(pio_dev, vcpu->arch.pio.port, port 2282 arch/x86/kvm/x86.c kvm_iodevice_write(pio_dev, vcpu->arch.pio.port, port 2297 arch/x86/kvm/x86.c kvm_iodevice_write(pio_dev, io->port, port 2322 arch/x86/kvm/x86.c vcpu->run->io.port = vcpu->arch.pio.port = port; port 2330 arch/x86/kvm/x86.c KVMTRACE_2D(IO_READ, vcpu, vcpu->run->io.port, (u32)size, port 2333 arch/x86/kvm/x86.c KVMTRACE_2D(IO_WRITE, vcpu, vcpu->run->io.port, (u32)size, port 2341 arch/x86/kvm/x86.c pio_dev = vcpu_find_pio_dev(vcpu, port, size, !in); port 2366 arch/x86/kvm/x86.c vcpu->run->io.port = vcpu->arch.pio.port = port; port 2374 arch/x86/kvm/x86.c KVMTRACE_2D(IO_READ, vcpu, vcpu->run->io.port, (u32)size, port 2377 arch/x86/kvm/x86.c KVMTRACE_2D(IO_WRITE, vcpu, vcpu->run->io.port, (u32)size, port 2423 arch/x86/kvm/x86.c pio_dev = vcpu_find_pio_dev(vcpu, port, port 2438 arch/x86/kvm/x86.c port, size, count); port 217 arch/x86/mach-voyager/voyager_basic.c int port; port 223 arch/x86/mach-voyager/voyager_basic.c port = (inb(VOYAGER_SSPB_RELOCATION_PORT) << 8) + 0x21; port 225 arch/x86/mach-voyager/voyager_basic.c outb(inb(port) | 0x1, port); port 159 arch/x86/pci/irq.c unsigned int port = 0x4d0 + (irq >> 3); port 168 arch/x86/pci/irq.c val = inb(port); port 171 arch/x86/pci/irq.c outb(val | mask, port); port 25 arch/x86/pci/numaq_32.c #define XQUAD_PORT_ADDR(port, quad) (xquad_portio + (XQUAD_PORTIO_QUAD*quad) + port) port 289 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 464 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 509 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 577 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 683 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 772 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 857 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 954 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 1062 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 1171 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 1248 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 1364 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 1415 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 1462 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 1742 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 1828 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 1861 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 1893 fs/afs/fsclient.c call->port = htons(AFS_FS_PORT); port 114 fs/afs/internal.h __be16 port; /* target UDP port */ port 316 fs/afs/rxrpc.c _enter("%x,{%d},", addr->s_addr, ntohs(call->port)); port 334 fs/afs/rxrpc.c srx.transport.sin.sin_port = call->port; port 172 fs/afs/vlclient.c call->port = htons(AFS_VL_PORT); port 208 fs/afs/vlclient.c call->port = htons(AFS_VL_PORT); port 96 fs/cifs/connect.c unsigned short int port; port 1113 fs/cifs/connect.c vol->port = port 1956 fs/cifs/connect.c if (volume_info.port) port 1957 fs/cifs/connect.c sin_server.sin_port = htons(volume_info.port); port 52 fs/cifs/rfc1002pdu.h __u16 port; port 289 fs/compat_ioctl.c unsigned char port; port 521 fs/compat_ioctl.c err |= __get_user(ifr.ifr_map.port, &uifmap32->port); port 562 fs/compat_ioctl.c err |= __put_user(ifr.ifr_map.port, &uifmap32->port); port 1518 fs/compat_ioctl.c compat_uint_t port; port 309 fs/dlm/lowcomms.c in4_addr->sin_port = cpu_to_be16(port); port 314 fs/dlm/lowcomms.c in6_addr->sin6_port = cpu_to_be16(port); port 695 fs/nfs/client.c server->port = data->nfs_server.port; port 708 fs/nfs/client.c server->mountd_port = data->mount_server.port; port 1089 fs/nfs/client.c server->port = data->nfs_server.port; port 50 fs/nfs/internal.h unsigned short port; port 59 fs/nfs/internal.h unsigned short port; port 2883 fs/nfs/nfs4proc.c clp->cl_ipaddr, port >> 8, port & 255); port 414 fs/nfs/nfsroot.c sin->sin_port = port; port 438 fs/nfs/nfsroot.c int port; port 458 fs/nfs/nfsroot.c if ((port = root_nfs_getport(NFS_PROGRAM, nfsd_ver, proto)) < 0) { port 461 fs/nfs/nfsroot.c port = nfsd_port; port 463 fs/nfs/nfsroot.c nfs_port = port; port 465 fs/nfs/nfsroot.c "as nfsd port\n", port); port 468 fs/nfs/nfsroot.c if ((port = root_nfs_getport(NFS_MNT_PROGRAM, mountd_ver, proto)) < 0) { port 471 fs/nfs/nfsroot.c port = mountd_port; port 473 fs/nfs/nfsroot.c mount_port = port; port 474 fs/nfs/nfsroot.c dprintk("Root-NFS: mountd port is %d\n", port); port 536 fs/nfs/super.c if (nfss->port != NFS_PORT) port 537 fs/nfs/super.c seq_printf(m, ",port=%u", nfss->port); port 539 fs/nfs/super.c if (nfss->port) port 540 fs/nfs/super.c seq_printf(m, ",port=%u", nfss->port); port 674 fs/nfs/super.c ap->sin_port = htons(port); port 679 fs/nfs/super.c ap->sin6_port = htons(port); port 1046 fs/nfs/super.c mnt->nfs_server.port = option; port 1132 fs/nfs/super.c mnt->mount_server.port = option; port 1334 fs/nfs/super.c nfs_set_port(sap, args->mount_server.port); port 1523 fs/nfs/super.c args->mount_server.port = 0; /* autobind unless user sets port */ port 1524 fs/nfs/super.c args->nfs_server.port = 0; /* autobind unless user sets port */ port 1628 fs/nfs/super.c args->nfs_server.port); port 2182 fs/nfs/super.c args->nfs_server.port = NFS_PORT; /* 2049 unless user set port= */ port 2254 fs/nfs/super.c args->nfs_server.port); port 648 fs/nfsd/nfsctl.c int port; port 649 fs/nfsd/nfsctl.c if (sscanf(buf, "%15s %4d", transport, &port) == 2) { port 653 fs/nfsd/nfsctl.c transport, port, port 670 fs/nfsd/nfsctl.c int port; port 671 fs/nfsd/nfsctl.c if (sscanf(&buf[1], "%15s %4d", transport, &port) == 2) { port 672 fs/nfsd/nfsctl.c if (port == 0) port 676 fs/nfsd/nfsctl.c AF_UNSPEC, port); port 247 fs/nfsd/nfssvc.c error = svc_create_xprt(nfsd_serv, "udp", port, port 252 fs/nfsd/nfssvc.c error = svc_create_xprt(nfsd_serv, "tcp", port, port 363 fs/nfsd/nfssvc.c error = nfsd_init_socks(port); port 1905 fs/ocfs2/cluster/tcp.c .sin_port = port, port 1928 fs/ocfs2/cluster/tcp.c "ret=%d\n", NIPQUAD(addr), ntohs(port), ret); port 1935 fs/ocfs2/cluster/tcp.c NIPQUAD(addr), ntohs(port), ret); port 26 include/asm-cris/arch-v32/io.h struct crisv32_ioport* port; port 47 include/asm-cris/arch-v32/io.h spin_lock_irqsave(&iopin->port->lock, flags); port 50 include/asm-cris/arch-v32/io.h *iopin->port->data |= iopin->bit; port 52 include/asm-cris/arch-v32/io.h *iopin->port->data &= ~iopin->bit; port 54 include/asm-cris/arch-v32/io.h spin_unlock_irqrestore(&iopin->port->lock, flags); port 61 include/asm-cris/arch-v32/io.h spin_lock_irqsave(&iopin->port->lock, flags); port 64 include/asm-cris/arch-v32/io.h *iopin->port->oe &= ~iopin->bit; port 66 include/asm-cris/arch-v32/io.h *iopin->port->oe |= iopin->bit; port 68 include/asm-cris/arch-v32/io.h spin_unlock_irqrestore(&iopin->port->lock, flags); port 73 include/asm-cris/arch-v32/io.h return ((*iopin->port->data_in & iopin->bit) ? 1 : 0); port 12 include/asm-cris/io.h u32 (*read_io)(u32 port, void *addr, int size, int count); port 13 include/asm-cris/io.h void (*write_io)(u32 port, void *addr, int size, int count); port 130 include/asm-cris/io.h #define inb(port) (cris_iops ? cris_iops->read_io(port,NULL,1,1) : 0) port 131 include/asm-cris/io.h #define inw(port) (cris_iops ? cris_iops->read_io(port,NULL,2,1) : 0) port 132 include/asm-cris/io.h #define inl(port) (cris_iops ? cris_iops->read_io(port,NULL,4,1) : 0) port 133 include/asm-cris/io.h #define insb(port,addr,count) (cris_iops ? cris_iops->read_io(port,addr,1,count) : 0) port 134 include/asm-cris/io.h #define insw(port,addr,count) (cris_iops ? cris_iops->read_io(port,addr,2,count) : 0) port 135 include/asm-cris/io.h #define insl(port,addr,count) (cris_iops ? cris_iops->read_io(port,addr,4,count) : 0) port 136 include/asm-cris/io.h #define outb(data,port) if (cris_iops) cris_iops->write_io(port,(void*)(unsigned)data,1,1) port 137 include/asm-cris/io.h #define outw(data,port) if (cris_iops) cris_iops->write_io(port,(void*)(unsigned)data,2,1) port 138 include/asm-cris/io.h #define outl(data,port) if (cris_iops) cris_iops->write_io(port,(void*)(unsigned)data,4,1) port 139 include/asm-cris/io.h #define outsb(port,addr,count) if(cris_iops) cris_iops->write_io(port,(void*)addr,1,count) port 140 include/asm-cris/io.h #define outsw(port,addr,count) if(cris_iops) cris_iops->write_io(port,(void*)addr,2,count) port 141 include/asm-cris/io.h #define outsl(port,addr,count) if(cris_iops) cris_iops->write_io(port,(void*)addr,3,count) port 25 include/asm-frv/ide.h #define __ide_mm_insw(port, addr, n) insw((unsigned long) (port), addr, n) port 26 include/asm-frv/ide.h #define __ide_mm_insl(port, addr, n) insl((unsigned long) (port), addr, n) port 27 include/asm-frv/ide.h #define __ide_mm_outsw(port, addr, n) outsw((unsigned long) (port), addr, n) port 28 include/asm-frv/ide.h #define __ide_mm_outsl(port, addr, n) outsl((unsigned long) (port), addr, n) port 280 include/asm-frv/io.h return (void __iomem *) port; port 177 include/asm-frv/mb93493-regs.h #define __addr_MB93493_I2C(port,X) (__region_CS3 + MB93493_I2C_##X + ((port)*0x20)) port 178 include/asm-frv/mb93493-regs.h #define __get_MB93493_I2C(port,X) __get_MB93493(MB93493_I2C_##X + ((port)*0x20)) port 179 include/asm-frv/mb93493-regs.h #define __set_MB93493_I2C(port,X,V) __set_MB93493(MB93493_I2C_##X + ((port)*0x20), (V)) port 11 include/asm-generic/ide_iops.h *(u16 *)addr = readw(port); port 19 include/asm-generic/ide_iops.h *(u32 *)addr = readl(port); port 27 include/asm-generic/ide_iops.h writew(*(u16 *)addr, port); port 35 include/asm-generic/ide_iops.h writel(*(u32 *)addr, port); port 69 include/asm-m68k/floppy.h return inb_p(port); port 71 include/asm-m68k/floppy.h return sun3x_82072_fd_inb(port); port 78 include/asm-m68k/floppy.h outb_p(value, port); port 80 include/asm-m68k/floppy.h sun3x_82072_fd_outb(value, port); port 72 include/asm-m68k/ide.h #define insw(port, addr, n) raw_insw((u16 *)port, addr, n) port 74 include/asm-m68k/ide.h #define insl(port, addr, n) raw_insl((u32 *)port, addr, n) port 75 include/asm-m68k/ide.h #define outb(val, port) out_8(port, val) port 76 include/asm-m68k/ide.h #define outw(val, port) out_be16(port, val) port 77 include/asm-m68k/ide.h #define outsw(port, addr, n) raw_outsw((u16 *)port, addr, n) port 78 include/asm-m68k/ide.h #define outl(val, port) out_be32(port, val) port 79 include/asm-m68k/ide.h #define outsl(port, addr, n) raw_outsl((u32 *)port, addr, n) port 82 include/asm-m68k/ide.h #define __ide_mm_insw(port, addr, n) raw_insw((u16 *)port, addr, n) port 84 include/asm-m68k/ide.h #define __ide_mm_insl(port, addr, n) raw_insl((u32 *)port, addr, n) port 85 include/asm-m68k/ide.h #define writeb(val, port) out_8(port, val) port 86 include/asm-m68k/ide.h #define writew(val, port) out_be16(port, val) port 87 include/asm-m68k/ide.h #define __ide_mm_outsw(port, addr, n) raw_outsw((u16 *)port, addr, n) port 88 include/asm-m68k/ide.h #define writel(val, port) out_be32(port, val) port 89 include/asm-m68k/ide.h #define __ide_mm_outsl(port, addr, n) raw_outsl((u32 *)port, addr, n) port 91 include/asm-m68k/ide.h #define insw_swapw(port, addr, n) raw_insw_swapw((u16 *)port, addr, n) port 92 include/asm-m68k/ide.h #define outsw_swapw(port, addr, n) raw_outsw_swapw((u16 *)port, addr, n) port 197 include/asm-m68k/io.h #define isa_inb(port) in_8(isa_itb(port)) port 198 include/asm-m68k/io.h #define isa_inw(port) (ISA_SEX ? in_be16(isa_itw(port)) : in_le16(isa_itw(port))) port 199 include/asm-m68k/io.h #define isa_inl(port) (ISA_SEX ? in_be32(isa_itl(port)) : in_le32(isa_itl(port))) port 200 include/asm-m68k/io.h #define isa_outb(val,port) out_8(isa_itb(port),(val)) port 201 include/asm-m68k/io.h #define isa_outw(val,port) (ISA_SEX ? out_be16(isa_itw(port),(val)) : out_le16(isa_itw(port),(val))) port 202 include/asm-m68k/io.h #define isa_outl(val,port) (ISA_SEX ? out_be32(isa_itl(port),(val)) : out_le32(isa_itl(port),(val))) port 237 include/asm-m68k/io.h #define isa_insb(port, buf, nr) raw_insb(isa_itb(port), (u8 *)(buf), (nr)) port 238 include/asm-m68k/io.h #define isa_outsb(port, buf, nr) raw_outsb(isa_itb(port), (u8 *)(buf), (nr)) port 241 include/asm-m68k/io.h (ISA_SEX ? raw_insw(isa_itw(port), (u16 *)(buf), (nr)) : \ port 242 include/asm-m68k/io.h raw_insw_swapw(isa_itw(port), (u16 *)(buf), (nr))) port 245 include/asm-m68k/io.h (ISA_SEX ? raw_outsw(isa_itw(port), (u16 *)(buf), (nr)) : \ port 246 include/asm-m68k/io.h raw_outsw_swapw(isa_itw(port), (u16 *)(buf), (nr))) port 249 include/asm-m68k/io.h (ISA_SEX ? raw_insl(isa_itl(port), (u32 *)(buf), (nr)) : \ port 250 include/asm-m68k/io.h raw_insw_swapw(isa_itw(port), (u16 *)(buf), (nr)<<1)) port 253 include/asm-m68k/io.h (ISA_SEX ? raw_outsl(isa_itl(port), (u32 *)(buf), (nr)) : \ port 254 include/asm-m68k/io.h raw_outsw_swapw(isa_itw(port), (u16 *)(buf), (nr)<<1)) port 14 include/asm-m68k/parport.h #define insl(port,buf,len) isa_insb(port,buf,(len)<<2) port 15 include/asm-m68k/parport.h #define outsl(port,buf,len) isa_outsb(port,buf,(len)<<2) port 56 include/asm-m68k/raw_io.h #define raw_outb(val,port) out_8((port),(val)) port 57 include/asm-m68k/raw_io.h #define raw_outw(val,port) out_be16((port),(val)) port 58 include/asm-m68k/raw_io.h #define raw_outl(val,port) out_be32((port),(val)) port 68 include/asm-m68k/raw_io.h *buf++ = in_8(port); port 77 include/asm-m68k/raw_io.h out_8(port, *buf++); port 89 include/asm-m68k/raw_io.h : "a" (port), "0" (buf), port 114 include/asm-m68k/raw_io.h : "a" (port), "0" (buf), port 129 include/asm-m68k/raw_io.h : "a" (port), "0" (buf), port 154 include/asm-m68k/raw_io.h : "a" (port), "0" (buf), port 168 include/asm-m68k/raw_io.h : "a" (port), "0" (buf), port 193 include/asm-m68k/raw_io.h : "a" (port), "0" (buf), port 208 include/asm-m68k/raw_io.h : "a" (port), "0" (buf), port 233 include/asm-m68k/raw_io.h : "a" (port), "0" (buf), port 253 include/asm-m68k/raw_io.h : "g" (port), "g" (buf), "g" (nr) port 288 include/asm-m68k/raw_io.h : "g" (port), "g" (buf), "g" (nr) port 306 include/asm-m68k/raw_io.h : "g" (port), "g" (buf), "g" (nr) port 341 include/asm-m68k/raw_io.h : "g" (port), "g" (buf), "g" (nr) port 50 include/asm-m68k/sun3xflop.h switch(port & 7) { port 52 include/asm-m68k/sun3xflop.h printk("floppy: Asked to read unknown port %d\n", port); port 72 include/asm-m68k/sun3xflop.h switch(port & 7) { port 74 include/asm-m68k/sun3xflop.h printk("floppy: Asked to write to unknown port %d\n", port); port 30 include/asm-mn10300/ide.h insw((unsigned long) (port), (addr), (n)) port 32 include/asm-mn10300/ide.h insl((unsigned long) (port), (addr), (n)) port 34 include/asm-mn10300/ide.h outsw((unsigned long) (port), (addr), (n)) port 36 include/asm-mn10300/ide.h outsl((unsigned long) (port), (addr), (n)) port 270 include/asm-mn10300/io.h return (void __iomem *) port; port 45 include/asm-parisc/floppy.h #define fd_inb(port) readb(port) port 46 include/asm-parisc/floppy.h #define fd_outb(value, port) writeb(value, port) port 30 include/asm-parisc/ide.h *(u16 *)addr = __raw_readw(port); port 38 include/asm-parisc/ide.h *(u32 *)addr = __raw_readl(port); port 46 include/asm-parisc/ide.h __raw_writew(*(u16 *)addr, port); port 54 include/asm-parisc/ide.h __raw_writel(*(u32 *)addr, port); port 172 include/asm-parisc/pci.h u8 (*inb) (struct pci_hba_data *hba, u16 port); port 173 include/asm-parisc/pci.h u16 (*inw) (struct pci_hba_data *hba, u16 port); port 174 include/asm-parisc/pci.h u32 (*inl) (struct pci_hba_data *hba, u16 port); port 175 include/asm-parisc/pci.h void (*outb) (struct pci_hba_data *hba, u16 port, u8 data); port 176 include/asm-parisc/pci.h void (*outw) (struct pci_hba_data *hba, u16 port, u16 data); port 177 include/asm-parisc/pci.h void (*outl) (struct pci_hba_data *hba, u16 port, u32 data); port 34 include/asm-x86/floppy.h #define fd_inb(port) inb_p(port) port 35 include/asm-x86/floppy.h #define fd_outb(value, port) outb_p(value, port) port 37 include/asm-x86/i8259.h unsigned char value = inb(port); port 50 include/asm-x86/i8259.h outb(value, port); port 215 include/asm-x86/io_32.h static inline void out##bwl(unsigned type value, int port) \ port 217 include/asm-x86/io_32.h out##bwl##_local(value, port); \ port 220 include/asm-x86/io_32.h static inline unsigned type in##bwl(int port) \ port 222 include/asm-x86/io_32.h return in##bwl##_local(port); \ port 226 include/asm-x86/io_32.h static inline void out##bwl##_local(unsigned type value, int port) \ port 229 include/asm-x86/io_32.h : : "a"(value), "Nd"(port)); \ port 232 include/asm-x86/io_32.h static inline unsigned type in##bwl##_local(int port) \ port 236 include/asm-x86/io_32.h : "=a"(value) : "Nd"(port)); \ port 240 include/asm-x86/io_32.h static inline void out##bwl##_local_p(unsigned type value, int port) \ port 242 include/asm-x86/io_32.h out##bwl##_local(value, port); \ port 246 include/asm-x86/io_32.h static inline unsigned type in##bwl##_local_p(int port) \ port 248 include/asm-x86/io_32.h unsigned type value = in##bwl##_local(port); \ port 255 include/asm-x86/io_32.h static inline void out##bwl##_p(unsigned type value, int port) \ port 257 include/asm-x86/io_32.h out##bwl(value, port); \ port 261 include/asm-x86/io_32.h static inline unsigned type in##bwl##_p(int port) \ port 263 include/asm-x86/io_32.h unsigned type value = in##bwl(port); \ port 268 include/asm-x86/io_32.h static inline void outs##bwl(int port, const void *addr, unsigned long count) \ port 271 include/asm-x86/io_32.h : "+S"(addr), "+c"(count) : "d"(port)); \ port 274 include/asm-x86/io_32.h static inline void ins##bwl(int port, void *addr, unsigned long count) \ port 277 include/asm-x86/io_32.h : "+D"(addr), "+c"(count) : "d"(port)); \ port 62 include/asm-x86/io_64.h static inline void out##s(unsigned x value, unsigned short port) { port 73 include/asm-x86/io_64.h __OUT1(s, x) __OUT2(s, s1, "w") : : "a" (value), "Nd" (port)); \ port 75 include/asm-x86/io_64.h __OUT1(s##_p, x) __OUT2(s, s1, "w") : : "a" (value), "Nd" (port)); \ port 80 include/asm-x86/io_64.h static inline RETURN_TYPE in##s(unsigned short port) \ port 88 include/asm-x86/io_64.h __IN1(s) __IN2(s, s1, "w") : "=a" (_v) : "Nd" (port), ##i); \ port 91 include/asm-x86/io_64.h __IN1(s##_p) __IN2(s, s1, "w") : "=a" (_v) : "Nd" (port), ##i); \ port 100 include/asm-x86/io_64.h static inline void ins##s(unsigned short port, void *addr, \ port 105 include/asm-x86/io_64.h : "d" (port), "0" (addr), "1" (count)); \ port 109 include/asm-x86/io_64.h static inline void outs##s(unsigned short port, const void *addr, \ port 114 include/asm-x86/io_64.h : "d" (port), "0" (addr), "1" (count)); \ port 137 include/asm-xtensa/io.h #define inb(port) readb((u8 *)((port))) port 138 include/asm-xtensa/io.h #define outb(val, port) writeb((val),(u8 *)((unsigned long)(port))) port 139 include/asm-xtensa/io.h #define inw(port) readw((u16 *)((port))) port 140 include/asm-xtensa/io.h #define outw(val, port) writew((val),(u16 *)((unsigned long)(port))) port 141 include/asm-xtensa/io.h #define inl(port) readl((u32 *)((port))) port 142 include/asm-xtensa/io.h #define outl(val, port) writel((val),(u32 *)((unsigned long)(port))) port 144 include/asm-xtensa/io.h #define inb_p(port) inb((port)) port 145 include/asm-xtensa/io.h #define outb_p(val, port) outb((val), (port)) port 146 include/asm-xtensa/io.h #define inw_p(port) inw((port)) port 147 include/asm-xtensa/io.h #define outw_p(val, port) outw((val), (port)) port 148 include/asm-xtensa/io.h #define inl_p(port) inl((port)) port 149 include/asm-xtensa/io.h #define outl_p(val, port) outl((val), (port)) port 47 include/linux/b1lli.h int port; port 57 include/linux/b1lli.h int port; port 122 include/linux/cdk.h unsigned short port; port 38 include/linux/comstats.h unsigned long port; port 529 include/linux/cyclades.h #define cy_writeb(port,val) do { writeb((val), (port)); mb(); } while (0) port 530 include/linux/cyclades.h #define cy_writew(port,val) do { writew((val), (port)); mb(); } while (0) port 531 include/linux/cyclades.h #define cy_writel(port,val) do { writel((val), (port)); mb(); } while (0) port 553 include/linux/cyclades.h struct tty_port port; port 41 include/linux/errqueue.h __be16 port; port 24 include/linux/ethtool.h __u8 port; /* Which connector port */ port 37 include/linux/generic_serial.h struct tty_port port; port 79 include/linux/hayesesp.h struct tty_port port; port 130 include/linux/if.h unsigned char port; port 17 include/linux/if_ec.h unsigned char port; /* Port number. */ port 47 include/linux/if_ec.h unsigned char port; port 54 include/linux/if_ec.h unsigned char port; port 48 include/linux/if_link.h __u8 port; port 69 include/linux/inet_diag.h int port; port 101 include/linux/ip_vs.h __be16 port; port 115 include/linux/ip_vs.h __be16 port; port 164 include/linux/ip_vs.h __be16 port; port 183 include/linux/ip_vs.h __be16 port; port 204 include/linux/ip_vs.h __be16 port; port 32 include/linux/isdn/capilli.h unsigned int port; port 54 include/linux/istallion.h struct tty_port port; port 25 include/linux/kernelcapi.h unsigned int port; port 123 include/linux/kvm.h __u16 port; port 49 include/linux/kvm_types.h int port; port 114 include/linux/lp.h #define LP_IRQ(minor) lp_table[(minor)].dev->port->irq /* interrupt # */ port 121 include/linux/lp.h #define LP_BASE(x) lp_table[(x)].dev->port->base port 57 include/linux/maple.h unsigned char port, unit; port 51 include/linux/mlx4/driver.h enum mlx4_dev_event event, int port); port 710 include/linux/mv643xx.h #define MV64340_MPSC_CAUSE_REG(port) (0xb804 + (port<<3)) port 711 include/linux/mv643xx.h #define MV64340_MPSC_MASK_REG(port) (0xb884 + (port<<3)) port 713 include/linux/mv643xx.h #define MV64340_MPSC_MAIN_CONFIG_LOW(port) (0x8000 + (port<<12)) port 714 include/linux/mv643xx.h #define MV64340_MPSC_MAIN_CONFIG_HIGH(port) (0x8004 + (port<<12)) port 715 include/linux/mv643xx.h #define MV64340_MPSC_PROTOCOL_CONFIG(port) (0x8008 + (port<<12)) port 716 include/linux/mv643xx.h #define MV64340_MPSC_CHANNEL_REG1(port) (0x800c + (port<<12)) port 717 include/linux/mv643xx.h #define MV64340_MPSC_CHANNEL_REG2(port) (0x8010 + (port<<12)) port 718 include/linux/mv643xx.h #define MV64340_MPSC_CHANNEL_REG3(port) (0x8014 + (port<<12)) port 719 include/linux/mv643xx.h #define MV64340_MPSC_CHANNEL_REG4(port) (0x8018 + (port<<12)) port 720 include/linux/mv643xx.h #define MV64340_MPSC_CHANNEL_REG5(port) (0x801c + (port<<12)) port 721 include/linux/mv643xx.h #define MV64340_MPSC_CHANNEL_REG6(port) (0x8020 + (port<<12)) port 722 include/linux/mv643xx.h #define MV64340_MPSC_CHANNEL_REG7(port) (0x8024 + (port<<12)) port 723 include/linux/mv643xx.h #define MV64340_MPSC_CHANNEL_REG8(port) (0x8028 + (port<<12)) port 724 include/linux/mv643xx.h #define MV64340_MPSC_CHANNEL_REG9(port) (0x802c + (port<<12)) port 725 include/linux/mv643xx.h #define MV64340_MPSC_CHANNEL_REG10(port) (0x8030 + (port<<12)) port 43 include/linux/netfilter/nf_conntrack_h323.h __be16 port); port 48 include/linux/netfilter/nf_conntrack_h323.h __be16 port); port 64 include/linux/netfilter/nf_conntrack_h323.h __be16 port, __be16 rtp_port, port 70 include/linux/netfilter/nf_conntrack_h323.h H245_TransportAddress *taddr, __be16 port, port 75 include/linux/netfilter/nf_conntrack_h323.h TransportAddress *taddr, __be16 port, port 82 include/linux/netfilter/nf_conntrack_h323.h __be16 port, port 87 include/linux/netfilter/nf_conntrack_h323.h int idx, __be16 port, port 123 include/linux/netfilter/nf_conntrack_sip.h u_int16_t port); port 98 include/linux/nfs_fs_sb.h unsigned short port; /* "port=" setting */ port 179 include/linux/parport.h size_t (*epp_write_data) (struct parport *port, const void *buf, port 181 include/linux/parport.h size_t (*epp_read_data) (struct parport *port, void *buf, size_t len, port 183 include/linux/parport.h size_t (*epp_write_addr) (struct parport *port, const void *buf, port 185 include/linux/parport.h size_t (*epp_read_addr) (struct parport *port, void *buf, size_t len, port 188 include/linux/parport.h size_t (*ecp_write_data) (struct parport *port, const void *buf, port 190 include/linux/parport.h size_t (*ecp_read_data) (struct parport *port, void *buf, size_t len, port 192 include/linux/parport.h size_t (*ecp_write_addr) (struct parport *port, const void *buf, port 195 include/linux/parport.h size_t (*compat_write_data) (struct parport *port, const void *buf, port 197 include/linux/parport.h size_t (*nibble_read_data) (struct parport *port, void *buf, port 199 include/linux/parport.h size_t (*byte_read_data) (struct parport *port, void *buf, port 228 include/linux/parport.h struct parport *port; port 436 include/linux/parport.h if ((dev->port->waithead == NULL) || (timeslip < dev->timeslice)) port 454 include/linux/parport.h if ((dev->port->waithead == NULL) || (timeslip < dev->timeslice)) port 519 include/linux/parport.h parport_ieee1284_interrupt (port); port 520 include/linux/parport.h read_lock(&port->cad_lock); port 521 include/linux/parport.h if (port->cad && port->cad->irq_func) port 522 include/linux/parport.h port->cad->irq_func(port->cad->private); port 523 include/linux/parport.h read_unlock(&port->cad_lock); port 42 include/linux/parport_pc.h struct parport *port; port 41 include/linux/pcieport_if.h struct pci_dev *port; /* Root/Upstream/Downstream Port */ port 101 include/linux/phonet.h return (addr << 8) | (port & 0x3ff); port 133 include/linux/phonet.h spn->spn_dev |= (port >> 8) & 0x03; port 134 include/linux/phonet.h spn->spn_obj = port & 0xff; port 62 include/linux/rio_drv.h return __rio_local_read_config_32(port, offset, data); port 77 include/linux/rio_drv.h return __rio_local_write_config_32(port, offset, data); port 92 include/linux/rio_drv.h return __rio_local_read_config_16(port, offset, data); port 108 include/linux/rio_drv.h return __rio_local_write_config_16(port, offset, data); port 123 include/linux/rio_drv.h return __rio_local_read_config_8(port, offset, data); port 138 include/linux/rio_drv.h return __rio_local_write_config_8(port, offset, data); port 109 include/linux/sc26198.h #define SC26198_PORTREG(port,reg) ((((port) & 0x07) << 4) | (reg)) port 185 include/linux/scc.h #define Inb(port) inb_p(port) port 186 include/linux/scc.h #define Outb(port, val) outb_p(val, port) port 188 include/linux/scc.h #define Inb(port) inb(port) port 189 include/linux/scc.h #define Outb(port, val) outb(val, port) port 37 include/linux/serial.h unsigned int port; port 31 include/linux/serialP.h unsigned long port; port 53 include/linux/serialP.h unsigned long port; port 95 include/linux/serialP.h #define CONFIGURED_SERIAL_PORT(info) ((info)->port || ((info)->iomem_base)) port 328 include/linux/serial_core.h struct uart_port *port; port 344 include/linux/serial_core.h struct tty_port port; port 438 include/linux/serial_core.h ((portp)->info->port.tty->stopped || (portp)->info->port.tty->hw_stopped) port 447 include/linux/serial_core.h if (port->sysrq) { port 448 include/linux/serial_core.h if (ch && time_before(jiffies, port->sysrq)) { port 449 include/linux/serial_core.h handle_sysrq(ch, port->info ? port->info->port.tty : NULL); port 450 include/linux/serial_core.h port->sysrq = 0; port 453 include/linux/serial_core.h port->sysrq = 0; port 459 include/linux/serial_core.h #define uart_handle_sysrq_char(port,ch) uart_handle_sysrq_char(port, 0) port 467 include/linux/serial_core.h struct uart_info *info = port->info; port 469 include/linux/serial_core.h if (port->cons && port->cons->index == port->line) { port 470 include/linux/serial_core.h if (!port->sysrq) { port 471 include/linux/serial_core.h port->sysrq = jiffies + HZ*5; port 474 include/linux/serial_core.h port->sysrq = 0; port 477 include/linux/serial_core.h if (port->flags & UPF_SAK) port 478 include/linux/serial_core.h do_SAK(info->port.tty); port 490 include/linux/serial_core.h struct uart_info *info = port->info; port 492 include/linux/serial_core.h port->icount.dcd++; port 495 include/linux/serial_core.h if ((port->flags & UPF_HARDPPS_CD) && status) port 501 include/linux/serial_core.h wake_up_interruptible(&info->port.open_wait); port 502 include/linux/serial_core.h else if (info->port.tty) port 503 include/linux/serial_core.h tty_hangup(info->port.tty); port 515 include/linux/serial_core.h struct uart_info *info = port->info; port 516 include/linux/serial_core.h struct tty_struct *tty = info->port.tty; port 518 include/linux/serial_core.h port->icount.cts++; port 524 include/linux/serial_core.h port->ops->start_tx(port); port 525 include/linux/serial_core.h uart_write_wakeup(port); port 530 include/linux/serial_core.h port->ops->stop_tx(port); port 542 include/linux/serial_core.h struct tty_struct *tty = port->info->port.tty; port 544 include/linux/serial_core.h if ((status & port->ignore_status_mask & ~overrun) == 0) port 551 include/linux/serial_core.h if (status & ~port->ignore_status_mask & overrun) port 558 include/linux/serial_core.h #define UART_ENABLE_MS(port,cflag) ((port)->flags & UPF_HARDPPS_CD || \ port 28 include/linux/serial_pnx8xxx.h struct uart_port port; port 72 include/linux/stallion.h struct tty_port port; port 110 include/linux/sunrpc/xprt.h void (*set_port)(struct rpc_xprt *xprt, unsigned short port); port 157 include/linux/tipc.h struct tipc_portid port; /* associated port */ port 275 include/linux/tty.h struct tty_port *port; port 66 include/linux/usb/serial.h struct tty_port port; port 103 include/linux/usb/serial.h return dev_get_drvdata(&port->dev); port 109 include/linux/usb/serial.h dev_set_drvdata(&port->dev, data); port 141 include/linux/usb/serial.h struct usb_serial_port *port[MAX_NUM_PORTS]; port 213 include/linux/usb/serial.h int (*port_probe)(struct usb_serial_port *port); port 214 include/linux/usb/serial.h int (*port_remove)(struct usb_serial_port *port); port 222 include/linux/usb/serial.h struct usb_serial_port *port, struct file *filp); port 224 include/linux/usb/serial.h struct usb_serial_port *port, struct file *filp); port 225 include/linux/usb/serial.h int (*write)(struct tty_struct *tty, struct usb_serial_port *port, port 232 include/linux/usb/serial.h struct usb_serial_port *port, struct ktermios *old); port 124 include/linux/usbdevice_fs.h char port [127]; /* e.g. port 3 connects to device 27 */ port 409 include/linux/wanrouter.h unsigned char port; /* board port */ port 36 include/media/cx2341x.h enum cx2341x_port port; port 81 include/net/inet_hashtables.h unsigned short port; port 402 include/net/ip_vs.h u16 port; port 416 include/net/ip_vs.h u16 port; port 441 include/net/ip_vs.h __be16 port; /* port number for the service */ port 469 include/net/ip_vs.h __be16 port; /* port number of the server */ port 538 include/net/ip_vs.h __be16 port; /* port number in net order */ port 100 include/net/ipx.h __be16 port; port 34 include/net/netfilter/nf_conntrack_tuple.h __be16 port; port 37 include/net/netfilter/nf_conntrack_tuple.h __be16 port; port 43 include/net/netfilter/nf_conntrack_tuple.h __be16 port; port 46 include/net/netfilter/nf_conntrack_tuple.h __be16 port; port 75 include/net/netfilter/nf_conntrack_tuple.h __be16 port; port 78 include/net/netfilter/nf_conntrack_tuple.h __be16 port; port 84 include/net/netfilter/nf_conntrack_tuple.h __be16 port; port 87 include/net/netfilter/nf_conntrack_tuple.h __be16 port; port 101 include/net/sctp/structs.h unsigned short port; port 560 include/net/sctp/structs.h __be16 port); port 576 include/net/sctp/structs.h __be16 port, int iif); port 1188 include/net/sctp/structs.h __u16 port; port 1479 include/net/sctp/structs.h __u16 port; port 791 include/net/xfrm.h __be16 port; port 797 include/net/xfrm.h port = fl->fl_ip_sport; port 801 include/net/xfrm.h port = htons(fl->fl_icmp_type); port 804 include/net/xfrm.h port = htons(fl->fl_mh_type); port 807 include/net/xfrm.h port = 0; /*XXX*/ port 809 include/net/xfrm.h return port; port 815 include/net/xfrm.h __be16 port; port 821 include/net/xfrm.h port = fl->fl_ip_dport; port 825 include/net/xfrm.h port = htons(fl->fl_icmp_code); port 828 include/net/xfrm.h port = 0; /*XXX*/ port 830 include/net/xfrm.h return port; port 112 include/rdma/ib_cm.h u8 port; port 222 include/rdma/ib_cm.h u8 port; port 247 include/rdma/ib_user_cm.h __u8 port; port 287 include/rdma/ib_user_cm.h __u8 port; port 135 include/scsi/libsas.h struct sas_port *port; port 187 include/scsi/libsas.h struct asd_sas_port *port; /* shortcut to root of the tree */ port 211 include/scsi/libsas.h struct asd_sas_port *port; port 257 include/scsi/libsas.h struct sas_port *port; port 308 include/scsi/libsas.h struct asd_sas_port *port; /* Class:RW, driver: RO */ port 27 include/sound/ad1816a.h #define AD1816A_REG(r) (chip->port + r) port 127 include/sound/ad1816a.h unsigned long port; port 162 include/sound/asequencer.h unsigned char port; /**< Port within client: 0..255, 255 = broadcast to all ports */ port 1640 include/sound/emu10k1.h int port; port 1693 include/sound/emu10k1.h unsigned long port; /* I/O port number */ port 1848 include/sound/emu10k1.h static inline unsigned int snd_emu10k1_wc(struct snd_emu10k1 *emu) { return (inl(emu->port + WC) >> 6) & 0xfffff; } port 50 include/sound/emux_synth.h struct snd_emux_port *port); port 186 include/sound/emux_synth.h struct snd_emux_port *port; /* associated port */ port 34 include/sound/es1688.h unsigned long port; /* port of ESS chip */ port 58 include/sound/es1688.h #define ES1688P(codec, x) ((codec)->port + e_s_s_ESS1688##x) port 34 include/sound/gus.h #define GUSP(gus, x) ((gus)->gf1.port + SNDRV_g_u_s_##x) port 226 include/sound/gus.h int port; /* sequencer port number */ port 257 include/sound/gus.h unsigned char port; port 302 include/sound/gus.h unsigned long port; /* port of GF1 chip */ port 73 include/sound/mpu401.h unsigned long port; /* base port of MPU-401 chip */ port 104 include/sound/mpu401.h #define MPU401D(mpu) (mpu)->port port 65 include/sound/sb.h unsigned long port; /* base port of DSP chip */ port 119 include/sound/sb.h #define SBP(chip, x) ((chip)->port + s_b_SB_##x) port 120 include/sound/sb.h #define SBP1(port, x) ((port) + s_b_SB_##x) port 36 include/sound/seq_midi_emul.h int port; /* The port associated with this channel */ port 70 include/sound/seq_midi_emul.h int port; /* The port number */ port 38 include/sound/seq_virmidi.h int port; port 60 include/sound/seq_virmidi.h int port; /* created/attached port */ port 199 include/sound/sfnt_info.h int port; /* -1 = all */ port 51 include/sound/trident.h #define TRID_REG(trident, x) ((trident)->port + (x)) port 258 include/sound/trident.h int port; /* sequencer port number */ port 283 include/sound/trident.h unsigned char port; port 362 include/sound/trident.h unsigned long port; port 80 include/sound/wss.h unsigned long port; /* base i/o port */ port 35 include/sound/ymfpci.h #define YMFREG(chip, reg) (chip->port + YDSXGR_##reg) port 226 include/video/vga.h return inb_p(port); port 231 include/video/vga.h outb_p(val, port); port 237 include/video/vga.h outw(VGA_OUT16VAL (val, reg), port); port 242 include/video/vga.h return readb (regbase + port); port 247 include/video/vga.h writeb (val, regbase + port); port 253 include/video/vga.h writew (VGA_OUT16VAL (val, reg), regbase + port); port 259 include/video/vga.h return vga_mm_r (regbase, port); port 261 include/video/vga.h return vga_io_r (port); port 267 include/video/vga.h vga_mm_w (regbase, port, val); port 269 include/video/vga.h vga_io_w (port, val); port 277 include/video/vga.h vga_mm_w_fast (regbase, port, reg, val); port 279 include/video/vga.h vga_io_w_fast (port, reg, val); port 39 include/xen/events.h struct evtchn_send send = { .port = port }; port 28 include/xen/interface/event_channel.h evtchn_port_t port; port 63 include/xen/interface/event_channel.h evtchn_port_t port; port 79 include/xen/interface/event_channel.h evtchn_port_t port; port 92 include/xen/interface/event_channel.h evtchn_port_t port; port 103 include/xen/interface/event_channel.h evtchn_port_t port; port 113 include/xen/interface/event_channel.h evtchn_port_t port; port 128 include/xen/interface/event_channel.h evtchn_port_t port; port 144 include/xen/interface/event_channel.h evtchn_port_t port; port 164 include/xen/interface/event_channel.h evtchn_port_t port; port 175 include/xen/interface/event_channel.h evtchn_port_t port; port 120 lib/devres.c addr = ioport_map(port, nr); port 43 lib/iomap.c WARN(1, KERN_ERR "Bad IO access at port %#lx (%s)\n", port, access); port 51 lib/iomap.c unsigned long port = (unsigned long __force)addr; \ port 52 lib/iomap.c if (port >= PIO_RESERVED) { \ port 54 lib/iomap.c } else if (port > PIO_OFFSET) { \ port 55 lib/iomap.c port &= PIO_MASK; \ port 58 lib/iomap.c bad_io_access(port, #is_pio ); \ port 62 lib/iomap.c #define pio_read16be(port) swab16(inw(port)) port 63 lib/iomap.c #define pio_read32be(port) swab32(inl(port)) port 73 lib/iomap.c IO_COND(addr, return inb(port), return readb(addr)); port 78 lib/iomap.c IO_COND(addr, return inw(port), return readw(addr)); port 83 lib/iomap.c IO_COND(addr, return pio_read16be(port), return mmio_read16be(addr)); port 88 lib/iomap.c IO_COND(addr, return inl(port), return readl(addr)); port 93 lib/iomap.c IO_COND(addr, return pio_read32be(port), return mmio_read32be(addr)); port 103 lib/iomap.c #define pio_write16be(val,port) outw(swab16(val),port) port 104 lib/iomap.c #define pio_write32be(val,port) outl(swab32(val),port) port 108 lib/iomap.c #define mmio_write16be(val,port) __raw_writew(be16_to_cpu(val),port) port 109 lib/iomap.c #define mmio_write32be(val,port) __raw_writel(be32_to_cpu(val),port) port 114 lib/iomap.c IO_COND(addr, outb(val,port), writeb(val, addr)); port 118 lib/iomap.c IO_COND(addr, outw(val,port), writew(val, addr)); port 122 lib/iomap.c IO_COND(addr, pio_write16be(val,port), mmio_write16be(val, addr)); port 126 lib/iomap.c IO_COND(addr, outl(val,port), writel(val, addr)); port 130 lib/iomap.c IO_COND(addr, pio_write32be(val,port), mmio_write32be(val, addr)); port 197 lib/iomap.c IO_COND(addr, insb(port,dst,count), mmio_insb(addr, dst, count)); port 201 lib/iomap.c IO_COND(addr, insw(port,dst,count), mmio_insw(addr, dst, count)); port 205 lib/iomap.c IO_COND(addr, insl(port,dst,count), mmio_insl(addr, dst, count)); port 213 lib/iomap.c IO_COND(addr, outsb(port, src, count), mmio_outsb(addr, src, count)); port 217 lib/iomap.c IO_COND(addr, outsw(port, src, count), mmio_outsw(addr, src, count)); port 221 lib/iomap.c IO_COND(addr, outsl(port, src,count), mmio_outsl(addr, src, count)); port 230 lib/iomap.c if (port > PIO_MASK) port 232 lib/iomap.c return (void __iomem *) (unsigned long) (port + PIO_OFFSET); port 348 net/802/garp.c struct garp_port *port = dev->garp_port; port 349 net/802/garp.c struct garp_applicant *app = port->applicants[appl->type]; port 368 net/802/garp.c struct garp_port *port = dev->garp_port; port 369 net/802/garp.c struct garp_applicant *app = port->applicants[appl->type]; port 505 net/802/garp.c struct garp_port *port; port 509 net/802/garp.c port = rcu_dereference(dev->garp_port); port 510 net/802/garp.c if (!port) port 512 net/802/garp.c app = rcu_dereference(port->applicants[appl->type]); port 537 net/802/garp.c struct garp_port *port; port 539 net/802/garp.c port = kzalloc(sizeof(*port), GFP_KERNEL); port 540 net/802/garp.c if (!port) port 542 net/802/garp.c rcu_assign_pointer(dev->garp_port, port); port 548 net/802/garp.c struct garp_port *port = dev->garp_port; port 552 net/802/garp.c if (port->applicants[i]) port 557 net/802/garp.c kfree(port); port 603 net/802/garp.c struct garp_port *port = dev->garp_port; port 604 net/802/garp.c struct garp_applicant *app = port->applicants[appl->type]; port 608 net/802/garp.c rcu_assign_pointer(port->applicants[appl->type], NULL); port 61 net/9p/trans_fd.c u16 port; port 1174 net/9p/trans_fd.c opts->port = P9_PORT; port 1203 net/9p/trans_fd.c opts->port = option; port 1433 net/9p/trans_fd.c sin_server.sin_port = htons(opts.port); port 124 net/bridge/br_netfilter.c struct net_bridge_port *port = rcu_dereference(dev->br_port); port 126 net/bridge/br_netfilter.c return port ? &port->br->fake_rtable : NULL; port 131 net/bridge/br_netfilter.c struct net_bridge_port *port = rcu_dereference(dev->br_port); port 133 net/bridge/br_netfilter.c return port ? port->br->dev : NULL; port 38 net/bridge/br_netlink.c const struct net_bridge *br = port->br; port 39 net/bridge/br_netlink.c const struct net_device *dev = port->dev; port 71 net/bridge/br_netlink.c NLA_PUT_U8(skb, IFLA_PROTINFO, port->state); port 85 net/bridge/br_netlink.c struct net *net = dev_net(port->dev); port 94 net/bridge/br_netlink.c err = br_fill_ifinfo(skb, port, 0, 0, event, 0); port 33 net/bridge/netfilter/ebt_stp.c uint8_t port[2]; port 90 net/bridge/netfilter/ebt_stp.c v16 = NR16(stpc->port); port 2064 net/core/dev.c struct net_bridge_port *port; port 2067 net/core/dev.c (port = rcu_dereference(skb->dev->br_port)) == NULL) port 2075 net/core/dev.c return br_handle_frame_hook(port, skb); port 3545 net/core/dev.c ifr->ifr_map.port = dev->if_port; port 654 net/core/rtnetlink.c .port = dev->if_port, port 802 net/core/rtnetlink.c k_map.port = (unsigned char) u_map->port; port 39 net/dccp/probe.c static int port; port 86 net/dccp/probe.c if (port == 0 || ntohs(inet->dport) == port || port 87 net/dccp/probe.c ntohs(inet->sport) == port) { port 174 net/dccp/probe.c pr_info("DCCP watch registered (port=%d)\n", port); port 181 net/decnet/af_decnet.c if (port == 0) port 184 net/decnet/af_decnet.c sk_for_each(sk, node, &dn_sk_hash[dn_ntohs(port) & DN_SK_HASH_MASK]) { port 186 net/decnet/af_decnet.c if (scp->addrloc == port) port 195 net/decnet/af_decnet.c static unsigned short port = 0x2000; port 196 net/decnet/af_decnet.c unsigned short i_port = port; port 198 net/decnet/af_decnet.c while(check_port(dn_htons(++port)) != 0) { port 199 net/decnet/af_decnet.c if (port == i_port) port 203 net/decnet/af_decnet.c scp->addrloc = dn_htons(port); port 57 net/dsa/dsa_priv.h int port; port 77 net/dsa/dsa_priv.h int (*phy_read)(struct dsa_switch *ds, int port, int regnum); port 78 net/dsa/dsa_priv.h int (*phy_write)(struct dsa_switch *ds, int port, port 89 net/dsa/dsa_priv.h void (*get_strings)(struct dsa_switch *ds, int port, uint8_t *data); port 91 net/dsa/dsa_priv.h int port, uint64_t *data); port 191 net/dsa/mv88e6060.c if (port >= 0 && port <= 5) port 192 net/dsa/mv88e6060.c return port; port 200 net/dsa/mv88e6060.c addr = mv88e6060_port_to_phy_addr(port); port 212 net/dsa/mv88e6060.c addr = mv88e6060_port_to_phy_addr(port); port 323 net/dsa/mv88e6123_61_65.c if (port >= 0 && port <= 4) port 324 net/dsa/mv88e6123_61_65.c return port; port 331 net/dsa/mv88e6123_61_65.c int addr = mv88e6123_61_65_port_to_phy_addr(port); port 339 net/dsa/mv88e6123_61_65.c int addr = mv88e6123_61_65_port_to_phy_addr(port); port 380 net/dsa/mv88e6123_61_65.c mv88e6123_61_65_hw_stats, port, data); port 388 net/dsa/mv88e6123_61_65.c mv88e6123_61_65_hw_stats, port, data); port 282 net/dsa/mv88e6131.c if (port >= 0 && port != 3 && port <= 7) port 283 net/dsa/mv88e6131.c return port; port 290 net/dsa/mv88e6131.c int addr = mv88e6131_port_to_phy_addr(port); port 298 net/dsa/mv88e6131.c int addr = mv88e6131_port_to_phy_addr(port); port 339 net/dsa/mv88e6131.c mv88e6131_hw_stats, port, data); port 347 net/dsa/mv88e6131.c mv88e6131_hw_stats, port, data); port 436 net/dsa/mv88e6xxx.c REG_WRITE(REG_GLOBAL, 0x1d, 0xdc00 | port); port 498 net/dsa/mv88e6xxx.c ret = mv88e6xxx_stats_snapshot(ds, port); port 172 net/dsa/slave.c ds->drv->get_strings(ds, p->port, data + 4 * len); port 188 net/dsa/slave.c ds->drv->get_ethtool_stats(ds, p->port, data + 4); port 273 net/dsa/slave.c p->port = port; port 274 net/dsa/slave.c p->phy = ds->slave_mii_bus->phy_map[port]; port 40 net/dsa/tag_dsa.c dsa_header[1] = p->port << 3; port 61 net/dsa/tag_dsa.c dsa_header[1] = p->port << 3; port 49 net/dsa/tag_edsa.c edsa_header[5] = p->port << 3; port 74 net/dsa/tag_edsa.c edsa_header[5] = p->port << 3; port 56 net/dsa/tag_trailer.c trailer[1] = 1 << p->port; port 68 net/econet/af_econet.c unsigned char port; port 207 net/econet/af_econet.c eo->port = sec->port; port 271 net/econet/af_econet.c unsigned char port, cb; port 304 net/econet/af_econet.c port = eo->port; port 313 net/econet/af_econet.c port = saddr->port; port 368 net/econet/af_econet.c fh->port = port; port 441 net/econet/af_econet.c ah.port = port; port 529 net/econet/af_econet.c sec->port = eo->port; port 786 net/econet/af_econet.c if ((opt->port == port || opt->port == 0) && port 810 net/econet/af_econet.c sec->port = port; port 861 net/econet/af_econet.c if ((sk = ec_listening_socket(ah->port, stn, edev->net)) == NULL) port 876 net/econet/af_econet.c if (ec_queue_packet(sk, newskb, stn, edev->net, ah->cb, ah->port)) port 1083 net/econet/af_econet.c if (hdr->port == EC_PORT_IP) { port 1090 net/econet/af_econet.c sk = ec_listening_socket(hdr->port, hdr->src_stn, hdr->src_net); port 1095 net/econet/af_econet.c hdr->port)) port 112 net/ipv4/inet_connection_sock.c if (tb->ib_net == net && tb->port == rover) port 140 net/ipv4/inet_connection_sock.c if (tb->ib_net == net && tb->port == snum) port 392 net/ipv4/inet_diag.c if (cond->port != -1 && port 393 net/ipv4/inet_diag.c cond->port != (op->code == INET_DIAG_BC_S_COND ? port 39 net/ipv4/inet_hashtables.c tb->port = snum; port 431 net/ipv4/inet_hashtables.c int i, remaining, low, high, port; port 442 net/ipv4/inet_hashtables.c port = low + (i + offset) % remaining; port 443 net/ipv4/inet_hashtables.c head = &hinfo->bhash[inet_bhashfn(net, port, port 452 net/ipv4/inet_hashtables.c if (tb->ib_net == net && tb->port == port) { port 457 net/ipv4/inet_hashtables.c port, &tw)) port 464 net/ipv4/inet_hashtables.c net, head, port); port 483 net/ipv4/inet_hashtables.c inet_bind_hash(sk, tb, port); port 485 net/ipv4/inet_hashtables.c inet_sk(sk)->sport = htons(port); port 278 net/ipv4/ip_sockglue.c serr->port = port; port 316 net/ipv4/ip_sockglue.c serr->port = port; port 363 net/ipv4/ip_sockglue.c sin->sin_port = serr->port; port 284 net/ipv4/ipconfig.c sin->sin_port = port; port 257 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c tuple.src.u.tcp.port = inet->sport; port 259 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c tuple.dst.u.tcp.port = inet->dport; port 282 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c .tuple.dst.u.tcp.port; port 296 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c NIPQUAD(tuple.src.u3.ip), ntohs(tuple.src.u.tcp.port), port 297 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c NIPQUAD(tuple.dst.u3.ip), ntohs(tuple.dst.u.tcp.port)); port 34 net/ipv4/netfilter/nf_nat_amanda.c u_int16_t port; port 38 net/ipv4/netfilter/nf_nat_amanda.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; port 46 net/ipv4/netfilter/nf_nat_amanda.c for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) { port 47 net/ipv4/netfilter/nf_nat_amanda.c exp->tuple.dst.u.tcp.port = htons(port); port 52 net/ipv4/netfilter/nf_nat_amanda.c if (port == 0) port 55 net/ipv4/netfilter/nf_nat_amanda.c sprintf(buffer, "%u", port); port 42 net/ipv4/netfilter/nf_nat_ftp.c NIPQUAD(newip), port>>8, port&0xFF); port 62 net/ipv4/netfilter/nf_nat_ftp.c sprintf(buffer, "|1|%u.%u.%u.%u|%u|", NIPQUAD(newip), port); port 82 net/ipv4/netfilter/nf_nat_ftp.c sprintf(buffer, "|||%u|", port); port 110 net/ipv4/netfilter/nf_nat_ftp.c u_int16_t port; port 118 net/ipv4/netfilter/nf_nat_ftp.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; port 126 net/ipv4/netfilter/nf_nat_ftp.c for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) { port 127 net/ipv4/netfilter/nf_nat_ftp.c exp->tuple.dst.u.tcp.port = htons(port); port 132 net/ipv4/netfilter/nf_nat_ftp.c if (port == 0) port 135 net/ipv4/netfilter/nf_nat_ftp.c if (!mangle[type](skb, newip, port, matchoff, matchlen, ct, ctinfo)) { port 33 net/ipv4/netfilter/nf_nat_h323.c __be16 port; port 39 net/ipv4/netfilter/nf_nat_h323.c buf.port = port; port 83 net/ipv4/netfilter/nf_nat_h323.c addr->ip, port); port 94 net/ipv4/netfilter/nf_nat_h323.c addr->ip, port); port 106 net/ipv4/netfilter/nf_nat_h323.c __be16 port; port 110 net/ipv4/netfilter/nf_nat_h323.c if (get_h225_addr(ct, *data, &taddr[i], &addr, &port)) { port 112 net/ipv4/netfilter/nf_nat_h323.c port == info->sig_port[dir]) { port 118 net/ipv4/netfilter/nf_nat_h323.c &addr, &port) && port 124 net/ipv4/netfilter/nf_nat_h323.c NIPQUAD(addr.ip), port, port 132 net/ipv4/netfilter/nf_nat_h323.c port == info->sig_port[dir]) { port 136 net/ipv4/netfilter/nf_nat_h323.c NIPQUAD(addr.ip), port, port 158 net/ipv4/netfilter/nf_nat_h323.c __be16 port; port 162 net/ipv4/netfilter/nf_nat_h323.c if (get_h225_addr(ct, *data, &taddr[i], &addr, &port) && port 164 net/ipv4/netfilter/nf_nat_h323.c port == ct->tuplehash[dir].tuple.src.u.udp.port) { port 167 net/ipv4/netfilter/nf_nat_h323.c NIPQUAD(addr.ip), ntohs(port), port 169 net/ipv4/netfilter/nf_nat_h323.c ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port)); port 173 net/ipv4/netfilter/nf_nat_h323.c dst.u.udp.port); port 195 net/ipv4/netfilter/nf_nat_h323.c rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; port 198 net/ipv4/netfilter/nf_nat_h323.c rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; port 209 net/ipv4/netfilter/nf_nat_h323.c rtp_exp->tuple.dst.u.udp.port = info->rtp_port[i][dir]; port 210 net/ipv4/netfilter/nf_nat_h323.c rtcp_exp->tuple.dst.u.udp.port = port 227 net/ipv4/netfilter/nf_nat_h323.c for (nated_port = ntohs(rtp_exp->tuple.dst.u.udp.port); port 229 net/ipv4/netfilter/nf_nat_h323.c rtp_exp->tuple.dst.u.udp.port = htons(nated_port); port 231 net/ipv4/netfilter/nf_nat_h323.c rtcp_exp->tuple.dst.u.udp.port = port 248 net/ipv4/netfilter/nf_nat_h323.c htons((port & htons(1)) ? nated_port + 1 : port 262 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtp_exp->tuple.src.u.udp.port), port 264 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtp_exp->tuple.dst.u.udp.port)); port 267 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtcp_exp->tuple.src.u.udp.port), port 269 net/ipv4/netfilter/nf_nat_h323.c ntohs(rtcp_exp->tuple.dst.u.udp.port)); port 282 net/ipv4/netfilter/nf_nat_h323.c u_int16_t nated_port = ntohs(port); port 285 net/ipv4/netfilter/nf_nat_h323.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; port 291 net/ipv4/netfilter/nf_nat_h323.c exp->tuple.dst.u.tcp.port = htons(nated_port); port 312 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.src.u.tcp.port), port 314 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.dst.u.tcp.port)); port 328 net/ipv4/netfilter/nf_nat_h323.c u_int16_t nated_port = ntohs(port); port 331 net/ipv4/netfilter/nf_nat_h323.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; port 336 net/ipv4/netfilter/nf_nat_h323.c if (info->sig_port[dir] == port) port 341 net/ipv4/netfilter/nf_nat_h323.c exp->tuple.dst.u.tcp.port = htons(nated_port); port 357 net/ipv4/netfilter/nf_nat_h323.c info->sig_port[dir] = port; port 366 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.src.u.tcp.port), port 368 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.dst.u.tcp.port)); port 411 net/ipv4/netfilter/nf_nat_h323.c u_int16_t nated_port = ntohs(port); port 415 net/ipv4/netfilter/nf_nat_h323.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; port 420 net/ipv4/netfilter/nf_nat_h323.c if (info->sig_port[dir] == port) port 425 net/ipv4/netfilter/nf_nat_h323.c exp->tuple.dst.u.tcp.port = htons(nated_port); port 441 net/ipv4/netfilter/nf_nat_h323.c info->sig_port[dir] = port; port 446 net/ipv4/netfilter/nf_nat_h323.c get_h225_addr(ct, *data, &taddr[0], &addr, &port) && port 460 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.src.u.tcp.port), port 462 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.dst.u.tcp.port)); port 501 net/ipv4/netfilter/nf_nat_h323.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; port 506 net/ipv4/netfilter/nf_nat_h323.c for (nated_port = ntohs(port); nated_port != 0; nated_port++) { port 507 net/ipv4/netfilter/nf_nat_h323.c exp->tuple.dst.u.tcp.port = htons(nated_port); port 530 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.src.u.tcp.port), port 532 net/ipv4/netfilter/nf_nat_h323.c ntohs(exp->tuple.dst.u.tcp.port)); port 38 net/ipv4/netfilter/nf_nat_irc.c u_int16_t port; port 42 net/ipv4/netfilter/nf_nat_irc.c exp->saved_proto.tcp.port = exp->tuple.dst.u.tcp.port; port 47 net/ipv4/netfilter/nf_nat_irc.c for (port = ntohs(exp->saved_proto.tcp.port); port != 0; port++) { port 48 net/ipv4/netfilter/nf_nat_irc.c exp->tuple.dst.u.tcp.port = htons(port); port 53 net/ipv4/netfilter/nf_nat_irc.c if (port == 0) port 57 net/ipv4/netfilter/nf_nat_irc.c sprintf(buffer, "%u %u", ip, port); port 59 net/ipv4/netfilter/nf_nat_irc.c buffer, NIPQUAD(ip), port); port 143 net/ipv4/netfilter/nf_nat_pptp.c new_callid = ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u.tcp.port; port 25 net/ipv4/netfilter/nf_nat_proto_common.c __be16 port; port 28 net/ipv4/netfilter/nf_nat_proto_common.c port = tuple->src.u.all; port 30 net/ipv4/netfilter/nf_nat_proto_common.c port = tuple->dst.u.all; port 32 net/ipv4/netfilter/nf_nat_proto_common.c return ntohs(port) >= ntohs(min->all) && port 33 net/ipv4/netfilter/nf_nat_proto_common.c ntohs(port) <= ntohs(max->all); port 114 net/ipv4/netfilter/nf_nat_proto_common.c range->max.all = range->min.tcp.port; port 60 net/ipv4/netfilter/nf_nat_proto_dccp.c newport = tuple->src.u.dccp.port; port 65 net/ipv4/netfilter/nf_nat_proto_dccp.c newport = tuple->dst.u.dccp.port; port 51 net/ipv4/netfilter/nf_nat_proto_sctp.c hdr->source = tuple->src.u.sctp.port; port 56 net/ipv4/netfilter/nf_nat_proto_sctp.c hdr->dest = tuple->dst.u.sctp.port; port 62 net/ipv4/netfilter/nf_nat_proto_tcp.c newport = tuple->src.u.tcp.port; port 68 net/ipv4/netfilter/nf_nat_proto_tcp.c newport = tuple->dst.u.tcp.port; port 54 net/ipv4/netfilter/nf_nat_proto_udp.c newport = tuple->src.u.udp.port; port 60 net/ipv4/netfilter/nf_nat_proto_udp.c newport = tuple->dst.u.udp.port; port 53 net/ipv4/netfilter/nf_nat_proto_udplite.c newport = tuple->src.u.udp.port; port 59 net/ipv4/netfilter/nf_nat_proto_udplite.c newport = tuple->dst.u.udp.port; port 64 net/ipv4/netfilter/nf_nat_sip.c ct->tuplehash[dir].tuple.src.u.udp.port == port) { port 66 net/ipv4/netfilter/nf_nat_sip.c newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; port 68 net/ipv4/netfilter/nf_nat_sip.c ct->tuplehash[dir].tuple.dst.u.udp.port == port) { port 70 net/ipv4/netfilter/nf_nat_sip.c newport = ct->tuplehash[!dir].tuple.src.u.udp.port; port 74 net/ipv4/netfilter/nf_nat_sip.c if (newaddr == addr->ip && newport == port) port 92 net/ipv4/netfilter/nf_nat_sip.c __be16 port; port 95 net/ipv4/netfilter/nf_nat_sip.c &matchoff, &matchlen, &addr, &port) <= 0) port 97 net/ipv4/netfilter/nf_nat_sip.c return map_addr(skb, dptr, datalen, matchoff, matchlen, &addr, port); port 108 net/ipv4/netfilter/nf_nat_sip.c __be16 port; port 115 net/ipv4/netfilter/nf_nat_sip.c &addr, &port) > 0 && port 117 net/ipv4/netfilter/nf_nat_sip.c &addr, port)) port 126 net/ipv4/netfilter/nf_nat_sip.c &addr, &port) > 0) { port 134 net/ipv4/netfilter/nf_nat_sip.c port != ct->tuplehash[dir].tuple.src.u.udp.port) port 138 net/ipv4/netfilter/nf_nat_sip.c port != ct->tuplehash[dir].tuple.dst.u.udp.port) port 143 net/ipv4/netfilter/nf_nat_sip.c &addr, port)) port 181 net/ipv4/netfilter/nf_nat_sip.c htons(n) == ct->tuplehash[dir].tuple.dst.u.udp.port && port 182 net/ipv4/netfilter/nf_nat_sip.c htons(n) != ct->tuplehash[!dir].tuple.src.u.udp.port) { port 183 net/ipv4/netfilter/nf_nat_sip.c __be16 p = ct->tuplehash[!dir].tuple.src.u.udp.port; port 198 net/ipv4/netfilter/nf_nat_sip.c &addr, &port) > 0) { port 200 net/ipv4/netfilter/nf_nat_sip.c &addr, port)) port 246 net/ipv4/netfilter/nf_nat_sip.c u_int16_t port; port 259 net/ipv4/netfilter/nf_nat_sip.c if (exp->tuple.dst.u.udp.port == port 260 net/ipv4/netfilter/nf_nat_sip.c ct->tuplehash[dir].tuple.src.u.udp.port) port 261 net/ipv4/netfilter/nf_nat_sip.c port = ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port); port 263 net/ipv4/netfilter/nf_nat_sip.c port = ntohs(exp->tuple.dst.u.udp.port); port 267 net/ipv4/netfilter/nf_nat_sip.c exp->saved_proto.udp.port = exp->tuple.dst.u.udp.port; port 271 net/ipv4/netfilter/nf_nat_sip.c for (; port != 0; port++) { port 272 net/ipv4/netfilter/nf_nat_sip.c exp->tuple.dst.u.udp.port = htons(port); port 277 net/ipv4/netfilter/nf_nat_sip.c if (port == 0) port 281 net/ipv4/netfilter/nf_nat_sip.c exp->tuple.dst.u.udp.port != exp->saved_proto.udp.port) { port 283 net/ipv4/netfilter/nf_nat_sip.c NIPQUAD(newip), port); port 366 net/ipv4/netfilter/nf_nat_sip.c buflen = sprintf(buffer, "%u", port); port 423 net/ipv4/netfilter/nf_nat_sip.c u_int16_t port; port 434 net/ipv4/netfilter/nf_nat_sip.c rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; port 440 net/ipv4/netfilter/nf_nat_sip.c rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; port 445 net/ipv4/netfilter/nf_nat_sip.c for (port = ntohs(rtp_exp->tuple.dst.u.udp.port); port 446 net/ipv4/netfilter/nf_nat_sip.c port != 0; port += 2) { port 447 net/ipv4/netfilter/nf_nat_sip.c rtp_exp->tuple.dst.u.udp.port = htons(port); port 450 net/ipv4/netfilter/nf_nat_sip.c rtcp_exp->tuple.dst.u.udp.port = htons(port + 1); port 456 net/ipv4/netfilter/nf_nat_sip.c if (port == 0) port 460 net/ipv4/netfilter/nf_nat_sip.c if (rtp_exp->tuple.dst.u.udp.port != rtp_exp->saved_proto.udp.port && port 461 net/ipv4/netfilter/nf_nat_sip.c !ip_nat_sdp_port(skb, dptr, datalen, mediaoff, medialen, port)) port 1295 net/ipv4/netfilter/nf_nat_snmp_basic.c .tuple.src.u.udp.port = __constant_htons(SNMP_PORT), port 1305 net/ipv4/netfilter/nf_nat_snmp_basic.c .tuple.src.u.udp.port = __constant_htons(SNMP_TRAP_PORT), port 57 net/ipv4/netfilter/nf_nat_standalone.c fl->fl_ip_dport = t->dst.u.tcp.port; port 69 net/ipv4/netfilter/nf_nat_standalone.c fl->fl_ip_sport = t->src.u.tcp.port; port 29 net/ipv4/netfilter/nf_nat_tftp.c exp->saved_proto.udp.port port 30 net/ipv4/netfilter/nf_nat_tftp.c = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port; port 38 net/ipv4/tcp_probe.c static int port __read_mostly = 0; port 97 net/ipv4/tcp_probe.c if ((port == 0 || ntohs(inet->dport) == port || ntohs(inet->sport) == port) port 238 net/ipv4/tcp_probe.c pr_info("TCP probe registered (port=%d)\n", port); port 234 net/ipv6/datagram.c serr->port = port; port 271 net/ipv6/datagram.c serr->port = fl->fl_ip_dport; port 319 net/ipv6/datagram.c sin->sin6_port = serr->port; port 234 net/ipx/af_ipx.c if (ipx_sk(s)->port == port) port 248 net/ipx/af_ipx.c s = __ipxitf_find_socket(intrfc, port); port 270 net/ipx/af_ipx.c if (ipxs->port == port && port 298 net/ipx/af_ipx.c ipxs->port = 0; port 396 net/ipx/af_ipx.c if (ipxs->port == ipx->ipx_dest.sock && port 1455 net/ipx/af_ipx.c ipxs->port = addr->sipx_port; port 1474 net/ipx/af_ipx.c ipxs->port)) { port 1538 net/ipx/af_ipx.c if (!ipxs->port) { port 1618 net/ipx/af_ipx.c sipx.sipx_port = ipxs->port; port 1713 net/ipx/af_ipx.c if (!ipxs->port) { port 1768 net/ipx/af_ipx.c if (!ipxs->port) { port 266 net/ipx/ipx_proc.c ipxs->node[4], ipxs->node[5], ntohs(ipxs->port)); port 269 net/ipx/ipx_proc.c ntohs(ipxs->port)); port 219 net/ipx/ipx_route.c rc = ntohs(ipxs->port); port 230 net/ipx/ipx_route.c ipx->ipx_source.sock = ipxs->port; port 280 net/irda/ircomm/ircomm_tty_ioctl.c info.port = 0; port 735 net/key/af_key.c sin->sin_port = port; port 745 net/key/af_key.c sin6->sin6_port = port; port 84 net/netfilter/ipvs/ip_vs_app.c inc->port = htons(port); port 103 net/netfilter/ipvs/ip_vs_app.c pp->name, inc->name, inc->port); port 129 net/netfilter/ipvs/ip_vs_app.c pp->name, inc->name, inc->port); port 173 net/netfilter/ipvs/ip_vs_app.c result = ip_vs_app_inc_new(app, proto, port); port 540 net/netfilter/ipvs/ip_vs_app.c ntohs(inc->port), port 124 net/netfilter/ipvs/ip_vs_conn.c (__force u32)port, proto, ip_vs_conn_rnd) port 127 net/netfilter/ipvs/ip_vs_conn.c return jhash_3words((__force u32)addr->ip, (__force u32)port, proto, port 222 net/netfilter/ipvs/ip_vs_core.c if (ports[1] == svc->port) { port 224 net/netfilter/ipvs/ip_vs_core.c if (svc->port != FTPPORT) port 248 net/netfilter/ipvs/ip_vs_core.c if (svc->port != FTPPORT) port 253 net/netfilter/ipvs/ip_vs_core.c &dest->addr, dest->port, port 271 net/netfilter/ipvs/ip_vs_core.c dport = dest->port; port 295 net/netfilter/ipvs/ip_vs_core.c if (svc->port) port 389 net/netfilter/ipvs/ip_vs_core.c if (!svc->fwmark && pptr[1] != svc->port) { port 390 net/netfilter/ipvs/ip_vs_core.c if (!svc->port) port 409 net/netfilter/ipvs/ip_vs_core.c &dest->addr, dest->port ? dest->port : pptr[1], port 496 net/netfilter/ipvs/ip_vs_core.c if ((svc->port == FTPPORT) && (pptr[1] != FTPPORT)) { port 312 net/netfilter/ipvs/ip_vs_ctl.c register unsigned porth = ntohs(port); port 353 net/netfilter/ipvs/ip_vs_ctl.c svc->port); port 412 net/netfilter/ipvs/ip_vs_ctl.c && (svc->port == vport) port 523 net/netfilter/ipvs/ip_vs_ctl.c register unsigned porth = ntohs(port); port 552 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_rs_hashkey(dest->af, &dest->addr, dest->port); port 597 net/netfilter/ipvs/ip_vs_ctl.c && (dest->port == dport) port 625 net/netfilter/ipvs/ip_vs_ctl.c && (dest->port == dport)) { port 686 net/netfilter/ipvs/ip_vs_ctl.c ntohs(dest->port), port 690 net/netfilter/ipvs/ip_vs_ctl.c dest->port == dport && port 695 net/netfilter/ipvs/ip_vs_ctl.c dest->vport == svc->port))) { port 708 net/netfilter/ipvs/ip_vs_ctl.c ntohs(dest->port)); port 851 net/netfilter/ipvs/ip_vs_ctl.c dest->vport = svc->port; port 854 net/netfilter/ipvs/ip_vs_ctl.c dest->port = udest->port; port 882 net/netfilter/ipvs/ip_vs_ctl.c __be16 dport = udest->port; port 995 net/netfilter/ipvs/ip_vs_ctl.c __be16 dport = udest->port; port 1073 net/netfilter/ipvs/ip_vs_ctl.c ntohs(dest->port), port 1111 net/netfilter/ipvs/ip_vs_ctl.c __be16 dport = udest->port; port 1197 net/netfilter/ipvs/ip_vs_ctl.c svc->port = u->port; port 1214 net/netfilter/ipvs/ip_vs_ctl.c if (svc->port == FTPPORT) port 1216 net/netfilter/ipvs/ip_vs_ctl.c else if (svc->port == 0) port 1383 net/netfilter/ipvs/ip_vs_ctl.c if (svc->port == FTPPORT) port 1385 net/netfilter/ipvs/ip_vs_ctl.c else if (svc->port == 0) port 1873 net/netfilter/ipvs/ip_vs_ctl.c ntohs(svc->port), port 1880 net/netfilter/ipvs/ip_vs_ctl.c ntohs(svc->port), port 1901 net/netfilter/ipvs/ip_vs_ctl.c ntohs(dest->port), port 1912 net/netfilter/ipvs/ip_vs_ctl.c ntohs(dest->port), port 2055 net/netfilter/ipvs/ip_vs_ctl.c usvc->port = usvc_compat->port; port 2070 net/netfilter/ipvs/ip_vs_ctl.c udest->port = udest_compat->port; port 2136 net/netfilter/ipvs/ip_vs_ctl.c if (!usvc.fwmark && !usvc.addr.ip && !usvc.port) { port 2146 net/netfilter/ipvs/ip_vs_ctl.c ntohs(usvc.port), usvc.sched_name); port 2154 net/netfilter/ipvs/ip_vs_ctl.c &usvc.addr, usvc.port); port 2221 net/netfilter/ipvs/ip_vs_ctl.c dst->port = src->port; port 2293 net/netfilter/ipvs/ip_vs_ctl.c get->port); port 2305 net/netfilter/ipvs/ip_vs_ctl.c entry.port = dest->port; port 2437 net/netfilter/ipvs/ip_vs_ctl.c &addr, entry->port); port 2629 net/netfilter/ipvs/ip_vs_ctl.c NLA_PUT_U16(skb, IPVS_SVC_ATTR_PORT, svc->port); port 2742 net/netfilter/ipvs/ip_vs_ctl.c usvc->port = nla_get_u16(nla_port); port 2768 net/netfilter/ipvs/ip_vs_ctl.c &usvc->addr, usvc->port); port 2799 net/netfilter/ipvs/ip_vs_ctl.c &usvc.addr, usvc.port); port 2811 net/netfilter/ipvs/ip_vs_ctl.c NLA_PUT_U16(skb, IPVS_DEST_ATTR_PORT, dest->port); port 2916 net/netfilter/ipvs/ip_vs_ctl.c udest->port = nla_get_u16(nla_port); port 3108 net/netfilter/ipvs/ip_vs_ctl.c &usvc.addr, usvc.port); port 222 net/netfilter/ipvs/ip_vs_dh.c ntohs(dest->port)); port 118 net/netfilter/ipvs/ip_vs_ftp.c *port = get_unaligned((__be16 *)(p + 4)); port 144 net/netfilter/ipvs/ip_vs_ftp.c __be16 port; port 177 net/netfilter/ipvs/ip_vs_ftp.c &from.ip, &port, port 183 net/netfilter/ipvs/ip_vs_ftp.c NIPQUAD(from.ip), ntohs(port), port 189 net/netfilter/ipvs/ip_vs_ftp.c n_cp = ip_vs_conn_out_get(AF_INET, iph->protocol, &from, port, port 194 net/netfilter/ipvs/ip_vs_ftp.c &cp->vaddr, port, port 195 net/netfilter/ipvs/ip_vs_ftp.c &from, port, port 209 net/netfilter/ipvs/ip_vs_ftp.c port = n_cp->vport; port 211 net/netfilter/ipvs/ip_vs_ftp.c (ntohs(port)>>8)&255, ntohs(port)&255); port 256 net/netfilter/ipvs/ip_vs_ftp.c __be16 port; port 311 net/netfilter/ipvs/ip_vs_ftp.c '\r', &to.ip, &port, port 316 net/netfilter/ipvs/ip_vs_ftp.c NIPQUAD(to.ip), ntohs(port)); port 326 net/netfilter/ipvs/ip_vs_ftp.c NIPQUAD(to.ip), ntohs(port), NIPQUAD(cp->vaddr.ip), 0); port 329 net/netfilter/ipvs/ip_vs_ftp.c &to, port, port 333 net/netfilter/ipvs/ip_vs_ftp.c &to, port, port 425 net/netfilter/ipvs/ip_vs_lblc.c NIPQUAD(least->addr.ip), ntohs(least->port), port 510 net/netfilter/ipvs/ip_vs_lblc.c ntohs(dest->port)); port 207 net/netfilter/ipvs/ip_vs_lblcr.c NIPQUAD(least->addr.ip), ntohs(least->port), port 253 net/netfilter/ipvs/ip_vs_lblcr.c NIPQUAD(most->addr.ip), ntohs(most->port), port 601 net/netfilter/ipvs/ip_vs_lblcr.c NIPQUAD(least->addr.ip), ntohs(least->port), port 710 net/netfilter/ipvs/ip_vs_lblcr.c ntohs(dest->port)); port 71 net/netfilter/ipvs/ip_vs_lc.c IP_VS_DBG_ADDR(svc->af, &least->addr), ntohs(least->port), port 104 net/netfilter/ipvs/ip_vs_nq.c IP_VS_DBG_ADDR(svc->af, &least->addr), ntohs(least->port), port 603 net/netfilter/ipvs/ip_vs_proto_tcp.c return (((__force u16)port >> TCP_APP_TAB_BITS) ^ (__force u16)port) port 612 net/netfilter/ipvs/ip_vs_proto_tcp.c __be16 port = inc->port; port 615 net/netfilter/ipvs/ip_vs_proto_tcp.c hash = tcp_app_hashkey(port); port 619 net/netfilter/ipvs/ip_vs_proto_tcp.c if (i->port == port) { port 659 net/netfilter/ipvs/ip_vs_proto_tcp.c if (inc->port == cp->vport) { port 671 net/netfilter/ipvs/ip_vs_proto_tcp.c inc->name, ntohs(inc->port)); port 384 net/netfilter/ipvs/ip_vs_proto_udp.c return (((__force u16)port >> UDP_APP_TAB_BITS) ^ (__force u16)port) port 393 net/netfilter/ipvs/ip_vs_proto_udp.c __be16 port = inc->port; port 396 net/netfilter/ipvs/ip_vs_proto_udp.c hash = udp_app_hashkey(port); port 401 net/netfilter/ipvs/ip_vs_proto_udp.c if (i->port == port) { port 440 net/netfilter/ipvs/ip_vs_proto_udp.c if (inc->port == cp->vport) { port 452 net/netfilter/ipvs/ip_vs_proto_udp.c inc->name, ntohs(inc->port)); port 79 net/netfilter/ipvs/ip_vs_rr.c IP_VS_DBG_ADDR(svc->af, &dest->addr), ntohs(dest->port), port 106 net/netfilter/ipvs/ip_vs_sed.c IP_VS_DBG_ADDR(svc->af, &least->addr), ntohs(least->port), port 219 net/netfilter/ipvs/ip_vs_sh.c ntohs(dest->port)); port 94 net/netfilter/ipvs/ip_vs_wlc.c IP_VS_DBG_ADDR(svc->af, &least->addr), ntohs(least->port), port 200 net/netfilter/ipvs/ip_vs_wrr.c IP_VS_DBG_ADDR(svc->af, &dest->addr), ntohs(dest->port), port 93 net/netfilter/nf_conntrack_amanda.c __be16 port; port 139 net/netfilter/nf_conntrack_amanda.c port = htons(simple_strtoul(pbuf, &tmp, 10)); port 141 net/netfilter/nf_conntrack_amanda.c if (port == 0 || len > 5) port 153 net/netfilter/nf_conntrack_amanda.c IPPROTO_TCP, NULL, &port); port 179 net/netfilter/nf_conntrack_amanda.c .tuple.src.u.udp.port = __constant_htons(10080), port 188 net/netfilter/nf_conntrack_amanda.c .tuple.src.u.udp.port = __constant_htons(10080), port 896 net/netfilter/nf_conntrack_core.c NLA_PUT_BE16(skb, CTA_PROTO_SRC_PORT, tuple->src.u.tcp.port); port 897 net/netfilter/nf_conntrack_core.c NLA_PUT_BE16(skb, CTA_PROTO_DST_PORT, tuple->dst.u.tcp.port); port 917 net/netfilter/nf_conntrack_core.c t->src.u.tcp.port = nla_get_be16(tb[CTA_PROTO_SRC_PORT]); port 918 net/netfilter/nf_conntrack_core.c t->dst.u.tcp.port = nla_get_be16(tb[CTA_PROTO_DST_PORT]); port 158 net/netfilter/nf_conntrack_ftp.c cmd->u.tcp.port = htons((array[4] << 8) | array[5]); port 174 net/netfilter/nf_conntrack_ftp.c *port = htons(tmp_port); port 233 net/netfilter/nf_conntrack_ftp.c return get_port(data, 3 + length + 1, dlen, delim, &cmd->u.tcp.port); port 249 net/netfilter/nf_conntrack_ftp.c return get_port(data, 3, dlen, delim, &cmd->u.tcp.port); port 490 net/netfilter/nf_conntrack_ftp.c IPPROTO_TCP, NULL, &cmd.u.tcp.port); port 564 net/netfilter/nf_conntrack_ftp.c ftp[i][j].tuple.src.u.tcp.port = htons(ports[i]); port 53 net/netfilter/nf_conntrack_h323_main.c union nf_inet_addr *addr, __be16 port) port 58 net/netfilter/nf_conntrack_h323_main.c union nf_inet_addr *addr, __be16 port) port 75 net/netfilter/nf_conntrack_h323_main.c __be16 port, __be16 rtp_port, port 82 net/netfilter/nf_conntrack_h323_main.c H245_TransportAddress *taddr, __be16 port, port 88 net/netfilter/nf_conntrack_h323_main.c TransportAddress *taddr, __be16 port, port 94 net/netfilter/nf_conntrack_h323_main.c TransportAddress *taddr, __be16 port, port 100 net/netfilter/nf_conntrack_h323_main.c __be16 port, struct nf_conntrack_expect *exp) port 245 net/netfilter/nf_conntrack_h323_main.c memcpy(port, p + len, sizeof(__be16)); port 258 net/netfilter/nf_conntrack_h323_main.c __be16 port; port 266 net/netfilter/nf_conntrack_h323_main.c if (!get_h245_addr(ct, *data, taddr, &addr, &port) || port 268 net/netfilter/nf_conntrack_h323_main.c port == 0) port 272 net/netfilter/nf_conntrack_h323_main.c port &= htons(~1); port 273 net/netfilter/nf_conntrack_h323_main.c rtp_port = port; port 274 net/netfilter/nf_conntrack_h323_main.c rtcp_port = htons(ntohs(port) + 1); port 301 net/netfilter/nf_conntrack_h323_main.c taddr, port, rtp_port, rtp_exp, rtcp_exp); port 332 net/netfilter/nf_conntrack_h323_main.c __be16 port; port 338 net/netfilter/nf_conntrack_h323_main.c if (!get_h245_addr(ct, *data, taddr, &addr, &port) || port 340 net/netfilter/nf_conntrack_h323_main.c port == 0) port 349 net/netfilter/nf_conntrack_h323_main.c IPPROTO_TCP, NULL, &port); port 359 net/netfilter/nf_conntrack_h323_main.c port, exp); port 655 net/netfilter/nf_conntrack_h323_main.c memcpy(port, p + len, sizeof(__be16)); port 668 net/netfilter/nf_conntrack_h323_main.c __be16 port; port 674 net/netfilter/nf_conntrack_h323_main.c if (!get_h225_addr(ct, *data, taddr, &addr, &port) || port 676 net/netfilter/nf_conntrack_h323_main.c port == 0) port 685 net/netfilter/nf_conntrack_h323_main.c IPPROTO_TCP, NULL, &port); port 695 net/netfilter/nf_conntrack_h323_main.c port, exp); port 778 net/netfilter/nf_conntrack_h323_main.c __be16 port; port 784 net/netfilter/nf_conntrack_h323_main.c if (!get_h225_addr(ct, *data, taddr, &addr, &port) || port == 0) port 801 net/netfilter/nf_conntrack_h323_main.c IPPROTO_TCP, NULL, &port); port 811 net/netfilter/nf_conntrack_h323_main.c taddr, port, exp); port 834 net/netfilter/nf_conntrack_h323_main.c __be16 port; port 851 net/netfilter/nf_conntrack_h323_main.c &addr, &port) && port 855 net/netfilter/nf_conntrack_h323_main.c NIP6(*(struct in6_addr *)&addr), ntohs(port), port 857 net/netfilter/nf_conntrack_h323_main.c ntohs(ct->tuplehash[!dir].tuple.src.u.tcp.port)); port 861 net/netfilter/nf_conntrack_h323_main.c ct->tuplehash[!dir].tuple.src.u.tcp.port); port 869 net/netfilter/nf_conntrack_h323_main.c &addr, &port) && port 873 net/netfilter/nf_conntrack_h323_main.c NIP6(*(struct in6_addr *)&addr), ntohs(port), port 875 net/netfilter/nf_conntrack_h323_main.c ntohs(ct->tuplehash[!dir].tuple.dst.u.tcp.port)); port 879 net/netfilter/nf_conntrack_h323_main.c ct->tuplehash[!dir].tuple.dst.u.tcp.port); port 1174 net/netfilter/nf_conntrack_h323_main.c .tuple.src.u.tcp.port = __constant_htons(Q931_PORT), port 1183 net/netfilter/nf_conntrack_h323_main.c .tuple.src.u.tcp.port = __constant_htons(Q931_PORT), port 1218 net/netfilter/nf_conntrack_h323_main.c tuple.src.u.tcp.port = 0; port 1220 net/netfilter/nf_conntrack_h323_main.c tuple.dst.u.tcp.port = port; port 1252 net/netfilter/nf_conntrack_h323_main.c __be16 port; port 1259 net/netfilter/nf_conntrack_h323_main.c if (get_h225_addr(ct, *data, &taddr[i], &addr, &port) && port 1261 net/netfilter/nf_conntrack_h323_main.c sizeof(addr)) == 0 && port != 0) port 1275 net/netfilter/nf_conntrack_h323_main.c IPPROTO_TCP, NULL, &port); port 1281 net/netfilter/nf_conntrack_h323_main.c ret = nat_q931(skb, ct, ctinfo, data, taddr, i, port, exp); port 1288 net/netfilter/nf_conntrack_h323_main.c info->sig_port[dir] = port; port 1321 net/netfilter/nf_conntrack_h323_main.c __be16 port; port 1327 net/netfilter/nf_conntrack_h323_main.c if (!get_h225_addr(ct, *data, &gcf->rasAddress, &addr, &port)) port 1332 net/netfilter/nf_conntrack_h323_main.c port == ct->tuplehash[dir].tuple.src.u.udp.port) port 1344 net/netfilter/nf_conntrack_h323_main.c IPPROTO_UDP, NULL, &port); port 1481 net/netfilter/nf_conntrack_h323_main.c __be16 port; port 1490 net/netfilter/nf_conntrack_h323_main.c &addr, &port) && port 1492 net/netfilter/nf_conntrack_h323_main.c port == info->sig_port[dir] && port 1503 net/netfilter/nf_conntrack_h323_main.c &addr, &port) && port 1510 net/netfilter/nf_conntrack_h323_main.c port); port 1523 net/netfilter/nf_conntrack_h323_main.c __be16 port; port 1531 net/netfilter/nf_conntrack_h323_main.c &addr, &port)) port 1548 net/netfilter/nf_conntrack_h323_main.c IPPROTO_TCP, NULL, &port); port 1586 net/netfilter/nf_conntrack_h323_main.c __be16 port; port 1593 net/netfilter/nf_conntrack_h323_main.c &addr, &port)) port 1601 net/netfilter/nf_conntrack_h323_main.c IPPROTO_TCP, NULL, &port); port 1748 net/netfilter/nf_conntrack_h323_main.c .tuple.src.u.udp.port = __constant_htons(RAS_PORT), port 1757 net/netfilter/nf_conntrack_h323_main.c .tuple.src.u.udp.port = __constant_htons(RAS_PORT), port 96 net/netfilter/nf_conntrack_irc.c *port = simple_strtoul(data, &data, 10); port 116 net/netfilter/nf_conntrack_irc.c __be16 port; port 201 net/netfilter/nf_conntrack_irc.c port = htons(dcc_port); port 205 net/netfilter/nf_conntrack_irc.c IPPROTO_TCP, NULL, &port); port 253 net/netfilter/nf_conntrack_irc.c irc[i].tuple.src.u.tcp.port = htons(ports[i]); port 82 net/netfilter/nf_conntrack_netbios_ns.c exp->tuple.src.u.udp.port = htons(NMBD_PORT); port 85 net/netfilter/nf_conntrack_netbios_ns.c exp->mask.src.u.udp.port = htons(0xFFFF); port 107 net/netfilter/nf_conntrack_netbios_ns.c .tuple.src.u.udp.port = __constant_htons(NMBD_PORT), port 593 net/netfilter/nf_conntrack_pptp.c .tuple.src.u.tcp.port = __constant_htons(PPTP_CONTROL_PORT), port 405 net/netfilter/nf_conntrack_proto_dccp.c tuple->src.u.dccp.port = dh->dccph_sport; port 406 net/netfilter/nf_conntrack_proto_dccp.c tuple->dst.u.dccp.port = dh->dccph_dport; port 413 net/netfilter/nf_conntrack_proto_dccp.c inv->src.u.dccp.port = tuple->dst.u.dccp.port; port 414 net/netfilter/nf_conntrack_proto_dccp.c inv->dst.u.dccp.port = tuple->src.u.dccp.port; port 604 net/netfilter/nf_conntrack_proto_dccp.c ntohs(tuple->src.u.dccp.port), port 605 net/netfilter/nf_conntrack_proto_dccp.c ntohs(tuple->dst.u.dccp.port)); port 144 net/netfilter/nf_conntrack_proto_sctp.c tuple->src.u.sctp.port = hp->source; port 145 net/netfilter/nf_conntrack_proto_sctp.c tuple->dst.u.sctp.port = hp->dest; port 152 net/netfilter/nf_conntrack_proto_sctp.c tuple->src.u.sctp.port = orig->dst.u.sctp.port; port 153 net/netfilter/nf_conntrack_proto_sctp.c tuple->dst.u.sctp.port = orig->src.u.sctp.port; port 162 net/netfilter/nf_conntrack_proto_sctp.c ntohs(tuple->src.u.sctp.port), port 163 net/netfilter/nf_conntrack_proto_sctp.c ntohs(tuple->dst.u.sctp.port)); port 272 net/netfilter/nf_conntrack_proto_tcp.c tuple->src.u.tcp.port = hp->source; port 273 net/netfilter/nf_conntrack_proto_tcp.c tuple->dst.u.tcp.port = hp->dest; port 281 net/netfilter/nf_conntrack_proto_tcp.c tuple->src.u.tcp.port = orig->dst.u.tcp.port; port 282 net/netfilter/nf_conntrack_proto_tcp.c tuple->dst.u.tcp.port = orig->src.u.tcp.port; port 291 net/netfilter/nf_conntrack_proto_tcp.c ntohs(tuple->src.u.tcp.port), port 292 net/netfilter/nf_conntrack_proto_tcp.c ntohs(tuple->dst.u.tcp.port)); port 41 net/netfilter/nf_conntrack_proto_udp.c tuple->src.u.udp.port = hp->source; port 42 net/netfilter/nf_conntrack_proto_udp.c tuple->dst.u.udp.port = hp->dest; port 50 net/netfilter/nf_conntrack_proto_udp.c tuple->src.u.udp.port = orig->dst.u.udp.port; port 51 net/netfilter/nf_conntrack_proto_udp.c tuple->dst.u.udp.port = orig->src.u.udp.port; port 60 net/netfilter/nf_conntrack_proto_udp.c ntohs(tuple->src.u.udp.port), port 61 net/netfilter/nf_conntrack_proto_udp.c ntohs(tuple->dst.u.udp.port)); port 41 net/netfilter/nf_conntrack_proto_udplite.c tuple->src.u.udp.port = hp->source; port 42 net/netfilter/nf_conntrack_proto_udplite.c tuple->dst.u.udp.port = hp->dest; port 49 net/netfilter/nf_conntrack_proto_udplite.c tuple->src.u.udp.port = orig->dst.u.udp.port; port 50 net/netfilter/nf_conntrack_proto_udplite.c tuple->dst.u.udp.port = orig->src.u.udp.port; port 59 net/netfilter/nf_conntrack_proto_udplite.c ntohs(tuple->src.u.udp.port), port 60 net/netfilter/nf_conntrack_proto_udplite.c ntohs(tuple->dst.u.udp.port)); port 55 net/netfilter/nf_conntrack_sane.c __be16 port; port 147 net/netfilter/nf_conntrack_sane.c IPPROTO_TCP, NULL, &reply->port); port 206 net/netfilter/nf_conntrack_sane.c sane[i][j].tuple.src.u.tcp.port = htons(ports[i]); port 80 net/netfilter/nf_conntrack_sip.c u_int16_t port) __read_mostly; port 256 net/netfilter/nf_conntrack_sip.c *port = htons(p); port 258 net/netfilter/nf_conntrack_sip.c *port = htons(SIP_PORT); port 508 net/netfilter/nf_conntrack_sip.c *port = htons(p); port 510 net/netfilter/nf_conntrack_sip.c *port = htons(SIP_PORT); port 696 net/netfilter/nf_conntrack_sip.c exp->tuple.dst.u.udp.port != port) port 775 net/netfilter/nf_conntrack_sip.c tuple.dst.u.udp.port = port; port 788 net/netfilter/nf_conntrack_sip.c exp->saved_proto.udp.port != exp->tuple.dst.u.udp.port) && port 792 net/netfilter/nf_conntrack_sip.c tuple.dst.u.udp.port = exp->saved_proto.udp.port; port 800 net/netfilter/nf_conntrack_sip.c base_port = ntohs(tuple.dst.u.udp.port) & ~1; port 881 net/netfilter/nf_conntrack_sip.c unsigned int port; port 925 net/netfilter/nf_conntrack_sip.c port = simple_strtoul(*dptr + mediaoff, NULL, 10); port 926 net/netfilter/nf_conntrack_sip.c if (port == 0) port 928 net/netfilter/nf_conntrack_sip.c if (port < 1024 || port > 65535) port 944 net/netfilter/nf_conntrack_sip.c &rtp_addr, htons(port), t->class, port 1043 net/netfilter/nf_conntrack_sip.c __be16 port; port 1066 net/netfilter/nf_conntrack_sip.c &matchoff, &matchlen, &daddr, &port); port 1095 net/netfilter/nf_conntrack_sip.c saddr, &daddr, IPPROTO_UDP, NULL, &port); port 1127 net/netfilter/nf_conntrack_sip.c __be16 port; port 1158 net/netfilter/nf_conntrack_sip.c &addr, &port); port 1176 net/netfilter/nf_conntrack_sip.c if (refresh_signalling_expectation(ct, &addr, port, c_expires)) port 1348 net/netfilter/nf_conntrack_sip.c sip[i][j].tuple.src.u.udp.port = htons(ports[i]); port 68 net/netfilter/nf_conntrack_tftp.c IPPROTO_UDP, NULL, &tuple->dst.u.udp.port); port 126 net/netfilter/nf_conntrack_tftp.c tftp[i][j].tuple.src.u.udp.port = htons(ports[i]); port 136 net/netfilter/xt_socket.c ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.tcp.port : port 137 net/netfilter/xt_socket.c ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u.udp.port; port 33 net/netfilter/xt_tcpudp.c return (port >= min && port <= max) ^ invert; port 375 net/phonet/socket.c int port, pmin, pmax; port 378 net/phonet/socket.c for (port = pmin; port <= pmax; port++) { port 36 net/rxrpc/ar-error.c __be16 port; port 50 net/rxrpc/ar-error.c port = serr->port; port 53 net/rxrpc/ar-error.c NIPQUAD(addr), ntohs(port)); port 56 net/rxrpc/ar-error.c peer = rxrpc_find_peer(local, addr, port); port 225 net/rxrpc/ar-peer.c peer->srx.transport.sin.sin_port == port && port 104 net/sctp/associola.c sctp_bind_addr_init(&asoc->base.bind_addr, ep->base.bind_addr.port); port 222 net/sctp/associola.c asoc->c.my_port = ep->base.bind_addr.port; port 582 net/sctp/associola.c unsigned short port; port 587 net/sctp/associola.c port = ntohs(addr->v4.sin_port); port 593 net/sctp/associola.c port, port 597 net/sctp/associola.c if (0 == asoc->peer.port) port 598 net/sctp/associola.c asoc->peer.port = port; port 665 net/sctp/associola.c sctp_packet_init(&peer->packet, peer, asoc->base.bind_addr.port, port 666 net/sctp/associola.c asoc->peer.port); port 1005 net/sctp/associola.c if ((htons(asoc->base.bind_addr.port) == laddr->v4.sin_port) && port 1006 net/sctp/associola.c (htons(asoc->peer.port) == paddr->v4.sin_port)) { port 1463 net/sctp/associola.c asoc->ep->base.bind_addr.port, gfp); port 1472 net/sctp/associola.c if ((asoc->base.bind_addr.port == ntohs(laddr->v4.sin_port)) && port 73 net/sctp/bind_addr.c dest->port = src->port; port 117 net/sctp/bind_addr.c dest->port = src->port; port 136 net/sctp/bind_addr.c bp->port = port; port 183 net/sctp/bind_addr.c addr->a.v4.sin_port = htons(bp->port); port 309 net/sctp/bind_addr.c af->from_addr_param(&addr, rawaddr, htons(port), 0); port 309 net/sctp/endpointola.c if (htons(ep->base.bind_addr.port) == laddr->v4.sin_port) { port 338 net/sctp/endpointola.c hash = sctp_assoc_hashfn(ep->base.bind_addr.port, rport); port 343 net/sctp/endpointola.c if (asoc->ep != ep || rport != asoc->peer.port) port 689 net/sctp/input.c epb->hashent = sctp_ep_hashfn(epb->bind_addr.port); port 716 net/sctp/input.c epb->hashent = sctp_ep_hashfn(epb->bind_addr.port); port 768 net/sctp/input.c epb->hashent = sctp_assoc_hashfn(epb->bind_addr.port, asoc->peer.port); port 796 net/sctp/input.c epb->hashent = sctp_assoc_hashfn(epb->bind_addr.port, port 797 net/sctp/input.c asoc->peer.port); port 406 net/sctp/ipv6.c __be16 *port; port 409 net/sctp/ipv6.c port = &addr->v6.sin6_port; port 416 net/sctp/ipv6.c *port = sh->source; port 419 net/sctp/ipv6.c *port = sh->dest; port 466 net/sctp/ipv6.c addr->v6.sin6_port = port; port 493 net/sctp/ipv6.c addr->v6.sin6_port = port; port 540 net/sctp/ipv6.c addr->v6.sin6_port = port; port 679 net/sctp/ipv6.c newinet->dport = htons(asoc->peer.port); port 763 net/sctp/ipv6.c sin6->sin6_port = htons(asoc->peer.port); port 722 net/sctp/outqueue.c __u16 sport = asoc->base.bind_addr.port; port 723 net/sctp/outqueue.c __u16 dport = asoc->peer.port; port 218 net/sctp/proc.c epb->bind_addr.port, port 329 net/sctp/proc.c epb->bind_addr.port, port 330 net/sctp/proc.c assoc->peer.port); port 275 net/sctp/protocol.c __be16 *port; port 278 net/sctp/protocol.c port = &addr->v4.sin_port; port 283 net/sctp/protocol.c *port = sh->source; port 286 net/sctp/protocol.c *port = sh->dest; port 318 net/sctp/protocol.c addr->v4.sin_port = port; port 343 net/sctp/protocol.c saddr->v4.sin_port = port; port 366 net/sctp/protocol.c addr->v4.sin_port = port; port 505 net/sctp/protocol.c sctp_v4_dst_saddr(&dst_saddr, dst, htons(bp->port)); port 567 net/sctp/protocol.c saddr->v4.sin_port = htons(asoc->base.bind_addr.port); port 618 net/sctp/protocol.c newinet->dport = htons(asoc->peer.port); port 795 net/sctp/protocol.c sin->sin_port = htons(asoc->peer.port); port 1707 net/sctp/sm_make_chunk.c retval->peer.port = ntohs(chunk->sctp_hdr->source); port 2389 net/sctp/sm_make_chunk.c af->from_addr_param(&addr, param.addr, htons(asoc->peer.port), 0); port 2484 net/sctp/sm_make_chunk.c htons(asoc->peer.port), 0); port 2872 net/sctp/sm_make_chunk.c af->from_addr_param(&addr, addr_param, htons(asoc->peer.port), 0); port 3114 net/sctp/sm_make_chunk.c af->from_addr_param(&addr, addr_param, htons(bp->port), 0); port 288 net/sctp/socket.c if (!sctp_sk(sk)->ep->base.bind_addr.port) port 355 net/sctp/socket.c bp->port, snum, port 366 net/sctp/socket.c if (bp->port) { port 368 net/sctp/socket.c snum = bp->port; port 369 net/sctp/socket.c else if (snum != bp->port) { port 372 net/sctp/socket.c "%d.\n", snum, bp->port); port 396 net/sctp/socket.c if (!bp->port) port 397 net/sctp/socket.c bp->port = inet_sk(sk)->num; port 658 net/sctp/socket.c if (sa_addr->v4.sin_port != htons(bp->port)) { port 984 net/sctp/socket.c unsigned short port; port 1006 net/sctp/socket.c port = ntohs(sa_addr->v4.sin_port); port 1026 net/sctp/socket.c if (asoc && asoc->peer.port && asoc->peer.port != port) port 1057 net/sctp/socket.c if (!ep->base.bind_addr.port) { port 1070 net/sctp/socket.c if (ep->base.bind_addr.port < PROT_SOCK && port 1109 net/sctp/socket.c inet_sk(sk)->dport = htons(asoc->peer.port); port 1627 net/sctp/socket.c if (!ep->base.bind_addr.port) { port 1640 net/sctp/socket.c if (ep->base.bind_addr.port < PROT_SOCK && port 4479 net/sctp/socket.c temp.v4.sin_port = htons(port); port 4518 net/sctp/socket.c temp.v4.sin_port = htons(port); port 4606 net/sctp/socket.c cnt = sctp_copy_laddrs_old(sk, bp->port, port 4699 net/sctp/socket.c cnt = sctp_copy_laddrs(sk, bp->port, addrs, port 5577 net/sctp/socket.c if (pp->port == rover) port 5604 net/sctp/socket.c if (pp->port == snum) port 5756 net/sctp/socket.c if (!ep->base.bind_addr.port) { port 5806 net/sctp/socket.c if (!ep->base.bind_addr.port) { port 5951 net/sctp/socket.c pp->port = snum; port 6002 net/sctp/socket.c __be16 port; port 6007 net/sctp/socket.c port = htons(inet_sk(sk)->num); port 6008 net/sctp/socket.c af->inaddr_any(&autoaddr, port); port 243 net/sunrpc/rpcb_clnt.c .r_port = port, port 250 net/sunrpc/rpcb_clnt.c "rpcbind\n", (port ? "" : "un"), port 251 net/sunrpc/rpcb_clnt.c prog, vers, prot, port); port 254 net/sunrpc/rpcb_clnt.c if (port) port 269 net/sunrpc/rpcb_clnt.c unsigned short port = ntohs(address_to_register->sin_port); port 276 net/sunrpc/rpcb_clnt.c port >> 8, port & 0xff); port 280 net/sunrpc/rpcb_clnt.c "local rpcbind\n", (port ? "" : "un"), port 285 net/sunrpc/rpcb_clnt.c if (port) port 300 net/sunrpc/rpcb_clnt.c unsigned short port = ntohs(address_to_register->sin6_port); port 306 net/sunrpc/rpcb_clnt.c port >> 8, port & 0xff); port 310 net/sunrpc/rpcb_clnt.c port >> 8, port & 0xff); port 314 net/sunrpc/rpcb_clnt.c "local rpcbind\n", (port ? "" : "un"), port 319 net/sunrpc/rpcb_clnt.c if (port) port 741 net/sunrpc/svc.c .sin_port = htons(port), port 777 net/sunrpc/svc.c .sin6_port = htons(port), port 812 net/sunrpc/svc.c protocol, port); port 815 net/sunrpc/svc.c protocol, port); port 827 net/sunrpc/svc.c protocol, port); port 850 net/sunrpc/svc.c return rpcb_register(program, version, protocol, port); port 870 net/sunrpc/svc.c BUG_ON(proto == 0 && port == 0); port 881 net/sunrpc/svc.c port, port 890 net/sunrpc/svc.c serv->sv_family, proto, port); port 169 net/sunrpc/svc_xprt.c .sin_port = htons(port), port 174 net/sunrpc/svc_xprt.c .sin6_port = htons(port), port 200 net/sunrpc/svc_xprt.c dprintk("svc: creating transport %s[%d]\n", xprt_name, port); port 212 net/sunrpc/svc_xprt.c newxprt = __svc_xpo_create(xcl, serv, port, flags); port 1037 net/sunrpc/svc_xprt.c if (port && port != svc_xprt_local_port(xprt)) port 471 net/sunrpc/xprtrdma/transport.c sap->sin_port = htons(port); port 473 net/sunrpc/xprtrdma/transport.c sap->sin_port = htons(port); port 474 net/sunrpc/xprtrdma/transport.c dprintk("RPC: %s: %u\n", __func__, port); port 238 net/sunrpc/xprtsock.c unsigned short port; port 1318 net/sunrpc/xprtsock.c dprintk("RPC: setting port for xprt %p to %u\n", xprt, port); port 1322 net/sunrpc/xprtsock.c ((struct sockaddr_in *)addr)->sin_port = htons(port); port 1325 net/sunrpc/xprtsock.c ((struct sockaddr_in6 *)addr)->sin6_port = htons(port); port 1334 net/sunrpc/xprtsock.c unsigned short port = transport->port; port 1336 net/sunrpc/xprtsock.c if (port == 0 && transport->xprt.resvport) port 1337 net/sunrpc/xprtsock.c port = xs_get_random_port(); port 1338 net/sunrpc/xprtsock.c return port; port 1343 net/sunrpc/xprtsock.c if (transport->port != 0) port 1344 net/sunrpc/xprtsock.c transport->port = 0; port 1347 net/sunrpc/xprtsock.c if (port <= xprt_min_resvport || port > xprt_max_resvport) port 1349 net/sunrpc/xprtsock.c return --port; port 1359 net/sunrpc/xprtsock.c unsigned short port = xs_get_srcport(transport, sock); port 1365 net/sunrpc/xprtsock.c myaddr.sin_port = htons(port); port 1368 net/sunrpc/xprtsock.c if (port == 0) port 1371 net/sunrpc/xprtsock.c transport->port = port; port 1374 net/sunrpc/xprtsock.c last = port; port 1375 net/sunrpc/xprtsock.c port = xs_next_srcport(transport, sock, port); port 1376 net/sunrpc/xprtsock.c if (port > last) port 1381 net/sunrpc/xprtsock.c port, err ? "failed" : "ok", err); port 1392 net/sunrpc/xprtsock.c unsigned short port = xs_get_srcport(transport, sock); port 1398 net/sunrpc/xprtsock.c myaddr.sin6_port = htons(port); port 1401 net/sunrpc/xprtsock.c if (port == 0) port 1404 net/sunrpc/xprtsock.c transport->port = port; port 1407 net/sunrpc/xprtsock.c last = port; port 1408 net/sunrpc/xprtsock.c port = xs_next_srcport(transport, sock, port); port 1409 net/sunrpc/xprtsock.c if (port > last) port 1413 net/sunrpc/xprtsock.c NIP6(myaddr.sin6_addr), port, err ? "failed" : "ok", err); port 1803 net/sunrpc/xprtsock.c transport->port, port 1827 net/sunrpc/xprtsock.c transport->port, port 160 net/tipc/bcast.h if (item->ports[i] == port) port 163 net/tipc/bcast.h item->ports[i] = port; port 555 net/tipc/link.c struct port *p_ptr; port 578 net/tipc/link.c struct port *p_ptr; port 579 net/tipc/link.c struct port *temp_p_ptr; port 222 net/tipc/link.h struct port; port 319 net/tipc/name_table.c type, lower, upper, node, port, sseq, port 324 net/tipc/name_table.c publ = publ_create(type, lower, upper, scope, node, port, key); port 592 net/tipc/name_table.c scope, node, port, key); port 104 net/tipc/port.c struct port *oport = tipc_port_deref(ref); port 224 net/tipc/port.c struct port *p_ptr; port 265 net/tipc/port.c struct port *p_ptr; port 314 net/tipc/port.c struct port *p_ptr; port 332 net/tipc/port.c struct port *p_ptr; port 344 net/tipc/port.c struct port *p_ptr; port 361 net/tipc/port.c struct port *p_ptr; port 373 net/tipc/port.c struct port *p_ptr; port 461 net/tipc/port.c struct port *p_ptr = tipc_port_lock(msg_destport(msg)); port 494 net/tipc/port.c struct port *p_ptr = tipc_port_lock(ref); port 529 net/tipc/port.c struct port *p_ptr = tipc_port_lock(ref); port 582 net/tipc/port.c struct port *p_ptr = tipc_port_lock(msg_destport(msg)); port 699 net/tipc/port.c struct port *p_ptr; port 730 net/tipc/port.c struct port *p_ptr; port 769 net/tipc/port.c struct port *p_ptr; port 799 net/tipc/port.c struct port *p_ptr; port 976 net/tipc/port.c struct port *p_ptr; port 1002 net/tipc/port.c struct port *p_ptr; port 1042 net/tipc/port.c struct port *p_ptr; port 1049 net/tipc/port.c p_ptr = (struct port *)tipc_createport_raw(NULL, port_dispatcher, port 1083 net/tipc/port.c struct port *p_ptr; port 1095 net/tipc/port.c struct port *p_ptr; port 1111 net/tipc/port.c struct port *p_ptr; port 1149 net/tipc/port.c struct port *p_ptr; port 1189 net/tipc/port.c struct port *p_ptr; port 1242 net/tipc/port.c &((struct port *)tp_ptr)->subscription); port 1257 net/tipc/port.c struct port *p_ptr; port 1273 net/tipc/port.c struct port *p_ptr; port 1301 net/tipc/port.c struct port *p_ptr; port 1313 net/tipc/port.c struct port *p_ptr; port 1360 net/tipc/port.c struct port *p_ptr; port 1398 net/tipc/port.c struct port *p_ptr; port 1453 net/tipc/port.c struct port *p_ptr; port 1525 net/tipc/port.c struct port *p_ptr; port 1531 net/tipc/port.c p_ptr = (struct port *)tipc_ref_deref(ref); port 1598 net/tipc/port.c struct port *p_ptr; port 1655 net/tipc/port.c struct port *p_ptr; port 1659 net/tipc/port.c p_ptr = (struct port *)tipc_ref_deref(ref); port 129 net/tipc/port.h static inline struct port *tipc_port_lock(u32 ref) port 131 net/tipc/port.h return (struct port *)tipc_ref_lock(ref); port 145 net/tipc/port.h static inline struct port* tipc_port_deref(u32 ref) port 147 net/tipc/port.h return (struct port *)tipc_ref_deref(ref); port 171 net/tipc/port.h struct port *p_ptr; port 113 net/tipc/subscr.c sub->evt.port.ref = htohl(port_ref, sub->swap); port 114 net/tipc/subscr.c sub->evt.port.node = htohl(node, sub->swap); port 166 net/tipc/subscr.c struct port *server_port; port 499 security/selinux/avc.c if (port) port 500 security/selinux/avc.c audit_log_format(ab, " %s=%d", name2, ntohs(port)); port 508 security/selinux/avc.c if (port) port 509 security/selinux/avc.c audit_log_format(ab, " %s=%d", name2, ntohs(port)); port 107 security/selinux/include/objsec.h u16 port; /* port number */ port 81 security/selinux/netport.c struct sel_netport *port = container_of(p, struct sel_netport, rcu); port 82 security/selinux/netport.c kfree(port); port 112 security/selinux/netport.c struct sel_netport *port; port 115 security/selinux/netport.c list_for_each_entry_rcu(port, &sel_netport_hash[idx].list, list) port 116 security/selinux/netport.c if (port->psec.port == pnum && port->psec.protocol == protocol) port 117 security/selinux/netport.c return port; port 136 security/selinux/netport.c idx = sel_netport_hashfn(port->psec.port); port 137 security/selinux/netport.c list_add_rcu(&port->list, &sel_netport_hash[idx].list); port 164 security/selinux/netport.c struct sel_netport *port; port 168 security/selinux/netport.c port = sel_netport_find(protocol, pnum); port 169 security/selinux/netport.c if (port != NULL) { port 170 security/selinux/netport.c *sid = port->psec.sid; port 181 security/selinux/netport.c new->psec.port = pnum; port 212 security/selinux/netport.c struct sel_netport *port; port 215 security/selinux/netport.c port = sel_netport_find(protocol, pnum); port 216 security/selinux/netport.c if (port != NULL) { port 217 security/selinux/netport.c *sid = port->psec.sid; port 236 security/selinux/netport.c struct sel_netport *port, *port_tmp; port 240 security/selinux/netport.c list_for_each_entry_safe(port, port_tmp, port 242 security/selinux/netport.c list_del_rcu(&port->list); port 243 security/selinux/netport.c call_rcu(&port->rcu, sel_netport_free); port 1918 security/selinux/ss/policydb.c c->u.port.protocol = le32_to_cpu(buf[0]); port 1919 security/selinux/ss/policydb.c c->u.port.low_port = le32_to_cpu(buf[1]); port 1920 security/selinux/ss/policydb.c c->u.port.high_port = le32_to_cpu(buf[2]); port 142 security/selinux/ss/policydb.h } port; /* TCP or UDP port information */ port 1763 security/selinux/ss/services.c if (c->u.port.protocol == protocol && port 1764 security/selinux/ss/services.c c->u.port.low_port <= port && port 1765 security/selinux/ss/services.c c->u.port.high_port >= port) port 90 sound/core/seq/oss/seq_oss_device.h int port; /* sequencer port number */ port 173 sound/core/seq/oss/seq_oss_device.h ev->dest.port = dest_port; port 412 sound/core/seq/oss/seq_oss_event.c snd_seq_oss_fill_addr(dp, ev, dp->addr.client, dp->addr.port); port 68 sound/core/seq/oss/seq_oss_init.c struct snd_seq_port_info *port; port 71 sound/core/seq/oss/seq_oss_init.c port = kmalloc(sizeof(*port), GFP_KERNEL); port 72 sound/core/seq/oss/seq_oss_init.c if (!port) { port 90 sound/core/seq/oss/seq_oss_init.c memset(port, 0, sizeof(*port)); port 91 sound/core/seq/oss/seq_oss_init.c strcpy(port->name, "Receiver"); port 92 sound/core/seq/oss/seq_oss_init.c port->addr.client = system_client; port 93 sound/core/seq/oss/seq_oss_init.c port->capability = SNDRV_SEQ_PORT_CAP_WRITE; /* receive only */ port 94 sound/core/seq/oss/seq_oss_init.c port->type = 0; port 101 sound/core/seq/oss/seq_oss_init.c port->kernel = &port_callback; port 103 sound/core/seq/oss/seq_oss_init.c call_ctl(SNDRV_SEQ_IOCTL_CREATE_PORT, port); port 104 sound/core/seq/oss/seq_oss_init.c if ((system_port = port->addr.port) >= 0) { port 109 sound/core/seq/oss/seq_oss_init.c subs.sender.port = SNDRV_SEQ_PORT_SYSTEM_ANNOUNCE; port 111 sound/core/seq/oss/seq_oss_init.c subs.dest.port = system_port; port 117 sound/core/seq/oss/seq_oss_init.c kfree(port); port 148 sound/core/seq/oss/seq_oss_init.c ev->data.addr.port); port 187 sound/core/seq/oss/seq_oss_init.c dp->port = -1; port 228 sound/core/seq/oss/seq_oss_init.c dp->addr.port = dp->port; port 318 sound/core/seq/oss/seq_oss_init.c struct snd_seq_port_info port; port 321 sound/core/seq/oss/seq_oss_init.c memset(&port, 0, sizeof(port)); port 322 sound/core/seq/oss/seq_oss_init.c port.addr.client = dp->cseq; port 323 sound/core/seq/oss/seq_oss_init.c sprintf(port.name, "Sequencer-%d", dp->index); port 324 sound/core/seq/oss/seq_oss_init.c port.capability = SNDRV_SEQ_PORT_CAP_READ|SNDRV_SEQ_PORT_CAP_WRITE; /* no subscription */ port 325 sound/core/seq/oss/seq_oss_init.c port.type = SNDRV_SEQ_PORT_TYPE_SPECIFIC; port 326 sound/core/seq/oss/seq_oss_init.c port.midi_channels = 128; port 327 sound/core/seq/oss/seq_oss_init.c port.synth_voices = 128; port 334 sound/core/seq/oss/seq_oss_init.c port.kernel = &callback; port 336 sound/core/seq/oss/seq_oss_init.c rc = call_ctl(SNDRV_SEQ_IOCTL_CREATE_PORT, &port); port 340 sound/core/seq/oss/seq_oss_init.c dp->port = port.addr.port; port 341 sound/core/seq/oss/seq_oss_init.c debug_printk(("new port = %d\n", port.addr.port)); port 352 sound/core/seq/oss/seq_oss_init.c if (dp->port < 0) port 355 sound/core/seq/oss/seq_oss_init.c debug_printk(("delete_port %i\n", dp->port)); port 356 sound/core/seq/oss/seq_oss_init.c return snd_seq_event_port_detach(dp->cseq, dp->port); port 440 sound/core/seq/oss/seq_oss_init.c if (dp->port >= 0) port 533 sound/core/seq/oss/seq_oss_init.c snd_iprintf(buf, "port %d : queue %d\n", dp->port, dp->queue); port 65 sound/core/seq/oss/seq_oss_ioctl.c snd_seq_oss_fill_addr(dp, &tmpev, dp->addr.port, dp->addr.client); port 43 sound/core/seq/oss/seq_oss_midi.c int port; /* sequencer port number */ port 91 sound/core/seq/oss/seq_oss_midi.c pinfo->addr.port = -1; port 130 sound/core/seq/oss/seq_oss_midi.c if (mdev && mdev->client == client && mdev->port == port) { port 154 sound/core/seq/oss/seq_oss_midi.c debug_printk(("check for MIDI client %d port %d\n", pinfo->addr.client, pinfo->addr.port)); port 166 sound/core/seq/oss/seq_oss_midi.c if ((mdev = find_slot(pinfo->addr.client, pinfo->addr.port)) != NULL) { port 182 sound/core/seq/oss/seq_oss_midi.c mdev->port = pinfo->addr.port; port 233 sound/core/seq/oss/seq_oss_midi.c if ((mdev = find_slot(client, port)) != NULL) { port 367 sound/core/seq/oss/seq_oss_midi.c subs.dest.port = mdev->port; port 373 sound/core/seq/oss/seq_oss_midi.c subs.sender.port = mdev->port; port 407 sound/core/seq/oss/seq_oss_midi.c debug_printk(("closing client %d port %d mode %d\n", mdev->client, mdev->port, mdev->opened)); port 412 sound/core/seq/oss/seq_oss_midi.c subs.dest.port = mdev->port; port 417 sound/core/seq/oss/seq_oss_midi.c subs.sender.port = mdev->port; port 471 sound/core/seq/oss/seq_oss_midi.c debug_printk(("resetting client %d port %d\n", mdev->client, mdev->port)); port 474 sound/core/seq/oss/seq_oss_midi.c ev.dest.port = mdev->port; port 476 sound/core/seq/oss/seq_oss_midi.c ev.source.port = dp->port; port 511 sound/core/seq/oss/seq_oss_midi.c addr->port = mdev->port; port 528 sound/core/seq/oss/seq_oss_midi.c if ((mdev = find_slot(ev->source.client, ev->source.port)) == NULL) port 644 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_fill_addr(dp, ev, mdev->client, mdev->port); port 704 sound/core/seq/oss/seq_oss_midi.c mdev->client, mdev->port); port 177 sound/core/seq/oss/seq_oss_rw.c snd_seq_oss_fill_addr(dp, &event, dp->addr.port, dp->addr.client); port 228 sound/core/seq/oss/seq_oss_synth.c info->arg.app_index = dp->port; port 283 sound/core/seq/oss/seq_oss_synth.c info->arg.app_index = dp->port; port 441 sound/core/seq/oss/seq_oss_synth.c info->arg.addr.port); port 560 sound/core/seq/oss/seq_oss_synth.c dp->synths[dev].arg.addr.port); port 146 sound/core/seq/oss/seq_oss_timer.c ev.source.port = 0; port 148 sound/core/seq/oss/seq_oss_timer.c ev.dest.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; port 112 sound/core/seq/oss/seq_oss_writeq.c snd_seq_oss_fill_addr(dp, &ev, dp->addr.client, dp->addr.port); port 480 sound/core/seq/seq_clientmgr.c if ((port->capability & flags) != flags) port 541 sound/core/seq/seq_clientmgr.c bounce_ev.source.port = SNDRV_SEQ_PORT_SYSTEM_ANNOUNCE; port 543 sound/core/seq/seq_clientmgr.c bounce_ev.dest.port = event->source.port; port 605 sound/core/seq/seq_clientmgr.c dest_port = snd_seq_port_use_ptr(dest, event->dest.port); port 662 sound/core/seq/seq_clientmgr.c src_port = snd_seq_port_use_ptr(client, event->source.port); port 708 sound/core/seq/seq_clientmgr.c struct snd_seq_client_port *port; port 715 sound/core/seq/seq_clientmgr.c list_for_each_entry(port, &dest_client->ports_list_head, list) { port 716 sound/core/seq/seq_clientmgr.c event->dest.port = port->addr.port; port 727 sound/core/seq/seq_clientmgr.c event->dest.port = SNDRV_SEQ_ADDRESS_BROADCAST; /* restore */ port 749 sound/core/seq/seq_clientmgr.c event->dest.port = addr.port; port 750 sound/core/seq/seq_clientmgr.c if (addr.port == SNDRV_SEQ_ADDRESS_BROADCAST) port 792 sound/core/seq/seq_clientmgr.c event->source.client, event->source.port, port 793 sound/core/seq/seq_clientmgr.c event->dest.client, event->dest.port); port 806 sound/core/seq/seq_clientmgr.c else if (event->dest.port == SNDRV_SEQ_ADDRESS_BROADCAST) port 918 sound/core/seq/seq_clientmgr.c struct snd_seq_client_port *src_port = snd_seq_port_use_ptr(client, event->source.port); port 1239 sound/core/seq/seq_clientmgr.c struct snd_seq_client_port *port; port 1250 sound/core/seq/seq_clientmgr.c port = snd_seq_create_port(client, (info.flags & SNDRV_SEQ_PORT_FLG_GIVEN_PORT) ? info.addr.port : -1); port 1251 sound/core/seq/seq_clientmgr.c if (port == NULL) port 1255 sound/core/seq/seq_clientmgr.c snd_seq_delete_port(client, port->addr.port); port 1261 sound/core/seq/seq_clientmgr.c port->owner = callback->owner; port 1262 sound/core/seq/seq_clientmgr.c port->private_data = callback->private_data; port 1263 sound/core/seq/seq_clientmgr.c port->private_free = callback->private_free; port 1264 sound/core/seq/seq_clientmgr.c port->callback_all = callback->callback_all; port 1265 sound/core/seq/seq_clientmgr.c port->event_input = callback->event_input; port 1266 sound/core/seq/seq_clientmgr.c port->c_src.open = callback->subscribe; port 1267 sound/core/seq/seq_clientmgr.c port->c_src.close = callback->unsubscribe; port 1268 sound/core/seq/seq_clientmgr.c port->c_dest.open = callback->use; port 1269 sound/core/seq/seq_clientmgr.c port->c_dest.close = callback->unuse; port 1273 sound/core/seq/seq_clientmgr.c info.addr = port->addr; port 1275 sound/core/seq/seq_clientmgr.c snd_seq_set_port_info(port, &info); port 1276 sound/core/seq/seq_clientmgr.c snd_seq_system_client_ev_port_start(port->addr.client, port->addr.port); port 1301 sound/core/seq/seq_clientmgr.c err = snd_seq_delete_port(client, info.addr.port); port 1303 sound/core/seq/seq_clientmgr.c snd_seq_system_client_ev_port_exit(client->number, info.addr.port); port 1315 sound/core/seq/seq_clientmgr.c struct snd_seq_client_port *port; port 1324 sound/core/seq/seq_clientmgr.c port = snd_seq_port_use_ptr(cptr, info.addr.port); port 1325 sound/core/seq/seq_clientmgr.c if (port == NULL) { port 1331 sound/core/seq/seq_clientmgr.c snd_seq_get_port_info(port, &info); port 1332 sound/core/seq/seq_clientmgr.c snd_seq_port_unlock(port); port 1347 sound/core/seq/seq_clientmgr.c struct snd_seq_client_port *port; port 1355 sound/core/seq/seq_clientmgr.c port = snd_seq_port_use_ptr(client, info.addr.port); port 1356 sound/core/seq/seq_clientmgr.c if (port) { port 1357 sound/core/seq/seq_clientmgr.c snd_seq_set_port_info(port, &info); port 1358 sound/core/seq/seq_clientmgr.c snd_seq_port_unlock(port); port 1415 sound/core/seq/seq_clientmgr.c return snd_seq_system_notify(client, port, &event); /* non-atomic */ port 1437 sound/core/seq/seq_clientmgr.c if ((sport = snd_seq_port_use_ptr(sender, subs.sender.port)) == NULL) port 1439 sound/core/seq/seq_clientmgr.c if ((dport = snd_seq_port_use_ptr(receiver, subs.dest.port)) == NULL) port 1482 sound/core/seq/seq_clientmgr.c if ((sport = snd_seq_port_use_ptr(sender, subs.sender.port)) == NULL) port 1484 sound/core/seq/seq_clientmgr.c if ((dport = snd_seq_port_use_ptr(receiver, subs.dest.port)) == NULL) port 1976 sound/core/seq/seq_clientmgr.c if ((sport = snd_seq_port_use_ptr(sender, subs.sender.port)) == NULL) port 2006 sound/core/seq/seq_clientmgr.c struct snd_seq_client_port *port = NULL; port 2017 sound/core/seq/seq_clientmgr.c if ((port = snd_seq_port_use_ptr(cptr, subs.root.port)) == NULL) port 2022 sound/core/seq/seq_clientmgr.c group = &port->c_src; port 2025 sound/core/seq/seq_clientmgr.c group = &port->c_dest; port 2056 sound/core/seq/seq_clientmgr.c if (port) port 2057 sound/core/seq/seq_clientmgr.c snd_seq_port_unlock(port); port 2107 sound/core/seq/seq_clientmgr.c struct snd_seq_client_port *port = NULL; port 2117 sound/core/seq/seq_clientmgr.c info.addr.port++; port 2118 sound/core/seq/seq_clientmgr.c port = snd_seq_port_query_nearest(cptr, &info); port 2119 sound/core/seq/seq_clientmgr.c if (port == NULL) { port 2125 sound/core/seq/seq_clientmgr.c info.addr = port->addr; port 2126 sound/core/seq/seq_clientmgr.c snd_seq_get_port_info(port, &info); port 2127 sound/core/seq/seq_clientmgr.c snd_seq_port_unlock(port); port 2459 sound/core/seq/seq_clientmgr.c is_src ? s->info.dest.port : s->info.sender.port); port 2483 sound/core/seq/seq_clientmgr.c p->addr.port, p->name, port 77 sound/core/seq/seq_dummy.c int port; port 99 sound/core/seq/seq_dummy.c ev.source.port = p->connect; port 101 sound/core/seq/seq_dummy.c ev.source.port = p->port; port 130 sound/core/seq/seq_dummy.c tmpev.source.port = p->connect; port 132 sound/core/seq/seq_dummy.c tmpev.source.port = p->port; port 187 sound/core/seq/seq_dummy.c rec->port = pinfo.addr.port; port 224 sound/core/seq/seq_dummy.c rec1->connect = rec2->port; port 225 sound/core/seq/seq_dummy.c rec2->connect = rec1->port; port 104 sound/core/seq/seq_midi.c ev.source.port = msynth->seq_port; port 282 sound/core/seq/seq_midi.c struct snd_seq_port_info *port; port 339 sound/core/seq/seq_midi.c port = kmalloc(sizeof(*port), GFP_KERNEL); port 340 sound/core/seq/seq_midi.c if (msynth == NULL || port == NULL) port 350 sound/core/seq/seq_midi.c memset(port, 0, sizeof(*port)); port 351 sound/core/seq/seq_midi.c port->addr.client = client->seq_client; port 352 sound/core/seq/seq_midi.c port->addr.port = device * (256 / SNDRV_RAWMIDI_DEVICES) + p; port 353 sound/core/seq/seq_midi.c port->flags = SNDRV_SEQ_PORT_FLG_GIVEN_PORT; port 362 sound/core/seq/seq_midi.c strcpy(port->name, info->subname); port 363 sound/core/seq/seq_midi.c if (! port->name[0]) { port 366 sound/core/seq/seq_midi.c snprintf(port->name, sizeof(port->name), "%s-%d", info->name, p); port 368 sound/core/seq/seq_midi.c snprintf(port->name, sizeof(port->name), "%s", info->name); port 372 sound/core/seq/seq_midi.c sprintf(port->name, "MIDI %d-%d-%d", card->number, device, p); port 374 sound/core/seq/seq_midi.c sprintf(port->name, "MIDI %d-%d", card->number, device); port 378 sound/core/seq/seq_midi.c port->capability |= SNDRV_SEQ_PORT_CAP_WRITE | SNDRV_SEQ_PORT_CAP_SYNC_WRITE | SNDRV_SEQ_PORT_CAP_SUBS_WRITE; port 380 sound/core/seq/seq_midi.c port->capability |= SNDRV_SEQ_PORT_CAP_READ | SNDRV_SEQ_PORT_CAP_SYNC_READ | SNDRV_SEQ_PORT_CAP_SUBS_READ; port 381 sound/core/seq/seq_midi.c if ((port->capability & (SNDRV_SEQ_PORT_CAP_WRITE|SNDRV_SEQ_PORT_CAP_READ)) == (SNDRV_SEQ_PORT_CAP_WRITE|SNDRV_SEQ_PORT_CAP_READ) && port 383 sound/core/seq/seq_midi.c port->capability |= SNDRV_SEQ_PORT_CAP_DUPLEX; port 384 sound/core/seq/seq_midi.c port->type = SNDRV_SEQ_PORT_TYPE_MIDI_GENERIC port 387 sound/core/seq/seq_midi.c port->midi_channels = 16; port 396 sound/core/seq/seq_midi.c port->kernel = &pcallbacks; port 398 sound/core/seq/seq_midi.c rmidi->ops->get_port_info(rmidi, p, port); port 399 sound/core/seq/seq_midi.c if (snd_seq_kernel_client_ctl(client->seq_client, SNDRV_SEQ_IOCTL_CREATE_PORT, port)<0) port 402 sound/core/seq/seq_midi.c ms->seq_port = port->addr.port; port 411 sound/core/seq/seq_midi.c kfree(port); port 425 sound/core/seq/seq_midi.c kfree(port); port 61 sound/core/seq/seq_ports.c struct snd_seq_client_port *port; port 66 sound/core/seq/seq_ports.c list_for_each_entry(port, &client->ports_list_head, list) { port 67 sound/core/seq/seq_ports.c if (port->addr.port == num) { port 68 sound/core/seq/seq_ports.c if (port->closing) port 70 sound/core/seq/seq_ports.c snd_use_lock_use(&port->use_lock); port 72 sound/core/seq/seq_ports.c return port; port 85 sound/core/seq/seq_ports.c struct snd_seq_client_port *port, *found; port 87 sound/core/seq/seq_ports.c num = pinfo->addr.port; port 90 sound/core/seq/seq_ports.c list_for_each_entry(port, &client->ports_list_head, list) { port 91 sound/core/seq/seq_ports.c if (port->addr.port < num) port 93 sound/core/seq/seq_ports.c if (port->addr.port == num) { port 94 sound/core/seq/seq_ports.c found = port; port 97 sound/core/seq/seq_ports.c if (found == NULL || port->addr.port < found->addr.port) port 98 sound/core/seq/seq_ports.c found = port; port 149 sound/core/seq/seq_ports.c new_port->addr.port = -1; port 156 sound/core/seq/seq_ports.c num = port >= 0 ? port : 0; port 160 sound/core/seq/seq_ports.c if (p->addr.port > num) port 162 sound/core/seq/seq_ports.c if (port < 0) /* auto-probe mode */ port 163 sound/core/seq/seq_ports.c num = p->addr.port + 1; port 168 sound/core/seq/seq_ports.c new_port->addr.port = num; /* store the port number in the port */ port 197 sound/core/seq/seq_ports.c p = snd_seq_port_use_ptr(*cp, addr->port); port 231 sound/core/seq/seq_ports.c unsubscribe_port(client, port, grp, &subs->info, 0); port 262 sound/core/seq/seq_ports.c port->closing = 1; port 263 sound/core/seq/seq_ports.c snd_use_lock_sync(&port->use_lock); port 266 sound/core/seq/seq_ports.c clear_subscriber_list(client, port, &port->c_src, SRC_LIST); port 267 sound/core/seq/seq_ports.c clear_subscriber_list(client, port, &port->c_dest, DEST_LIST); port 269 sound/core/seq/seq_ports.c if (port->private_free) port 270 sound/core/seq/seq_ports.c port->private_free(port->private_data); port 272 sound/core/seq/seq_ports.c snd_BUG_ON(port->c_src.count != 0); port 273 sound/core/seq/seq_ports.c snd_BUG_ON(port->c_dest.count != 0); port 275 sound/core/seq/seq_ports.c kfree(port); port 289 sound/core/seq/seq_ports.c if (p->addr.port == port) { port 310 sound/core/seq/seq_ports.c struct snd_seq_client_port *port, *tmp; port 327 sound/core/seq/seq_ports.c list_for_each_entry_safe(port, tmp, &deleted_list, list) { port 328 sound/core/seq/seq_ports.c list_del(&port->list); port 329 sound/core/seq/seq_ports.c snd_seq_system_client_ev_port_exit(port->addr.client, port->addr.port); port 330 sound/core/seq/seq_ports.c port_delete(client, port); port 340 sound/core/seq/seq_ports.c if (snd_BUG_ON(!port || !info)) port 345 sound/core/seq/seq_ports.c strlcpy(port->name, info->name, sizeof(port->name)); port 348 sound/core/seq/seq_ports.c port->capability = info->capability; port 351 sound/core/seq/seq_ports.c port->type = info->type; port 354 sound/core/seq/seq_ports.c port->midi_channels = info->midi_channels; port 355 sound/core/seq/seq_ports.c port->midi_voices = info->midi_voices; port 356 sound/core/seq/seq_ports.c port->synth_voices = info->synth_voices; port 359 sound/core/seq/seq_ports.c port->timestamping = (info->flags & SNDRV_SEQ_PORT_FLG_TIMESTAMP) ? 1 : 0; port 360 sound/core/seq/seq_ports.c port->time_real = (info->flags & SNDRV_SEQ_PORT_FLG_TIME_REAL) ? 1 : 0; port 361 sound/core/seq/seq_ports.c port->time_queue = info->time_queue; port 370 sound/core/seq/seq_ports.c if (snd_BUG_ON(!port || !info)) port 374 sound/core/seq/seq_ports.c strlcpy(info->name, port->name, sizeof(info->name)); port 377 sound/core/seq/seq_ports.c info->capability = port->capability; port 380 sound/core/seq/seq_ports.c info->type = port->type; port 383 sound/core/seq/seq_ports.c info->midi_channels = port->midi_channels; port 384 sound/core/seq/seq_ports.c info->midi_voices = port->midi_voices; port 385 sound/core/seq/seq_ports.c info->synth_voices = port->synth_voices; port 388 sound/core/seq/seq_ports.c info->read_use = port->c_src.count; port 389 sound/core/seq/seq_ports.c info->write_use = port->c_dest.count; port 393 sound/core/seq/seq_ports.c if (port->timestamping) { port 395 sound/core/seq/seq_ports.c if (port->time_real) port 397 sound/core/seq/seq_ports.c info->time_queue = port->time_queue; port 426 sound/core/seq/seq_ports.c if (!try_module_get(port->owner)) port 429 sound/core/seq/seq_ports.c if (grp->open && (port->callback_all || grp->count == 1)) { port 430 sound/core/seq/seq_ports.c err = grp->open(port->private_data, info); port 432 sound/core/seq/seq_ports.c module_put(port->owner); port 437 sound/core/seq/seq_ports.c snd_seq_client_notify_subscription(port->addr.client, port->addr.port, port 454 sound/core/seq/seq_ports.c if (grp->close && (port->callback_all || grp->count == 0)) port 455 sound/core/seq/seq_ports.c err = grp->close(port->private_data, info); port 457 sound/core/seq/seq_ports.c snd_seq_client_notify_subscription(port->addr.client, port->addr.port, port 459 sound/core/seq/seq_ports.c module_put(port->owner); port 468 sound/core/seq/seq_ports.c return (r->client == s->client) && (r->port == s->port); port 658 sound/core/seq/seq_ports.c ret = portinfo.addr.port; port 676 sound/core/seq/seq_ports.c portinfo.addr.port = port; port 103 sound/core/seq/seq_ports.h #define snd_seq_port_unlock(port) snd_use_lock_free(&(port)->use_lock) port 351 sound/core/seq/seq_prioq.c ev->dest.port != info->dest.port) port 672 sound/core/seq/seq_queue.c sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; port 79 sound/core/seq/seq_system.c ev->source.port = announce_port; port 85 sound/core/seq/seq_system.c ev->data.addr.port = port; port 96 sound/core/seq/seq_system.c if (setheader(&ev, client, port) < 0) port 107 sound/core/seq/seq_system.c ev->source.port = announce_port; port 109 sound/core/seq/seq_system.c ev->dest.port = port; port 123 sound/core/seq/seq_system.c struct snd_seq_port_info *port; port 125 sound/core/seq/seq_system.c port = kzalloc(sizeof(*port), GFP_KERNEL); port 126 sound/core/seq/seq_system.c if (!port) port 137 sound/core/seq/seq_system.c strcpy(port->name, "Timer"); port 138 sound/core/seq/seq_system.c port->capability = SNDRV_SEQ_PORT_CAP_WRITE; /* accept queue control */ port 139 sound/core/seq/seq_system.c port->capability |= SNDRV_SEQ_PORT_CAP_READ|SNDRV_SEQ_PORT_CAP_SUBS_READ; /* for broadcast */ port 140 sound/core/seq/seq_system.c port->kernel = &pcallbacks; port 141 sound/core/seq/seq_system.c port->type = 0; port 142 sound/core/seq/seq_system.c port->flags = SNDRV_SEQ_PORT_FLG_GIVEN_PORT; port 143 sound/core/seq/seq_system.c port->addr.client = sysclient; port 144 sound/core/seq/seq_system.c port->addr.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; port 145 sound/core/seq/seq_system.c snd_seq_kernel_client_ctl(sysclient, SNDRV_SEQ_IOCTL_CREATE_PORT, port); port 148 sound/core/seq/seq_system.c strcpy(port->name, "Announce"); port 149 sound/core/seq/seq_system.c port->capability = SNDRV_SEQ_PORT_CAP_READ|SNDRV_SEQ_PORT_CAP_SUBS_READ; /* for broadcast only */ port 150 sound/core/seq/seq_system.c port->kernel = NULL; port 151 sound/core/seq/seq_system.c port->type = 0; port 152 sound/core/seq/seq_system.c port->flags = SNDRV_SEQ_PORT_FLG_GIVEN_PORT; port 153 sound/core/seq/seq_system.c port->addr.client = sysclient; port 154 sound/core/seq/seq_system.c port->addr.port = SNDRV_SEQ_PORT_SYSTEM_ANNOUNCE; port 155 sound/core/seq/seq_system.c snd_seq_kernel_client_ctl(sysclient, SNDRV_SEQ_IOCTL_CREATE_PORT, port); port 156 sound/core/seq/seq_system.c announce_port = port->addr.port; port 158 sound/core/seq/seq_system.c kfree(port); port 33 sound/core/seq/seq_system.h #define snd_seq_system_client_ev_port_start(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_START) port 34 sound/core/seq/seq_system.h #define snd_seq_system_client_ev_port_exit(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_EXIT) port 35 sound/core/seq/seq_system.h #define snd_seq_system_client_ev_port_change(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_CHANGE) port 61 sound/core/seq/seq_virmidi.c ev->source.port = vmidi->port; port 69 sound/core/seq/seq_virmidi.c ev->dest.port = vmidi->port; port 216 sound/core/seq/seq_virmidi.c vmidi->port = rdev->port; port 244 sound/core/seq/seq_virmidi.c vmidi->port = rdev->port; port 408 sound/core/seq/seq_virmidi.c rdev->port = pinfo->addr.port; port 300 sound/drivers/ml403-ac97cr.c #define CR_REG(ml403_ac97cr, x) ((ml403_ac97cr)->port + CR_REG_##x) port 356 sound/drivers/ml403-ac97cr.c void *port; port 1096 sound/drivers/ml403-ac97cr.c if (ml403_ac97cr->port != NULL) port 1097 sound/drivers/ml403-ac97cr.c iounmap(ml403_ac97cr->port); port 1134 sound/drivers/ml403-ac97cr.c ml403_ac97cr->port = NULL; port 1140 sound/drivers/ml403-ac97cr.c ml403_ac97cr->port = ioremap_nocache(resource->start, port 1143 sound/drivers/ml403-ac97cr.c if (ml403_ac97cr->port == NULL) { port 1152 sound/drivers/ml403-ac97cr.c "0x%x done\n", (unsigned int)ml403_ac97cr->port); port 1309 sound/drivers/ml403-ac97cr.c (unsigned long)ml403_ac97cr->port, ml403_ac97cr->irq, port 42 sound/drivers/mpu401/mpu401.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* MPU-401 port number */ port 81 sound/drivers/mpu401/mpu401.c sprintf(card->longname, "%s at %#lx, ", card->shortname, port[dev]); port 88 sound/drivers/mpu401/mpu401.c err = snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, port[dev], 0, port 92 sound/drivers/mpu401/mpu401.c printk(KERN_ERR "MPU401 not detected at 0x%lx\n", port[dev]); port 110 sound/drivers/mpu401/mpu401.c if (port[dev] == SNDRV_AUTO_PORT) { port 173 sound/drivers/mpu401/mpu401.c port[dev] = pnp_port_start(device, 0); port 262 sound/drivers/mpu401/mpu401_uart.c "(status = 0x%x, data = 0x%x)\n", cmd, mpu->port, port 559 sound/drivers/mpu401/mpu401_uart.c mpu->res = request_region(port, res_size, "MPU401 UART"); port 563 sound/drivers/mpu401/mpu401_uart.c port, res_size); port 575 sound/drivers/mpu401/mpu401_uart.c mpu->port = port; port 577 sound/drivers/mpu401/mpu401_uart.c mpu->cport = port + 2; port 579 sound/drivers/mpu401/mpu401_uart.c mpu->cport = port + 1; port 82 sound/drivers/mtpav.c static long port = MTPAV_IOBASE; /* 0x378, 0x278 */ port 142 sound/drivers/mtpav.c unsigned long port; port 228 sound/drivers/mtpav.c rval = inb(chip->port + SREG); port 231 sound/drivers/mtpav.c rval = inb(chip->port + CREG); port 244 sound/drivers/mtpav.c outb(val, chip->port + reg); port 587 sound/drivers/mtpav.c if ((mcard->res_port = request_region(port, 3, "MotuMTPAV MIDI")) == NULL) { port 588 sound/drivers/mtpav.c snd_printk("MTVAP port 0x%lx is busy\n", port); port 591 sound/drivers/mtpav.c mcard->port = port; port 729 sound/drivers/mtpav.c "MTPAV on parallel port at 0x%lx", port); port 739 sound/drivers/mtpav.c printk(KERN_INFO "Motu MidiTimePiece on parallel port irq: %d ioport: 0x%lx\n", irq, port); port 241 sound/drivers/mts64.c struct parport *p = mts->pardev->port; port 255 sound/drivers/mts64.c struct parport *p = mts->pardev->port; port 427 sound/drivers/mts64.c struct parport *p = mts->pardev->port; port 472 sound/drivers/mts64.c mts64_smpte_start(mts->pardev->port, port 477 sound/drivers/mts64.c mts64_smpte_stop(mts->pardev->port); port 844 sound/drivers/mts64.c ret = mts64_read(mts->pardev->port); port 998 sound/drivers/mts64.c snd_printd("Cannot claim parport 0x%lx\n", pardev->port->base); port 43 sound/drivers/opl3/opl3_lib.c unsigned long port; port 50 sound/drivers/opl3/opl3_lib.c port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; port 54 sound/drivers/opl3/opl3_lib.c outb((unsigned char) cmd, port); port 57 sound/drivers/opl3/opl3_lib.c outb((unsigned char) val, port + 1); port 66 sound/drivers/opl3/opl3_lib.c unsigned long port; port 73 sound/drivers/opl3/opl3_lib.c port = (cmd & OPL3_RIGHT) ? opl3->r_port : opl3->l_port; port 77 sound/drivers/opl3/opl3_lib.c outb((unsigned char) cmd, port); port 81 sound/drivers/opl3/opl3_lib.c outb((unsigned char) val, port + 1); port 99 sound/drivers/opl3/opl3_oss.c opl3->oss_chset->port = snd_seq_event_port_attach(opl3->seq_client, &callbacks, port 107 sound/drivers/opl3/opl3_oss.c if (opl3->oss_chset->port < 0) { port 108 sound/drivers/opl3/opl3_oss.c int port; port 109 sound/drivers/opl3/opl3_oss.c port = opl3->oss_chset->port; port 111 sound/drivers/opl3/opl3_oss.c return port; port 174 sound/drivers/opl3/opl3_oss.c arg->addr.port = opl3->oss_chset->port; port 197 sound/drivers/opl3/opl3_seq.c opl3->chset->port = snd_seq_event_port_attach(opl3->seq_client, &callbacks, port 207 sound/drivers/opl3/opl3_seq.c if (opl3->chset->port < 0) { port 208 sound/drivers/opl3/opl3_seq.c int port; port 209 sound/drivers/opl3/opl3_seq.c port = opl3->chset->port; port 211 sound/drivers/opl3/opl3_seq.c return port; port 163 sound/drivers/opl4/opl4_seq.c opl4->chset->port = snd_seq_event_port_attach(client, &pcallbacks, port 172 sound/drivers/opl4/opl4_seq.c if (opl4->chset->port < 0) { port 173 sound/drivers/opl4/opl4_seq.c int err = opl4->chset->port; port 78 sound/drivers/pcsp/pcsp.c pcsp_chip.port = 0x61; port 127 sound/drivers/pcsp/pcsp.c pcsp_chip.port); port 62 sound/drivers/pcsp/pcsp.h unsigned short port, irq, dma; port 196 sound/drivers/portman2x4.c parport_write_control(pm->pardev->port, value); port 201 sound/drivers/portman2x4.c return parport_read_control(pm->pardev->port); port 206 sound/drivers/portman2x4.c return parport_read_status(pm->pardev->port); port 211 sound/drivers/portman2x4.c return parport_read_data(pm->pardev->port); port 216 sound/drivers/portman2x4.c parport_write_data(pm->pardev->port, value); port 222 sound/drivers/portman2x4.c int command = ((port + 4) << 1); port 300 sound/drivers/portman2x4.c cmdout = (port << 1) | INT_EN; /* Address + IE + No Strobe. */ port 404 sound/drivers/portman2x4.c switch (port) { port 414 sound/drivers/portman2x4.c port); port 787 sound/drivers/portman2x4.c snd_printd("Cannot claim parport 0x%lx\n", pardev->port->base); port 73 sound/drivers/serial-u16550.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x3f8,0x2f8,0x3e8,0x2e8 */ port 947 sound/drivers/serial-u16550.c port[dev], port 148 sound/drivers/vx/vx_mixer.c int port = chip->type >= VX_TYPE_VXPOCKET ? 0x75 : 0x65; port 161 sound/drivers/vx/vx_mixer.c vx_set_codec_reg(chip, i, XX_CODEC_PORT_MODE_REGISTER, port); port 48 sound/isa/ad1816a/ad1816a.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ port 127 sound/isa/ad1816a/ad1816a.c port[dev] = pnp_port_start(pdev, 2); port 171 sound/isa/ad1816a/ad1816a.c if ((error = snd_ad1816a_create(card, port[dev], port 185 sound/isa/ad1816a/ad1816a.c card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]); port 596 sound/isa/ad1816a/ad1816a_lib.c if ((chip->res_port = request_region(port, 16, "AD1816A")) == NULL) { port 597 sound/isa/ad1816a/ad1816a_lib.c snd_printk(KERN_ERR "ad1816a: can't grab port 0x%lx\n", port); port 621 sound/isa/ad1816a/ad1816a_lib.c chip->port = port; port 47 sound/isa/ad1848/ad1848.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ port 72 sound/isa/ad1848/ad1848.c if (port[n] == SNDRV_AUTO_PORT) { port 98 sound/isa/ad1848/ad1848.c error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], -1, port 118 sound/isa/ad1848/ad1848.c pcm->name, chip->port, irq[n], dma1[n]); port 22 sound/isa/adlib.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; port 38 sound/isa/adlib.c if (port[n] == SNDRV_AUTO_PORT) { port 62 sound/isa/adlib.c card->private_data = request_region(port[n], 4, CRD_NAME); port 72 sound/isa/adlib.c sprintf(card->longname, CRD_NAME " at %#lx", port[n]); port 74 sound/isa/adlib.c error = snd_opl3_create(card, port[n], port[n] + 2, OPL3_HW_AUTO, 1, &opl3); port 51 sound/isa/als100.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ port 115 sound/isa/als100.c port[dev] = pnp_port_start(pdev, 0); port 177 sound/isa/als100.c if ((error = snd_sbdsp_create(card, port[dev], port 191 sound/isa/als100.c card->shortname, chip->name, chip->port, port 59 sound/isa/azt2320.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ port 122 sound/isa/azt2320.c port[dev] = pnp_port_start(pdev, 0); port 157 sound/isa/azt2320.c if (!(inb(port + 0x0c) & 0x80)) { port 158 sound/isa/azt2320.c outb(val, port + 0x0c); port 168 sound/isa/azt2320.c if ((error = snd_card_azt2320_command(port, 0x09))) port 170 sound/isa/azt2320.c if ((error = snd_card_azt2320_command(port, 0x00))) port 198 sound/isa/azt2320.c if ((error = snd_card_azt2320_enable_wss(port[dev]))) { port 215 sound/isa/azt2320.c card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]); port 538 sound/isa/cmi8330.c acard->wss->port, port 45 sound/isa/cs423x/cs4231.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ port 76 sound/isa/cs423x/cs4231.c if (port[n] == SNDRV_AUTO_PORT) { port 102 sound/isa/cs423x/cs4231.c error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], dma2[n], port 117 sound/isa/cs423x/cs4231.c pcm->name, chip->port, irq[n], dma1[n]); port 89 sound/isa/cs423x/cs4236.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ port 280 sound/isa/cs423x/cs4236.c port[dev] = pnp_port_start(pdev, 0); port 288 sound/isa/cs423x/cs4236.c port[dev], fm_port[dev], sb_port[dev]); port 413 sound/isa/cs423x/cs4236.c err = snd_wss_create(card, port[dev], cport[dev], port 431 sound/isa/cs423x/cs4236.c port[dev], cport[dev], port 450 sound/isa/cs423x/cs4236.c chip->port, port 490 sound/isa/cs423x/cs4236.c if (port[dev] == SNDRV_AUTO_PORT) { port 292 sound/isa/cs423x/cs4236_lib.c err = snd_wss_create(card, port, cport, port 45 sound/isa/dt019x.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ port 102 sound/isa/dt019x.c port[dev] = pnp_port_start(pdev, 0); port 106 sound/isa/dt019x.c port[dev],irq[dev],dma8[dev]); port 164 sound/isa/dt019x.c if ((error = snd_sbdsp_create(card, port[dev], port 179 sound/isa/dt019x.c card->shortname, chip->name, chip->port, port 51 sound/isa/es1688/es1688.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260 */ port 105 sound/isa/es1688/es1688.c if (port[n] != SNDRV_AUTO_PORT) port 106 sound/isa/es1688/es1688.c return snd_es1688_create(card, port[n], mpu_port[n], irq[n], port 111 sound/isa/es1688/es1688.c port[n] = possible_ports[i]; port 112 sound/isa/es1688/es1688.c error = snd_es1688_create(card, port[n], mpu_port[n], irq[n], port 146 sound/isa/es1688/es1688.c chip->port, chip->irq, chip->dma8); port 148 sound/isa/es1688/es1688.c if (snd_opl3_create(card, chip->port, chip->port + 2, port 151 sound/isa/es1688/es1688.c dev->bus_id, chip->port); port 112 sound/isa/es1688/es1688_lib.c snd_printd("ess_reset at 0x%lx: failed!!!\n", chip->port); port 143 sound/isa/es1688/es1688_lib.c snd_printdd("ESS: [0x%lx] reset failed... 0x%x\n", chip->port, inb(ES1688P(chip, READ))); port 161 sound/isa/es1688/es1688_lib.c snd_printdd("ESS: [0x%lx] found.. major = 0x%x, minor = 0x%x\n", chip->port, major, minor); port 170 sound/isa/es1688/es1688_lib.c snd_printk("[0x%lx] ESS: AudioDrive ES488 detected, but driver is in another place\n", chip->port); port 176 sound/isa/es1688/es1688_lib.c snd_printk("[0x%lx] ESS: unknown AudioDrive chip with version 0x%x (Jazz16 soundcard?)\n", chip->port, chip->version); port 240 sound/isa/es1688/es1688_lib.c snd_printk("[0x%lx] ESS: bad IRQ %d for ES1688 chip!!\n", chip->port, chip->irq); port 253 sound/isa/es1688/es1688_lib.c snd_printk("[0x%lx] ESS: bad DMA channel %d for ES1688 chip!!\n", chip->port, dma); port 656 sound/isa/es1688/es1688_lib.c if ((chip->res_port = request_region(port + 4, 12, "ES1688")) == NULL) { port 657 sound/isa/es1688/es1688_lib.c snd_printk(KERN_ERR "es1688: can't grab port 0x%lx\n", port + 4); port 677 sound/isa/es1688/es1688_lib.c chip->port = port; port 104 sound/isa/es18xx.c unsigned long port; /* port of ESS chip */ port 192 sound/isa/es18xx.c if ((inb(chip->port + 0x0C) & 0x80) == 0) { port 193 sound/isa/es18xx.c outb(val, chip->port + 0x0C); port 205 sound/isa/es18xx.c if (inb(chip->port + 0x0C) & 0x40) port 206 sound/isa/es18xx.c return inb(chip->port + 0x0A); port 208 sound/isa/es18xx.c chip->port + 0x0A, inb(chip->port + 0x0A)); port 298 sound/isa/es18xx.c outb(reg, chip->port + 0x04); port 299 sound/isa/es18xx.c outb(data, chip->port + 0x05); port 311 sound/isa/es18xx.c outb(reg, chip->port + 0x04); port 312 sound/isa/es18xx.c data = inb(chip->port + 0x05); port 327 sound/isa/es18xx.c outb(reg, chip->port + 0x04); port 328 sound/isa/es18xx.c old = inb(chip->port + 0x05); port 332 sound/isa/es18xx.c outb(new, chip->port + 0x05); port 348 sound/isa/es18xx.c outb(reg, chip->port + 0x04); port 349 sound/isa/es18xx.c old = inb(chip->port + 0x05); port 351 sound/isa/es18xx.c outb(expected, chip->port + 0x05); port 352 sound/isa/es18xx.c new = inb(chip->port + 0x05); port 365 sound/isa/es18xx.c outb(0x03, chip->port + 0x06); port 366 sound/isa/es18xx.c inb(chip->port + 0x06); port 367 sound/isa/es18xx.c outb(0x00, chip->port + 0x06); port 368 sound/isa/es18xx.c for(i = 0; i < MILLISECOND && !(inb(chip->port + 0x0E) & 0x80); i++); port 369 sound/isa/es18xx.c if (inb(chip->port + 0x0A) != 0xAA) port 376 sound/isa/es18xx.c outb(0x02, chip->port + 0x06); port 377 sound/isa/es18xx.c inb(chip->port + 0x06); port 378 sound/isa/es18xx.c outb(0x00, chip->port + 0x06); port 771 sound/isa/es18xx.c if (inb(chip->port + 0x0C) & 0x01) port 796 sound/isa/es18xx.c inb(chip->port + 0x0E); port 1569 sound/isa/es18xx.c snd_printk(KERN_ERR "reset at 0x%lx failed!!!\n", chip->port); port 1594 sound/isa/es18xx.c outb(0x40, chip->port + 0x04); port 1596 sound/isa/es18xx.c hi = inb(chip->port + 0x05); port 1598 sound/isa/es18xx.c lo = inb(chip->port + 0x05); port 1601 sound/isa/es18xx.c chip->ctrl_port = inb(chip->port + 0x05) << 8; port 1603 sound/isa/es18xx.c chip->ctrl_port += inb(chip->port + 0x05); port 1635 sound/isa/es18xx.c snd_printk(KERN_ERR PFX "[0x%lx] ESS chip not found\n", chip->port); port 1660 sound/isa/es18xx.c chip->port, chip->version); port 1664 sound/isa/es18xx.c snd_printd("[0x%lx] ESS%x chip found\n", chip->port, chip->version); port 1812 sound/isa/es18xx.c chip->port = port; port 1821 sound/isa/es18xx.c if ((chip->res_port = request_region(port, 16, "ES18xx")) == NULL) { port 1823 sound/isa/es18xx.c snd_printk(KERN_ERR PFX "unable to grap ports 0x%lx-0x%lx\n", port, port + 16 - 1); port 1991 sound/isa/es18xx.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260,0x280 */ port 2055 sound/isa/es18xx.c port[dev] = pnp_port_start(pdev, 0); port 2061 sound/isa/es18xx.c snd_printdd("PnP ES18xx: port=0x%lx, fm port=0x%lx, mpu port=0x%lx\n", port[dev], fm_port[dev], mpu_port[dev]); port 2142 sound/isa/es18xx.c port[dev], port 2156 sound/isa/es18xx.c chip->port, port 2161 sound/isa/es18xx.c chip->port, port 2237 sound/isa/es18xx.c if (port[dev] != SNDRV_AUTO_PORT) { port 2243 sound/isa/es18xx.c port[dev] = possible_ports[i]; port 390 sound/isa/gus/gus_io.c unsigned long port; port 399 sound/isa/gus/gus_io.c port = GUSP(gus, GF1DATALOW); port 411 sound/isa/gus/gus_io.c outw(value, port); port 162 sound/isa/gus/gus_main.c gus->gf1.port = port; port 173 sound/isa/gus/gus_main.c if ((gus->gf1.res_port1 = request_region(port, 16, "GUS GF1 (Adlib/SB)")) == NULL) { port 174 sound/isa/gus/gus_main.c snd_printk(KERN_ERR "gus: can't grab SB port 0x%lx\n", port); port 178 sound/isa/gus/gus_main.c if ((gus->gf1.res_port2 = request_region(port + 0x100, 12, "GUS GF1 (Synth)")) == NULL) { port 179 sound/isa/gus/gus_main.c snd_printk(KERN_ERR "gus: can't grab synth port 0x%lx\n", port + 0x100); port 242 sound/isa/gus/gus_main.c snd_printk(KERN_ERR "plain GF1 card at 0x%lx without onboard DRAM?\n", gus->gf1.port); port 370 sound/isa/gus/gus_main.c snd_printdd("GF1 [0x%lx] init - val = 0x%x, rev = 0x%x\n", gus->gf1.port, val, rev); port 395 sound/isa/gus/gus_main.c snd_printk(KERN_ERR "unknown GF1 revision number at 0x%lx - 0x%x (0x%x)\n", gus->gf1.port, rev, val); port 247 sound/isa/gus/gus_reset.c pvoice->port = port; port 252 sound/isa/gus/gus_reset.c pvoice->port = port; port 273 sound/isa/gus/gus_reset.c snd_gf1_alloc_voice_use(gus, pvoice, type, client, port); port 282 sound/isa/gus/gus_reset.c snd_gf1_alloc_voice_use(gus, pvoice, type, client, port); port 133 sound/isa/gus/gus_uart.c snd_printk("[0x%x] reg (ctrl/status) = 0x%x, reg (data) = 0x%x (page = 0x%x)\n", gus->gf1.port + 0x100, inb(gus->gf1.port + 0x100), inb(gus->gf1.port + 0x101), inb(gus->gf1.port + 0x102)); port 46 sound/isa/gus/gusclassic.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x230,0x240,0x250,0x260 */ port 115 sound/isa/gus/gusclassic.c if (port[n] != SNDRV_AUTO_PORT) port 116 sound/isa/gus/gusclassic.c return snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], port 121 sound/isa/gus/gusclassic.c port[n] = possible_ports[i]; port 122 sound/isa/gus/gusclassic.c error = snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], port 135 sound/isa/gus/gusclassic.c snd_printdd("[0x%lx] check 1 failed - 0x%x\n", gus->gf1.port, d); port 142 sound/isa/gus/gusclassic.c snd_printdd("[0x%lx] check 2 failed - 0x%x\n", gus->gf1.port, d); port 178 sound/isa/gus/gusclassic.c "not detected at 0x%lx\n", dev->bus_id, gus->gf1.port); port 198 sound/isa/gus/gusclassic.c gus->gf1.port, gus->gf1.irq, gus->gf1.dma1); port 50 sound/isa/gus/gusextreme.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260 */ port 123 sound/isa/gus/gusextreme.c if (port[n] != SNDRV_AUTO_PORT) port 124 sound/isa/gus/gusextreme.c return snd_es1688_create(card, port[n], mpu_port[n], irq[n], port 129 sound/isa/gus/gusextreme.c port[n] = possible_ports[i]; port 130 sound/isa/gus/gusextreme.c error = snd_es1688_create(card, port[n], mpu_port[n], irq[n], port 188 sound/isa/gus/gusextreme.c outb(gus->gf1.port & 0x040 ? 2 : 0, ES1688P(es1688, INIT1)); port 190 sound/isa/gus/gusextreme.c outb(gus->gf1.port & 0x020 ? 2 : 0, ES1688P(es1688, INIT1)); port 192 sound/isa/gus/gusextreme.c outb(gus->gf1.port & 0x010 ? 3 : 1, ES1688P(es1688, INIT1)); port 199 sound/isa/gus/gusextreme.c snd_printdd("[0x%lx] check 1 failed - 0x%x\n", gus->gf1.port, d); port 206 sound/isa/gus/gusextreme.c snd_printdd("[0x%lx] check 2 failed - 0x%x\n", gus->gf1.port, d); port 263 sound/isa/gus/gusextreme.c gf1_port[n] = es1688->port + 0x20; port 282 sound/isa/gus/gusextreme.c "detected at 0x%lx\n", dev->bus_id, gus->gf1.port); port 311 sound/isa/gus/gusextreme.c if (snd_opl3_create(card, es1688->port, es1688->port + 2, port 314 sound/isa/gus/gusextreme.c dev->bus_id, es1688->port); port 330 sound/isa/gus/gusextreme.c "irq %i&%i, dma %i&%i", es1688->port, port 44 sound/isa/gus/gusmax.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x230,0x240,0x250,0x260 */ port 91 sound/isa/gus/gusmax.c snd_printdd("[0x%lx] check 1 failed - 0x%x\n", gus->gf1.port, d); port 98 sound/isa/gus/gusmax.c snd_printdd("[0x%lx] check 2 failed - 0x%x\n", gus->gf1.port, d); port 134 sound/isa/gus/gusmax.c gus->max_cntrl_val = (gus->gf1.port >> 4) & 0x0f; port 251 sound/isa/gus/gusmax.c if (port[dev] != SNDRV_AUTO_PORT) { port 253 sound/isa/gus/gusmax.c port[dev], port 271 sound/isa/gus/gusmax.c port[dev] = possible_ports[i]; port 283 sound/isa/gus/gusmax.c maxcard->pcm_status_reg = gus->gf1.port + 0x10c + 2; port 289 sound/isa/gus/gusmax.c snd_printk(KERN_ERR PFX "GUS MAX soundcard was not detected at 0x%lx\n", gus->gf1.port); port 302 sound/isa/gus/gusmax.c gus->gf1.port + 0x10c, -1, xirq, port 336 sound/isa/gus/gusmax.c sprintf(card->longname + strlen(card->longname), " at 0x%lx, irq %i, dma %i", gus->gf1.port, xirq, xdma1); port 63 sound/isa/gus/interwave.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x210,0x220,0x230,0x240,0x250,0x260 */ port 170 sound/isa/gus/interwave.c unsigned long port = bus->private_value; port 173 sound/isa/gus/interwave.c printk("i2c_setlines - 0x%lx <- %i,%i\n", port, ctrl, data); port 175 sound/isa/gus/interwave.c outb((data << 1) | ctrl, port); port 181 sound/isa/gus/interwave.c unsigned long port = bus->private_value; port 184 sound/isa/gus/interwave.c res = inb(port) & 1; port 186 sound/isa/gus/interwave.c printk("i2c_getclockline - 0x%lx -> %i\n", port, res); port 193 sound/isa/gus/interwave.c unsigned long port = bus->private_value; port 198 sound/isa/gus/interwave.c res = (inb(port) & 2) >> 1; port 200 sound/isa/gus/interwave.c printk("i2c_getdataline - 0x%lx -> %i\n", port, res); port 215 sound/isa/gus/interwave.c unsigned long port; port 222 sound/isa/gus/interwave.c port = port_tc[dev]; port 223 sound/isa/gus/interwave.c if (port == SNDRV_AUTO_PORT) { port 224 sound/isa/gus/interwave.c port = 0x350; port 225 sound/isa/gus/interwave.c if (gus->gf1.port == 0x250) { port 226 sound/isa/gus/interwave.c port = 0x360; port 228 sound/isa/gus/interwave.c while (port <= 0x380) { port 229 sound/isa/gus/interwave.c if ((iwcard->i2c_res = request_region(port, 1, "InterWave (I2C bus)")) != NULL) port 231 sound/isa/gus/interwave.c port += 0x10; port 234 sound/isa/gus/interwave.c iwcard->i2c_res = request_region(port, 1, "InterWave (I2C bus)"); port 244 sound/isa/gus/interwave.c bus->private_value = port; port 267 sound/isa/gus/interwave.c snd_printdd("[0x%lx] check 1 failed - 0x%x\n", gus->gf1.port, d); port 274 sound/isa/gus/interwave.c snd_printdd("[0x%lx] check 2 failed - 0x%x\n", gus->gf1.port, d); port 283 sound/isa/gus/interwave.c snd_printdd("[0x%lx] InterWave check - rev1=0x%x, rev2=0x%x\n", gus->gf1.port, rev1, rev2); port 286 sound/isa/gus/interwave.c snd_printdd("[0x%lx] InterWave check - passed\n", gus->gf1.port); port 296 sound/isa/gus/interwave.c snd_printdd("[0x%lx] InterWave check - failed\n", gus->gf1.port); port 590 sound/isa/gus/interwave.c port[dev] = pnp_port_start(pdev, 0); port 663 sound/isa/gus/interwave.c port[dev], port 677 sound/isa/gus/interwave.c iwcard->pcm_status_reg = gus->gf1.port + 0x10c + 2; port 692 sound/isa/gus/interwave.c gus->gf1.port + 0x10c, -1, xirq, port 761 sound/isa/gus/interwave.c gus->gf1.port, port 832 sound/isa/gus/interwave.c if (port[dev] != SNDRV_AUTO_PORT) port 838 sound/isa/gus/interwave.c port[dev] = possible_ports[i]; port 54 sound/isa/opl3sa2.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0xf86,0x370,0x100 */ port 128 sound/isa/opl3sa2.c unsigned long port; /* control port */ port 181 sound/isa/opl3sa2.c outb(0x1d, port); /* password */ port 182 sound/isa/opl3sa2.c printk("read [0x%lx] = 0x%x\n", port, inb(port)); port 184 sound/isa/opl3sa2.c outb(reg, chip->port); /* register */ port 185 sound/isa/opl3sa2.c result = inb(chip->port + 1); port 187 sound/isa/opl3sa2.c printk("read [0x%lx] = 0x%x [0x%x]\n", port, result, inb(port)); port 208 sound/isa/opl3sa2.c outb(0x1d, port); /* password */ port 210 sound/isa/opl3sa2.c outb(reg, chip->port); /* register */ port 211 sound/isa/opl3sa2.c outb(value, chip->port + 1); port 227 sound/isa/opl3sa2.c unsigned long port; port 231 sound/isa/opl3sa2.c port = chip->port; port 232 sound/isa/opl3sa2.c if ((chip->res_port = request_region(port, 2, "OPL3-SA control")) == NULL) { port 233 sound/isa/opl3sa2.c snd_printk(KERN_ERR PFX "can't grab port 0x%lx\n", port); port 240 sound/isa/opl3sa2.c snd_printd("OPL3-SA [0x%lx] detect = 0x%x\n", port, tmp); port 261 sound/isa/opl3sa2.c snd_printd("OPL3-SA [0x%lx] detect (1) = 0x%x (0x%x)\n", port, tmp, tmp1); port 268 sound/isa/opl3sa2.c snd_printd("OPL3-SA [0x%lx] detect (2) = 0x%x (0x%x)\n", port, tmp, tmp1); port 600 sound/isa/opl3sa2.c port[dev] = pnp_port_start(pdev, 4); port 607 sound/isa/opl3sa2.c pnp_device_is_pnpbios(pdev) ? "BIOS" : "ISA", port[dev], dma1[dev], dma2[dev], irq[dev]); port 648 sound/isa/opl3sa2.c chip->port = port[dev]; port 702 sound/isa/opl3sa2.c card->shortname, chip->port, xirq, xdma1); port 848 sound/isa/opl3sa2.c if (port[dev] == SNDRV_AUTO_PORT) { port 54 sound/isa/opti9xx/miro.c static long port = SNDRV_DEFAULT_PORT1; /* 0x530,0xe80,0xf40,0x604 */ port 1262 sound/isa/opti9xx/miro.c miro->wss_base = port; port 70 sound/isa/opti9xx/opti92x-ad1848.c static long port = SNDRV_DEFAULT_PORT1; /* 0x530,0xe80,0xf40,0x604 */ port 121 sound/isa/opti9xx/opti92x-ad1848.c #define OPTi93X_PORT(chip, r) ((chip)->port + OPTi93X_##r) port 651 sound/isa/opti9xx/opti92x-ad1848.c port = pnp_port_start(pdev, 0) - 4; port 655 sound/isa/opti9xx/opti92x-ad1848.c port = pnp_port_start(pdev, 1); port 714 sound/isa/opti9xx/opti92x-ad1848.c chip->wss_base = port; port 55 sound/isa/sb/emu8000.c outw((unsigned short)val, port); /* Send data */ port 69 sound/isa/sb/emu8000.c res = inw(port); /* Read data */ port 83 sound/isa/sb/emu8000.c outw((unsigned short)val, port); /* Send low word of data */ port 84 sound/isa/sb/emu8000.c outw((unsigned short)(val>>16), port+2); /* Send high word of data */ port 99 sound/isa/sb/emu8000.c low = inw(port); /* Read low word of data */ port 100 sound/isa/sb/emu8000.c res = low + (inw(port+2) << 16); port 767 sound/isa/sb/emu8000.c unsigned short cmd, port; port 804 sound/isa/sb/emu8000.c int port; port 805 sound/isa/sb/emu8000.c if (reverb_cmds[i].port == DATA1) port 806 sound/isa/sb/emu8000.c port = EMU8000_DATA1(emu); port 808 sound/isa/sb/emu8000.c port = EMU8000_DATA2(emu); port 809 sound/isa/sb/emu8000.c snd_emu8000_poke(emu, port, reverb_cmds[i].cmd, reverb_parm[effect].parms[i]); port 1094 sound/isa/sb/emu8000.c hw->port1 = port; port 1095 sound/isa/sb/emu8000.c hw->port2 = port + 0x400; port 1096 sound/isa/sb/emu8000.c hw->port3 = port + 0x800; port 133 sound/isa/sb/emu8000_callback.c vp->port->ctrls[EMUX_MD_REALTIME_PAN]) port 41 sound/isa/sb/es968.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ port 95 sound/isa/sb/es968.c port[dev] = pnp_port_start(pdev, 0); port 121 sound/isa/sb/es968.c if ((error = snd_sbdsp_create(card, port[dev], port 150 sound/isa/sb/es968.c card->shortname, chip->name, chip->port, irq[dev], dma8[dev]); port 76 sound/isa/sb/sb16.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260,0x280 */ port 276 sound/isa/sb/sb16.c port[dev] = pnp_port_start(pdev, 0); port 283 sound/isa/sb/sb16.c port[dev], mpu_port[dev], fm_port[dev]); port 355 sound/isa/sb/sb16.c port[dev], port 366 sound/isa/sb/sb16.c snd_printk(KERN_ERR PFX "SB 16 chip was not detected at 0x%lx\n", port[dev]); port 384 sound/isa/sb/sb16.c chip->port, port 408 sound/isa/sb/sb16.c acard->fm_res != NULL || fm_port[dev] == port[dev], port 498 sound/isa/sb/sb16.c fm_port[dev] = port[dev]; port 503 sound/isa/sb/sb16.c awe_port[dev] = port[dev] + 0x400; port 547 sound/isa/sb/sb16.c if (port[dev] != SNDRV_AUTO_PORT) port 553 sound/isa/sb/sb16.c port[dev] = possible_ports[i]; port 838 sound/isa/sb/sb16_main.c snd_printk(KERN_ERR "SB16 [0x%lx]: unable to set DMA & IRQ (PnP device?)\n", chip->port); port 839 sound/isa/sb/sb16_main.c snd_printk(KERN_ERR "SB16 [0x%lx]: wanted: irqreg=0x%x, dmareg=0x%x, mpureg = 0x%x\n", chip->port, realirq, realdma, realmpureg); port 840 sound/isa/sb/sb16_main.c snd_printk(KERN_ERR "SB16 [0x%lx]: got: irqreg=0x%x, dmareg=0x%x, mpureg = 0x%x\n", chip->port, irqreg, dmareg, mpureg); port 41 sound/isa/sb/sb8.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260 */ port 116 sound/isa/sb/sb8.c if (port[dev] != SNDRV_AUTO_PORT) { port 117 sound/isa/sb/sb8.c if ((err = snd_sbdsp_create(card, port[dev], irq[dev], port 139 sound/isa/sb/sb8.c port[dev] = possible_ports[i]; port 151 sound/isa/sb/sb8.c port[dev]); port 154 sound/isa/sb/sb8.c port[dev]); port 166 sound/isa/sb/sb8.c if ((err = snd_opl3_create(card, chip->port + 8, 0, port 169 sound/isa/sb/sb8.c snd_printk(KERN_WARNING "sb8: no OPL device at 0x%lx\n", chip->port + 8); port 172 sound/isa/sb/sb8.c if ((err = snd_opl3_create(card, chip->port, chip->port + 2, port 176 sound/isa/sb/sb8.c chip->port, chip->port + 2); port 191 sound/isa/sb/sb8.c chip->port, port 54 sound/isa/sb/sb_common.c snd_printd("%s [0x%lx]: timeout (0x%x)\n", __func__, chip->port, val); port 71 sound/isa/sb/sb_common.c snd_printd("%s [0x%lx]: timeout\n", __func__, chip->port); port 90 sound/isa/sb/sb_common.c snd_printdd("%s [0x%lx] failed...\n", __func__, chip->port); port 129 sound/isa/sb/sb_common.c chip->port, major, minor); port 157 sound/isa/sb/sb_common.c chip->port, major, minor); port 235 sound/isa/sb/sb_common.c chip->port = port; port 251 sound/isa/sb/sb_common.c if ((chip->res_port = request_region(port, 16, "SoundBlaster")) == NULL) { port 252 sound/isa/sb/sb_common.c snd_printk(KERN_ERR "sb: can't grab port 0x%lx\n", port); port 50 sound/isa/sc6000.c static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220, 0x240 */ port 439 sound/isa/sc6000.c if (port[dev] == SNDRV_AUTO_PORT) { port 447 sound/isa/sc6000.c if (port[dev] != 0x220 && port[dev] != 0x240) { port 514 sound/isa/sc6000.c if (!request_region(port[dev], 0x10, DRV_NAME)) { port 520 sound/isa/sc6000.c vport = devm_ioport_map(devptr, port[dev], 0x10); port 544 sound/isa/sc6000.c port[dev], xirq, xdma, port 617 sound/isa/sc6000.c release_region(port[dev], 0x10); port 625 sound/isa/sc6000.c release_region(port[dev], 0x10); port 75 sound/isa/sgalaxy.c #define AD1848P1( port, x ) ( port + c_d_c_AD1848##x ) port 84 sound/isa/sgalaxy.c outb(1, SBP1(port, RESET)); port 86 sound/isa/sgalaxy.c outb(0, SBP1(port, RESET)); port 88 sound/isa/sgalaxy.c for (i = 0; i < 1000 && !(inb(SBP1(port, DATA_AVAIL)) & 0x80); i++); port 89 sound/isa/sgalaxy.c if (inb(SBP1(port, READ)) != 0xaa) { port 90 sound/isa/sgalaxy.c snd_printd("sb_reset: failed at 0x%lx!!!\n", port); port 102 sound/isa/sgalaxy.c if ((inb(SBP1(port, STATUS)) & 0x80) == 0) { port 103 sound/isa/sgalaxy.c outb(val, SBP1(port, COMMAND)); port 122 sound/isa/sgalaxy.c if ((tmp = inb(port + 3)) == 0xff) port 124 sound/isa/sgalaxy.c snd_printdd("I/O address dead (0x%lx)\n", port); port 135 sound/isa/sgalaxy.c port + 3); port 153 sound/isa/sgalaxy.c outb(tmp | 0x40, port); port 155 sound/isa/sgalaxy.c outb(tmp | tmp1, port); port 47 sound/isa/sscape.c static long port[SNDRV_CARDS] __devinitdata = SNDRV_DEFAULT_PORT; port 333 sound/isa/sscape.c return ((inb(MIDI_CTRL_IO(mpu->port)) & 0xc0) == 0x80); port 341 sound/isa/sscape.c outb(0, MIDI_DATA_IO(mpu->port)); port 939 sound/isa/sscape.c port, MPU401_INFO_INTEGRATED, port 1047 sound/isa/sscape.c port += 4; port 1052 sound/isa/sscape.c err = snd_wss_create(card, port, -1, irq, dma1, dma2, port 1139 sound/isa/sscape.c pcm->name, chip->port, chip->irq, port 1180 sound/isa/sscape.c xport = port[dev]; port 1340 sound/isa/sscape.c if (port[i] == SNDRV_AUTO_PORT) port 1408 sound/isa/sscape.c while (i < SNDRV_CARDS && port[i] != SNDRV_AUTO_PORT) port 1483 sound/isa/sscape.c port[idx] = pnp_port_start(dev, 0); port 1489 sound/isa/sscape.c wss_port[idx] = CODEC_IO(port[idx]); port 277 sound/isa/wavefront/wavefront.c sprintf (fx_processor->name, "YSS225 FX Processor at 0x%lx", port); port 301 sound/isa/wavefront/wavefront.c acard->wavefront.midi.base = port; port 522 sound/isa/wavefront/wavefront.c chip->port, port 1780 sound/isa/wavefront/wavefront_synth.c outb (val,port); port 166 sound/isa/wss/wss_lib.c outb(val, chip->port + offset); port 171 sound/isa/wss/wss_lib.c return inb(chip->port + offset); port 403 sound/isa/wss/wss_lib.c snd_printk("mce_up [0x%lx]: serious init problem - codec still busy\n", chip->port); port 430 sound/isa/wss/wss_lib.c snd_printk("mce_down [0x%lx]: serious init problem - codec still busy\n", chip->port); port 1257 sound/isa/wss/wss_lib.c snd_printdd("wss: port = 0x%lx, id = 0x%x\n", chip->port, id); port 1621 sound/isa/wss/wss_lib.c snd_printk("down [0x%lx]: serious init problem - codec still busy\n", chip->port); port 1764 sound/isa/wss/wss_lib.c chip->res_port = request_region(port, 4, "WSS"); port 1766 sound/isa/wss/wss_lib.c snd_printk(KERN_ERR "wss: can't grab port 0x%lx\n", port); port 1770 sound/isa/wss/wss_lib.c chip->port = port; port 504 sound/oss/aedsp16.c DBG1(("aedsp16_wait_data (0x%x): ", port)); port 507 sound/oss/aedsp16.c ret = inb(port + DSP_DATAVAIL); port 526 sound/oss/aedsp16.c DBG((" Read DSP Byte (0x%x): ", port)); port 528 sound/oss/aedsp16.c if (aedsp16_wait_data(port) == FALSE) { port 533 sound/oss/aedsp16.c inbyte = inb(port + DSP_READ); port 542 sound/oss/aedsp16.c return ((aedsp16_read(port) == 0xaa) ? TRUE : FALSE); port 553 sound/oss/aedsp16.c outb(1, (port + DSP_RESET)); port 555 sound/oss/aedsp16.c outb(0, (port + DSP_RESET)); port 558 sound/oss/aedsp16.c if (aedsp16_test_dsp(port) == TRUE) { port 571 sound/oss/aedsp16.c DBG((" Write DSP Byte (0x%x) [0x%x]: ", port, cmd)); port 574 sound/oss/aedsp16.c ret = inb(port + DSP_STATUS); port 579 sound/oss/aedsp16.c outb(cmd, port + DSP_COMMAND); port 677 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_6C)) { port 682 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_5C)) { port 687 sound/oss/aedsp16.c if (aedsp16_write(port, hard_cfg[0])) { port 692 sound/oss/aedsp16.c if (aedsp16_write(port, hard_cfg[1])) { port 697 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_C5)) { port 712 sound/oss/aedsp16.c if (aedsp16_write(port, READ_HARD_CFG)) { port 718 sound/oss/aedsp16.c if ((hard_cfg[0] = aedsp16_read(port)) == -1) { port 724 sound/oss/aedsp16.c if ((hard_cfg[1] = aedsp16_read(port)) == -1) { port 730 sound/oss/aedsp16.c if (aedsp16_read(port) == -1) { port 746 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_66)) { port 762 sound/oss/aedsp16.c if (aedsp16_write(port, extcfg)) { port 766 sound/oss/aedsp16.c if (aedsp16_write(port, 0)) { port 771 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_52)) { port 775 sound/oss/aedsp16.c if ((val = aedsp16_read(port)) == -1) { port 781 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_60)) { port 785 sound/oss/aedsp16.c if (aedsp16_write(port, val)) { port 797 sound/oss/aedsp16.c if (aedsp16_write(port, WRITE_MDIRQ_CFG)) { port 801 sound/oss/aedsp16.c if (aedsp16_write(port, soft_cfg)) { port 814 sound/oss/aedsp16.c if (aedsp16_write(port, DSP_INIT_MSS)) { port 823 sound/oss/aedsp16.c if (aedsp16_cfg_write(port) == FALSE) port 839 sound/oss/aedsp16.c if (aedsp16_hard_read(port) == FALSE) { port 844 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_52)) { port 849 sound/oss/aedsp16.c if ((val = aedsp16_read(port)) == -1) { port 857 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_88)) { port 862 sound/oss/aedsp16.c } while ((aedsp16_wait_data(port) == FALSE) && loop--); port 864 sound/oss/aedsp16.c if (aedsp16_read(port) == -1) { port 871 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_5C)) { port 877 sound/oss/aedsp16.c if (aedsp16_cfg_write(port) == FALSE) port 881 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_60)) { port 885 sound/oss/aedsp16.c if (aedsp16_write(port, val)) { port 889 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_6E)) { port 893 sound/oss/aedsp16.c if (aedsp16_write(port, ver[0])) { port 897 sound/oss/aedsp16.c if (aedsp16_write(port, ver[1])) { port 902 sound/oss/aedsp16.c if (aedsp16_hard_write(port) == FALSE) { port 907 sound/oss/aedsp16.c if (aedsp16_write(port, COMMAND_5C)) { port 913 sound/oss/aedsp16.c if (aedsp16_cfg_write(port) == FALSE) port 923 sound/oss/aedsp16.c if (aedsp16_write(port, WRITE_MDIRQ_CFG)) { port 930 sound/oss/aedsp16.c if (aedsp16_write(port, 0x0A)) { port 951 sound/oss/aedsp16.c if ((ret = aedsp16_read(port)) == -1) { port 982 sound/oss/aedsp16.c if ((ret = aedsp16_read(port)) == -1) { port 933 sound/oss/sb_common.c ess_setmixer (devc, port, value); port 939 sound/oss/sb_common.c outb(((unsigned char) (port & 0xff)), MIXER_ADDR); port 952 sound/oss/sb_common.c if (devc->model == MDL_ESS) return ess_getmixer (devc, port); port 956 sound/oss/sb_common.c outb(((unsigned char) (port & 0xff)), MIXER_ADDR); port 1575 sound/oss/sb_ess.c printk(KERN_INFO "FKS: write mixer %x: %x\n", port, value); port 1579 sound/oss/sb_ess.c if (port >= 0xa0) { port 1580 sound/oss/sb_ess.c ess_write (devc, port, value); port 1582 sound/oss/sb_ess.c outb(((unsigned char) (port & 0xff)), MIXER_ADDR); port 1598 sound/oss/sb_ess.c if (port >= 0xa0) { port 1599 sound/oss/sb_ess.c val = ess_read (devc, port); port 1601 sound/oss/sb_ess.c outb(((unsigned char) (port & 0xff)), MIXER_ADDR); port 1585 sound/oss/vwsnd.c port->swb_u_idx += inc; port 1586 sound/oss/vwsnd.c port->swb_u_idx %= port->swbuf_size; port 1587 sound/oss/vwsnd.c port->swb_u_avail -= inc; port 1588 sound/oss/vwsnd.c port->swb_i_avail += inc; port 1590 sound/oss/vwsnd.c return port->swb_u_avail; port 1598 sound/oss/vwsnd.c spin_lock_irqsave(&port->lock, flags); port 1600 sound/oss/vwsnd.c ret = __swb_inc_u(port, inc); port 1602 sound/oss/vwsnd.c spin_unlock_irqrestore(&port->lock, flags); port 1609 sound/oss/vwsnd.c port->swb_i_idx += inc; port 1610 sound/oss/vwsnd.c port->swb_i_idx %= port->swbuf_size; port 1611 sound/oss/vwsnd.c port->swb_i_avail -= inc; port 1612 sound/oss/vwsnd.c port->swb_u_avail += inc; port 1614 sound/oss/vwsnd.c return port->swb_i_avail; port 1622 sound/oss/vwsnd.c spin_lock_irqsave(&port->lock, flags); port 1624 sound/oss/vwsnd.c ret = __swb_inc_i(port, inc); port 1626 sound/oss/vwsnd.c spin_unlock_irqrestore(&port->lock, flags); port 168 sound/pci/ali5451/ali5451.c #define ALI_REG(codec, x) ((codec)->port + x) port 242 sound/pci/ali5451/ali5451.c unsigned long port; port 296 sound/pci/ali5451/ali5451.c return (unsigned int)inl(ALI_REG(codec, port)); port 303 sound/pci/ali5451/ali5451.c outl((unsigned int)val, ALI_REG(codec, port)); port 314 sound/pci/ali5451/ali5451.c res = snd_ali_5451_peek(codec,port); port 319 sound/pci/ali5451/ali5451.c snd_ali_5451_poke(codec, port, res & ~0x8000); port 348 sound/pci/ali5451/ali5451.c unsigned int port; port 355 sound/pci/ali5451/ali5451.c port = codec->chregs.regs.ac97write; port 357 sound/pci/ali5451/ali5451.c if (snd_ali_codec_ready(codec, port) < 0) port 369 sound/pci/ali5451/ali5451.c snd_ali_5451_poke(codec, port, dwVal); port 379 sound/pci/ali5451/ali5451.c unsigned int port; port 386 sound/pci/ali5451/ali5451.c port = codec->chregs.regs.ac97read; port 388 sound/pci/ali5451/ali5451.c if (snd_ali_codec_ready(codec, port) < 0) port 398 sound/pci/ali5451/ali5451.c snd_ali_5451_poke(codec, port, dwVal); port 402 sound/pci/ali5451/ali5451.c if (snd_ali_codec_ready(codec, port) < 0) port 405 sound/pci/ali5451/ali5451.c return (snd_ali_5451_peek(codec, port) & 0xffff0000) >> 16; port 2052 sound/pci/ali5451/ali5451.c if (codec->port) port 2149 sound/pci/ali5451/ali5451.c codec->port = pci_resource_start(codec->pci, 0); port 2335 sound/pci/ali5451/ali5451.c card->shortname, codec->port, codec->irq); port 121 sound/pci/als300.c unsigned long port; port 158 sound/pci/als300.c outb(reg, port+GCR_INDEX); port 159 sound/pci/als300.c return inl(port+GCR_DATA); port 165 sound/pci/als300.c outb(reg, port+GCR_INDEX); port 166 sound/pci/als300.c outl(val, port+GCR_DATA); port 172 sound/pci/als300.c u32 tmp = snd_als300_gcr_read(chip->port, MISC_CONTROL); port 183 sound/pci/als300.c snd_als300_gcr_write(chip->port, MISC_CONTROL, tmp); port 212 sound/pci/als300.c status = inb(chip->port+ALS300_IRQ_STATUS); port 217 sound/pci/als300.c outb(status, chip->port+ALS300_IRQ_STATUS); port 243 sound/pci/als300.c general = inb(chip->port+ALS300P_IRQ_STATUS); port 244 sound/pci/als300.c mpu = inb(chip->port+MPU_IRQ_STATUS); port 245 sound/pci/als300.c dram = inb(chip->port+ALS300P_DRAM_IRQ_STATUS); port 253 sound/pci/als300.c outb(IRQ_PLAYBACK, chip->port+ALS300P_IRQ_STATUS); port 262 sound/pci/als300.c outb(IRQ_CAPTURE, chip->port+ALS300P_IRQ_STATUS); port 289 sound/pci/als300.c if ((inb(chip->port+AC97_STATUS) & (AC97_BUSY)) == 0) port 293 sound/pci/als300.c outl((reg << 24) | (1 << 31), chip->port+AC97_ACCESS); port 296 sound/pci/als300.c if ((inb(chip->port+AC97_STATUS) & (AC97_DATA_AVAIL)) != 0) port 300 sound/pci/als300.c return inw(chip->port+AC97_READ); port 310 sound/pci/als300.c if ((inb(chip->port+AC97_STATUS) & (AC97_BUSY)) == 0) port 314 sound/pci/als300.c outl((reg << 24) | val, chip->port+AC97_ACCESS); port 467 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, PLAYBACK_CONTROL); port 476 sound/pci/als300.c snd_als300_gcr_write(chip->port, PLAYBACK_CONTROL, tmp); port 479 sound/pci/als300.c snd_als300_gcr_write(chip->port, PLAYBACK_START, port 481 sound/pci/als300.c snd_als300_gcr_write(chip->port, PLAYBACK_END, port 498 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, RECORD_CONTROL); port 509 sound/pci/als300.c snd_als300_gcr_write(chip->port, RECORD_CONTROL, tmp); port 510 sound/pci/als300.c snd_als300_gcr_write(chip->port, RECORD_START, port 512 sound/pci/als300.c snd_als300_gcr_write(chip->port, RECORD_END, port 535 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, reg); port 537 sound/pci/als300.c snd_als300_gcr_write(chip->port, reg, tmp | TRANSFER_START); port 542 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, reg); port 543 sound/pci/als300.c snd_als300_gcr_write(chip->port, reg, tmp & ~TRANSFER_START); port 547 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, reg); port 548 sound/pci/als300.c snd_als300_gcr_write(chip->port, reg, tmp | FIFO_PAUSE); port 552 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, reg); port 553 sound/pci/als300.c snd_als300_gcr_write(chip->port, reg, tmp & ~FIFO_PAUSE); port 577 sound/pci/als300.c current_ptr = (u16) snd_als300_gcr_read(chip->port, port 647 sound/pci/als300.c chip->revision = (snd_als300_gcr_read(chip->port, MISC_CONTROL) >> 16) port 650 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, DRAM_WRITE_CONTROL); port 651 sound/pci/als300.c snd_als300_gcr_write(chip->port, DRAM_WRITE_CONTROL, port 660 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, MISC_CONTROL); port 661 sound/pci/als300.c snd_als300_gcr_write(chip->port, MISC_CONTROL, port 665 sound/pci/als300.c snd_als300_gcr_write(chip->port, MUS_VOC_VOL, 0); port 668 sound/pci/als300.c tmp = snd_als300_gcr_read(chip->port, PLAYBACK_CONTROL); port 669 sound/pci/als300.c snd_als300_gcr_write(chip->port, PLAYBACK_CONTROL, port 717 sound/pci/als300.c chip->port = pci_resource_start(pci, 0); port 837 sound/pci/als300.c card->shortname, chip->port, chip->irq); port 49 sound/pci/au88x0/au88x0_mpu401.c unsigned long port; port 54 sound/pci/au88x0/au88x0_mpu401.c port = (0x03 << 5); /* FIXME: static address. 0x330 */ port 57 sound/pci/au88x0/au88x0_mpu401.c CTRL_MIDI_EN | port; port 94 sound/pci/au88x0/au88x0_mpu401.c port = (unsigned long)(vortex->mmio + VORTEX_MIDI_DATA); port 96 sound/pci/au88x0/au88x0_mpu401.c snd_mpu401_uart_new(vortex->card, 0, MPU401_HW_AUREAL, port, port 679 sound/pci/ca0106/ca0106.h unsigned long port; port 332 sound/pci/ca0106/ca0106_main.c outl(regptr, emu->port + PTR); port 333 sound/pci/ca0106/ca0106_main.c val = inl(emu->port + DATA); port 349 sound/pci/ca0106/ca0106_main.c outl(regptr, emu->port + PTR); port 350 sound/pci/ca0106/ca0106_main.c outl(data, emu->port + DATA); port 447 sound/pci/ca0106/ca0106_main.c intr_enable = inl(emu->port + INTE) | intrenb; port 448 sound/pci/ca0106/ca0106_main.c outl(intr_enable, emu->port + INTE); port 458 sound/pci/ca0106/ca0106_main.c intr_enable = inl(emu->port + INTE) & ~intrenb; port 459 sound/pci/ca0106/ca0106_main.c outl(intr_enable, emu->port + INTE); port 729 sound/pci/ca0106/ca0106_main.c hcfg = inl(emu->port + HCFG) ; port 731 sound/pci/ca0106/ca0106_main.c outl(hcfg, emu->port + HCFG); port 819 sound/pci/ca0106/ca0106_main.c hcfg = inl(emu->port + HCFG) ; port 821 sound/pci/ca0106/ca0106_main.c outl(hcfg, emu->port + HCFG); port 1069 sound/pci/ca0106/ca0106_main.c outb(reg, emu->port + AC97ADDRESS); port 1070 sound/pci/ca0106/ca0106_main.c val = inw(emu->port + AC97DATA); port 1082 sound/pci/ca0106/ca0106_main.c outb(reg, emu->port + AC97ADDRESS); port 1083 sound/pci/ca0106/ca0106_main.c outw(val, emu->port + AC97DATA); port 1112 sound/pci/ca0106/ca0106_main.c outl(0, chip->port + INTE); port 1117 sound/pci/ca0106/ca0106_main.c outl(0, chip->port + HCFG); port 1155 sound/pci/ca0106/ca0106_main.c status = inl(chip->port + IPR); port 1202 sound/pci/ca0106/ca0106_main.c outl(status, chip->port+IPR); port 1340 sound/pci/ca0106/ca0106_main.c chip->port = pci_resource_start(pci, 0); port 1341 sound/pci/ca0106/ca0106_main.c if ((chip->res_port = request_region(chip->port, 0x20, port 1387 sound/pci/ca0106/ca0106_main.c c->name, chip->port, chip->irq); port 1389 sound/pci/ca0106/ca0106_main.c outl(0, chip->port + INTE); port 1435 sound/pci/ca0106/ca0106_main.c outb(AC97_REC_GAIN, chip->port + AC97ADDRESS); port 1436 sound/pci/ca0106/ca0106_main.c outw(0x8000, chip->port + AC97DATA); port 1487 sound/pci/ca0106/ca0106_main.c outl(0x0, chip->port+GPIO); port 1489 sound/pci/ca0106/ca0106_main.c outl(0x005f5301, chip->port+GPIO); /* Analog */ port 1492 sound/pci/ca0106/ca0106_main.c outl(0x0, chip->port+GPIO); port 1494 sound/pci/ca0106/ca0106_main.c outl(0x005f5301, chip->port+GPIO); /* Analog */ port 1496 sound/pci/ca0106/ca0106_main.c outl(0x0, chip->port+GPIO); port 1497 sound/pci/ca0106/ca0106_main.c outl(0x005f03a3, chip->port+GPIO); /* Analog */ port 1505 sound/pci/ca0106/ca0106_main.c outl(HCFG_AC97 | HCFG_AUDIOENABLE, chip->port+HCFG); /* AC97 2.0, Enable outputs. */ port 1558 sound/pci/ca0106/ca0106_main.c midi->port + idx, 0); port 1563 sound/pci/ca0106/ca0106_main.c snd_ca0106_ptr_write((struct snd_ca0106 *)(midi->dev_id), midi->port + idx, 0, data); port 1573 sound/pci/ca0106/ca0106_main.c return ((struct snd_ca0106 *)dev_id)->port; port 1589 sound/pci/ca0106/ca0106_main.c midi->port = MIDI_UART_B_DATA; port 1597 sound/pci/ca0106/ca0106_main.c midi->port = MIDI_UART_A_DATA; port 110 sound/pci/ca0106/ca0106_mixer.c mask = inl(emu->port + GPIO) & ~0x101; port 111 sound/pci/ca0106/ca0106_mixer.c outl(mask, emu->port + GPIO); port 119 sound/pci/ca0106/ca0106_mixer.c mask = inl(emu->port + GPIO) | 0x101; port 120 sound/pci/ca0106/ca0106_mixer.c outl(mask, emu->port + GPIO); port 284 sound/pci/ca0106/ca0106_mixer.c tmp = inl(emu->port+GPIO) & ~0x400; port 286 sound/pci/ca0106/ca0106_mixer.c outl(tmp, emu->port+GPIO); port 290 sound/pci/ca0106/ca0106_mixer.c tmp = inl(emu->port+GPIO) & ~0x400; port 291 sound/pci/ca0106/ca0106_mixer.c outl(tmp, emu->port+GPIO); port 309 sound/pci/ca0106/ca0106_proc.c outl(val, emu->port + (reg & 0xfffffffc)); port 325 sound/pci/ca0106/ca0106_proc.c value = inl(emu->port + i); port 341 sound/pci/ca0106/ca0106_proc.c value = inw(emu->port + i); port 357 sound/pci/ca0106/ca0106_proc.c value = inb(emu->port + i); port 47 sound/pci/ca0106/ca_midi.h int port; port 1894 sound/pci/cs4281.c void __iomem *port; port 1897 sound/pci/cs4281.c port = chip->ba0 + BA0_B1AP; /* right port */ port 1899 sound/pci/cs4281.c port = chip->ba0 + BA0_B0AP; /* left port */ port 1903 sound/pci/cs4281.c writel((unsigned int)cmd, port); port 1906 sound/pci/cs4281.c writel((unsigned int)val, port + 4); port 301 sound/pci/cs5535audio/cs5535audio.c cs5535au->port = pci_resource_start(pci, 0); port 366 sound/pci/cs5535audio/cs5535audio.c cs5535au->port, cs5535au->irq); port 4 sound/pci/cs5535audio/cs5535audio.h #define cs_writel(cs5535au, reg, val) outl(val, (cs5535au)->port + reg) port 5 sound/pci/cs5535audio/cs5535audio.h #define cs_writeb(cs5535au, reg, val) outb(val, (cs5535au)->port + reg) port 6 sound/pci/cs5535audio/cs5535audio.h #define cs_readl(cs5535au, reg) inl((cs5535au)->port + reg) port 7 sound/pci/cs5535audio/cs5535audio.h #define cs_readw(cs5535au, reg) inw((cs5535au)->port + reg) port 8 sound/pci/cs5535audio/cs5535audio.h #define cs_readb(cs5535au, reg) inb((cs5535au)->port + reg) port 89 sound/pci/cs5535audio/cs5535audio.h unsigned long port; port 184 sound/pci/emu10k1/emu10k1.c card->shortname, emu->revision, emu->serial, emu->port, emu->irq); port 165 sound/pci/emu10k1/emu10k1_main.c emu->port + HCFG); port 176 sound/pci/emu10k1/emu10k1_main.c outl(0, emu->port + INTE); port 213 sound/pci/emu10k1/emu10k1_main.c outl(0x0201, emu->port + HCFG2); port 227 sound/pci/emu10k1/emu10k1_main.c outl(0x600000, emu->port + 0x20); port 228 sound/pci/emu10k1/emu10k1_main.c outl(0x14, emu->port + 0x24); port 231 sound/pci/emu10k1/emu10k1_main.c outl(0x7b0000, emu->port + 0x20); port 232 sound/pci/emu10k1/emu10k1_main.c outl(0xFF000000, emu->port + 0x24); port 238 sound/pci/emu10k1/emu10k1_main.c outl(0x7a0000, emu->port + 0x20); port 239 sound/pci/emu10k1/emu10k1_main.c outl(0xFF000000, emu->port + 0x24); port 240 sound/pci/emu10k1/emu10k1_main.c tmp = inl(emu->port + A_IOCFG) & ~0x8; /* Clear bit 3 */ port 241 sound/pci/emu10k1/emu10k1_main.c outl(tmp, emu->port + A_IOCFG); port 261 sound/pci/emu10k1/emu10k1_main.c outl(0x76, emu->port + A_IOCFG); /* Windows uses 0x3f76 */ port 267 sound/pci/emu10k1/emu10k1_main.c tmp = inl(emu->port + A_IOCFG); port 268 sound/pci/emu10k1/emu10k1_main.c outl(tmp | 0x4, emu->port + A_IOCFG); /* Set bit 2 for mic input */ port 269 sound/pci/emu10k1/emu10k1_main.c tmp = inl(emu->port + A_IOCFG); port 293 sound/pci/emu10k1/emu10k1_main.c HCFG_AUDIOENABLE, emu->port + HCFG); port 306 sound/pci/emu10k1/emu10k1_main.c HCFG_AUTOMUTE | HCFG_JOYENABLE, emu->port + HCFG); port 308 sound/pci/emu10k1/emu10k1_main.c outl(HCFG_AUTOMUTE | HCFG_JOYENABLE, emu->port + HCFG); port 314 sound/pci/emu10k1/emu10k1_main.c outl(HCFG_LOCKTANKCACHE_MASK | HCFG_AUTOMUTE, emu->port + HCFG); port 317 sound/pci/emu10k1/emu10k1_main.c outl(HCFG_LOCKTANKCACHE_MASK | HCFG_AUTOMUTE | HCFG_JOYENABLE, emu->port + HCFG); port 325 sound/pci/emu10k1/emu10k1_main.c unsigned int reg = inl(emu->port + A_IOCFG); port 326 sound/pci/emu10k1/emu10k1_main.c outl(reg | A_IOCFG_GPOUT2, emu->port + A_IOCFG); port 328 sound/pci/emu10k1/emu10k1_main.c outl(reg | A_IOCFG_GPOUT1 | A_IOCFG_GPOUT2, emu->port + A_IOCFG); port 330 sound/pci/emu10k1/emu10k1_main.c outl(reg, emu->port + A_IOCFG); port 332 sound/pci/emu10k1/emu10k1_main.c unsigned int reg = inl(emu->port + HCFG); port 333 sound/pci/emu10k1/emu10k1_main.c outl(reg | HCFG_GPOUT2, emu->port + HCFG); port 335 sound/pci/emu10k1/emu10k1_main.c outl(reg | HCFG_GPOUT1 | HCFG_GPOUT2, emu->port + HCFG); port 337 sound/pci/emu10k1/emu10k1_main.c outl(reg, emu->port + HCFG); port 346 sound/pci/emu10k1/emu10k1_main.c unsigned int reg = inl(emu->port + A_IOCFG); port 347 sound/pci/emu10k1/emu10k1_main.c outl(reg | A_IOCFG_GPOUT0, emu->port + A_IOCFG); port 358 sound/pci/emu10k1/emu10k1_main.c outl(inl(emu->port + HCFG) | HCFG_AUDIOENABLE, emu->port + HCFG); port 366 sound/pci/emu10k1/emu10k1_main.c outl(inl(emu->port + A_IOCFG) & ~0x44, emu->port + A_IOCFG); port 372 sound/pci/emu10k1/emu10k1_main.c outl(inl(emu->port + A_IOCFG) | 0x0040, emu->port + A_IOCFG); port 375 sound/pci/emu10k1/emu10k1_main.c outl(inl(emu->port + A_IOCFG) | 0x0060, emu->port + A_IOCFG); port 378 sound/pci/emu10k1/emu10k1_main.c outl(inl(emu->port + A_IOCFG) | 0x0080, emu->port + A_IOCFG); port 388 sound/pci/emu10k1/emu10k1_main.c tmp = inl(emu->port + HCFG); port 390 sound/pci/emu10k1/emu10k1_main.c outl(tmp|0x800, emu->port + HCFG); port 392 sound/pci/emu10k1/emu10k1_main.c if (tmp != (inl(emu->port + HCFG) & ~0x800)) { port 394 sound/pci/emu10k1/emu10k1_main.c outl(tmp, emu->port + HCFG); port 407 sound/pci/emu10k1/emu10k1_main.c outl(0, emu->port + INTE); port 443 sound/pci/emu10k1/emu10k1_main.c outl(HCFG_LOCKSOUNDCACHE | HCFG_LOCKTANKCACHE_MASK | HCFG_MUTEBUTTONENABLE, emu->port + HCFG); port 533 sound/pci/emu10k1/emu10k1_main.c hc_port = emu->port + HCFG; port 603 sound/pci/emu10k1/emu10k1_main.c hc_value = inl(emu->port + HCFG); port 604 sound/pci/emu10k1/emu10k1_main.c outl(hc_value | HCFG_AUDIOENABLE | HCFG_CODECFORMAT_I2S, emu->port + HCFG); port 605 sound/pci/emu10k1/emu10k1_main.c inl(emu->port + HCFG); port 640 sound/pci/emu10k1/emu10k1_main.c special_port = emu->port + 0x38; port 682 sound/pci/emu10k1/emu10k1_main.c outl(0x00, emu->port + A_IOCFG); /* Set PGMN low for 1uS. */ port 683 sound/pci/emu10k1/emu10k1_main.c write_post = inl(emu->port + A_IOCFG); port 685 sound/pci/emu10k1/emu10k1_main.c outl(0x80, emu->port + A_IOCFG); /* Leave bit 7 set during netlist setup. */ port 686 sound/pci/emu10k1/emu10k1_main.c write_post = inl(emu->port + A_IOCFG); port 695 sound/pci/emu10k1/emu10k1_main.c outl(reg, emu->port + A_IOCFG); port 696 sound/pci/emu10k1/emu10k1_main.c write_post = inl(emu->port + A_IOCFG); port 697 sound/pci/emu10k1/emu10k1_main.c outl(reg | 0x40, emu->port + A_IOCFG); port 698 sound/pci/emu10k1/emu10k1_main.c write_post = inl(emu->port + A_IOCFG); port 702 sound/pci/emu10k1/emu10k1_main.c outl(0x10, emu->port + A_IOCFG); port 703 sound/pci/emu10k1/emu10k1_main.c write_post = inl(emu->port + A_IOCFG); port 816 sound/pci/emu10k1/emu10k1_main.c outl(0x0005a00c, emu->port + HCFG); port 821 sound/pci/emu10k1/emu10k1_main.c outl(0x0005a004, emu->port + HCFG); port 825 sound/pci/emu10k1/emu10k1_main.c outl(0x0005a000, emu->port + HCFG); port 829 sound/pci/emu10k1/emu10k1_main.c outl(0x0005a000, emu->port + HCFG); port 1076 sound/pci/emu10k1/emu10k1_main.c outl(0x0000a000, emu->port + HCFG); port 1081 sound/pci/emu10k1/emu10k1_main.c outl(0x0000a001, emu->port + HCFG); port 1249 sound/pci/emu10k1/emu10k1_main.c if (emu->port) { /* avoid access to already used hardware */ port 1279 sound/pci/emu10k1/emu10k1_main.c if (emu->port) port 1820 sound/pci/emu10k1/emu10k1_main.c emu->port = pci_resource_start(pci, 0); port 2015 sound/pci/emu10k1/emu10k1_main.c emu->saved_a_iocfg = inl(emu->port + A_IOCFG); port 2016 sound/pci/emu10k1/emu10k1_main.c emu->saved_hcfg = inl(emu->port + HCFG); port 2042 sound/pci/emu10k1/emu10k1_main.c outl(emu->saved_a_iocfg, emu->port + A_IOCFG); port 2043 sound/pci/emu10k1/emu10k1_main.c outl(emu->saved_hcfg, emu->port + HCFG); port 223 sound/pci/emu10k1/emu10k1x.c int port; port 233 sound/pci/emu10k1/emu10k1x.c unsigned long port; port 305 sound/pci/emu10k1/emu10k1x.c outl(regptr, emu->port + PTR); port 306 sound/pci/emu10k1/emu10k1x.c val = inl(emu->port + DATA); port 322 sound/pci/emu10k1/emu10k1x.c outl(regptr, emu->port + PTR); port 323 sound/pci/emu10k1/emu10k1x.c outl(data, emu->port + DATA); port 333 sound/pci/emu10k1/emu10k1x.c intr_enable = inl(emu->port + INTE) | intrenb; port 334 sound/pci/emu10k1/emu10k1x.c outl(intr_enable, emu->port + INTE); port 344 sound/pci/emu10k1/emu10k1x.c intr_enable = inl(emu->port + INTE) & ~intrenb; port 345 sound/pci/emu10k1/emu10k1x.c outl(intr_enable, emu->port + INTE); port 354 sound/pci/emu10k1/emu10k1x.c outl(value, emu->port + GPIO); port 711 sound/pci/emu10k1/emu10k1x.c outb(reg, emu->port + AC97ADDRESS); port 712 sound/pci/emu10k1/emu10k1x.c val = inw(emu->port + AC97DATA); port 724 sound/pci/emu10k1/emu10k1x.c outb(reg, emu->port + AC97ADDRESS); port 725 sound/pci/emu10k1/emu10k1x.c outw(val, emu->port + AC97DATA); port 753 sound/pci/emu10k1/emu10k1x.c outl(0, chip->port + INTE); port 755 sound/pci/emu10k1/emu10k1x.c outl(HCFG_LOCKSOUNDCACHE, chip->port + HCFG); port 791 sound/pci/emu10k1/emu10k1x.c status = inl(chip->port + IPR); port 827 sound/pci/emu10k1/emu10k1x.c outl(status, chip->port + IPR); port 920 sound/pci/emu10k1/emu10k1x.c chip->port = pci_resource_start(pci, 0); port 921 sound/pci/emu10k1/emu10k1x.c if ((chip->res_port = request_region(chip->port, 8, port 923 sound/pci/emu10k1/emu10k1x.c snd_printk(KERN_ERR "emu10k1x: cannot allocate the port 0x%lx\n", chip->port); port 950 sound/pci/emu10k1/emu10k1x.c outl(0, chip->port + INTE); port 994 sound/pci/emu10k1/emu10k1x.c outl(HCFG_LOCKSOUNDCACHE|HCFG_AUDIOENABLE, chip->port+HCFG); port 1016 sound/pci/emu10k1/emu10k1x.c value = inl(emu->port + i); port 1205 sound/pci/emu10k1/emu10k1x.c return (unsigned char)snd_emu10k1x_ptr_read(emu, mpu->port + idx, 0); port 1210 sound/pci/emu10k1/emu10k1x.c snd_emu10k1x_ptr_write(emu, mpu->port + idx, 0, data); port 1307 sound/pci/emu10k1/emu10k1x.c cmd, emu->port, port 1525 sound/pci/emu10k1/emu10k1x.c midi->port = MUDATA; port 1589 sound/pci/emu10k1/emu10k1x.c card->shortname, chip->port, chip->irq); port 2402 sound/pci/emu10k1/emufx.c outl(HCFG_LOCKTANKCACHE_MASK | inl(emu->port + HCFG), emu->port + HCFG); port 2420 sound/pci/emu10k1/emufx.c outl(inl(emu->port + HCFG) & ~HCFG_LOCKTANKCACHE_MASK, emu->port + HCFG); port 2705 sound/pci/emu10k1/emufx.c outl(HCFG_LOCKTANKCACHE_MASK | inl(emu->port + HCFG), emu->port + HCFG); port 2708 sound/pci/emu10k1/emufx.c outl(inl(emu->port + HCFG) & ~HCFG_LOCKTANKCACHE_MASK, emu->port + HCFG); port 882 sound/pci/emu10k1/emumixer.c gpio = inl(emu->port + A_IOCFG); port 884 sound/pci/emu10k1/emumixer.c outl(gpio | 0x4, emu->port + A_IOCFG); port 886 sound/pci/emu10k1/emumixer.c outl(gpio & ~0x4, emu->port + A_IOCFG); port 1578 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = inl(emu->port + A_IOCFG) & A_IOCFG_GPOUT0 ? 1 : 0; port 1580 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = inl(emu->port + HCFG) & HCFG_GPOUT0 ? 1 : 0; port 1603 sound/pci/emu10k1/emumixer.c reg = inl(emu->port + A_IOCFG); port 1609 sound/pci/emu10k1/emumixer.c outl(reg | val, emu->port + A_IOCFG); port 1612 sound/pci/emu10k1/emumixer.c reg = inl(emu->port + HCFG); port 1618 sound/pci/emu10k1/emumixer.c outl(reg | val, emu->port + HCFG); port 34 sound/pci/emu10k1/emumpu401.c return (unsigned char)snd_emu10k1_ptr_read(emu, mpu->port + idx, 0); port 36 sound/pci/emu10k1/emumpu401.c return inb(emu->port + mpu->port + idx); port 43 sound/pci/emu10k1/emumpu401.c snd_emu10k1_ptr_write(emu, mpu->port + idx, 0, data); port 45 sound/pci/emu10k1/emumpu401.c outb(data, emu->port + mpu->port + idx); port 145 sound/pci/emu10k1/emumpu401.c cmd, emu->port, port 362 sound/pci/emu10k1/emumpu401.c midi->port = MUDATA; port 380 sound/pci/emu10k1/emumpu401.c midi->port = A_MUDATA1; port 391 sound/pci/emu10k1/emumpu401.c midi->port = A_MUDATA2; port 787 sound/pci/emu10k1/emupcm.c outl(epcm->capture_ipr, emu->port + IPR); port 813 sound/pci/emu10k1/emupcm.c outl(epcm->capture_ipr, emu->port + IPR); port 438 sound/pci/emu10k1/emuproc.c value = inl(emu->port + i); port 456 sound/pci/emu10k1/emuproc.c outl(val, emu->port + (reg & 0xfffffffc)); port 473 sound/pci/emu10k1/emuproc.c outl(regptr, emu->port + iobase + PTR); port 474 sound/pci/emu10k1/emuproc.c val = inl(emu->port + iobase + DATA); port 491 sound/pci/emu10k1/emuproc.c outl(regptr, emu->port + iobase + PTR); port 492 sound/pci/emu10k1/emuproc.c outl(data, emu->port + iobase + DATA); port 51 sound/pci/emu10k1/io.c outl(regptr, emu->port + PTR); port 52 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); port 58 sound/pci/emu10k1/io.c outl(regptr, emu->port + PTR); port 59 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); port 90 sound/pci/emu10k1/io.c outl(regptr, emu->port + PTR); port 91 sound/pci/emu10k1/io.c data |= inl(emu->port + DATA) & ~mask; port 92 sound/pci/emu10k1/io.c outl(data, emu->port + DATA); port 96 sound/pci/emu10k1/io.c outl(regptr, emu->port + PTR); port 97 sound/pci/emu10k1/io.c outl(data, emu->port + DATA); port 114 sound/pci/emu10k1/io.c outl(regptr, emu->port + 0x20 + PTR); port 115 sound/pci/emu10k1/io.c val = inl(emu->port + 0x20 + DATA); port 131 sound/pci/emu10k1/io.c outl(regptr, emu->port + 0x20 + PTR); port 132 sound/pci/emu10k1/io.c outl(data, emu->port + 0x20 + DATA); port 260 sound/pci/emu10k1/io.c outl(reg, emu->port + A_IOCFG); port 262 sound/pci/emu10k1/io.c outl(reg | 0x80, emu->port + A_IOCFG); /* High bit clocks the value into the fpga. */ port 264 sound/pci/emu10k1/io.c outl(value, emu->port + A_IOCFG); port 266 sound/pci/emu10k1/io.c outl(value | 0x80 , emu->port + A_IOCFG); /* High bit clocks the value into the fpga. */ port 279 sound/pci/emu10k1/io.c outl(reg, emu->port + A_IOCFG); port 281 sound/pci/emu10k1/io.c outl(reg | 0x80, emu->port + A_IOCFG); /* High bit clocks the value into the fpga. */ port 283 sound/pci/emu10k1/io.c *value = ((inl(emu->port + A_IOCFG) >> 8) & 0x7f); port 308 sound/pci/emu10k1/io.c enable = inl(emu->port + INTE) | intrenb; port 309 sound/pci/emu10k1/io.c outl(enable, emu->port + INTE); port 319 sound/pci/emu10k1/io.c enable = inl(emu->port + INTE) & ~intrenb; port 320 sound/pci/emu10k1/io.c outl(enable, emu->port + INTE); port 332 sound/pci/emu10k1/io.c outl(CLIEH << 16, emu->port + PTR); port 333 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); port 336 sound/pci/emu10k1/io.c outl(CLIEL << 16, emu->port + PTR); port 337 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); port 340 sound/pci/emu10k1/io.c outl(val, emu->port + DATA); port 352 sound/pci/emu10k1/io.c outl(CLIEH << 16, emu->port + PTR); port 353 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); port 356 sound/pci/emu10k1/io.c outl(CLIEL << 16, emu->port + PTR); port 357 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); port 360 sound/pci/emu10k1/io.c outl(val, emu->port + DATA); port 371 sound/pci/emu10k1/io.c outl(CLIPH << 16, emu->port + PTR); port 374 sound/pci/emu10k1/io.c outl(CLIPL << 16, emu->port + PTR); port 377 sound/pci/emu10k1/io.c outl(voicenum, emu->port + DATA); port 389 sound/pci/emu10k1/io.c outl(HLIEH << 16, emu->port + PTR); port 390 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); port 393 sound/pci/emu10k1/io.c outl(HLIEL << 16, emu->port + PTR); port 394 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); port 397 sound/pci/emu10k1/io.c outl(val, emu->port + DATA); port 409 sound/pci/emu10k1/io.c outl(HLIEH << 16, emu->port + PTR); port 410 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); port 413 sound/pci/emu10k1/io.c outl(HLIEL << 16, emu->port + PTR); port 414 sound/pci/emu10k1/io.c val = inl(emu->port + DATA); port 417 sound/pci/emu10k1/io.c outl(val, emu->port + DATA); port 428 sound/pci/emu10k1/io.c outl(HLIPH << 16, emu->port + PTR); port 431 sound/pci/emu10k1/io.c outl(HLIPL << 16, emu->port + PTR); port 434 sound/pci/emu10k1/io.c outl(voicenum, emu->port + DATA); port 446 sound/pci/emu10k1/io.c outl(SOLEH << 16, emu->port + PTR); port 447 sound/pci/emu10k1/io.c sol = inl(emu->port + DATA); port 450 sound/pci/emu10k1/io.c outl(SOLEL << 16, emu->port + PTR); port 451 sound/pci/emu10k1/io.c sol = inl(emu->port + DATA); port 454 sound/pci/emu10k1/io.c outl(sol, emu->port + DATA); port 466 sound/pci/emu10k1/io.c outl(SOLEH << 16, emu->port + PTR); port 467 sound/pci/emu10k1/io.c sol = inl(emu->port + DATA); port 470 sound/pci/emu10k1/io.c outl(SOLEL << 16, emu->port + PTR); port 471 sound/pci/emu10k1/io.c sol = inl(emu->port + DATA); port 474 sound/pci/emu10k1/io.c outl(sol, emu->port + DATA); port 483 sound/pci/emu10k1/io.c curtime = inl(emu->port + WC) >> 6; port 487 sound/pci/emu10k1/io.c newtime = inl(emu->port + WC) >> 6; port 504 sound/pci/emu10k1/io.c outb(reg, emu->port + AC97ADDRESS); port 505 sound/pci/emu10k1/io.c val = inw(emu->port + AC97DATA); port 516 sound/pci/emu10k1/io.c outb(reg, emu->port + AC97ADDRESS); port 517 sound/pci/emu10k1/io.c outw(data, emu->port + AC97DATA); port 39 sound/pci/emu10k1/irq.c while (((status = inl(emu->port + IPR)) != 0) && (timeout < 1000)) { port 155 sound/pci/emu10k1/irq.c while ((status2 = inl(emu->port + IPR2)) != 0) { port 176 sound/pci/emu10k1/irq.c outl(orig_status2, emu->port + IPR2); /* ack all */ port 202 sound/pci/emu10k1/irq.c outl(orig_status, emu->port + IPR); /* ack all */ port 416 sound/pci/emu10k1/p16v.c enable = inl(emu->port + INTE2) | intrenb; port 417 sound/pci/emu10k1/p16v.c outl(enable, emu->port + INTE2); port 427 sound/pci/emu10k1/p16v.c disable = inl(emu->port + INTE2) & (~intrenb); port 428 sound/pci/emu10k1/p16v.c outl(disable, emu->port + INTE2); port 44 sound/pci/emu10k1/timer.c outw(delay & TIMER_RATE_MASK, emu->port + TIMER); port 141 sound/pci/ens1370.c #define ES_REG(ensoniq, x) ((ensoniq)->port + ES_REG_##x) port 391 sound/pci/ens1370.c unsigned long port; port 1849 sound/pci/ens1370.c int port = ensoniq->gameport->io; port 1855 sound/pci/ens1370.c release_region(port, 8); port 2105 sound/pci/ens1370.c ensoniq->port = pci_resource_start(pci, 0); port 2456 sound/pci/ens1370.c ensoniq->port, port 76 sound/pci/fm801.c #define FM801_REG(chip, reg) (chip->port + FM801_##reg) port 159 sound/pci/fm801.c unsigned long port; /* I/O port number */ port 225 sound/pci/fm801.c old = inw(chip->port + reg); port 229 sound/pci/fm801.c outw(new, chip->port + reg); port 1052 sound/pci/fm801.c ucontrol->value.integer.value[0] = (inw(chip->port + reg) >> shift) & mask; port 1109 sound/pci/fm801.c ucontrol->value.integer.value[0] = (inw(chip->port + reg) >> shift_left) & mask; port 1110 sound/pci/fm801.c ucontrol->value.integer.value[1] = (inw(chip->port + reg) >> shift_right) & mask; port 1416 sound/pci/fm801.c chip->port = pci_resource_start(pci, 0); port 1484 sound/pci/fm801.c card->shortname, chip->port, chip->irq); port 1550 sound/pci/fm801.c chip->saved_regs[i] = inw(chip->port + saved_regs[i]); port 1579 sound/pci/fm801.c outw(chip->saved_regs[i], chip->port + saved_regs[i]); port 53 sound/pci/ice1712/envy24ht.h #define ICEREG1724(ice, x) ((ice)->port + VT1724_REG_##x) port 2490 sound/pci/ice1712/ice1712.c if (!ice->port) port 2500 sound/pci/ice1712/ice1712.c if (ice->port) port 2583 sound/pci/ice1712/ice1712.c ice->port = pci_resource_start(pci, 0); port 2763 sound/pci/ice1712/ice1712.c card->shortname, ice->port, ice->irq); port 40 sound/pci/ice1712/ice1712.h #define ICEREG(ice, x) ((ice)->port + ICE1712_REG_##x) port 299 sound/pci/ice1712/ice1712.h unsigned long port; port 1464 sound/pci/ice1712/ice1724.c idx, inb(ice->port+idx)); port 2324 sound/pci/ice1712/ice1724.c if (!ice->port) port 2393 sound/pci/ice1712/ice1724.c ice->port = pci_resource_start(pci, 0); port 2588 sound/pci/ice1712/ice1724.c card->shortname, ice->port, ice->irq); port 667 sound/pci/intel8x0.c unsigned long port = ichdev->reg_offset; port 669 sound/pci/intel8x0.c iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr); port 698 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi = ICH_REG_LVI_MASK); port 700 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CIV, 0); port 708 sound/pci/intel8x0.c iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI); port 736 sound/pci/intel8x0.c unsigned long port = ichdev->reg_offset; port 742 sound/pci/intel8x0.c status = igetbyte(chip, port + ichdev->roff_sr); port 743 sound/pci/intel8x0.c civ = igetbyte(chip, port + ICH_REG_OFF_CIV); port 765 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi); port 773 sound/pci/intel8x0.c ichdev->bdbar[ichdev->lvi * 2 + 1], inb(ICH_REG_OFF_PIV + port), port 774 sound/pci/intel8x0.c inl(port + 4), inb(port + ICH_REG_OFF_CR)); port 785 sound/pci/intel8x0.c iputbyte(chip, port + ichdev->roff_sr, port 831 sound/pci/intel8x0.c unsigned long port = ichdev->reg_offset; port 855 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, val); port 858 sound/pci/intel8x0.c while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH)) ; port 860 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, ICH_RESETREGS); port 869 sound/pci/intel8x0.c unsigned long port = ichdev->reg_offset; port 889 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, ICH_IOCE); port 901 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, 0); port 902 sound/pci/intel8x0.c while (igetbyte(chip, port + ICH_REG_OFF_CR)) port 907 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, ICH_RESETREGS); port 909 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_SR, port 910 sound/pci/intel8x0.c igetbyte(chip, port + ICH_REG_OFF_SR) | 0x1e); port 2602 sound/pci/intel8x0.c unsigned long port = ichdev->reg_offset; port 2607 sound/pci/intel8x0.c iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr); port 2608 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi); port 2609 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CIV, ichdev->civ); port 2610 sound/pci/intel8x0.c iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI); port 2624 sound/pci/intel8x0.c unsigned long port; port 2647 sound/pci/intel8x0.c port = ichdev->reg_offset; port 2652 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, ICH_IOCE | ICH_STARTBM); port 2654 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, ICH_IOCE); port 2670 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, 0); port 2671 sound/pci/intel8x0.c while (igetbyte(chip, port + ICH_REG_OFF_CR)) port 2674 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, 0); port 2675 sound/pci/intel8x0.c while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH)) port 2678 sound/pci/intel8x0.c iputbyte(chip, port + ICH_REG_OFF_CR, ICH_RESETREGS); port 392 sound/pci/intel8x0m.c unsigned long port = ichdev->reg_offset; port 394 sound/pci/intel8x0m.c iputdword(chip, port + ICH_REG_OFF_BDBAR, ichdev->bdbar_addr); port 418 sound/pci/intel8x0m.c iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi = ICH_REG_LVI_MASK); port 420 sound/pci/intel8x0m.c iputbyte(chip, port + ICH_REG_OFF_CIV, 0); port 428 sound/pci/intel8x0m.c iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI); port 437 sound/pci/intel8x0m.c unsigned long port = ichdev->reg_offset; port 441 sound/pci/intel8x0m.c civ = igetbyte(chip, port + ICH_REG_OFF_CIV); port 460 sound/pci/intel8x0m.c iputbyte(chip, port + ICH_REG_OFF_LVI, ichdev->lvi); port 470 sound/pci/intel8x0m.c ichdev->bdbar[ichdev->lvi * 2 + 1], inb(ICH_REG_OFF_PIV + port), port 471 sound/pci/intel8x0m.c inl(port + 4), inb(port + ICH_REG_OFF_CR)); port 483 sound/pci/intel8x0m.c iputbyte(chip, port + ichdev->roff_sr, ICH_FIFOE | ICH_BCIS | ICH_LVBCI); port 528 sound/pci/intel8x0m.c unsigned long port = ichdev->reg_offset; port 548 sound/pci/intel8x0m.c iputbyte(chip, port + ICH_REG_OFF_CR, val); port 551 sound/pci/intel8x0m.c while (!(igetbyte(chip, port + ichdev->roff_sr) & ICH_DCH)) ; port 553 sound/pci/intel8x0m.c iputbyte(chip, port + ICH_REG_OFF_CR, ICH_RESETREGS); port 350 sound/pci/nm256/nm256.c snd_nm256_writel(chip, port, coeff_buf); port 354 sound/pci/nm256/nm256.c snd_nm256_writel(chip, port + 4, coeff_buf + size); port 241 sound/pci/oxygen/oxygen_io.c oxygen_write8(chip, OXYGEN_MPU401 + port, data); port 1247 sound/pci/pcxhr/pcxhr.c mgr->port[i] = pci_resource_start(pci, i); port 1262 sound/pci/pcxhr/pcxhr.c mgr->port[0], mgr->port[1], mgr->port[2], mgr->irq); port 65 sound/pci/pcxhr/pcxhr.h unsigned long port[3]; port 71 sound/pci/pcxhr/pcxhr_core.c #define PCXHR_INPB(mgr,x) inb((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) port 72 sound/pci/pcxhr/pcxhr_core.c #define PCXHR_INPL(mgr,x) inl((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) port 73 sound/pci/pcxhr/pcxhr_core.c #define PCXHR_OUTPB(mgr,x,data) outb((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) port 74 sound/pci/pcxhr/pcxhr_core.c #define PCXHR_OUTPL(mgr,x,data) outl((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x)) port 392 sound/pci/riptide/riptide.c struct cmdport port[2]; /* command ports */ port 447 sound/pci/riptide/riptide.c unsigned long port; port 899 sound/pci/riptide/riptide.c cmdport = &(hwport->port[j % 2]); port 1231 sound/pci/riptide/riptide.c WRITE_PORT_ULONG(cif->hwport->port[i].data1, 0); port 1232 sound/pci/riptide/riptide.c WRITE_PORT_ULONG(cif->hwport->port[i].data2, 0); port 1819 sound/pci/riptide/riptide.c cif->hwport = (struct riptideport *)chip->port; port 1892 sound/pci/riptide/riptide.c chip->port = pci_resource_start(pci, 0); port 1899 sound/pci/riptide/riptide.c request_region(chip->port, 64, "RIPTIDE")) == NULL) { port 1902 sound/pci/riptide/riptide.c chip->port, chip->port + 64 - 1); port 1906 sound/pci/riptide/riptide.c hwport = (struct riptideport *)chip->port; port 1955 sound/pci/riptide/riptide.c (i % 16) ? ' ' : '\n', i, inl(chip->port + i)); port 2170 sound/pci/riptide/riptide.c card->shortname, chip->port, chip->irq, chip->mpuaddr, port 2175 sound/pci/riptide/riptide.c card->shortname, chip->port, chip->irq, chip->mpuaddr, port 197 sound/pci/rme32.c unsigned long port; port 669 sound/pci/rme32.c runtime->dma_addr = rme32->port + RME32_IO_DATA_BUFFER; port 724 sound/pci/rme32.c runtime->dma_addr = rme32->port + RME32_IO_DATA_BUFFER; port 1318 sound/pci/rme32.c if (rme32->port) { port 1320 sound/pci/rme32.c rme32->port = 0; port 1351 sound/pci/rme32.c rme32->port = pci_resource_start(rme32->pci, 0); port 1353 sound/pci/rme32.c rme32->iobase = ioremap_nocache(rme32->port, RME32_IO_SIZE); port 1356 sound/pci/rme32.c rme32->port, rme32->port + RME32_IO_SIZE - 1); port 1972 sound/pci/rme32.c card->shortname, rme32->rev, rme32->port, rme32->irq); port 206 sound/pci/rme96.c unsigned long port; port 956 sound/pci/rme96.c runtime->dma_addr = rme96->port + RME96_IO_PLAY_BUFFER; port 1009 sound/pci/rme96.c runtime->dma_addr = rme96->port + RME96_IO_REC_BUFFER; port 1525 sound/pci/rme96.c if (rme96->port) { port 1527 sound/pci/rme96.c rme96->port = 0; port 1560 sound/pci/rme96.c rme96->port = pci_resource_start(rme96->pci, 0); port 1562 sound/pci/rme96.c rme96->iobase = ioremap_nocache(rme96->port, RME96_IO_SIZE); port 1564 sound/pci/rme96.c snd_printk(KERN_ERR "unable to remap memory region 0x%lx-0x%lx\n", rme96->port, rme96->port + RME96_IO_SIZE - 1); port 2385 sound/pci/rme96.c rme96->port, rme96->irq); port 479 sound/pci/rme9652/hdsp.c unsigned long port; port 3309 sound/pci/rme9652/hdsp.c hdsp->irq, hdsp->port, (unsigned long)hdsp->iobase); port 4870 sound/pci/rme9652/hdsp.c hdsp->port, hdsp->irq); port 5024 sound/pci/rme9652/hdsp.c hdsp->port = pci_resource_start(pci, 0); port 5025 sound/pci/rme9652/hdsp.c if ((hdsp->iobase = ioremap_nocache(hdsp->port, HDSP_IO_EXTENT)) == NULL) { port 5026 sound/pci/rme9652/hdsp.c snd_printk(KERN_ERR "Hammerfall-DSP: unable to remap region 0x%lx-0x%lx\n", hdsp->port, hdsp->port + HDSP_IO_EXTENT - 1); port 5099 sound/pci/rme9652/hdsp.c if (hdsp->port) { port 5114 sound/pci/rme9652/hdsp.c if (hdsp->port) port 5160 sound/pci/rme9652/hdsp.c hdsp->port, hdsp->irq); port 474 sound/pci/rme9652/hdspm.c unsigned long port; port 2966 sound/pci/rme9652/hdspm.c hdspm->irq, hdspm->port, (unsigned long)hdspm->iobase); port 3158 sound/pci/rme9652/hdspm.c hdspm->irq, hdspm->port, (unsigned long)hdspm->iobase); port 4400 sound/pci/rme9652/hdspm.c hdspm->port = pci_resource_start(pci, 0); port 4404 sound/pci/rme9652/hdspm.c hdspm->port, hdspm->port + io_extent - 1); port 4407 sound/pci/rme9652/hdspm.c hdspm->iobase = ioremap_nocache(hdspm->port, io_extent); port 4411 sound/pci/rme9652/hdspm.c hdspm->port, hdspm->port + io_extent - 1); port 4415 sound/pci/rme9652/hdspm.c (unsigned long)hdspm->iobase, hdspm->port, port 4416 sound/pci/rme9652/hdspm.c hdspm->port + io_extent - 1); port 4458 sound/pci/rme9652/hdspm.c if (hdspm->port) { port 4476 sound/pci/rme9652/hdspm.c if (hdspm->port) port 4527 sound/pci/rme9652/hdspm.c hdspm->port, hdspm->irq); port 205 sound/pci/rme9652/rme9652.c unsigned long port; port 1604 sound/pci/rme9652/rme9652.c rme9652->irq, rme9652->port, (unsigned long)rme9652->iobase); port 1785 sound/pci/rme9652/rme9652.c if (rme9652->port) port 2475 sound/pci/rme9652/rme9652.c rme9652->port = pci_resource_start(pci, 0); port 2476 sound/pci/rme9652/rme9652.c rme9652->iobase = ioremap_nocache(rme9652->port, RME9652_IO_EXTENT); port 2478 sound/pci/rme9652/rme9652.c snd_printk(KERN_ERR "unable to remap region 0x%lx-0x%lx\n", rme9652->port, rme9652->port + RME9652_IO_EXTENT - 1); port 2617 sound/pci/rme9652/rme9652.c card->shortname, rme9652->port, rme9652->irq); port 127 sound/pci/trident/trident.c card->shortname, trident->port, trident->irq); port 3593 sound/pci/trident/trident_main.c trident->port = pci_resource_start(pci, 0); port 3853 sound/pci/trident/trident_main.c pvoice->port = port; port 132 sound/pci/via82xx.c #define VIAREG(via, x) ((via)->port + VIA_REG_##x) port 133 sound/pci/via82xx.c #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) port 320 sound/pci/via82xx.c unsigned long port; port 352 sound/pci/via82xx.c unsigned long port; port 1371 sound/pci/via82xx.c chip->devs[idx].port = chip->port + reg_offset; port 1537 sound/pci/via82xx.c unsigned long port = chip->port + (kcontrol->id.index ? (VIA_REG_CAPTURE_CHANNEL + 0x10) : VIA_REG_CAPTURE_CHANNEL); port 1538 sound/pci/via82xx.c ucontrol->value.enumerated.item[0] = inb(port) & VIA_REG_CAPTURE_CHANNEL_MIC ? 1 : 0; port 1546 sound/pci/via82xx.c unsigned long port = chip->port + (kcontrol->id.index ? (VIA_REG_CAPTURE_CHANNEL + 0x10) : VIA_REG_CAPTURE_CHANNEL); port 1550 sound/pci/via82xx.c oval = inb(port); port 1555 sound/pci/via82xx.c outb(val, port); port 1643 sound/pci/via82xx.c unsigned long port = chip->port + 0x10 * idx; port 1655 sound/pci/via82xx.c outb(val, port + VIA_REG_OFS_PLAYBACK_VOLUME_L + i); port 1678 sound/pci/via82xx.c unsigned long port = chip->port + 0x10 * idx; port 1680 sound/pci/via82xx.c outb(val, port + VIA_REG_OFS_PLAYBACK_VOLUME_L + i); port 2032 sound/pci/via82xx.c snd_iprintf(buffer, "%02x: %08x\n", i, inl(chip->port + i)); port 2148 sound/pci/via82xx.c unsigned long port = chip->port + 0x10 * idx; port 2152 sound/pci/via82xx.c port + VIA_REG_OFS_PLAYBACK_VOLUME_L + i); port 2181 sound/pci/via82xx.c chip->capture_src_saved[0] = inb(chip->port + VIA_REG_CAPTURE_CHANNEL); port 2182 sound/pci/via82xx.c chip->capture_src_saved[1] = inb(chip->port + VIA_REG_CAPTURE_CHANNEL + 0x10); port 2216 sound/pci/via82xx.c outb(chip->capture_src_saved[0], chip->port + VIA_REG_CAPTURE_CHANNEL); port 2217 sound/pci/via82xx.c outb(chip->capture_src_saved[1], chip->port + VIA_REG_CAPTURE_CHANNEL + 0x10); port 2303 sound/pci/via82xx.c chip->port = pci_resource_start(pci, 0); port 2519 sound/pci/via82xx.c snd_ac97_get_short_name(chip->ac97), chip->port, chip->irq); port 77 sound/pci/via82xx_modem.c #define VIAREG(via, x) ((via)->port + VIA_REG_##x) port 78 sound/pci/via82xx_modem.c #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) port 221 sound/pci/via82xx_modem.c unsigned long port; port 241 sound/pci/via82xx_modem.c unsigned long port; port 830 sound/pci/via82xx_modem.c chip->devs[idx].port = chip->port + reg_offset; port 924 sound/pci/via82xx_modem.c snd_iprintf(buffer, "%02x: %08x\n", i, inl(chip->port + i)); port 1127 sound/pci/via82xx_modem.c chip->port = pci_resource_start(pci, 0); port 1201 sound/pci/via82xx_modem.c card->shortname, chip->port, chip->irq); port 123 sound/pci/vx222/vx222.c if (vx->port[0]) port 169 sound/pci/vx222/vx222.c vx->port[i] = pci_resource_start(pci, i + 1); port 231 sound/pci/vx222/vx222.c card->shortname, vx->port[0], vx->port[1], vx->core.irq); port 233 sound/pci/vx222/vx222.c card->shortname, vx->port[0], vx->port[1], vx->core.irq); port 32 sound/pci/vx222/vx222.h unsigned long port[2]; port 90 sound/pci/vx222/vx222_ops.c return chip->port[vx2_reg_index[reg]] + vx2_reg_offset[reg]; port 252 sound/pci/vx222/vx222_ops.c unsigned long port = vx2_reg_addr(chip, VX_DMA); port 269 sound/pci/vx222/vx222_ops.c outl(cpu_to_le32(*addr), port); port 279 sound/pci/vx222/vx222_ops.c outl(cpu_to_le32(*addr), port); port 293 sound/pci/vx222/vx222_ops.c unsigned long port = vx2_reg_addr(chip, VX_DMA); port 307 sound/pci/vx222/vx222_ops.c *addr++ = le32_to_cpu(inl(port)); port 315 sound/pci/vx222/vx222_ops.c *addr++ = le32_to_cpu(inl(port)); port 337 sound/pci/vx222/vx222_ops.c vx2_outl(chip, port, val); port 338 sound/pci/vx222/vx222_ops.c vx2_inl(chip, port); port 345 sound/pci/vx222/vx222_ops.c vx2_outl(chip, port, val); port 346 sound/pci/vx222/vx222_ops.c vx2_inl(chip, port); port 350 sound/pci/vx222/vx222_ops.c vx2_outl(chip, port, val); port 351 sound/pci/vx222/vx222_ops.c vx2_inl(chip, port); port 363 sound/pci/vx222/vx222_ops.c unsigned int port; port 375 sound/pci/vx222/vx222_ops.c port = VX_CNTRL; port 377 sound/pci/vx222/vx222_ops.c port = VX_GPIOC; /* VX222 V2 and VX222_MIC_BOARD with new PLX9030 use this register */ port 381 sound/pci/vx222/vx222_ops.c if (put_xilinx_data(chip, port, 8, *image) < 0) port 386 sound/pci/vx222/vx222_ops.c put_xilinx_data(chip, port, 4, 0xff); /* end signature */ port 172 sound/pcmcia/pdaudiocf/pdaudiocf.c snd_printdd(KERN_DEBUG "pdacf assign resources: port = 0x%x, irq = %d\n", port, irq); port 173 sound/pcmcia/pdaudiocf/pdaudiocf.c pdacf->port = port; port 184 sound/pcmcia/pdaudiocf/pdaudiocf.c card->shortname, port, irq); port 90 sound/pcmcia/pdaudiocf/pdaudiocf.h unsigned long port; port 125 sound/pcmcia/pdaudiocf/pdaudiocf.h outw(chip->regmap[reg>>1] = val, chip->port + reg); port 130 sound/pcmcia/pdaudiocf/pdaudiocf.h return inw(chip->port + reg); port 70 sound/pcmcia/pdaudiocf/pdaudiocf_core.c while (inw(chip->port + PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { port 78 sound/pcmcia/pdaudiocf/pdaudiocf_core.c outw((u16)reg << 8 | val | (1<<13), chip->port + PDAUDIOCF_REG_AK_IFR); port 85 sound/pcmcia/pdaudiocf/pdaudiocf_core.c printk("PDAUDIOCF DUMP (0x%lx):\n", chip->port); port 86 sound/pcmcia/pdaudiocf/pdaudiocf_core.c printk("WPD : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_WDP)); port 87 sound/pcmcia/pdaudiocf/pdaudiocf_core.c printk("RDP : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_RDP)); port 88 sound/pcmcia/pdaudiocf/pdaudiocf_core.c printk("TCR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_TCR)); port 89 sound/pcmcia/pdaudiocf/pdaudiocf_core.c printk("SCR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_SCR)); port 90 sound/pcmcia/pdaudiocf/pdaudiocf_core.c printk("ISR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_ISR)); port 91 sound/pcmcia/pdaudiocf/pdaudiocf_core.c printk("IER : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_IER)); port 92 sound/pcmcia/pdaudiocf/pdaudiocf_core.c printk("AK_IFR : 0x%x\n", inw(chip->port + PDAUDIOCF_REG_AK_IFR)); port 249 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = inw(chip->port + PDAUDIOCF_REG_IER); port 251 sound/pcmcia/pdaudiocf/pdaudiocf_core.c outw(val, chip->port + PDAUDIOCF_REG_IER); port 264 sound/pcmcia/pdaudiocf/pdaudiocf_core.c val = inw(chip->port + PDAUDIOCF_REG_IER); port 266 sound/pcmcia/pdaudiocf/pdaudiocf_core.c outw(val, chip->port + PDAUDIOCF_REG_IER); port 39 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c stat = inw(chip->port + PDAUDIOCF_REG_ISR); port 209 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD; port 270 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c rdp = inw(chip->port + PDAUDIOCF_REG_RDP); port 271 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c wdp = inw(chip->port + PDAUDIOCF_REG_WDP); port 287 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD; port 293 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD; port 81 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c while (inw(chip->port + PDAUDIOCF_REG_RDP) != inw(chip->port + PDAUDIOCF_REG_WDP)) { port 84 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c inw(chip->port + PDAUDIOCF_REG_MD); port 54 sound/pcmcia/vx/vxp_ops.c return chip->port + vxp_reg_offset[reg]; port 367 sound/pcmcia/vx/vxp_ops.c long port = vxp_reg_addr(chip, VX_DMA); port 378 sound/pcmcia/vx/vxp_ops.c outw(cpu_to_le16(*addr), port); port 388 sound/pcmcia/vx/vxp_ops.c outw(cpu_to_le16(*addr), port); port 407 sound/pcmcia/vx/vxp_ops.c long port = vxp_reg_addr(chip, VX_DMA); port 420 sound/pcmcia/vx/vxp_ops.c *addr++ = le16_to_cpu(inw(port)); port 428 sound/pcmcia/vx/vxp_ops.c *addr++ = le16_to_cpu(inw(port)); port 433 sound/pcmcia/vx/vxp_ops.c *addr = le16_to_cpu(inw(port)); port 192 sound/pcmcia/vx/vxpocket.c snd_printdd(KERN_DEBUG "vxpocket assign resources: port = 0x%x, irq = %d\n", port, irq); port 193 sound/pcmcia/vx/vxpocket.c vxp->port = port; port 197 sound/pcmcia/vx/vxpocket.c card->shortname, port, irq); port 35 sound/pcmcia/vx/vxpocket.h unsigned long port; port 203 sound/soc/omap/omap-mcbsp.c unsigned long port; port 207 sound/soc/omap/omap-mcbsp.c port = omap1_mcbsp_port[bus_id][substream->stream]; port 210 sound/soc/omap/omap-mcbsp.c port = omap2420_mcbsp_port[bus_id][substream->stream]; port 213 sound/soc/omap/omap-mcbsp.c port = omap2430_mcbsp_port[bus_id][substream->stream]; port 216 sound/soc/omap/omap-mcbsp.c port = omap34xx_mcbsp_port[bus_id][substream->stream]; port 223 sound/soc/omap/omap-mcbsp.c omap_mcbsp_dai_dma_params[id][substream->stream].port_addr = port; port 83 sound/sparc/cs4231.c void __iomem *port; port 129 sound/sparc/cs4231.c #define CS4231U(chip, x) ((chip)->port + ((c_d_c_CS4231##x) << 2)) port 374 sound/sparc/cs4231.c chip->port); port 399 sound/sparc/cs4231.c "- codec still busy\n", chip->port); port 1045 sound/sparc/cs4231.c snd_printdd("cs4231: port = %p, id = 0x%x\n", chip->port, id); port 1637 sound/sparc/cs4231.c csr = sbus_readl(chip->port + APCCSR); port 1639 sound/sparc/cs4231.c sbus_writel(csr, chip->port + APCCSR); port 1779 sound/sparc/cs4231.c if (chip->port) port 1780 sound/sparc/cs4231.c of_iounmap(&op->resource[0], chip->port, chip->regs_size); port 1813 sound/sparc/cs4231.c chip->port = of_ioremap(&op->resource[0], 0, port 1815 sound/sparc/cs4231.c if (!chip->port) { port 1820 sound/sparc/cs4231.c chip->c_dma.sbus_info.regs = chip->port; port 1821 sound/sparc/cs4231.c chip->p_dma.sbus_info.regs = chip->port; port 1945 sound/sparc/cs4231.c if (chip->port) port 1946 sound/sparc/cs4231.c of_iounmap(&op->resource[0], chip->port, 0x10); port 1999 sound/sparc/cs4231.c chip->port = of_ioremap(&op->resource[0], 0, 0x10, "cs4231"); port 2004 sound/sparc/cs4231.c if (!chip->port || !chip->p_dma.ebus_info.regs || port 169 sound/synth/emux/emux_effect.c snd_emux_send_effect(port, chan, type, val, mode); port 187 sound/synth/emux/emux_effect.c emu = port->emu; port 227 sound/synth/emux/emux_effect.c snd_emux_update_channel(port, chan, parm_defs[type].update); port 89 sound/synth/emux/emux_hwdep.c if (info.port < 0) { port 93 sound/synth/emux/emux_hwdep.c if (info.port < emu->num_ports) port 94 sound/synth/emux/emux_hwdep.c emu->portptrs[info.port]->ctrls[info.mode] = info.value; port 60 sound/synth/emux/emux_nrpn.c snd_emux_send_effect(port, chan, table[i].effect, port 289 sound/synth/emux/emux_nrpn.c struct snd_emux_port *port; port 291 sound/synth/emux/emux_nrpn.c port = p; port 292 sound/synth/emux/emux_nrpn.c if (snd_BUG_ON(!port || !chan)) port 305 sound/synth/emux/emux_nrpn.c port, chan, chan->control[MIDI_CTL_NONREG_PARM_NUM_LSB], port 310 sound/synth/emux/emux_nrpn.c if (port->chset.midi_mode == SNDRV_MIDI_MODE_GS && port 318 sound/synth/emux/emux_nrpn.c port, chan, chan->control[MIDI_CTL_NONREG_PARM_NUM_LSB], port 366 sound/synth/emux/emux_nrpn.c port, chan, param, port 378 sound/synth/emux/emux_nrpn.c struct snd_emux_port *port; port 381 sound/synth/emux/emux_nrpn.c port = p; port 382 sound/synth/emux/emux_nrpn.c if (snd_BUG_ON(!port || !chset)) port 384 sound/synth/emux/emux_nrpn.c emu = port->emu; port 388 sound/synth/emux/emux_nrpn.c snd_emux_update_port(port, SNDRV_EMUX_UPDATE_VOLUME); port 144 sound/synth/emux/emux_oss.c arg->addr.port = p->chset.port; port 165 sound/synth/emux/emux_oss.c port->port_mode = SNDRV_EMUX_PORT_MODE_OSS_MIDI; port 166 sound/synth/emux/emux_oss.c port->drum_flags = DEFAULT_DRUM_FLAGS; port 167 sound/synth/emux/emux_oss.c port->volume_atten = 0; port 168 sound/synth/emux/emux_oss.c port->oss_arg->event_passing = SNDRV_SEQ_OSS_PROCESS_KEYPRESS; port 170 sound/synth/emux/emux_oss.c port->port_mode = SNDRV_EMUX_PORT_MODE_OSS_SYNTH; port 171 sound/synth/emux/emux_oss.c port->drum_flags = 0; port 172 sound/synth/emux/emux_oss.c port->volume_atten = 32; port 173 sound/synth/emux/emux_oss.c port->oss_arg->event_passing = SNDRV_SEQ_OSS_PROCESS_EVENTS; port 199 sound/synth/emux/emux_oss.c snd_soundfont_close_check(emu->sflist, SF_CLIENT_NO(p->chset.port)); port 200 sound/synth/emux/emux_oss.c snd_seq_event_port_detach(p->chset.client, p->chset.port); port 231 sound/synth/emux/emux_oss.c SF_CLIENT_NO(p->chset.port)); port 240 sound/synth/emux/emux_oss.c rc = snd_soundfont_load(emu->sflist, buf, count, SF_CLIENT_NO(p->chset.port)); port 352 sound/synth/emux/emux_oss.c if (voice < 0 || voice >= port->chset.max_channels) port 355 sound/synth/emux/emux_oss.c chan = &port->chset.channels[voice]; port 368 sound/synth/emux/emux_oss.c snd_emux_send_effect_oss(port, chan, p1, p2); port 383 sound/synth/emux/emux_oss.c fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop); port 386 sound/synth/emux/emux_oss.c fake_event(emu, port, voice, MIDI_CTL_ALL_SOUNDS_OFF, 0, atomic, hop); port 391 sound/synth/emux/emux_oss.c port->volume_atten = (short)p1; port 392 sound/synth/emux/emux_oss.c snd_emux_update_port(port, SNDRV_EMUX_UPDATE_VOLUME); port 399 sound/synth/emux/emux_oss.c snd_emux_update_channel(port, chan, SNDRV_EMUX_UPDATE_FMMOD|SNDRV_EMUX_UPDATE_FM2FRQ2); port 404 sound/synth/emux/emux_oss.c reset_port_mode(port, p1); port 405 sound/synth/emux/emux_oss.c snd_emux_reset_port(port); port 409 sound/synth/emux/emux_oss.c port->drum_flags = *(unsigned int*)&event[4]; port 410 sound/synth/emux/emux_oss.c for (i = 0; i < port->chset.max_channels; i++) { port 411 sound/synth/emux/emux_oss.c chan = &port->chset.channels[i]; port 412 sound/synth/emux/emux_oss.c chan->drum_channel = ((port->drum_flags >> i) & 1) ? 1 : 0; port 418 sound/synth/emux/emux_oss.c port->ctrls[p1] = p2; port 446 sound/synth/emux/emux_oss.c if (port->port_mode != SNDRV_EMUX_PORT_MODE_OSS_SYNTH) port 451 sound/synth/emux/emux_oss.c if (voice < 0 || voice >= port->chset.max_channels) port 454 sound/synth/emux/emux_oss.c chan = &port->chset.channels[voice]; port 468 sound/synth/emux/emux_oss.c snd_emux_update_channel(port, chan, SNDRV_EMUX_UPDATE_PAN); port 489 sound/synth/emux/emux_oss.c snd_emux_send_effect(port, chan, EMUX_FX_SAMPLE_START, port 492 sound/synth/emux/emux_oss.c snd_emux_send_effect(port, chan, EMUX_FX_COARSE_SAMPLE_START, port 513 sound/synth/emux/emux_oss.c snd_emux_event_input(&ev, 0, port, atomic, hop); port 109 sound/synth/emux/emux_seq.c emu->ports[i] = p->chset.port; port 179 sound/synth/emux/emux_seq.c p->chset.port = snd_seq_event_port_attach(emu->client, callback, port 230 sound/synth/emux/emux_seq.c snd_emux_sounds_off_all(port); port 232 sound/synth/emux/emux_seq.c snd_midi_channel_set_clear(&port->chset); port 235 sound/synth/emux/emux_seq.c snd_emux_clear_effect(port); port 239 sound/synth/emux/emux_seq.c port->ctrls[EMUX_MD_DEF_BANK] = 0; port 240 sound/synth/emux/emux_seq.c port->ctrls[EMUX_MD_DEF_DRUM] = 0; port 241 sound/synth/emux/emux_seq.c port->ctrls[EMUX_MD_REALTIME_PAN] = 1; port 243 sound/synth/emux/emux_seq.c for (i = 0; i < port->chset.max_channels; i++) { port 244 sound/synth/emux/emux_seq.c struct snd_midi_channel *chan = port->chset.channels + i; port 245 sound/synth/emux/emux_seq.c chan->drum_channel = ((port->drum_flags >> i) & 1) ? 1 : 0; port 257 sound/synth/emux/emux_seq.c struct snd_emux_port *port; port 259 sound/synth/emux/emux_seq.c port = private_data; port 260 sound/synth/emux/emux_seq.c if (snd_BUG_ON(!port || !ev)) port 263 sound/synth/emux/emux_seq.c snd_midi_process_event(&emux_ops, ev, &port->chset); port 373 sound/synth/emux/emux_seq.c rdev->port = emu->ports[i]; port 66 sound/synth/emux/emux_synth.c struct snd_emux_port *port; port 68 sound/synth/emux/emux_synth.c port = p; port 69 sound/synth/emux/emux_synth.c if (snd_BUG_ON(!port || !chan)) port 72 sound/synth/emux/emux_synth.c emu = port->emu; port 77 sound/synth/emux/emux_synth.c nvoices = get_zone(emu, port, ¬e, vel, chan, table); port 85 sound/synth/emux/emux_synth.c exclusive_note_off(emu, port, zp->v.exclusiveClass); port 102 sound/synth/emux/emux_synth.c vp = emu->ops.get_voice(emu, port); port 110 sound/synth/emux/emux_synth.c vp->port = port; port 143 sound/synth/emux/emux_synth.c if (port->port_mode == SNDRV_EMUX_PORT_MODE_OSS_SYNTH) { port 164 sound/synth/emux/emux_synth.c struct snd_emux_port *port; port 166 sound/synth/emux/emux_synth.c port = p; port 167 sound/synth/emux/emux_synth.c if (snd_BUG_ON(!port || !chan)) port 170 sound/synth/emux/emux_synth.c emu = port->emu; port 243 sound/synth/emux/emux_synth.c struct snd_emux_port *port; port 245 sound/synth/emux/emux_synth.c port = p; port 246 sound/synth/emux/emux_synth.c if (snd_BUG_ON(!port || !chan)) port 249 sound/synth/emux/emux_synth.c emu = port->emu; port 280 sound/synth/emux/emux_synth.c emu = port->emu; port 307 sound/synth/emux/emux_synth.c emu = port->emu; port 314 sound/synth/emux/emux_synth.c if (vp->port == port) port 328 sound/synth/emux/emux_synth.c struct snd_emux_port *port; port 330 sound/synth/emux/emux_synth.c port = p; port 331 sound/synth/emux/emux_synth.c if (snd_BUG_ON(!port || !chan)) port 337 sound/synth/emux/emux_synth.c snd_emux_update_channel(port, chan, SNDRV_EMUX_UPDATE_VOLUME); port 341 sound/synth/emux/emux_synth.c snd_emux_update_channel(port, chan, SNDRV_EMUX_UPDATE_PAN); port 348 sound/synth/emux/emux_synth.c snd_emux_send_effect(port, chan, EMUX_FX_CUTOFF, -160, port 351 sound/synth/emux/emux_synth.c snd_emux_send_effect(port, chan, EMUX_FX_CUTOFF, 0, port 357 sound/synth/emux/emux_synth.c snd_emux_update_channel(port, chan, SNDRV_EMUX_UPDATE_PITCH); port 362 sound/synth/emux/emux_synth.c snd_emux_update_channel(port, chan, port 369 sound/synth/emux/emux_synth.c if (port->chset.midi_mode == SNDRV_MIDI_MODE_XG) { port 370 sound/synth/emux/emux_synth.c snd_emux_xg_control(port, chan, type); port 403 sound/synth/emux/emux_synth.c struct snd_emux_port *port; port 405 sound/synth/emux/emux_synth.c port = p; port 406 sound/synth/emux/emux_synth.c if (snd_BUG_ON(!port || !chan)) port 409 sound/synth/emux/emux_synth.c emu = port->emu; port 458 sound/synth/emux/emux_synth.c if (snd_BUG_ON(!port)) port 460 sound/synth/emux/emux_synth.c emu = port->emu; port 468 sound/synth/emux/emux_synth.c vp->port == port) port 495 sound/synth/emux/emux_synth.c if (STATE_IS_PLAYING(vp->state) && vp->port == port && port 513 sound/synth/emux/emux_synth.c vp->port = NULL; port 531 sound/synth/emux/emux_synth.c if (vp->chan == NULL || vp->port == NULL) port 760 sound/synth/emux/emux_synth.c struct snd_emux_port *port = vp->port; port 765 sound/synth/emux/emux_synth.c if (port->port_mode == SNDRV_EMUX_PORT_MODE_OSS_SYNTH) { port 786 sound/synth/emux/emux_synth.c master_vol = port->chset.gs_master_volume; port 789 sound/synth/emux/emux_synth.c vol += port->volume_atten; port 803 sound/synth/emux/emux_synth.c if (!SF_IS_DRUM_BANK(get_bank(port, chan)) port 879 sound/synth/emux/emux_synth.c switch (port->chset.midi_mode) { port 910 sound/synth/emux/emux_synth.c bank = get_bank(port, chan); port 914 sound/synth/emux/emux_synth.c def_preset = port->ctrls[EMUX_MD_DEF_DRUM]; port 918 sound/synth/emux/emux_synth.c def_bank = port->ctrls[EMUX_MD_DEF_BANK]; port 941 sound/synth/emux/emux_synth.c vp->port = NULL; port 202 sound/usb/usbmidi.c struct usbmidi_in_port* port = &ep->ports[portidx]; port 204 sound/usb/usbmidi.c if (!port->substream) { port 208 sound/usb/usbmidi.c if (!test_bit(port->substream->number, &ep->umidi->input_triggered)) port 210 sound/usb/usbmidi.c snd_rawmidi_receive(port->substream, data, length); port 370 sound/usb/usbmidi.c int port = buffer[i + 3] >> 4; port 372 sound/usb/usbmidi.c snd_usbmidi_input_data(ep, port, &buffer[i], length); port 390 sound/usb/usbmidi.c struct usbmidi_in_port *port = &ep->ports[cable]; port 398 sound/usb/usbmidi.c port->running_status_length = length - 1; port 400 sound/usb/usbmidi.c port->running_status_length != 0 && port 403 sound/usb/usbmidi.c length = port->running_status_length; port 411 sound/usb/usbmidi.c port->running_status_length = 0; port 466 sound/usb/usbmidi.c uint8_t p0 = port->cable; port 468 sound/usb/usbmidi.c port->ep->umidi->usb_protocol_ops->output_packet; port 475 sound/usb/usbmidi.c port->data[0] = b; port 476 sound/usb/usbmidi.c port->state = STATE_SYSEX_1; port 480 sound/usb/usbmidi.c port->data[0] = b; port 481 sound/usb/usbmidi.c port->state = STATE_1PARAM; port 484 sound/usb/usbmidi.c port->data[0] = b; port 485 sound/usb/usbmidi.c port->state = STATE_2PARAM_1; port 489 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; port 493 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; port 496 sound/usb/usbmidi.c switch (port->state) { port 501 sound/usb/usbmidi.c output_packet(urb, p0 | 0x06, port->data[0], 0xf7, 0); port 504 sound/usb/usbmidi.c output_packet(urb, p0 | 0x07, port->data[0], port->data[1], 0xf7); port 507 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; port 511 sound/usb/usbmidi.c port->data[0] = b; port 513 sound/usb/usbmidi.c port->state = STATE_1PARAM; port 515 sound/usb/usbmidi.c port->state = STATE_2PARAM_1; port 517 sound/usb/usbmidi.c switch (port->state) { port 519 sound/usb/usbmidi.c if (port->data[0] < 0xf0) { port 520 sound/usb/usbmidi.c p0 |= port->data[0] >> 4; port 523 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; port 525 sound/usb/usbmidi.c output_packet(urb, p0, port->data[0], b, 0); port 528 sound/usb/usbmidi.c port->data[1] = b; port 529 sound/usb/usbmidi.c port->state = STATE_2PARAM_2; port 532 sound/usb/usbmidi.c if (port->data[0] < 0xf0) { port 533 sound/usb/usbmidi.c p0 |= port->data[0] >> 4; port 534 sound/usb/usbmidi.c port->state = STATE_2PARAM_1; port 537 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; port 539 sound/usb/usbmidi.c output_packet(urb, p0, port->data[0], port->data[1], b); port 542 sound/usb/usbmidi.c port->data[0] = b; port 543 sound/usb/usbmidi.c port->state = STATE_SYSEX_1; port 546 sound/usb/usbmidi.c port->data[1] = b; port 547 sound/usb/usbmidi.c port->state = STATE_SYSEX_2; port 550 sound/usb/usbmidi.c output_packet(urb, p0 | 0x04, port->data[0], port->data[1], b); port 551 sound/usb/usbmidi.c port->state = STATE_SYSEX_0; port 564 sound/usb/usbmidi.c struct usbmidi_out_port* port = &ep->ports[p]; port 565 sound/usb/usbmidi.c if (!port->active) port 569 sound/usb/usbmidi.c if (snd_rawmidi_transmit(port->substream, &b, 1) != 1) { port 570 sound/usb/usbmidi.c port->active = 0; port 573 sound/usb/usbmidi.c snd_usbmidi_transmit_byte(port, b, urb); port 799 sound/usb/usbmidi.c struct usbmidi_out_port* port = &ep->ports[portnum]; port 801 sound/usb/usbmidi.c if (!port->active) port 803 sound/usb/usbmidi.c if (snd_rawmidi_transmit_peek(port->substream, buf, 1) != 1) { port 804 sound/usb/usbmidi.c port->active = 0; port 820 sound/usb/usbmidi.c length = snd_rawmidi_transmit(port->substream, buf, buf_free); port 846 sound/usb/usbmidi.c struct usbmidi_out_port* port = NULL; port 853 sound/usb/usbmidi.c port = &umidi->endpoints[i].out->ports[j]; port 856 sound/usb/usbmidi.c if (!port) { port 860 sound/usb/usbmidi.c substream->runtime->private_data = port; port 861 sound/usb/usbmidi.c port->state = STATE_UNKNOWN; port 872 sound/usb/usbmidi.c struct usbmidi_out_port* port = (struct usbmidi_out_port*)substream->runtime->private_data; port 874 sound/usb/usbmidi.c port->active = up; port 876 sound/usb/usbmidi.c if (port->ep->umidi->chip->shutdown) { port 883 sound/usb/usbmidi.c tasklet_hi_schedule(&port->ep->tasklet); port 1154 sound/usb/usbmidi.c short int port; port 1161 sound/usb/usbmidi.c .port = num, .voices = voices_, \ port 1278 sound/usb/usbmidi.c snd_usbmidi_port_info[i].port == number)