io                181 arch/alpha/include/asm/err_ev7.h 		struct ev7_pal_io_subpacket io;		     /* Type     7 */
io                195 arch/alpha/include/asm/err_ev7.h 	struct ev7_pal_io_subpacket *io;			/* Type  7 */
io                 35 arch/alpha/include/asm/floppy.h #define fd_dma_setup(addr,size,mode,io) alpha_fd_dma_setup(addr,size,mode,io)
io                 38 arch/alpha/include/asm/floppy.h alpha_fd_dma_setup(char *addr, unsigned long size, int mode, int io)
io                 67 arch/alpha/include/asm/floppy.h 	virtual_dma_port = io;
io                292 arch/alpha/kernel/core_mcpcia.c 	struct resource *io, *mem, *hae_mem;
io                298 arch/alpha/kernel/core_mcpcia.c 	io = alloc_resource();
io                302 arch/alpha/kernel/core_mcpcia.c 	hose->io_space = io;
io                311 arch/alpha/kernel/core_mcpcia.c 	io->start = MCPCIA_IO(mid) - MCPCIA_IO_BIAS;
io                312 arch/alpha/kernel/core_mcpcia.c 	io->end = io->start + 0xffff;
io                313 arch/alpha/kernel/core_mcpcia.c 	io->name = pci_io_names[h];
io                314 arch/alpha/kernel/core_mcpcia.c 	io->flags = IORESOURCE_IO;
io                326 arch/alpha/kernel/core_mcpcia.c 	if (request_resource(&ioport_resource, io) < 0)
io                 93 arch/alpha/kernel/err_ev7.c 			lf_subpackets->io = (struct ev7_pal_io_subpacket *)
io                331 arch/alpha/kernel/err_marvel.c marvel_print_po7_err_sum(struct ev7_pal_io_subpacket *io)
io                371 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_SBE) {
io                374 arch/alpha/kernel/err_marvel.c 		       (io->po7_error_sum & IO7__PO7_ERRSUM__CR_SBE2) 
io                376 arch/alpha/kernel/err_marvel.c 		marvel_print_po7_crrct_sym(io->po7_crrct_sym);
io                382 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__HLT_INT)
io                384 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__HP_INT) {
io                389 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__CRD_INT)
io                392 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__STV_INT) {
io                396 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__HRD_INT) {
io                405 arch/alpha/kernel/err_marvel.c 	if (!(io->po7_error_sum & IO7__PO7_ERRSUM__ERR_VALID)) 
io                416 arch/alpha/kernel/err_marvel.c 	if (!(io->po7_error_sum & (IO7__PO7_ERRSUM__CR_PIO_WBYTE |
io                423 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_PIO_WBYTE)
io                425 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_CSR_NXM)
io                427 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_RPID_ACV)
io                430 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_RSP_NXM)
io                433 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_ERR_RESP)
io                435 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_CLK_DERR)
io                437 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_DAT_DBE)
io                440 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__CR_DAT_GRBG)
io                443 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__UGBGE) {
io                446 arch/alpha/kernel/err_marvel.c 		marvel_print_po7_ugbge_sym(io->po7_ugbge_sym);
io                448 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_MAF_LOST)
io                451 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_PKT_OVF)
io                453 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_CDT_OVF)
io                455 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__UN_DEALLOC)
io                462 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__MAF_TO)
io                465 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_CDT_TO)
io                467 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_CLK_HDR)
io                470 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_DBE_HDR)
io                473 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_GBG_HDR)
io                476 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__BH_BAD_CMD)
io                480 arch/alpha/kernel/err_marvel.c 	if (io->po7_error_sum & IO7__PO7_ERRSUM__ERR_LST) 
io                487 arch/alpha/kernel/err_marvel.c 	       err_print_prefix, io->po7_err_pkt0,
io                488 arch/alpha/kernel/err_marvel.c 	       err_print_prefix, io->po7_err_pkt1);
io                495 arch/alpha/kernel/err_marvel.c 		marvel_print_po7_uncrr_sym(io->po7_uncrr_sym, uncrr_sym_valid);
io                800 arch/alpha/kernel/err_marvel.c 	struct ev7_pal_io_subpacket *io = lf_subpackets->io;
io                807 arch/alpha/kernel/err_marvel.c 	if (!io)
io                813 arch/alpha/kernel/err_marvel.c 	memset(io, 0x55, sizeof(*io));
io                843 arch/alpha/kernel/err_marvel.c 	io->io_asic_rev   = io7->csrs->IO_ASIC_REV.csr;
io                844 arch/alpha/kernel/err_marvel.c 	io->io_sys_rev    = io7->csrs->IO_SYS_REV.csr;
io                845 arch/alpha/kernel/err_marvel.c 	io->io7_uph       = io7->csrs->IO7_UPH.csr;
io                846 arch/alpha/kernel/err_marvel.c 	io->hpi_ctl       = io7->csrs->HPI_CTL.csr;
io                847 arch/alpha/kernel/err_marvel.c 	io->crd_ctl       = io7->csrs->CRD_CTL.csr;
io                848 arch/alpha/kernel/err_marvel.c 	io->hei_ctl       = io7->csrs->HEI_CTL.csr;
io                849 arch/alpha/kernel/err_marvel.c 	io->po7_error_sum = io7->csrs->PO7_ERROR_SUM.csr;
io                850 arch/alpha/kernel/err_marvel.c 	io->po7_uncrr_sym = io7->csrs->PO7_UNCRR_SYM.csr;
io                851 arch/alpha/kernel/err_marvel.c 	io->po7_crrct_sym = io7->csrs->PO7_CRRCT_SYM.csr;
io                852 arch/alpha/kernel/err_marvel.c 	io->po7_ugbge_sym = io7->csrs->PO7_UGBGE_SYM.csr;
io                853 arch/alpha/kernel/err_marvel.c 	io->po7_err_pkt0  = io7->csrs->PO7_ERR_PKT[0].csr;
io                854 arch/alpha/kernel/err_marvel.c 	io->po7_err_pkt1  = io7->csrs->PO7_ERR_PKT[1].csr;
io                862 arch/alpha/kernel/err_marvel.c 		io->ports[i].pox_err_sum   = csrs->POx_ERR_SUM.csr;
io                863 arch/alpha/kernel/err_marvel.c 		io->ports[i].pox_tlb_err   = csrs->POx_TLB_ERR.csr;
io                864 arch/alpha/kernel/err_marvel.c 		io->ports[i].pox_spl_cmplt = csrs->POx_SPL_COMPLT.csr;
io                865 arch/alpha/kernel/err_marvel.c 		io->ports[i].pox_trans_sum = csrs->POx_TRANS_SUM.csr;
io                866 arch/alpha/kernel/err_marvel.c 		io->ports[i].pox_first_err = csrs->POx_FIRST_ERR.csr;
io                867 arch/alpha/kernel/err_marvel.c 		io->ports[i].pox_mult_err  = csrs->POx_MULT_ERR.csr;
io                868 arch/alpha/kernel/err_marvel.c 		io->ports[i].pox_dm_source = csrs->POx_DM_SOURCE.csr;
io                869 arch/alpha/kernel/err_marvel.c 		io->ports[i].pox_dm_dest   = csrs->POx_DM_DEST.csr;
io                870 arch/alpha/kernel/err_marvel.c 		io->ports[i].pox_dm_size   = csrs->POx_DM_SIZE.csr;
io                871 arch/alpha/kernel/err_marvel.c 		io->ports[i].pox_dm_ctrl   = csrs->POx_DM_CTRL.csr;
io                881 arch/alpha/kernel/err_marvel.c 		csrs->POx_TLB_ERR.csr = io->ports[i].pox_tlb_err;
io                882 arch/alpha/kernel/err_marvel.c 		csrs->POx_ERR_SUM.csr =	io->ports[i].pox_err_sum;
io                890 arch/alpha/kernel/err_marvel.c 	io7->csrs->PO7_ERROR_SUM.csr = io->po7_error_sum;
io                899 arch/alpha/kernel/err_marvel.c 	return io;
io                908 arch/alpha/kernel/err_marvel.c 	struct ev7_pal_io_subpacket *io = lf_subpackets->io;
io                914 arch/alpha/kernel/err_marvel.c 	if (!lf_subpackets->logout || !lf_subpackets->io)
io                933 arch/alpha/kernel/err_marvel.c 	if ((lf_subpackets->io->po7_error_sum & (1UL << 32)) ||
io                934 arch/alpha/kernel/err_marvel.c 	    ((lf_subpackets->io->po7_error_sum        |
io                935 arch/alpha/kernel/err_marvel.c 	      lf_subpackets->io->ports[0].pox_err_sum |
io                936 arch/alpha/kernel/err_marvel.c 	      lf_subpackets->io->ports[1].pox_err_sum |
io                937 arch/alpha/kernel/err_marvel.c 	      lf_subpackets->io->ports[2].pox_err_sum |
io                938 arch/alpha/kernel/err_marvel.c 	      lf_subpackets->io->ports[3].pox_err_sum) & (1UL << 63))) {
io                964 arch/alpha/kernel/err_marvel.c 	if (lf_subpackets->io->po7_error_sum & IO7__PO7_ERRSUM__ERR_MASK) {
io                965 arch/alpha/kernel/err_marvel.c 		marvel_print_po7_err_sum(io);
io                976 arch/alpha/kernel/err_marvel.c 		       err_print_prefix, io->po7_error_sum,
io                977 arch/alpha/kernel/err_marvel.c 		       err_print_prefix, io->po7_uncrr_sym,
io                978 arch/alpha/kernel/err_marvel.c 		       err_print_prefix, io->po7_crrct_sym,
io                979 arch/alpha/kernel/err_marvel.c 		       err_print_prefix, io->po7_ugbge_sym,
io                980 arch/alpha/kernel/err_marvel.c 		       err_print_prefix, io->po7_err_pkt0,
io                981 arch/alpha/kernel/err_marvel.c 		       err_print_prefix, io->po7_err_pkt1);
io                989 arch/alpha/kernel/err_marvel.c 		if (!MARVEL_IO_ERR_VALID(io->ports[i].pox_err_sum))
io                994 arch/alpha/kernel/err_marvel.c 		       lf_subpackets->io_pid, i, io->ports[i].pox_err_sum);
io                995 arch/alpha/kernel/err_marvel.c 		marvel_print_pox_err(io->ports[i].pox_err_sum, &io->ports[i]);
io                998 arch/alpha/kernel/err_marvel.c 		       err_print_prefix, io->ports[i].pox_first_err);
io                999 arch/alpha/kernel/err_marvel.c 		marvel_print_pox_err(io->ports[i].pox_first_err, 
io               1000 arch/alpha/kernel/err_marvel.c 				     &io->ports[i]);
io               1111 arch/alpha/kernel/err_marvel.c 		if (!lf_subpackets->io)
io               1112 arch/alpha/kernel/err_marvel.c 			lf_subpackets->io = &scratch_io_packet;
io                243 arch/alpha/kernel/setup.c 	struct resource *io = &ioport_resource;
io                250 arch/alpha/kernel/setup.c 				io = hose->io_space;
io                260 arch/alpha/kernel/setup.c 		request_resource(io, standard_io_resources+i);
io                466 arch/arm/include/asm/io.h extern void register_isa_ports(unsigned int mmio, unsigned int io,
io                 87 arch/arm/mach-mvebu/kirkwood.c 		void __iomem *io;
io                103 arch/arm/mach-mvebu/kirkwood.c 		io = of_iomap(pnp, 0);
io                104 arch/arm/mach-mvebu/kirkwood.c 		if (!io)
io                124 arch/arm/mach-mvebu/kirkwood.c 		reg = readl(io + MV643XX_ETH_MAC_ADDR_HIGH);
io                130 arch/arm/mach-mvebu/kirkwood.c 		reg = readl(io + MV643XX_ETH_MAC_ADDR_LOW);
io                137 arch/arm/mach-mvebu/kirkwood.c 		iounmap(io);
io                 78 arch/arm/mm/pmsa-v8.c static struct range __initdata io[MPU_MAX_REGIONS];
io                251 arch/arm/mm/pmsa-v8.c 	add_range(io, ARRAY_SIZE(io), 0, 0, 0xffffffff);
io                255 arch/arm/mm/pmsa-v8.c 	subtract_range(io, ARRAY_SIZE(io),  __pa(KERNEL_START), __pa(KERNEL_END));
io                260 arch/arm/mm/pmsa-v8.c 	subtract_range(io, ARRAY_SIZE(io), CONFIG_XIP_PHYS_ADDR, __pa(_exiprom));
io                266 arch/arm/mm/pmsa-v8.c 	subtract_range(io, ARRAY_SIZE(io),  vectors_base, vectors_base + 2 * PAGE_SIZE);
io                270 arch/arm/mm/pmsa-v8.c 		subtract_range(io, ARRAY_SIZE(io), mem[i].start, mem[i].end);
io                283 arch/arm/mm/pmsa-v8.c 	for (i = 0; i < ARRAY_SIZE(io); i++) {
io                284 arch/arm/mm/pmsa-v8.c 		if (!io[i].end)
io                287 arch/arm/mm/pmsa-v8.c 		err |= pmsav8_setup_io(region++, io[i].start, io[i].end);
io                103 arch/m68k/include/asm/floppy.h #define fd_dma_setup(addr, size, mode, io) vdma_dma_setup(addr, size, mode, io)
io                159 arch/m68k/include/asm/floppy.h static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io)
io                162 arch/m68k/include/asm/floppy.h 	virtual_dma_port = (MACH_IS_Q40 ? io : 0);
io                144 arch/mips/alchemy/common/dma.c 	       __raw_readl(chan->io + DMA_MODE_SET));
io                146 arch/mips/alchemy/common/dma.c 	       __raw_readl(chan->io + DMA_PERIPHERAL_ADDR));
io                148 arch/mips/alchemy/common/dma.c 	       __raw_readl(chan->io + DMA_BUFFER0_START));
io                150 arch/mips/alchemy/common/dma.c 	       __raw_readl(chan->io + DMA_BUFFER1_START));
io                152 arch/mips/alchemy/common/dma.c 	       __raw_readl(chan->io + DMA_BUFFER0_COUNT));
io                154 arch/mips/alchemy/common/dma.c 	       __raw_readl(chan->io + DMA_BUFFER1_COUNT));
io                207 arch/mips/alchemy/common/dma.c 	chan->io = (void __iomem *)(KSEG1ADDR(AU1000_DMA_PHYS_ADDR) +
io                109 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	void __iomem *io;
io                160 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(DMA_BE0, chan->io + DMA_MODE_SET);
io                169 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(DMA_BE1, chan->io + DMA_MODE_SET);
io                177 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(DMA_BE0 | DMA_BE1, chan->io + DMA_MODE_SET);
io                186 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(DMA_GO, chan->io + DMA_MODE_SET);
io                198 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(DMA_GO, chan->io + DMA_MODE_CLEAR);
io                202 arch/mips/include/asm/mach-au1x00/au1000_dma.h 		if (__raw_readl(chan->io + DMA_MODE_READ) & DMA_HALT)
io                218 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(~DMA_GO, chan->io + DMA_MODE_CLEAR);
io                227 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	return (__raw_readl(chan->io + DMA_MODE_READ) & DMA_HALT) ? 1 : 0;
io                242 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(CPHYSADDR(chan->fifo_addr), chan->io + DMA_PERIPHERAL_ADDR);
io                248 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(~mode, chan->io + DMA_MODE_CLEAR);
io                249 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(mode,	 chan->io + DMA_MODE_SET);
io                286 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	return (__raw_readl(chan->io + DMA_MODE_READ) & DMA_AB) ? 1 : 0;
io                307 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(CPHYSADDR(a), chan->io + DMA_PERIPHERAL_ADDR);
io                319 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(DMA_D0, chan->io + DMA_MODE_CLEAR);
io                328 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(DMA_D1, chan->io + DMA_MODE_CLEAR);
io                347 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(a, chan->io + DMA_BUFFER0_START);
io                359 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(a, chan->io + DMA_BUFFER1_START);
io                373 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(count, chan->io + DMA_BUFFER0_COUNT);
io                386 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(count, chan->io + DMA_BUFFER1_COUNT);
io                399 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(count, chan->io + DMA_BUFFER0_COUNT);
io                400 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	__raw_writel(count, chan->io + DMA_BUFFER1_COUNT);
io                413 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	return __raw_readl(chan->io + DMA_MODE_READ) & (DMA_D0 | DMA_D1);
io                440 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	curBufCntReg = (__raw_readl(chan->io + DMA_MODE_READ) & DMA_AB) ?
io                443 arch/mips/include/asm/mach-au1x00/au1000_dma.h 	count = __raw_readl(chan->io + curBufCntReg) & DMA_COUNT_MASK;
io                170 arch/mips/include/asm/octeon/cvmx-ciu3-defs.h 	uint64_t io                           : 5;
io                172 arch/mips/include/asm/octeon/cvmx-ciu3-defs.h 	uint64_t io                           : 5;
io                 30 arch/mips/lantiq/clk.c 			unsigned long io, unsigned long ppe)
io                 34 arch/mips/lantiq/clk.c 	cpu_clk_generic[2].rate = io;
io                 73 arch/mips/lantiq/clk.h 				unsigned long io, unsigned long ppe);
io                 47 arch/mips/pci/pci-octeon.c 		uint64_t io:1;
io                264 arch/mips/pci/pci-octeon.c 	pci_addr.s.io = 1;
io                298 arch/mips/pci/pci-octeon.c 	pci_addr.s.io = 1;
io                469 arch/mips/pci/pci-xtalk-bridge.c 	pci_add_resource_offset(&host->windows, &bd->io, bd->io_offset);
io                 45 arch/mips/pci/pcie-octeon.c 		uint64_t io:1;	/* 1 for IO space access */
io                 76 arch/mips/pci/pcie-octeon.c 		uint64_t io:1;	/* 1 for IO space access */
io                 83 arch/mips/pci/pcie-octeon.c 	} io;
io                 87 arch/mips/pci/pcie-octeon.c 		uint64_t io:1;	/* 1 for IO space access */
io                109 arch/mips/pci/pcie-octeon.c 	pcie_addr.io.upper = 0;
io                110 arch/mips/pci/pcie-octeon.c 	pcie_addr.io.io = 1;
io                111 arch/mips/pci/pcie-octeon.c 	pcie_addr.io.did = 3;
io                112 arch/mips/pci/pcie-octeon.c 	pcie_addr.io.subdid = 2;
io                113 arch/mips/pci/pcie-octeon.c 	pcie_addr.io.es = 1;
io                114 arch/mips/pci/pcie-octeon.c 	pcie_addr.io.port = pcie_port;
io                144 arch/mips/pci/pcie-octeon.c 	pcie_addr.mem.io = 1;
io                241 arch/mips/pci/pcie-octeon.c 	pcie_addr.config.io = 1;
io                 54 arch/mips/sgi-ip27/ip27-xtalk.c 	bd->io.name	= "Bridge PCI IO";
io                 55 arch/mips/sgi-ip27/ip27-xtalk.c 	bd->io.start	= offset + (widget << SWIN_SIZE_BITS);
io                 56 arch/mips/sgi-ip27/ip27-xtalk.c 	bd->io.end	= bd->io.start + SWIN_SIZE - 1;
io                 57 arch/mips/sgi-ip27/ip27-xtalk.c 	bd->io.flags	= IORESOURCE_IO;
io                 42 arch/parisc/include/asm/floppy.h #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io)
io                194 arch/parisc/include/asm/floppy.h static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io)
io                197 arch/parisc/include/asm/floppy.h 	virtual_dma_port = io;
io                205 arch/parisc/include/asm/floppy.h static int hard_dma_setup(char *addr, unsigned long size, int mode, int io)
io                228 arch/parisc/include/asm/floppy.h 	int (*_dma_setup)(char *addr, unsigned long size, int mode, int io);
io                123 arch/powerpc/boot/cuboot-pq2.c 	                 *io = NULL, *mem_base = NULL;
io                166 arch/powerpc/boot/cuboot-pq2.c 			io = &pci_ranges_buf[i];
io                169 arch/powerpc/boot/cuboot-pq2.c 	if (!mem || !mmio || !io)
io                175 arch/powerpc/boot/cuboot-pq2.c 	if (io->size[1] & (io->size[1] - 1))
io                188 arch/powerpc/boot/cuboot-pq2.c 	out_be32(&pci_regs[1][1], io->phys_addr | 1);
io                189 arch/powerpc/boot/cuboot-pq2.c 	out_be32(&pci_regs[2][1], ~(io->size[1] - 1));
io                199 arch/powerpc/boot/cuboot-pq2.c 	out_le32(&pci_regs[0][12], io->pci_addr[1] >> 12);
io                200 arch/powerpc/boot/cuboot-pq2.c 	out_le32(&pci_regs[0][14], io->phys_addr >> 12);
io                201 arch/powerpc/boot/cuboot-pq2.c 	out_le32(&pci_regs[0][16], (~(io->size[1] - 1) >> 12) | 0xc0000000);
io                 33 arch/powerpc/include/asm/floppy.h #define fd_dma_setup(addr,size,mode,io) fd_ops->_dma_setup(addr,size,mode,io)
io                 41 arch/powerpc/include/asm/floppy.h 	int (*_dma_setup)(char *addr, unsigned long size, int mode, int io);
io                116 arch/powerpc/include/asm/floppy.h static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io)
io                119 arch/powerpc/include/asm/floppy.h 	virtual_dma_port = io;
io                127 arch/powerpc/include/asm/floppy.h static int hard_dma_setup(char *addr, unsigned long size, int mode, int io)
io                157 arch/powerpc/include/asm/floppy.h 	virtual_dma_port = io;
io                 57 arch/s390/boot/pgm_check_info.c 	*p++ = hex_asc_lo(psw->io);
io                537 arch/s390/include/asm/kvm_host.h 		struct kvm_s390_io_info io;
io                549 arch/s390/include/asm/kvm_host.h 	struct kvm_s390_io_info io;
io                 36 arch/s390/include/asm/ptrace.h 	unsigned long io     :	1; /* Input/Output Mask */
io                157 arch/s390/kernel/dumpstack.c 	       "P:%x AS:%x CC:%x PM:%x", psw->per, psw->dat, psw->io, psw->ext,
io               1027 arch/s390/kvm/interrupt.c static int __do_deliver_io(struct kvm_vcpu *vcpu, struct kvm_s390_io_info *io)
io               1031 arch/s390/kvm/interrupt.c 	rc  = put_guest_lc(vcpu, io->subchannel_id, (u16 *)__LC_SUBCHANNEL_ID);
io               1032 arch/s390/kvm/interrupt.c 	rc |= put_guest_lc(vcpu, io->subchannel_nr, (u16 *)__LC_SUBCHANNEL_NR);
io               1033 arch/s390/kvm/interrupt.c 	rc |= put_guest_lc(vcpu, io->io_int_parm, (u32 *)__LC_IO_INT_PARM);
io               1034 arch/s390/kvm/interrupt.c 	rc |= put_guest_lc(vcpu, io->io_int_word, (u32 *)__LC_IO_INT_WORD);
io               1051 arch/s390/kvm/interrupt.c 	struct kvm_s390_io_info io;
io               1068 arch/s390/kvm/interrupt.c 			inti->io.subchannel_id >> 8,
io               1069 arch/s390/kvm/interrupt.c 			inti->io.subchannel_id >> 1 & 0x3,
io               1070 arch/s390/kvm/interrupt.c 			inti->io.subchannel_nr);
io               1075 arch/s390/kvm/interrupt.c 				((__u32)inti->io.subchannel_id << 16) |
io               1076 arch/s390/kvm/interrupt.c 				inti->io.subchannel_nr,
io               1077 arch/s390/kvm/interrupt.c 				((__u64)inti->io.io_int_parm << 32) |
io               1078 arch/s390/kvm/interrupt.c 				inti->io.io_int_word);
io               1087 arch/s390/kvm/interrupt.c 		rc = __do_deliver_io(vcpu, &(inti->io));
io               1098 arch/s390/kvm/interrupt.c 		memset(&io, 0, sizeof(io));
io               1099 arch/s390/kvm/interrupt.c 		io.io_int_word = isc_to_int_word(isc);
io               1103 arch/s390/kvm/interrupt.c 			((__u32)io.subchannel_id << 16) |
io               1104 arch/s390/kvm/interrupt.c 			io.subchannel_nr,
io               1105 arch/s390/kvm/interrupt.c 			((__u64)io.io_int_parm << 32) |
io               1106 arch/s390/kvm/interrupt.c 			io.io_int_word);
io               1107 arch/s390/kvm/interrupt.c 		rc = __do_deliver_io(vcpu, &io);
io               1585 arch/s390/kvm/interrupt.c 		if (schid && (id != iter->io.subchannel_id ||
io               1586 arch/s390/kvm/interrupt.c 			      nr != iter->io.subchannel_nr))
io               1666 arch/s390/kvm/interrupt.c 	if (int_word_to_isc(inti->io.io_int_word) <= isc) {
io               1675 arch/s390/kvm/interrupt.c 		tmp_inti->io.io_int_word = isc_to_int_word(isc);
io               1775 arch/s390/kvm/interrupt.c 	isc = int_word_to_isc(inti->io.io_int_word);
io               1796 arch/s390/kvm/interrupt.c 			inti->io.subchannel_id >> 8,
io               1797 arch/s390/kvm/interrupt.c 			inti->io.subchannel_id >> 1 & 0x3,
io               1798 arch/s390/kvm/interrupt.c 			inti->io.subchannel_nr);
io               1911 arch/s390/kvm/interrupt.c 		inti->io.subchannel_id = s390int->parm >> 16;
io               1912 arch/s390/kvm/interrupt.c 		inti->io.subchannel_nr = s390int->parm & 0x0000ffffu;
io               1913 arch/s390/kvm/interrupt.c 		inti->io.io_int_parm = s390int->parm64 >> 32;
io               1914 arch/s390/kvm/interrupt.c 		inti->io.io_int_word = s390int->parm64 & 0x00000000ffffffffull;
io               2074 arch/s390/kvm/interrupt.c 		irq->u.io = inti->io;
io               2132 arch/s390/kvm/interrupt.c 				irq->u.io.io_int_word = isc_to_int_word(i);
io               2247 arch/s390/kvm/interrupt.c 		target = (void *) &inti->io;
io               2248 arch/s390/kvm/interrupt.c 		source = &uptr->u.io;
io               2249 arch/s390/kvm/interrupt.c 		size = sizeof(inti->io);
io                489 arch/s390/kvm/priv.c 	tpi_data[0] = inti->io.subchannel_id << 16 | inti->io.subchannel_nr;
io                490 arch/s390/kvm/priv.c 	tpi_data[1] = inti->io.io_int_parm;
io                491 arch/s390/kvm/priv.c 	tpi_data[2] = inti->io.io_int_word;
io                557 arch/s390/kvm/priv.c 		vcpu->run->s390_tsch.subchannel_id = inti->io.subchannel_id;
io                558 arch/s390/kvm/priv.c 		vcpu->run->s390_tsch.subchannel_nr = inti->io.subchannel_nr;
io                559 arch/s390/kvm/priv.c 		vcpu->run->s390_tsch.io_int_parm = inti->io.io_int_parm;
io                560 arch/s390/kvm/priv.c 		vcpu->run->s390_tsch.io_int_word = inti->io.io_int_word;
io                 44 arch/x86/include/asm/floppy.h #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io)
io                195 arch/x86/include/asm/floppy.h static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io)
io                198 arch/x86/include/asm/floppy.h 	virtual_dma_port = io;
io                206 arch/x86/include/asm/floppy.h static int hard_dma_setup(char *addr, unsigned long size, int mode, int io)
io                229 arch/x86/include/asm/floppy.h 	int (*_dma_setup)(char *addr, unsigned long size, int mode, int io);
io               5926 arch/x86/kvm/x86.c 	vcpu->run->io.direction = in ? KVM_EXIT_IO_IN : KVM_EXIT_IO_OUT;
io               5927 arch/x86/kvm/x86.c 	vcpu->run->io.size = size;
io               5928 arch/x86/kvm/x86.c 	vcpu->run->io.data_offset = KVM_PIO_PAGE_OFFSET * PAGE_SIZE;
io               5929 arch/x86/kvm/x86.c 	vcpu->run->io.count = count;
io               5930 arch/x86/kvm/x86.c 	vcpu->run->io.port = port;
io                 85 arch/xtensa/platforms/iss/simdisk.c 		unsigned long io;
io                 90 arch/xtensa/platforms/iss/simdisk.c 			io = simc_write(dev->fd, buffer, nbytes);
io                 92 arch/xtensa/platforms/iss/simdisk.c 			io = simc_read(dev->fd, buffer, nbytes);
io                 93 arch/xtensa/platforms/iss/simdisk.c 		if (io == -1) {
io                 97 arch/xtensa/platforms/iss/simdisk.c 		buffer += io;
io                 98 arch/xtensa/platforms/iss/simdisk.c 		offset += io;
io                 99 arch/xtensa/platforms/iss/simdisk.c 		nbytes -= io;
io               1201 block/genhd.c  	__ATTR(io-timeout-fail, 0644, part_timeout_show, part_timeout_store);
io                851 crypto/camellia_generic.c static void camellia_do_encrypt(const u32 *subkey, u32 *io, unsigned max)
io                856 crypto/camellia_generic.c 	io[0] ^= SUBKEY_L(0);
io                857 crypto/camellia_generic.c 	io[1] ^= SUBKEY_R(0);
io                861 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[0], io[1], \
io                863 crypto/camellia_generic.c 			 io[2], io[3], il, ir); \
io                864 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[2], io[3], \
io                866 crypto/camellia_generic.c 			 io[0], io[1], il, ir); \
io                867 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[0], io[1], \
io                869 crypto/camellia_generic.c 			 io[2], io[3], il, ir); \
io                870 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[2], io[3], \
io                872 crypto/camellia_generic.c 			 io[0], io[1], il, ir); \
io                873 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[0], io[1], \
io                875 crypto/camellia_generic.c 			 io[2], io[3], il, ir); \
io                876 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[2], io[3], \
io                878 crypto/camellia_generic.c 			 io[0], io[1], il, ir); \
io                881 crypto/camellia_generic.c 	CAMELLIA_FLS(io[0], io[1], io[2], io[3], \
io                901 crypto/camellia_generic.c 	io[2] ^= SUBKEY_L(max);
io                902 crypto/camellia_generic.c 	io[3] ^= SUBKEY_R(max);
io                906 crypto/camellia_generic.c static void camellia_do_decrypt(const u32 *subkey, u32 *io, unsigned i)
io                911 crypto/camellia_generic.c 	io[0] ^= SUBKEY_L(i);
io                912 crypto/camellia_generic.c 	io[1] ^= SUBKEY_R(i);
io                916 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[0], io[1], \
io                918 crypto/camellia_generic.c 			 io[2], io[3], il, ir); \
io                919 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[2], io[3], \
io                921 crypto/camellia_generic.c 			 io[0], io[1], il, ir); \
io                922 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[0], io[1], \
io                924 crypto/camellia_generic.c 			 io[2], io[3], il, ir); \
io                925 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[2], io[3], \
io                927 crypto/camellia_generic.c 			 io[0], io[1], il, ir); \
io                928 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[0], io[1], \
io                930 crypto/camellia_generic.c 			 io[2], io[3], il, ir); \
io                931 crypto/camellia_generic.c 	CAMELLIA_ROUNDSM(io[2], io[3], \
io                933 crypto/camellia_generic.c 			 io[0], io[1], il, ir); \
io                936 crypto/camellia_generic.c 	CAMELLIA_FLS(io[0], io[1], io[2], io[3], \
io                956 crypto/camellia_generic.c 	io[2] ^= SUBKEY_L(0);
io                957 crypto/camellia_generic.c 	io[3] ^= SUBKEY_R(0);
io                491 drivers/acpi/acpica/amlresrc.h 	struct aml_resource_io io;
io                243 drivers/acpi/acpica/rsaddr.c 	{ACPI_RSC_2BITFLAG, ACPI_RS_OFFSET(data.address.info.io.range_type),
io                247 drivers/acpi/acpica/rsaddr.c 	{ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.info.io.translation),
io                252 drivers/acpi/acpica/rsaddr.c 	 ACPI_RS_OFFSET(data.address.info.io.translation_type),
io                 75 drivers/acpi/acpica/rsdumpinfo.c 	{ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(io.io_decode), "Address Decoding",
io                 77 drivers/acpi/acpica/rsdumpinfo.c 	{ACPI_RSD_UINT16, ACPI_RSD_OFFSET(io.minimum), "Address Minimum", NULL},
io                 78 drivers/acpi/acpica/rsdumpinfo.c 	{ACPI_RSD_UINT16, ACPI_RSD_OFFSET(io.maximum), "Address Maximum", NULL},
io                 79 drivers/acpi/acpica/rsdumpinfo.c 	{ACPI_RSD_UINT8, ACPI_RSD_OFFSET(io.alignment), "Alignment", NULL},
io                 80 drivers/acpi/acpica/rsdumpinfo.c 	{ACPI_RSD_UINT8, ACPI_RSD_OFFSET(io.address_length), "Address Length",
io                515 drivers/acpi/acpica/rsdumpinfo.c 	{ACPI_RSD_2BITFLAG, ACPI_RSD_OFFSET(address.info.io.range_type),
io                517 drivers/acpi/acpica/rsdumpinfo.c 	{ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(address.info.io.translation),
io                519 drivers/acpi/acpica/rsdumpinfo.c 	{ACPI_RSD_1BITFLAG, ACPI_RSD_OFFSET(address.info.io.translation_type),
io                 31 drivers/acpi/acpica/rsio.c 	{ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.io.io_decode),
io                 32 drivers/acpi/acpica/rsio.c 	 AML_OFFSET(io.flags),
io                 41 drivers/acpi/acpica/rsio.c 	{ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.io.alignment),
io                 42 drivers/acpi/acpica/rsio.c 	 AML_OFFSET(io.alignment),
io                 45 drivers/acpi/acpica/rsio.c 	{ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.io.minimum),
io                 46 drivers/acpi/acpica/rsio.c 	 AML_OFFSET(io.minimum),
io               1654 drivers/acpi/ec.c 		ec->data_addr = resource->data.io.minimum;
io               1656 drivers/acpi/ec.c 		ec->command_addr = resource->data.io.minimum;
io                 51 drivers/acpi/resource.c static bool acpi_dev_resource_len_valid(u64 start, u64 end, u64 len, bool io)
io                 66 drivers/acpi/resource.c 		io ? "io" : "mem", start, end, len);
io                180 drivers/acpi/resource.c 	struct acpi_resource_io *io;
io                185 drivers/acpi/resource.c 		io = &ares->data.io;
io                186 drivers/acpi/resource.c 		acpi_dev_get_ioresource(res, io->minimum,
io                187 drivers/acpi/resource.c 					io->address_length,
io                188 drivers/acpi/resource.c 					io->io_decode);
io                255 drivers/acpi/resource.c 					  addr->info.io.translation_type);
io                402 drivers/ata/pata_artop.c 		unsigned long io = pci_resource_start(pdev, 4);
io                405 drivers/ata/pata_artop.c 		if (inb(io) & 0x10)
io                936 drivers/ata/pata_legacy.c 	unsigned long io = probe->port;
io                955 drivers/ata/pata_legacy.c 	if (devm_request_region(&pdev->dev, io, 8, "pata_legacy") == NULL ||
io                956 drivers/ata/pata_legacy.c 	    devm_request_region(&pdev->dev, io + 0x0206, 1,
io                961 drivers/ata/pata_legacy.c 	io_addr = devm_ioport_map(&pdev->dev, io, 8);
io                962 drivers/ata/pata_legacy.c 	ctrl_addr = devm_ioport_map(&pdev->dev, io + 0x0206, 1);
io                984 drivers/ata/pata_legacy.c 	ata_port_desc(ap, "cmd 0x%lx ctl 0x%lx", io, io + 0x0206);
io               1278 drivers/bus/mvebu-mbus.c 						 struct resource *io)
io               1289 drivers/bus/mvebu-mbus.c 	memset(io, 0, sizeof(struct resource));
io               1290 drivers/bus/mvebu-mbus.c 	io->end = -1;
io               1301 drivers/bus/mvebu-mbus.c 		io->start = reg[0];
io               1302 drivers/bus/mvebu-mbus.c 		io->end = io->start + reg[1] - 1;
io               1303 drivers/bus/mvebu-mbus.c 		io->flags = IORESOURCE_IO;
io                 79 drivers/char/ipmi/ipmi_bt_sm.c 	struct si_sm_io	*io;
io                110 drivers/char/ipmi/ipmi_bt_sm.c #define BT_STATUS	bt->io->inputb(bt->io, 0)
io                111 drivers/char/ipmi/ipmi_bt_sm.c #define BT_CONTROL(x)	bt->io->outputb(bt->io, 0, x)
io                113 drivers/char/ipmi/ipmi_bt_sm.c #define BMC2HOST	bt->io->inputb(bt->io, 1)
io                114 drivers/char/ipmi/ipmi_bt_sm.c #define HOST2BMC(x)	bt->io->outputb(bt->io, 1, x)
io                116 drivers/char/ipmi/ipmi_bt_sm.c #define BT_INTMASK_R	bt->io->inputb(bt->io, 2)
io                117 drivers/char/ipmi/ipmi_bt_sm.c #define BT_INTMASK_W(x)	bt->io->outputb(bt->io, 2, x)
io                173 drivers/char/ipmi/ipmi_bt_sm.c static unsigned int bt_init_data(struct si_sm_data *bt, struct si_sm_io *io)
io                176 drivers/char/ipmi/ipmi_bt_sm.c 	if (bt->io != io) {
io                178 drivers/char/ipmi/ipmi_bt_sm.c 		bt->io = io;
io                220 drivers/char/ipmi/ipmi_bt_sm.c 		dev_dbg(bt->io->dev, "+++++++++++++++++ New command\n");
io                221 drivers/char/ipmi/ipmi_bt_sm.c 		dev_dbg(bt->io->dev, "NetFn/LUN CMD [%d data]:", size - 2);
io                265 drivers/char/ipmi/ipmi_bt_sm.c 		dev_dbg(bt->io->dev, "result %d bytes:", msg_len);
io                279 drivers/char/ipmi/ipmi_bt_sm.c 		dev_dbg(bt->io->dev, "flag reset %s\n", status2txt(BT_STATUS));
io                305 drivers/char/ipmi/ipmi_bt_sm.c 		dev_dbg(bt->io->dev, "stale response %s; ",
io                320 drivers/char/ipmi/ipmi_bt_sm.c 		dev_dbg(bt->io->dev, "write %d bytes seq=0x%02X",
io                344 drivers/char/ipmi/ipmi_bt_sm.c 			dev_dbg(bt->io->dev,
io                356 drivers/char/ipmi/ipmi_bt_sm.c 		dev_dbg(bt->io->dev,
io                372 drivers/char/ipmi/ipmi_bt_sm.c 		dev_dbg(bt->io->dev,
io                399 drivers/char/ipmi/ipmi_bt_sm.c 	dev_warn(bt->io->dev, "IPMI BT: %s in %s %s ", /* open-ended line */
io                414 drivers/char/ipmi/ipmi_bt_sm.c 	dev_warn(bt->io->dev, "failed %d retries, sending error response\n",
io                417 drivers/char/ipmi/ipmi_bt_sm.c 		dev_err(bt->io->dev, "stuck, try power cycle\n");
io                421 drivers/char/ipmi/ipmi_bt_sm.c 		dev_warn(bt->io->dev, "BT reset (takes 5 secs)\n");
io                457 drivers/char/ipmi/ipmi_bt_sm.c 		dev_dbg(bt->io->dev, "BT: %s %s TO=%ld - %ld\n",
io                572 drivers/char/ipmi/ipmi_bt_sm.c 			bt_init_data(bt, bt->io);
io                638 drivers/char/ipmi/ipmi_bt_sm.c 		dev_warn(bt->io->dev,
io                656 drivers/char/ipmi/ipmi_bt_sm.c 	bt_init_data(bt, bt->io);
io                658 drivers/char/ipmi/ipmi_bt_sm.c 		dev_warn(bt->io->dev, "bt cap response too short: %d\n", rv);
io                663 drivers/char/ipmi/ipmi_bt_sm.c 		dev_warn(bt->io->dev, "Error fetching bt cap: %x\n", BT_CAP[2]);
io                665 drivers/char/ipmi/ipmi_bt_sm.c 		dev_warn(bt->io->dev, "using default values\n");
io                671 drivers/char/ipmi/ipmi_bt_sm.c 	dev_info(bt->io->dev, "req2rsp=%ld secs retries=%d\n",
io                108 drivers/char/ipmi/ipmi_kcs_sm.c 	struct si_sm_io *io;
io                124 drivers/char/ipmi/ipmi_kcs_sm.c 				  struct si_sm_io *io)
io                127 drivers/char/ipmi/ipmi_kcs_sm.c 	kcs->io = io;
io                143 drivers/char/ipmi/ipmi_kcs_sm.c 	return kcs->io->inputb(kcs->io, 1);
io                148 drivers/char/ipmi/ipmi_kcs_sm.c 	return kcs->io->inputb(kcs->io, 0);
io                153 drivers/char/ipmi/ipmi_kcs_sm.c 	kcs->io->outputb(kcs->io, 1, data);
io                158 drivers/char/ipmi/ipmi_kcs_sm.c 	kcs->io->outputb(kcs->io, 0, data);
io                493 drivers/char/ipmi/ipmi_kcs_sm.c 		init_kcs_data(kcs, kcs->io);
io                 35 drivers/char/ipmi/ipmi_si.h 	unsigned char (*inputb)(const struct si_sm_io *io, unsigned int offset);
io                 36 drivers/char/ipmi/ipmi_si.h 	void (*outputb)(const struct si_sm_io *io,
io                 51 drivers/char/ipmi/ipmi_si.h 	void (*addr_source_cleanup)(struct si_sm_io *io);
io                 60 drivers/char/ipmi/ipmi_si.h 	int (*irq_setup)(struct si_sm_io *io);
io                 62 drivers/char/ipmi/ipmi_si.h 	void (*irq_cleanup)(struct si_sm_io *io);
io                 69 drivers/char/ipmi/ipmi_si.h int ipmi_si_add_smi(struct si_sm_io *io);
io                 71 drivers/char/ipmi/ipmi_si.h void ipmi_irq_start_cleanup(struct si_sm_io *io);
io                 72 drivers/char/ipmi/ipmi_si.h int ipmi_std_irq_setup(struct si_sm_io *io);
io                 73 drivers/char/ipmi/ipmi_si.h void ipmi_irq_finish_setup(struct si_sm_io *io);
io                102 drivers/char/ipmi/ipmi_si.h int ipmi_si_port_setup(struct si_sm_io *io);
io                103 drivers/char/ipmi/ipmi_si.h int ipmi_si_mem_setup(struct si_sm_io *io);
io                139 drivers/char/ipmi/ipmi_si_intf.c 	struct si_sm_io io;
io                420 drivers/char/ipmi/ipmi_si_intf.c 	if ((smi_info->io.irq) && (!smi_info->interrupt_disabled)) {
io                430 drivers/char/ipmi/ipmi_si_intf.c 	if ((smi_info->io.irq) && (smi_info->interrupt_disabled)) {
io                505 drivers/char/ipmi/ipmi_si_intf.c 	if (((smi_info->io.irq && !smi_info->interrupt_disabled) ||
io                511 drivers/char/ipmi/ipmi_si_intf.c 	    smi_info->io.irq && !smi_info->interrupt_disabled &&
io                522 drivers/char/ipmi/ipmi_si_intf.c 	u8 irqstate = smi_info->io.inputb(&smi_info->io, IPMI_BT_INTMASK_REG);
io                530 drivers/char/ipmi/ipmi_si_intf.c 		smi_info->io.outputb(&smi_info->io, IPMI_BT_INTMASK_REG,
io                533 drivers/char/ipmi/ipmi_si_intf.c 		smi_info->io.outputb(&smi_info->io, IPMI_BT_INTMASK_REG, 0);
io                593 drivers/char/ipmi/ipmi_si_intf.c 			dev_warn(smi_info->io.dev,
io                685 drivers/char/ipmi/ipmi_si_intf.c 			dev_warn(smi_info->io.dev,
io                687 drivers/char/ipmi/ipmi_si_intf.c 			dev_warn(smi_info->io.dev,
io                693 drivers/char/ipmi/ipmi_si_intf.c 		if (smi_info->io.si_type == SI_BT)
io                723 drivers/char/ipmi/ipmi_si_intf.c 			dev_warn(smi_info->io.dev,
io                846 drivers/char/ipmi/ipmi_si_intf.c 		if (smi_info->supports_event_msg_buff || smi_info->io.irq) {
io               1102 drivers/char/ipmi/ipmi_si_intf.c 	if ((smi_info->io.irq) && (!smi_info->interrupt_disabled)) {
io               1134 drivers/char/ipmi/ipmi_si_intf.c 	if (smi_info->io.si_type == SI_BT)
io               1136 drivers/char/ipmi/ipmi_si_intf.c 		smi_info->io.outputb(&smi_info->io, IPMI_BT_INTMASK_REG,
io               1165 drivers/char/ipmi/ipmi_si_intf.c 	if (new_smi->io.irq_setup) {
io               1166 drivers/char/ipmi/ipmi_si_intf.c 		new_smi->io.irq_handler_data = new_smi;
io               1167 drivers/char/ipmi/ipmi_si_intf.c 		new_smi->io.irq_setup(&new_smi->io);
io               1179 drivers/char/ipmi/ipmi_si_intf.c 	else if ((new_smi->io.si_type != SI_BT) && (!new_smi->io.irq))
io               1186 drivers/char/ipmi/ipmi_si_intf.c 			dev_notice(new_smi->io.dev, "Could not start"
io               1201 drivers/char/ipmi/ipmi_si_intf.c 	data->addr_src = smi->io.addr_source;
io               1202 drivers/char/ipmi/ipmi_si_intf.c 	data->dev = smi->io.dev;
io               1203 drivers/char/ipmi/ipmi_si_intf.c 	data->addr_info = smi->io.addr_info;
io               1204 drivers/char/ipmi/ipmi_si_intf.c 	get_device(smi->io.dev);
io               1253 drivers/char/ipmi/ipmi_si_intf.c void ipmi_irq_finish_setup(struct si_sm_io *io)
io               1255 drivers/char/ipmi/ipmi_si_intf.c 	if (io->si_type == SI_BT)
io               1257 drivers/char/ipmi/ipmi_si_intf.c 		io->outputb(io, IPMI_BT_INTMASK_REG,
io               1261 drivers/char/ipmi/ipmi_si_intf.c void ipmi_irq_start_cleanup(struct si_sm_io *io)
io               1263 drivers/char/ipmi/ipmi_si_intf.c 	if (io->si_type == SI_BT)
io               1265 drivers/char/ipmi/ipmi_si_intf.c 		io->outputb(io, IPMI_BT_INTMASK_REG, 0);
io               1268 drivers/char/ipmi/ipmi_si_intf.c static void std_irq_cleanup(struct si_sm_io *io)
io               1270 drivers/char/ipmi/ipmi_si_intf.c 	ipmi_irq_start_cleanup(io);
io               1271 drivers/char/ipmi/ipmi_si_intf.c 	free_irq(io->irq, io->irq_handler_data);
io               1274 drivers/char/ipmi/ipmi_si_intf.c int ipmi_std_irq_setup(struct si_sm_io *io)
io               1278 drivers/char/ipmi/ipmi_si_intf.c 	if (!io->irq)
io               1281 drivers/char/ipmi/ipmi_si_intf.c 	rv = request_irq(io->irq,
io               1285 drivers/char/ipmi/ipmi_si_intf.c 			 io->irq_handler_data);
io               1287 drivers/char/ipmi/ipmi_si_intf.c 		dev_warn(io->dev, "%s unable to claim interrupt %d,"
io               1289 drivers/char/ipmi/ipmi_si_intf.c 			 SI_DEVICE_NAME, io->irq);
io               1290 drivers/char/ipmi/ipmi_si_intf.c 		io->irq = 0;
io               1292 drivers/char/ipmi/ipmi_si_intf.c 		io->irq_cleanup = std_irq_cleanup;
io               1293 drivers/char/ipmi/ipmi_si_intf.c 		ipmi_irq_finish_setup(io);
io               1294 drivers/char/ipmi/ipmi_si_intf.c 		dev_info(io->dev, "Using irq %d\n", io->irq);
io               1379 drivers/char/ipmi/ipmi_si_intf.c 		dev_warn(smi_info->io.dev,
io               1392 drivers/char/ipmi/ipmi_si_intf.c 		dev_warn(smi_info->io.dev,
io               1427 drivers/char/ipmi/ipmi_si_intf.c 		dev_warn(smi_info->io.dev,
io               1439 drivers/char/ipmi/ipmi_si_intf.c 		dev_warn(smi_info->io.dev,
io               1475 drivers/char/ipmi/ipmi_si_intf.c 		dev_err(smi_info->io.dev,
io               1485 drivers/char/ipmi/ipmi_si_intf.c 		dev_warn(smi_info->io.dev,
io               1501 drivers/char/ipmi/ipmi_si_intf.c 	if (!smi_info->io.irq)
io               1511 drivers/char/ipmi/ipmi_si_intf.c 		dev_err(smi_info->io.dev,
io               1521 drivers/char/ipmi/ipmi_si_intf.c 		dev_warn(smi_info->io.dev,
io               1620 drivers/char/ipmi/ipmi_si_intf.c 	return snprintf(buf, 10, "%s\n", si_to_str[smi_info->io.si_type]);
io               1629 drivers/char/ipmi/ipmi_si_intf.c 	int enabled = smi_info->io.irq && !smi_info->interrupt_disabled;
io               1656 drivers/char/ipmi/ipmi_si_intf.c 			si_to_str[smi_info->io.si_type],
io               1657 drivers/char/ipmi/ipmi_si_intf.c 			addr_space_to_str[smi_info->io.addr_space],
io               1658 drivers/char/ipmi/ipmi_si_intf.c 			smi_info->io.addr_data,
io               1659 drivers/char/ipmi/ipmi_si_intf.c 			smi_info->io.regspacing,
io               1660 drivers/char/ipmi/ipmi_si_intf.c 			smi_info->io.regsize,
io               1661 drivers/char/ipmi/ipmi_si_intf.c 			smi_info->io.regshift,
io               1662 drivers/char/ipmi/ipmi_si_intf.c 			smi_info->io.irq,
io               1663 drivers/char/ipmi/ipmi_si_intf.c 			smi_info->io.slave_addr);
io               1810 drivers/char/ipmi/ipmi_si_intf.c 	    smi_info->io.si_type == SI_BT)
io               1854 drivers/char/ipmi/ipmi_si_intf.c 		if (e->io.addr_space != info->io.addr_space)
io               1856 drivers/char/ipmi/ipmi_si_intf.c 		if (e->io.addr_data == info->io.addr_data) {
io               1862 drivers/char/ipmi/ipmi_si_intf.c 			if (info->io.slave_addr && !e->io.slave_addr)
io               1863 drivers/char/ipmi/ipmi_si_intf.c 				e->io.slave_addr = info->io.slave_addr;
io               1871 drivers/char/ipmi/ipmi_si_intf.c int ipmi_si_add_smi(struct si_sm_io *io)
io               1881 drivers/char/ipmi/ipmi_si_intf.c 	if (io->addr_source != SI_HARDCODED && io->addr_source != SI_HOTMOD &&
io               1882 drivers/char/ipmi/ipmi_si_intf.c 	    ipmi_si_hardcode_match(io->addr_space, io->addr_data)) {
io               1883 drivers/char/ipmi/ipmi_si_intf.c 		dev_info(io->dev,
io               1888 drivers/char/ipmi/ipmi_si_intf.c 	if (!io->io_setup) {
io               1889 drivers/char/ipmi/ipmi_si_intf.c 		if (io->addr_space == IPMI_IO_ADDR_SPACE) {
io               1890 drivers/char/ipmi/ipmi_si_intf.c 			io->io_setup = ipmi_si_port_setup;
io               1891 drivers/char/ipmi/ipmi_si_intf.c 		} else if (io->addr_space == IPMI_MEM_ADDR_SPACE) {
io               1892 drivers/char/ipmi/ipmi_si_intf.c 			io->io_setup = ipmi_si_mem_setup;
io               1903 drivers/char/ipmi/ipmi_si_intf.c 	new_smi->io = *io;
io               1908 drivers/char/ipmi/ipmi_si_intf.c 		if (new_smi->io.addr_source == SI_ACPI &&
io               1909 drivers/char/ipmi/ipmi_si_intf.c 		    dup->io.addr_source == SI_SMBIOS) {
io               1911 drivers/char/ipmi/ipmi_si_intf.c 			dev_info(dup->io.dev,
io               1913 drivers/char/ipmi/ipmi_si_intf.c 				 si_to_str[new_smi->io.si_type]);
io               1916 drivers/char/ipmi/ipmi_si_intf.c 			dev_info(new_smi->io.dev,
io               1918 drivers/char/ipmi/ipmi_si_intf.c 				 ipmi_addr_src_to_str(new_smi->io.addr_source),
io               1919 drivers/char/ipmi/ipmi_si_intf.c 				 si_to_str[new_smi->io.si_type]);
io               1927 drivers/char/ipmi/ipmi_si_intf.c 		ipmi_addr_src_to_str(new_smi->io.addr_source),
io               1928 drivers/char/ipmi/ipmi_si_intf.c 		si_to_str[new_smi->io.si_type]);
io               1950 drivers/char/ipmi/ipmi_si_intf.c 		ipmi_addr_src_to_str(new_smi->io.addr_source),
io               1951 drivers/char/ipmi/ipmi_si_intf.c 		si_to_str[new_smi->io.si_type],
io               1952 drivers/char/ipmi/ipmi_si_intf.c 		addr_space_to_str[new_smi->io.addr_space],
io               1953 drivers/char/ipmi/ipmi_si_intf.c 		new_smi->io.addr_data,
io               1954 drivers/char/ipmi/ipmi_si_intf.c 		new_smi->io.slave_addr, new_smi->io.irq);
io               1956 drivers/char/ipmi/ipmi_si_intf.c 	switch (new_smi->io.si_type) {
io               1978 drivers/char/ipmi/ipmi_si_intf.c 	if (!new_smi->io.dev) {
io               1990 drivers/char/ipmi/ipmi_si_intf.c 	new_smi->io.io_size = new_smi->handlers->init_data(new_smi->si_sm,
io               1991 drivers/char/ipmi/ipmi_si_intf.c 							   &new_smi->io);
io               1994 drivers/char/ipmi/ipmi_si_intf.c 	rv = new_smi->io.io_setup(&new_smi->io);
io               1996 drivers/char/ipmi/ipmi_si_intf.c 		dev_err(new_smi->io.dev, "Could not set up I/O space\n");
io               2002 drivers/char/ipmi/ipmi_si_intf.c 		if (new_smi->io.addr_source)
io               2003 drivers/char/ipmi/ipmi_si_intf.c 			dev_err(new_smi->io.dev,
io               2015 drivers/char/ipmi/ipmi_si_intf.c 		if (new_smi->io.addr_source)
io               2016 drivers/char/ipmi/ipmi_si_intf.c 			dev_err(new_smi->io.dev,
io               2049 drivers/char/ipmi/ipmi_si_intf.c 	if (new_smi->io.irq) {
io               2054 drivers/char/ipmi/ipmi_si_intf.c 	dev_set_drvdata(new_smi->io.dev, new_smi);
io               2055 drivers/char/ipmi/ipmi_si_intf.c 	rv = device_add_group(new_smi->io.dev, &ipmi_si_dev_attr_group);
io               2057 drivers/char/ipmi/ipmi_si_intf.c 		dev_err(new_smi->io.dev,
io               2066 drivers/char/ipmi/ipmi_si_intf.c 			       new_smi->io.dev,
io               2067 drivers/char/ipmi/ipmi_si_intf.c 			       new_smi->io.slave_addr);
io               2069 drivers/char/ipmi/ipmi_si_intf.c 		dev_err(new_smi->io.dev,
io               2078 drivers/char/ipmi/ipmi_si_intf.c 	dev_info(new_smi->io.dev, "IPMI %s interface initialized\n",
io               2079 drivers/char/ipmi/ipmi_si_intf.c 		 si_to_str[new_smi->io.si_type]);
io               2081 drivers/char/ipmi/ipmi_si_intf.c 	WARN_ON(new_smi->io.dev->init_name != NULL);
io               2084 drivers/char/ipmi/ipmi_si_intf.c 	if (rv && new_smi->io.io_cleanup) {
io               2085 drivers/char/ipmi/ipmi_si_intf.c 		new_smi->io.io_cleanup(&new_smi->io);
io               2086 drivers/char/ipmi/ipmi_si_intf.c 		new_smi->io.io_cleanup = NULL;
io               2119 drivers/char/ipmi/ipmi_si_intf.c 		if (e->io.irq && (!type || e->io.addr_source == type)) {
io               2121 drivers/char/ipmi/ipmi_si_intf.c 				type = e->io.addr_source;
io               2133 drivers/char/ipmi/ipmi_si_intf.c 		if (!e->io.irq && (!type || e->io.addr_source == type)) {
io               2135 drivers/char/ipmi/ipmi_si_intf.c 				type = e->io.addr_source;
io               2165 drivers/char/ipmi/ipmi_si_intf.c 		device_remove_group(smi_info->io.dev, &ipmi_si_dev_attr_group);
io               2168 drivers/char/ipmi/ipmi_si_intf.c 	if (smi_info->io.dev)
io               2169 drivers/char/ipmi/ipmi_si_intf.c 		dev_set_drvdata(smi_info->io.dev, NULL);
io               2176 drivers/char/ipmi/ipmi_si_intf.c 	if (smi_info->io.irq_cleanup) {
io               2177 drivers/char/ipmi/ipmi_si_intf.c 		smi_info->io.irq_cleanup(&smi_info->io);
io               2178 drivers/char/ipmi/ipmi_si_intf.c 		smi_info->io.irq_cleanup = NULL;
io               2207 drivers/char/ipmi/ipmi_si_intf.c 	if (smi_info->io.addr_source_cleanup) {
io               2208 drivers/char/ipmi/ipmi_si_intf.c 		smi_info->io.addr_source_cleanup(&smi_info->io);
io               2209 drivers/char/ipmi/ipmi_si_intf.c 		smi_info->io.addr_source_cleanup = NULL;
io               2211 drivers/char/ipmi/ipmi_si_intf.c 	if (smi_info->io.io_cleanup) {
io               2212 drivers/char/ipmi/ipmi_si_intf.c 		smi_info->io.io_cleanup(&smi_info->io);
io               2213 drivers/char/ipmi/ipmi_si_intf.c 		smi_info->io.io_cleanup = NULL;
io               2246 drivers/char/ipmi/ipmi_si_intf.c 		if (e->io.dev == dev) {
io               2266 drivers/char/ipmi/ipmi_si_intf.c 		if (e->io.addr_space != addr_space)
io               2268 drivers/char/ipmi/ipmi_si_intf.c 		if (e->io.si_type != si_type)
io               2270 drivers/char/ipmi/ipmi_si_intf.c 		if (e->io.addr_data == addr) {
io               2271 drivers/char/ipmi/ipmi_si_intf.c 			dev = get_device(e->io.dev);
io                  6 drivers/char/ipmi/ipmi_si_mem_io.c static unsigned char intf_mem_inb(const struct si_sm_io *io,
io                  9 drivers/char/ipmi/ipmi_si_mem_io.c 	return readb((io->addr)+(offset * io->regspacing));
io                 12 drivers/char/ipmi/ipmi_si_mem_io.c static void intf_mem_outb(const struct si_sm_io *io, unsigned int offset,
io                 15 drivers/char/ipmi/ipmi_si_mem_io.c 	writeb(b, (io->addr)+(offset * io->regspacing));
io                 18 drivers/char/ipmi/ipmi_si_mem_io.c static unsigned char intf_mem_inw(const struct si_sm_io *io,
io                 21 drivers/char/ipmi/ipmi_si_mem_io.c 	return (readw((io->addr)+(offset * io->regspacing)) >> io->regshift)
io                 25 drivers/char/ipmi/ipmi_si_mem_io.c static void intf_mem_outw(const struct si_sm_io *io, unsigned int offset,
io                 28 drivers/char/ipmi/ipmi_si_mem_io.c 	writeb(b << io->regshift, (io->addr)+(offset * io->regspacing));
io                 31 drivers/char/ipmi/ipmi_si_mem_io.c static unsigned char intf_mem_inl(const struct si_sm_io *io,
io                 34 drivers/char/ipmi/ipmi_si_mem_io.c 	return (readl((io->addr)+(offset * io->regspacing)) >> io->regshift)
io                 38 drivers/char/ipmi/ipmi_si_mem_io.c static void intf_mem_outl(const struct si_sm_io *io, unsigned int offset,
io                 41 drivers/char/ipmi/ipmi_si_mem_io.c 	writel(b << io->regshift, (io->addr)+(offset * io->regspacing));
io                 45 drivers/char/ipmi/ipmi_si_mem_io.c static unsigned char mem_inq(const struct si_sm_io *io, unsigned int offset)
io                 47 drivers/char/ipmi/ipmi_si_mem_io.c 	return (readq((io->addr)+(offset * io->regspacing)) >> io->regshift)
io                 51 drivers/char/ipmi/ipmi_si_mem_io.c static void mem_outq(const struct si_sm_io *io, unsigned int offset,
io                 54 drivers/char/ipmi/ipmi_si_mem_io.c 	writeq((u64)b << io->regshift, (io->addr)+(offset * io->regspacing));
io                 58 drivers/char/ipmi/ipmi_si_mem_io.c static void mem_region_cleanup(struct si_sm_io *io, int num)
io                 60 drivers/char/ipmi/ipmi_si_mem_io.c 	unsigned long addr = io->addr_data;
io                 64 drivers/char/ipmi/ipmi_si_mem_io.c 		release_mem_region(addr + idx * io->regspacing,
io                 65 drivers/char/ipmi/ipmi_si_mem_io.c 				   io->regsize);
io                 68 drivers/char/ipmi/ipmi_si_mem_io.c static void mem_cleanup(struct si_sm_io *io)
io                 70 drivers/char/ipmi/ipmi_si_mem_io.c 	if (io->addr) {
io                 71 drivers/char/ipmi/ipmi_si_mem_io.c 		iounmap(io->addr);
io                 72 drivers/char/ipmi/ipmi_si_mem_io.c 		mem_region_cleanup(io, io->io_size);
io                 76 drivers/char/ipmi/ipmi_si_mem_io.c int ipmi_si_mem_setup(struct si_sm_io *io)
io                 78 drivers/char/ipmi/ipmi_si_mem_io.c 	unsigned long addr = io->addr_data;
io                 88 drivers/char/ipmi/ipmi_si_mem_io.c 	switch (io->regsize) {
io                 90 drivers/char/ipmi/ipmi_si_mem_io.c 		io->inputb = intf_mem_inb;
io                 91 drivers/char/ipmi/ipmi_si_mem_io.c 		io->outputb = intf_mem_outb;
io                 94 drivers/char/ipmi/ipmi_si_mem_io.c 		io->inputb = intf_mem_inw;
io                 95 drivers/char/ipmi/ipmi_si_mem_io.c 		io->outputb = intf_mem_outw;
io                 98 drivers/char/ipmi/ipmi_si_mem_io.c 		io->inputb = intf_mem_inl;
io                 99 drivers/char/ipmi/ipmi_si_mem_io.c 		io->outputb = intf_mem_outl;
io                103 drivers/char/ipmi/ipmi_si_mem_io.c 		io->inputb = mem_inq;
io                104 drivers/char/ipmi/ipmi_si_mem_io.c 		io->outputb = mem_outq;
io                108 drivers/char/ipmi/ipmi_si_mem_io.c 		dev_warn(io->dev, "Invalid register size: %d\n",
io                109 drivers/char/ipmi/ipmi_si_mem_io.c 			 io->regsize);
io                119 drivers/char/ipmi/ipmi_si_mem_io.c 	for (idx = 0; idx < io->io_size; idx++) {
io                120 drivers/char/ipmi/ipmi_si_mem_io.c 		if (request_mem_region(addr + idx * io->regspacing,
io                121 drivers/char/ipmi/ipmi_si_mem_io.c 				       io->regsize, SI_DEVICE_NAME) == NULL) {
io                123 drivers/char/ipmi/ipmi_si_mem_io.c 			mem_region_cleanup(io, idx);
io                135 drivers/char/ipmi/ipmi_si_mem_io.c 	mapsize = ((io->io_size * io->regspacing)
io                136 drivers/char/ipmi/ipmi_si_mem_io.c 		   - (io->regspacing - io->regsize));
io                137 drivers/char/ipmi/ipmi_si_mem_io.c 	io->addr = ioremap(addr, mapsize);
io                138 drivers/char/ipmi/ipmi_si_mem_io.c 	if (io->addr == NULL) {
io                139 drivers/char/ipmi/ipmi_si_mem_io.c 		mem_region_cleanup(io, io->io_size);
io                143 drivers/char/ipmi/ipmi_si_mem_io.c 	io->io_cleanup = mem_cleanup;
io                 12 drivers/char/ipmi/ipmi_si_parisc.c 	struct si_sm_io io;
io                 14 drivers/char/ipmi/ipmi_si_parisc.c 	memset(&io, 0, sizeof(io));
io                 16 drivers/char/ipmi/ipmi_si_parisc.c 	io.si_type	= SI_KCS;
io                 17 drivers/char/ipmi/ipmi_si_parisc.c 	io.addr_source	= SI_DEVICETREE;
io                 18 drivers/char/ipmi/ipmi_si_parisc.c 	io.addr_space	= IPMI_MEM_ADDR_SPACE;
io                 19 drivers/char/ipmi/ipmi_si_parisc.c 	io.addr_data	= dev->hpa.start;
io                 20 drivers/char/ipmi/ipmi_si_parisc.c 	io.regsize	= 1;
io                 21 drivers/char/ipmi/ipmi_si_parisc.c 	io.regspacing	= 1;
io                 22 drivers/char/ipmi/ipmi_si_parisc.c 	io.regshift	= 0;
io                 23 drivers/char/ipmi/ipmi_si_parisc.c 	io.irq		= 0; /* no interrupt */
io                 24 drivers/char/ipmi/ipmi_si_parisc.c 	io.irq_setup	= NULL;
io                 25 drivers/char/ipmi/ipmi_si_parisc.c 	io.dev		= &dev->dev;
io                 27 drivers/char/ipmi/ipmi_si_parisc.c 	dev_dbg(&dev->dev, "addr 0x%lx\n", io.addr_data);
io                 29 drivers/char/ipmi/ipmi_si_parisc.c 	return ipmi_si_add_smi(&io);
io                 24 drivers/char/ipmi/ipmi_si_pci.c static void ipmi_pci_cleanup(struct si_sm_io *io)
io                 26 drivers/char/ipmi/ipmi_si_pci.c 	struct pci_dev *pdev = io->addr_source_data;
io                 31 drivers/char/ipmi/ipmi_si_pci.c static int ipmi_pci_probe_regspacing(struct si_sm_io *io)
io                 33 drivers/char/ipmi/ipmi_si_pci.c 	if (io->si_type == SI_KCS) {
io                 37 drivers/char/ipmi/ipmi_si_pci.c 		io->regsize = DEFAULT_REGSIZE;
io                 38 drivers/char/ipmi/ipmi_si_pci.c 		io->regshift = 0;
io                 42 drivers/char/ipmi/ipmi_si_pci.c 			io->regspacing = regspacing;
io                 43 drivers/char/ipmi/ipmi_si_pci.c 			if (io->io_setup(io)) {
io                 44 drivers/char/ipmi/ipmi_si_pci.c 				dev_err(io->dev, "Could not setup I/O space\n");
io                 48 drivers/char/ipmi/ipmi_si_pci.c 			io->outputb(io, 1, 0x10);
io                 50 drivers/char/ipmi/ipmi_si_pci.c 			status = io->inputb(io, 1);
io                 51 drivers/char/ipmi/ipmi_si_pci.c 			io->io_cleanup(io);
io                 73 drivers/char/ipmi/ipmi_si_pci.c 	struct si_sm_io io;
io                 78 drivers/char/ipmi/ipmi_si_pci.c 	memset(&io, 0, sizeof(io));
io                 79 drivers/char/ipmi/ipmi_si_pci.c 	io.addr_source = SI_PCI;
io                 84 drivers/char/ipmi/ipmi_si_pci.c 		io.si_type = SI_SMIC;
io                 88 drivers/char/ipmi/ipmi_si_pci.c 		io.si_type = SI_KCS;
io                 92 drivers/char/ipmi/ipmi_si_pci.c 		io.si_type = SI_BT;
io                106 drivers/char/ipmi/ipmi_si_pci.c 	io.addr_source_cleanup = ipmi_pci_cleanup;
io                107 drivers/char/ipmi/ipmi_si_pci.c 	io.addr_source_data = pdev;
io                110 drivers/char/ipmi/ipmi_si_pci.c 		io.addr_space = IPMI_IO_ADDR_SPACE;
io                111 drivers/char/ipmi/ipmi_si_pci.c 		io.io_setup = ipmi_si_port_setup;
io                113 drivers/char/ipmi/ipmi_si_pci.c 		io.addr_space = IPMI_MEM_ADDR_SPACE;
io                114 drivers/char/ipmi/ipmi_si_pci.c 		io.io_setup = ipmi_si_mem_setup;
io                116 drivers/char/ipmi/ipmi_si_pci.c 	io.addr_data = pci_resource_start(pdev, 0);
io                118 drivers/char/ipmi/ipmi_si_pci.c 	io.dev = &pdev->dev;
io                120 drivers/char/ipmi/ipmi_si_pci.c 	io.regspacing = ipmi_pci_probe_regspacing(&io);
io                121 drivers/char/ipmi/ipmi_si_pci.c 	io.regsize = DEFAULT_REGSIZE;
io                122 drivers/char/ipmi/ipmi_si_pci.c 	io.regshift = 0;
io                124 drivers/char/ipmi/ipmi_si_pci.c 	io.irq = pdev->irq;
io                125 drivers/char/ipmi/ipmi_si_pci.c 	if (io.irq)
io                126 drivers/char/ipmi/ipmi_si_pci.c 		io.irq_setup = ipmi_std_irq_setup;
io                129 drivers/char/ipmi/ipmi_si_pci.c 		 &pdev->resource[0], io.regsize, io.regspacing, io.irq);
io                131 drivers/char/ipmi/ipmi_si_pci.c 	rv = ipmi_si_add_smi(&io);
io                 61 drivers/char/ipmi/ipmi_si_platform.c 	struct si_sm_io *io = context;
io                 63 drivers/char/ipmi/ipmi_si_platform.c 	ipmi_si_irq_handler(io->irq, io->irq_handler_data);
io                 67 drivers/char/ipmi/ipmi_si_platform.c static void acpi_gpe_irq_cleanup(struct si_sm_io *io)
io                 69 drivers/char/ipmi/ipmi_si_platform.c 	if (!io->irq)
io                 72 drivers/char/ipmi/ipmi_si_platform.c 	ipmi_irq_start_cleanup(io);
io                 73 drivers/char/ipmi/ipmi_si_platform.c 	acpi_remove_gpe_handler(NULL, io->irq, &ipmi_acpi_gpe);
io                 76 drivers/char/ipmi/ipmi_si_platform.c static int acpi_gpe_irq_setup(struct si_sm_io *io)
io                 80 drivers/char/ipmi/ipmi_si_platform.c 	if (!io->irq)
io                 84 drivers/char/ipmi/ipmi_si_platform.c 					  io->irq,
io                 87 drivers/char/ipmi/ipmi_si_platform.c 					  io);
io                 89 drivers/char/ipmi/ipmi_si_platform.c 		dev_warn(io->dev,
io                 91 drivers/char/ipmi/ipmi_si_platform.c 			 io->irq);
io                 92 drivers/char/ipmi/ipmi_si_platform.c 		io->irq = 0;
io                 95 drivers/char/ipmi/ipmi_si_platform.c 		io->irq_cleanup = acpi_gpe_irq_cleanup;
io                 96 drivers/char/ipmi/ipmi_si_platform.c 		ipmi_irq_finish_setup(io);
io                 97 drivers/char/ipmi/ipmi_si_platform.c 		dev_info(io->dev, "Using ACPI GPE %d\n", io->irq);
io                105 drivers/char/ipmi/ipmi_si_platform.c 			     struct si_sm_io *io)
io                111 drivers/char/ipmi/ipmi_si_platform.c 		io->addr_space = IPMI_IO_ADDR_SPACE;
io                115 drivers/char/ipmi/ipmi_si_platform.c 			io->addr_space = IPMI_MEM_ADDR_SPACE;
io                121 drivers/char/ipmi/ipmi_si_platform.c 	io->addr_data = res->start;
io                123 drivers/char/ipmi/ipmi_si_platform.c 	io->regspacing = DEFAULT_REGSPACING;
io                125 drivers/char/ipmi/ipmi_si_platform.c 			       (io->addr_space == IPMI_IO_ADDR_SPACE) ?
io                129 drivers/char/ipmi/ipmi_si_platform.c 		if (res_second->start > io->addr_data)
io                130 drivers/char/ipmi/ipmi_si_platform.c 			io->regspacing = res_second->start - io->addr_data;
io                138 drivers/char/ipmi/ipmi_si_platform.c 	struct si_sm_io io;
io                160 drivers/char/ipmi/ipmi_si_platform.c 	memset(&io, 0, sizeof(io));
io                161 drivers/char/ipmi/ipmi_si_platform.c 	io.addr_source = addr_source;
io                169 drivers/char/ipmi/ipmi_si_platform.c 		io.si_type = type;
io                178 drivers/char/ipmi/ipmi_si_platform.c 	io.regsize = DEFAULT_REGSIZE;
io                181 drivers/char/ipmi/ipmi_si_platform.c 		io.regsize = regsize;
io                183 drivers/char/ipmi/ipmi_si_platform.c 	io.regshift = 0;
io                186 drivers/char/ipmi/ipmi_si_platform.c 		io.regshift = regshift;
io                188 drivers/char/ipmi/ipmi_si_platform.c 	if (!ipmi_get_info_from_resources(pdev, &io))
io                193 drivers/char/ipmi/ipmi_si_platform.c 		io.slave_addr = 0x20;
io                195 drivers/char/ipmi/ipmi_si_platform.c 		io.slave_addr = slave_addr;
io                197 drivers/char/ipmi/ipmi_si_platform.c 	io.irq = platform_get_irq_optional(pdev, 0);
io                198 drivers/char/ipmi/ipmi_si_platform.c 	if (io.irq > 0)
io                199 drivers/char/ipmi/ipmi_si_platform.c 		io.irq_setup = ipmi_std_irq_setup;
io                201 drivers/char/ipmi/ipmi_si_platform.c 		io.irq = 0;
io                203 drivers/char/ipmi/ipmi_si_platform.c 	io.dev = &pdev->dev;
io                207 drivers/char/ipmi/ipmi_si_platform.c 		(io.addr_space == IPMI_IO_ADDR_SPACE) ? "io" : "mem",
io                208 drivers/char/ipmi/ipmi_si_platform.c 		io.addr_data, io.regsize, io.regspacing, io.irq);
io                210 drivers/char/ipmi/ipmi_si_platform.c 	ipmi_si_add_smi(&io);
io                230 drivers/char/ipmi/ipmi_si_platform.c 	struct si_sm_io io;
io                273 drivers/char/ipmi/ipmi_si_platform.c 	memset(&io, 0, sizeof(io));
io                274 drivers/char/ipmi/ipmi_si_platform.c 	io.si_type	= (enum si_type) match->data;
io                275 drivers/char/ipmi/ipmi_si_platform.c 	io.addr_source	= SI_DEVICETREE;
io                276 drivers/char/ipmi/ipmi_si_platform.c 	io.irq_setup	= ipmi_std_irq_setup;
io                279 drivers/char/ipmi/ipmi_si_platform.c 		io.addr_space = IPMI_IO_ADDR_SPACE;
io                281 drivers/char/ipmi/ipmi_si_platform.c 		io.addr_space = IPMI_MEM_ADDR_SPACE;
io                283 drivers/char/ipmi/ipmi_si_platform.c 	io.addr_data	= resource.start;
io                285 drivers/char/ipmi/ipmi_si_platform.c 	io.regsize	= regsize ? be32_to_cpup(regsize) : DEFAULT_REGSIZE;
io                286 drivers/char/ipmi/ipmi_si_platform.c 	io.regspacing	= regspacing ? be32_to_cpup(regspacing) : DEFAULT_REGSPACING;
io                287 drivers/char/ipmi/ipmi_si_platform.c 	io.regshift	= regshift ? be32_to_cpup(regshift) : 0;
io                289 drivers/char/ipmi/ipmi_si_platform.c 	io.irq		= irq_of_parse_and_map(pdev->dev.of_node, 0);
io                290 drivers/char/ipmi/ipmi_si_platform.c 	io.dev		= &pdev->dev;
io                293 drivers/char/ipmi/ipmi_si_platform.c 		io.addr_data, io.regsize, io.regspacing, io.irq);
io                295 drivers/char/ipmi/ipmi_si_platform.c 	return ipmi_si_add_smi(&io);
io                306 drivers/char/ipmi/ipmi_si_platform.c static int find_slave_address(struct si_sm_io *io, int slave_addr)
io                310 drivers/char/ipmi/ipmi_si_platform.c 		slave_addr = ipmi_dmi_get_slave_addr(io->si_type,
io                311 drivers/char/ipmi/ipmi_si_platform.c 						     io->addr_space,
io                312 drivers/char/ipmi/ipmi_si_platform.c 						     io->addr_data);
io                320 drivers/char/ipmi/ipmi_si_platform.c 	struct si_sm_io io;
io                334 drivers/char/ipmi/ipmi_si_platform.c 	memset(&io, 0, sizeof(io));
io                335 drivers/char/ipmi/ipmi_si_platform.c 	io.addr_source = SI_ACPI;
io                338 drivers/char/ipmi/ipmi_si_platform.c 	io.addr_info.acpi_info.acpi_handle = handle;
io                350 drivers/char/ipmi/ipmi_si_platform.c 		io.si_type = SI_KCS;
io                353 drivers/char/ipmi/ipmi_si_platform.c 		io.si_type = SI_SMIC;
io                356 drivers/char/ipmi/ipmi_si_platform.c 		io.si_type = SI_BT;
io                366 drivers/char/ipmi/ipmi_si_platform.c 	io.regsize = DEFAULT_REGSIZE;
io                367 drivers/char/ipmi/ipmi_si_platform.c 	io.regshift = 0;
io                369 drivers/char/ipmi/ipmi_si_platform.c 	res = ipmi_get_info_from_resources(pdev, &io);
io                378 drivers/char/ipmi/ipmi_si_platform.c 		io.irq = tmp;
io                379 drivers/char/ipmi/ipmi_si_platform.c 		io.irq_setup = acpi_gpe_irq_setup;
io                384 drivers/char/ipmi/ipmi_si_platform.c 			io.irq = irq;
io                385 drivers/char/ipmi/ipmi_si_platform.c 			io.irq_setup = ipmi_std_irq_setup;
io                389 drivers/char/ipmi/ipmi_si_platform.c 	io.slave_addr = find_slave_address(&io, io.slave_addr);
io                391 drivers/char/ipmi/ipmi_si_platform.c 	io.dev = &pdev->dev;
io                393 drivers/char/ipmi/ipmi_si_platform.c 	dev_info(io.dev, "%pR regsize %d spacing %d irq %d\n",
io                394 drivers/char/ipmi/ipmi_si_platform.c 		 res, io.regsize, io.regspacing, io.irq);
io                396 drivers/char/ipmi/ipmi_si_platform.c 	return ipmi_si_add_smi(&io);
io                  6 drivers/char/ipmi/ipmi_si_port_io.c static unsigned char port_inb(const struct si_sm_io *io, unsigned int offset)
io                  8 drivers/char/ipmi/ipmi_si_port_io.c 	unsigned int addr = io->addr_data;
io                 10 drivers/char/ipmi/ipmi_si_port_io.c 	return inb(addr + (offset * io->regspacing));
io                 13 drivers/char/ipmi/ipmi_si_port_io.c static void port_outb(const struct si_sm_io *io, unsigned int offset,
io                 16 drivers/char/ipmi/ipmi_si_port_io.c 	unsigned int addr = io->addr_data;
io                 18 drivers/char/ipmi/ipmi_si_port_io.c 	outb(b, addr + (offset * io->regspacing));
io                 21 drivers/char/ipmi/ipmi_si_port_io.c static unsigned char port_inw(const struct si_sm_io *io, unsigned int offset)
io                 23 drivers/char/ipmi/ipmi_si_port_io.c 	unsigned int addr = io->addr_data;
io                 25 drivers/char/ipmi/ipmi_si_port_io.c 	return (inw(addr + (offset * io->regspacing)) >> io->regshift) & 0xff;
io                 28 drivers/char/ipmi/ipmi_si_port_io.c static void port_outw(const struct si_sm_io *io, unsigned int offset,
io                 31 drivers/char/ipmi/ipmi_si_port_io.c 	unsigned int addr = io->addr_data;
io                 33 drivers/char/ipmi/ipmi_si_port_io.c 	outw(b << io->regshift, addr + (offset * io->regspacing));
io                 36 drivers/char/ipmi/ipmi_si_port_io.c static unsigned char port_inl(const struct si_sm_io *io, unsigned int offset)
io                 38 drivers/char/ipmi/ipmi_si_port_io.c 	unsigned int addr = io->addr_data;
io                 40 drivers/char/ipmi/ipmi_si_port_io.c 	return (inl(addr + (offset * io->regspacing)) >> io->regshift) & 0xff;
io                 43 drivers/char/ipmi/ipmi_si_port_io.c static void port_outl(const struct si_sm_io *io, unsigned int offset,
io                 46 drivers/char/ipmi/ipmi_si_port_io.c 	unsigned int addr = io->addr_data;
io                 48 drivers/char/ipmi/ipmi_si_port_io.c 	outl(b << io->regshift, addr+(offset * io->regspacing));
io                 51 drivers/char/ipmi/ipmi_si_port_io.c static void port_cleanup(struct si_sm_io *io)
io                 53 drivers/char/ipmi/ipmi_si_port_io.c 	unsigned int addr = io->addr_data;
io                 57 drivers/char/ipmi/ipmi_si_port_io.c 		for (idx = 0; idx < io->io_size; idx++)
io                 58 drivers/char/ipmi/ipmi_si_port_io.c 			release_region(addr + idx * io->regspacing,
io                 59 drivers/char/ipmi/ipmi_si_port_io.c 				       io->regsize);
io                 63 drivers/char/ipmi/ipmi_si_port_io.c int ipmi_si_port_setup(struct si_sm_io *io)
io                 65 drivers/char/ipmi/ipmi_si_port_io.c 	unsigned int addr = io->addr_data;
io                 75 drivers/char/ipmi/ipmi_si_port_io.c 	switch (io->regsize) {
io                 77 drivers/char/ipmi/ipmi_si_port_io.c 		io->inputb = port_inb;
io                 78 drivers/char/ipmi/ipmi_si_port_io.c 		io->outputb = port_outb;
io                 81 drivers/char/ipmi/ipmi_si_port_io.c 		io->inputb = port_inw;
io                 82 drivers/char/ipmi/ipmi_si_port_io.c 		io->outputb = port_outw;
io                 85 drivers/char/ipmi/ipmi_si_port_io.c 		io->inputb = port_inl;
io                 86 drivers/char/ipmi/ipmi_si_port_io.c 		io->outputb = port_outl;
io                 89 drivers/char/ipmi/ipmi_si_port_io.c 		dev_warn(io->dev, "Invalid register size: %d\n",
io                 90 drivers/char/ipmi/ipmi_si_port_io.c 			 io->regsize);
io                100 drivers/char/ipmi/ipmi_si_port_io.c 	for (idx = 0; idx < io->io_size; idx++) {
io                101 drivers/char/ipmi/ipmi_si_port_io.c 		if (request_region(addr + idx * io->regspacing,
io                102 drivers/char/ipmi/ipmi_si_port_io.c 				   io->regsize, SI_DEVICE_NAME) == NULL) {
io                105 drivers/char/ipmi/ipmi_si_port_io.c 				release_region(addr + idx * io->regspacing,
io                106 drivers/char/ipmi/ipmi_si_port_io.c 					       io->regsize);
io                111 drivers/char/ipmi/ipmi_si_port_io.c 	io->io_cleanup = port_cleanup;
io                 57 drivers/char/ipmi/ipmi_si_sm.h 				  struct si_sm_io   *io);
io                 90 drivers/char/ipmi/ipmi_smic_sm.c 	struct si_sm_io *io;
io                103 drivers/char/ipmi/ipmi_smic_sm.c 				   struct si_sm_io *io)
io                106 drivers/char/ipmi/ipmi_smic_sm.c 	smic->io = io;
io                179 drivers/char/ipmi/ipmi_smic_sm.c 	return smic->io->inputb(smic->io, 2);
io                184 drivers/char/ipmi/ipmi_smic_sm.c 	return smic->io->inputb(smic->io, 1);
io                189 drivers/char/ipmi/ipmi_smic_sm.c 	return smic->io->inputb(smic->io, 0);
io                195 drivers/char/ipmi/ipmi_smic_sm.c 	smic->io->outputb(smic->io, 2, flags);
io                201 drivers/char/ipmi/ipmi_smic_sm.c 	smic->io->outputb(smic->io, 1, control);
io                207 drivers/char/ipmi/ipmi_smic_sm.c 	smic->io->outputb(smic->io, 0, data);
io                322 drivers/char/ipmi/ipmi_smic_sm.c 		init_smic_data(smic, smic->io);
io                531 drivers/char/ipmi/ipmi_smic_sm.c 		init_smic_data(smic, smic->io);
io                 67 drivers/clk/clk-nspire.c 	void __iomem *io;
io                 73 drivers/clk/clk-nspire.c 	io = of_iomap(node, 0);
io                 74 drivers/clk/clk-nspire.c 	if (!io)
io                 76 drivers/clk/clk-nspire.c 	val = readl(io);
io                 77 drivers/clk/clk-nspire.c 	iounmap(io);
io                109 drivers/clk/clk-nspire.c 	void __iomem *io;
io                114 drivers/clk/clk-nspire.c 	io = of_iomap(node, 0);
io                115 drivers/clk/clk-nspire.c 	if (!io)
io                117 drivers/clk/clk-nspire.c 	val = readl(io);
io                118 drivers/clk/clk-nspire.c 	iounmap(io);
io                715 drivers/clk/rockchip/clk.h #define INVERTER(_id, cname, pname, io, is, if)			\
io                722 drivers/clk/rockchip/clk.h 		.muxdiv_offset	= io,				\
io                141 drivers/clk/sirf/clk-atlas6.c 	clk_register_clkdev(atlas6_clks[io],  NULL, "io");
io                140 drivers/clk/sirf/clk-prima2.c 	clk_register_clkdev(prima2_clks[io],  NULL, "io");
io                 50 drivers/clk/ti/clk.c 	struct clk_iomap *io = clk_memmaps[reg->index];
io                 54 drivers/clk/ti/clk.c 	else if (io->regmap)
io                 55 drivers/clk/ti/clk.c 		regmap_write(io->regmap, reg->offset, val);
io                 57 drivers/clk/ti/clk.c 		writel_relaxed(val, io->mem + reg->offset);
io                 72 drivers/clk/ti/clk.c 	struct clk_iomap *io = clk_memmaps[reg->index];
io                 76 drivers/clk/ti/clk.c 	} else if (io->regmap) {
io                 77 drivers/clk/ti/clk.c 		regmap_update_bits(io->regmap, reg->offset, mask, val);
io                 79 drivers/clk/ti/clk.c 		_clk_rmw(val, mask, io->mem + reg->offset);
io                 86 drivers/clk/ti/clk.c 	struct clk_iomap *io = clk_memmaps[reg->index];
io                 90 drivers/clk/ti/clk.c 	else if (io->regmap)
io                 91 drivers/clk/ti/clk.c 		regmap_read(io->regmap, reg->offset, &val);
io                 93 drivers/clk/ti/clk.c 		val = readl_relaxed(io->mem + reg->offset);
io                324 drivers/clk/ti/clk.c 	struct clk_iomap *io;
io                336 drivers/clk/ti/clk.c 	io = kzalloc(sizeof(*io), GFP_KERNEL);
io                337 drivers/clk/ti/clk.c 	if (!io)
io                340 drivers/clk/ti/clk.c 	io->regmap = syscon;
io                341 drivers/clk/ti/clk.c 	io->mem = mem;
io                343 drivers/clk/ti/clk.c 	clk_memmaps[index] = io;
io                357 drivers/clk/ti/clk.c 	struct clk_iomap *io;
io                359 drivers/clk/ti/clk.c 	io = memblock_alloc(sizeof(*io), SMP_CACHE_BYTES);
io                360 drivers/clk/ti/clk.c 	if (!io)
io                362 drivers/clk/ti/clk.c 		      sizeof(*io));
io                364 drivers/clk/ti/clk.c 	io->mem = mem;
io                366 drivers/clk/ti/clk.c 	clk_memmaps[index] = io;
io                286 drivers/counter/ftm-quaddec.c 	struct resource *io;
io                295 drivers/counter/ftm-quaddec.c 	io = platform_get_resource(pdev, IORESOURCE_MEM, 0);
io                296 drivers/counter/ftm-quaddec.c 	if (!io) {
io                303 drivers/counter/ftm-quaddec.c 	ftm->ftm_base = devm_ioremap(&pdev->dev, io->start, resource_size(io));
io                140 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c DEFINE_SHOW_ATTRIBUTE(io);
io               1792 drivers/dma/at_hdmac.c 	struct resource		*io;
io               1814 drivers/dma/at_hdmac.c 	io = platform_get_resource(pdev, IORESOURCE_MEM, 0);
io               1815 drivers/dma/at_hdmac.c 	if (!io)
io               1832 drivers/dma/at_hdmac.c 	size = resource_size(io);
io               1833 drivers/dma/at_hdmac.c 	if (!request_mem_region(io->start, size, pdev->dev.driver->name)) {
io               1838 drivers/dma/at_hdmac.c 	atdma->regs = ioremap(io->start, size);
io               1986 drivers/dma/at_hdmac.c 	release_mem_region(io->start, size);
io               1996 drivers/dma/at_hdmac.c 	struct resource		*io;
io               2024 drivers/dma/at_hdmac.c 	io = platform_get_resource(pdev, IORESOURCE_MEM, 0);
io               2025 drivers/dma/at_hdmac.c 	release_mem_region(io->start, resource_size(io));
io               2632 drivers/dma/coh901318.c 	struct resource *io;
io               2634 drivers/dma/coh901318.c 	io = platform_get_resource(pdev, IORESOURCE_MEM, 0);
io               2635 drivers/dma/coh901318.c 	if (!io)
io               2640 drivers/dma/coh901318.c 				    io->start,
io               2641 drivers/dma/coh901318.c 				    resource_size(io),
io               2655 drivers/dma/coh901318.c 	base->virtbase = devm_ioremap(&pdev->dev, io->start, resource_size(io));
io               1172 drivers/dma/txx9dmac.c 	struct resource *io;
io               1177 drivers/dma/txx9dmac.c 	io = platform_get_resource(pdev, IORESOURCE_MEM, 0);
io               1178 drivers/dma/txx9dmac.c 	if (!io)
io               1185 drivers/dma/txx9dmac.c 	if (!devm_request_mem_region(&pdev->dev, io->start, resource_size(io),
io               1189 drivers/dma/txx9dmac.c 	ddev->regs = devm_ioremap(&pdev->dev, io->start, resource_size(io));
io               2616 drivers/dma/xilinx/xilinx_dma.c 	struct resource *io;
io               2642 drivers/dma/xilinx/xilinx_dma.c 	io = platform_get_resource(pdev, IORESOURCE_MEM, 0);
io               2643 drivers/dma/xilinx/xilinx_dma.c 	xdev->regs = devm_ioremap_resource(&pdev->dev, io);
io                257 drivers/firmware/dmi-sysfs.c 		} io;
io                324 drivers/firmware/dmi-sysfs.c 	outb((u8)offset, sel->io.index_addr);
io                325 drivers/firmware/dmi-sysfs.c 	ret = inb(sel->io.data_addr);
io                336 drivers/firmware/dmi-sysfs.c 	outb((u8)offset, sel->io.index_addr);
io                337 drivers/firmware/dmi-sysfs.c 	outb((u8)(offset >> 8), sel->io.index_addr + 1);
io                338 drivers/firmware/dmi-sysfs.c 	ret = inb(sel->io.data_addr);
io                349 drivers/firmware/dmi-sysfs.c 	outw((u16)offset, sel->io.index_addr);
io                350 drivers/firmware/dmi-sysfs.c 	ret = inb(sel->io.data_addr);
io                417 drivers/firmware/efi/libstub/efi-stub-helper.c 	efi_file_io_interface_t *io;
io                426 drivers/firmware/efi/libstub/efi-stub-helper.c 				&fs_proto, (void **)&io);
io                432 drivers/firmware/efi/libstub/efi-stub-helper.c 	status = efi_call_proto(efi_file_io_interface, open_volume, io, &fh);
io                272 drivers/gpio/gpio-em.c 	struct resource *io[2], *irq[2];
io                288 drivers/gpio/gpio-em.c 	io[0] = platform_get_resource(pdev, IORESOURCE_MEM, 0);
io                289 drivers/gpio/gpio-em.c 	io[1] = platform_get_resource(pdev, IORESOURCE_MEM, 1);
io                293 drivers/gpio/gpio-em.c 	if (!io[0] || !io[1] || !irq[0] || !irq[1]) {
io                298 drivers/gpio/gpio-em.c 	p->base0 = devm_ioremap_nocache(dev, io[0]->start,
io                299 drivers/gpio/gpio-em.c 					resource_size(io[0]));
io                303 drivers/gpio/gpio-em.c 	p->base1 = devm_ioremap_nocache(dev, io[1]->start,
io                304 drivers/gpio/gpio-em.c 				   resource_size(io[1]));
io                113 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c 		u32 __iomem *io;
io                132 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c 		io = i915_vma_pin_iomap(vma);
io                134 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c 		if (IS_ERR(io)) {
io                136 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c 			       page, (int)PTR_ERR(io));
io                137 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c 			return PTR_ERR(io);
io                140 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c 		iowrite32(page, io + n * PAGE_SIZE / sizeof(*io));
io                 71 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	if (umem->io) {
io                120 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c 	umem->io = (*type == NVKM_OBJECT_MAP_IO);
io                 13 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.h 	bool io:1;
io                120 drivers/i2c/busses/i2c-rcar.c 	void __iomem *io;
io                153 drivers/i2c/busses/i2c-rcar.c 	writel(val, priv->io + reg);
io                158 drivers/i2c/busses/i2c-rcar.c 	return readl(priv->io + reg);
io                941 drivers/i2c/busses/i2c-rcar.c 	priv->io = devm_ioremap_resource(dev, priv->res);
io                942 drivers/i2c/busses/i2c-rcar.c 	if (IS_ERR(priv->io))
io                943 drivers/i2c/busses/i2c-rcar.c 		return PTR_ERR(priv->io);
io                115 drivers/ide/ide-cs.c static struct ide_host *idecs_register(unsigned long io, unsigned long ctl,
io                123 drivers/ide/ide-cs.c     if (!request_region(io, 8, DRV_NAME)) {
io                125 drivers/ide/ide-cs.c 			DRV_NAME, io, io + 7);
io                132 drivers/ide/ide-cs.c 	release_region(io, 8);
io                137 drivers/ide/ide-cs.c     ide_std_init_ports(&hw, io, ctl);
io                162 drivers/ide/ide-cs.c     release_region(io, 8);
io                 28 drivers/input/gameport/emu10k1-gp.c 	int io;
io                 61 drivers/input/gameport/emu10k1-gp.c 	emu->io = pci_resource_start(pdev, 0);
io                 70 drivers/input/gameport/emu10k1-gp.c 	port->io = emu->io;
io                 72 drivers/input/gameport/emu10k1-gp.c 	if (!request_region(emu->io, emu->size, "emu10k1-gp")) {
io                 74 drivers/input/gameport/emu10k1-gp.c 			emu->io, emu->io + emu->size - 1);
io                 98 drivers/input/gameport/emu10k1-gp.c 	release_region(emu->io, emu->size);
io                 33 drivers/input/gameport/fm801-gp.c 	w = inw(gameport->io + 2);
io                 36 drivers/input/gameport/fm801-gp.c 	w = inw(gameport->io + 4);
io                 38 drivers/input/gameport/fm801-gp.c 	w = inw(gameport->io + 6);
io                 41 drivers/input/gameport/fm801-gp.c 	w = inw(gameport->io + 8);
io                 43 drivers/input/gameport/fm801-gp.c 	outw(0xff, gameport->io); /* reset */
io                 90 drivers/input/gameport/fm801-gp.c 	port->io = pci_resource_start(pci, 0);
io                 93 drivers/input/gameport/fm801-gp.c 	gp->res_port = request_region(port->io, 0x10, "FM801 GP");
io                 96 drivers/input/gameport/fm801-gp.c 			port->io, port->io + 0x0f);
io                103 drivers/input/gameport/fm801-gp.c 	outb(0x60, port->io + 0x0d); /* enable joystick 1 and 2 */
io                561 drivers/input/gameport/gameport.c 	if (gameport->io)
io                563 drivers/input/gameport/gameport.c 			 gameport->name, gameport->phys, gameport->io, gameport->speed);
io                233 drivers/input/gameport/lightning.c 			port->io = L4_PORT;
io                 33 drivers/input/gameport/ns558.c 	int io;
io                 48 drivers/input/gameport/ns558.c static int ns558_isa_probe(int io)
io                 59 drivers/input/gameport/ns558.c 	if (!request_region(io, 1, "ns558-isa"))
io                 67 drivers/input/gameport/ns558.c 	c = inb(io);
io                 68 drivers/input/gameport/ns558.c 	outb(~c & ~3, io);
io                 69 drivers/input/gameport/ns558.c 	if (~(u = v = inb(io)) & 3) {
io                 70 drivers/input/gameport/ns558.c 		outb(c, io);
io                 71 drivers/input/gameport/ns558.c 		release_region(io, 1);
io                 78 drivers/input/gameport/ns558.c 	for (i = 0; i < 1000; i++) v &= inb(io);
io                 81 drivers/input/gameport/ns558.c 		outb(c, io);
io                 82 drivers/input/gameport/ns558.c 		release_region(io, 1);
io                 90 drivers/input/gameport/ns558.c 	u = inb(io);
io                 92 drivers/input/gameport/ns558.c 		if ((u ^ inb(io)) & 0xf) {
io                 93 drivers/input/gameport/ns558.c 			outb(c, io);
io                 94 drivers/input/gameport/ns558.c 			release_region(io, 1);
io                103 drivers/input/gameport/ns558.c 		release_region(io & (-1 << (i - 1)), (1 << (i - 1)));
io                105 drivers/input/gameport/ns558.c 		if (!request_region(io & (-1 << i), (1 << i), "ns558-isa"))
io                108 drivers/input/gameport/ns558.c 		outb(0xff, io & (-1 << i));
io                110 drivers/input/gameport/ns558.c 			if (inb(io & (-1 << i)) != inb((io & (-1 << i)) + (1 << i) - 1)) b++;
io                114 drivers/input/gameport/ns558.c 			release_region(io & (-1 << i), (1 << i));
io                122 drivers/input/gameport/ns558.c 		if (!request_region(io & (-1 << i), (1 << i), "ns558-isa"))
io                130 drivers/input/gameport/ns558.c 		release_region(io & (-1 << i), (1 << i));
io                136 drivers/input/gameport/ns558.c 	ns558->io = io;
io                140 drivers/input/gameport/ns558.c 	port->io = io;
io                142 drivers/input/gameport/ns558.c 	gameport_set_phys(port, "isa%04x/gameport0", io & (-1 << i));
io                207 drivers/input/gameport/ns558.c 	ns558->io = ioport;
io                215 drivers/input/gameport/ns558.c 	port->io = ioport;
io                262 drivers/input/gameport/ns558.c 		release_region(ns558->io & ~(ns558->size - 1), ns558->size);
io                600 drivers/input/joystick/sidewinder.c 		gameport->phys, gameport->io, gameport->speed);
io                 23 drivers/input/serio/altera_ps2.c 	struct serio *io;
io                 38 drivers/input/serio/altera_ps2.c 		serio_interrupt(ps2if->io, status & 0xff, 0);
io                 48 drivers/input/serio/altera_ps2.c static int altera_ps2_write(struct serio *io, unsigned char val)
io                 50 drivers/input/serio/altera_ps2.c 	struct ps2if *ps2if = io->port_data;
io                 56 drivers/input/serio/altera_ps2.c static int altera_ps2_open(struct serio *io)
io                 58 drivers/input/serio/altera_ps2.c 	struct ps2if *ps2if = io->port_data;
io                 68 drivers/input/serio/altera_ps2.c static void altera_ps2_close(struct serio *io)
io                 70 drivers/input/serio/altera_ps2.c 	struct ps2if *ps2if = io->port_data;
io                117 drivers/input/serio/altera_ps2.c 	ps2if->io		= serio;
io                121 drivers/input/serio/altera_ps2.c 	serio_register_port(ps2if->io);
io                134 drivers/input/serio/altera_ps2.c 	serio_unregister_port(ps2if->io);
io                 27 drivers/input/serio/ambakmi.c 	struct serio		*io;
io                 42 drivers/input/serio/ambakmi.c 		serio_interrupt(kmi->io, readb(KMIDATA), 0);
io                 50 drivers/input/serio/ambakmi.c static int amba_kmi_write(struct serio *io, unsigned char val)
io                 52 drivers/input/serio/ambakmi.c 	struct amba_kmi_port *kmi = io->port_data;
io                 64 drivers/input/serio/ambakmi.c static int amba_kmi_open(struct serio *io)
io                 66 drivers/input/serio/ambakmi.c 	struct amba_kmi_port *kmi = io->port_data;
io                 96 drivers/input/serio/ambakmi.c static void amba_kmi_close(struct serio *io)
io                 98 drivers/input/serio/ambakmi.c 	struct amba_kmi_port *kmi = io->port_data;
io                110 drivers/input/serio/ambakmi.c 	struct serio *io;
io                118 drivers/input/serio/ambakmi.c 	io = kzalloc(sizeof(struct serio), GFP_KERNEL);
io                119 drivers/input/serio/ambakmi.c 	if (!kmi || !io) {
io                125 drivers/input/serio/ambakmi.c 	io->id.type	= SERIO_8042;
io                126 drivers/input/serio/ambakmi.c 	io->write	= amba_kmi_write;
io                127 drivers/input/serio/ambakmi.c 	io->open	= amba_kmi_open;
io                128 drivers/input/serio/ambakmi.c 	io->close	= amba_kmi_close;
io                129 drivers/input/serio/ambakmi.c 	strlcpy(io->name, dev_name(&dev->dev), sizeof(io->name));
io                130 drivers/input/serio/ambakmi.c 	strlcpy(io->phys, dev_name(&dev->dev), sizeof(io->phys));
io                131 drivers/input/serio/ambakmi.c 	io->port_data	= kmi;
io                132 drivers/input/serio/ambakmi.c 	io->dev.parent	= &dev->dev;
io                134 drivers/input/serio/ambakmi.c 	kmi->io		= io;
io                150 drivers/input/serio/ambakmi.c 	serio_register_port(kmi->io);
io                157 drivers/input/serio/ambakmi.c 	kfree(io);
io                166 drivers/input/serio/ambakmi.c 	serio_unregister_port(kmi->io);
io                179 drivers/input/serio/ambakmi.c 	serio_reconnect(kmi->io);
io                 53 drivers/input/serio/apbps2.c 	struct serio		*io;
io                 74 drivers/input/serio/apbps2.c 		serio_interrupt(priv->io, data, rxflags);
io                 82 drivers/input/serio/apbps2.c static int apbps2_write(struct serio *io, unsigned char val)
io                 84 drivers/input/serio/apbps2.c 	struct apbps2_priv *priv = io->port_data;
io                102 drivers/input/serio/apbps2.c static int apbps2_open(struct serio *io)
io                104 drivers/input/serio/apbps2.c 	struct apbps2_priv *priv = io->port_data;
io                122 drivers/input/serio/apbps2.c static void apbps2_close(struct serio *io)
io                124 drivers/input/serio/apbps2.c 	struct apbps2_priv *priv = io->port_data;
io                171 drivers/input/serio/apbps2.c 	priv->io = kzalloc(sizeof(struct serio), GFP_KERNEL);
io                172 drivers/input/serio/apbps2.c 	if (!priv->io)
io                175 drivers/input/serio/apbps2.c 	priv->io->id.type = SERIO_8042;
io                176 drivers/input/serio/apbps2.c 	priv->io->open = apbps2_open;
io                177 drivers/input/serio/apbps2.c 	priv->io->close = apbps2_close;
io                178 drivers/input/serio/apbps2.c 	priv->io->write = apbps2_write;
io                179 drivers/input/serio/apbps2.c 	priv->io->port_data = priv;
io                180 drivers/input/serio/apbps2.c 	strlcpy(priv->io->name, "APBPS2 PS/2", sizeof(priv->io->name));
io                181 drivers/input/serio/apbps2.c 	snprintf(priv->io->phys, sizeof(priv->io->phys),
io                186 drivers/input/serio/apbps2.c 	serio_register_port(priv->io);
io                197 drivers/input/serio/apbps2.c 	serio_unregister_port(priv->io);
io                 35 drivers/input/serio/arc_ps2.c 	struct serio *io;
io                 70 drivers/input/serio/arc_ps2.c 		serio_interrupt(port->io, data, flag);
io                 73 drivers/input/serio/arc_ps2.c 	dev_err(&port->io->dev, "PS/2 hardware stuck\n");
io                 87 drivers/input/serio/arc_ps2.c static int arc_ps2_write(struct serio *io, unsigned char val)
io                 90 drivers/input/serio/arc_ps2.c 	struct arc_ps2_port *port = io->port_data;
io                104 drivers/input/serio/arc_ps2.c 	dev_err(&io->dev, "write timeout\n");
io                108 drivers/input/serio/arc_ps2.c static int arc_ps2_open(struct serio *io)
io                110 drivers/input/serio/arc_ps2.c 	struct arc_ps2_port *port = io->port_data;
io                117 drivers/input/serio/arc_ps2.c static void arc_ps2_close(struct serio *io)
io                119 drivers/input/serio/arc_ps2.c 	struct arc_ps2_port *port = io->port_data;
io                156 drivers/input/serio/arc_ps2.c 	struct serio *io;
io                158 drivers/input/serio/arc_ps2.c 	io = kzalloc(sizeof(struct serio), GFP_KERNEL);
io                159 drivers/input/serio/arc_ps2.c 	if (!io)
io                162 drivers/input/serio/arc_ps2.c 	io->id.type = SERIO_8042;
io                163 drivers/input/serio/arc_ps2.c 	io->write = arc_ps2_write;
io                164 drivers/input/serio/arc_ps2.c 	io->open = arc_ps2_open;
io                165 drivers/input/serio/arc_ps2.c 	io->close = arc_ps2_close;
io                166 drivers/input/serio/arc_ps2.c 	snprintf(io->name, sizeof(io->name), "ARC PS/2 port%d", index);
io                167 drivers/input/serio/arc_ps2.c 	snprintf(io->phys, sizeof(io->phys), "arc/serio%d", index);
io                168 drivers/input/serio/arc_ps2.c 	io->port_data = port;
io                170 drivers/input/serio/arc_ps2.c 	port->io = io;
io                178 drivers/input/serio/arc_ps2.c 	serio_register_port(port->io);
io                227 drivers/input/serio/arc_ps2.c 				serio_unregister_port(arc_ps2->port[i].io);
io                243 drivers/input/serio/arc_ps2.c 		serio_unregister_port(arc_ps2->port[i].io);
io                 38 drivers/input/serio/pcips2.c 	struct serio	*io;
io                 43 drivers/input/serio/pcips2.c static int pcips2_write(struct serio *io, unsigned char val)
io                 45 drivers/input/serio/pcips2.c 	struct pcips2_data *ps2if = io->port_data;
io                 80 drivers/input/serio/pcips2.c 		serio_interrupt(ps2if->io, scancode, flag);
io                 99 drivers/input/serio/pcips2.c static int pcips2_open(struct serio *io)
io                101 drivers/input/serio/pcips2.c 	struct pcips2_data *ps2if = io->port_data;
io                117 drivers/input/serio/pcips2.c static void pcips2_close(struct serio *io)
io                119 drivers/input/serio/pcips2.c 	struct pcips2_data *ps2if = io->port_data;
io                156 drivers/input/serio/pcips2.c 	ps2if->io		= serio;
io                162 drivers/input/serio/pcips2.c 	serio_register_port(ps2if->io);
io                179 drivers/input/serio/pcips2.c 	serio_unregister_port(ps2if->io);
io                 44 drivers/input/serio/sa1111ps2.c 	struct serio		*io;
io                 79 drivers/input/serio/sa1111ps2.c 		serio_interrupt(ps2if->io, scancode, flag);
io                113 drivers/input/serio/sa1111ps2.c static int ps2_write(struct serio *io, unsigned char val)
io                115 drivers/input/serio/sa1111ps2.c 	struct ps2if *ps2if = io->port_data;
io                140 drivers/input/serio/sa1111ps2.c static int ps2_open(struct serio *io)
io                142 drivers/input/serio/sa1111ps2.c 	struct ps2if *ps2if = io->port_data;
io                176 drivers/input/serio/sa1111ps2.c static void ps2_close(struct serio *io)
io                178 drivers/input/serio/sa1111ps2.c 	struct ps2if *ps2if = io->port_data;
io                274 drivers/input/serio/sa1111ps2.c 	ps2if->io		= serio;
io                331 drivers/input/serio/sa1111ps2.c 	serio_register_port(ps2if->io);
io                351 drivers/input/serio/sa1111ps2.c 	serio_unregister_port(ps2if->io);
io                 49 drivers/input/touchscreen/mk712.c module_param_hw_named(io, mk712_io, uint, ioport, 0);
io                 50 drivers/input/touchscreen/mk712.c MODULE_PARM_DESC(io, "I/O base address of MK712 touchscreen controller");
io                 67 drivers/input/touchscreen/s3c2410_ts.c 	void __iomem *io;
io                 98 drivers/input/touchscreen/s3c2410_ts.c 	data0 = readl(ts.io + S3C2410_ADCDAT0);
io                 99 drivers/input/touchscreen/s3c2410_ts.c 	data1 = readl(ts.io + S3C2410_ADCDAT1);
io                131 drivers/input/touchscreen/s3c2410_ts.c 		writel(WAIT4INT | INT_DOWN, ts.io + S3C2410_ADCTSC);
io                150 drivers/input/touchscreen/s3c2410_ts.c 	data0 = readl(ts.io + S3C2410_ADCDAT0);
io                151 drivers/input/touchscreen/s3c2410_ts.c 	data1 = readl(ts.io + S3C2410_ADCDAT1);
io                166 drivers/input/touchscreen/s3c2410_ts.c 		writel(0x0, ts.io + S3C64XX_ADCCLRINTPNDNUP);
io                213 drivers/input/touchscreen/s3c2410_ts.c 		       ts.io + S3C2410_ADCTSC);
io                216 drivers/input/touchscreen/s3c2410_ts.c 		writel(WAIT4INT | INT_UP, ts.io + S3C2410_ADCTSC);
io                274 drivers/input/touchscreen/s3c2410_ts.c 	ts.io = ioremap(res->start, resource_size(res));
io                275 drivers/input/touchscreen/s3c2410_ts.c 	if (ts.io == NULL) {
io                295 drivers/input/touchscreen/s3c2410_ts.c 		writel(info->delay & 0xffff, ts.io + S3C2410_ADCDLY);
io                297 drivers/input/touchscreen/s3c2410_ts.c 	writel(WAIT4INT | INT_DOWN, ts.io + S3C2410_ADCTSC);
io                345 drivers/input/touchscreen/s3c2410_ts.c 	iounmap(ts.io);
io                369 drivers/input/touchscreen/s3c2410_ts.c 	iounmap(ts.io);
io                377 drivers/input/touchscreen/s3c2410_ts.c 	writel(TSC_SLEEP, ts.io + S3C2410_ADCTSC);
io                394 drivers/input/touchscreen/s3c2410_ts.c 		writel(info->delay & 0xffff, ts.io + S3C2410_ADCDLY);
io                396 drivers/input/touchscreen/s3c2410_ts.c 	writel(WAIT4INT | INT_DOWN, ts.io + S3C2410_ADCTSC);
io                379 drivers/irqchip/irq-renesas-intc-irqpin.c 	struct resource *io[INTC_IRQPIN_REG_NR];
io                411 drivers/irqchip/irq-renesas-intc-irqpin.c 	memset(io, 0, sizeof(io));
io                413 drivers/irqchip/irq-renesas-intc-irqpin.c 		io[k] = platform_get_resource(pdev, IORESOURCE_MEM, k);
io                414 drivers/irqchip/irq-renesas-intc-irqpin.c 		if (!io[k] && k < INTC_IRQPIN_REG_NR_MANDATORY) {
io                443 drivers/irqchip/irq-renesas-intc-irqpin.c 		if (!io[k])
io                446 drivers/irqchip/irq-renesas-intc-irqpin.c 		switch (resource_size(io[k])) {
io                463 drivers/irqchip/irq-renesas-intc-irqpin.c 		i->iomem = devm_ioremap_nocache(dev, io[k]->start,
io                464 drivers/irqchip/irq-renesas-intc-irqpin.c 						resource_size(io[k]));
io                474 drivers/irqchip/irq-renesas-intc-irqpin.c 		if (io[INTC_IRQPIN_REG_IRLM])
io                 81 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		struct _ioport	io;
io                257 drivers/isdn/hardware/mISDN/mISDNinfineon.c IOFUNC_IO(ISAC, inf_hw, isac.a.io)
io                258 drivers/isdn/hardware/mISDN/mISDNinfineon.c IOFUNC_IO(IPAC, inf_hw, hscx.a.io)
io                259 drivers/isdn/hardware/mISDN/mISDNinfineon.c IOFUNC_IND(ISAC, inf_hw, isac.a.io)
io                260 drivers/isdn/hardware/mISDN/mISDNinfineon.c IOFUNC_IND(IPAC, inf_hw, hscx.a.io)
io                718 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.ale = (u32)hw->cfg.start + DIVA_ISAC_ALE;
io                719 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.port = (u32)hw->cfg.start + DIVA_ISAC_PORT;
io                721 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.ale = (u32)hw->cfg.start + DIVA_HSCX_ALE;
io                722 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.port = (u32)hw->cfg.start + DIVA_HSCX_PORT;
io                744 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.ale = (u32)hw->cfg.start + TIGER_IPAC_ALE;
io                745 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.port = (u32)hw->cfg.start + TIGER_IPAC_PORT;
io                747 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.ale = (u32)hw->cfg.start + TIGER_IPAC_ALE;
io                748 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.port = (u32)hw->cfg.start + TIGER_IPAC_PORT;
io                759 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.ale = (u32)hw->addr.start;
io                760 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.port = (u32)hw->addr.start + 1;
io                762 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.ale = (u32)hw->addr.start;
io                763 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.port = (u32)hw->addr.start + 1;
io                769 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.ale = (u32)hw->addr.start + NICCY_ISAC_ALE;
io                770 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.port = (u32)hw->addr.start + NICCY_ISAC_PORT;
io                772 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.ale = (u32)hw->addr.start + NICCY_HSCX_ALE;
io                773 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.port = (u32)hw->addr.start + NICCY_HSCX_PORT;
io                778 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.ale = (u32)hw->addr.start;
io                779 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.port = hw->isac.a.io.ale + 4;
io                781 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.ale = hw->isac.a.io.ale;
io                782 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.port = hw->isac.a.io.port;
io                788 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.ale = (u32)hw->addr.start + 0x08;
io                789 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.port = hw->isac.a.io.ale + 4;
io                791 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.ale = hw->isac.a.io.ale;
io                792 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.port = hw->isac.a.io.port;
io                798 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.ale = (u32)hw->addr.start + 0x10;
io                799 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.port = hw->isac.a.io.ale + 4;
io                801 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.ale = hw->isac.a.io.ale;
io                802 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.port = hw->isac.a.io.port;
io                808 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.ale = (u32)hw->addr.start + 0x20;
io                809 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.port = hw->isac.a.io.ale + 4;
io                811 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.ale = hw->isac.a.io.ale;
io                812 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.port = hw->isac.a.io.port;
io                819 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.port = (u32)hw->addr.start;
io                821 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.port = hw->isac.a.io.port;
io                827 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.ale = (u32)hw->addr.start;
io                828 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->isac.a.io.port = (u32)hw->addr.start + GAZEL_IPAC_DATA_PORT;
io                830 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.ale = hw->isac.a.io.ale;
io                831 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->hscx.a.io.port = hw->isac.a.io.port;
io                357 drivers/md/bcache/bcache.h 	struct io		io[RECENT_IO];
io                354 drivers/md/bcache/btree.c 	struct btree *b = container_of(cl, struct btree, io);
io                361 drivers/md/bcache/btree.c 	struct btree *b = container_of(cl, struct btree, io);
io                376 drivers/md/bcache/btree.c 	struct btree *b = container_of(cl, struct btree, io);
io                385 drivers/md/bcache/btree.c 	struct btree *b = container_of(cl, struct btree, io);
io                396 drivers/md/bcache/btree.c 	struct closure *cl = &b->io;
io                477 drivers/md/bcache/btree.c 	closure_init(&b->io, parent ?: &b->c->cl);
io                140 drivers/md/bcache/btree.h 	struct closure		io;
io                730 drivers/md/bcache/journal.c 	closure_put(&w->c->journal.io);
io                737 drivers/md/bcache/journal.c 	struct journal *j = container_of(cl, struct journal, io);
io                749 drivers/md/bcache/journal.c 	struct cache_set *c = container_of(cl, struct cache_set, journal.io);
io                758 drivers/md/bcache/journal.c 	struct cache_set *c = container_of(cl, struct cache_set, journal.io);
io                839 drivers/md/bcache/journal.c 	struct cache_set *c = container_of(cl, struct cache_set, journal.io);
io                848 drivers/md/bcache/journal.c 	struct closure *cl = &c->journal.io;
io                110 drivers/md/bcache/journal.h 	struct closure		io;
io                 40 drivers/md/bcache/movinggc.c 	struct moving_io *io = container_of(cl, struct moving_io, cl);
io                 42 drivers/md/bcache/movinggc.c 	kfree(io);
io                 47 drivers/md/bcache/movinggc.c 	struct moving_io *io = container_of(cl, struct moving_io, cl);
io                 48 drivers/md/bcache/movinggc.c 	struct bio *bio = &io->bio.bio;
io                 52 drivers/md/bcache/movinggc.c 	if (io->op.replace_collision)
io                 53 drivers/md/bcache/movinggc.c 		trace_bcache_gc_copy_collision(&io->w->key);
io                 55 drivers/md/bcache/movinggc.c 	bch_keybuf_del(&io->op.c->moving_gc_keys, io->w);
io                 57 drivers/md/bcache/movinggc.c 	up(&io->op.c->moving_in_flight);
io                 65 drivers/md/bcache/movinggc.c 	struct moving_io *io = container_of(bio->bi_private,
io                 69 drivers/md/bcache/movinggc.c 		io->op.status = bio->bi_status;
io                 71 drivers/md/bcache/movinggc.c 		 ptr_stale(io->op.c, &b->key, 0)) {
io                 72 drivers/md/bcache/movinggc.c 		io->op.status = BLK_STS_IOERR;
io                 75 drivers/md/bcache/movinggc.c 	bch_bbio_endio(io->op.c, bio, bio->bi_status, "reading data to move");
io                 78 drivers/md/bcache/movinggc.c static void moving_init(struct moving_io *io)
io                 80 drivers/md/bcache/movinggc.c 	struct bio *bio = &io->bio.bio;
io                 83 drivers/md/bcache/movinggc.c 		 DIV_ROUND_UP(KEY_SIZE(&io->w->key), PAGE_SECTORS));
io                 87 drivers/md/bcache/movinggc.c 	bio->bi_iter.bi_size	= KEY_SIZE(&io->w->key) << 9;
io                 88 drivers/md/bcache/movinggc.c 	bio->bi_private		= &io->cl;
io                 94 drivers/md/bcache/movinggc.c 	struct moving_io *io = container_of(cl, struct moving_io, cl);
io                 95 drivers/md/bcache/movinggc.c 	struct data_insert_op *op = &io->op;
io                 98 drivers/md/bcache/movinggc.c 		moving_init(io);
io                100 drivers/md/bcache/movinggc.c 		io->bio.bio.bi_iter.bi_sector = KEY_START(&io->w->key);
io                102 drivers/md/bcache/movinggc.c 		op->bio			= &io->bio.bio;
io                104 drivers/md/bcache/movinggc.c 		op->writeback		= KEY_DIRTY(&io->w->key);
io                105 drivers/md/bcache/movinggc.c 		op->csum		= KEY_CSUM(&io->w->key);
io                107 drivers/md/bcache/movinggc.c 		bkey_copy(&op->replace_key, &io->w->key);
io                118 drivers/md/bcache/movinggc.c 	struct moving_io *io = container_of(cl, struct moving_io, cl);
io                119 drivers/md/bcache/movinggc.c 	struct bio *bio = &io->bio.bio;
io                121 drivers/md/bcache/movinggc.c 	bch_submit_bbio(bio, io->op.c, &io->w->key, 0);
io                123 drivers/md/bcache/movinggc.c 	continue_at(cl, write_moving, io->op.wq);
io                129 drivers/md/bcache/movinggc.c 	struct moving_io *io;
io                148 drivers/md/bcache/movinggc.c 		io = kzalloc(sizeof(struct moving_io) + sizeof(struct bio_vec)
io                151 drivers/md/bcache/movinggc.c 		if (!io)
io                154 drivers/md/bcache/movinggc.c 		w->private	= io;
io                155 drivers/md/bcache/movinggc.c 		io->w		= w;
io                156 drivers/md/bcache/movinggc.c 		io->op.inode	= KEY_INODE(&w->key);
io                157 drivers/md/bcache/movinggc.c 		io->op.c	= c;
io                158 drivers/md/bcache/movinggc.c 		io->op.wq	= c->moving_gc_wq;
io                160 drivers/md/bcache/movinggc.c 		moving_init(io);
io                161 drivers/md/bcache/movinggc.c 		bio = &io->bio.bio;
io                172 drivers/md/bcache/movinggc.c 		closure_call(&io->cl, read_moving_submit, NULL, &cl);
io                381 drivers/md/bcache/request.c 	struct io *i;
io                433 drivers/md/bcache/request.c 	i = list_first_entry(&dc->io_lru, struct io, lru);
io               1306 drivers/md/bcache/super.c 	struct io *io;
io               1322 drivers/md/bcache/super.c 	for (io = dc->io; io < dc->io + RECENT_IO; io++) {
io               1323 drivers/md/bcache/super.c 		list_add(&io->lru, &dc->io_lru);
io               1324 drivers/md/bcache/super.c 		hlist_add_head(&io->hash, dc->io_hash + RECENT_IO);
io                250 drivers/md/bcache/writeback.c 	struct dirty_io *io = w->private;
io                251 drivers/md/bcache/writeback.c 	struct bio *bio = &io->bio;
io                255 drivers/md/bcache/writeback.c 	if (!io->dc->writeback_percent)
io                265 drivers/md/bcache/writeback.c 	struct dirty_io *io = container_of(cl, struct dirty_io, cl);
io                267 drivers/md/bcache/writeback.c 	kfree(io);
io                272 drivers/md/bcache/writeback.c 	struct dirty_io *io = container_of(cl, struct dirty_io, cl);
io                273 drivers/md/bcache/writeback.c 	struct keybuf_key *w = io->bio.bi_private;
io                274 drivers/md/bcache/writeback.c 	struct cached_dev *dc = io->dc;
io                276 drivers/md/bcache/writeback.c 	bio_free_pages(&io->bio);
io                312 drivers/md/bcache/writeback.c 	struct dirty_io *io = w->private;
io                316 drivers/md/bcache/writeback.c 		bch_count_backing_io_errors(io->dc, bio);
io                319 drivers/md/bcache/writeback.c 	closure_put(&io->cl);
io                324 drivers/md/bcache/writeback.c 	struct dirty_io *io = container_of(cl, struct dirty_io, cl);
io                325 drivers/md/bcache/writeback.c 	struct keybuf_key *w = io->bio.bi_private;
io                326 drivers/md/bcache/writeback.c 	struct cached_dev *dc = io->dc;
io                330 drivers/md/bcache/writeback.c 	if (atomic_read(&dc->writeback_sequence_next) != io->sequence) {
io                334 drivers/md/bcache/writeback.c 		if (atomic_read(&dc->writeback_sequence_next) == io->sequence) {
io                342 drivers/md/bcache/writeback.c 		continue_at(cl, write_dirty, io->dc->writeback_write_wq);
io                346 drivers/md/bcache/writeback.c 	next_sequence = io->sequence + 1;
io                356 drivers/md/bcache/writeback.c 		bio_set_op_attrs(&io->bio, REQ_OP_WRITE, 0);
io                357 drivers/md/bcache/writeback.c 		io->bio.bi_iter.bi_sector = KEY_START(&w->key);
io                358 drivers/md/bcache/writeback.c 		bio_set_dev(&io->bio, io->dc->bdev);
io                359 drivers/md/bcache/writeback.c 		io->bio.bi_end_io	= dirty_endio;
io                362 drivers/md/bcache/writeback.c 		closure_bio_submit(io->dc->disk.c, &io->bio, cl);
io                368 drivers/md/bcache/writeback.c 	continue_at(cl, write_dirty_finish, io->dc->writeback_write_wq);
io                374 drivers/md/bcache/writeback.c 	struct dirty_io *io = w->private;
io                377 drivers/md/bcache/writeback.c 	bch_count_io_errors(PTR_CACHE(io->dc->disk.c, &w->key, 0),
io                386 drivers/md/bcache/writeback.c 	struct dirty_io *io = container_of(cl, struct dirty_io, cl);
io                388 drivers/md/bcache/writeback.c 	closure_bio_submit(io->dc->disk.c, &io->bio, cl);
io                390 drivers/md/bcache/writeback.c 	continue_at(cl, write_dirty, io->dc->writeback_write_wq);
io                399 drivers/md/bcache/writeback.c 	struct dirty_io *io;
io                458 drivers/md/bcache/writeback.c 			io = kzalloc(sizeof(struct dirty_io) +
io                463 drivers/md/bcache/writeback.c 			if (!io)
io                466 drivers/md/bcache/writeback.c 			w->private	= io;
io                467 drivers/md/bcache/writeback.c 			io->dc		= dc;
io                468 drivers/md/bcache/writeback.c 			io->sequence    = sequence++;
io                471 drivers/md/bcache/writeback.c 			bio_set_op_attrs(&io->bio, REQ_OP_READ, 0);
io                472 drivers/md/bcache/writeback.c 			io->bio.bi_iter.bi_sector = PTR_OFFSET(&w->key, 0);
io                473 drivers/md/bcache/writeback.c 			bio_set_dev(&io->bio,
io                475 drivers/md/bcache/writeback.c 			io->bio.bi_end_io	= read_dirty_endio;
io                477 drivers/md/bcache/writeback.c 			if (bch_bio_alloc_pages(&io->bio, GFP_KERNEL))
io                489 drivers/md/bcache/writeback.c 			closure_call(&io->cl, read_dirty_submit, NULL, &cl);
io                222 drivers/md/dm-crypt.c static void kcryptd_queue_crypt(struct dm_crypt_io *io);
io                819 drivers/md/dm-crypt.c static int dm_crypt_integrity_io_alloc(struct dm_crypt_io *io, struct bio *bio)
io                825 drivers/md/dm-crypt.c 	if (!bio_sectors(bio) || !io->cc->on_disk_tag_size)
io                832 drivers/md/dm-crypt.c 	tag_len = io->cc->on_disk_tag_size * (bio_sectors(bio) >> io->cc->sector_shift);
io                835 drivers/md/dm-crypt.c 	bip->bip_iter.bi_sector = io->cc->start + io->sector;
io                837 drivers/md/dm-crypt.c 	ret = bio_integrity_add_page(bio, virt_to_page(io->integrity_metadata),
io                838 drivers/md/dm-crypt.c 				     tag_len, offset_in_page(io->integrity_metadata));
io                954 drivers/md/dm-crypt.c 	struct dm_crypt_io *io = container_of(ctx, struct dm_crypt_io, ctx);
io                956 drivers/md/dm-crypt.c 	return &io->integrity_metadata[*org_tag_of_dmreq(cc, dmreq) *
io               1187 drivers/md/dm-crypt.c 	struct dm_crypt_io *io = dm_per_bio_data(base_bio, cc->per_bio_data_size);
io               1189 drivers/md/dm-crypt.c 	if ((struct skcipher_request *)(io + 1) != req)
io               1196 drivers/md/dm-crypt.c 	struct dm_crypt_io *io = dm_per_bio_data(base_bio, cc->per_bio_data_size);
io               1198 drivers/md/dm-crypt.c 	if ((struct aead_request *)(io + 1) != req)
io               1296 drivers/md/dm-crypt.c static struct bio *crypt_alloc_buffer(struct dm_crypt_io *io, unsigned size)
io               1298 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1313 drivers/md/dm-crypt.c 	clone_init(io, clone);
io               1334 drivers/md/dm-crypt.c 	if (dm_crypt_integrity_io_alloc(io, clone)) {
io               1357 drivers/md/dm-crypt.c static void crypt_io_init(struct dm_crypt_io *io, struct crypt_config *cc,
io               1360 drivers/md/dm-crypt.c 	io->cc = cc;
io               1361 drivers/md/dm-crypt.c 	io->base_bio = bio;
io               1362 drivers/md/dm-crypt.c 	io->sector = sector;
io               1363 drivers/md/dm-crypt.c 	io->error = 0;
io               1364 drivers/md/dm-crypt.c 	io->ctx.r.req = NULL;
io               1365 drivers/md/dm-crypt.c 	io->integrity_metadata = NULL;
io               1366 drivers/md/dm-crypt.c 	io->integrity_metadata_from_pool = false;
io               1367 drivers/md/dm-crypt.c 	atomic_set(&io->io_pending, 0);
io               1370 drivers/md/dm-crypt.c static void crypt_inc_pending(struct dm_crypt_io *io)
io               1372 drivers/md/dm-crypt.c 	atomic_inc(&io->io_pending);
io               1379 drivers/md/dm-crypt.c static void crypt_dec_pending(struct dm_crypt_io *io)
io               1381 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1382 drivers/md/dm-crypt.c 	struct bio *base_bio = io->base_bio;
io               1383 drivers/md/dm-crypt.c 	blk_status_t error = io->error;
io               1385 drivers/md/dm-crypt.c 	if (!atomic_dec_and_test(&io->io_pending))
io               1388 drivers/md/dm-crypt.c 	if (io->ctx.r.req)
io               1389 drivers/md/dm-crypt.c 		crypt_free_req(cc, io->ctx.r.req, base_bio);
io               1391 drivers/md/dm-crypt.c 	if (unlikely(io->integrity_metadata_from_pool))
io               1392 drivers/md/dm-crypt.c 		mempool_free(io->integrity_metadata, &io->cc->tag_pool);
io               1394 drivers/md/dm-crypt.c 		kfree(io->integrity_metadata);
io               1419 drivers/md/dm-crypt.c 	struct dm_crypt_io *io = clone->bi_private;
io               1420 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1434 drivers/md/dm-crypt.c 		kcryptd_queue_crypt(io);
io               1439 drivers/md/dm-crypt.c 		io->error = error;
io               1441 drivers/md/dm-crypt.c 	crypt_dec_pending(io);
io               1444 drivers/md/dm-crypt.c static void clone_init(struct dm_crypt_io *io, struct bio *clone)
io               1446 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1448 drivers/md/dm-crypt.c 	clone->bi_private = io;
io               1451 drivers/md/dm-crypt.c 	clone->bi_opf	  = io->base_bio->bi_opf;
io               1454 drivers/md/dm-crypt.c static int kcryptd_io_read(struct dm_crypt_io *io, gfp_t gfp)
io               1456 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1465 drivers/md/dm-crypt.c 	clone = bio_clone_fast(io->base_bio, gfp, &cc->bs);
io               1469 drivers/md/dm-crypt.c 	crypt_inc_pending(io);
io               1471 drivers/md/dm-crypt.c 	clone_init(io, clone);
io               1472 drivers/md/dm-crypt.c 	clone->bi_iter.bi_sector = cc->start + io->sector;
io               1474 drivers/md/dm-crypt.c 	if (dm_crypt_integrity_io_alloc(io, clone)) {
io               1475 drivers/md/dm-crypt.c 		crypt_dec_pending(io);
io               1486 drivers/md/dm-crypt.c 	struct dm_crypt_io *io = container_of(work, struct dm_crypt_io, work);
io               1488 drivers/md/dm-crypt.c 	crypt_inc_pending(io);
io               1489 drivers/md/dm-crypt.c 	if (kcryptd_io_read(io, GFP_NOIO))
io               1490 drivers/md/dm-crypt.c 		io->error = BLK_STS_RESOURCE;
io               1491 drivers/md/dm-crypt.c 	crypt_dec_pending(io);
io               1494 drivers/md/dm-crypt.c static void kcryptd_queue_read(struct dm_crypt_io *io)
io               1496 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1498 drivers/md/dm-crypt.c 	INIT_WORK(&io->work, kcryptd_io_read_work);
io               1499 drivers/md/dm-crypt.c 	queue_work(cc->io_queue, &io->work);
io               1502 drivers/md/dm-crypt.c static void kcryptd_io_write(struct dm_crypt_io *io)
io               1504 drivers/md/dm-crypt.c 	struct bio *clone = io->ctx.bio_out;
io               1514 drivers/md/dm-crypt.c 	struct dm_crypt_io *io;
io               1554 drivers/md/dm-crypt.c 			io = crypt_io_from_node(rb_first(&write_tree));
io               1555 drivers/md/dm-crypt.c 			rb_erase(&io->rb_node, &write_tree);
io               1556 drivers/md/dm-crypt.c 			kcryptd_io_write(io);
io               1563 drivers/md/dm-crypt.c static void kcryptd_crypt_write_io_submit(struct dm_crypt_io *io, int async)
io               1565 drivers/md/dm-crypt.c 	struct bio *clone = io->ctx.bio_out;
io               1566 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1571 drivers/md/dm-crypt.c 	if (unlikely(io->error)) {
io               1574 drivers/md/dm-crypt.c 		crypt_dec_pending(io);
io               1579 drivers/md/dm-crypt.c 	BUG_ON(io->ctx.iter_out.bi_size);
io               1581 drivers/md/dm-crypt.c 	clone->bi_iter.bi_sector = cc->start + io->sector;
io               1593 drivers/md/dm-crypt.c 	sector = io->sector;
io               1601 drivers/md/dm-crypt.c 	rb_link_node(&io->rb_node, parent, rbp);
io               1602 drivers/md/dm-crypt.c 	rb_insert_color(&io->rb_node, &cc->write_tree);
io               1606 drivers/md/dm-crypt.c static void kcryptd_crypt_write_convert(struct dm_crypt_io *io)
io               1608 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1611 drivers/md/dm-crypt.c 	sector_t sector = io->sector;
io               1617 drivers/md/dm-crypt.c 	crypt_inc_pending(io);
io               1618 drivers/md/dm-crypt.c 	crypt_convert_init(cc, &io->ctx, NULL, io->base_bio, sector);
io               1620 drivers/md/dm-crypt.c 	clone = crypt_alloc_buffer(io, io->base_bio->bi_iter.bi_size);
io               1622 drivers/md/dm-crypt.c 		io->error = BLK_STS_IOERR;
io               1626 drivers/md/dm-crypt.c 	io->ctx.bio_out = clone;
io               1627 drivers/md/dm-crypt.c 	io->ctx.iter_out = clone->bi_iter;
io               1631 drivers/md/dm-crypt.c 	crypt_inc_pending(io);
io               1632 drivers/md/dm-crypt.c 	r = crypt_convert(cc, &io->ctx);
io               1634 drivers/md/dm-crypt.c 		io->error = r;
io               1635 drivers/md/dm-crypt.c 	crypt_finished = atomic_dec_and_test(&io->ctx.cc_pending);
io               1639 drivers/md/dm-crypt.c 		kcryptd_crypt_write_io_submit(io, 0);
io               1640 drivers/md/dm-crypt.c 		io->sector = sector;
io               1644 drivers/md/dm-crypt.c 	crypt_dec_pending(io);
io               1647 drivers/md/dm-crypt.c static void kcryptd_crypt_read_done(struct dm_crypt_io *io)
io               1649 drivers/md/dm-crypt.c 	crypt_dec_pending(io);
io               1652 drivers/md/dm-crypt.c static void kcryptd_crypt_read_convert(struct dm_crypt_io *io)
io               1654 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1657 drivers/md/dm-crypt.c 	crypt_inc_pending(io);
io               1659 drivers/md/dm-crypt.c 	crypt_convert_init(cc, &io->ctx, io->base_bio, io->base_bio,
io               1660 drivers/md/dm-crypt.c 			   io->sector);
io               1662 drivers/md/dm-crypt.c 	r = crypt_convert(cc, &io->ctx);
io               1664 drivers/md/dm-crypt.c 		io->error = r;
io               1666 drivers/md/dm-crypt.c 	if (atomic_dec_and_test(&io->ctx.cc_pending))
io               1667 drivers/md/dm-crypt.c 		kcryptd_crypt_read_done(io);
io               1669 drivers/md/dm-crypt.c 	crypt_dec_pending(io);
io               1677 drivers/md/dm-crypt.c 	struct dm_crypt_io *io = container_of(ctx, struct dm_crypt_io, ctx);
io               1678 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1697 drivers/md/dm-crypt.c 		io->error = BLK_STS_PROTECTION;
io               1699 drivers/md/dm-crypt.c 		io->error = BLK_STS_IOERR;
io               1701 drivers/md/dm-crypt.c 	crypt_free_req(cc, req_of_dmreq(cc, dmreq), io->base_bio);
io               1706 drivers/md/dm-crypt.c 	if (bio_data_dir(io->base_bio) == READ)
io               1707 drivers/md/dm-crypt.c 		kcryptd_crypt_read_done(io);
io               1709 drivers/md/dm-crypt.c 		kcryptd_crypt_write_io_submit(io, 1);
io               1714 drivers/md/dm-crypt.c 	struct dm_crypt_io *io = container_of(work, struct dm_crypt_io, work);
io               1716 drivers/md/dm-crypt.c 	if (bio_data_dir(io->base_bio) == READ)
io               1717 drivers/md/dm-crypt.c 		kcryptd_crypt_read_convert(io);
io               1719 drivers/md/dm-crypt.c 		kcryptd_crypt_write_convert(io);
io               1722 drivers/md/dm-crypt.c static void kcryptd_queue_crypt(struct dm_crypt_io *io)
io               1724 drivers/md/dm-crypt.c 	struct crypt_config *cc = io->cc;
io               1726 drivers/md/dm-crypt.c 	INIT_WORK(&io->work, kcryptd_crypt);
io               1727 drivers/md/dm-crypt.c 	queue_work(cc->crypt_queue, &io->work);
io               2750 drivers/md/dm-crypt.c 	struct dm_crypt_io *io;
io               2784 drivers/md/dm-crypt.c 	io = dm_per_bio_data(bio, cc->per_bio_data_size);
io               2785 drivers/md/dm-crypt.c 	crypt_io_init(io, cc, bio, dm_target_offset(ti, bio->bi_iter.bi_sector));
io               2791 drivers/md/dm-crypt.c 		    unlikely(!(io->integrity_metadata = kmalloc(tag_len,
io               2795 drivers/md/dm-crypt.c 			io->integrity_metadata = mempool_alloc(&cc->tag_pool, GFP_NOIO);
io               2796 drivers/md/dm-crypt.c 			io->integrity_metadata_from_pool = true;
io               2801 drivers/md/dm-crypt.c 		io->ctx.r.req_aead = (struct aead_request *)(io + 1);
io               2803 drivers/md/dm-crypt.c 		io->ctx.r.req = (struct skcipher_request *)(io + 1);
io               2805 drivers/md/dm-crypt.c 	if (bio_data_dir(io->base_bio) == READ) {
io               2806 drivers/md/dm-crypt.c 		if (kcryptd_io_read(io, GFP_NOWAIT))
io               2807 drivers/md/dm-crypt.c 			kcryptd_queue_read(io);
io               2809 drivers/md/dm-crypt.c 		kcryptd_queue_crypt(io);
io                158 drivers/md/dm-integrity.c 	struct dm_io_client *io;
io                484 drivers/md/dm-integrity.c 	io_req.client = ic->io;
io                966 drivers/md/dm-integrity.c 	io_req.client = ic->io;
io               1080 drivers/md/dm-integrity.c 	io_req.client = ic->io;
io               2134 drivers/md/dm-integrity.c 	struct journal_io *io = context;
io               2135 drivers/md/dm-integrity.c 	struct journal_completion *comp = io->comp;
io               2137 drivers/md/dm-integrity.c 	remove_range(ic, &io->range);
io               2138 drivers/md/dm-integrity.c 	mempool_free(io, &ic->journal_io_mempool);
io               2179 drivers/md/dm-integrity.c 			struct journal_io *io;
io               2207 drivers/md/dm-integrity.c 			io = mempool_alloc(&ic->journal_io_mempool, GFP_NOIO);
io               2208 drivers/md/dm-integrity.c 			io->comp = &comp;
io               2209 drivers/md/dm-integrity.c 			io->range.logical_sector = sec;
io               2210 drivers/md/dm-integrity.c 			io->range.n_sectors = (k - j) << ic->sb->log2_sectors_per_block;
io               2213 drivers/md/dm-integrity.c 			add_new_range_and_wait(ic, &io->range);
io               2236 drivers/md/dm-integrity.c 					remove_range_unlocked(ic, &io->range);
io               2238 drivers/md/dm-integrity.c 					mempool_free(io, &ic->journal_io_mempool);
io               2277 drivers/md/dm-integrity.c 					  complete_copy_from_journal, io);
io               2420 drivers/md/dm-integrity.c 	io_req.client = ic->io;
io               3780 drivers/md/dm-integrity.c 	ic->io = dm_io_client_create();
io               3781 drivers/md/dm-integrity.c 	if (IS_ERR(ic->io)) {
io               3782 drivers/md/dm-integrity.c 		r = PTR_ERR(ic->io);
io               3783 drivers/md/dm-integrity.c 		ic->io = NULL;
io               4139 drivers/md/dm-integrity.c 	if (ic->io)
io               4140 drivers/md/dm-integrity.c 		dm_io_client_destroy(ic->io);
io                 90 drivers/md/dm-io.c static void store_io_and_region_in_bio(struct bio *bio, struct io *io,
io                 93 drivers/md/dm-io.c 	if (unlikely(!IS_ALIGNED((unsigned long)io, DM_IO_MAX_REGIONS))) {
io                 94 drivers/md/dm-io.c 		DMCRIT("Unaligned struct io pointer %p", io);
io                 98 drivers/md/dm-io.c 	bio->bi_private = (void *)((unsigned long)io | region);
io                101 drivers/md/dm-io.c static void retrieve_io_and_region_from_bio(struct bio *bio, struct io **io,
io                106 drivers/md/dm-io.c 	*io = (void *)(val & -(unsigned long)DM_IO_MAX_REGIONS);
io                114 drivers/md/dm-io.c static void complete_io(struct io *io)
io                116 drivers/md/dm-io.c 	unsigned long error_bits = io->error_bits;
io                117 drivers/md/dm-io.c 	io_notify_fn fn = io->callback;
io                118 drivers/md/dm-io.c 	void *context = io->context;
io                120 drivers/md/dm-io.c 	if (io->vma_invalidate_size)
io                121 drivers/md/dm-io.c 		invalidate_kernel_vmap_range(io->vma_invalidate_address,
io                122 drivers/md/dm-io.c 					     io->vma_invalidate_size);
io                124 drivers/md/dm-io.c 	mempool_free(io, &io->client->pool);
io                128 drivers/md/dm-io.c static void dec_count(struct io *io, unsigned int region, blk_status_t error)
io                131 drivers/md/dm-io.c 		set_bit(region, &io->error_bits);
io                133 drivers/md/dm-io.c 	if (atomic_dec_and_test(&io->count))
io                134 drivers/md/dm-io.c 		complete_io(io);
io                139 drivers/md/dm-io.c 	struct io *io;
io                149 drivers/md/dm-io.c 	retrieve_io_and_region_from_bio(bio, &io, &region);
io                154 drivers/md/dm-io.c 	dec_count(io, region, error);
io                298 drivers/md/dm-io.c 		      struct io *io)
io                322 drivers/md/dm-io.c 		atomic_inc(&io->count);
io                323 drivers/md/dm-io.c 		dec_count(io, region, BLK_STS_NOTSUPP);
io                348 drivers/md/dm-io.c 		bio = bio_alloc_bioset(GFP_NOIO, num_bvecs, &io->client->bios);
io                353 drivers/md/dm-io.c 		store_io_and_region_in_bio(bio, io, region);
io                385 drivers/md/dm-io.c 		atomic_inc(&io->count);
io                392 drivers/md/dm-io.c 			struct io *io, int sync)
io                409 drivers/md/dm-io.c 			do_region(op, op_flags, i, where + i, dp, io);
io                416 drivers/md/dm-io.c 	dec_count(io, 0, 0);
io                436 drivers/md/dm-io.c 	struct io *io;
io                446 drivers/md/dm-io.c 	io = mempool_alloc(&client->pool, GFP_NOIO);
io                447 drivers/md/dm-io.c 	io->error_bits = 0;
io                448 drivers/md/dm-io.c 	atomic_set(&io->count, 1); /* see dispatch_io() */
io                449 drivers/md/dm-io.c 	io->client = client;
io                450 drivers/md/dm-io.c 	io->callback = sync_io_complete;
io                451 drivers/md/dm-io.c 	io->context = &sio;
io                453 drivers/md/dm-io.c 	io->vma_invalidate_address = dp->vma_invalidate_address;
io                454 drivers/md/dm-io.c 	io->vma_invalidate_size = dp->vma_invalidate_size;
io                456 drivers/md/dm-io.c 	dispatch_io(op, op_flags, num_regions, where, dp, io, 1);
io                470 drivers/md/dm-io.c 	struct io *io;
io                478 drivers/md/dm-io.c 	io = mempool_alloc(&client->pool, GFP_NOIO);
io                479 drivers/md/dm-io.c 	io->error_bits = 0;
io                480 drivers/md/dm-io.c 	atomic_set(&io->count, 1); /* see dispatch_io() */
io                481 drivers/md/dm-io.c 	io->client = client;
io                482 drivers/md/dm-io.c 	io->callback = fn;
io                483 drivers/md/dm-io.c 	io->context = context;
io                485 drivers/md/dm-io.c 	io->vma_invalidate_address = dp->vma_invalidate_address;
io                486 drivers/md/dm-io.c 	io->vma_invalidate_size = dp->vma_invalidate_size;
io                488 drivers/md/dm-io.c 	dispatch_io(op, op_flags, num_regions, where, dp, io, 0);
io                560 drivers/md/dm-io.c 	_dm_io_cache = KMEM_CACHE(io, 0);
io                260 drivers/md/dm-raid1.c 	struct dm_io_region io[MAX_NR_MIRRORS];
io                271 drivers/md/dm-raid1.c 		io[i].bdev = m->dev->bdev;
io                272 drivers/md/dm-raid1.c 		io[i].sector = 0;
io                273 drivers/md/dm-raid1.c 		io[i].count = 0;
io                277 drivers/md/dm-raid1.c 	dm_io(&io_req, ms->nr_mirrors, io, &error_bits);
io                464 drivers/md/dm-raid1.c static void map_region(struct dm_io_region *io, struct mirror *m,
io                467 drivers/md/dm-raid1.c 	io->bdev = m->dev->bdev;
io                468 drivers/md/dm-raid1.c 	io->sector = map_sector(m, bio);
io                469 drivers/md/dm-raid1.c 	io->count = bio_sectors(bio);
io                536 drivers/md/dm-raid1.c 	struct dm_io_region io;
io                547 drivers/md/dm-raid1.c 	map_region(&io, m, bio);
io                549 drivers/md/dm-raid1.c 	BUG_ON(dm_io(&io_req, 1, &io, NULL));
io                649 drivers/md/dm-raid1.c 	struct dm_io_region io[MAX_NR_MIRRORS], *dest = io;
io                676 drivers/md/dm-raid1.c 	BUG_ON(dm_io(&io_req, ms->nr_mirrors, io, NULL));
io                 25 drivers/md/dm-verity-fec.c static inline struct dm_verity_fec_io *fec_io(struct dm_verity_io *io)
io                 27 drivers/md/dm-verity-fec.c 	return (struct dm_verity_fec_io *) verity_io_digest_end(io->v, io);
io                 88 drivers/md/dm-verity-fec.c #define fec_for_each_extra_buffer(io, __i) \
io                 92 drivers/md/dm-verity-fec.c #define fec_for_each_buffer(io, __i) \
io                 93 drivers/md/dm-verity-fec.c 	for (__i = 0; __i < (io)->nbufs; __i++)
io                 96 drivers/md/dm-verity-fec.c #define fec_for_each_buffer_rs_block(io, __i, __j) \
io                 97 drivers/md/dm-verity-fec.c 	fec_for_each_buffer(io, __i) \
io                184 drivers/md/dm-verity-fec.c static int fec_is_erasure(struct dm_verity *v, struct dm_verity_io *io,
io                187 drivers/md/dm-verity-fec.c 	if (unlikely(verity_hash(v, verity_io_hash_req(v, io),
io                189 drivers/md/dm-verity-fec.c 				 verity_io_real_digest(v, io))))
io                192 drivers/md/dm-verity-fec.c 	return memcmp(verity_io_real_digest(v, io), want_digest,
io                200 drivers/md/dm-verity-fec.c static int fec_read_bufs(struct dm_verity *v, struct dm_verity_io *io,
io                208 drivers/md/dm-verity-fec.c 	struct dm_verity_fec_io *fio = fec_io(io);
io                267 drivers/md/dm-verity-fec.c 		    verity_hash_for_block(v, io, block, want_digest,
io                278 drivers/md/dm-verity-fec.c 			    fec_is_erasure(v, io, want_digest, bbuf))
io                361 drivers/md/dm-verity-fec.c static int fec_decode_rsb(struct dm_verity *v, struct dm_verity_io *io,
io                375 drivers/md/dm-verity-fec.c 		r = fec_read_bufs(v, io, rsb, offset, pos,
io                388 drivers/md/dm-verity-fec.c 	r = verity_hash(v, verity_io_hash_req(v, io), fio->output,
io                390 drivers/md/dm-verity-fec.c 			verity_io_real_digest(v, io));
io                394 drivers/md/dm-verity-fec.c 	if (memcmp(verity_io_real_digest(v, io), verity_io_want_digest(v, io),
io                404 drivers/md/dm-verity-fec.c static int fec_bv_copy(struct dm_verity *v, struct dm_verity_io *io, u8 *data,
io                407 drivers/md/dm-verity-fec.c 	struct dm_verity_fec_io *fio = fec_io(io);
io                419 drivers/md/dm-verity-fec.c int verity_fec_decode(struct dm_verity *v, struct dm_verity_io *io,
io                424 drivers/md/dm-verity-fec.c 	struct dm_verity_fec_io *fio = fec_io(io);
io                464 drivers/md/dm-verity-fec.c 	r = fec_decode_rsb(v, io, fio, rsb, offset, false);
io                466 drivers/md/dm-verity-fec.c 		r = fec_decode_rsb(v, io, fio, rsb, offset, true);
io                475 drivers/md/dm-verity-fec.c 		r = verity_for_bv_block(v, io, iter, fec_bv_copy);
io                486 drivers/md/dm-verity-fec.c void verity_fec_finish_io(struct dm_verity_io *io)
io                489 drivers/md/dm-verity-fec.c 	struct dm_verity_fec *f = io->v->fec;
io                490 drivers/md/dm-verity-fec.c 	struct dm_verity_fec_io *fio = fec_io(io);
io                492 drivers/md/dm-verity-fec.c 	if (!verity_fec_is_enabled(io->v))
io                509 drivers/md/dm-verity-fec.c void verity_fec_init_io(struct dm_verity_io *io)
io                511 drivers/md/dm-verity-fec.c 	struct dm_verity_fec_io *fio = fec_io(io);
io                513 drivers/md/dm-verity-fec.c 	if (!verity_fec_is_enabled(io->v))
io                 70 drivers/md/dm-verity-fec.h extern int verity_fec_decode(struct dm_verity *v, struct dm_verity_io *io,
io                 77 drivers/md/dm-verity-fec.h extern void verity_fec_finish_io(struct dm_verity_io *io);
io                 78 drivers/md/dm-verity-fec.h extern void verity_fec_init_io(struct dm_verity_io *io);
io                100 drivers/md/dm-verity-fec.h 				    struct dm_verity_io *io,
io                115 drivers/md/dm-verity-fec.h static inline void verity_fec_finish_io(struct dm_verity_io *io)
io                119 drivers/md/dm-verity-fec.h static inline void verity_fec_init_io(struct dm_verity_io *io)
io                271 drivers/md/dm-verity-target.c static int verity_verify_level(struct dm_verity *v, struct dm_verity_io *io,
io                296 drivers/md/dm-verity-target.c 		r = verity_hash(v, verity_io_hash_req(v, io),
io                298 drivers/md/dm-verity-target.c 				verity_io_real_digest(v, io));
io                302 drivers/md/dm-verity-target.c 		if (likely(memcmp(verity_io_real_digest(v, io), want_digest,
io                305 drivers/md/dm-verity-target.c 		else if (verity_fec_decode(v, io,
io                330 drivers/md/dm-verity-target.c int verity_hash_for_block(struct dm_verity *v, struct dm_verity_io *io,
io                343 drivers/md/dm-verity-target.c 		r = verity_verify_level(v, io, block, 0, true, digest);
io                351 drivers/md/dm-verity-target.c 		r = verity_verify_level(v, io, block, i, false, digest);
io                367 drivers/md/dm-verity-target.c static int verity_for_io_block(struct dm_verity *v, struct dm_verity_io *io,
io                371 drivers/md/dm-verity-target.c 	struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size);
io                373 drivers/md/dm-verity-target.c 	struct ahash_request *req = verity_io_hash_req(v, io);
io                411 drivers/md/dm-verity-target.c int verity_for_bv_block(struct dm_verity *v, struct dm_verity_io *io,
io                414 drivers/md/dm-verity-target.c 				       struct dm_verity_io *io, u8 *data,
io                418 drivers/md/dm-verity-target.c 	struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size);
io                432 drivers/md/dm-verity-target.c 		r = process(v, io, page + bv.bv_offset, len);
io                445 drivers/md/dm-verity-target.c static int verity_bv_zero(struct dm_verity *v, struct dm_verity_io *io,
io                456 drivers/md/dm-verity-target.c 					struct dm_verity_io *io,
io                459 drivers/md/dm-verity-target.c 	struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size);
io                467 drivers/md/dm-verity-target.c static int verity_verify_io(struct dm_verity_io *io)
io                470 drivers/md/dm-verity-target.c 	struct dm_verity *v = io->v;
io                475 drivers/md/dm-verity-target.c 	for (b = 0; b < io->n_blocks; b++) {
io                477 drivers/md/dm-verity-target.c 		sector_t cur_block = io->block + b;
io                478 drivers/md/dm-verity-target.c 		struct ahash_request *req = verity_io_hash_req(v, io);
io                482 drivers/md/dm-verity-target.c 			verity_bv_skip_block(v, io, &io->iter);
io                486 drivers/md/dm-verity-target.c 		r = verity_hash_for_block(v, io, cur_block,
io                487 drivers/md/dm-verity-target.c 					  verity_io_want_digest(v, io),
io                497 drivers/md/dm-verity-target.c 			r = verity_for_bv_block(v, io, &io->iter,
io                509 drivers/md/dm-verity-target.c 		start = io->iter;
io                510 drivers/md/dm-verity-target.c 		r = verity_for_io_block(v, io, &io->iter, &wait);
io                514 drivers/md/dm-verity-target.c 		r = verity_hash_final(v, req, verity_io_real_digest(v, io),
io                519 drivers/md/dm-verity-target.c 		if (likely(memcmp(verity_io_real_digest(v, io),
io                520 drivers/md/dm-verity-target.c 				  verity_io_want_digest(v, io), v->digest_size) == 0)) {
io                525 drivers/md/dm-verity-target.c 		else if (verity_fec_decode(v, io, DM_VERITY_BLOCK_TYPE_DATA,
io                539 drivers/md/dm-verity-target.c static void verity_finish_io(struct dm_verity_io *io, blk_status_t status)
io                541 drivers/md/dm-verity-target.c 	struct dm_verity *v = io->v;
io                542 drivers/md/dm-verity-target.c 	struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size);
io                544 drivers/md/dm-verity-target.c 	bio->bi_end_io = io->orig_bi_end_io;
io                547 drivers/md/dm-verity-target.c 	verity_fec_finish_io(io);
io                554 drivers/md/dm-verity-target.c 	struct dm_verity_io *io = container_of(w, struct dm_verity_io, work);
io                556 drivers/md/dm-verity-target.c 	verity_finish_io(io, errno_to_blk_status(verity_verify_io(io)));
io                561 drivers/md/dm-verity-target.c 	struct dm_verity_io *io = bio->bi_private;
io                563 drivers/md/dm-verity-target.c 	if (bio->bi_status && !verity_fec_is_enabled(io->v)) {
io                564 drivers/md/dm-verity-target.c 		verity_finish_io(io, bio->bi_status);
io                568 drivers/md/dm-verity-target.c 	INIT_WORK(&io->work, verity_work);
io                569 drivers/md/dm-verity-target.c 	queue_work(io->v->verify_wq, &io->work);
io                612 drivers/md/dm-verity-target.c static void verity_submit_prefetch(struct dm_verity *v, struct dm_verity_io *io)
io                624 drivers/md/dm-verity-target.c 	pw->block = io->block;
io                625 drivers/md/dm-verity-target.c 	pw->n_blocks = io->n_blocks;
io                636 drivers/md/dm-verity-target.c 	struct dm_verity_io *io;
io                656 drivers/md/dm-verity-target.c 	io = dm_per_bio_data(bio, ti->per_io_data_size);
io                657 drivers/md/dm-verity-target.c 	io->v = v;
io                658 drivers/md/dm-verity-target.c 	io->orig_bi_end_io = bio->bi_end_io;
io                659 drivers/md/dm-verity-target.c 	io->block = bio->bi_iter.bi_sector >> (v->data_dev_block_bits - SECTOR_SHIFT);
io                660 drivers/md/dm-verity-target.c 	io->n_blocks = bio->bi_iter.bi_size >> v->data_dev_block_bits;
io                663 drivers/md/dm-verity-target.c 	bio->bi_private = io;
io                664 drivers/md/dm-verity-target.c 	io->iter = bio->bi_iter;
io                666 drivers/md/dm-verity-target.c 	verity_fec_init_io(io);
io                668 drivers/md/dm-verity-target.c 	verity_submit_prefetch(v, io);
io                 96 drivers/md/dm-verity.h 						     struct dm_verity_io *io)
io                 98 drivers/md/dm-verity.h 	return (struct ahash_request *)(io + 1);
io                102 drivers/md/dm-verity.h 					struct dm_verity_io *io)
io                104 drivers/md/dm-verity.h 	return (u8 *)(io + 1) + v->ahash_reqsize;
io                108 drivers/md/dm-verity.h 					struct dm_verity_io *io)
io                110 drivers/md/dm-verity.h 	return (u8 *)(io + 1) + v->ahash_reqsize + v->digest_size;
io                114 drivers/md/dm-verity.h 				       struct dm_verity_io *io)
io                116 drivers/md/dm-verity.h 	return verity_io_want_digest(v, io) + v->digest_size;
io                119 drivers/md/dm-verity.h extern int verity_for_bv_block(struct dm_verity *v, struct dm_verity_io *io,
io                122 drivers/md/dm-verity.h 					      struct dm_verity_io *io,
io                128 drivers/md/dm-verity.h extern int verity_hash_for_block(struct dm_verity *v, struct dm_verity_io *io,
io                 68 drivers/md/dm.c 	struct dm_io *io;
io                 79 drivers/md/dm.c 	struct dm_io *io;
io                116 drivers/md/dm.c 	struct dm_io *io = (struct dm_io *)((char *)data + data_size);
io                117 drivers/md/dm.c 	if (io->magic == DM_IO_MAGIC)
io                118 drivers/md/dm.c 		return (struct bio *)((char *)io + offsetof(struct dm_io, tio) + offsetof(struct dm_target_io, clone));
io                119 drivers/md/dm.c 	BUG_ON(io->magic != DM_TIO_MAGIC);
io                120 drivers/md/dm.c 	return (struct bio *)((char *)io + offsetof(struct dm_target_io, clone));
io                563 drivers/md/dm.c static void start_io_acct(struct dm_io *io);
io                567 drivers/md/dm.c 	struct dm_io *io;
io                577 drivers/md/dm.c 	tio->io = NULL;
io                579 drivers/md/dm.c 	io = container_of(tio, struct dm_io, tio);
io                580 drivers/md/dm.c 	io->magic = DM_IO_MAGIC;
io                581 drivers/md/dm.c 	io->status = 0;
io                582 drivers/md/dm.c 	atomic_set(&io->io_count, 1);
io                583 drivers/md/dm.c 	io->orig_bio = bio;
io                584 drivers/md/dm.c 	io->md = md;
io                585 drivers/md/dm.c 	spin_lock_init(&io->endio_lock);
io                587 drivers/md/dm.c 	start_io_acct(io);
io                589 drivers/md/dm.c 	return io;
io                592 drivers/md/dm.c static void free_io(struct mapped_device *md, struct dm_io *io)
io                594 drivers/md/dm.c 	bio_put(&io->tio.clone);
io                602 drivers/md/dm.c 	if (!ci->io->tio.io) {
io                604 drivers/md/dm.c 		tio = &ci->io->tio;
io                606 drivers/md/dm.c 		struct bio *clone = bio_alloc_bioset(gfp_mask, 0, &ci->io->md->bs);
io                615 drivers/md/dm.c 	tio->io = ci->io;
io                651 drivers/md/dm.c static void start_io_acct(struct dm_io *io)
io                653 drivers/md/dm.c 	struct mapped_device *md = io->md;
io                654 drivers/md/dm.c 	struct bio *bio = io->orig_bio;
io                656 drivers/md/dm.c 	io->start_time = jiffies;
io                664 drivers/md/dm.c 				    false, 0, &io->stats_aux);
io                667 drivers/md/dm.c static void end_io_acct(struct dm_io *io)
io                669 drivers/md/dm.c 	struct mapped_device *md = io->md;
io                670 drivers/md/dm.c 	struct bio *bio = io->orig_bio;
io                671 drivers/md/dm.c 	unsigned long duration = jiffies - io->start_time;
io                674 drivers/md/dm.c 			    io->start_time);
io                679 drivers/md/dm.c 				    true, duration, &io->stats_aux);
io                894 drivers/md/dm.c static void dec_pending(struct dm_io *io, blk_status_t error)
io                899 drivers/md/dm.c 	struct mapped_device *md = io->md;
io                903 drivers/md/dm.c 		spin_lock_irqsave(&io->endio_lock, flags);
io                904 drivers/md/dm.c 		if (!(io->status == BLK_STS_DM_REQUEUE && __noflush_suspending(md)))
io                905 drivers/md/dm.c 			io->status = error;
io                906 drivers/md/dm.c 		spin_unlock_irqrestore(&io->endio_lock, flags);
io                909 drivers/md/dm.c 	if (atomic_dec_and_test(&io->io_count)) {
io                910 drivers/md/dm.c 		if (io->status == BLK_STS_DM_REQUEUE) {
io                917 drivers/md/dm.c 				bio_list_add_head(&md->deferred, io->orig_bio);
io                920 drivers/md/dm.c 				io->status = BLK_STS_IOERR;
io                924 drivers/md/dm.c 		io_error = io->status;
io                925 drivers/md/dm.c 		bio = io->orig_bio;
io                926 drivers/md/dm.c 		end_io_acct(io);
io                927 drivers/md/dm.c 		free_io(md, io);
io                977 drivers/md/dm.c 	struct dm_io *io = tio->io;
io                978 drivers/md/dm.c 	struct mapped_device *md = tio->io->md;
io               1011 drivers/md/dm.c 	dec_pending(io, error);
io               1268 drivers/md/dm.c 	struct dm_io *io = tio->io;
io               1269 drivers/md/dm.c 	struct mapped_device *md = io->md;
io               1280 drivers/md/dm.c 	atomic_inc(&io->io_count);
io               1290 drivers/md/dm.c 				      bio_dev(io->orig_bio), sector);
io               1298 drivers/md/dm.c 		dec_pending(io, BLK_STS_IOERR);
io               1302 drivers/md/dm.c 		dec_pending(io, BLK_STS_DM_REQUEUE);
io               1334 drivers/md/dm.c 				dm_device_name(tio->io->md),
io               1373 drivers/md/dm.c 			mutex_lock(&ci->io->md->table_devices_lock);
io               1382 drivers/md/dm.c 			mutex_unlock(&ci->io->md->table_devices_lock);
io               1434 drivers/md/dm.c 	bio_set_dev(ci->bio, ci->io->md->bdev);
io               1597 drivers/md/dm.c 	ci->io = alloc_io(md, bio);
io               1650 drivers/md/dm.c 				ci.io->orig_bio = b;
io               1673 drivers/md/dm.c 	dec_pending(ci.io, errno_to_blk_status(error));
io               1717 drivers/md/dm.c 	dec_pending(ci.io, errno_to_blk_status(error));
io                285 drivers/md/raid5-cache.c static void __r5l_set_io_unit_state(struct r5l_io_unit *io,
io                288 drivers/md/raid5-cache.c 	if (WARN_ON(io->state >= state))
io                290 drivers/md/raid5-cache.c 	io->state = state;
io                515 drivers/md/raid5-cache.c static void r5l_io_run_stripes(struct r5l_io_unit *io)
io                519 drivers/md/raid5-cache.c 	list_for_each_entry_safe(sh, next, &io->stripe_list, log_list) {
io                531 drivers/md/raid5-cache.c 	struct r5l_io_unit *io, *next;
io                535 drivers/md/raid5-cache.c 	list_for_each_entry_safe(io, next, &log->running_ios, log_sibling) {
io                537 drivers/md/raid5-cache.c 		if (io->state < IO_UNIT_IO_END)
io                540 drivers/md/raid5-cache.c 		list_move_tail(&io->log_sibling, &log->finished_ios);
io                541 drivers/md/raid5-cache.c 		r5l_io_run_stripes(io);
io                547 drivers/md/raid5-cache.c 	struct r5l_io_unit *io, *next;
io                551 drivers/md/raid5-cache.c 	list_for_each_entry_safe(io, next, &log->running_ios, log_sibling) {
io                553 drivers/md/raid5-cache.c 		if (io->state < IO_UNIT_IO_END)
io                555 drivers/md/raid5-cache.c 		list_move_tail(&io->log_sibling, &log->io_end_ios);
io                559 drivers/md/raid5-cache.c static void __r5l_stripe_write_finished(struct r5l_io_unit *io);
io                562 drivers/md/raid5-cache.c 	struct r5l_io_unit *io = bio->bi_private;
io                564 drivers/md/raid5-cache.c 	struct r5l_log *log = io->log;
io                573 drivers/md/raid5-cache.c 	mempool_free(io->meta_page, &log->meta_pool);
io                576 drivers/md/raid5-cache.c 	__r5l_set_io_unit_state(io, IO_UNIT_IO_END);
io                584 drivers/md/raid5-cache.c 	has_null_flush = io->has_null_flush;
io                585 drivers/md/raid5-cache.c 	has_flush_payload = io->has_flush_payload;
io                587 drivers/md/raid5-cache.c 	if (log->need_cache_flush && !list_empty(&io->stripe_list))
io                611 drivers/md/raid5-cache.c 		WARN_ON(bio_list_empty(&io->flush_barriers));
io                612 drivers/md/raid5-cache.c 		while ((bi = bio_list_pop(&io->flush_barriers)) != NULL) {
io                614 drivers/md/raid5-cache.c 			if (atomic_dec_and_test(&io->pending_stripe)) {
io                615 drivers/md/raid5-cache.c 				__r5l_stripe_write_finished(io);
io                622 drivers/md/raid5-cache.c 		if (atomic_dec_and_test(&io->pending_stripe))
io                623 drivers/md/raid5-cache.c 			__r5l_stripe_write_finished(io);
io                626 drivers/md/raid5-cache.c static void r5l_do_submit_io(struct r5l_log *log, struct r5l_io_unit *io)
io                631 drivers/md/raid5-cache.c 	__r5l_set_io_unit_state(io, IO_UNIT_IO_START);
io                645 drivers/md/raid5-cache.c 	if (io->split_bio) {
io                646 drivers/md/raid5-cache.c 		if (io->has_flush)
io                647 drivers/md/raid5-cache.c 			io->split_bio->bi_opf |= REQ_PREFLUSH;
io                648 drivers/md/raid5-cache.c 		if (io->has_fua)
io                649 drivers/md/raid5-cache.c 			io->split_bio->bi_opf |= REQ_FUA;
io                650 drivers/md/raid5-cache.c 		submit_bio(io->split_bio);
io                653 drivers/md/raid5-cache.c 	if (io->has_flush)
io                654 drivers/md/raid5-cache.c 		io->current_bio->bi_opf |= REQ_PREFLUSH;
io                655 drivers/md/raid5-cache.c 	if (io->has_fua)
io                656 drivers/md/raid5-cache.c 		io->current_bio->bi_opf |= REQ_FUA;
io                657 drivers/md/raid5-cache.c 	submit_bio(io->current_bio);
io                665 drivers/md/raid5-cache.c 	struct r5l_io_unit *io = NULL;
io                670 drivers/md/raid5-cache.c 		io = list_first_entry(&log->running_ios, struct r5l_io_unit,
io                672 drivers/md/raid5-cache.c 		if (!io->io_deferred)
io                673 drivers/md/raid5-cache.c 			io = NULL;
io                675 drivers/md/raid5-cache.c 			io->io_deferred = 0;
io                678 drivers/md/raid5-cache.c 	if (io)
io                679 drivers/md/raid5-cache.c 		r5l_do_submit_io(log, io);
io                710 drivers/md/raid5-cache.c 	struct r5l_io_unit *io = log->current_io;
io                716 drivers/md/raid5-cache.c 	if (!io)
io                719 drivers/md/raid5-cache.c 	block = page_address(io->meta_page);
io                720 drivers/md/raid5-cache.c 	block->meta_size = cpu_to_le32(io->meta_offset);
io                726 drivers/md/raid5-cache.c 	if (io->has_flush || io->has_fua) {
io                727 drivers/md/raid5-cache.c 		if (io != list_first_entry(&log->running_ios,
io                729 drivers/md/raid5-cache.c 			io->io_deferred = 1;
io                735 drivers/md/raid5-cache.c 		r5l_do_submit_io(log, io);
io                749 drivers/md/raid5-cache.c static void r5_reserve_log_entry(struct r5l_log *log, struct r5l_io_unit *io)
io                762 drivers/md/raid5-cache.c 		io->need_split_bio = true;
io                764 drivers/md/raid5-cache.c 	io->log_end = log->log_start;
io                769 drivers/md/raid5-cache.c 	struct r5l_io_unit *io;
io                772 drivers/md/raid5-cache.c 	io = mempool_alloc(&log->io_pool, GFP_ATOMIC);
io                773 drivers/md/raid5-cache.c 	if (!io)
io                775 drivers/md/raid5-cache.c 	memset(io, 0, sizeof(*io));
io                777 drivers/md/raid5-cache.c 	io->log = log;
io                778 drivers/md/raid5-cache.c 	INIT_LIST_HEAD(&io->log_sibling);
io                779 drivers/md/raid5-cache.c 	INIT_LIST_HEAD(&io->stripe_list);
io                780 drivers/md/raid5-cache.c 	bio_list_init(&io->flush_barriers);
io                781 drivers/md/raid5-cache.c 	io->state = IO_UNIT_RUNNING;
io                783 drivers/md/raid5-cache.c 	io->meta_page = mempool_alloc(&log->meta_pool, GFP_NOIO);
io                784 drivers/md/raid5-cache.c 	block = page_address(io->meta_page);
io                791 drivers/md/raid5-cache.c 	io->log_start = log->log_start;
io                792 drivers/md/raid5-cache.c 	io->meta_offset = sizeof(struct r5l_meta_block);
io                793 drivers/md/raid5-cache.c 	io->seq = log->seq++;
io                795 drivers/md/raid5-cache.c 	io->current_bio = r5l_bio_alloc(log);
io                796 drivers/md/raid5-cache.c 	io->current_bio->bi_end_io = r5l_log_endio;
io                797 drivers/md/raid5-cache.c 	io->current_bio->bi_private = io;
io                798 drivers/md/raid5-cache.c 	bio_add_page(io->current_bio, io->meta_page, PAGE_SIZE, 0);
io                800 drivers/md/raid5-cache.c 	r5_reserve_log_entry(log, io);
io                803 drivers/md/raid5-cache.c 	list_add_tail(&io->log_sibling, &log->running_ios);
io                806 drivers/md/raid5-cache.c 	return io;
io                829 drivers/md/raid5-cache.c 	struct r5l_io_unit *io = log->current_io;
io                832 drivers/md/raid5-cache.c 	payload = page_address(io->meta_page) + io->meta_offset;
io                842 drivers/md/raid5-cache.c 	io->meta_offset += sizeof(struct r5l_payload_data_parity) +
io                848 drivers/md/raid5-cache.c 	struct r5l_io_unit *io = log->current_io;
io                850 drivers/md/raid5-cache.c 	if (io->need_split_bio) {
io                851 drivers/md/raid5-cache.c 		BUG_ON(io->split_bio);
io                852 drivers/md/raid5-cache.c 		io->split_bio = io->current_bio;
io                853 drivers/md/raid5-cache.c 		io->current_bio = r5l_bio_alloc(log);
io                854 drivers/md/raid5-cache.c 		bio_chain(io->current_bio, io->split_bio);
io                855 drivers/md/raid5-cache.c 		io->need_split_bio = false;
io                858 drivers/md/raid5-cache.c 	if (!bio_add_page(io->current_bio, page, PAGE_SIZE, 0))
io                861 drivers/md/raid5-cache.c 	r5_reserve_log_entry(log, io);
io                868 drivers/md/raid5-cache.c 	struct r5l_io_unit *io;
io                889 drivers/md/raid5-cache.c 	io = log->current_io;
io                890 drivers/md/raid5-cache.c 	payload = page_address(io->meta_page) + io->meta_offset;
io                895 drivers/md/raid5-cache.c 	io->meta_offset += meta_size;
io                897 drivers/md/raid5-cache.c 	if (!io->has_flush_payload) {
io                898 drivers/md/raid5-cache.c 		io->has_flush_payload = 1;
io                899 drivers/md/raid5-cache.c 		atomic_inc(&io->pending_stripe);
io                910 drivers/md/raid5-cache.c 	struct r5l_io_unit *io;
io                922 drivers/md/raid5-cache.c 	io = log->current_io;
io                925 drivers/md/raid5-cache.c 		io->has_flush = 1;
io                935 drivers/md/raid5-cache.c 			io->has_fua = 1;
io                940 drivers/md/raid5-cache.c 			io->has_flush = 1;
io                962 drivers/md/raid5-cache.c 	list_add_tail(&sh->log_list, &io->stripe_list);
io                963 drivers/md/raid5-cache.c 	atomic_inc(&io->pending_stripe);
io                964 drivers/md/raid5-cache.c 	sh->log_io = io;
io                971 drivers/md/raid5-cache.c 		sh->log_start = io->log_start;
io               1202 drivers/md/raid5-cache.c 	struct r5l_io_unit *io, *next;
io               1207 drivers/md/raid5-cache.c 	list_for_each_entry_safe(io, next, &log->finished_ios, log_sibling) {
io               1209 drivers/md/raid5-cache.c 		if (io->state < IO_UNIT_STRIPE_END)
io               1212 drivers/md/raid5-cache.c 		log->next_checkpoint = io->log_start;
io               1214 drivers/md/raid5-cache.c 		list_del(&io->log_sibling);
io               1215 drivers/md/raid5-cache.c 		mempool_free(io, &log->io_pool);
io               1224 drivers/md/raid5-cache.c static void __r5l_stripe_write_finished(struct r5l_io_unit *io)
io               1226 drivers/md/raid5-cache.c 	struct r5l_log *log = io->log;
io               1231 drivers/md/raid5-cache.c 	__r5l_set_io_unit_state(io, IO_UNIT_STRIPE_END);
io               1248 drivers/md/raid5-cache.c 	struct r5l_io_unit *io;
io               1250 drivers/md/raid5-cache.c 	io = sh->log_io;
io               1253 drivers/md/raid5-cache.c 	if (io && atomic_dec_and_test(&io->pending_stripe))
io               1254 drivers/md/raid5-cache.c 		__r5l_stripe_write_finished(io);
io               1262 drivers/md/raid5-cache.c 	struct r5l_io_unit *io;
io               1268 drivers/md/raid5-cache.c 	list_for_each_entry(io, &log->flushing_ios, log_sibling)
io               1269 drivers/md/raid5-cache.c 		r5l_io_run_stripes(io);
io                208 drivers/md/raid5-ppl.c 	struct ppl_io_unit *io;
io                210 drivers/md/raid5-ppl.c 	io = kmem_cache_alloc(kc, gfp_mask);
io                211 drivers/md/raid5-ppl.c 	if (!io)
io                214 drivers/md/raid5-ppl.c 	io->header_page = alloc_page(gfp_mask);
io                215 drivers/md/raid5-ppl.c 	if (!io->header_page) {
io                216 drivers/md/raid5-ppl.c 		kmem_cache_free(kc, io);
io                220 drivers/md/raid5-ppl.c 	return io;
io                226 drivers/md/raid5-ppl.c 	struct ppl_io_unit *io = element;
io                228 drivers/md/raid5-ppl.c 	__free_page(io->header_page);
io                229 drivers/md/raid5-ppl.c 	kmem_cache_free(kc, io);
io                236 drivers/md/raid5-ppl.c 	struct ppl_io_unit *io;
io                240 drivers/md/raid5-ppl.c 	io = mempool_alloc(&ppl_conf->io_pool, GFP_NOWAIT);
io                241 drivers/md/raid5-ppl.c 	if (!io)
io                244 drivers/md/raid5-ppl.c 	header_page = io->header_page;
io                245 drivers/md/raid5-ppl.c 	memset(io, 0, sizeof(*io));
io                246 drivers/md/raid5-ppl.c 	io->header_page = header_page;
io                248 drivers/md/raid5-ppl.c 	io->log = log;
io                249 drivers/md/raid5-ppl.c 	INIT_LIST_HEAD(&io->log_sibling);
io                250 drivers/md/raid5-ppl.c 	INIT_LIST_HEAD(&io->stripe_list);
io                251 drivers/md/raid5-ppl.c 	atomic_set(&io->pending_stripes, 0);
io                252 drivers/md/raid5-ppl.c 	atomic_set(&io->pending_flushes, 0);
io                253 drivers/md/raid5-ppl.c 	bio_init(&io->bio, io->biovec, PPL_IO_INLINE_BVECS);
io                255 drivers/md/raid5-ppl.c 	pplhdr = page_address(io->header_page);
io                260 drivers/md/raid5-ppl.c 	io->seq = atomic64_add_return(1, &ppl_conf->seq);
io                261 drivers/md/raid5-ppl.c 	pplhdr->generation = cpu_to_le64(io->seq);
io                263 drivers/md/raid5-ppl.c 	return io;
io                268 drivers/md/raid5-ppl.c 	struct ppl_io_unit *io = log->current_io;
io                279 drivers/md/raid5-ppl.c 	if (io && (io->pp_size == log->entry_space ||
io                280 drivers/md/raid5-ppl.c 		   io->entries_count == PPL_HDR_MAX_ENTRIES)) {
io                282 drivers/md/raid5-ppl.c 			 __func__, io->seq);
io                283 drivers/md/raid5-ppl.c 		io = NULL;
io                287 drivers/md/raid5-ppl.c 	if (!io) {
io                288 drivers/md/raid5-ppl.c 		io = ppl_new_iounit(log, sh);
io                289 drivers/md/raid5-ppl.c 		if (!io)
io                292 drivers/md/raid5-ppl.c 		list_add_tail(&io->log_sibling, &log->io_list);
io                295 drivers/md/raid5-ppl.c 		log->current_io = io;
io                310 drivers/md/raid5-ppl.c 		 io->seq, (unsigned long long)data_sector, data_disks);
io                312 drivers/md/raid5-ppl.c 	pplhdr = page_address(io->header_page);
io                314 drivers/md/raid5-ppl.c 	if (io->entries_count > 0) {
io                316 drivers/md/raid5-ppl.c 				&pplhdr->entries[io->entries_count - 1];
io                318 drivers/md/raid5-ppl.c 				&io->stripe_list, struct stripe_head, log_list);
io                336 drivers/md/raid5-ppl.c 		e = &pplhdr->entries[io->entries_count++];
io                347 drivers/md/raid5-ppl.c 		io->pp_size += PAGE_SIZE;
io                353 drivers/md/raid5-ppl.c 	list_add_tail(&sh->log_list, &io->stripe_list);
io                354 drivers/md/raid5-ppl.c 	atomic_inc(&io->pending_stripes);
io                355 drivers/md/raid5-ppl.c 	sh->ppl_io = io;
io                363 drivers/md/raid5-ppl.c 	struct ppl_io_unit *io = sh->ppl_io;
io                366 drivers/md/raid5-ppl.c 	if (io || test_bit(STRIPE_SYNCING, &sh->state) || !sh->ppl_page ||
io                399 drivers/md/raid5-ppl.c 	struct ppl_io_unit *io = bio->bi_private;
io                400 drivers/md/raid5-ppl.c 	struct ppl_log *log = io->log;
io                404 drivers/md/raid5-ppl.c 	pr_debug("%s: seq: %llu\n", __func__, io->seq);
io                409 drivers/md/raid5-ppl.c 	list_for_each_entry_safe(sh, next, &io->stripe_list, log_list) {
io                417 drivers/md/raid5-ppl.c static void ppl_submit_iounit_bio(struct ppl_io_unit *io, struct bio *bio)
io                422 drivers/md/raid5-ppl.c 		 __func__, io->seq, bio->bi_iter.bi_size,
io                429 drivers/md/raid5-ppl.c static void ppl_submit_iounit(struct ppl_io_unit *io)
io                431 drivers/md/raid5-ppl.c 	struct ppl_log *log = io->log;
io                433 drivers/md/raid5-ppl.c 	struct ppl_header *pplhdr = page_address(io->header_page);
io                434 drivers/md/raid5-ppl.c 	struct bio *bio = &io->bio;
io                438 drivers/md/raid5-ppl.c 	bio->bi_private = io;
io                445 drivers/md/raid5-ppl.c 	for (i = 0; i < io->entries_count; i++) {
io                449 drivers/md/raid5-ppl.c 			 __func__, io->seq, i, le64_to_cpu(e->data_sector),
io                457 drivers/md/raid5-ppl.c 	pplhdr->entries_count = cpu_to_le32(io->entries_count);
io                463 drivers/md/raid5-ppl.c 	    (PPL_HEADER_SIZE + io->pp_size) >> 9)
io                471 drivers/md/raid5-ppl.c 	bio_add_page(bio, io->header_page, PAGE_SIZE, 0);
io                478 drivers/md/raid5-ppl.c 		log->next_io_sector += (PPL_HEADER_SIZE + io->pp_size) >> 9;
io                482 drivers/md/raid5-ppl.c 	list_for_each_entry(sh, &io->stripe_list, log_list) {
io                508 drivers/md/raid5-ppl.c 			ppl_submit_iounit_bio(io, prev);
io                512 drivers/md/raid5-ppl.c 	ppl_submit_iounit_bio(io, bio);
io                517 drivers/md/raid5-ppl.c 	struct ppl_io_unit *io;
io                521 drivers/md/raid5-ppl.c 	io = list_first_entry_or_null(&log->io_list, struct ppl_io_unit,
io                523 drivers/md/raid5-ppl.c 	if (io && io->submitted)
io                524 drivers/md/raid5-ppl.c 		io = NULL;
io                528 drivers/md/raid5-ppl.c 	if (io) {
io                529 drivers/md/raid5-ppl.c 		io->submitted = true;
io                531 drivers/md/raid5-ppl.c 		if (io == log->current_io)
io                534 drivers/md/raid5-ppl.c 		ppl_submit_iounit(io);
io                553 drivers/md/raid5-ppl.c static void ppl_io_unit_finished(struct ppl_io_unit *io)
io                555 drivers/md/raid5-ppl.c 	struct ppl_log *log = io->log;
io                560 drivers/md/raid5-ppl.c 	pr_debug("%s: seq: %llu\n", __func__, io->seq);
io                565 drivers/md/raid5-ppl.c 	list_del(&io->log_sibling);
io                568 drivers/md/raid5-ppl.c 	mempool_free(io, &ppl_conf->io_pool);
io                589 drivers/md/raid5-ppl.c 	struct ppl_io_unit *io = bio->bi_private;
io                590 drivers/md/raid5-ppl.c 	struct ppl_log *log = io->log;
io                609 drivers/md/raid5-ppl.c 	if (atomic_dec_and_test(&io->pending_flushes)) {
io                610 drivers/md/raid5-ppl.c 		ppl_io_unit_finished(io);
io                615 drivers/md/raid5-ppl.c static void ppl_do_flush(struct ppl_io_unit *io)
io                617 drivers/md/raid5-ppl.c 	struct ppl_log *log = io->log;
io                624 drivers/md/raid5-ppl.c 	atomic_set(&io->pending_flushes, raid_disks);
io                642 drivers/md/raid5-ppl.c 			bio->bi_private = io;
io                657 drivers/md/raid5-ppl.c 		if (atomic_dec_and_test(&io->pending_flushes))
io                658 drivers/md/raid5-ppl.c 			ppl_io_unit_finished(io);
io                665 drivers/md/raid5-ppl.c 	struct ppl_io_unit *io;
io                667 drivers/md/raid5-ppl.c 	io = list_first_entry_or_null(&log->io_list, struct ppl_io_unit,
io                670 drivers/md/raid5-ppl.c 	return !io || !io->submitted;
io                703 drivers/md/raid5-ppl.c 	struct ppl_io_unit *io;
io                705 drivers/md/raid5-ppl.c 	io = sh->ppl_io;
io                708 drivers/md/raid5-ppl.c 	if (io && atomic_dec_and_test(&io->pending_stripes)) {
io                709 drivers/md/raid5-ppl.c 		if (io->log->disk_flush_bitmap)
io                710 drivers/md/raid5-ppl.c 			ppl_do_flush(io);
io                712 drivers/md/raid5-ppl.c 			ppl_io_unit_finished(io);
io                 14 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c static int cxd2880_io_spi_read_reg(struct cxd2880_io *io,
io                 24 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	if (!io || !io->if_object || !data)
io                 30 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	spi = io->if_object;
io                 62 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c static int cxd2880_io_spi_write_reg(struct cxd2880_io *io,
io                 72 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	if (!io || !io->if_object || !data)
io                 81 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	spi = io->if_object;
io                114 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c int cxd2880_io_spi_create(struct cxd2880_io *io,
io                117 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	if (!io || !spi)
io                120 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	io->read_regs = cxd2880_io_spi_read_reg;
io                121 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	io->write_regs = cxd2880_io_spi_write_reg;
io                122 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	io->write_reg = cxd2880_io_common_write_one_reg;
io                123 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	io->if_object = spi;
io                124 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	io->i2c_address_sys = 0;
io                125 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	io->i2c_address_demod = 0;
io                126 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.c 	io->slave_select = slave_select;
io                 19 drivers/media/dvb-frontends/cxd2880/cxd2880_devio_spi.h int cxd2880_io_spi_create(struct cxd2880_io *io,
io                 12 drivers/media/dvb-frontends/cxd2880/cxd2880_io.c int cxd2880_io_common_write_one_reg(struct cxd2880_io *io,
io                 16 drivers/media/dvb-frontends/cxd2880/cxd2880_io.c 	if (!io)
io                 19 drivers/media/dvb-frontends/cxd2880/cxd2880_io.c 	return io->write_regs(io, tgt, sub_address, &data, 1);
io                 22 drivers/media/dvb-frontends/cxd2880/cxd2880_io.c int cxd2880_io_set_reg_bits(struct cxd2880_io *io,
io                 28 drivers/media/dvb-frontends/cxd2880/cxd2880_io.c 	if (!io)
io                 37 drivers/media/dvb-frontends/cxd2880/cxd2880_io.c 		ret = io->read_regs(io, tgt, sub_address, &rdata, 1);
io                 44 drivers/media/dvb-frontends/cxd2880/cxd2880_io.c 	return io->write_reg(io, tgt, sub_address, data);
io                 47 drivers/media/dvb-frontends/cxd2880/cxd2880_io.c int cxd2880_io_write_multi_regs(struct cxd2880_io *io,
io                 55 drivers/media/dvb-frontends/cxd2880/cxd2880_io.c 	if (!io)
io                 59 drivers/media/dvb-frontends/cxd2880/cxd2880_io.c 		ret = io->write_reg(io, tgt, reg_value[i].addr,
io                 26 drivers/media/dvb-frontends/cxd2880/cxd2880_io.h 	int (*read_regs)(struct cxd2880_io *io,
io                 29 drivers/media/dvb-frontends/cxd2880/cxd2880_io.h 	int (*write_regs)(struct cxd2880_io *io,
io                 32 drivers/media/dvb-frontends/cxd2880/cxd2880_io.h 	int (*write_reg)(struct cxd2880_io *io,
io                 42 drivers/media/dvb-frontends/cxd2880/cxd2880_io.h int cxd2880_io_common_write_one_reg(struct cxd2880_io *io,
io                 46 drivers/media/dvb-frontends/cxd2880/cxd2880_io.h int cxd2880_io_set_reg_bits(struct cxd2880_io *io,
io                 50 drivers/media/dvb-frontends/cxd2880/cxd2880_io.h int cxd2880_io_write_multi_regs(struct cxd2880_io *io,
io                212 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                233 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                240 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                258 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                269 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                274 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                280 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                285 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                291 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                308 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_reg(tnr_dmd->io,
io                321 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                351 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_regs(tnr_dmd->io,
io                364 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                386 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_regs(tnr_dmd->io,
io                440 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                448 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                454 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                461 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                468 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                475 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                490 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                496 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                516 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                522 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                530 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                537 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                546 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                551 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                556 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                562 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                569 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                574 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                580 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                586 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                594 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                600 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                620 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                635 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                652 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                667 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                674 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                681 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                688 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                694 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                700 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                708 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                714 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                721 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                729 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                734 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                742 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                751 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                756 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                764 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                774 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                781 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                788 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                795 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                802 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                809 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                818 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                823 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                831 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return cxd2880_io_write_multi_regs(tnr_dmd->io,
io                845 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                852 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                867 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                873 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                880 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return cxd2880_io_write_multi_regs(tnr_dmd->io,
io                897 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                904 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                912 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                923 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                949 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                955 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                964 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                970 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1009 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_regs(tnr_dmd->io,
io               1025 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1034 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io               1040 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1047 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1053 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1059 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1065 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1072 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1082 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1088 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1124 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io               1130 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1199 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1207 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1215 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1231 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1238 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1249 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io               1255 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1265 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_reg(tnr_dmd->io,
io               1281 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->diver_sub->io->write_reg(tnr_dmd->diver_sub->io,
io               1288 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->diver_sub->io->write_regs(tnr_dmd->diver_sub->io,
io               1294 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1301 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io               1306 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1313 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io               1319 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->diver_sub->io->write_reg(tnr_dmd->diver_sub->io,
io               1326 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->diver_sub->io->write_regs(tnr_dmd->diver_sub->io,
io               1331 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->diver_sub->io->write_reg(tnr_dmd->diver_sub->io,
io               1337 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1344 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return cxd2880_io_write_multi_regs(tnr_dmd->diver_sub->io,
io               1361 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1370 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io               1376 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->diver_sub->io->write_reg(tnr_dmd->diver_sub->io,
io               1384 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->diver_sub->io->write_regs(tnr_dmd->diver_sub->io,
io               1391 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->diver_sub->io->write_regs(tnr_dmd->diver_sub->io,
io               1397 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1405 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_regs(tnr_dmd->io,
io               1418 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1427 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1436 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1447 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1458 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1473 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1480 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1487 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1510 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1515 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1523 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1528 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1536 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1545 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1552 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1560 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_regs(tnr_dmd->io,
io               1573 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1580 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1587 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1595 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1603 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1608 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1616 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1625 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io               1633 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1638 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1647 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1656 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1661 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1669 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1678 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               1685 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1693 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_regs(tnr_dmd->io,
io               1728 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1749 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_set_reg_bits(tnr_dmd->io,
io               1755 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_set_reg_bits(tnr_dmd->io,
io               1761 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_set_reg_bits(tnr_dmd->io,
io               1773 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_set_reg_bits(tnr_dmd->io,
io               1779 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_set_reg_bits(tnr_dmd->io,
io               1785 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1794 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1801 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		    cxd2880_io_set_reg_bits(tnr_dmd->io,
io               1820 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1827 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		return tnr_dmd->io->write_reg(tnr_dmd->io,
io               1843 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_regs(tnr_dmd->io,
io               1857 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1863 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = cxd2880_io_set_reg_bits(tnr_dmd->io,
io               1917 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 			  struct cxd2880_io *io,
io               1921 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	if (!tnr_dmd || !io || !create_param)
io               1926 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	tnr_dmd->io = io;
io               1964 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	tnr_dmd_main->io = io_main;
io               1977 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	tnr_dmd_sub->io = io_sub;
io               2215 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               2222 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               3071 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               3076 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               3144 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               3149 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               3173 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               3182 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_regs(tnr_dmd->io,
io               3205 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               3215 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_regs(tnr_dmd->io,
io               3229 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               3234 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               3260 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io, tgt, 0x00, bank);
io               3264 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = cxd2880_io_set_reg_bits(tnr_dmd->io,
io               3401 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               3408 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               3414 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               3418 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               3449 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 			ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               3456 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 			ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               3463 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 			ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               3470 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 			ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io               3504 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               3516 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	return tnr_dmd->io->write_reg(tnr_dmd->io,
io                 23 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.h #define slvt_unfreeze_reg(tnr_dmd) ((void)((tnr_dmd)->io->write_reg\
io                 24 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.h ((tnr_dmd)->io, CXD2880_IO_TGT_DMD, 0x01, 0x00)))
io                205 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.h 	struct cxd2880_io *io;
io                237 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.h 			  struct cxd2880_io *io,
io                105 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                112 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                132 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                138 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                147 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                153 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                160 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                167 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                175 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                184 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                193 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                213 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                220 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                240 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                246 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                266 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                284 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                305 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                311 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                318 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                324 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                344 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                350 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                370 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                388 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                409 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                415 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                422 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                428 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                448 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                454 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                474 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                492 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                513 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                519 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                526 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                532 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                552 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                558 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                578 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                596 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                617 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                623 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                630 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                636 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                647 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	return cxd2880_io_write_multi_regs(tnr_dmd->io,
io                661 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                669 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 		ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                685 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                691 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt.c 	return tnr_dmd->io->write_reg(tnr_dmd->io,
io                165 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                172 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = cxd2880_io_write_multi_regs(tnr_dmd->io,
io                180 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                186 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                193 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                199 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                205 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                211 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                217 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                223 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                229 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                235 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                241 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                247 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                253 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                279 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                285 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                291 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                297 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                303 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                309 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                315 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                322 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                328 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                335 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                341 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                361 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                367 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                385 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                405 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                426 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                447 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                453 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                459 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                479 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                500 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                521 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                527 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                533 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                553 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                574 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                595 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                601 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                607 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                627 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                648 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                672 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                678 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                684 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                704 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                725 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 			ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                737 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                743 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	return tnr_dmd->io->write_reg(tnr_dmd->io,
io                760 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                766 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                823 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                829 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                835 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                841 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	return tnr_dmd->io->write_reg(tnr_dmd->io,
io               1128 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1135 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1142 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	return tnr_dmd->io->write_reg(tnr_dmd->io,
io               1173 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1179 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	return tnr_dmd->io->write_regs(tnr_dmd->io,
io               1202 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1208 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                 40 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                 46 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                118 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                126 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                237 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                245 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                408 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                416 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                478 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                486 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                527 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                537 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                550 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                568 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                580 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                588 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                633 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                641 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                659 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                732 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                740 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                753 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                823 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                831 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                841 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                849 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                882 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                888 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                960 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                972 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                985 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1004 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1090 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1098 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1116 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1129 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1142 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1202 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1210 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1257 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1265 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1409 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1415 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1471 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1479 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1488 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1496 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1592 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1600 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1614 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1627 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1635 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1679 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1687 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1701 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1714 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1722 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 		ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io               1755 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io               1761 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt2_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                 40 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                 46 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                115 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                123 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                165 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                173 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                241 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                249 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                257 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                265 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                313 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                319 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                366 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                374 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                410 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                418 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                573 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                581 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                590 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                598 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_dvbt_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                 29 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                 35 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                 41 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                 47 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->write_regs(tnr_dmd->io,
io                 55 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                 61 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                 70 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                 82 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                 88 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                121 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->write_reg(tnr_dmd->io,
io                126 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd_mon.c 	ret = tnr_dmd->io->read_regs(tnr_dmd->io,
io                 67 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                 75 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                 88 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                 98 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                139 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                147 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                162 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                177 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                183 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                217 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                223 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                234 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                240 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                289 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                297 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                313 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                324 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                336 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                342 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                383 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                389 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                400 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                406 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                438 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                444 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                455 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->write_reg(tnrdmd->io,
io                461 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	ret = tnrdmd->io->read_regs(tnrdmd->io,
io                508 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 	if (priv->tnrdmd.io != &priv->regio) {
io                730 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 		ret = tnrdmd->io->write_reg(tnrdmd->io,
io                734 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c 			ret = tnrdmd->io->read_regs(tnrdmd->io,
io                521 drivers/media/dvb-frontends/dib0090.c 	dib0090_write_reg(state, 0x20, ((cfg->io.adc_clock_ratio - 1) << 11) | (0 << 10) | (1 << 9) | (1 << 8) | (0 << 4) | 0);
io                533 drivers/media/dvb-frontends/dib0090.c 	if ((PllCfg & 0x1FFF) != ((cfg->io.pll_range << 12) | (cfg->io.pll_loopdiv << 6) | (cfg->io.pll_prediv)) && (!cfg->in_soc)
io                534 drivers/media/dvb-frontends/dib0090.c 			&& !cfg->io.pll_bypass) {
io                545 drivers/media/dvb-frontends/dib0090.c 		PllCfg = (1 << 15) | (0 << 13) | (cfg->io.pll_range << 12) | (cfg->io.pll_loopdiv << 6) | (cfg->io.pll_prediv);
io                570 drivers/media/dvb-frontends/dib0090.c 	if (cfg->io.pll_bypass) {
io                571 drivers/media/dvb-frontends/dib0090.c 		PllCfg |= (cfg->io.pll_bypass << 15);
io                590 drivers/media/dvb-frontends/dib0090.c 			((cfg->io.adc_clock_ratio - 1) << 11) | (0 << 10) | (1 << 9) | (1 << 8) | (cfg->data_tx_drv << 4) | cfg->ls_cfg_pad_drv);
io                605 drivers/media/dvb-frontends/dib0090.c 	if ((PllCfg & 0x1FFF) != ((cfg->io.pll_range << 12) | (cfg->io.pll_loopdiv << 6) | (cfg->io.pll_prediv)) && !cfg->io.pll_bypass) {
io                616 drivers/media/dvb-frontends/dib0090.c 		PllCfg = (1 << 15) | (0 << 13) | (cfg->io.pll_range << 12) | (cfg->io.pll_loopdiv << 6) | (cfg->io.pll_prediv);
io                641 drivers/media/dvb-frontends/dib0090.c 	if (cfg->io.pll_bypass) {
io                642 drivers/media/dvb-frontends/dib0090.c 		PllCfg |= (cfg->io.pll_bypass << 15);
io               1581 drivers/media/dvb-frontends/dib0090.c 	else if (state->config->io.clock_khz >= 24000)
io               2364 drivers/media/dvb-frontends/dib0090.c 			FREF = state->config->io.clock_khz;
io               2413 drivers/media/dvb-frontends/dib0090.c 			if (!state->config->io.pll_int_loop_filt) {
io               2421 drivers/media/dvb-frontends/dib0090.c 				lo6 = (state->config->io.pll_int_loop_filt << 3);
io               2464 drivers/media/dvb-frontends/dib0090.c 		dprintk("REFDIV: %d, FREF: %d\n", (u32) 1, (u32) state->config->io.clock_khz);
io                 43 drivers/media/dvb-frontends/dib0090.h 	struct dib0090_io_config io;
io                145 drivers/media/dvb-frontends/drx39xyj/drxj.h 		enum drxj_cfg_smart_ant_io io;
io                132 drivers/media/pci/ddbridge/ddbridge-core.c static void ddb_set_dma_table(struct ddb_io *io)
io                134 drivers/media/pci/ddbridge/ddbridge-core.c 	struct ddb *dev = io->port->dev;
io                135 drivers/media/pci/ddbridge/ddbridge-core.c 	struct ddb_dma *dma = io->dma;
io               2176 drivers/media/pci/ddbridge/ddbridge-core.c 	struct ddb_input *input = (struct ddb_input *)dma->io;
io               2207 drivers/media/pci/ddbridge/ddbridge-core.c 	struct ddb_output *output = (struct ddb_output *)dma->io;
io               2234 drivers/media/pci/ddbridge/ddbridge-core.c static const struct ddb_regmap *io_regmap(struct ddb_io *io, int link)
io               2239 drivers/media/pci/ddbridge/ddbridge-core.c 		info = io->port->dev->link[io->port->lnr].info;
io               2241 drivers/media/pci/ddbridge/ddbridge-core.c 		info = io->port->dev->link[0].info;
io               2249 drivers/media/pci/ddbridge/ddbridge-core.c static void ddb_dma_init(struct ddb_io *io, int nr, int out)
io               2252 drivers/media/pci/ddbridge/ddbridge-core.c 	const struct ddb_regmap *rm = io_regmap(io, 0);
io               2254 drivers/media/pci/ddbridge/ddbridge-core.c 	dma = out ? &io->port->dev->odma[nr] : &io->port->dev->idma[nr];
io               2255 drivers/media/pci/ddbridge/ddbridge-core.c 	io->dma = dma;
io               2256 drivers/media/pci/ddbridge/ddbridge-core.c 	dma->io = io;
io               2275 drivers/media/pci/ddbridge/ddbridge-core.c 	ddbwritel(io->port->dev, 0, DMA_BUFFER_ACK(dma));
io               2276 drivers/media/pci/ddbridge/ddbridge-core.c 	dev_dbg(io->port->dev->dev, "init link %u, io %u, dma %u, dmaregs %08x bufregs %08x\n",
io               2277 drivers/media/pci/ddbridge/ddbridge-core.c 		io->port->lnr, io->nr, nr, dma->regs, dma->bufregs);
io                142 drivers/media/pci/ddbridge/ddbridge.h 	void                  *io;
io               1446 drivers/media/pci/ngene/ngene-core.c 	int io = ni->io_type[nr];
io               1450 drivers/media/pci/ngene/ngene-core.c 	chan->type = io;
io               1454 drivers/media/pci/ngene/ngene-core.c 	if (io & NGENE_IO_TSIN) {
io               1468 drivers/media/pci/ngene/ngene-core.c 	if (!dev->ci.en && (io & NGENE_IO_TSOUT))
io               1471 drivers/media/pci/ngene/ngene-core.c 	if (io & (NGENE_IO_TSIN | NGENE_IO_TSOUT)) {
io               1490 drivers/media/pci/ngene/ngene-core.c 	if (dev->ci.en && (io & NGENE_IO_TSOUT)) {
io                184 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		tmp = readl(fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id));
io                186 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(tmp, fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id));
io                216 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 			fei->io + C8SECTPFE_IB_BUFF_STRT(channel->tsin_id));
io                218 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 			fei->io + C8SECTPFE_IB_BUFF_END(channel->tsin_id));
io                221 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 			fei->io + C8SECTPFE_IB_READ_PNT(channel->tsin_id));
io                223 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 			fei->io + C8SECTPFE_IB_WRT_PNT(channel->tsin_id));
io                238 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 			, fei->io + C8SECTPFE_IB_SYS(channel->tsin_id));
io                280 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		tmp = readl(fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id));
io                282 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(tmp, fei->io + C8SECTPFE_IB_PID_SET(channel->tsin_id));
io                300 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(0, fei->io + C8SECTPFE_IB_SYS(channel->tsin_id));
io                309 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(idlereq, fei->io + DMA_IDLE_REQ);
io                381 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	hw->num_ib = readl(fei->io + SYS_CFG_NUM_IB);
io                382 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	hw->num_mib = readl(fei->io + SYS_CFG_NUM_MIB);
io                383 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	hw->num_swts = readl(fei->io + SYS_CFG_NUM_SWTS);
io                384 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	hw->num_tsout = readl(fei->io + SYS_CFG_NUM_TSOUT);
io                385 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	hw->num_ccsc = readl(fei->io + SYS_CFG_NUM_CCSC);
io                386 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	hw->num_ram = readl(fei->io + SYS_CFG_NUM_RAM);
io                387 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	hw->num_tp = readl(fei->io + SYS_CFG_NUM_TP);
io                406 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	unsigned long tmp = readl(fei->io + DMA_IDLE_REQ);
io                420 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(0, fei->io + DMA_IDLE_REQ);
io                551 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	tmp = readl(fei->io + SYS_INPUT_CLKEN);
io                553 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tmp, fei->io + SYS_INPUT_CLKEN);
io                566 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tmp, fei->io + C8SECTPFE_IB_IP_FMT_CFG(tsin->tsin_id));
io                571 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		fei->io + C8SECTPFE_IB_SYNCLCKDRP_CFG(tsin->tsin_id));
io                573 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(TS_PKT_SIZE, fei->io + C8SECTPFE_IB_PKT_LEN(tsin->tsin_id));
io                579 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tsin->fifo, fei->io + C8SECTPFE_IB_BUFF_STRT(tsin->tsin_id));
io                581 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		fei->io + C8SECTPFE_IB_BUFF_END(tsin->tsin_id));
io                583 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tsin->fifo, fei->io + C8SECTPFE_IB_READ_PNT(tsin->tsin_id));
io                584 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tsin->fifo, fei->io + C8SECTPFE_IB_WRT_PNT(tsin->tsin_id));
io                587 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		fei->io + PIDF_BASE(tsin->tsin_id));
io                590 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		tsin->tsin_id, readl(fei->io + PIDF_BASE(tsin->tsin_id)),
io                604 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(tmp, fei->io + C8SECTPFE_IB_PID_SET(tsin->tsin_id));
io                608 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		readl(fei->io + C8SECTPFE_IB_WRT_PNT(tsin->tsin_id)),
io                609 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		readl(fei->io + C8SECTPFE_IB_READ_PNT(tsin->tsin_id)),
io                610 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		readl(fei->io + C8SECTPFE_IB_BUFF_STRT(tsin->tsin_id)),
io                611 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		readl(fei->io + C8SECTPFE_IB_BUFF_END(tsin->tsin_id)));
io                614 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	tsin->irec = fei->io + DMA_MEMDMA_OFFSET + DMA_DMEM_OFFSET +
io                615 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 			readl(fei->io + DMA_PTRREC_BASE);
io                683 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	fei->io = devm_ioremap_resource(dev, res);
io                684 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	if (IS_ERR(fei->io))
io                685 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		return PTR_ERR(fei->io);
io                718 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(0, fei->io + SYS_INPUT_CLKEN);
io                721 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(MEMDMAENABLE, fei->io + SYS_OTHER_CLKEN);
io                908 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	if (readl(fei->io + DMA_CPU_RUN))
io                909 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(0x0,  fei->io + DMA_CPU_RUN);
io                912 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	if (readl(fei->io + SYS_INPUT_CLKEN))
io                913 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(0, fei->io + SYS_INPUT_CLKEN);
io                915 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	if (readl(fei->io + SYS_OTHER_CLKEN))
io                916 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 		writel(0, fei->io + SYS_OTHER_CLKEN);
io               1114 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 			dst = (u8 __iomem *) fei->io + DMA_MEMDMA_IMEM;
io               1122 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 			dst = (u8 __iomem *) fei->io + DMA_MEMDMA_DMEM;
io               1172 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(0x1, fei->io + DMA_PER_STBUS_SYNC);
io               1175 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c 	writel(0x1,  fei->io + DMA_CPU_RUN);
io                 91 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.h 	void __iomem *io;
io                243 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c 	fei->regset->base = fei->io;
io                791 drivers/media/platform/vsp1/vsp1_drv.c 	struct resource *io;
io                806 drivers/media/platform/vsp1/vsp1_drv.c 	io = platform_get_resource(pdev, IORESOURCE_MEM, 0);
io                807 drivers/media/platform/vsp1/vsp1_drv.c 	vsp1->mmio = devm_ioremap_resource(&pdev->dev, io);
io                 54 drivers/media/radio/radio-aimslab.c static int io[RTRACK_MAX] = { [0] = CONFIG_RADIO_RTRACK_PORT,
io                 58 drivers/media/radio/radio-aimslab.c module_param_array(io, int, NULL, 0444);
io                 59 drivers/media/radio/radio-aimslab.c MODULE_PARM_DESC(io, "I/O addresses of the RadioTrack card (0x20f or 0x30f)");
io                102 drivers/media/radio/radio-aimslab.c 	outb_p(bits, rt->isa.io);
io                115 drivers/media/radio/radio-aimslab.c 	return 0xffff * !(inb(isa->io) & 2);
io                124 drivers/media/radio/radio-aimslab.c 		outb(0xd0, isa->io);	/* volume steady + sigstr + off	*/
io                128 drivers/media/radio/radio-aimslab.c 		outb(0x48, isa->io);	/* volume down but still "on"	*/
io                131 drivers/media/radio/radio-aimslab.c 		outb(0x98, isa->io);	/* volume up + sigstr + on	*/
io                135 drivers/media/radio/radio-aimslab.c 		outb(0x58, isa->io);	/* volume down + sigstr + on	*/
io                139 drivers/media/radio/radio-aimslab.c 	outb(0xd8, isa->io);		/* volume steady + sigstr + on	*/
io                148 drivers/media/radio/radio-aimslab.c 	outb(0x90, isa->io);	/* volume up but still "on"	*/
io                150 drivers/media/radio/radio-aimslab.c 	outb(0xc0, isa->io);	/* steady volume, mute card	*/
io                173 drivers/media/radio/radio-aimslab.c 	.io_params = io,
io                 44 drivers/media/radio/radio-aztech.c static int io[AZTECH_MAX] = { [0] = CONFIG_RADIO_AZTECH_PORT,
io                 48 drivers/media/radio/radio-aztech.c module_param_array(io, int, NULL, 0444);
io                 49 drivers/media/radio/radio-aztech.c MODULE_PARM_DESC(io, "I/O addresses of the Aztech card (0x350 or 0x358)");
io                 80 drivers/media/radio/radio-aztech.c 	outb_p(bits, az->isa.io);
io                 99 drivers/media/radio/radio-aztech.c 	if (inb(isa->io) & AZTECH_BIT_MONO)
io                106 drivers/media/radio/radio-aztech.c 	return (inb(isa->io) & AZTECH_BIT_NOT_TUNED) ? 0 : 0xffff;
io                116 drivers/media/radio/radio-aztech.c 	outb(az->curvol, isa->io);
io                139 drivers/media/radio/radio-aztech.c 	.io_params = io,
io                 54 drivers/media/radio/radio-cadet.c static int io = -1;		/* default to isapnp activation */
io                 57 drivers/media/radio/radio-cadet.c module_param(io, int, 0);
io                 58 drivers/media/radio/radio-cadet.c MODULE_PARM_DESC(io, "I/O address of Cadet card (0x330,0x332,0x334,0x336,0x338,0x33a,0x33c,0x33e)");
io                 69 drivers/media/radio/radio-cadet.c 	int io;
io                122 drivers/media/radio/radio-cadet.c 	outb(7, dev->io);          /* Select tuner control */
io                123 drivers/media/radio/radio-cadet.c 	if ((inb(dev->io + 1) & 0x40) == 0)
io                137 drivers/media/radio/radio-cadet.c 	outb(7, dev->io);       /* Select tuner control */
io                138 drivers/media/radio/radio-cadet.c 	curvol = inb(dev->io + 1); /* Save current volume/mute setting */
io                139 drivers/media/radio/radio-cadet.c 	outb(0x00, dev->io + 1);  /* Ensure WRITE-ENABLE is LOW */
io                146 drivers/media/radio/radio-cadet.c 		fifo = (fifo << 1) | ((inb(dev->io + 1) >> 7) & 0x01);
io                148 drivers/media/radio/radio-cadet.c 			outb(0x01, dev->io + 1);
io                149 drivers/media/radio/radio-cadet.c 			dev->tunestat &= inb(dev->io + 1);
io                150 drivers/media/radio/radio-cadet.c 			outb(0x00, dev->io + 1);
io                157 drivers/media/radio/radio-cadet.c 	outb(curvol, dev->io + 1);
io                194 drivers/media/radio/radio-cadet.c 	outb(7, dev->io);                /* Select tuner control */
io                201 drivers/media/radio/radio-cadet.c 	outb(7, dev->io);                /* Select tuner control */
io                202 drivers/media/radio/radio-cadet.c 	outb(test, dev->io + 1);           /* Initialize for write */
io                205 drivers/media/radio/radio-cadet.c 		outb(test, dev->io + 1);
io                207 drivers/media/radio/radio-cadet.c 		outb(test, dev->io + 1);
io                210 drivers/media/radio/radio-cadet.c 		outb(test, dev->io + 1);
io                248 drivers/media/radio/radio-cadet.c 	outb(7, dev->io);                /* Select tuner control */
io                249 drivers/media/radio/radio-cadet.c 	curvol = inb(dev->io + 1);
io                257 drivers/media/radio/radio-cadet.c 		outb(7, dev->io);         /* Select tuner control */
io                258 drivers/media/radio/radio-cadet.c 		outb(curvol, dev->io + 1);
io                270 drivers/media/radio/radio-cadet.c 	outb(3, dev->io);
io                271 drivers/media/radio/radio-cadet.c 	outb(inb(dev->io + 1) & 0x7f, dev->io + 1);
io                291 drivers/media/radio/radio-cadet.c 		outb(0x3, dev->io);       /* Select RDS Decoder Control */
io                292 drivers/media/radio/radio-cadet.c 		if ((inb(dev->io + 1) & 0x20) != 0)
io                294 drivers/media/radio/radio-cadet.c 		outb(0x80, dev->io);      /* Select RDS fifo */
io                296 drivers/media/radio/radio-cadet.c 		while ((inb(dev->io) & 0x80) != 0) {
io                297 drivers/media/radio/radio-cadet.c 			dev->rdsbuf[dev->rdsin] = inb(dev->io + 1);
io                320 drivers/media/radio/radio-cadet.c 	outb(0x80, dev->io);        /* Select RDS fifo */
io                377 drivers/media/radio/radio-cadet.c 		outb(3, dev->io);
io                378 drivers/media/radio/radio-cadet.c 		outb(inb(dev->io + 1) & 0x7f, dev->io + 1);
io                380 drivers/media/radio/radio-cadet.c 		outb(3, dev->io);
io                381 drivers/media/radio/radio-cadet.c 		if (inb(dev->io + 1) & 0x80)
io                442 drivers/media/radio/radio-cadet.c 		outb(7, dev->io);                /* Select tuner control */
io                444 drivers/media/radio/radio-cadet.c 			outb(0x00, dev->io + 1);
io                446 drivers/media/radio/radio-cadet.c 			outb(0x20, dev->io + 1);
io                541 drivers/media/radio/radio-cadet.c 	if (io > 0)
io                547 drivers/media/radio/radio-cadet.c 	io = pnp_port_start(dev, 0);
io                549 drivers/media/radio/radio-cadet.c 	printk(KERN_INFO "radio-cadet: PnP reports device at %#x\n", io);
io                551 drivers/media/radio/radio-cadet.c 	return io;
io                571 drivers/media/radio/radio-cadet.c 		dev->io = iovals[i];
io                572 drivers/media/radio/radio-cadet.c 		if (request_region(dev->io, 2, "cadet-probe")) {
io                575 drivers/media/radio/radio-cadet.c 				release_region(dev->io, 2);
io                578 drivers/media/radio/radio-cadet.c 			release_region(dev->io, 2);
io                581 drivers/media/radio/radio-cadet.c 	dev->io = -1;
io                600 drivers/media/radio/radio-cadet.c 	if (io < 0)
io                602 drivers/media/radio/radio-cadet.c 	dev->io = io;
io                605 drivers/media/radio/radio-cadet.c 	if (dev->io < 0)
io                609 drivers/media/radio/radio-cadet.c 	if (dev->io < 0) {
io                616 drivers/media/radio/radio-cadet.c 	if (!request_region(dev->io, 2, "cadet"))
io                621 drivers/media/radio/radio-cadet.c 		release_region(dev->io, 2);
io                653 drivers/media/radio/radio-cadet.c 	v4l2_info(v4l2_dev, "ADS Cadet Radio Card at 0x%x\n", dev->io);
io                658 drivers/media/radio/radio-cadet.c 	release_region(dev->io, 2);
io                671 drivers/media/radio/radio-cadet.c 	outb(7, dev->io);	/* Mute */
io                672 drivers/media/radio/radio-cadet.c 	outb(0x00, dev->io + 1);
io                673 drivers/media/radio/radio-cadet.c 	release_region(dev->io, 2);
io                 63 drivers/media/radio/radio-gemtek.c static int io[GEMTEK_MAX] = { [0] = CONFIG_RADIO_GEMTEK_PORT,
io                 73 drivers/media/radio/radio-gemtek.c module_param_array(io, int, NULL, 0444);
io                 74 drivers/media/radio/radio-gemtek.c MODULE_PARM_DESC(io, "Force I/O ports for the GemTek Radio card if automatic probing is disabled or fails. The most common I/O ports are: 0x20c 0x30c, 0x24c or 0x34c (0x20c, 0x248 and 0x28c have been reported to work for the combined sound/radiocard).");
io                157 drivers/media/radio/radio-gemtek.c 	outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io);
io                162 drivers/media/radio/radio-gemtek.c 		outb_p(mute | GEMTEK_CE | bit, isa->io);
io                164 drivers/media/radio/radio-gemtek.c 		outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io);
io                168 drivers/media/radio/radio-gemtek.c 	outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io);
io                238 drivers/media/radio/radio-gemtek.c 	i = inb_p(isa->io);
io                240 drivers/media/radio/radio-gemtek.c 	outb_p((i >> 5) | (mute ? GEMTEK_MT : 0), isa->io);
io                247 drivers/media/radio/radio-gemtek.c 	if (inb_p(isa->io) & GEMTEK_NS)
io                255 drivers/media/radio/radio-gemtek.c static bool gemtek_probe(struct radio_isa_card *isa, int io)
io                259 drivers/media/radio/radio-gemtek.c 	q = inb_p(io);	/* Read bus contents before probing. */
io                263 drivers/media/radio/radio-gemtek.c 		outb_p(1 << i, io);
io                266 drivers/media/radio/radio-gemtek.c 		if ((inb_p(io) & ~GEMTEK_NS) != (0x17 | (1 << (i + 5))))
io                269 drivers/media/radio/radio-gemtek.c 	outb_p(q >> 5, io);	/* Write bus contents back. */
io                311 drivers/media/radio/radio-gemtek.c 	.io_params = io,
io                133 drivers/media/radio/radio-isa.c 	v4l2_info(&isa->v4l2_dev, "I/O Port = 0x%03x\n", isa->io);
io                169 drivers/media/radio/radio-isa.c static bool radio_isa_valid_io(const struct radio_isa_driver *drv, int io)
io                174 drivers/media/radio/radio-isa.c 		if (drv->io_ports[i] == io)
io                204 drivers/media/radio/radio-isa.c 	if (!request_region(isa->io, region_size, v4l2_dev->name)) {
io                205 drivers/media/radio/radio-isa.c 		v4l2_err(v4l2_dev, "port 0x%x already in use\n", isa->io);
io                265 drivers/media/radio/radio-isa.c 			drv->card, isa->io);
io                271 drivers/media/radio/radio-isa.c 	release_region(isa->io, region_size);
io                285 drivers/media/radio/radio-isa.c 	release_region(isa->io, region_size);
io                301 drivers/media/radio/radio-isa.c 	isa->io = drv->io_params[dev];
io                308 drivers/media/radio/radio-isa.c 			int io = drv->io_ports[i];
io                310 drivers/media/radio/radio-isa.c 			if (request_region(io, drv->region_size, v4l2_dev->name)) {
io                311 drivers/media/radio/radio-isa.c 				bool found = ops->probe(isa, io);
io                313 drivers/media/radio/radio-isa.c 				release_region(io, drv->region_size);
io                315 drivers/media/radio/radio-isa.c 					isa->io = io;
io                322 drivers/media/radio/radio-isa.c 	if (!radio_isa_valid_io(drv, isa->io)) {
io                325 drivers/media/radio/radio-isa.c 		if (isa->io < 0)
io                364 drivers/media/radio/radio-isa.c 	isa->io = pnp_port_start(dev, 0);
io                 35 drivers/media/radio/radio-isa.h 	int io;
io                 47 drivers/media/radio/radio-isa.h 	bool (*probe)(struct radio_isa_card *isa, int io);
io                 76 drivers/media/radio/radio-maxiradio.c 	u16	io;	/* base of radio io */
io                 94 drivers/media/radio/radio-maxiradio.c 	outb(bits, dev->io);
io                102 drivers/media/radio/radio-maxiradio.c 	u8 bits = inb(dev->io);
io                161 drivers/media/radio/radio-maxiradio.c 	dev->io = pci_resource_start(pdev, 0);
io                184 drivers/media/radio/radio-maxiradio.c 	outb(0, dev->io);
io                 39 drivers/media/radio/radio-rtrack2.c static int io[RTRACK2_MAX] = { [0] = CONFIG_RADIO_RTRACK2_PORT,
io                 43 drivers/media/radio/radio-rtrack2.c module_param_array(io, int, NULL, 0444);
io                 44 drivers/media/radio/radio-rtrack2.c MODULE_PARM_DESC(io, "I/O addresses of the RadioTrack card (0x20f or 0x30f)");
io                 55 drivers/media/radio/radio-rtrack2.c 	outb_p(1, isa->io);
io                 56 drivers/media/radio/radio-rtrack2.c 	outb_p(3, isa->io);
io                 57 drivers/media/radio/radio-rtrack2.c 	outb_p(1, isa->io);
io                 62 drivers/media/radio/radio-rtrack2.c 	outb_p(5, isa->io);
io                 63 drivers/media/radio/radio-rtrack2.c 	outb_p(7, isa->io);
io                 64 drivers/media/radio/radio-rtrack2.c 	outb_p(5, isa->io);
io                 73 drivers/media/radio/radio-rtrack2.c 	outb_p(0xc8, isa->io);
io                 74 drivers/media/radio/radio-rtrack2.c 	outb_p(0xc9, isa->io);
io                 75 drivers/media/radio/radio-rtrack2.c 	outb_p(0xc9, isa->io);
io                 86 drivers/media/radio/radio-rtrack2.c 	outb_p(0xc8, isa->io);
io                 87 drivers/media/radio/radio-rtrack2.c 	outb_p(v4l2_ctrl_g_ctrl(isa->mute), isa->io);
io                 94 drivers/media/radio/radio-rtrack2.c 	return (inb(isa->io) & 2) ? 0 : 0xffff;
io                 99 drivers/media/radio/radio-rtrack2.c 	outb(mute, isa->io);
io                121 drivers/media/radio/radio-rtrack2.c 	.io_params = io,
io                 40 drivers/media/radio/radio-sf16fmi.c static int io = -1;
io                 43 drivers/media/radio/radio-sf16fmi.c module_param(io, int, 0);
io                 44 drivers/media/radio/radio-sf16fmi.c MODULE_PARM_DESC(io, "I/O address of the SF16-FMI/SF16-FMP/SF16-FMD card (0x284 or 0x384)");
io                 52 drivers/media/radio/radio-sf16fmi.c 	int io;
io                 87 drivers/media/radio/radio-sf16fmi.c 	outb_p(bits, fmi->io);
io                 94 drivers/media/radio/radio-sf16fmi.c 	outb(0x00, fmi->io);
io                101 drivers/media/radio/radio-sf16fmi.c 	outb(0x08, fmi->io);
io                112 drivers/media/radio/radio-sf16fmi.c 	outb(val, fmi->io);
io                113 drivers/media/radio/radio-sf16fmi.c 	outb(val | 0x10, fmi->io);
io                115 drivers/media/radio/radio-sf16fmi.c 	res = (int)inb(fmi->io + 1);
io                116 drivers/media/radio/radio-sf16fmi.c 	outb(val, fmi->io);
io                280 drivers/media/radio/radio-sf16fmi.c 	if (io < 0) {
io                282 drivers/media/radio/radio-sf16fmi.c 			io = probe_ports[i];
io                283 drivers/media/radio/radio-sf16fmi.c 			if (io == 0) {
io                284 drivers/media/radio/radio-sf16fmi.c 				io = isapnp_fmi_probe();
io                285 drivers/media/radio/radio-sf16fmi.c 				if (io < 0)
io                289 drivers/media/radio/radio-sf16fmi.c 			if (!request_region(io, 2, "radio-sf16fmi")) {
io                292 drivers/media/radio/radio-sf16fmi.c 				io = -1;
io                296 drivers/media/radio/radio-sf16fmi.c 			    ((inb(io) & 0xf9) == 0xf9 && (inb(io) & 0x4) == 0))
io                298 drivers/media/radio/radio-sf16fmi.c 			release_region(io, 2);
io                299 drivers/media/radio/radio-sf16fmi.c 			io = -1;
io                302 drivers/media/radio/radio-sf16fmi.c 		if (!request_region(io, 2, "radio-sf16fmi")) {
io                303 drivers/media/radio/radio-sf16fmi.c 			printk(KERN_ERR "radio-sf16fmi: port %#x already in use\n", io);
io                306 drivers/media/radio/radio-sf16fmi.c 		if (inb(io) == 0xff) {
io                307 drivers/media/radio/radio-sf16fmi.c 			printk(KERN_ERR "radio-sf16fmi: card not present at %#x\n", io);
io                308 drivers/media/radio/radio-sf16fmi.c 			release_region(io, 2);
io                312 drivers/media/radio/radio-sf16fmi.c 	if (io < 0) {
io                318 drivers/media/radio/radio-sf16fmi.c 	fmi->io = io;
io                322 drivers/media/radio/radio-sf16fmi.c 		release_region(fmi->io, 2);
io                359 drivers/media/radio/radio-sf16fmi.c 		release_region(fmi->io, 2);
io                365 drivers/media/radio/radio-sf16fmi.c 	v4l2_info(v4l2_dev, "card driver at 0x%x\n", fmi->io);
io                376 drivers/media/radio/radio-sf16fmi.c 	release_region(fmi->io, 2);
io                 32 drivers/media/radio/radio-sf16fmr2.c 	int io;
io                 70 drivers/media/radio/radio-sf16fmr2.c 	outb(bits, fmr2->io);
io                 76 drivers/media/radio/radio-sf16fmr2.c 	u8 bits = inb(fmr2->io);
io                121 drivers/media/radio/radio-sf16fmr2.c 	outb(pins, fmr2->io);
io                189 drivers/media/radio/radio-sf16fmr2.c 	if (!fmr2->is_fmd2 && inb(fmr2->io) & FMR2_HASVOL) {
io                207 drivers/media/radio/radio-sf16fmr2.c static int fmr2_probe(struct fmr2 *fmr2, struct device *pdev, int io)
io                214 drivers/media/radio/radio-sf16fmr2.c 		if (io == fmr2_cards[i]->io)
io                219 drivers/media/radio/radio-sf16fmr2.c 	fmr2->io = io;
io                221 drivers/media/radio/radio-sf16fmr2.c 	if (!request_region(fmr2->io, 2, fmr2->v4l2_dev.name)) {
io                222 drivers/media/radio/radio-sf16fmr2.c 		printk(KERN_ERR "radio-sf16fmr2: I/O port 0x%x already in use\n", fmr2->io);
io                230 drivers/media/radio/radio-sf16fmr2.c 		release_region(fmr2->io, 2);
io                244 drivers/media/radio/radio-sf16fmr2.c 		release_region(fmr2->io, 2);
io                249 drivers/media/radio/radio-sf16fmr2.c 			card_name, fmr2->io);
io                291 drivers/media/radio/radio-sf16fmr2.c 	release_region(fmr2->io, 2);
io                 43 drivers/media/radio/radio-terratec.c static int io = 0x590;
io                 71 drivers/media/radio/radio-terratec.c 			outb(0x80, isa->io + 1);
io                 73 drivers/media/radio/radio-terratec.c 			outb(0x00, isa->io + 1);
io                112 drivers/media/radio/radio-terratec.c 			outb(WRT_EN | DATA, isa->io);
io                113 drivers/media/radio/radio-terratec.c 			outb(WRT_EN | DATA | CLK_ON, isa->io);
io                114 drivers/media/radio/radio-terratec.c 			outb(WRT_EN | DATA, isa->io);
io                116 drivers/media/radio/radio-terratec.c 			outb(WRT_EN | 0x00, isa->io);
io                117 drivers/media/radio/radio-terratec.c 			outb(WRT_EN | 0x00 | CLK_ON, isa->io);
io                120 drivers/media/radio/radio-terratec.c 	outb(0x00, isa->io);
io                127 drivers/media/radio/radio-terratec.c 	return (inb(isa->io) & 2) ? 0 : 0xffff;
io                148 drivers/media/radio/radio-terratec.c 	.io_params = &io,
io                 42 drivers/media/radio/radio-trust.c static int io[TRUST_MAX] = { [0] = CONFIG_RADIO_TRUST_PORT,
io                 46 drivers/media/radio/radio-trust.c module_param_array(io, int, NULL, 0444);
io                 47 drivers/media/radio/radio-trust.c MODULE_PARM_DESC(io, "I/O addresses of the Trust FM Radio card (0x350 or 0x358)");
io                 67 drivers/media/radio/radio-trust.c #define TR_DELAY do { inb(tr->isa.io); inb(tr->isa.io); inb(tr->isa.io); } while (0)
io                 68 drivers/media/radio/radio-trust.c #define TR_SET_SCL outb(tr->ioval |= 2, tr->isa.io)
io                 69 drivers/media/radio/radio-trust.c #define TR_CLR_SCL outb(tr->ioval &= 0xfd, tr->isa.io)
io                 70 drivers/media/radio/radio-trust.c #define TR_SET_SDA outb(tr->ioval |= 1, tr->isa.io)
io                 71 drivers/media/radio/radio-trust.c #define TR_CLR_SDA outb(tr->ioval &= 0xfe, tr->isa.io)
io                124 drivers/media/radio/radio-trust.c 	outb(tr->ioval, isa->io);
io                134 drivers/media/radio/radio-trust.c 	outb(tr->ioval, isa->io);
io                143 drivers/media/radio/radio-trust.c 		v |= inb(isa->io);
io                221 drivers/media/radio/radio-trust.c 	.io_params = io,
io                 59 drivers/media/radio/radio-typhoon.c static int io[TYPHOON_MAX] = { [0] = CONFIG_RADIO_TYPHOON_PORT,
io                 64 drivers/media/radio/radio-typhoon.c module_param_array(io, int, NULL, 0444);
io                 65 drivers/media/radio/radio-typhoon.c MODULE_PARM_DESC(io, "I/O addresses of the Typhoon card (0x316 or 0x336)");
io                105 drivers/media/radio/radio-typhoon.c 	outb_p((outval >> 8) & 0x01, isa->io + 4);
io                106 drivers/media/radio/radio-typhoon.c 	outb_p(outval >> 9, isa->io + 6);
io                107 drivers/media/radio/radio-typhoon.c 	outb_p(outval & 0xff, isa->io + 8);
io                119 drivers/media/radio/radio-typhoon.c 	outb_p(vol / 2, isa->io);	/* Set the volume, high bit. */
io                120 drivers/media/radio/radio-typhoon.c 	outb_p(vol % 2, isa->io + 2);	/* Set the volume, low bit. */
io                150 drivers/media/radio/radio-typhoon.c 	.io_params = io,
io                 65 drivers/media/radio/radio-zoltrix.c static int io[ZOLTRIX_MAX] = { [0] = CONFIG_RADIO_ZOLTRIX_PORT,
io                 69 drivers/media/radio/radio-zoltrix.c module_param_array(io, int, NULL, 0444);
io                 70 drivers/media/radio/radio-zoltrix.c MODULE_PARM_DESC(io, "I/O addresses of the Zoltrix Radio Plus card (0x20c or 0x30c)");
io                 94 drivers/media/radio/radio-zoltrix.c 		outb(0, isa->io);
io                 95 drivers/media/radio/radio-zoltrix.c 		outb(0, isa->io);
io                 96 drivers/media/radio/radio-zoltrix.c 		inb(isa->io + 3);            /* Zoltrix needs to be read to confirm */
io                100 drivers/media/radio/radio-zoltrix.c 	outb(vol - 1, isa->io);
io                102 drivers/media/radio/radio-zoltrix.c 	inb(isa->io + 2);
io                126 drivers/media/radio/radio-zoltrix.c 	outb(0, isa->io);
io                127 drivers/media/radio/radio-zoltrix.c 	outb(0, isa->io);
io                128 drivers/media/radio/radio-zoltrix.c 	inb(isa->io + 3);            /* Zoltrix needs to be read to confirm */
io                130 drivers/media/radio/radio-zoltrix.c 	outb(0x40, isa->io);
io                131 drivers/media/radio/radio-zoltrix.c 	outb(0xc0, isa->io);
io                136 drivers/media/radio/radio-zoltrix.c 			outb(0x80, isa->io);
io                138 drivers/media/radio/radio-zoltrix.c 			outb(0x00, isa->io);
io                140 drivers/media/radio/radio-zoltrix.c 			outb(0x80, isa->io);
io                143 drivers/media/radio/radio-zoltrix.c 			outb(0xc0, isa->io);
io                145 drivers/media/radio/radio-zoltrix.c 			outb(0x40, isa->io);
io                147 drivers/media/radio/radio-zoltrix.c 			outb(0xc0, isa->io);
io                153 drivers/media/radio/radio-zoltrix.c 	outb(0x80, isa->io);
io                154 drivers/media/radio/radio-zoltrix.c 	outb(0xc0, isa->io);
io                155 drivers/media/radio/radio-zoltrix.c 	outb(0x40, isa->io);
io                157 drivers/media/radio/radio-zoltrix.c 	inb(isa->io + 2);
io                169 drivers/media/radio/radio-zoltrix.c 	outb(0x00, isa->io);         /* This stuff I found to do nothing */
io                170 drivers/media/radio/radio-zoltrix.c 	outb(zol->curvol, isa->io);
io                173 drivers/media/radio/radio-zoltrix.c 	a = inb(isa->io);
io                175 drivers/media/radio/radio-zoltrix.c 	b = inb(isa->io);
io                186 drivers/media/radio/radio-zoltrix.c 	outb(0x00, isa->io);         /* This stuff I found to do nothing */
io                187 drivers/media/radio/radio-zoltrix.c 	outb(zol->curvol, isa->io);
io                190 drivers/media/radio/radio-zoltrix.c 	a = inb(isa->io);
io                192 drivers/media/radio/radio-zoltrix.c 	b = inb(isa->io);
io                226 drivers/media/radio/radio-zoltrix.c 	.io_params = io,
io                 49 drivers/media/rc/serial_ir.c static int io;
io                147 drivers/media/rc/serial_ir.c 	return inb(io + offset);
io                157 drivers/media/rc/serial_ir.c 	outb(value, io + offset);
io                552 drivers/media/rc/serial_ir.c 	     (!iommap && (devm_request_region(&dev->dev, io, 8,
io                554 drivers/media/rc/serial_ir.c 		dev_err(&dev->dev, "port %04x already in use\n", io);
io                595 drivers/media/rc/serial_ir.c 	dev_dbg(&dev->dev, "Interrupt %d, port %04x obtained\n", irq, io);
io                775 drivers/media/rc/serial_ir.c 		io = io ? io : 0x3f8;
io                814 drivers/media/rc/serial_ir.c module_param_hw(io, int, ioport, 0444);
io                815 drivers/media/rc/serial_ir.c MODULE_PARM_DESC(io, "I/O address base (0x3f8 or 0x2f8)");
io                 31 drivers/media/rc/sir_ir.c static int io = 0x3e8;
io                 62 drivers/media/rc/sir_ir.c 	return inb(io + offset);
io                 67 drivers/media/rc/sir_ir.c 	outb(value, io + offset);
io                135 drivers/media/rc/sir_ir.c 		outb(UART_FCR_CLEAR_RCVR, io + UART_FCR);
io                160 drivers/media/rc/sir_ir.c 	while ((iir = inb(io + UART_IIR) & UART_IIR_ID)) {
io                168 drivers/media/rc/sir_ir.c 			(void)inb(io + UART_MSR);
io                172 drivers/media/rc/sir_ir.c 			(void)inb(io + UART_LSR);
io                179 drivers/media/rc/sir_ir.c 				data = inb(io + UART_RX);
io                230 drivers/media/rc/sir_ir.c 				lsr = inb(io + UART_LSR);
io                255 drivers/media/rc/sir_ir.c 		outb(PULSE, io + UART_TX);
io                257 drivers/media/rc/sir_ir.c 		while (!(inb(io + UART_LSR) & UART_LSR_THRE))
io                293 drivers/media/rc/sir_ir.c 	outb(0, io + UART_MCR);
io                294 drivers/media/rc/sir_ir.c 	outb(0, io + UART_IER);
io                297 drivers/media/rc/sir_ir.c 	outb(UART_LCR_DLAB | UART_LCR_WLEN7, io + UART_LCR);
io                298 drivers/media/rc/sir_ir.c 	outb(1, io + UART_DLL); outb(0, io + UART_DLM);
io                300 drivers/media/rc/sir_ir.c 	outb(UART_LCR_WLEN7, io + UART_LCR);
io                302 drivers/media/rc/sir_ir.c 	outb(UART_FCR_ENABLE_FIFO, io + UART_FCR);
io                305 drivers/media/rc/sir_ir.c 	outb(UART_IER_RDI, io + UART_IER);
io                307 drivers/media/rc/sir_ir.c 	outb(UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2, io + UART_MCR);
io                320 drivers/media/rc/sir_ir.c 	outb(0, io + UART_IER);
io                350 drivers/media/rc/sir_ir.c 	if (!devm_request_region(&sir_ir_dev->dev, io, 8, KBUILD_MODNAME)) {
io                351 drivers/media/rc/sir_ir.c 		pr_err("i/o port 0x%.4x already in use.\n", io);
io                367 drivers/media/rc/sir_ir.c 	pr_info("I/O port 0x%.4x, IRQ %d.\n", io, irq);
io                431 drivers/media/rc/sir_ir.c module_param_hw(io, int, ioport, 0444);
io                432 drivers/media/rc/sir_ir.c MODULE_PARM_DESC(io, "I/O address base (0x3f8 or 0x2f8)");
io               1605 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_bypass = 1,
io               1606 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_range = 1,
io               1607 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_prediv = 1,
io               1608 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_loopdiv = 20,
io               1609 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.adc_clock_ratio = 8,
io               1610 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_int_loop_filt = 0,
io               1611 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.clock_khz = 12000,
io               2002 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.clock_khz			= 12000,
io               2003 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_bypass			= 0,
io               2004 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_range			= 0,
io               2005 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_prediv			= 3,
io               2006 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_loopdiv			= 6,
io               2007 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.adc_clock_ratio		= 0,
io               2008 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_int_loop_filt	= 0,
io               2334 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_bypass = 0,
io               2335 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_range = 1,
io               2336 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_prediv = 1,
io               2337 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_loopdiv = 8,
io               2338 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.adc_clock_ratio = 8,
io               2339 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_int_loop_filt = 0,
io               2340 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.clock_khz = 30000,
io               2353 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_bypass = 0,
io               2354 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_range = 1,
io               2355 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_prediv = 1,
io               2356 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_loopdiv = 8,
io               2357 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.adc_clock_ratio = 8,
io               2358 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_int_loop_filt = 0,
io               2359 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.clock_khz = 30000,
io               2369 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_bypass = 0,
io               2370 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_range = 1,
io               2371 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_prediv = 1,
io               2372 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_loopdiv = 8,
io               2373 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.adc_clock_ratio = 8,
io               2374 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_int_loop_filt = 0,
io               2375 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.clock_khz = 30000,
io               2898 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.clock_khz = 12000,
io               2899 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_bypass = 0,
io               2900 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_range = 0,
io               2901 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_prediv = 3,
io               2902 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_loopdiv = 6,
io               2903 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.adc_clock_ratio = 0,
io               2904 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_int_loop_filt = 0,
io               2956 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.clock_khz = 12000,
io               2957 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_bypass = 0,
io               2958 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_range = 0,
io               2959 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_prediv = 3,
io               2960 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_loopdiv = 6,
io               2961 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.adc_clock_ratio = 0,
io               2962 drivers/media/usb/dvb-usb/dib0700_devices.c 	.io.pll_int_loop_filt = 0,
io               2990 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.clock_khz = 12000,
io               2991 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_bypass = 0,
io               2992 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_range = 0,
io               2993 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_prediv = 3,
io               2994 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_loopdiv = 6,
io               2995 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.adc_clock_ratio = 0,
io               2996 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_int_loop_filt = 0,
io               3018 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.clock_khz = 12000,
io               3019 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_bypass = 0,
io               3020 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_range = 0,
io               3021 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_prediv = 3,
io               3022 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_loopdiv = 6,
io               3023 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.adc_clock_ratio = 0,
io               3024 drivers/media/usb/dvb-usb/dib0700_devices.c 		.io.pll_int_loop_filt = 0,
io               2776 drivers/message/fusion/mptscsih.c mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *io)
io               2784 drivers/message/fusion/mptscsih.c 	u8		 cmd = io->cmd;
io               2809 drivers/message/fusion/mptscsih.c 		CDB[4] = io->size;
io               2830 drivers/message/fusion/mptscsih.c 		CDB[4] = io->size;
io               2839 drivers/message/fusion/mptscsih.c 		if (io->flags & MPT_ICFLAG_ECHO) {
io               2845 drivers/message/fusion/mptscsih.c 		if (io->flags & MPT_ICFLAG_BUF_CAP) {
io               2848 drivers/message/fusion/mptscsih.c 		CDB[6] = (io->size >> 16) & 0xFF;
io               2849 drivers/message/fusion/mptscsih.c 		CDB[7] = (io->size >>  8) & 0xFF;
io               2850 drivers/message/fusion/mptscsih.c 		CDB[8] = io->size & 0xFF;
io               2858 drivers/message/fusion/mptscsih.c 		if (io->flags & MPT_ICFLAG_ECHO) {
io               2863 drivers/message/fusion/mptscsih.c 		CDB[6] = (io->size >> 16) & 0xFF;
io               2864 drivers/message/fusion/mptscsih.c 		CDB[7] = (io->size >>  8) & 0xFF;
io               2865 drivers/message/fusion/mptscsih.c 		CDB[8] = io->size & 0xFF;
io               2913 drivers/message/fusion/mptscsih.c 	if (io->flags & MPT_ICFLAG_PHYS_DISK) {
io               2914 drivers/message/fusion/mptscsih.c 		pScsiReq->TargetID = io->physDiskNum;
io               2919 drivers/message/fusion/mptscsih.c 		pScsiReq->TargetID = io->id;
io               2920 drivers/message/fusion/mptscsih.c 		pScsiReq->Bus = io->channel;
io               2933 drivers/message/fusion/mptscsih.c 	int_to_scsilun(io->lun, (struct scsi_lun *)pScsiReq->LUN);
io               2935 drivers/message/fusion/mptscsih.c 	if (io->flags & MPT_ICFLAG_TAGGED_CMD)
io               2949 drivers/message/fusion/mptscsih.c 	pScsiReq->DataLength = cpu_to_le32(io->size);
io               2955 drivers/message/fusion/mptscsih.c 	    ioc->name, __func__, cmd, io->channel, io->id, io->lun));
io               2959 drivers/message/fusion/mptscsih.c 		    MPT_SGE_FLAGS_SSIMPLE_READ | io->size, io->data_dma);
io               2962 drivers/message/fusion/mptscsih.c 		    MPT_SGE_FLAGS_SSIMPLE_WRITE | io->size, io->data_dma);
io               1048 drivers/misc/genwqe/card_dev.c 	struct genwqe_reg_io __user *io;
io               1067 drivers/misc/genwqe/card_dev.c 		io = (struct genwqe_reg_io __user *)arg;
io               1069 drivers/misc/genwqe/card_dev.c 		if (get_user(reg_offs, &io->num))
io               1076 drivers/misc/genwqe/card_dev.c 		put_user(val, &io->val64);
io               1081 drivers/misc/genwqe/card_dev.c 		io = (struct genwqe_reg_io __user *)arg;
io               1089 drivers/misc/genwqe/card_dev.c 		if (get_user(reg_offs, &io->num))
io               1095 drivers/misc/genwqe/card_dev.c 		if (get_user(val, &io->val64))
io               1103 drivers/misc/genwqe/card_dev.c 		io = (struct genwqe_reg_io __user *)arg;
io               1105 drivers/misc/genwqe/card_dev.c 		if (get_user(reg_offs, &io->num))
io               1112 drivers/misc/genwqe/card_dev.c 		put_user(val, &io->val64);
io               1117 drivers/misc/genwqe/card_dev.c 		io = (struct genwqe_reg_io __user *)arg;
io               1125 drivers/misc/genwqe/card_dev.c 		if (get_user(reg_offs, &io->num))
io               1131 drivers/misc/genwqe/card_dev.c 		if (get_user(val, &io->val64))
io               1770 drivers/mmc/host/wbsd.c 	int io, irq, dma;
io               1775 drivers/mmc/host/wbsd.c 	io = pnp_port_start(pnpdev, 0);
io               1782 drivers/mmc/host/wbsd.c 	DBGF("PnP resources: port %3x irq %d dma %d\n", io, irq, dma);
io               1784 drivers/mmc/host/wbsd.c 	return wbsd_init(&pnpdev->dev, io, irq, dma, 1);
io               1989 drivers/mmc/host/wbsd.c module_param_hw_named(io, param_io, uint, ioport, 0444);
io               2000 drivers/mmc/host/wbsd.c MODULE_PARM_DESC(io, "I/O base to allocate. Must be 8 byte aligned. (default 0x248)");
io                155 drivers/mtd/nand/raw/atmel/nand-controller.c 	} io;
io                259 drivers/mtd/nand/raw/atmel/nand-controller.c 	struct regmap *io;
io                421 drivers/mtd/nand/raw/atmel/nand-controller.c 	return ioread8(nand->activecs->io.virt);
io                429 drivers/mtd/nand/raw/atmel/nand-controller.c 		iowrite16(byte | (byte << 8), nand->activecs->io.virt);
io                431 drivers/mtd/nand/raw/atmel/nand-controller.c 		iowrite8(byte, nand->activecs->io.virt);
io                448 drivers/mtd/nand/raw/atmel/nand-controller.c 	    !atmel_nand_dma_transfer(nc, buf, nand->activecs->io.dma, len,
io                453 drivers/mtd/nand/raw/atmel/nand-controller.c 		ioread16_rep(nand->activecs->io.virt, buf, len / 2);
io                455 drivers/mtd/nand/raw/atmel/nand-controller.c 		ioread8_rep(nand->activecs->io.virt, buf, len);
io                472 drivers/mtd/nand/raw/atmel/nand-controller.c 	    !atmel_nand_dma_transfer(nc, (void *)buf, nand->activecs->io.dma,
io                477 drivers/mtd/nand/raw/atmel/nand-controller.c 		iowrite16_rep(nand->activecs->io.virt, buf, len / 2);
io                479 drivers/mtd/nand/raw/atmel/nand-controller.c 		iowrite8_rep(nand->activecs->io.virt, buf, len);
io                585 drivers/mtd/nand/raw/atmel/nand-controller.c 	regmap_write(nc->io, op, addr);
io                641 drivers/mtd/nand/raw/atmel/nand-controller.c 		writeb(cmd, nand->activecs->io.virt + nc->caps->ale_offs);
io                643 drivers/mtd/nand/raw/atmel/nand-controller.c 		writeb(cmd, nand->activecs->io.virt + nc->caps->cle_offs);
io               1615 drivers/mtd/nand/raw/atmel/nand-controller.c 		nand->cs[i].io.dma = res.start;
io               1616 drivers/mtd/nand/raw/atmel/nand-controller.c 		nand->cs[i].io.virt = devm_ioremap_resource(nc->dev, &res);
io               1617 drivers/mtd/nand/raw/atmel/nand-controller.c 		if (IS_ERR(nand->cs[i].io.virt))
io               1618 drivers/mtd/nand/raw/atmel/nand-controller.c 			return ERR_CAST(nand->cs[i].io.virt);
io               1733 drivers/mtd/nand/raw/atmel/nand-controller.c 	nand->cs[0].io.virt = devm_ioremap_resource(dev, res);
io               1734 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (IS_ERR(nand->cs[0].io.virt))
io               1735 drivers/mtd/nand/raw/atmel/nand-controller.c 		return PTR_ERR(nand->cs[0].io.virt);
io               1737 drivers/mtd/nand/raw/atmel/nand-controller.c 	nand->cs[0].io.dma = res->start;
io               2130 drivers/mtd/nand/raw/atmel/nand-controller.c 	nc->io = devm_regmap_init_mmio(dev, iomem, &regmap_conf);
io               2131 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (IS_ERR(nc->io)) {
io               2132 drivers/mtd/nand/raw/atmel/nand-controller.c 		ret = PTR_ERR(nc->io);
io               2213 drivers/mtd/nand/raw/atmel/nand-controller.c 	nc->io = syscon_node_to_regmap(np);
io               2215 drivers/mtd/nand/raw/atmel/nand-controller.c 	if (IS_ERR(nc->io)) {
io               2216 drivers/mtd/nand/raw/atmel/nand-controller.c 		ret = PTR_ERR(nc->io);
io                 25 drivers/mtd/nand/raw/sharpsl.c 	void __iomem		*io;
io                 70 drivers/mtd/nand/raw/sharpsl.c 		writeb((readb(sharpsl->io + FLASHCTL) & ~0x17) | bits, sharpsl->io + FLASHCTL);
io                 80 drivers/mtd/nand/raw/sharpsl.c 	return !((readb(sharpsl->io + FLASHCTL) & FLRYBY) == 0);
io                 86 drivers/mtd/nand/raw/sharpsl.c 	writeb(0, sharpsl->io + ECCCLRR);
io                 93 drivers/mtd/nand/raw/sharpsl.c 	ecc_code[0] = ~readb(sharpsl->io + ECCLPUB);
io                 94 drivers/mtd/nand/raw/sharpsl.c 	ecc_code[1] = ~readb(sharpsl->io + ECCLPLB);
io                 95 drivers/mtd/nand/raw/sharpsl.c 	ecc_code[2] = (~readb(sharpsl->io + ECCCP) << 2) | 0x03;
io                 96 drivers/mtd/nand/raw/sharpsl.c 	return readb(sharpsl->io + ECCCNTR) != 0;
io                129 drivers/mtd/nand/raw/sharpsl.c 	sharpsl->io = ioremap(r->start, resource_size(r));
io                130 drivers/mtd/nand/raw/sharpsl.c 	if (!sharpsl->io) {
io                149 drivers/mtd/nand/raw/sharpsl.c 	writeb(readb(sharpsl->io + FLASHCTL) | FLWP, sharpsl->io + FLASHCTL);
io                152 drivers/mtd/nand/raw/sharpsl.c 	this->legacy.IO_ADDR_R = sharpsl->io + FLASHIO;
io                153 drivers/mtd/nand/raw/sharpsl.c 	this->legacy.IO_ADDR_W = sharpsl->io + FLASHIO;
io                189 drivers/mtd/nand/raw/sharpsl.c 	iounmap(sharpsl->io);
io                206 drivers/mtd/nand/raw/sharpsl.c 	iounmap(sharpsl->io);
io                 93 drivers/net/appletalk/cops.c static int io = 0x240;		/* Default IO for Dayna */
io                230 drivers/net/appletalk/cops.c 		base_addr = dev->base_addr = io;
io                982 drivers/net/appletalk/cops.c module_param_hw(io, int, ioport, 0);
io                988 drivers/net/appletalk/cops.c 	if (io == 0)
io                205 drivers/net/appletalk/ltpc.c static int io;
io                977 drivers/net/appletalk/ltpc.c 	inb_p(io+1);
io                978 drivers/net/appletalk/ltpc.c 	inb_p(io+0);
io                981 drivers/net/appletalk/ltpc.c 		if ( 0xfa == inb_p(io+6) ) break;
io                984 drivers/net/appletalk/ltpc.c 	inb_p(io+3);
io                985 drivers/net/appletalk/ltpc.c 	inb_p(io+2);
io                987 drivers/net/appletalk/ltpc.c 		if ( 0xfb == inb_p(io+6) ) break;
io               1029 drivers/net/appletalk/ltpc.c 	if (io != 0x240 && request_region(0x220,8,"ltpc")) {
io               1032 drivers/net/appletalk/ltpc.c 			io = 0x220;
io               1037 drivers/net/appletalk/ltpc.c 	if (io != 0x220 && request_region(0x240,8,"ltpc")) {
io               1040 drivers/net/appletalk/ltpc.c 			io = 0x240;
io               1058 drivers/net/appletalk/ltpc.c 		inb_p(io+7);
io               1059 drivers/net/appletalk/ltpc.c 		inb_p(io+7);
io               1061 drivers/net/appletalk/ltpc.c 		inb_p(io+6);
io               1066 drivers/net/appletalk/ltpc.c 			printk(KERN_ERR "ltpc: probe at %#x failed to detect IRQ line.\n", io);
io               1088 drivers/net/appletalk/ltpc.c 	inb_p(io+1);
io               1089 drivers/net/appletalk/ltpc.c 	inb_p(io+3);
io               1093 drivers/net/appletalk/ltpc.c 	inb_p(io+0);
io               1094 drivers/net/appletalk/ltpc.c 	inb_p(io+2);
io               1095 drivers/net/appletalk/ltpc.c 	inb_p(io+7); /* clear reset */
io               1096 drivers/net/appletalk/ltpc.c 	inb_p(io+4); 
io               1097 drivers/net/appletalk/ltpc.c 	inb_p(io+5);
io               1098 drivers/net/appletalk/ltpc.c 	inb_p(io+5); /* enable dma */
io               1099 drivers/net/appletalk/ltpc.c 	inb_p(io+6); /* tri-state interrupt line */
io               1107 drivers/net/appletalk/ltpc.c 	dma = ltpc_probe_dma(io, dma);
io               1116 drivers/net/appletalk/ltpc.c 		printk(KERN_INFO "Apple/Farallon LocalTalk-PC card at %03x, IR%d, DMA%d.\n",io,irq,dma);
io               1118 drivers/net/appletalk/ltpc.c 		printk(KERN_INFO "Apple/Farallon LocalTalk-PC card at %03x, DMA%d.  Using polled mode.\n",io,dma);
io               1121 drivers/net/appletalk/ltpc.c 	dev->base_addr = io;
io               1138 drivers/net/appletalk/ltpc.c 	(void) inb_p(io+3);
io               1139 drivers/net/appletalk/ltpc.c 	(void) inb_p(io+2);
io               1143 drivers/net/appletalk/ltpc.c 		if( 0xf9 == inb_p(io+6))
io               1155 drivers/net/appletalk/ltpc.c 		(void) inb_p(io+7);  /* enable interrupts from board */
io               1156 drivers/net/appletalk/ltpc.c 		(void) inb_p(io+7);  /* and reset irq line */
io               1181 drivers/net/appletalk/ltpc.c 	release_region(io, 8);
io               1207 drivers/net/appletalk/ltpc.c 		io = ints[1];
io               1228 drivers/net/appletalk/ltpc.c module_param_hw(io, int, ioport, 0);
io               1235 drivers/net/appletalk/ltpc.c         if(io == 0)
io                306 drivers/net/arcnet/arc-rimi.c static int io;			/* use the insmod io= irq= node= options */
io                311 drivers/net/arcnet/arc-rimi.c module_param(io, int, 0);
io                329 drivers/net/arcnet/arc-rimi.c 	dev->mem_start = io;
io                374 drivers/net/arcnet/arc-rimi.c 		io = ints[1];
io                123 drivers/net/arcnet/com20020-isa.c static int io = 0x0;		/* <--- EDIT THESE LINES FOR YOUR CONFIGURATION */
io                132 drivers/net/arcnet/com20020-isa.c module_param_hw(io, int, ioport, 0);
io                165 drivers/net/arcnet/com20020-isa.c 	dev->base_addr = io;
io                217 drivers/net/arcnet/com20020-isa.c 		io = ints[1];
io                346 drivers/net/arcnet/com90io.c static int io;			/* use the insmod io= irq= shmem= options */
io                350 drivers/net/arcnet/com90io.c module_param_hw(io, int, ioport, 0);
io                371 drivers/net/arcnet/com90io.c 		io = ints[1];
io                391 drivers/net/arcnet/com90io.c 	dev->base_addr = io;
io                 86 drivers/net/arcnet/com90xx.c static int io;			/* use the insmod io= irq= shmem= options */
io                 91 drivers/net/arcnet/com90xx.c module_param_hw(io, int, ioport, 0);
io                107 drivers/net/arcnet/com90xx.c 	if (!io && !irq && !shmem && !*device && com90xx_skip_probe)
io                126 drivers/net/arcnet/com90xx.c 	if (io)
io                127 drivers/net/arcnet/com90xx.c 		ports[numports++] = io;
io                704 drivers/net/arcnet/com90xx.c 		io = ints[1];
io                 71 drivers/net/ethernet/8390/ne.c static int io[MAX_NE_CARDS];
io                 77 drivers/net/ethernet/8390/ne.c module_param_hw_array(io, int, ioport, NULL, 0);
io                 81 drivers/net/ethernet/8390/ne.c MODULE_PARM_DESC(io, "I/O base address(es),required");
io                807 drivers/net/ethernet/8390/ne.c 		dev->base_addr = io[this_dev];
io                823 drivers/net/ethernet/8390/ne.c 		io[this_dev] = dev->base_addr;
io                932 drivers/net/ethernet/8390/ne.c 		if (io[0] == 0)
io                962 drivers/net/ethernet/8390/ne.c 		io[this_dev]) {
io                975 drivers/net/ethernet/8390/ne.c 	io[this_dev] = dev->base_addr;
io                561 drivers/net/ethernet/8390/smc-ultra.c static int io[MAX_ULTRA_CARDS];
io                564 drivers/net/ethernet/8390/smc-ultra.c module_param_hw_array(io, int, ioport, NULL, 0);
io                567 drivers/net/ethernet/8390/smc-ultra.c MODULE_PARM_DESC(io, "I/O base address(es)");
io                582 drivers/net/ethernet/8390/smc-ultra.c 		if (io[this_dev] == 0)  {
io                590 drivers/net/ethernet/8390/smc-ultra.c 		dev->base_addr = io[this_dev];
io                596 drivers/net/ethernet/8390/smc-ultra.c 		printk(KERN_WARNING "smc-ultra.c: No SMC Ultra card found (i/o = 0x%x).\n", io[this_dev]);
io                501 drivers/net/ethernet/8390/wd.c static int io[MAX_WD_CARDS];
io                506 drivers/net/ethernet/8390/wd.c module_param_hw_array(io, int, ioport, NULL, 0);
io                511 drivers/net/ethernet/8390/wd.c MODULE_PARM_DESC(io, "I/O base address(es)");
io                528 drivers/net/ethernet/8390/wd.c 		if (io[this_dev] == 0)  {
io                536 drivers/net/ethernet/8390/wd.c 		dev->base_addr = io[this_dev];
io                544 drivers/net/ethernet/8390/wd.c 		printk(KERN_WARNING "wd.c: No wd80x3 card found (i/o = 0x%x).\n", io[this_dev]);
io               2393 drivers/net/ethernet/alteon/acenic.c 		struct tx_desc __iomem *io = (__force struct tx_desc __iomem *) desc;
io               2394 drivers/net/ethernet/alteon/acenic.c 		writel(addr >> 32, &io->addr.addrhi);
io               2395 drivers/net/ethernet/alteon/acenic.c 		writel(addr & 0xffffffff, &io->addr.addrlo);
io               2396 drivers/net/ethernet/alteon/acenic.c 		writel(flagsize, &io->flagsize);
io               2397 drivers/net/ethernet/alteon/acenic.c 		writel(vlan_tag, &io->vlanres);
io                317 drivers/net/ethernet/amd/lance.c static int io[MAX_CARDS];
io                321 drivers/net/ethernet/amd/lance.c module_param_hw_array(io, int, ioport, NULL, 0);
io                325 drivers/net/ethernet/amd/lance.c MODULE_PARM_DESC(io, "LANCE/PCnet I/O base address(es),required");
io                336 drivers/net/ethernet/amd/lance.c 		if (io[this_dev] == 0)  {
io                346 drivers/net/ethernet/amd/lance.c 		dev->base_addr = io[this_dev];
io                355 drivers/net/ethernet/amd/ni65.c static int io;
io                377 drivers/net/ethernet/amd/ni65.c 		dev->base_addr = io;
io               1227 drivers/net/ethernet/amd/ni65.c module_param_hw(io, int, ioport, 0);
io               1230 drivers/net/ethernet/amd/ni65.c MODULE_PARM_DESC(io, "ni6510 I/O base address");
io                336 drivers/net/ethernet/broadcom/bnx2.c 	struct drv_ctl_io *io = &info->data.io;
io                340 drivers/net/ethernet/broadcom/bnx2.c 		bnx2_reg_wr_ind(bp, io->offset, io->data);
io                343 drivers/net/ethernet/broadcom/bnx2.c 		io->data = bnx2_reg_rd_ind(bp, io->offset);
io                346 drivers/net/ethernet/broadcom/bnx2.c 		bnx2_ctx_wr(bp, io->cid_addr, io->offset, io->data);
io               14785 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		u32 index = ctl->data.io.offset;
io               14786 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		dma_addr_t addr = ctl->data.io.dma_addr;
io                193 drivers/net/ethernet/broadcom/cnic.c 	struct drv_ctl_io *io = &info.data.io;
io                197 drivers/net/ethernet/broadcom/cnic.c 	io->cid_addr = cid_addr;
io                198 drivers/net/ethernet/broadcom/cnic.c 	io->offset = off;
io                199 drivers/net/ethernet/broadcom/cnic.c 	io->data = val;
io                208 drivers/net/ethernet/broadcom/cnic.c 	struct drv_ctl_io *io = &info.data.io;
io                212 drivers/net/ethernet/broadcom/cnic.c 	io->offset = off;
io                213 drivers/net/ethernet/broadcom/cnic.c 	io->dma_addr = addr;
io                240 drivers/net/ethernet/broadcom/cnic.c 	struct drv_ctl_io *io = &info.data.io;
io                244 drivers/net/ethernet/broadcom/cnic.c 	io->offset = off;
io                245 drivers/net/ethernet/broadcom/cnic.c 	io->data = val;
io                254 drivers/net/ethernet/broadcom/cnic.c 	struct drv_ctl_io *io = &info.data.io;
io                258 drivers/net/ethernet/broadcom/cnic.c 	io->offset = off;
io                260 drivers/net/ethernet/broadcom/cnic.c 	return io->data;
io                161 drivers/net/ethernet/broadcom/cnic_if.h 		struct drv_ctl_io io;
io               1652 drivers/net/ethernet/cirrus/cs89x0.c 	int io;
io               1659 drivers/net/ethernet/cirrus/cs89x0.c 	io = dev->base_addr;
io               1662 drivers/net/ethernet/cirrus/cs89x0.c 	cs89_dbg(0, info, "cs89x0_probe(0x%x)\n", io);
io               1664 drivers/net/ethernet/cirrus/cs89x0.c 	if (io > 0x1ff)	{	/* Check a single specified location. */
io               1665 drivers/net/ethernet/cirrus/cs89x0.c 		err = cs89x0_ioport_probe(dev, io, 0);
io               1666 drivers/net/ethernet/cirrus/cs89x0.c 	} else if (io != 0) {	/* Don't probe at all. */
io               1696 drivers/net/ethernet/cirrus/cs89x0.c static int io;
io               1706 drivers/net/ethernet/cirrus/cs89x0.c module_param_hw(io, int, ioport, 0);
io               1714 drivers/net/ethernet/cirrus/cs89x0.c MODULE_PARM_DESC(io, "cs89x0 I/O base address");
io               1775 drivers/net/ethernet/cirrus/cs89x0.c 	dev->base_addr = io;
io               1801 drivers/net/ethernet/cirrus/cs89x0.c 	if (io == 0) {
io               1806 drivers/net/ethernet/cirrus/cs89x0.c 	} else if (io <= 0x1ff) {
io               1819 drivers/net/ethernet/cirrus/cs89x0.c 	ret = cs89x0_ioport_probe(dev, io, 1);
io               1016 drivers/net/ethernet/dec/tulip/de4x5.c static int io=0x0;/* EDIT THIS LINE FOR YOUR CONFIGURATION IF NEEDED        */
io               1018 drivers/net/ethernet/dec/tulip/de4x5.c module_param_hw(io, int, ioport, 0);
io               1023 drivers/net/ethernet/dec/tulip/de4x5.c MODULE_PARM_DESC(io, "de4x5 I/O base address");
io               2208 drivers/net/ethernet/dec/tulip/de4x5.c 	if (io) { /* probe a single PCI device */
io               2209 drivers/net/ethernet/dec/tulip/de4x5.c 		pbus = (u_short)(io >> 8);
io               2210 drivers/net/ethernet/dec/tulip/de4x5.c 		dnum = (u_short)(io & 0xff);
io                126 drivers/net/ethernet/ec_bhf.c 	void __iomem *io;
io                257 drivers/net/ethernet/ec_bhf.c 	block_count = ioread8(priv->io + INFO_BLOCK_BLK_CNT);
io                259 drivers/net/ethernet/ec_bhf.c 		u16 type = ioread16(priv->io + i * INFO_BLOCK_SIZE +
io                269 drivers/net/ethernet/ec_bhf.c 	ec_info = priv->io + i * INFO_BLOCK_SIZE;
io                274 drivers/net/ethernet/ec_bhf.c 	priv->ec_io = priv->io + ioread32(ec_info + INFO_BLOCK_OFFSET);
io                482 drivers/net/ethernet/ec_bhf.c 	void __iomem *io;
io                512 drivers/net/ethernet/ec_bhf.c 	io = pci_iomap(dev, 0, 0);
io                513 drivers/net/ethernet/ec_bhf.c 	if (!io) {
io                542 drivers/net/ethernet/ec_bhf.c 	priv->io = io;
io                563 drivers/net/ethernet/ec_bhf.c 	pci_iounmap(dev, io);
io                582 drivers/net/ethernet/ec_bhf.c 	pci_iounmap(dev, priv->io);
io               1113 drivers/net/ethernet/i825xx/82596.c static int io = 0x300;
io               1147 drivers/net/ethernet/i825xx/82596.c 		dev->base_addr = io;
io                137 drivers/net/ethernet/marvell/skge.c 	const void __iomem *io = skge->hw->regs;
io                141 drivers/net/ethernet/marvell/skge.c 	memcpy_fromio(p, io, B3_RAM_ADDR);
io                144 drivers/net/ethernet/marvell/skge.c 		memcpy_fromio(p + B3_RI_WTO_R1, io + B3_RI_WTO_R1,
io               4234 drivers/net/ethernet/marvell/sky2.c 	const void __iomem *io = sky2->hw->regs;
io               4242 drivers/net/ethernet/marvell/sky2.c 			memcpy_fromio(p + 0x10, io + 0x10, 128 - 0x10);
io               4244 drivers/net/ethernet/marvell/sky2.c 			memcpy_fromio(p, io, 128);
io               4249 drivers/net/ethernet/marvell/sky2.c 		io += 128;
io               1262 drivers/net/ethernet/micrel/ksz884x.c 	void __iomem *io;
io               1493 drivers/net/ethernet/micrel/ksz884x.c 	writel(interrupt, hw->io + KS884X_INTERRUPTS_STATUS);
io               1499 drivers/net/ethernet/micrel/ksz884x.c 	writel(0, hw->io + KS884X_INTERRUPTS_ENABLE);
io               1500 drivers/net/ethernet/micrel/ksz884x.c 	hw->intr_set = readl(hw->io + KS884X_INTERRUPTS_ENABLE);
io               1506 drivers/net/ethernet/micrel/ksz884x.c 	writel(interrupt, hw->io + KS884X_INTERRUPTS_ENABLE);
io               1524 drivers/net/ethernet/micrel/ksz884x.c 	read_intr = readl(hw->io + KS884X_INTERRUPTS_ENABLE);
io               1526 drivers/net/ethernet/micrel/ksz884x.c 	writel(hw->intr_set, hw->io + KS884X_INTERRUPTS_ENABLE);
io               1550 drivers/net/ethernet/micrel/ksz884x.c 	read_intr = readl(hw->io + KS884X_INTERRUPTS_ENABLE);
io               1552 drivers/net/ethernet/micrel/ksz884x.c 	writel(hw->intr_set, hw->io + KS884X_INTERRUPTS_ENABLE);
io               1557 drivers/net/ethernet/micrel/ksz884x.c 	*status = readl(hw->io + KS884X_INTERRUPTS_STATUS);
io               1653 drivers/net/ethernet/micrel/ksz884x.c 		dummy = readw(hw->io + reg);	\
io               1675 drivers/net/ethernet/micrel/ksz884x.c 	writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET);
io               1677 drivers/net/ethernet/micrel/ksz884x.c 	*data = readl(hw->io + KS884X_ACC_DATA_0_OFFSET);
io               1703 drivers/net/ethernet/micrel/ksz884x.c 	writel(data_hi, hw->io + KS884X_ACC_DATA_4_OFFSET);
io               1704 drivers/net/ethernet/micrel/ksz884x.c 	writel(data_lo, hw->io + KS884X_ACC_DATA_0_OFFSET);
io               1706 drivers/net/ethernet/micrel/ksz884x.c 	writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET);
io               1801 drivers/net/ethernet/micrel/ksz884x.c 	writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET);
io               1805 drivers/net/ethernet/micrel/ksz884x.c 		data = readl(hw->io + KS884X_ACC_DATA_0_OFFSET);
io               1842 drivers/net/ethernet/micrel/ksz884x.c 		writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET);
io               1844 drivers/net/ethernet/micrel/ksz884x.c 		data = readl(hw->io + KS884X_ACC_DATA_0_OFFSET);
io               1941 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + addr);
io               1963 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + addr);
io               1968 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + addr);
io               1988 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + addr);
io               2009 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + addr);
io               2015 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + addr);
io               2033 drivers/net/ethernet/micrel/ksz884x.c 	*data = readb(hw->io + addr);
io               2051 drivers/net/ethernet/micrel/ksz884x.c 	*data = readw(hw->io + addr);
io               2069 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + addr);
io               2087 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + addr);
io               2104 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + addr);
io               2109 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + addr);
io               2147 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS8842_SWITCH_CTRL_3_OFFSET);
io               2150 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + KS8842_SWITCH_CTRL_3_OFFSET);
io               2165 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS8842_SWITCH_CTRL_3_OFFSET);
io               2246 drivers/net/ethernet/micrel/ksz884x.c 	writel(0, hw->io + addr);
io               2629 drivers/net/ethernet/micrel/ksz884x.c 	*vid = readw(hw->io + addr);
io               2674 drivers/net/ethernet/micrel/ksz884x.c 	data = readb(hw->io + addr);
io               2677 drivers/net/ethernet/micrel/ksz884x.c 	writeb(data, hw->io + addr);
io               2694 drivers/net/ethernet/micrel/ksz884x.c 		mac_addr[i] = readb(hw->io + KS8842_MAC_ADDR_0_OFFSET + i);
io               2695 drivers/net/ethernet/micrel/ksz884x.c 		mac_addr[1 + i] = readb(hw->io + KS8842_MAC_ADDR_1_OFFSET + i);
io               2711 drivers/net/ethernet/micrel/ksz884x.c 		writeb(mac_addr[i], hw->io + KS8842_MAC_ADDR_0_OFFSET + i);
io               2712 drivers/net/ethernet/micrel/ksz884x.c 		writeb(mac_addr[1 + i], hw->io + KS8842_MAC_ADDR_1_OFFSET + i);
io               2727 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS8842_SWITCH_CTRL_3_OFFSET);
io               2729 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + KS8842_SWITCH_CTRL_3_OFFSET);
io               2731 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS8842_SWITCH_CTRL_1_OFFSET);
io               2744 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + KS8842_SWITCH_CTRL_1_OFFSET);
io               2746 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS8842_SWITCH_CTRL_2_OFFSET);
io               2750 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + KS8842_SWITCH_CTRL_2_OFFSET);
io               2898 drivers/net/ethernet/micrel/ksz884x.c 	*data = readw(hw->io + phy + KS884X_PHY_CTRL_OFFSET);
io               2903 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + phy + KS884X_PHY_CTRL_OFFSET);
io               2908 drivers/net/ethernet/micrel/ksz884x.c 	*data = readw(hw->io + phy + KS884X_PHY_STATUS_OFFSET);
io               2913 drivers/net/ethernet/micrel/ksz884x.c 	*data = readw(hw->io + phy + KS884X_PHY_AUTO_NEG_OFFSET);
io               2918 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + phy + KS884X_PHY_AUTO_NEG_OFFSET);
io               2923 drivers/net/ethernet/micrel/ksz884x.c 	*data = readw(hw->io + phy + KS884X_PHY_REMOTE_CAP_OFFSET);
io               2928 drivers/net/ethernet/micrel/ksz884x.c 	*data = readw(hw->io + phy + KS884X_PHY_CTRL_OFFSET);
io               2933 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + phy + KS884X_PHY_CTRL_OFFSET);
io               2938 drivers/net/ethernet/micrel/ksz884x.c 	*data = readw(hw->io + phy + KS884X_PHY_PHY_CTRL_OFFSET);
io               2943 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + phy + KS884X_PHY_PHY_CTRL_OFFSET);
io               2948 drivers/net/ethernet/micrel/ksz884x.c 	*data = readw(hw->io + phy + KS884X_PHY_LINK_MD_OFFSET);
io               2953 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + phy + KS884X_PHY_LINK_MD_OFFSET);
io               2970 drivers/net/ethernet/micrel/ksz884x.c 	*val = readw(hw->io + phy);
io               2987 drivers/net/ethernet/micrel/ksz884x.c 	writew(val, hw->io + phy);
io               3010 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS884X_EEPROM_CTRL_OFFSET);
io               3012 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + KS884X_EEPROM_CTRL_OFFSET);
io               3019 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS884X_EEPROM_CTRL_OFFSET);
io               3021 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + KS884X_EEPROM_CTRL_OFFSET);
io               3028 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS884X_EEPROM_CTRL_OFFSET);
io               3221 drivers/net/ethernet/micrel/ksz884x.c 			writel(hw->rx_cfg, hw->io + KS_DMA_RX_CTRL);
io               3223 drivers/net/ethernet/micrel/ksz884x.c 			writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL);
io               3266 drivers/net/ethernet/micrel/ksz884x.c 			writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL);
io               3535 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS8841_WOL_CTRL_OFFSET);
io               3540 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + KS8841_WOL_CTRL_OFFSET);
io               3571 drivers/net/ethernet/micrel/ksz884x.c 	writel(0, hw->io + KS8841_WOL_FRAME_BYTE0_OFFSET + i);
io               3572 drivers/net/ethernet/micrel/ksz884x.c 	writel(0, hw->io + KS8841_WOL_FRAME_BYTE2_OFFSET + i);
io               3584 drivers/net/ethernet/micrel/ksz884x.c 			writeb(val, hw->io + KS8841_WOL_FRAME_BYTE0_OFFSET + i
io               3597 drivers/net/ethernet/micrel/ksz884x.c 		writeb(bits, hw->io + KS8841_WOL_FRAME_BYTE0_OFFSET + i + len -
io               3601 drivers/net/ethernet/micrel/ksz884x.c 	writel(crc, hw->io + KS8841_WOL_FRAME_CRC_OFFSET + i);
io               3713 drivers/net/ethernet/micrel/ksz884x.c 	writew(BUS_SPEED_125_MHZ, hw->io + KS884X_BUS_CTRL_OFFSET);
io               3716 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS884X_CHIP_ID_OFFSET);
io               3744 drivers/net/ethernet/micrel/ksz884x.c 	writew(GLOBAL_SOFTWARE_RESET, hw->io + KS884X_GLOBAL_CTRL_OFFSET);
io               3750 drivers/net/ethernet/micrel/ksz884x.c 	writew(0, hw->io + KS884X_GLOBAL_CTRL_OFFSET);
io               3765 drivers/net/ethernet/micrel/ksz884x.c 	data = readw(hw->io + KS8842_SWITCH_CTRL_5_OFFSET);
io               3768 drivers/net/ethernet/micrel/ksz884x.c 	writew(data, hw->io + KS8842_SWITCH_CTRL_5_OFFSET);
io               3861 drivers/net/ethernet/micrel/ksz884x.c 	writel(tx_addr, hw->io + KS_DMA_TX_ADDR);
io               3862 drivers/net/ethernet/micrel/ksz884x.c 	writel(rx_addr, hw->io + KS_DMA_RX_ADDR);
io               3874 drivers/net/ethernet/micrel/ksz884x.c 	writel(DMA_START, hw->io + KS_DMA_RX_START);
io               3885 drivers/net/ethernet/micrel/ksz884x.c 	writel(hw->rx_cfg, hw->io + KS_DMA_RX_CTRL);
io               3890 drivers/net/ethernet/micrel/ksz884x.c 	writel(DMA_START, hw->io + KS_DMA_RX_START);
io               3909 drivers/net/ethernet/micrel/ksz884x.c 	writel((hw->rx_cfg & ~DMA_RX_ENABLE), hw->io + KS_DMA_RX_CTRL);
io               3920 drivers/net/ethernet/micrel/ksz884x.c 	writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL);
io               3931 drivers/net/ethernet/micrel/ksz884x.c 	writel((hw->tx_cfg & ~DMA_TX_ENABLE), hw->io + KS_DMA_TX_CTRL);
io               4018 drivers/net/ethernet/micrel/ksz884x.c 	writel(0, hw->io + KS_DMA_TX_START);
io               4042 drivers/net/ethernet/micrel/ksz884x.c 			hw->io + KS884X_ADDR_0_OFFSET + i);
io               4058 drivers/net/ethernet/micrel/ksz884x.c 		hw->perm_addr[MAC_ADDR_ORDER(i)] = readb(hw->io +
io               4092 drivers/net/ethernet/micrel/ksz884x.c 	writel(mac_addr_lo, hw->io + index + KS_ADD_ADDR_0_LO);
io               4093 drivers/net/ethernet/micrel/ksz884x.c 	writel(mac_addr_hi, hw->io + index + KS_ADD_ADDR_0_HI);
io               4102 drivers/net/ethernet/micrel/ksz884x.c 			writel(0, hw->io + ADD_ADDR_INCR * i +
io               4137 drivers/net/ethernet/micrel/ksz884x.c 			writel(0, hw->io + ADD_ADDR_INCR * i +
io               4158 drivers/net/ethernet/micrel/ksz884x.c 		writeb(0, hw->io + KS884X_MULTICAST_0_OFFSET + i);
io               4186 drivers/net/ethernet/micrel/ksz884x.c 		writeb(hw->multi_bits[i], hw->io + KS884X_MULTICAST_0_OFFSET +
io               4261 drivers/net/ethernet/micrel/ksz884x.c 	writew(enable, hw->io + KS884X_CHIP_ID_OFFSET);
io               5287 drivers/net/ethernet/micrel/ksz884x.c 			data = readl(hw->io + KS_DMA_TX_CTRL);
io               5416 drivers/net/ethernet/micrel/ksz884x.c 		data = readw(hw->io + KS8842_SWITCH_CTRL_2_OFFSET);
io               5421 drivers/net/ethernet/micrel/ksz884x.c 		writew(data, hw->io + KS8842_SWITCH_CTRL_2_OFFSET);
io               6148 drivers/net/ethernet/micrel/ksz884x.c 			*buf = readl(hw->io + len);
io               6594 drivers/net/ethernet/micrel/ksz884x.c 		writel(hw->rx_cfg, hw->io + KS_DMA_RX_CTRL);
io               6962 drivers/net/ethernet/micrel/ksz884x.c 	hw->io = ioremap(reg_base, reg_len);
io               6963 drivers/net/ethernet/micrel/ksz884x.c 	if (!hw->io)
io               6977 drivers/net/ethernet/micrel/ksz884x.c 	dev_dbg(&hw_priv->pdev->dev, "Mem = %p; IRQ = %d\n", hw->io, pdev->irq);
io               7085 drivers/net/ethernet/micrel/ksz884x.c 		dev->mem_start = (unsigned long) hw->io;
io               7127 drivers/net/ethernet/micrel/ksz884x.c 	iounmap(hw->io);
io               7150 drivers/net/ethernet/micrel/ksz884x.c 	if (hw_priv->hw.io)
io               7151 drivers/net/ethernet/micrel/ksz884x.c 		iounmap(hw_priv->hw.io);
io                 48 drivers/net/ethernet/realtek/atp.c static int io[NUM_UNITS];
io                154 drivers/net/ethernet/realtek/atp.c module_param_hw_array(io, int, ioport, NULL, 0);
io                159 drivers/net/ethernet/realtek/atp.c MODULE_PARM_DESC(io, "ATP I/O base address(es)");
io                224 drivers/net/ethernet/realtek/atp.c 	int base_addr = io[0];
io                686 drivers/net/ethernet/smsc/smc9194.c static int io;
io                702 drivers/net/ethernet/smsc/smc9194.c 		io = dev->base_addr;
io                706 drivers/net/ethernet/smsc/smc9194.c 	if (io > 0x1ff) {	/* Check a single specified location. */
io                707 drivers/net/ethernet/smsc/smc9194.c 		err = smc_probe(dev, io);
io                708 drivers/net/ethernet/smsc/smc9194.c 	} else if (io != 0) {	/* Don't probe at all. */
io               1504 drivers/net/ethernet/smsc/smc9194.c module_param_hw(io, int, ioport, 0);
io               1507 drivers/net/ethernet/smsc/smc9194.c MODULE_PARM_DESC(io, "SMC 99194 I/O base address");
io               1513 drivers/net/ethernet/smsc/smc9194.c 	if (io == 0)
io                809 drivers/net/fddi/skfp/h/skfbi.h #define	CLEAR(io,mask)		outpw((io),inpw(io)&(~(mask)))
io                810 drivers/net/fddi/skfp/h/skfbi.h #define	SET(io,mask)		outpw((io),inpw(io)|(mask))
io                811 drivers/net/fddi/skfp/h/skfbi.h #define	GET(io,mask)		(inpw(io)&(mask))
io                812 drivers/net/fddi/skfp/h/skfbi.h #define	SETMASK(io,val,mask)	outpw((io),(inpw(io) & ~(mask)) | (val))
io                250 drivers/net/hamradio/dmascc.c static int io[MAX_NUM_DEVS] __initdata = { 0, };
io                264 drivers/net/hamradio/dmascc.c module_param_hw_array(io, int, ioport, NULL, 0);
io                309 drivers/net/hamradio/dmascc.c 	if (!io[0])
io                315 drivers/net/hamradio/dmascc.c 		if (io[0]) {
io                319 drivers/net/hamradio/dmascc.c 			for (i = 0; i < MAX_NUM_DEVS && io[i]; i++) {
io                320 drivers/net/hamradio/dmascc.c 				j = (io[i] -
io                324 drivers/net/hamradio/dmascc.c 				    j * hw[h].io_delta == io[i]) {
io                325 drivers/net/hamradio/dmascc.c 					base[j] = io[i];
io                402 drivers/net/hippi/rrunner.c 	u32 misc, io, host, i;
io                404 drivers/net/hippi/rrunner.c 	io = readl(&regs->ExtIo);
io                421 drivers/net/hippi/rrunner.c 	writel(io, &regs->ExtIo);
io                454 drivers/net/hippi/rrunner.c 	u32 misc, io, data, i, j, ready, error = 0;
io                456 drivers/net/hippi/rrunner.c 	io = readl(&regs->ExtIo);
io                493 drivers/net/hippi/rrunner.c 	writel(io, &regs->ExtIo);
io               1466 drivers/net/hippi/rrunner.c 	u32 p2len, p2size, nr_seg, revision, io, sram_size;
io               1492 drivers/net/hippi/rrunner.c 	io = readl(&regs->ExtIo);
io               1502 drivers/net/hippi/rrunner.c 	writel(io, &regs->ExtIo);
io                208 drivers/net/wan/cosa.c static int io[MAX_CARDS+1]  = { 0x220, 0x228, 0x210, 0x218, 0, };
io                212 drivers/net/wan/cosa.c static int io[MAX_CARDS+1];
io                222 drivers/net/wan/cosa.c module_param_hw_array(io, int, ioport, NULL, 0);
io                223 drivers/net/wan/cosa.c MODULE_PARM_DESC(io, "The I/O bases of the COSA or SRP cards");
io                366 drivers/net/wan/cosa.c 	for (i=0; io[i] != 0 && i < MAX_CARDS; i++)
io                367 drivers/net/wan/cosa.c 		cosa_probe(io[i], irq[i], dma[i]);
io                325 drivers/net/wan/hostess_sv11.c static int io = 0x200;
io                328 drivers/net/wan/hostess_sv11.c module_param_hw(io, int, ioport, 0);
io                329 drivers/net/wan/hostess_sv11.c MODULE_PARM_DESC(io, "The I/O base of the Comtrol Hostess SV11 card");
io                343 drivers/net/wan/hostess_sv11.c 	if ((sv11_unit = sv11_init(io, irq)) == NULL)
io                117 drivers/net/wan/n2.c 	u16 io;			/* IO Base address */
io                132 drivers/net/wan/n2.c #define sca_reg(reg, card) (0x8000 | (card)->io | \
io                150 drivers/net/wan/n2.c 	return inb(card->io + N2_PSR) & PSR_PAGEBITS;
io                156 drivers/net/wan/n2.c 	u8 psr = inb(card->io + N2_PSR);
io                157 drivers/net/wan/n2.c 	outb((psr & ~PSR_PAGEBITS) | page, card->io + N2_PSR);
io                167 drivers/net/wan/n2.c 	int io = card->io;
io                168 drivers/net/wan/n2.c 	u8 mcr = inb(io + N2_MCR);
io                198 drivers/net/wan/n2.c 	outb(mcr, io + N2_MCR);
io                211 drivers/net/wan/n2.c 	int io = port->card->io;
io                212 drivers/net/wan/n2.c 	u8 mcr = inb(io + N2_MCR) | (port->phy_node ? TX422_PORT1:TX422_PORT0);
io                220 drivers/net/wan/n2.c 	outb(mcr, io + N2_MCR);
io                222 drivers/net/wan/n2.c 	outb(inb(io + N2_PCR) | PCR_ENWIN, io + N2_PCR); /* open window */
io                223 drivers/net/wan/n2.c 	outb(inb(io + N2_PSR) | PSR_DMAEN, io + N2_PSR); /* enable dma */
io                234 drivers/net/wan/n2.c 	int io = port->card->io;
io                235 drivers/net/wan/n2.c 	u8 mcr = inb(io+N2_MCR) | (port->phy_node ? TX422_PORT1 : TX422_PORT0);
io                239 drivers/net/wan/n2.c 	outb(mcr, io + N2_MCR);
io                318 drivers/net/wan/n2.c 	if (card->io)
io                319 drivers/net/wan/n2.c 		release_region(card->io, N2_IOPORTS);
io                334 drivers/net/wan/n2.c static int __init n2_run(unsigned long io, unsigned long irq,
io                341 drivers/net/wan/n2.c 	if (io < 0x200 || io > 0x3FF || (io % N2_IOPORTS) != 0) {
io                368 drivers/net/wan/n2.c 	if (!request_region(io, N2_IOPORTS, devname)) {
io                373 drivers/net/wan/n2.c 	card->io = io;
io                395 drivers/net/wan/n2.c 	outb(0, io + N2_PCR);
io                396 drivers/net/wan/n2.c 	outb(winbase >> 12, io + N2_BAR);
io                400 drivers/net/wan/n2.c 		outb(WIN16K, io + N2_PSR);
io                404 drivers/net/wan/n2.c 		outb(WIN32K, io + N2_PSR);
io                408 drivers/net/wan/n2.c 		outb(WIN64K, io + N2_PSR);
io                418 drivers/net/wan/n2.c 	outb(pcr, io + N2_PCR);
io                443 drivers/net/wan/n2.c 	outb(pcr, io + N2_PCR);
io                444 drivers/net/wan/n2.c 	outb(0, io + N2_MCR);
io                503 drivers/net/wan/n2.c 		unsigned long io, irq, ram;
io                506 drivers/net/wan/n2.c 		io = simple_strtoul(hw, &hw, 0);
io                532 drivers/net/wan/n2.c 			n2_run(io, irq, ram, valid[0], valid[1]);
io                167 drivers/net/wan/sbni.c static u32	io[   SBNI_MAX_NUM_CARDS ] __initdata =
io                177 drivers/net/wan/sbni.c static iarr *dest[5] __initdata = { &io, &irq, &baud, &rxl, &mac };
io                263 drivers/net/wan/sbni.c 	if( io[ num ] != -1 )
io                264 drivers/net/wan/sbni.c 		dev->base_addr	= io[ num ],
io                266 drivers/net/wan/sbni.c 	else if( scandone  ||  io[ 0 ] != -1 )
io                277 drivers/net/wan/sbni.c 	if( io[ num ] == -1 ) {
io               1461 drivers/net/wan/sbni.c module_param_hw_array(io, int, ioport, NULL, 0);
io                355 drivers/net/wan/sealevel.c static int io=0x238;
io                361 drivers/net/wan/sealevel.c module_param_hw(io, int, ioport, 0);
io                362 drivers/net/wan/sealevel.c MODULE_PARM_DESC(io, "The I/O base of the Sealevel card");
io                380 drivers/net/wan/sealevel.c 	slvl_unit = slvl_init(io, irq, txdma, rxdma, slow);
io               1224 drivers/net/wan/z85230.c void z8530_describe(struct z8530_dev *dev, char *mapping, unsigned long io)
io               1230 drivers/net/wan/z85230.c 		Z8530_PORT_OF(io),
io                400 drivers/net/wan/z85230.h void z8530_describe(struct z8530_dev *, char *mapping, unsigned long io);
io                223 drivers/net/wireless/cisco/airo.c static int io[4];
io                252 drivers/net/wireless/cisco/airo.c module_param_hw_array(io, int, ioport, NULL, 0);
io               5668 drivers/net/wireless/cisco/airo.c 	for (i = 0; i < 4 && io[i] && irq[i]; i++) {
io               5670 drivers/net/wireless/cisco/airo.c 			"io=0x%x", irq[i], io[i] );
io               5671 drivers/net/wireless/cisco/airo.c 		if (init_airo_card( irq[i], io[i], 0, NULL ))
io                198 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h #define TRACE_INCLUDE_FILE iwl-devtrace-io
io                 86 drivers/net/wireless/realtek/rtlwifi/core.c 					       rtlpriv->io.dev);
io                420 drivers/net/wireless/realtek/rtlwifi/pci.c 	rtlpriv->io.dev = dev;
io                422 drivers/net/wireless/realtek/rtlwifi/pci.c 	rtlpriv->io.write8_async = pci_write8_async;
io                423 drivers/net/wireless/realtek/rtlwifi/pci.c 	rtlpriv->io.write16_async = pci_write16_async;
io                424 drivers/net/wireless/realtek/rtlwifi/pci.c 	rtlpriv->io.write32_async = pci_write32_async;
io                426 drivers/net/wireless/realtek/rtlwifi/pci.c 	rtlpriv->io.read8_sync = pci_read8_sync;
io                427 drivers/net/wireless/realtek/rtlwifi/pci.c 	rtlpriv->io.read16_sync = pci_read16_sync;
io                428 drivers/net/wireless/realtek/rtlwifi/pci.c 	rtlpriv->io.read32_sync = pci_read32_sync;
io               2239 drivers/net/wireless/realtek/rtlwifi/pci.c 	rtlpriv->io.pci_mem_start =
io               2242 drivers/net/wireless/realtek/rtlwifi/pci.c 	if (rtlpriv->io.pci_mem_start == 0) {
io               2251 drivers/net/wireless/realtek/rtlwifi/pci.c 		 rtlpriv->io.pci_mem_start);
io               2328 drivers/net/wireless/realtek/rtlwifi/pci.c 	if (rtlpriv->io.pci_mem_start != 0)
io               2329 drivers/net/wireless/realtek/rtlwifi/pci.c 		pci_iounmap(pdev, (void __iomem *)rtlpriv->io.pci_mem_start);
io               2384 drivers/net/wireless/realtek/rtlwifi/pci.c 	if (rtlpriv->io.pci_mem_start != 0) {
io               2385 drivers/net/wireless/realtek/rtlwifi/pci.c 		pci_iounmap(pdev, (void __iomem *)rtlpriv->io.pci_mem_start);
io                270 drivers/net/wireless/realtek/rtlwifi/pci.h 	return readb((u8 __iomem *)rtlpriv->io.pci_mem_start + addr);
io                275 drivers/net/wireless/realtek/rtlwifi/pci.h 	return readw((u8 __iomem *)rtlpriv->io.pci_mem_start + addr);
io                280 drivers/net/wireless/realtek/rtlwifi/pci.h 	return readl((u8 __iomem *)rtlpriv->io.pci_mem_start + addr);
io                285 drivers/net/wireless/realtek/rtlwifi/pci.h 	writeb(val, (u8 __iomem *)rtlpriv->io.pci_mem_start + addr);
io                291 drivers/net/wireless/realtek/rtlwifi/pci.h 	writew(val, (u8 __iomem *)rtlpriv->io.pci_mem_start + addr);
io                297 drivers/net/wireless/realtek/rtlwifi/pci.h 	writel(val, (u8 __iomem *)rtlpriv->io.pci_mem_start + addr);
io                149 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c 				      rtlpriv->io.dev, GFP_KERNEL, hw,
io                152 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c 				      rtlpriv->io.dev, GFP_KERNEL, hw,
io                329 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/phy.c 	mutex_lock(&rtlpriv->io.bb_mutex);
io                332 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/phy.c 	mutex_unlock(&rtlpriv->io.bb_mutex);
io                 62 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c 				      fw_name, rtlpriv->io.dev,
io                161 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c 				      rtlpriv->io.dev, GFP_KERNEL, hw,
io                155 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c 				      rtlpriv->io.dev, GFP_KERNEL, hw,
io               1114 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c void rtl92se_set_mac_addr(struct rtl_io *io, const u8 *addr)
io                 32 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.h void rtl92se_set_mac_addr(struct rtl_io *io, const u8 *addr);
io                192 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c 				      rtlpriv->io.dev, GFP_KERNEL, hw,
io                158 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c 				      rtlpriv->io.dev, GFP_KERNEL, hw,
io                162 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c 				      rtlpriv->io.dev, GFP_KERNEL, hw,
io                191 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c 				      rtlpriv->io.dev, GFP_KERNEL, hw,
io                203 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c 				      rtlpriv->io.dev, GFP_KERNEL, hw,
io                124 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct device *dev = rtlpriv->io.dev;
io                178 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct device *dev = rtlpriv->io.dev;
io                185 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct device *dev = rtlpriv->io.dev;
io                192 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct device *dev = rtlpriv->io.dev;
io                200 drivers/net/wireless/realtek/rtlwifi/usb.c 	struct device *dev = rtlpriv->io.dev;
io                224 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlpriv->io.dev = dev;
io                225 drivers/net/wireless/realtek/rtlwifi/usb.c 	mutex_init(&rtlpriv->io.bb_mutex);
io                226 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlpriv->io.write8_async	= _usb_write8_async;
io                227 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlpriv->io.write16_async	= _usb_write16_async;
io                228 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlpriv->io.write32_async	= _usb_write32_async;
io                229 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlpriv->io.read8_sync		= _usb_read8_sync;
io                230 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlpriv->io.read16_sync		= _usb_read16_sync;
io                231 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlpriv->io.read32_sync		= _usb_read32_sync;
io                232 drivers/net/wireless/realtek/rtlwifi/usb.c 	rtlpriv->io.writen_sync		= _usb_writen_sync;
io                239 drivers/net/wireless/realtek/rtlwifi/usb.c 	mutex_destroy(&rtlpriv->io.bb_mutex);
io               2759 drivers/net/wireless/realtek/rtlwifi/wifi.h 	struct rtl_io io;
io               3092 drivers/net/wireless/realtek/rtlwifi/wifi.h 	return rtlpriv->io.read8_sync(rtlpriv, addr);
io               3097 drivers/net/wireless/realtek/rtlwifi/wifi.h 	return rtlpriv->io.read16_sync(rtlpriv, addr);
io               3102 drivers/net/wireless/realtek/rtlwifi/wifi.h 	return rtlpriv->io.read32_sync(rtlpriv, addr);
io               3107 drivers/net/wireless/realtek/rtlwifi/wifi.h 	rtlpriv->io.write8_async(rtlpriv, addr, val8);
io               3110 drivers/net/wireless/realtek/rtlwifi/wifi.h 		rtlpriv->io.read8_sync(rtlpriv, addr);
io               3123 drivers/net/wireless/realtek/rtlwifi/wifi.h 	rtlpriv->io.write16_async(rtlpriv, addr, val16);
io               3126 drivers/net/wireless/realtek/rtlwifi/wifi.h 		rtlpriv->io.read16_sync(rtlpriv, addr);
io               3132 drivers/net/wireless/realtek/rtlwifi/wifi.h 	rtlpriv->io.write32_async(rtlpriv, addr, val32);
io               3135 drivers/net/wireless/realtek/rtlwifi/wifi.h 		rtlpriv->io.read32_sync(rtlpriv, addr);
io               1271 drivers/nvme/host/core.c 	struct nvme_user_io io;
io               1276 drivers/nvme/host/core.c 	if (copy_from_user(&io, uio, sizeof(io)))
io               1278 drivers/nvme/host/core.c 	if (io.flags)
io               1281 drivers/nvme/host/core.c 	switch (io.opcode) {
io               1290 drivers/nvme/host/core.c 	length = (io.nblocks + 1) << ns->lba_shift;
io               1291 drivers/nvme/host/core.c 	meta_len = (io.nblocks + 1) * ns->ms;
io               1292 drivers/nvme/host/core.c 	metadata = nvme_to_user_ptr(io.metadata);
io               1298 drivers/nvme/host/core.c 		if ((io.metadata & 3) || !io.metadata)
io               1303 drivers/nvme/host/core.c 	c.rw.opcode = io.opcode;
io               1304 drivers/nvme/host/core.c 	c.rw.flags = io.flags;
io               1306 drivers/nvme/host/core.c 	c.rw.slba = cpu_to_le64(io.slba);
io               1307 drivers/nvme/host/core.c 	c.rw.length = cpu_to_le16(io.nblocks);
io               1308 drivers/nvme/host/core.c 	c.rw.control = cpu_to_le16(io.control);
io               1309 drivers/nvme/host/core.c 	c.rw.dsmgmt = cpu_to_le32(io.dsmgmt);
io               1310 drivers/nvme/host/core.c 	c.rw.reftag = cpu_to_le32(io.reftag);
io               1311 drivers/nvme/host/core.c 	c.rw.apptag = cpu_to_le16(io.apptag);
io               1312 drivers/nvme/host/core.c 	c.rw.appmask = cpu_to_le16(io.appmask);
io               1315 drivers/nvme/host/core.c 			nvme_to_user_ptr(io.addr), length,
io               1316 drivers/nvme/host/core.c 			metadata, meta_len, lower_32_bits(io.slba), NULL, 0);
io               1064 drivers/parisc/lba_pci.c 		} *p, *io;
io               1068 drivers/parisc/lba_pci.c 		io = (void *) &(io_pdc_cell->mod[2+i*3]);
io               1093 drivers/parisc/lba_pci.c 					io->start;
io                 36 drivers/parport/parport_ax88796.c 	struct resource		*io;
io                293 drivers/parport/parport_ax88796.c 	dd->io = request_mem_region(res->start, size, pdev->name);
io                294 drivers/parport/parport_ax88796.c 	if (dd->io == NULL) {
io                355 drivers/parport/parport_ax88796.c 	release_mem_region(dd->io->start, size);
io                369 drivers/parport/parport_ax88796.c 	release_mem_region(dd->io->start, resource_size(dd->io));
io                 99 drivers/parport/parport_pc.c 	int io;
io                950 drivers/parport/parport_pc.c 		if (superios[i].io == 0)
io                957 drivers/parport/parport_pc.c static void show_parconfig_smsc37c669(int io, int key)
io                968 drivers/parport/parport_pc.c 	outb(key, io);
io                969 drivers/parport/parport_pc.c 	outb(key, io);
io                970 drivers/parport/parport_pc.c 	outb(1, io);
io                971 drivers/parport/parport_pc.c 	cr1 = inb(io + 1);
io                972 drivers/parport/parport_pc.c 	outb(4, io);
io                973 drivers/parport/parport_pc.c 	cr4 = inb(io + 1);
io                974 drivers/parport/parport_pc.c 	outb(0x0a, io);
io                975 drivers/parport/parport_pc.c 	cra = inb(io + 1);
io                976 drivers/parport/parport_pc.c 	outb(0x23, io);
io                977 drivers/parport/parport_pc.c 	cr23 = inb(io + 1);
io                978 drivers/parport/parport_pc.c 	outb(0x26, io);
io                979 drivers/parport/parport_pc.c 	cr26 = inb(io + 1);
io                980 drivers/parport/parport_pc.c 	outb(0x27, io);
io                981 drivers/parport/parport_pc.c 	cr27 = inb(io + 1);
io                982 drivers/parport/parport_pc.c 	outb(0xaa, io);
io               1021 drivers/parport/parport_pc.c 				s->io = 0x3bc;
io               1025 drivers/parport/parport_pc.c 				s->io = 0x378;
io               1029 drivers/parport/parport_pc.c 				s->io = 0x278;
io               1042 drivers/parport/parport_pc.c static void show_parconfig_winbond(int io, int key)
io               1062 drivers/parport/parport_pc.c 	outb(key, io);
io               1063 drivers/parport/parport_pc.c 	outb(key, io);
io               1064 drivers/parport/parport_pc.c 	outb(0x07, io);   /* Register 7: Select Logical Device */
io               1065 drivers/parport/parport_pc.c 	outb(0x01, io + 1); /* LD1 is Parallel Port */
io               1066 drivers/parport/parport_pc.c 	outb(0x30, io);
io               1067 drivers/parport/parport_pc.c 	cr30 = inb(io + 1);
io               1068 drivers/parport/parport_pc.c 	outb(0x60, io);
io               1069 drivers/parport/parport_pc.c 	cr60 = inb(io + 1);
io               1070 drivers/parport/parport_pc.c 	outb(0x61, io);
io               1071 drivers/parport/parport_pc.c 	cr61 = inb(io + 1);
io               1072 drivers/parport/parport_pc.c 	outb(0x70, io);
io               1073 drivers/parport/parport_pc.c 	cr70 = inb(io + 1);
io               1074 drivers/parport/parport_pc.c 	outb(0x74, io);
io               1075 drivers/parport/parport_pc.c 	cr74 = inb(io + 1);
io               1076 drivers/parport/parport_pc.c 	outb(0xf0, io);
io               1077 drivers/parport/parport_pc.c 	crf0 = inb(io + 1);
io               1078 drivers/parport/parport_pc.c 	outb(0xaa, io);
io               1102 drivers/parport/parport_pc.c 			s->io = (cr60 << 8) | cr61;
io               1165 drivers/parport/parport_pc.c 	void (*func)(int io, int key);
io               1196 drivers/parport/parport_pc.c static void winbond_check(int io, int key)
io               1200 drivers/parport/parport_pc.c 	if (!request_region(io, 3, __func__))
io               1203 drivers/parport/parport_pc.c 	origval = inb(io); /* Save original value */
io               1206 drivers/parport/parport_pc.c 	outb(0x20, io);
io               1207 drivers/parport/parport_pc.c 	x_devid = inb(io + 1);
io               1208 drivers/parport/parport_pc.c 	outb(0x21, io);
io               1209 drivers/parport/parport_pc.c 	x_devrev = inb(io + 1);
io               1210 drivers/parport/parport_pc.c 	outb(0x09, io);
io               1211 drivers/parport/parport_pc.c 	x_oldid = inb(io + 1);
io               1213 drivers/parport/parport_pc.c 	outb(key, io);
io               1214 drivers/parport/parport_pc.c 	outb(key, io);     /* Write Magic Sequence to EFER, extended
io               1216 drivers/parport/parport_pc.c 	outb(0x20, io);    /* Write EFIR, extended function index register */
io               1217 drivers/parport/parport_pc.c 	devid = inb(io + 1);  /* Read EFDR, extended function data register */
io               1218 drivers/parport/parport_pc.c 	outb(0x21, io);
io               1219 drivers/parport/parport_pc.c 	devrev = inb(io + 1);
io               1220 drivers/parport/parport_pc.c 	outb(0x09, io);
io               1221 drivers/parport/parport_pc.c 	oldid = inb(io + 1);
io               1222 drivers/parport/parport_pc.c 	outb(0xaa, io);    /* Magic Seal */
io               1224 drivers/parport/parport_pc.c 	outb(origval, io); /* in case we poked some entirely different hardware */
io               1229 drivers/parport/parport_pc.c 	decode_winbond(io, key, devid, devrev, oldid);
io               1231 drivers/parport/parport_pc.c 	release_region(io, 3);
io               1234 drivers/parport/parport_pc.c static void winbond_check2(int io, int key)
io               1238 drivers/parport/parport_pc.c 	if (!request_region(io, 3, __func__))
io               1241 drivers/parport/parport_pc.c 	origval[0] = inb(io); /* Save original values */
io               1242 drivers/parport/parport_pc.c 	origval[1] = inb(io + 1);
io               1243 drivers/parport/parport_pc.c 	origval[2] = inb(io + 2);
io               1246 drivers/parport/parport_pc.c 	outb(0x20, io + 2);
io               1247 drivers/parport/parport_pc.c 	x_devid = inb(io + 2);
io               1248 drivers/parport/parport_pc.c 	outb(0x21, io + 1);
io               1249 drivers/parport/parport_pc.c 	x_devrev = inb(io + 2);
io               1250 drivers/parport/parport_pc.c 	outb(0x09, io + 1);
io               1251 drivers/parport/parport_pc.c 	x_oldid = inb(io + 2);
io               1253 drivers/parport/parport_pc.c 	outb(key, io);     /* Write Magic Byte to EFER, extended
io               1255 drivers/parport/parport_pc.c 	outb(0x20, io + 2);  /* Write EFIR, extended function index register */
io               1256 drivers/parport/parport_pc.c 	devid = inb(io + 2);  /* Read EFDR, extended function data register */
io               1257 drivers/parport/parport_pc.c 	outb(0x21, io + 1);
io               1258 drivers/parport/parport_pc.c 	devrev = inb(io + 2);
io               1259 drivers/parport/parport_pc.c 	outb(0x09, io + 1);
io               1260 drivers/parport/parport_pc.c 	oldid = inb(io + 2);
io               1261 drivers/parport/parport_pc.c 	outb(0xaa, io);    /* Magic Seal */
io               1263 drivers/parport/parport_pc.c 	outb(origval[0], io); /* in case we poked some entirely different hardware */
io               1264 drivers/parport/parport_pc.c 	outb(origval[1], io + 1);
io               1265 drivers/parport/parport_pc.c 	outb(origval[2], io + 2);
io               1270 drivers/parport/parport_pc.c 	decode_winbond(io, key, devid, devrev, oldid);
io               1272 drivers/parport/parport_pc.c 	release_region(io, 3);
io               1275 drivers/parport/parport_pc.c static void smsc_check(int io, int key)
io               1279 drivers/parport/parport_pc.c 	if (!request_region(io, 3, __func__))
io               1282 drivers/parport/parport_pc.c 	origval = inb(io); /* Save original value */
io               1285 drivers/parport/parport_pc.c 	outb(0x0d, io);
io               1286 drivers/parport/parport_pc.c 	x_oldid = inb(io + 1);
io               1287 drivers/parport/parport_pc.c 	outb(0x0e, io);
io               1288 drivers/parport/parport_pc.c 	x_oldrev = inb(io + 1);
io               1289 drivers/parport/parport_pc.c 	outb(0x20, io);
io               1290 drivers/parport/parport_pc.c 	x_id = inb(io + 1);
io               1291 drivers/parport/parport_pc.c 	outb(0x21, io);
io               1292 drivers/parport/parport_pc.c 	x_rev = inb(io + 1);
io               1294 drivers/parport/parport_pc.c 	outb(key, io);
io               1295 drivers/parport/parport_pc.c 	outb(key, io);     /* Write Magic Sequence to EFER, extended
io               1297 drivers/parport/parport_pc.c 	outb(0x0d, io);    /* Write EFIR, extended function index register */
io               1298 drivers/parport/parport_pc.c 	oldid = inb(io + 1);  /* Read EFDR, extended function data register */
io               1299 drivers/parport/parport_pc.c 	outb(0x0e, io);
io               1300 drivers/parport/parport_pc.c 	oldrev = inb(io + 1);
io               1301 drivers/parport/parport_pc.c 	outb(0x20, io);
io               1302 drivers/parport/parport_pc.c 	id = inb(io + 1);
io               1303 drivers/parport/parport_pc.c 	outb(0x21, io);
io               1304 drivers/parport/parport_pc.c 	rev = inb(io + 1);
io               1305 drivers/parport/parport_pc.c 	outb(0xaa, io);    /* Magic Seal */
io               1307 drivers/parport/parport_pc.c 	outb(origval, io); /* in case we poked some entirely different hardware */
io               1313 drivers/parport/parport_pc.c 	decode_smsc(io, key, oldid, oldrev);
io               1315 drivers/parport/parport_pc.c 	release_region(io, 3);
io               1381 drivers/parport/parport_pc.c 		if (superios[i].io == p->base)
io               3084 drivers/parport/parport_pc.c static int __initdata io[PARPORT_PC_MAX_PORTS+1] = {
io               3157 drivers/parport/parport_pc.c MODULE_PARM_DESC(io, "Base I/O address (SPP regs)");
io               3158 drivers/parport/parport_pc.c module_param_hw_array(io, int, ioport, NULL, 0);
io               3187 drivers/parport/parport_pc.c 	for (i = 0; i < PARPORT_PC_MAX_PORTS && io[i]; i++) {
io               3195 drivers/parport/parport_pc.c 	if (!io[0]) {
io               3247 drivers/parport/parport_pc.c 		io[0] = PARPORT_DISABLE;
io               3268 drivers/parport/parport_pc.c 	io[parport_setup_ptr] = val;
io               3290 drivers/parport/parport_pc.c 	return io[0] == PARPORT_DISABLE;
io               3318 drivers/parport/parport_pc.c 	if (io[0]) {
io               3323 drivers/parport/parport_pc.c 			if (!io[i])
io               3326 drivers/parport/parport_pc.c 				io_hi[i] = 0x400 + io[i];
io               3327 drivers/parport/parport_pc.c 			parport_pc_probe_port(io[i], io_hi[i],
io                366 drivers/pci/controller/dwc/pcie-designware-host.c 				pp->io = win->res;
io                367 drivers/pci/controller/dwc/pcie-designware-host.c 				pp->io->name = "I/O";
io                368 drivers/pci/controller/dwc/pcie-designware-host.c 				pp->io_size = resource_size(pp->io);
io                369 drivers/pci/controller/dwc/pcie-designware-host.c 				pp->io_bus_addr = pp->io->start - win->offset;
io                180 drivers/pci/controller/dwc/pcie-designware.h 	struct resource		*io;
io                437 drivers/pci/controller/pci-ftpci100.c 	struct resource *io;
io                496 drivers/pci/controller/pci-ftpci100.c 			io = win->res;
io                497 drivers/pci/controller/pci-ftpci100.c 			io->name = "Gemini PCI I/O";
io                498 drivers/pci/controller/pci-ftpci100.c 			if (!faraday_res_to_memcfg(io->start - win->offset,
io                499 drivers/pci/controller/pci-ftpci100.c 						   resource_size(io), &val)) {
io                506 drivers/pci/controller/pci-ftpci100.c 			ret = devm_pci_remap_iospace(dev, io, io_base);
io                509 drivers/pci/controller/pci-ftpci100.c 					 ret, io);
io                 75 drivers/pci/controller/pci-mvebu.c 	struct resource io;
io                390 drivers/pci/controller/pci-mvebu.c 	desired.base = port->pcie->io.start + desired.remap;
io                845 drivers/pci/controller/pci-mvebu.c 	if (resource_size(&pcie->io) != 0) {
io                987 drivers/pci/controller/pci-mvebu.c 	mvebu_mbus_get_pcie_io_aperture(&pcie->io);
io                989 drivers/pci/controller/pci-mvebu.c 	if (resource_size(&pcie->io) != 0) {
io                990 drivers/pci/controller/pci-mvebu.c 		pcie->realio.flags = pcie->io.flags;
io                994 drivers/pci/controller/pci-mvebu.c 					 resource_size(&pcie->io) - 1);
io               1023 drivers/pci/controller/pci-mvebu.c 	if (resource_size(&pcie->io) != 0) {
io               1027 drivers/pci/controller/pci-mvebu.c 			pci_ioremap_io(i, pcie->io.start + i);
io                358 drivers/pci/controller/pci-tegra.c 	struct resource io;
io                366 drivers/pci/controller/pci-tegra.c 		resource_size_t io;
io                807 drivers/pci/controller/pci-tegra.c 	pci_add_resource_offset(windows, &pcie->pio, pcie->offset.io);
io                818 drivers/pci/controller/pci-tegra.c 	pci_remap_iospace(&pcie->pio, pcie->io.start);
io                921 drivers/pci/controller/pci-tegra.c 	size = resource_size(&pcie->io);
io                922 drivers/pci/controller/pci-tegra.c 	axi_address = pcie->io.start;
io               2180 drivers/pci/controller/pci-tegra.c 			pcie->offset.io = res.start - range.pci_addr;
io               2193 drivers/pci/controller/pci-tegra.c 			pcie->io.start = range.cpu_addr;
io               2194 drivers/pci/controller/pci-tegra.c 			pcie->io.end = range.cpu_addr + range.size - 1;
io               2195 drivers/pci/controller/pci-tegra.c 			pcie->io.flags = IORESOURCE_MEM;
io               2196 drivers/pci/controller/pci-tegra.c 			pcie->io.name = "I/O";
io               2198 drivers/pci/controller/pci-tegra.c 			memcpy(&res, &pcie->io, sizeof(res));
io                529 drivers/pci/controller/pci-v3-semi.c 	struct resource *io;
io                534 drivers/pci/controller/pci-v3-semi.c 		io = win->res;
io                535 drivers/pci/controller/pci-v3-semi.c 		io->name = "V3 PCI I/O";
io                537 drivers/pci/controller/pci-v3-semi.c 		v3->io_bus_addr = io->start - win->offset;
io                539 drivers/pci/controller/pci-v3-semi.c 			io, &v3->io_bus_addr);
io                540 drivers/pci/controller/pci-v3-semi.c 		ret = devm_pci_remap_iospace(dev, io, io_base);
io                544 drivers/pci/controller/pci-v3-semi.c 				 ret, io);
io                956 drivers/pci/controller/pcie-rockchip-host.c 	struct resource	*io;
io               1011 drivers/pci/controller/pcie-rockchip-host.c 			io = win->res;
io               1012 drivers/pci/controller/pcie-rockchip-host.c 			io->name = "I/O";
io               1013 drivers/pci/controller/pcie-rockchip-host.c 			rockchip->io_size = resource_size(io);
io               1014 drivers/pci/controller/pcie-rockchip-host.c 			rockchip->io_bus_addr = io->start - win->offset;
io               1015 drivers/pci/controller/pcie-rockchip-host.c 			err = pci_remap_iospace(io, io_base);
io               1018 drivers/pci/controller/pcie-rockchip-host.c 					 err, io);
io               1021 drivers/pci/controller/pcie-rockchip-host.c 			rockchip->io = io;
io               1072 drivers/pci/controller/pcie-rockchip-host.c 	pci_unmap_iospace(rockchip->io);
io               1100 drivers/pci/controller/pcie-rockchip-host.c 	pci_unmap_iospace(rockchip->io);
io                307 drivers/pci/controller/pcie-rockchip.h 	struct resource *io;
io                363 drivers/pci/hotplug/ibmphp.h 	u32 io;
io                681 drivers/pci/hotplug/ibmphp.h 	struct resource_node *io[6];
io                311 drivers/pci/hotplug/ibmphp_pci.c 		if (cur_func->io[i]) {
io                312 drivers/pci/hotplug/ibmphp_pci.c 			ibmphp_remove_resource(cur_func->io[i]);
io                313 drivers/pci/hotplug/ibmphp_pci.c 			cur_func->io[i] = NULL;
io                345 drivers/pci/hotplug/ibmphp_pci.c 	struct resource_node *io[6];
io                388 drivers/pci/hotplug/ibmphp_pci.c 			io[count] = kzalloc(sizeof(struct resource_node), GFP_KERNEL);
io                390 drivers/pci/hotplug/ibmphp_pci.c 			if (!io[count])
io                393 drivers/pci/hotplug/ibmphp_pci.c 			io[count]->type = IO;
io                394 drivers/pci/hotplug/ibmphp_pci.c 			io[count]->busno = func->busno;
io                395 drivers/pci/hotplug/ibmphp_pci.c 			io[count]->devfunc = PCI_DEVFN(func->device, func->function);
io                396 drivers/pci/hotplug/ibmphp_pci.c 			io[count]->len = len[count];
io                397 drivers/pci/hotplug/ibmphp_pci.c 			if (ibmphp_check_resource(io[count], 0) == 0) {
io                398 drivers/pci/hotplug/ibmphp_pci.c 				ibmphp_add_resource(io[count]);
io                399 drivers/pci/hotplug/ibmphp_pci.c 				func->io[count] = io[count];
io                403 drivers/pci/hotplug/ibmphp_pci.c 				kfree(io[count]);
io                406 drivers/pci/hotplug/ibmphp_pci.c 			pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->io[count]->start);
io                409 drivers/pci/hotplug/ibmphp_pci.c 			debug("b4 writing, the IO address is %x\n", func->io[count]->start);
io                560 drivers/pci/hotplug/ibmphp_pci.c 	struct resource_node *io = NULL;
io                665 drivers/pci/hotplug/ibmphp_pci.c 				func->io[count] = bus_io[count];
io                673 drivers/pci/hotplug/ibmphp_pci.c 			pci_bus_write_config_dword(ibmphp_pci_bus, devfn, address[count], func->io[count]->start);
io                780 drivers/pci/hotplug/ibmphp_pci.c 	debug("amount_needed->io = %x\n", amount_needed->io);
io                790 drivers/pci/hotplug/ibmphp_pci.c 				func->io[count] = NULL;
io                803 drivers/pci/hotplug/ibmphp_pci.c 	if (!amount_needed->io) {
io                807 drivers/pci/hotplug/ibmphp_pci.c 		debug("it wants %x IO behind the bridge\n", amount_needed->io);
io                808 drivers/pci/hotplug/ibmphp_pci.c 		io = kzalloc(sizeof(*io), GFP_KERNEL);
io                810 drivers/pci/hotplug/ibmphp_pci.c 		if (!io) {
io                814 drivers/pci/hotplug/ibmphp_pci.c 		io->type = IO;
io                815 drivers/pci/hotplug/ibmphp_pci.c 		io->busno = func->busno;
io                816 drivers/pci/hotplug/ibmphp_pci.c 		io->devfunc = PCI_DEVFN(func->device, func->function);
io                817 drivers/pci/hotplug/ibmphp_pci.c 		io->len = amount_needed->io;
io                818 drivers/pci/hotplug/ibmphp_pci.c 		if (ibmphp_check_resource(io, 1) == 0) {
io                820 drivers/pci/hotplug/ibmphp_pci.c 			ibmphp_add_resource(io);
io                902 drivers/pci/hotplug/ibmphp_pci.c 			rc = add_new_bus(bus, io, mem, pfmem, func->busno);
io                904 drivers/pci/hotplug/ibmphp_pci.c 			rc = add_new_bus(bus, io, mem, pfmem, 0xFF);
io               1022 drivers/pci/hotplug/ibmphp_pci.c 	if (io)
io               1023 drivers/pci/hotplug/ibmphp_pci.c 		ibmphp_remove_resource(io);
io               1029 drivers/pci/hotplug/ibmphp_pci.c 			func->io[i] = NULL;
io               1135 drivers/pci/hotplug/ibmphp_pci.c 						amount->io += len[count];
io               1167 drivers/pci/hotplug/ibmphp_pci.c 	if ((amount->io) && (amount->io < IOBRIDGE))
io               1168 drivers/pci/hotplug/ibmphp_pci.c 		amount->io = IOBRIDGE;
io               1196 drivers/pci/hotplug/ibmphp_pci.c 	struct resource_node *io;
io               1239 drivers/pci/hotplug/ibmphp_pci.c 			if (ibmphp_find_resource(bus, start_address, &io, IO))
io               1242 drivers/pci/hotplug/ibmphp_pci.c 			debug("io->start = %x\n", io->start);
io               1243 drivers/pci/hotplug/ibmphp_pci.c 			temp_end = io->end;
io               1244 drivers/pci/hotplug/ibmphp_pci.c 			start_address = io->end + 1;
io               1245 drivers/pci/hotplug/ibmphp_pci.c 			ibmphp_remove_resource(io);
io               1249 drivers/pci/hotplug/ibmphp_pci.c 							 &io, IO))
io               1252 drivers/pci/hotplug/ibmphp_pci.c 				debug("io->start = %x\n", io->start);
io               1253 drivers/pci/hotplug/ibmphp_pci.c 				temp_end = io->end;
io               1254 drivers/pci/hotplug/ibmphp_pci.c 				start_address = io->end + 1;
io               1255 drivers/pci/hotplug/ibmphp_pci.c 				ibmphp_remove_resource(io);
io               1310 drivers/pci/hotplug/ibmphp_pci.c 	struct resource_node *io = NULL;
io               1369 drivers/pci/hotplug/ibmphp_pci.c 			if (ibmphp_find_resource(bus, start_address, &io, IO) < 0) {
io               1373 drivers/pci/hotplug/ibmphp_pci.c 			if (io)
io               1374 drivers/pci/hotplug/ibmphp_pci.c 				debug("io->start = %x\n", io->start);
io               1376 drivers/pci/hotplug/ibmphp_pci.c 			ibmphp_remove_resource(io);
io               1565 drivers/pci/hotplug/ibmphp_pci.c 				if (cur_func->io[i]) {
io               1568 drivers/pci/hotplug/ibmphp_pci.c 						ibmphp_remove_resource(cur_func->io[i]);
io               1569 drivers/pci/hotplug/ibmphp_pci.c 					cur_func->io[i] = NULL;
io               1605 drivers/pci/hotplug/ibmphp_pci.c static int add_new_bus(struct bus_node *bus, struct resource_node *io, struct resource_node *mem, struct resource_node *pfmem, u8 parent_busno)
io               1622 drivers/pci/hotplug/ibmphp_pci.c 	if (io) {
io               1627 drivers/pci/hotplug/ibmphp_pci.c 		io_range->start = io->start;
io               1628 drivers/pci/hotplug/ibmphp_pci.c 		io_range->end = io->end;
io               1913 drivers/pci/hotplug/ibmphp_res.c 	struct resource_node *io;
io               1995 drivers/pci/hotplug/ibmphp_res.c 							if (ibmphp_find_resource(bus_cur, start_address, &io, IO)) {
io               1996 drivers/pci/hotplug/ibmphp_res.c 								io = kzalloc(sizeof(struct resource_node), GFP_KERNEL);
io               1997 drivers/pci/hotplug/ibmphp_res.c 								if (!io) {
io               2001 drivers/pci/hotplug/ibmphp_res.c 								io->type = IO;
io               2002 drivers/pci/hotplug/ibmphp_res.c 								io->busno = bus_cur->busno;
io               2003 drivers/pci/hotplug/ibmphp_res.c 								io->devfunc = ((device << 3) | (function & 0x7));
io               2004 drivers/pci/hotplug/ibmphp_res.c 								io->start = start_address;
io               2005 drivers/pci/hotplug/ibmphp_res.c 								io->end = end_address + 0xfff;
io               2006 drivers/pci/hotplug/ibmphp_res.c 								io->len = io->end - io->start + 1;
io               2007 drivers/pci/hotplug/ibmphp_res.c 								ibmphp_add_resource(io);
io                348 drivers/pci/probe.c 	u16 io;
io                351 drivers/pci/probe.c 	pci_read_config_word(bridge, PCI_IO_BASE, &io);
io                352 drivers/pci/probe.c 	if (!io) {
io                354 drivers/pci/probe.c 		pci_read_config_word(bridge, PCI_IO_BASE, &io);
io                357 drivers/pci/probe.c 	if (io)
io               1942 drivers/pci/setup-bus.c 		resource_size_t align, io, mmio, mmio_pref;
io               1955 drivers/pci/setup-bus.c 		io = div64_ul(available_io, hotplug_bridges);
io               1956 drivers/pci/setup-bus.c 		io = min(ALIGN(io, align), remaining_io);
io               1957 drivers/pci/setup-bus.c 		remaining_io -= io;
io               1969 drivers/pci/setup-bus.c 		pci_bus_distribute_available_resources(b, add_list, io, mmio,
io                145 drivers/pcmcia/at91_cf.c static int at91_cf_set_io_map(struct pcmcia_socket *s, struct pccard_io_map *io)
io                151 drivers/pcmcia/at91_cf.c 	io->flags &= (MAP_ACTIVE | MAP_16BIT | MAP_AUTOSZ);
io                165 drivers/pcmcia/at91_cf.c 	if (!(io->flags & (MAP_16BIT | MAP_AUTOSZ))) {
io                175 drivers/pcmcia/at91_cf.c 	io->start = cf->socket.io_offset;
io                176 drivers/pcmcia/at91_cf.c 	io->stop = io->start + SZ_2K - 1;
io                249 drivers/pcmcia/at91_cf.c 	struct resource		*io;
io                263 drivers/pcmcia/at91_cf.c 	io = platform_get_resource(pdev, IORESOURCE_MEM, 0);
io                264 drivers/pcmcia/at91_cf.c 	if (!io)
io                273 drivers/pcmcia/at91_cf.c 	cf->phys_baseaddr = io->start;
io                327 drivers/pcmcia/at91_cf.c 	if (!devm_request_mem_region(&pdev->dev, io->start, resource_size(io), "at91_cf")) {
io                342 drivers/pcmcia/at91_cf.c 	cf->socket.io[0].res = io;
io                977 drivers/pcmcia/cistpl.c static u_char *parse_io(u_char *p, u_char *q, cistpl_io_t *io)
io                983 drivers/pcmcia/cistpl.c 	io->flags = *p;
io                986 drivers/pcmcia/cistpl.c 		io->nwin = 1;
io                987 drivers/pcmcia/cistpl.c 		io->win[0].base = 0;
io                988 drivers/pcmcia/cistpl.c 		io->win[0].len = (1 << (io->flags & CISTPL_IO_LINES_MASK));
io                994 drivers/pcmcia/cistpl.c 	io->nwin = (*p & 0x0f) + 1;
io               1003 drivers/pcmcia/cistpl.c 	for (i = 0; i < io->nwin; i++) {
io               1004 drivers/pcmcia/cistpl.c 		io->win[i].base = 0;
io               1005 drivers/pcmcia/cistpl.c 		io->win[i].len = 1;
io               1009 drivers/pcmcia/cistpl.c 			io->win[i].base += *p << (j*8);
io               1014 drivers/pcmcia/cistpl.c 			io->win[i].len += *p << (j*8);
io               1141 drivers/pcmcia/cistpl.c 		p = parse_io(p, q, &entry->io);
io               1145 drivers/pcmcia/cistpl.c 		entry->io.nwin = 0;
io                 33 drivers/pcmcia/cs_internal.h 	struct resource io[MAX_IO_WIN]; /* io ports */
io                561 drivers/pcmcia/ds.c 			c->io[i].name = p_dev->devname;
io                562 drivers/pcmcia/ds.c 			c->io[i].flags = IORESOURCE_IO;
io                570 drivers/pcmcia/ds.c 		p_dev->resource[i] = &p_dev->function_config->io[i];
io                147 drivers/pcmcia/electra_cf.c 				 struct pccard_io_map *io)
io                180 drivers/pcmcia/electra_cf.c 	struct resource mem, io;
io                190 drivers/pcmcia/electra_cf.c 	err = of_address_to_resource(np, 1, &io);
io                205 drivers/pcmcia/electra_cf.c 	cf->io_size = PAGE_ALIGN(resource_size(&io));
io                219 drivers/pcmcia/electra_cf.c 	    (__ioremap_at(io.start, cf->io_virt, cf->io_size,
io                294 drivers/pcmcia/electra_cf.c 		 cf->mem_phys, io.start, cf->irq);
io                400 drivers/pcmcia/i82092.c         pccard_io_map io = { 0, 0, 0, 0, 1 };
io                406 drivers/pcmcia/i82092.c         	io.map = i;
io                407 drivers/pcmcia/i82092.c                 i82092aa_set_io_map(sock, &io);
io                558 drivers/pcmcia/i82092.c static int i82092aa_set_io_map(struct pcmcia_socket *socket, struct pccard_io_map *io)
io                565 drivers/pcmcia/i82092.c 	map = io->map;
io                572 drivers/pcmcia/i82092.c 	if ((io->start > 0xffff) || (io->stop > 0xffff) || (io->stop < io->start)){
io                584 drivers/pcmcia/i82092.c 	indirect_write16(sock,I365_IO(map)+I365_W_START,io->start);            	
io                585 drivers/pcmcia/i82092.c 	indirect_write16(sock,I365_IO(map)+I365_W_STOP,io->stop);            	
io                589 drivers/pcmcia/i82092.c 	if (io->flags & (MAP_16BIT|MAP_AUTOSZ))
io                595 drivers/pcmcia/i82092.c 	if (io->flags & MAP_ACTIVE)
io                 32 drivers/pcmcia/i82092aa.h static int i82092aa_set_io_map(struct pcmcia_socket *socket, struct pccard_io_map *io);
io               1032 drivers/pcmcia/i82365.c static int i365_set_io_map(u_short sock, struct pccard_io_map *io)
io               1037 drivers/pcmcia/i82365.c 	  "%#llx-%#llx)\n", sock, io->map, io->flags, io->speed,
io               1038 drivers/pcmcia/i82365.c 	  (unsigned long long)io->start, (unsigned long long)io->stop);
io               1039 drivers/pcmcia/i82365.c     map = io->map;
io               1040 drivers/pcmcia/i82365.c     if ((map > 1) || (io->start > 0xffff) || (io->stop > 0xffff) ||
io               1041 drivers/pcmcia/i82365.c 	(io->stop < io->start)) return -EINVAL;
io               1045 drivers/pcmcia/i82365.c     i365_set_pair(sock, I365_IO(map)+I365_W_START, io->start);
io               1046 drivers/pcmcia/i82365.c     i365_set_pair(sock, I365_IO(map)+I365_W_STOP, io->stop);
io               1048 drivers/pcmcia/i82365.c     if (io->speed) ioctl |= I365_IOCTL_WAIT(map);
io               1049 drivers/pcmcia/i82365.c     if (io->flags & MAP_0WS) ioctl |= I365_IOCTL_0WS(map);
io               1050 drivers/pcmcia/i82365.c     if (io->flags & MAP_16BIT) ioctl |= I365_IOCTL_16BIT(map);
io               1051 drivers/pcmcia/i82365.c     if (io->flags & MAP_AUTOSZ) ioctl |= I365_IOCTL_IOCS16(map);
io               1054 drivers/pcmcia/i82365.c     if (io->flags & MAP_ACTIVE)
io               1186 drivers/pcmcia/i82365.c static int pcic_set_io_map(struct pcmcia_socket *s, struct pccard_io_map *io)
io               1192 drivers/pcmcia/i82365.c 	LOCKED(i365_set_io_map(sock, io));
io               1208 drivers/pcmcia/i82365.c 	pccard_io_map io = { 0, 0, 0, 0, 1 };
io               1212 drivers/pcmcia/i82365.c 		io.map = i;
io               1213 drivers/pcmcia/i82365.c 		pcic_set_io_map(s, &io);
io                160 drivers/pcmcia/omap_cf.c omap_cf_set_io_map(struct pcmcia_socket *s, struct pccard_io_map *io)
io                165 drivers/pcmcia/omap_cf.c 	io->flags &= MAP_ACTIVE|MAP_ATTRIB|MAP_16BIT;
io                166 drivers/pcmcia/omap_cf.c 	io->start = cf->phys_cf + SZ_4K;
io                167 drivers/pcmcia/omap_cf.c 	io->stop = io->start + SZ_2K - 1;
io                295 drivers/pcmcia/omap_cf.c 	cf->socket.io[0].res = &cf->iomem;
io                197 drivers/pcmcia/pcmcia_cis.c 		cistpl_io_t *io = (cfg->io.nwin) ? &cfg->io : &dflt->io;
io                202 drivers/pcmcia/pcmcia_cis.c 		if (io->nwin == 0)
io                207 drivers/pcmcia/pcmcia_cis.c 					pcmcia_io_cfg_data_width(io->flags);
io                208 drivers/pcmcia/pcmcia_cis.c 		if (io->nwin > 1) {
io                212 drivers/pcmcia/pcmcia_cis.c 			i = (io->win[1].len > io->win[0].len);
io                214 drivers/pcmcia/pcmcia_cis.c 			p_dev->resource[1]->start = io->win[1-i].base;
io                215 drivers/pcmcia/pcmcia_cis.c 			p_dev->resource[1]->end = io->win[1-i].len;
io                217 drivers/pcmcia/pcmcia_cis.c 		p_dev->resource[0]->start = io->win[i].base;
io                218 drivers/pcmcia/pcmcia_cis.c 		p_dev->resource[0]->end = io->win[i].len;
io                219 drivers/pcmcia/pcmcia_cis.c 		p_dev->io_lines = io->flags & CISTPL_IO_LINES_MASK;
io                 68 drivers/pcmcia/pcmcia_resource.c 		if (!s->io[i].res)
io                 70 drivers/pcmcia/pcmcia_resource.c 		if ((s->io[i].res->start <= res->start) &&
io                 71 drivers/pcmcia/pcmcia_resource.c 		    (s->io[i].res->end >= res->end)) {
io                 72 drivers/pcmcia/pcmcia_resource.c 			s->io[i].InUse -= num;
io                 78 drivers/pcmcia/pcmcia_resource.c 			if (s->io[i].InUse == 0) {
io                 79 drivers/pcmcia/pcmcia_resource.c 				release_resource(s->io[i].res);
io                 80 drivers/pcmcia/pcmcia_resource.c 				kfree(s->io[i].res);
io                 81 drivers/pcmcia/pcmcia_resource.c 				s->io[i].res = NULL;
io                273 drivers/pcmcia/pcmcia_resource.c 		if (!s->io[i].res)
io                279 drivers/pcmcia/pcmcia_resource.c 		io_on.start = s->io[i].res->start;
io                280 drivers/pcmcia/pcmcia_resource.c 		io_on.stop = s->io[i].res->end;
io                348 drivers/pcmcia/pcmcia_resource.c 	pccard_io_map io = { 0, 0, 0, 0, 1 };
io                368 drivers/pcmcia/pcmcia_resource.c 				if (!s->io[i].res)
io                370 drivers/pcmcia/pcmcia_resource.c 				s->io[i].Config--;
io                371 drivers/pcmcia/pcmcia_resource.c 				if (s->io[i].Config != 0)
io                373 drivers/pcmcia/pcmcia_resource.c 				io.map = i;
io                374 drivers/pcmcia/pcmcia_resource.c 				s->ops->set_io_map(s, &io);
io                405 drivers/pcmcia/pcmcia_resource.c 	release_io_space(s, &c->io[0]);
io                407 drivers/pcmcia/pcmcia_resource.c 	if (c->io[1].end)
io                408 drivers/pcmcia/pcmcia_resource.c 		release_io_space(s, &c->io[1]);
io                576 drivers/pcmcia/pcmcia_resource.c 		u8 b = c->io[0].start & 0xff;
io                578 drivers/pcmcia/pcmcia_resource.c 		b = (c->io[0].start >> 8) & 0xff;
io                582 drivers/pcmcia/pcmcia_resource.c 		u8 b = resource_size(&c->io[0]) + resource_size(&c->io[1]) - 1;
io                590 drivers/pcmcia/pcmcia_resource.c 			if (s->io[i].res) {
io                593 drivers/pcmcia/pcmcia_resource.c 				switch (s->io[i].res->flags & IO_DATA_PATH_WIDTH) {
io                601 drivers/pcmcia/pcmcia_resource.c 				iomap.start = s->io[i].res->start;
io                602 drivers/pcmcia/pcmcia_resource.c 				iomap.stop = s->io[i].res->end;
io                604 drivers/pcmcia/pcmcia_resource.c 				s->io[i].Config++;
io                634 drivers/pcmcia/pcmcia_resource.c 		&c->io[0], &c->io[1]);
io                650 drivers/pcmcia/pcmcia_resource.c 	ret = alloc_io_space(s, &c->io[0], p_dev->io_lines);
io                654 drivers/pcmcia/pcmcia_resource.c 	if (c->io[1].end) {
io                655 drivers/pcmcia/pcmcia_resource.c 		ret = alloc_io_space(s, &c->io[1], p_dev->io_lines);
io                657 drivers/pcmcia/pcmcia_resource.c 			struct resource tmp = c->io[0];
io                659 drivers/pcmcia/pcmcia_resource.c 			release_io_space(s, &c->io[0]);
io                661 drivers/pcmcia/pcmcia_resource.c 			c->io[0].end = resource_size(&tmp);
io                662 drivers/pcmcia/pcmcia_resource.c 			c->io[0].start = tmp.start;
io                663 drivers/pcmcia/pcmcia_resource.c 			c->io[0].flags = tmp.flags;
io                667 drivers/pcmcia/pcmcia_resource.c 		c->io[1].start = 0;
io                673 drivers/pcmcia/pcmcia_resource.c 		&c->io[0], &c->io[1]);
io                423 drivers/pcmcia/pd6729.c 			     struct pccard_io_map *io)
io                429 drivers/pcmcia/pd6729.c 	map = io->map;
io                445 drivers/pcmcia/pd6729.c 	indirect_write16(socket, I365_IO(map)+I365_W_START, io->start);
io                446 drivers/pcmcia/pd6729.c 	indirect_write16(socket, I365_IO(map)+I365_W_STOP, io->stop);
io                450 drivers/pcmcia/pd6729.c 	if (io->flags & MAP_0WS)
io                452 drivers/pcmcia/pd6729.c 	if (io->flags & MAP_16BIT)
io                454 drivers/pcmcia/pd6729.c 	if (io->flags & MAP_AUTOSZ)
io                460 drivers/pcmcia/pd6729.c 	if (io->flags & MAP_ACTIVE)
io                547 drivers/pcmcia/pd6729.c 	pccard_io_map io = { 0, 0, 0, 0, 1 };
io                552 drivers/pcmcia/pd6729.c 		io.map = i;
io                553 drivers/pcmcia/pd6729.c 		pd6729_set_io_map(sock, &io);
io                173 drivers/pcmcia/pxa2xx_base.c 	pxa2xx_pcmcia_set_mcio(sock, timing.io, clk);
io                 95 drivers/pcmcia/rsrc_iodyn.c 		if (!s->io[i].res)
io                101 drivers/pcmcia/rsrc_iodyn.c 		if ((s->io[i].res->start & (align-1)) == *base)
io                106 drivers/pcmcia/rsrc_iodyn.c 		struct resource *res = s->io[i].res;
io                117 drivers/pcmcia/rsrc_iodyn.c 			res = s->io[i].res = __iodyn_find_io_region(s, *base,
io                123 drivers/pcmcia/rsrc_iodyn.c 			s->io[i].res->flags =
io                126 drivers/pcmcia/rsrc_iodyn.c 			s->io[i].InUse = num;
io                134 drivers/pcmcia/rsrc_iodyn.c 			if (adjust_resource(s->io[i].res, res->start,
io                138 drivers/pcmcia/rsrc_iodyn.c 			s->io[i].InUse += num;
io                146 drivers/pcmcia/rsrc_iodyn.c 			if (adjust_resource(s->io[i].res,
io                151 drivers/pcmcia/rsrc_iodyn.c 			s->io[i].InUse += num;
io                724 drivers/pcmcia/rsrc_nonstatic.c 		if (!s->io[i].res)
io                730 drivers/pcmcia/rsrc_nonstatic.c 		if ((s->io[i].res->start & (align-1)) == *base)
io                735 drivers/pcmcia/rsrc_nonstatic.c 		struct resource *res = s->io[i].res;
io                746 drivers/pcmcia/rsrc_nonstatic.c 			res = s->io[i].res = __nonstatic_find_io_region(s,
io                753 drivers/pcmcia/rsrc_nonstatic.c 			s->io[i].res->flags =
io                756 drivers/pcmcia/rsrc_nonstatic.c 			s->io[i].InUse = num;
io                767 drivers/pcmcia/rsrc_nonstatic.c 				ret = adjust_resource(s->io[i].res, res->start,
io                772 drivers/pcmcia/rsrc_nonstatic.c 				s->io[i].InUse += num;
io                785 drivers/pcmcia/rsrc_nonstatic.c 				ret = adjust_resource(s->io[i].res,
io                791 drivers/pcmcia/rsrc_nonstatic.c 				s->io[i].InUse += num;
io                 88 drivers/pcmcia/sa11xx_base.c 	bs_io = skt->ops->get_timing(skt, cpu_clock, timing.io);
io                153 drivers/pcmcia/sa11xx_base.c 	p+=sprintf(p, "I/O      : %uns (%uns)\n", timing.io,
io                137 drivers/pcmcia/soc_common.c 	timing->io =
io                148 drivers/pcmcia/soc_common.h 	unsigned short io;
io                694 drivers/pcmcia/tcic.c static int tcic_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io)
io                701 drivers/pcmcia/tcic.c 	  "%#llx-%#llx)\n", psock, io->map, io->flags, io->speed,
io                702 drivers/pcmcia/tcic.c 	  (unsigned long long)io->start, (unsigned long long)io->stop);
io                703 drivers/pcmcia/tcic.c     if ((io->map > 1) || (io->start > 0xffff) || (io->stop > 0xffff) ||
io                704 drivers/pcmcia/tcic.c 	(io->stop < io->start)) return -EINVAL;
io                706 drivers/pcmcia/tcic.c     addr = TCIC_IWIN(psock, io->map);
io                708 drivers/pcmcia/tcic.c     base = io->start; len = io->stop - io->start;
io                717 drivers/pcmcia/tcic.c     ioctl |= (io->flags & MAP_ACTIVE) ? TCIC_ICTL_ENA : 0;
io                718 drivers/pcmcia/tcic.c     ioctl |= to_cycles(io->speed) & TCIC_ICTL_WSCNT_MASK;
io                719 drivers/pcmcia/tcic.c     if (!(io->flags & MAP_AUTOSZ)) {
io                721 drivers/pcmcia/tcic.c 	ioctl |= (io->flags & MAP_16BIT) ? TCIC_ICTL_BW_16 : TCIC_ICTL_BW_8;
io                780 drivers/pcmcia/tcic.c 	pccard_io_map io = { 0, 0, 0, 0, 1 };
io                784 drivers/pcmcia/tcic.c 		io.map = i;
io                785 drivers/pcmcia/tcic.c 		tcic_set_io_map(s, &io);
io                367 drivers/pcmcia/vrc4171_card.c static int pccard_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io)
io                374 drivers/pcmcia/vrc4171_card.c 	    io == NULL || io->map >= IO_MAX_MAPS ||
io                375 drivers/pcmcia/vrc4171_card.c 	    io->start > 0xffff || io->stop > 0xffff || io->start > io->stop)
io                379 drivers/pcmcia/vrc4171_card.c 	map = io->map;
io                387 drivers/pcmcia/vrc4171_card.c 	exca_write_word(slot, I365_IO(map)+I365_W_START, io->start);
io                388 drivers/pcmcia/vrc4171_card.c 	exca_write_word(slot, I365_IO(map)+I365_W_STOP, io->stop);
io                391 drivers/pcmcia/vrc4171_card.c 	if (io->speed > 0)
io                393 drivers/pcmcia/vrc4171_card.c 	if (io->flags & MAP_16BIT)
io                395 drivers/pcmcia/vrc4171_card.c 	if (io->flags & MAP_AUTOSZ)
io                397 drivers/pcmcia/vrc4171_card.c 	if (io->flags & MAP_0WS)
io                401 drivers/pcmcia/vrc4171_card.c 	if (io->flags & MAP_ACTIVE) {
io                248 drivers/pcmcia/vrc4173_cardu.c static int cardu_get_io_map(unsigned int sock, struct pccard_io_map *io)
io                254 drivers/pcmcia/vrc4173_cardu.c 	map = io->map;
io                258 drivers/pcmcia/vrc4173_cardu.c 	io->start = exca_readw(socket, IO_WIN_SA(map));
io                259 drivers/pcmcia/vrc4173_cardu.c 	io->stop = exca_readw(socket, IO_WIN_EA(map));
io                263 drivers/pcmcia/vrc4173_cardu.c 	io->flags  = (window & IO_WIN_EN(map)) ? MAP_ACTIVE : 0;
io                265 drivers/pcmcia/vrc4173_cardu.c 		io->flags |= MAP_AUTOSZ;
io                267 drivers/pcmcia/vrc4173_cardu.c 		io->flags |= MAP_16BIT;
io                272 drivers/pcmcia/vrc4173_cardu.c static int cardu_set_io_map(unsigned int sock, struct pccard_io_map *io)
io                279 drivers/pcmcia/vrc4173_cardu.c 	map = io->map;
io                291 drivers/pcmcia/vrc4173_cardu.c 	exca_writew(socket, IO_WIN_SA(map), io->start);
io                292 drivers/pcmcia/vrc4173_cardu.c 	exca_writew(socket, IO_WIN_EA(map), io->stop);
io                295 drivers/pcmcia/vrc4173_cardu.c 	if (io->flags & MAP_AUTOSZ) ioctl |= IO_WIN_DATA_AUTOSZ(map);
io                296 drivers/pcmcia/vrc4173_cardu.c 	else if (io->flags & MAP_16BIT) ioctl |= IO_WIN_DATA_16BIT(map);
io                299 drivers/pcmcia/vrc4173_cardu.c 	if (io->flags & MAP_ACTIVE)
io                404 drivers/pcmcia/yenta_socket.c static int yenta_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io)
io                410 drivers/pcmcia/yenta_socket.c 	map = io->map;
io                424 drivers/pcmcia/yenta_socket.c 	exca_writew(socket, I365_IO(map)+I365_W_START, io->start);
io                425 drivers/pcmcia/yenta_socket.c 	exca_writew(socket, I365_IO(map)+I365_W_STOP, io->stop);
io                428 drivers/pcmcia/yenta_socket.c 	if (io->flags & MAP_0WS)
io                430 drivers/pcmcia/yenta_socket.c 	if (io->flags & MAP_16BIT)
io                432 drivers/pcmcia/yenta_socket.c 	if (io->flags & MAP_AUTOSZ)
io                436 drivers/pcmcia/yenta_socket.c 	if (io->flags & MAP_ACTIVE)
io                552 drivers/pcmcia/yenta_socket.c 	pccard_io_map io = { 0, 0, 0, 0, 1 };
io                557 drivers/pcmcia/yenta_socket.c 		io.map = i;
io                558 drivers/pcmcia/yenta_socket.c 		yenta_set_io_map(&socket->socket, &io);
io                 82 drivers/pinctrl/qcom/pinctrl-msm.c MSM_ACCESSOR(io)
io                430 drivers/platform/x86/fujitsu-tablet.c 		fujitsu.io_base = res->data.io.minimum;
io                431 drivers/platform/x86/fujitsu-tablet.c 		fujitsu.io_length = res->data.io.address_length;
io               4389 drivers/platform/x86/sony-laptop.c 			struct acpi_resource_io *io = &resource->data.io;
io               4392 drivers/platform/x86/sony-laptop.c 			if (!io) {
io               4398 drivers/platform/x86/sony-laptop.c 				memcpy(&ioport->io1, io, sizeof(*io));
io               4403 drivers/platform/x86/sony-laptop.c 				memcpy(&ioport->io2, io, sizeof(*io));
io               4523 drivers/platform/x86/sony-laptop.c 		memcpy(&resource->res1.data.io, &ioport->io1,
io               4528 drivers/platform/x86/sony-laptop.c 		memcpy(&resource->res2.data.io, &ioport->io2,
io               4547 drivers/platform/x86/sony-laptop.c 		memcpy(&resource->res1.data.io, &ioport->io1,
io               4655 drivers/platform/x86/sony-laptop.c 	struct sony_pic_ioport *io, *tmp_io;
io               4678 drivers/platform/x86/sony-laptop.c 	list_for_each_entry_safe(io, tmp_io, &spic_dev.ioports, list) {
io               4679 drivers/platform/x86/sony-laptop.c 		list_del(&io->list);
io               4680 drivers/platform/x86/sony-laptop.c 		kfree(io);
io               4696 drivers/platform/x86/sony-laptop.c 	struct sony_pic_ioport *io, *tmp_io;
io               4723 drivers/platform/x86/sony-laptop.c 	list_for_each_entry_reverse(io, &spic_dev.ioports, list) {
io               4724 drivers/platform/x86/sony-laptop.c 		if (request_region(io->io1.minimum, io->io1.address_length,
io               4727 drivers/platform/x86/sony-laptop.c 					io->io1.minimum, io->io1.maximum,
io               4728 drivers/platform/x86/sony-laptop.c 					io->io1.address_length);
io               4730 drivers/platform/x86/sony-laptop.c 			if (io->io2.minimum) {
io               4731 drivers/platform/x86/sony-laptop.c 				if (request_region(io->io2.minimum,
io               4732 drivers/platform/x86/sony-laptop.c 						io->io2.address_length,
io               4735 drivers/platform/x86/sony-laptop.c 							io->io2.minimum, io->io2.maximum,
io               4736 drivers/platform/x86/sony-laptop.c 							io->io2.address_length);
io               4737 drivers/platform/x86/sony-laptop.c 					spic_dev.cur_ioport = io;
io               4743 drivers/platform/x86/sony-laptop.c 							io->io2.minimum, io->io2.maximum,
io               4744 drivers/platform/x86/sony-laptop.c 							io->io2.address_length);
io               4745 drivers/platform/x86/sony-laptop.c 					release_region(io->io1.minimum,
io               4746 drivers/platform/x86/sony-laptop.c 							io->io1.address_length);
io               4750 drivers/platform/x86/sony-laptop.c 				spic_dev.cur_ioport = io;
io               4824 drivers/platform/x86/sony-laptop.c 	list_for_each_entry_safe(io, tmp_io, &spic_dev.ioports, list) {
io               4825 drivers/platform/x86/sony-laptop.c 		list_del(&io->list);
io               4826 drivers/platform/x86/sony-laptop.c 		kfree(io);
io                348 drivers/pnp/pnpacpi/rsparser.c 					     struct acpi_resource_io *io)
io                352 drivers/pnp/pnpacpi/rsparser.c 	if (io->io_decode == ACPI_DECODE_16)
io                354 drivers/pnp/pnpacpi/rsparser.c 	pnp_register_port_resource(dev, option_flags, io->minimum, io->maximum,
io                355 drivers/pnp/pnpacpi/rsparser.c 				   io->alignment, io->address_length, flags);
io                360 drivers/pnp/pnpacpi/rsparser.c 					struct acpi_resource_fixed_io *io)
io                362 drivers/pnp/pnpacpi/rsparser.c 	pnp_register_port_resource(dev, option_flags, io->address, io->address,
io                363 drivers/pnp/pnpacpi/rsparser.c 				   0, io->address_length, IORESOURCE_IO_FIXED);
io                495 drivers/pnp/pnpacpi/rsparser.c 		pnpacpi_parse_port_option(dev, option_flags, &res->data.io);
io                767 drivers/pnp/pnpacpi/rsparser.c 	struct acpi_resource_io *io = &resource->data.io;
io                771 drivers/pnp/pnpacpi/rsparser.c 		io->io_decode = (p->flags & IORESOURCE_IO_16BIT_ADDR) ?
io                773 drivers/pnp/pnpacpi/rsparser.c 		io->minimum = p->start;
io                774 drivers/pnp/pnpacpi/rsparser.c 		io->maximum = p->end;
io                775 drivers/pnp/pnpacpi/rsparser.c 		io->alignment = 0;	/* Correct? */
io                776 drivers/pnp/pnpacpi/rsparser.c 		io->address_length = resource_size(p);
io                778 drivers/pnp/pnpacpi/rsparser.c 		io->minimum = 0;
io                779 drivers/pnp/pnpacpi/rsparser.c 		io->address_length = 0;
io                782 drivers/pnp/pnpacpi/rsparser.c 	pnp_dbg(&dev->dev, "  encode io %#x-%#x decode %#x\n", io->minimum,
io                783 drivers/pnp/pnpacpi/rsparser.c 		io->minimum + io->address_length - 1, io->io_decode);
io                 85 drivers/pnp/pnpbios/rsparser.c 	int io, size, mask, i, flags;
io                110 drivers/pnp/pnpbios/rsparser.c 			io = *(short *)&p[4];
io                112 drivers/pnp/pnpbios/rsparser.c 			pnpbios_parse_allocated_memresource(dev, io, size);
io                126 drivers/pnp/pnpbios/rsparser.c 			io = *(int *)&p[4];
io                128 drivers/pnp/pnpbios/rsparser.c 			pnpbios_parse_allocated_memresource(dev, io, size);
io                134 drivers/pnp/pnpbios/rsparser.c 			io = *(int *)&p[4];
io                136 drivers/pnp/pnpbios/rsparser.c 			pnpbios_parse_allocated_memresource(dev, io, size);
io                143 drivers/pnp/pnpbios/rsparser.c 			io = -1;
io                147 drivers/pnp/pnpbios/rsparser.c 					io = i;
io                148 drivers/pnp/pnpbios/rsparser.c 			if (io != -1)
io                149 drivers/pnp/pnpbios/rsparser.c 				pcibios_penalize_isa_irq(io, 1);
io                152 drivers/pnp/pnpbios/rsparser.c 			pnp_add_irq_resource(dev, io, flags);
io                159 drivers/pnp/pnpbios/rsparser.c 			io = -1;
io                163 drivers/pnp/pnpbios/rsparser.c 					io = i;
io                164 drivers/pnp/pnpbios/rsparser.c 			if (io == -1)
io                166 drivers/pnp/pnpbios/rsparser.c 			pnp_add_dma_resource(dev, io, flags);
io                172 drivers/pnp/pnpbios/rsparser.c 			io = p[2] + p[3] * 256;
io                174 drivers/pnp/pnpbios/rsparser.c 			pnpbios_parse_allocated_ioresource(dev, io, size);
io                184 drivers/pnp/pnpbios/rsparser.c 			io = p[1] + p[2] * 256;
io                186 drivers/pnp/pnpbios/rsparser.c 			pnpbios_parse_allocated_ioresource(dev, io, size);
io                120 drivers/power/supply/ds2760_battery.c 			int io)
io                137 drivers/power/supply/ds2760_battery.c 		if (!io) {
io                 56 drivers/power/supply/ds2780_battery.c 	char *buf, int addr, size_t count, int io)
io                 58 drivers/power/supply/ds2780_battery.c 	return w1_ds2780_io(dev_info->w1_dev, buf, addr, count, io);
io                 54 drivers/power/supply/ds2781_battery.c 	char *buf, int addr, size_t count, int io)
io                 56 drivers/power/supply/ds2781_battery.c 	return w1_ds2781_io(dev_info->w1_dev, buf, addr, count, io);
io                 59 drivers/rtc/rtc-stmp3xxx.c 	void __iomem *io;
io                 83 drivers/rtc/rtc-stmp3xxx.c 		writel(timeout, rtc_data->io + STMP3XXX_RTC_WATCHDOG);
io                 85 drivers/rtc/rtc-stmp3xxx.c 		       rtc_data->io + STMP3XXX_RTC_CTRL + STMP_OFFSET_REG_SET);
io                 87 drivers/rtc/rtc-stmp3xxx.c 		       rtc_data->io + STMP3XXX_RTC_PERSISTENT1 + STMP_OFFSET_REG_SET);
io                 90 drivers/rtc/rtc-stmp3xxx.c 		       rtc_data->io + STMP3XXX_RTC_CTRL + STMP_OFFSET_REG_CLR);
io                 92 drivers/rtc/rtc-stmp3xxx.c 		       rtc_data->io + STMP3XXX_RTC_PERSISTENT1 + STMP_OFFSET_REG_CLR);
io                136 drivers/rtc/rtc-stmp3xxx.c 		if (!(readl(rtc_data->io + STMP3XXX_RTC_STAT) &
io                141 drivers/rtc/rtc-stmp3xxx.c 	return (readl(rtc_data->io + STMP3XXX_RTC_STAT) &
io                155 drivers/rtc/rtc-stmp3xxx.c 	rtc_time64_to_tm(readl(rtc_data->io + STMP3XXX_RTC_SECONDS), rtc_tm);
io                163 drivers/rtc/rtc-stmp3xxx.c 	writel(rtc_tm_to_time64(rtc_tm), rtc_data->io + STMP3XXX_RTC_SECONDS);
io                171 drivers/rtc/rtc-stmp3xxx.c 	u32 status = readl(rtc_data->io + STMP3XXX_RTC_CTRL);
io                175 drivers/rtc/rtc-stmp3xxx.c 			rtc_data->io + STMP3XXX_RTC_CTRL + STMP_OFFSET_REG_CLR);
io                190 drivers/rtc/rtc-stmp3xxx.c 			rtc_data->io + STMP3XXX_RTC_PERSISTENT0 +
io                193 drivers/rtc/rtc-stmp3xxx.c 			rtc_data->io + STMP3XXX_RTC_CTRL + STMP_OFFSET_REG_SET);
io                197 drivers/rtc/rtc-stmp3xxx.c 			rtc_data->io + STMP3XXX_RTC_PERSISTENT0 +
io                200 drivers/rtc/rtc-stmp3xxx.c 			rtc_data->io + STMP3XXX_RTC_CTRL + STMP_OFFSET_REG_CLR);
io                209 drivers/rtc/rtc-stmp3xxx.c 	rtc_time64_to_tm(readl(rtc_data->io + STMP3XXX_RTC_ALARM), &alm->time);
io                217 drivers/rtc/rtc-stmp3xxx.c 	writel(rtc_tm_to_time64(&alm->time), rtc_data->io + STMP3XXX_RTC_ALARM);
io                241 drivers/rtc/rtc-stmp3xxx.c 		rtc_data->io + STMP3XXX_RTC_CTRL + STMP_OFFSET_REG_CLR);
io                265 drivers/rtc/rtc-stmp3xxx.c 	rtc_data->io = devm_ioremap(&pdev->dev, r->start, resource_size(r));
io                266 drivers/rtc/rtc-stmp3xxx.c 	if (!rtc_data->io) {
io                273 drivers/rtc/rtc-stmp3xxx.c 	rtc_stat = readl(rtc_data->io + STMP3XXX_RTC_STAT);
io                286 drivers/rtc/rtc-stmp3xxx.c 	if (readl(rtc_data->io + STMP3XXX_RTC_CTRL) &
io                291 drivers/rtc/rtc-stmp3xxx.c 		err = stmp_reset_block(rtc_data->io);
io                342 drivers/rtc/rtc-stmp3xxx.c 	writel(pers0_set, rtc_data->io + STMP3XXX_RTC_PERSISTENT0 +
io                348 drivers/rtc/rtc-stmp3xxx.c 		rtc_data->io + STMP3XXX_RTC_PERSISTENT0 + STMP_OFFSET_REG_CLR);
io                352 drivers/rtc/rtc-stmp3xxx.c 		rtc_data->io + STMP3XXX_RTC_CTRL + STMP_OFFSET_REG_CLR);
io                387 drivers/rtc/rtc-stmp3xxx.c 	stmp_reset_block(rtc_data->io);
io                391 drivers/rtc/rtc-stmp3xxx.c 		rtc_data->io + STMP3XXX_RTC_PERSISTENT0 + STMP_OFFSET_REG_CLR);
io                654 drivers/s390/scsi/zfcp_dbf.c 		fcp_rsp = &(fsf->qtcb->bottom.io.fcp_rsp.iu);
io                313 drivers/s390/scsi/zfcp_dbf.h 	fcp_rsp = &qtcb->bottom.io.fcp_rsp.iu.resp;
io               2074 drivers/s390/scsi/zfcp_fsf.c 		switch (req->qtcb->bottom.io.data_direction) {
io               2137 drivers/s390/scsi/zfcp_fsf.c 			req->qtcb->bottom.io.data_direction,
io               2146 drivers/s390/scsi/zfcp_fsf.c 			req->qtcb->bottom.io.fcp_cmnd_length);
io               2209 drivers/s390/scsi/zfcp_fsf.c 	fcp_rsp = &req->qtcb->bottom.io.fcp_rsp.iu;
io               2279 drivers/s390/scsi/zfcp_fsf.c 	struct fsf_qtcb_bottom_io *io;
io               2305 drivers/s390/scsi/zfcp_fsf.c 	io = &req->qtcb->bottom.io;
io               2311 drivers/s390/scsi/zfcp_fsf.c 	io->service_class = FSF_CLASS_3;
io               2312 drivers/s390/scsi/zfcp_fsf.c 	io->fcp_cmnd_length = FCP_CMND_LEN;
io               2315 drivers/s390/scsi/zfcp_fsf.c 		io->data_block_length = scsi_cmnd->device->sector_size;
io               2316 drivers/s390/scsi/zfcp_fsf.c 		io->ref_tag_value = scsi_get_lba(scsi_cmnd) & 0xFFFFFFFF;
io               2319 drivers/s390/scsi/zfcp_fsf.c 	if (zfcp_fsf_set_data_dir(scsi_cmnd, &io->data_direction))
io               2323 drivers/s390/scsi/zfcp_fsf.c 	fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu;
io               2334 drivers/s390/scsi/zfcp_fsf.c 		io->prot_data_length = zfcp_qdio_real_bytes(
io               2370 drivers/s390/scsi/zfcp_fsf.c 	fcp_rsp = &req->qtcb->bottom.io.fcp_rsp.iu;
io               2415 drivers/s390/scsi/zfcp_fsf.c 	req->qtcb->bottom.io.data_direction = FSF_DATADIR_CMND;
io               2416 drivers/s390/scsi/zfcp_fsf.c 	req->qtcb->bottom.io.service_class = FSF_CLASS_3;
io               2417 drivers/s390/scsi/zfcp_fsf.c 	req->qtcb->bottom.io.fcp_cmnd_length = FCP_CMND_LEN;
io               2421 drivers/s390/scsi/zfcp_fsf.c 	fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu;
io                414 drivers/s390/scsi/zfcp_fsf.h 	struct fsf_qtcb_bottom_io      io;
io                500 drivers/scsi/3w-9xxx.h 		} io;
io                231 drivers/scsi/3w-sas.h 		} io;
io                971 drivers/scsi/3w-xxxx.c 				tw_ioctl->firmware_command.byte8.io.sgl[0].address = dma_handle + sizeof(TW_New_Ioctl) - 1;
io                972 drivers/scsi/3w-xxxx.c 				tw_ioctl->firmware_command.byte8.io.sgl[0].length = data_buffer_length_adjusted;
io               1754 drivers/scsi/3w-xxxx.c 	command_packet->byte8.io.lba = lba;
io               1762 drivers/scsi/3w-xxxx.c 		command_packet->byte8.io.sgl[i].address = sg_dma_address(sg);
io               1763 drivers/scsi/3w-xxxx.c 		command_packet->byte8.io.sgl[i].length = sg_dma_len(sg);
io                309 drivers/scsi/3w-xxxx.h 		} io;
io                202 drivers/scsi/NCR5380.h 	u8 __iomem *io;				/* Remapped 5380 address */
io                322 drivers/scsi/aha152x.c static int io[] = {0, 0};
io                323 drivers/scsi/aha152x.c module_param_hw_array(io, int, ioport, NULL, 0);
io                324 drivers/scsi/aha152x.c MODULE_PARM_DESC(io,"base io address of controller");
io               3128 drivers/scsi/aha152x.c 	if (setup_count<ARRAY_SIZE(setup) && (aha152x[0]!=0 || io[0]!=0 || irq[0]!=0)) {
io               3139 drivers/scsi/aha152x.c 		} else if (io[0] != 0 || irq[0] != 0) {
io               3140 drivers/scsi/aha152x.c 			if(io[0]!=0)  setup[setup_count].io_port = io[0];
io               3165 drivers/scsi/aha152x.c 	if (setup_count<ARRAY_SIZE(setup) && (aha152x1[0]!=0 || io[1]!=0 || irq[1]!=0)) {
io               3176 drivers/scsi/aha152x.c 		} else if (io[1] != 0 || irq[1] != 0) {
io               3177 drivers/scsi/aha152x.c 			if(io[1]!=0)  setup[setup_count].io_port = io[1];
io                 34 drivers/scsi/aha1542.c static int io[MAXBOARDS] = { 0x330, 0x334, 0, 0 };
io                 35 drivers/scsi/aha1542.c module_param_hw_array(io, int, ioport, NULL, 0);
io                 36 drivers/scsi/aha1542.c MODULE_PARM_DESC(io, "base IO address of controller (0x130,0x134,0x230,0x234,0x330,0x334, default=0x330,0x334)");
io                731 drivers/scsi/aha1542.c 	unsigned int base_io = io[indx];
io               1057 drivers/scsi/aha1542.c 	for (indx = 0; indx < ARRAY_SIZE(io); indx++) {
io               1058 drivers/scsi/aha1542.c 		if (io[indx])
io               1064 drivers/scsi/aha1542.c 		io[indx] = pnp_port_start(pdev, 0);
io               1069 drivers/scsi/aha1542.c 		dev_info(&pdev->dev, "ISAPnP found an AHA1535 at I/O 0x%03X", io[indx]);
io                119 drivers/scsi/aic7xxx/aic7770.c aic7770_config(struct ahc_softc *ahc, struct aic7770_identity *entry, u_int io)
io                132 drivers/scsi/aic7xxx/aic7770.c 	error = aic7770_map_registers(ahc, io);
io                 48 drivers/scsi/arm/cumana_1.c   u8 __iomem *base = hostdata->io;
io                115 drivers/scsi/arm/cumana_1.c   u8 __iomem *base = hostdata->io;
io                186 drivers/scsi/arm/cumana_1.c 	u8 __iomem *base = hostdata->io;
io                202 drivers/scsi/arm/cumana_1.c 	u8 __iomem *base = hostdata->io;
io                247 drivers/scsi/arm/cumana_1.c 	priv(host)->io = ioremap(ecard_resource_start(ec, ECARD_RES_IOCSLOW),
io                251 drivers/scsi/arm/cumana_1.c 	if (!priv(host)->io || !priv(host)->pdma_io) {
io                265 drivers/scsi/arm/cumana_1.c         writeb(0, priv(host)->io + CTRL);
io                287 drivers/scsi/arm/cumana_1.c 	iounmap(priv(host)->io);
io                299 drivers/scsi/arm/cumana_1.c 	void __iomem *base = priv(host)->io;
io                 20 drivers/scsi/arm/oak.c #define NCR5380_read(reg)           readb(hostdata->io + ((reg) << 2))
io                 21 drivers/scsi/arm/oak.c #define NCR5380_write(reg, value)   writeb(value, hostdata->io + ((reg) << 2))
io                 44 drivers/scsi/arm/oak.c   u8 __iomem *base = hostdata->io;
io                 59 drivers/scsi/arm/oak.c   u8 __iomem *base = hostdata->io;
io                135 drivers/scsi/arm/oak.c 	priv(host)->io = ioremap(ecard_resource_start(ec, ECARD_RES_MEMC),
io                137 drivers/scsi/arm/oak.c 	if (!priv(host)->io) {
io                160 drivers/scsi/arm/oak.c 	iounmap(priv(host)->io);
io                172 drivers/scsi/arm/oak.c 	void __iomem *base = priv(host)->io;
io                447 drivers/scsi/bnx2i/bnx2i_iscsi.c 	struct io_bdt *io = &cmd->io_tbl;
io                450 drivers/scsi/bnx2i/bnx2i_iscsi.c 	io->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev,
io                452 drivers/scsi/bnx2i/bnx2i_iscsi.c 					&io->bd_tbl_dma, GFP_KERNEL);
io                453 drivers/scsi/bnx2i/bnx2i_iscsi.c 	if (!io->bd_tbl) {
io                458 drivers/scsi/bnx2i/bnx2i_iscsi.c 	io->bd_valid = 0;
io                 63 drivers/scsi/dmx3191d.c 	unsigned long io;
io                 69 drivers/scsi/dmx3191d.c 	io = pci_resource_start(pdev, 0);
io                 70 drivers/scsi/dmx3191d.c 	if (!request_region(io, DMX3191D_REGION_LEN, DMX3191D_DRIVER_NAME)) {
io                 72 drivers/scsi/dmx3191d.c 				io, io + DMX3191D_REGION_LEN);
io                 82 drivers/scsi/dmx3191d.c 	hostdata->base = io;
io                109 drivers/scsi/dmx3191d.c 	release_region(io, DMX3191D_REGION_LEN);
io                120 drivers/scsi/dmx3191d.c 	unsigned long io = hostdata->base;
io                126 drivers/scsi/dmx3191d.c 	release_region(io, DMX3191D_REGION_LEN);
io                 10 drivers/scsi/fdomain_isa.c static int io[MAXBOARDS_PARAM] = { 0, 0, 0, 0 };
io                 11 drivers/scsi/fdomain_isa.c module_param_hw_array(io, int, ioport, NULL, 0);
io                 12 drivers/scsi/fdomain_isa.c MODULE_PARM_DESC(io, "base I/O address of controller (0x140, 0x150, 0x160, 0x170)");
io                157 drivers/scsi/fdomain_isa.c 	if (!io[ndev])
io                160 drivers/scsi/fdomain_isa.c 	if (!request_region(io[ndev], FDOMAIN_REGION_SIZE, "fdomain_isa")) {
io                161 drivers/scsi/fdomain_isa.c 		dev_err(dev, "base 0x%x already in use", io[ndev]);
io                166 drivers/scsi/fdomain_isa.c 		irq_ = irqs[(inb(io[ndev] + REG_CFG1) & CFG1_IRQ_MASK) >> 1];
io                168 drivers/scsi/fdomain_isa.c 	sh = fdomain_create(io[ndev], irq_, scsi_id[ndev], dev);
io                170 drivers/scsi/fdomain_isa.c 		dev_err(dev, "controller not found at base 0x%x", io[ndev]);
io                171 drivers/scsi/fdomain_isa.c 		release_region(io[ndev], FDOMAIN_REGION_SIZE);
io                203 drivers/scsi/fdomain_isa.c 	if (io[0]) {	/* use module parameters if present */
io                 39 drivers/scsi/g_NCR5380.c 	ioread8(hostdata->io + hostdata->offset + (reg))
io                 41 drivers/scsi/g_NCR5380.c 	iowrite8(value, hostdata->io + hostdata->offset + (reg))
io                322 drivers/scsi/g_NCR5380.c 	hostdata->io = iomem;
io                469 drivers/scsi/g_NCR5380.c 	void __iomem *iomem = hostdata->io;
io                552 drivers/scsi/g_NCR5380.c 				hostdata->io + NCR53C400_host_buffer, 128);
io                630 drivers/scsi/g_NCR5380.c 			memcpy_toio(hostdata->io + NCR53C400_host_buffer,
io                492 drivers/scsi/gdth.c 	    gdth_pcistr.io    = pci_resource_start(pdev, 1);
io                583 drivers/scsi/gdth.c         writeb(0xff, &dp6_ptr->io.irqdel);
io                584 drivers/scsi/gdth.c         writeb(0x00, &dp6_ptr->io.irqen);
io                590 drivers/scsi/gdth.c         writeb(0, &dp6_ptr->io.event);
io                603 drivers/scsi/gdth.c         writeb(0xff, &dp6_ptr->io.irqdel);
io                619 drivers/scsi/gdth.c         writeb(0, &dp6_ptr->io.event);
io                631 drivers/scsi/gdth.c         writeb(0xff, &dp6_ptr->io.irqdel);
io                636 drivers/scsi/gdth.c         ha->plx = (gdt6c_plx_regs *)pcistr->io;
io                895 drivers/scsi/gdth.c         writeb(1, &dp6_ptr->io.irqdel);
io                897 drivers/scsi/gdth.c         writeb(1, &dp6_ptr->io.irqen);
io               1050 drivers/scsi/gdth.c         writeb(0, &((gdt6_dpram_str __iomem *)ha->brd)->io.event);
io               2524 drivers/scsi/gdth.c             writeb(0xff, &dp6_ptr->io.irqdel); /* acknowledge interrupt */
io               2526 drivers/scsi/gdth.c             writeb(0, &dp6_ptr->io.Sema1);     /* reset status semaphore */
io                713 drivers/scsi/gdth.h     } __attribute__((packed)) io;
io                733 drivers/scsi/gdth.h     } __attribute__((packed)) io;
io                801 drivers/scsi/gdth.h     unsigned long               io;                     /* IO address */
io                 38 drivers/scsi/mac_scsi.c #define NCR5380_read(reg)           in_8(hostdata->io + ((reg) << 4))
io                 39 drivers/scsi/mac_scsi.c #define NCR5380_write(reg, value)   out_8(hostdata->io + ((reg) << 4), value)
io                131 drivers/scsi/mac_scsi.c 		: "+a" (addr), "+r" (n), "+r" (result) : "a" (io))
io                158 drivers/scsi/mac_scsi.c 		: "+a" (addr), "+r" (n), "+r" (result) : "a" (io))
io                209 drivers/scsi/mac_scsi.c 		: "+a" (addr), "+r" (n), "+r" (result) : "a" (io))
io                213 drivers/scsi/mac_scsi.c static inline int mac_pdma_recv(void __iomem *io, unsigned char *start, int n)
io                240 drivers/scsi/mac_scsi.c static inline int mac_pdma_send(unsigned char *start, void __iomem *io, int n)
io                274 drivers/scsi/mac_scsi.c 	out_be32(hostdata->io + (CTRL_REG << 4), value);
io                484 drivers/scsi/mac_scsi.c 	hostdata->io = (u8 __iomem *)pio_mem->start;
io               2006 drivers/scsi/megaraid/megaraid_sas.h 	struct megasas_io_frame io;
io                355 drivers/scsi/megaraid/megaraid_sas_base.c 	cmd->frame->io.context = cpu_to_le32(cmd->index);
io               3435 drivers/scsi/megaraid/megaraid_sas_base.c 	cmd->cmd_status_drv = cmd->frame->io.cmd_status;
io               4271 drivers/scsi/megaraid/megaraid_sas_base.c 		cmd->frame->io.context = cpu_to_le32(cmd->index);
io               4272 drivers/scsi/megaraid/megaraid_sas_base.c 		cmd->frame->io.pad_0 = 0;
io                190 drivers/scsi/qedi/qedi_iscsi.c 	struct qedi_io_bdt *io = &cmd->io_tbl;
io                193 drivers/scsi/qedi/qedi_iscsi.c 	io->sge_tbl = dma_alloc_coherent(&qedi->pdev->dev,
io                196 drivers/scsi/qedi/qedi_iscsi.c 					 &io->sge_tbl_dma, GFP_KERNEL);
io                197 drivers/scsi/qedi/qedi_iscsi.c 	if (!io->sge_tbl) {
io                203 drivers/scsi/qedi/qedi_iscsi.c 	io->sge_valid = 0;
io                122 drivers/scsi/snic/snic_debugfs.c 	u64 *io_stats_p = (u64 *) &stats->io;
io                148 drivers/scsi/snic/snic_debugfs.c 			     atomic64_read(&stats->io.active));
io                193 drivers/scsi/snic/snic_debugfs.c 	maxio_tm = (u64) atomic64_read(&stats->io.max_time);
io                209 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.active),
io                210 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.max_active),
io                211 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.num_ios),
io                212 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.compl),
io                213 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.fail),
io                214 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.io_not_found),
io                215 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.alloc_fail),
io                216 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.req_null),
io                217 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.sc_null),
io                218 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.max_sgl),
io                219 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.max_io_sz),
io                220 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.max_qtime),
io                221 drivers/scsi/snic/snic_debugfs.c 		   (u64) atomic64_read(&stats->io.max_cmpl_time),
io                230 drivers/scsi/snic/snic_debugfs.c 			   (u64) atomic64_read(&stats->io.sgl_cnt[i]));
io                244 drivers/scsi/snic/snic_io.c 		atomic64_inc(&snic->s_stats.io.alloc_fail);
io                265 drivers/scsi/snic/snic_io.c 	if (sg_cnt > atomic64_read(&snic->s_stats.io.max_sgl))
io                266 drivers/scsi/snic/snic_io.c 		atomic64_set(&snic->s_stats.io.max_sgl, sg_cnt);
io                269 drivers/scsi/snic/snic_io.c 	atomic64_inc(&snic->s_stats.io.sgl_cnt[sg_cnt - 1]);
io                567 drivers/scsi/snic/snic_io.c 	if (duration > atomic64_read(&snic->s_stats.io.max_time))
io                568 drivers/scsi/snic/snic_io.c 		atomic64_set(&snic->s_stats.io.max_time, duration);
io                223 drivers/scsi/snic/snic_scsi.c 	atomic64_inc(&snic->s_stats.io.active);
io                226 drivers/scsi/snic/snic_scsi.c 		atomic64_dec(&snic->s_stats.io.active);
io                305 drivers/scsi/snic/snic_scsi.c 		struct snic_io_stats *iostats = &snic->s_stats.io;
io                439 drivers/scsi/snic/snic_scsi.c 		atomic64_inc(&snic->s_stats.io.io_not_found);
io                529 drivers/scsi/snic/snic_scsi.c 		atomic64_inc(&snic->s_stats.io.fail);
io                577 drivers/scsi/snic/snic_scsi.c 		atomic64_inc(&snic->s_stats.io.sc_null);
io                610 drivers/scsi/snic/snic_scsi.c 		atomic64_inc(&snic->s_stats.io.req_null);
io                797 drivers/scsi/snic/snic_scsi.c 		atomic64_inc(&snic->s_stats.io.req_null);
io                963 drivers/scsi/snic/snic_scsi.c 		atomic64_inc(&snic->s_stats.io.sc_null);
io                986 drivers/scsi/snic/snic_scsi.c 	act_ios = atomic64_read(&st->io.active);
io                987 drivers/scsi/snic/snic_scsi.c 	atomic64_add(act_ios, &st->io.compl);
io                988 drivers/scsi/snic/snic_scsi.c 	atomic64_sub(act_ios, &st->io.active);
io               1047 drivers/scsi/snic/snic_scsi.c 		atomic64_inc(&snic->s_stats.io.sc_null);
io               1076 drivers/scsi/snic/snic_scsi.c 		atomic64_inc(&snic->s_stats.io.req_null);
io               1269 drivers/scsi/snic/snic_scsi.c 	if (cmpl_time > atomic64_read(&snic->s_stats.io.max_cmpl_time))
io               1270 drivers/scsi/snic/snic_scsi.c 		atomic64_set(&snic->s_stats.io.max_cmpl_time, cmpl_time);
io               1444 drivers/scsi/snic/snic_scsi.c 		atomic64_inc(&snic->s_stats.io.req_null);
io                 94 drivers/scsi/snic/snic_stats.h 	struct snic_io_stats io;
io                109 drivers/scsi/snic/snic_stats.h 	struct snic_io_stats *io = &s_stats->io;
io                112 drivers/scsi/snic/snic_stats.h 	nr_active_ios = atomic64_read(&io->active);
io                113 drivers/scsi/snic/snic_stats.h 	if (atomic64_read(&io->max_active) < nr_active_ios)
io                114 drivers/scsi/snic/snic_stats.h 		atomic64_set(&io->max_active, nr_active_ios);
io                116 drivers/scsi/snic/snic_stats.h 	atomic64_inc(&io->num_ios);
io                123 drivers/scsi/snic/snic_stats.h 	atomic64_dec(&s_stats->io.active);
io                127 drivers/scsi/snic/snic_stats.h 		atomic64_inc(&s_stats->io.compl);
io                 46 drivers/scsi/sun3_scsi.c #define NCR5380_read(reg)               in_8(hostdata->io + (reg))
io                 47 drivers/scsi/sun3_scsi.c #define NCR5380_write(reg, value)       out_8(hostdata->io + (reg), value)
io                590 drivers/scsi/sun3_scsi.c 	hostdata->io = ioaddr;
io                647 drivers/scsi/sun3_scsi.c 	void __iomem *ioaddr = hostdata->io;
io                 31 drivers/soc/fsl/dpio/dpio-driver.c 	struct dpaa2_io *io;
io                 81 drivers/soc/fsl/dpio/dpio-driver.c 	return dpaa2_io_irq(priv->io);
io                236 drivers/soc/fsl/dpio/dpio-driver.c 	priv->io = dpaa2_io_create(&desc, dev);
io                237 drivers/soc/fsl/dpio/dpio-driver.c 	if (!priv->io) {
io                284 drivers/soc/fsl/dpio/dpio-driver.c 	cpu = dpaa2_io_get_cpu(priv->io);
io                286 drivers/soc/fsl/dpio/dpio-driver.c 	dpaa2_io_down(priv->io);
io                 16 drivers/staging/comedi/comedilib.h 			  unsigned int chan, unsigned int *io);
io                 18 drivers/staging/comedi/comedilib.h 		      unsigned int chan, unsigned int io);
io                 31 drivers/staging/comedi/drivers/8255.h 		     int (*io)(struct comedi_device *dev, int dir, int port,
io                 36 drivers/staging/comedi/drivers/8255.h 			int (*io)(struct comedi_device *dev, int dir, int port,
io                 38 drivers/staging/comedi/drivers/comedi_8255.c 	int (*io)(struct comedi_device *dev, int dir, int port, int data,
io                 75 drivers/staging/comedi/drivers/comedi_8255.c 			spriv->io(dev, 1, I8255_DATA_A_REG,
io                 78 drivers/staging/comedi/drivers/comedi_8255.c 			spriv->io(dev, 1, I8255_DATA_B_REG,
io                 81 drivers/staging/comedi/drivers/comedi_8255.c 			spriv->io(dev, 1, I8255_DATA_C_REG,
io                 85 drivers/staging/comedi/drivers/comedi_8255.c 	v = spriv->io(dev, 0, I8255_DATA_A_REG, 0, regbase);
io                 86 drivers/staging/comedi/drivers/comedi_8255.c 	v |= (spriv->io(dev, 0, I8255_DATA_B_REG, 0, regbase) << 8);
io                 87 drivers/staging/comedi/drivers/comedi_8255.c 	v |= (spriv->io(dev, 0, I8255_DATA_C_REG, 0, regbase) << 16);
io                112 drivers/staging/comedi/drivers/comedi_8255.c 	spriv->io(dev, 1, I8255_CTRL_REG, config, regbase);
io                144 drivers/staging/comedi/drivers/comedi_8255.c 			      int (*io)(struct comedi_device *dev,
io                156 drivers/staging/comedi/drivers/comedi_8255.c 	if (io)
io                157 drivers/staging/comedi/drivers/comedi_8255.c 		spriv->io = io;
io                159 drivers/staging/comedi/drivers/comedi_8255.c 		spriv->io = subdev_8255_mmio;
io                161 drivers/staging/comedi/drivers/comedi_8255.c 		spriv->io = subdev_8255_io;
io                204 drivers/staging/comedi/drivers/comedi_8255.c 		     int (*io)(struct comedi_device *dev, int dir, int port,
io                208 drivers/staging/comedi/drivers/comedi_8255.c 	return __subdev_8255_init(dev, s, io, regbase, false);
io                239 drivers/staging/comedi/drivers/comedi_8255.c 			int (*io)(struct comedi_device *dev, int dir, int port,
io                243 drivers/staging/comedi/drivers/comedi_8255.c 	return __subdev_8255_init(dev, s, io, regbase, true);
io                285 drivers/staging/comedi/drivers/pcl726.c 	unsigned long io = dev->iobase;
io                292 drivers/staging/comedi/drivers/pcl726.c 				outb(s->state & 0xff, io + PCL727_DO_LSB_REG);
io                294 drivers/staging/comedi/drivers/pcl726.c 				outb((s->state >> 8), io + PCL727_DO_MSB_REG);
io                297 drivers/staging/comedi/drivers/pcl726.c 				outb(s->state & 0xff, io + PCL726_DO_LSB_REG);
io                299 drivers/staging/comedi/drivers/pcl726.c 				outb((s->state >> 8), io + PCL726_DO_MSB_REG);
io                130 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 			  unsigned int chan, unsigned int *io)
io                145 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 		*io = data[1];
io                151 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 		      unsigned int chan, unsigned int io)
io                161 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 	return comedi_do_insn(dev, &insn, &io);
io                169 drivers/staging/isdn/avm/b1isa.c static int io[MAX_CARDS];
io                172 drivers/staging/isdn/avm/b1isa.c module_param_hw_array(io, int, ioport, NULL, 0);
io                174 drivers/staging/isdn/avm/b1isa.c MODULE_PARM_DESC(io, "I/O base address(es)");
io                214 drivers/staging/isdn/avm/b1isa.c 		if (!io[i])
io                217 drivers/staging/isdn/avm/b1isa.c 		isa_dev[i].resource[0].start = io[i];
io                515 drivers/staging/isdn/avm/t1isa.c static int io[MAX_CARDS];
io                519 drivers/staging/isdn/avm/t1isa.c module_param_hw_array(io, int, ioport, NULL, 0);
io                522 drivers/staging/isdn/avm/t1isa.c MODULE_PARM_DESC(io, "I/O base address(es)");
io                563 drivers/staging/isdn/avm/t1isa.c 		if (!io[i])
io                566 drivers/staging/isdn/avm/t1isa.c 		isa_dev[i].resource[0].start = io[i];
io                586 drivers/staging/isdn/avm/t1isa.c 		if (!io[i])
io                134 drivers/staging/mt7621-pci/pci-mt7621.c 	struct resource io;
io                139 drivers/staging/mt7621-pci/pci-mt7621.c 		resource_size_t io;
io                300 drivers/staging/mt7621-pci/pci-mt7621.c 			res = &pcie->io;
io                301 drivers/staging/mt7621-pci/pci-mt7621.c 			pcie->offset.io = 0x00000000UL;
io                623 drivers/staging/mt7621-pci/pci-mt7621.c 	pci_add_resource_offset(res, &pcie->io, pcie->offset.io);
io                133 drivers/thunderbolt/nhi.c 	void __iomem *io = ring->nhi->iobase;
io                134 drivers/thunderbolt/nhi.c 	io += ring->is_tx ? REG_TX_RING_BASE : REG_RX_RING_BASE;
io                135 drivers/thunderbolt/nhi.c 	io += ring->hop * 16;
io                136 drivers/thunderbolt/nhi.c 	return io;
io                141 drivers/thunderbolt/nhi.c 	void __iomem *io = ring->nhi->iobase;
io                142 drivers/thunderbolt/nhi.c 	io += ring->is_tx ? REG_TX_OPTIONS_BASE : REG_RX_OPTIONS_BASE;
io                143 drivers/thunderbolt/nhi.c 	io += ring->hop * 32;
io                144 drivers/thunderbolt/nhi.c 	return io;
io                487 drivers/tty/mxser.c static int CheckIsMoxaMust(unsigned long io)
io                492 drivers/tty/mxser.c 	outb(0, io + UART_LCR);
io                493 drivers/tty/mxser.c 	mxser_disable_must_enchance_mode(io);
io                494 drivers/tty/mxser.c 	oldmcr = inb(io + UART_MCR);
io                495 drivers/tty/mxser.c 	outb(0, io + UART_MCR);
io                496 drivers/tty/mxser.c 	mxser_set_must_xon1_value(io, 0x11);
io                497 drivers/tty/mxser.c 	if ((hwid = inb(io + UART_MCR)) != 0) {
io                498 drivers/tty/mxser.c 		outb(oldmcr, io + UART_MCR);
io                502 drivers/tty/mxser.c 	mxser_get_must_hardware_id(io, &hwid);
io                235 drivers/tty/rocket.c static int sReadAiopID(ByteIO_t io);
io                236 drivers/tty/rocket.c static int sReadAiopNumChan(WordIO_t io);
io               1831 drivers/tty/rocket.c 	ByteIO_t io;
io               1855 drivers/tty/rocket.c 		io = AiopIOList[i];
io               1856 drivers/tty/rocket.c 		CtlP->AiopIO[i] = (WordIO_t) io;
io               1857 drivers/tty/rocket.c 		CtlP->AiopIntChanIO[i] = io + _INT_CHAN;
io               1859 drivers/tty/rocket.c 		CtlP->AiopID[i] = sReadAiopID(io);	/* read AIOP ID */
io               1863 drivers/tty/rocket.c 		CtlP->AiopNumChan[i] = sReadAiopNumChan((WordIO_t) io);	/* num channels in AIOP */
io               1864 drivers/tty/rocket.c 		sOutW((WordIO_t) io + _INDX_ADDR, _CLK_PRE);	/* clock prescaler */
io               1865 drivers/tty/rocket.c 		sOutB(io + _INDX_DATA, sClockPrescale);
io               2560 drivers/tty/rocket.c 	ByteIO_t io;
io               2593 drivers/tty/rocket.c 		io = AiopIOList[i];
io               2594 drivers/tty/rocket.c 		CtlP->AiopIO[i] = (WordIO_t) io;
io               2595 drivers/tty/rocket.c 		CtlP->AiopIntChanIO[i] = io + _INT_CHAN;
io               2597 drivers/tty/rocket.c 		sOutB(MudbacIO, (Byte_t) (io >> 6));	/* set up AIOP I/O in MUDBAC */
io               2601 drivers/tty/rocket.c 		CtlP->AiopID[i] = sReadAiopID(io);	/* read AIOP ID */
io               2605 drivers/tty/rocket.c 			CtlP->AiopNumChan[i] = sReadAiopNumChan((WordIO_t) io);	/* num channels in AIOP */
io               2606 drivers/tty/rocket.c 			sOutW((WordIO_t) io + _INDX_ADDR, _CLK_PRE);	/* clock prescaler */
io               2607 drivers/tty/rocket.c 			sOutB(io + _INDX_DATA, sClockPrescale);
io               2630 drivers/tty/rocket.c static int sReadAiopID(ByteIO_t io)
io               2634 drivers/tty/rocket.c 	sOutB(io + _CMD_REG, RESET_ALL);	/* reset AIOP */
io               2635 drivers/tty/rocket.c 	sOutB(io + _CMD_REG, 0x0);
io               2636 drivers/tty/rocket.c 	AiopID = sInW(io + _CHN_STAT0) & 0x07;
io               2656 drivers/tty/rocket.c static int sReadAiopNumChan(WordIO_t io)
io               2662 drivers/tty/rocket.c 	out32((DWordIO_t) io + _INDX_ADDR, R);
io               2663 drivers/tty/rocket.c 	sOutW(io + _INDX_ADDR, 0);	/* read from SRAM, chan 0 */
io               2664 drivers/tty/rocket.c 	x = sInW(io + _INDX_DATA);
io               2665 drivers/tty/rocket.c 	sOutW(io + _INDX_ADDR, 0x4000);	/* read from SRAM, chan 4 */
io               2666 drivers/tty/rocket.c 	if (x != sInW(io + _INDX_DATA))	/* if different must be 8 chan */
io                861 drivers/tty/synclink.c static int io[MAX_ISA_DEVICES];
io                871 drivers/tty/synclink.c module_param_hw_array(io, int, ioport, NULL, 0);
io                259 drivers/usb/core/message.c static void sg_clean(struct usb_sg_request *io)
io                261 drivers/usb/core/message.c 	if (io->urbs) {
io                262 drivers/usb/core/message.c 		while (io->entries--)
io                263 drivers/usb/core/message.c 			usb_free_urb(io->urbs[io->entries]);
io                264 drivers/usb/core/message.c 		kfree(io->urbs);
io                265 drivers/usb/core/message.c 		io->urbs = NULL;
io                267 drivers/usb/core/message.c 	io->dev = NULL;
io                273 drivers/usb/core/message.c 	struct usb_sg_request *io = urb->context;
io                276 drivers/usb/core/message.c 	spin_lock_irqsave(&io->lock, flags);
io                288 drivers/usb/core/message.c 	if (io->status
io                289 drivers/usb/core/message.c 			&& (io->status != -ECONNRESET
io                292 drivers/usb/core/message.c 		dev_err(io->dev->bus->controller,
io                294 drivers/usb/core/message.c 			io->dev->devpath,
io                297 drivers/usb/core/message.c 			status, io->status);
io                301 drivers/usb/core/message.c 	if (io->status == 0 && status && status != -ECONNRESET) {
io                304 drivers/usb/core/message.c 		io->status = status;
io                310 drivers/usb/core/message.c 		spin_unlock_irqrestore(&io->lock, flags);
io                311 drivers/usb/core/message.c 		for (i = 0, found = 0; i < io->entries; i++) {
io                312 drivers/usb/core/message.c 			if (!io->urbs[i])
io                315 drivers/usb/core/message.c 				usb_block_urb(io->urbs[i]);
io                316 drivers/usb/core/message.c 				retval = usb_unlink_urb(io->urbs[i]);
io                321 drivers/usb/core/message.c 					dev_err(&io->dev->dev,
io                324 drivers/usb/core/message.c 			} else if (urb == io->urbs[i])
io                327 drivers/usb/core/message.c 		spin_lock_irqsave(&io->lock, flags);
io                331 drivers/usb/core/message.c 	io->bytes += urb->actual_length;
io                332 drivers/usb/core/message.c 	io->count--;
io                333 drivers/usb/core/message.c 	if (!io->count)
io                334 drivers/usb/core/message.c 		complete(&io->complete);
io                336 drivers/usb/core/message.c 	spin_unlock_irqrestore(&io->lock, flags);
io                367 drivers/usb/core/message.c int usb_sg_init(struct usb_sg_request *io, struct usb_device *dev,
io                375 drivers/usb/core/message.c 	if (!io || !dev || !sg
io                381 drivers/usb/core/message.c 	spin_lock_init(&io->lock);
io                382 drivers/usb/core/message.c 	io->dev = dev;
io                383 drivers/usb/core/message.c 	io->pipe = pipe;
io                387 drivers/usb/core/message.c 		io->entries = 1;
io                390 drivers/usb/core/message.c 		io->entries = nents;
io                394 drivers/usb/core/message.c 	io->urbs = kmalloc_array(io->entries, sizeof(*io->urbs), mem_flags);
io                395 drivers/usb/core/message.c 	if (!io->urbs)
io                402 drivers/usb/core/message.c 	for_each_sg(sg, sg, io->entries, i) {
io                408 drivers/usb/core/message.c 			io->entries = i;
io                411 drivers/usb/core/message.c 		io->urbs[i] = urb;
io                418 drivers/usb/core/message.c 		urb->context = io;
io                451 drivers/usb/core/message.c 					io->entries = i + 1;
io                456 drivers/usb/core/message.c 	io->urbs[--i]->transfer_flags &= ~URB_NO_INTERRUPT;
io                459 drivers/usb/core/message.c 	io->count = io->entries;
io                460 drivers/usb/core/message.c 	io->status = 0;
io                461 drivers/usb/core/message.c 	io->bytes = 0;
io                462 drivers/usb/core/message.c 	init_completion(&io->complete);
io                466 drivers/usb/core/message.c 	sg_clean(io);
io                515 drivers/usb/core/message.c void usb_sg_wait(struct usb_sg_request *io)
io                518 drivers/usb/core/message.c 	int entries = io->entries;
io                521 drivers/usb/core/message.c 	spin_lock_irq(&io->lock);
io                523 drivers/usb/core/message.c 	while (i < entries && !io->status) {
io                526 drivers/usb/core/message.c 		io->urbs[i]->dev = io->dev;
io                527 drivers/usb/core/message.c 		spin_unlock_irq(&io->lock);
io                529 drivers/usb/core/message.c 		retval = usb_submit_urb(io->urbs[i], GFP_NOIO);
io                553 drivers/usb/core/message.c 			io->urbs[i]->status = retval;
io                554 drivers/usb/core/message.c 			dev_dbg(&io->dev->dev, "%s, submit --> %d\n",
io                556 drivers/usb/core/message.c 			usb_sg_cancel(io);
io                558 drivers/usb/core/message.c 		spin_lock_irq(&io->lock);
io                559 drivers/usb/core/message.c 		if (retval && (io->status == 0 || io->status == -ECONNRESET))
io                560 drivers/usb/core/message.c 			io->status = retval;
io                562 drivers/usb/core/message.c 	io->count -= entries - i;
io                563 drivers/usb/core/message.c 	if (io->count == 0)
io                564 drivers/usb/core/message.c 		complete(&io->complete);
io                565 drivers/usb/core/message.c 	spin_unlock_irq(&io->lock);
io                571 drivers/usb/core/message.c 	wait_for_completion(&io->complete);
io                573 drivers/usb/core/message.c 	sg_clean(io);
io                585 drivers/usb/core/message.c void usb_sg_cancel(struct usb_sg_request *io)
io                590 drivers/usb/core/message.c 	spin_lock_irqsave(&io->lock, flags);
io                591 drivers/usb/core/message.c 	if (io->status || io->count == 0) {
io                592 drivers/usb/core/message.c 		spin_unlock_irqrestore(&io->lock, flags);
io                596 drivers/usb/core/message.c 	io->status = -ECONNRESET;
io                597 drivers/usb/core/message.c 	io->count++;		/* Keep the request alive until we're done */
io                598 drivers/usb/core/message.c 	spin_unlock_irqrestore(&io->lock, flags);
io                600 drivers/usb/core/message.c 	for (i = io->entries - 1; i >= 0; --i) {
io                601 drivers/usb/core/message.c 		usb_block_urb(io->urbs[i]);
io                603 drivers/usb/core/message.c 		retval = usb_unlink_urb(io->urbs[i]);
io                608 drivers/usb/core/message.c 			dev_warn(&io->dev->dev, "%s, unlink --> %d\n",
io                612 drivers/usb/core/message.c 	spin_lock_irqsave(&io->lock, flags);
io                613 drivers/usb/core/message.c 	io->count--;
io                614 drivers/usb/core/message.c 	if (!io->count)
io                615 drivers/usb/core/message.c 		complete(&io->complete);
io                616 drivers/usb/core/message.c 	spin_unlock_irqrestore(&io->lock, flags);
io                409 drivers/usb/musb/musb_core.c 	return hw_ep->musb->io.read_fifo(hw_ep, len, dst);
io                414 drivers/usb/musb/musb_core.c 	return hw_ep->musb->io.write_fifo(hw_ep, len, src);
io               1533 drivers/usb/musb/musb_core.c 		hw_ep->fifo = musb->io.fifo_offset(i) + mbase;
io               1537 drivers/usb/musb/musb_core.c 				musb->io.fifo_offset(i);
io               1539 drivers/usb/musb/musb_core.c 				musb->io.fifo_offset(i);
io               1541 drivers/usb/musb/musb_core.c 				musb->sync_va + 0x400 + musb->io.fifo_offset(i);
io               1551 drivers/usb/musb/musb_core.c 		hw_ep->regs = musb->io.ep_offset(i, 0) + mbase;
io               2222 drivers/usb/musb/musb_core.c 		musb->io.ep_offset = musb_indexed_ep_offset;
io               2223 drivers/usb/musb/musb_core.c 		musb->io.ep_select = musb_indexed_ep_select;
io               2225 drivers/usb/musb/musb_core.c 		musb->io.ep_offset = musb_flat_ep_offset;
io               2226 drivers/usb/musb/musb_core.c 		musb->io.ep_select = musb_flat_ep_select;
io               2234 drivers/usb/musb/musb_core.c 		musb->io.ep_offset = musb->ops->ep_offset;
io               2236 drivers/usb/musb/musb_core.c 		musb->io.ep_select = musb->ops->ep_select;
io               2244 drivers/usb/musb/musb_core.c 		musb->io.fifo_offset = musb->ops->fifo_offset;
io               2246 drivers/usb/musb/musb_core.c 		musb->io.fifo_offset = musb_default_fifo_offset;
io               2249 drivers/usb/musb/musb_core.c 		musb->io.busctl_offset = musb->ops->busctl_offset;
io               2251 drivers/usb/musb/musb_core.c 		musb->io.busctl_offset = musb_default_busctl_offset;
io               2273 drivers/usb/musb/musb_core.c 		musb->io.read_fifo = musb->ops->read_fifo;
io               2275 drivers/usb/musb/musb_core.c 		musb->io.read_fifo = musb_default_read_fifo;
io               2278 drivers/usb/musb/musb_core.c 		musb->io.write_fifo = musb->ops->write_fifo;
io               2280 drivers/usb/musb/musb_core.c 		musb->io.write_fifo = musb_default_write_fifo;
io                273 drivers/usb/musb/musb_core.h 	struct musb_io		io;
io                450 drivers/usb/musb/musb_core.h 	reg = musb_readb(mbase, musb->io.ep_offset(epnum, MUSB_FIFOSIZE));
io                175 drivers/usb/musb/musb_dma.h musb_dma_controller_create(struct musb *m, void __iomem *io)
io                 15 drivers/usb/musb/musb_io.h #define musb_ep_select(_mbase, _epnum)	musb->io.ep_select((_mbase), (_epnum))
io                286 drivers/usb/musb/musb_regs.h 		    musb->io.busctl_offset(epnum, MUSB_RXFUNCADDR),
io                293 drivers/usb/musb/musb_regs.h 	musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_RXHUBADDR),
io                300 drivers/usb/musb/musb_regs.h 	musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_RXHUBPORT),
io                308 drivers/usb/musb/musb_regs.h 		    musb->io.busctl_offset(epnum, MUSB_TXFUNCADDR),
io                315 drivers/usb/musb/musb_regs.h 	musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_TXHUBADDR),
io                322 drivers/usb/musb/musb_regs.h 	musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_TXHUBPORT),
io                329 drivers/usb/musb/musb_regs.h 			  musb->io.busctl_offset(epnum, MUSB_RXFUNCADDR));
io                335 drivers/usb/musb/musb_regs.h 			  musb->io.busctl_offset(epnum, MUSB_RXHUBADDR));
io                341 drivers/usb/musb/musb_regs.h 			  musb->io.busctl_offset(epnum, MUSB_RXHUBPORT));
io                347 drivers/usb/musb/musb_regs.h 			  musb->io.busctl_offset(epnum, MUSB_TXFUNCADDR));
io                353 drivers/usb/musb/musb_regs.h 			  musb->io.busctl_offset(epnum, MUSB_TXHUBADDR));
io                359 drivers/usb/musb/musb_regs.h 			  musb->io.busctl_offset(epnum, MUSB_TXHUBPORT));
io                237 drivers/usb/musb/musbhsdma.c 			offset = musb->io.ep_offset(musb_channel->epnum,
io                250 drivers/usb/musb/musbhsdma.c 			offset = musb->io.ep_offset(musb_channel->epnum,
io                354 drivers/usb/musb/musbhsdma.c 					int offset = musb->io.ep_offset(epnum,
io                 83 drivers/usb/musb/ux500_dma.c 	dma_addr_t usb_fifo_addr = (musb->io.fifo_offset(hw_ep->epnum) +
io                762 drivers/vfio/pci/vfio_pci.c 			void __iomem *io;
io                788 drivers/vfio/pci/vfio_pci.c 			io = pci_map_rom(pdev, &size);
io                789 drivers/vfio/pci/vfio_pci.c 			if (io) {
io                791 drivers/vfio/pci/vfio_pci.c 				pci_unmap_rom(pdev, io);
io                 46 drivers/vfio/pci/vfio_pci_rdwr.c static ssize_t do_io_rw(void __iomem *io, char __user *buf,
io                 69 drivers/vfio/pci/vfio_pci_rdwr.c 				vfio_iowrite32(val, io + off);
io                 71 drivers/vfio/pci/vfio_pci_rdwr.c 				val = vfio_ioread32(io + off);
io                 85 drivers/vfio/pci/vfio_pci_rdwr.c 				vfio_iowrite16(val, io + off);
io                 87 drivers/vfio/pci/vfio_pci_rdwr.c 				val = vfio_ioread16(io + off);
io                101 drivers/vfio/pci/vfio_pci_rdwr.c 				vfio_iowrite8(val, io + off);
io                103 drivers/vfio/pci/vfio_pci_rdwr.c 				val = vfio_ioread8(io + off);
io                136 drivers/vfio/pci/vfio_pci_rdwr.c 	void __iomem *io;
io                145 drivers/vfio/pci/vfio_pci_rdwr.c 	io = pci_iomap(pdev, bar, 0);
io                146 drivers/vfio/pci/vfio_pci_rdwr.c 	if (!io) {
io                151 drivers/vfio/pci/vfio_pci_rdwr.c 	vdev->barmap[bar] = io;
io                164 drivers/vfio/pci/vfio_pci_rdwr.c 	void __iomem *io;
io                186 drivers/vfio/pci/vfio_pci_rdwr.c 		io = pci_map_rom(pdev, &x_start);
io                187 drivers/vfio/pci/vfio_pci_rdwr.c 		if (!io)
io                195 drivers/vfio/pci/vfio_pci_rdwr.c 		io = vdev->barmap[bar];
io                203 drivers/vfio/pci/vfio_pci_rdwr.c 	done = do_io_rw(io, buf, pos, count, x_start, x_end, iswrite);
io                209 drivers/vfio/pci/vfio_pci_rdwr.c 		pci_unmap_rom(pdev, io);
io               2945 drivers/video/fbdev/aty/atyfb_base.c 		int io, breg = PCI_BASE_ADDRESS_0 + (i << 2);
io               2951 drivers/video/fbdev/aty/atyfb_base.c 		io = (rp->flags & IORESOURCE_IO);
io               2957 drivers/video/fbdev/aty/atyfb_base.c 		if (io)
io                 74 drivers/video/fbdev/s3c2410fb.c 	void __iomem *regs = fbi->io;
io                376 drivers/video/fbdev/s3c2410fb.c 	void __iomem *regs = fbi->io;
io                491 drivers/video/fbdev/s3c2410fb.c 	void __iomem *regs = fbi->io;
io                548 drivers/video/fbdev/s3c2410fb.c 	writel(fbi->regs.lcdcon1, fbi->io + S3C2410_LCDCON1);
io                570 drivers/video/fbdev/s3c2410fb.c 	void __iomem *tpal_reg = fbi->io;
io                691 drivers/video/fbdev/s3c2410fb.c 	void __iomem *regs = fbi->io;
io                730 drivers/video/fbdev/s3c2410fb.c 	void __iomem *regs = fbi->io;
io                882 drivers/video/fbdev/s3c2410fb.c 	info->io = ioremap(res->start, size);
io                883 drivers/video/fbdev/s3c2410fb.c 	if (info->io == NULL) {
io                890 drivers/video/fbdev/s3c2410fb.c 		info->irq_base = info->io + S3C2412_LCDINTBASE;
io                892 drivers/video/fbdev/s3c2410fb.c 		info->irq_base = info->io + S3C2410_LCDINTBASE;
io                899 drivers/video/fbdev/s3c2410fb.c 	lcdcon1 = readl(info->io + S3C2410_LCDCON1);
io                900 drivers/video/fbdev/s3c2410fb.c 	writel(lcdcon1 & ~S3C2410_LCDCON1_ENVID, info->io + S3C2410_LCDCON1);
io               1004 drivers/video/fbdev/s3c2410fb.c 	iounmap(info->io);
io               1049 drivers/video/fbdev/s3c2410fb.c 	iounmap(info->io);
io                 26 drivers/video/fbdev/s3c2410fb.h 	void __iomem		*io;
io                285 drivers/virt/vboxguest/vboxguest_linux.c 	resource_size_t io, io_len, mmio, mmio_len;
io                302 drivers/virt/vboxguest/vboxguest_linux.c 	io = pci_resource_start(pci, 0);
io                304 drivers/virt/vboxguest/vboxguest_linux.c 	if (!io || !io_len) {
io                308 drivers/virt/vboxguest/vboxguest_linux.c 	if (devm_request_region(dev, io, io_len, DEVICE_NAME) == NULL) {
io                343 drivers/virt/vboxguest/vboxguest_linux.c 	gdev->io_port = io;
io                 27 drivers/w1/slaves/w1_ds2780.c 			size_t count, int io)
io                 37 drivers/w1/slaves/w1_ds2780.c 		if (io) {
io                 52 drivers/w1/slaves/w1_ds2780.c 			int io)
io                 62 drivers/w1/slaves/w1_ds2780.c 	ret = w1_ds2780_do_io(dev, buf, addr, count, io);
io                122 drivers/w1/slaves/w1_ds2780.h 			int io);
io                 24 drivers/w1/slaves/w1_ds2781.c 			size_t count, int io)
io                 34 drivers/w1/slaves/w1_ds2781.c 		if (io) {
io                 49 drivers/w1/slaves/w1_ds2781.c 			int io)
io                 59 drivers/w1/slaves/w1_ds2781.c 	ret = w1_ds2781_do_io(dev, buf, addr, count, io);
io                127 drivers/w1/slaves/w1_ds2781.h 			int io);
io                 70 drivers/watchdog/eurotechwdt.c static int io = 0x3f0;
io                 96 drivers/watchdog/eurotechwdt.c module_param_hw(io, int, ioport, 0);
io                 97 drivers/watchdog/eurotechwdt.c MODULE_PARM_DESC(io, "Eurotech WDT io port (default=0x3f0)");
io                110 drivers/watchdog/eurotechwdt.c 	outb(index, io);
io                111 drivers/watchdog/eurotechwdt.c 	outb(data, io+1);
io                116 drivers/watchdog/eurotechwdt.c 	outb(0xaa, io);
io                121 drivers/watchdog/eurotechwdt.c 	outb(0x55, io);
io                410 drivers/watchdog/eurotechwdt.c 	release_region(io, 2);
io                432 drivers/watchdog/eurotechwdt.c 	if (!request_region(io, 2, "eurwdt")) {
io                433 drivers/watchdog/eurotechwdt.c 		pr_err("IO %X is not free\n", io);
io                454 drivers/watchdog/eurotechwdt.c 		io, irq, (!strcmp("int", ev) ? "int" : "reboot"));
io                463 drivers/watchdog/eurotechwdt.c 	release_region(io, 2);
io                143 drivers/watchdog/ni903x_wdt.c 		wdt->io_base = res->data.io.minimum;
io                144 drivers/watchdog/ni903x_wdt.c 		io_size = res->data.io.address_length;
io                 44 drivers/watchdog/pc87413_wdt.c #define WDT_INDEX_IO_PORT   (io+0)	/* I/O port base (index register) */
io                 54 drivers/watchdog/pc87413_wdt.c static int io = IO_DEFAULT;
io                507 drivers/watchdog/pc87413_wdt.c 	if (!request_muxed_region(io, 2, MODNAME))
io                534 drivers/watchdog/pc87413_wdt.c 	release_region(io, 2);
io                541 drivers/watchdog/pc87413_wdt.c 	release_region(io, 2);
io                578 drivers/watchdog/pc87413_wdt.c module_param_hw(io, int, ioport, 0);
io                579 drivers/watchdog/pc87413_wdt.c MODULE_PARM_DESC(io, MODNAME " I/O port (default: "
io                 50 drivers/watchdog/sc1200wdt.c #define PMIR		(io)	/* Power Management Index Register */
io                 51 drivers/watchdog/sc1200wdt.c #define PMDR		(io+1)	/* Power Management Data Register */
io                 71 drivers/watchdog/sc1200wdt.c static int io = -1;
io                 86 drivers/watchdog/sc1200wdt.c module_param_hw(io, int, ioport, 0);
io                 87 drivers/watchdog/sc1200wdt.c MODULE_PARM_DESC(io, "io port");
io                354 drivers/watchdog/sc1200wdt.c 	io = pnp_port_start(wdt_dev, 0);
io                357 drivers/watchdog/sc1200wdt.c 	if (!request_region(io, io_len, SC1200_MODULE_NAME)) {
io                358 drivers/watchdog/sc1200wdt.c 		pr_err("Unable to register IO port %#x\n", io);
io                362 drivers/watchdog/sc1200wdt.c 	pr_info("PnP device found at io port %#x/%d\n", io, io_len);
io                369 drivers/watchdog/sc1200wdt.c 		release_region(io, io_len);
io                398 drivers/watchdog/sc1200wdt.c 	if (io == -1) {
io                412 drivers/watchdog/sc1200wdt.c 	if (!request_region(io, io_len, SC1200_MODULE_NAME)) {
io                413 drivers/watchdog/sc1200wdt.c 		pr_err("Unable to register IO port %#x\n", io);
io                444 drivers/watchdog/sc1200wdt.c 	release_region(io, io_len);
io                465 drivers/watchdog/sc1200wdt.c 	release_region(io, io_len);
io                 19 drivers/watchdog/wd501p.h #define WDT_COUNT0		(io+0)
io                 20 drivers/watchdog/wd501p.h #define WDT_COUNT1		(io+1)
io                 21 drivers/watchdog/wd501p.h #define WDT_COUNT2		(io+2)
io                 22 drivers/watchdog/wd501p.h #define WDT_CR			(io+3)
io                 23 drivers/watchdog/wd501p.h #define WDT_SR			(io+4)	/* Start buzzer on PCI write */
io                 24 drivers/watchdog/wd501p.h #define WDT_RT			(io+5)	/* Stop buzzer on PCI write */
io                 25 drivers/watchdog/wd501p.h #define WDT_BUZZER		(io+6)	/* PCI only: rd=disable, wr=enable */
io                 26 drivers/watchdog/wd501p.h #define WDT_DC			(io+7)
io                 30 drivers/watchdog/wd501p.h #define WDT_CLOCK		(io+12)	/* COUNT2: rd=16.67MHz, wr=2.0833MHz */
io                 32 drivers/watchdog/wd501p.h #define WDT_OPTONOTRST		(io+13)	/* wr=enable, rd=disable */
io                 34 drivers/watchdog/wd501p.h #define WDT_OPTORST		(io+14)	/* wr=enable, rd=disable */
io                 36 drivers/watchdog/wd501p.h #define WDT_PROGOUT		(io+15)	/* wr=enable, rd=disable */
io                 72 drivers/watchdog/wdt.c static int io = 0x240;
io                 77 drivers/watchdog/wdt.c module_param_hw(io, int, ioport, 0);
io                 78 drivers/watchdog/wdt.c MODULE_PARM_DESC(io, "WDT io port (default=0x240)");
io                576 drivers/watchdog/wdt.c 	release_region(io, 8);
io                604 drivers/watchdog/wdt.c 	if (!request_region(io, 8, "wdt501p")) {
io                605 drivers/watchdog/wdt.c 		pr_err("I/O address 0x%04x already in use\n", io);
io                639 drivers/watchdog/wdt.c 		io, irq, heartbeat, nowayout);
io                653 drivers/watchdog/wdt.c 	release_region(io, 8);
io                 64 drivers/watchdog/wdt_pci.c static resource_size_t io;
io                637 drivers/watchdog/wdt_pci.c 	io = pci_resource_start(dev, 2);
io                646 drivers/watchdog/wdt_pci.c 		(unsigned long long)io, irq);
io                 67 drivers/xen/pvcalls-back.c 	atomic_t io;
io                203 drivers/xen/pvcalls-back.c 		atomic_inc(&map->io);
io                231 drivers/xen/pvcalls-back.c 	while (atomic_read(&map->io) > 0) {
io                242 drivers/xen/pvcalls-back.c 		atomic_dec(&map->io);
io                295 drivers/xen/pvcalls-back.c 	atomic_inc(&map->io);
io                353 drivers/xen/pvcalls-back.c 	atomic_set(&map->io, 1);
io                558 drivers/xen/pvcalls-back.c 	atomic_inc(&map->io);
io                900 drivers/xen/pvcalls-back.c 	atomic_inc(&map->io);
io               2355 fs/btrfs/block-group.c 	struct list_head *io = &cur_trans->io_bgs;
io               2429 fs/btrfs/block-group.c 				list_add_tail(&cache->io_list, io);
io               2517 fs/btrfs/block-group.c 	struct list_head *io = &cur_trans->io_bgs;
io               2578 fs/btrfs/block-group.c 				list_add_tail(&cache->io_list, io);
io               2623 fs/btrfs/block-group.c 	while (!list_empty(io)) {
io               2624 fs/btrfs/block-group.c 		cache = list_first_entry(io, struct btrfs_block_group_cache,
io                704 fs/erofs/zdata.c 	struct z_erofs_unzip_io *io = tagptr_unfold_ptr(t);
io                710 fs/erofs/zdata.c 		spin_lock_irqsave(&io->u.wait.lock, flags);
io                711 fs/erofs/zdata.c 		if (!atomic_add_return(bios, &io->pending_bios))
io                712 fs/erofs/zdata.c 			wake_up_locked(&io->u.wait);
io                713 fs/erofs/zdata.c 		spin_unlock_irqrestore(&io->u.wait.lock, flags);
io                717 fs/erofs/zdata.c 	if (!atomic_add_return(bios, &io->pending_bios))
io                718 fs/erofs/zdata.c 		queue_work(z_erofs_workqueue, &io->u.work);
io                957 fs/erofs/zdata.c 				  struct z_erofs_unzip_io *io,
io                960 fs/erofs/zdata.c 	z_erofs_next_pcluster_t owned = io->head;
io                981 fs/erofs/zdata.c 		container_of(work, struct z_erofs_unzip_io_sb, io.u.work);
io                984 fs/erofs/zdata.c 	DBG_BUGON(iosb->io.head == Z_EROFS_PCLUSTER_TAIL_CLOSED);
io                985 fs/erofs/zdata.c 	z_erofs_vle_unzip_all(iosb->sb, &iosb->io, &pagepool);
io               1116 fs/erofs/zdata.c 					      struct z_erofs_unzip_io *io,
io               1123 fs/erofs/zdata.c 		DBG_BUGON(!io);
io               1125 fs/erofs/zdata.c 		init_waitqueue_head(&io->u.wait);
io               1126 fs/erofs/zdata.c 		atomic_set(&io->pending_bios, 0);
io               1134 fs/erofs/zdata.c 	io = &iosb->io;
io               1136 fs/erofs/zdata.c 	INIT_WORK(&io->u.work, z_erofs_vle_unzip_wq);
io               1138 fs/erofs/zdata.c 	io->head = Z_EROFS_PCLUSTER_TAIL_CLOSED;
io               1139 fs/erofs/zdata.c 	return io;
io               1198 fs/erofs/zdata.c 	kvfree(container_of(q[JQ_SUBMIT], struct z_erofs_unzip_io_sb, io));
io               1312 fs/erofs/zdata.c 	struct z_erofs_unzip_io io[NR_JOBQUEUES];
io               1315 fs/erofs/zdata.c 				    pagepool, io, force_fg))
io               1319 fs/erofs/zdata.c 	z_erofs_vle_unzip_all(sb, &io[JQ_BYPASS], pagepool);
io               1325 fs/erofs/zdata.c 	wait_event(io[JQ_SUBMIT].u.wait,
io               1326 fs/erofs/zdata.c 		   !atomic_read(&io[JQ_SUBMIT].pending_bios));
io               1329 fs/erofs/zdata.c 	z_erofs_vle_unzip_all(sb, &io[JQ_SUBMIT], pagepool);
io                 98 fs/erofs/zdata.h 	struct z_erofs_unzip_io io;
io               3340 fs/ext4/ext4.h extern void ext4_io_submit_init(struct ext4_io_submit *io,
io               3343 fs/ext4/ext4.h extern void ext4_io_submit(struct ext4_io_submit *io);
io               3344 fs/ext4/ext4.h extern int ext4_bio_write_page(struct ext4_io_submit *io,
io                139 fs/ext4/page-io.c static int ext4_end_io(ext4_io_end_t *io)
io                141 fs/ext4/page-io.c 	struct inode *inode = io->inode;
io                142 fs/ext4/page-io.c 	loff_t offset = io->offset;
io                143 fs/ext4/page-io.c 	ssize_t size = io->size;
io                144 fs/ext4/page-io.c 	handle_t *handle = io->handle;
io                149 fs/ext4/page-io.c 		   io, inode->i_ino, io->list.next, io->list.prev);
io                151 fs/ext4/page-io.c 	io->handle = NULL;	/* Following call will use up the handle */
io                160 fs/ext4/page-io.c 	ext4_clear_io_unwritten_flag(io);
io                161 fs/ext4/page-io.c 	ext4_release_io_end(io);
io                169 fs/ext4/page-io.c 	ext4_io_end_t *io, *io0, *io1;
io                175 fs/ext4/page-io.c 	list_for_each_entry(io, head, list) {
io                176 fs/ext4/page-io.c 		cur = &io->list;
io                183 fs/ext4/page-io.c 			    io, inode->i_ino, io0, io1);
io                210 fs/ext4/page-io.c 	ext4_io_end_t *io;
io                222 fs/ext4/page-io.c 		io = list_entry(unwritten.next, ext4_io_end_t, list);
io                223 fs/ext4/page-io.c 		BUG_ON(!(io->flag & EXT4_IO_END_UNWRITTEN));
io                224 fs/ext4/page-io.c 		list_del_init(&io->list);
io                226 fs/ext4/page-io.c 		err = ext4_end_io(io);
io                245 fs/ext4/page-io.c 	ext4_io_end_t *io = kmem_cache_zalloc(io_end_cachep, flags);
io                246 fs/ext4/page-io.c 	if (io) {
io                247 fs/ext4/page-io.c 		io->inode = inode;
io                248 fs/ext4/page-io.c 		INIT_LIST_HEAD(&io->list);
io                249 fs/ext4/page-io.c 		atomic_set(&io->count, 1);
io                251 fs/ext4/page-io.c 	return io;
io                339 fs/ext4/page-io.c void ext4_io_submit(struct ext4_io_submit *io)
io                341 fs/ext4/page-io.c 	struct bio *bio = io->io_bio;
io                344 fs/ext4/page-io.c 		int io_op_flags = io->io_wbc->sync_mode == WB_SYNC_ALL ?
io                346 fs/ext4/page-io.c 		io->io_bio->bi_write_hint = io->io_end->inode->i_write_hint;
io                347 fs/ext4/page-io.c 		bio_set_op_attrs(io->io_bio, REQ_OP_WRITE, io_op_flags);
io                348 fs/ext4/page-io.c 		submit_bio(io->io_bio);
io                350 fs/ext4/page-io.c 	io->io_bio = NULL;
io                353 fs/ext4/page-io.c void ext4_io_submit_init(struct ext4_io_submit *io,
io                356 fs/ext4/page-io.c 	io->io_wbc = wbc;
io                357 fs/ext4/page-io.c 	io->io_bio = NULL;
io                358 fs/ext4/page-io.c 	io->io_end = NULL;
io                361 fs/ext4/page-io.c static int io_submit_init_bio(struct ext4_io_submit *io,
io                372 fs/ext4/page-io.c 	bio->bi_private = ext4_get_io_end(io->io_end);
io                373 fs/ext4/page-io.c 	io->io_bio = bio;
io                374 fs/ext4/page-io.c 	io->io_next_block = bh->b_blocknr;
io                375 fs/ext4/page-io.c 	wbc_init_bio(io->io_wbc, bio);
io                379 fs/ext4/page-io.c static int io_submit_add_bh(struct ext4_io_submit *io,
io                386 fs/ext4/page-io.c 	if (io->io_bio && bh->b_blocknr != io->io_next_block) {
io                388 fs/ext4/page-io.c 		ext4_io_submit(io);
io                390 fs/ext4/page-io.c 	if (io->io_bio == NULL) {
io                391 fs/ext4/page-io.c 		ret = io_submit_init_bio(io, bh);
io                394 fs/ext4/page-io.c 		io->io_bio->bi_write_hint = inode->i_write_hint;
io                396 fs/ext4/page-io.c 	ret = bio_add_page(io->io_bio, page, bh->b_size, bh_offset(bh));
io                399 fs/ext4/page-io.c 	wbc_account_cgroup_owner(io->io_wbc, page, bh->b_size);
io                400 fs/ext4/page-io.c 	io->io_next_block++;
io                404 fs/ext4/page-io.c int ext4_bio_write_page(struct ext4_io_submit *io,
io                458 fs/ext4/page-io.c 			if (io->io_bio)
io                459 fs/ext4/page-io.c 				ext4_io_submit(io);
io                486 fs/ext4/page-io.c 		if (io->io_bio)
io                494 fs/ext4/page-io.c 			    (io->io_bio || wbc->sync_mode == WB_SYNC_ALL)) {
io                496 fs/ext4/page-io.c 				if (io->io_bio)
io                497 fs/ext4/page-io.c 					ext4_io_submit(io);
io                512 fs/ext4/page-io.c 		ret = io_submit_add_bh(io, inode, bounce_page ?: page, bh);
io                359 fs/f2fs/data.c static void __submit_merged_bio(struct f2fs_bio_info *io)
io                361 fs/f2fs/data.c 	struct f2fs_io_info *fio = &io->fio;
io                363 fs/f2fs/data.c 	if (!io->bio)
io                366 fs/f2fs/data.c 	bio_set_op_attrs(io->bio, fio->op, fio->op_flags);
io                369 fs/f2fs/data.c 		trace_f2fs_prepare_read_bio(io->sbi->sb, fio->type, io->bio);
io                371 fs/f2fs/data.c 		trace_f2fs_prepare_write_bio(io->sbi->sb, fio->type, io->bio);
io                373 fs/f2fs/data.c 	__submit_bio(io->sbi, io->bio, fio->type);
io                374 fs/f2fs/data.c 	io->bio = NULL;
io                411 fs/f2fs/data.c 	struct f2fs_bio_info *io = sbi->write_io[btype] + temp;
io                413 fs/f2fs/data.c 	down_write(&io->io_rwsem);
io                417 fs/f2fs/data.c 		io->fio.type = META_FLUSH;
io                418 fs/f2fs/data.c 		io->fio.op = REQ_OP_WRITE;
io                419 fs/f2fs/data.c 		io->fio.op_flags = REQ_META | REQ_PRIO | REQ_SYNC;
io                421 fs/f2fs/data.c 			io->fio.op_flags |= REQ_PREFLUSH | REQ_FUA;
io                423 fs/f2fs/data.c 	__submit_merged_bio(io);
io                424 fs/f2fs/data.c 	up_write(&io->io_rwsem);
io                437 fs/f2fs/data.c 			struct f2fs_bio_info *io = sbi->write_io[btype] + temp;
io                439 fs/f2fs/data.c 			down_read(&io->io_rwsem);
io                440 fs/f2fs/data.c 			ret = __has_merged_page(io->bio, inode, page, ino);
io                441 fs/f2fs/data.c 			up_read(&io->io_rwsem);
io                517 fs/f2fs/data.c static bool io_type_is_mergeable(struct f2fs_bio_info *io,
io                520 fs/f2fs/data.c 	if (io->fio.op != fio->op)
io                522 fs/f2fs/data.c 	return io->fio.op_flags == fio->op_flags;
io                526 fs/f2fs/data.c 					struct f2fs_bio_info *io,
io                543 fs/f2fs/data.c 	return io_type_is_mergeable(io, fio);
io                604 fs/f2fs/data.c 	struct f2fs_bio_info *io = sbi->write_io[btype] + fio->temp;
io                609 fs/f2fs/data.c 	down_write(&io->io_rwsem);
io                612 fs/f2fs/data.c 		spin_lock(&io->io_lock);
io                613 fs/f2fs/data.c 		if (list_empty(&io->io_list)) {
io                614 fs/f2fs/data.c 			spin_unlock(&io->io_lock);
io                617 fs/f2fs/data.c 		fio = list_first_entry(&io->io_list,
io                620 fs/f2fs/data.c 		spin_unlock(&io->io_lock);
io                632 fs/f2fs/data.c 	if (io->bio && !io_is_mergeable(sbi, io->bio, io, fio,
io                633 fs/f2fs/data.c 			io->last_block_in_bio, fio->new_blkaddr))
io                634 fs/f2fs/data.c 		__submit_merged_bio(io);
io                636 fs/f2fs/data.c 	if (io->bio == NULL) {
io                644 fs/f2fs/data.c 		io->bio = __bio_alloc(fio, BIO_MAX_PAGES);
io                645 fs/f2fs/data.c 		io->fio = *fio;
io                648 fs/f2fs/data.c 	if (bio_add_page(io->bio, bio_page, PAGE_SIZE, 0) < PAGE_SIZE) {
io                649 fs/f2fs/data.c 		__submit_merged_bio(io);
io                656 fs/f2fs/data.c 	io->last_block_in_bio = fio->new_blkaddr;
io                666 fs/f2fs/data.c 		__submit_merged_bio(io);
io                667 fs/f2fs/data.c 	up_write(&io->io_rwsem);
io               3132 fs/f2fs/segment.c 		struct f2fs_bio_info *io;
io               3136 fs/f2fs/segment.c 		io = sbi->write_io[fio->type] + fio->temp;
io               3137 fs/f2fs/segment.c 		spin_lock(&io->io_lock);
io               3138 fs/f2fs/segment.c 		list_add_tail(&fio->list, &io->io_list);
io               3139 fs/f2fs/segment.c 		spin_unlock(&io->io_lock);
io                 95 fs/fuse/cuse.c 	struct fuse_io_priv io = FUSE_IO_PRIV_SYNC(kiocb);
io                 98 fs/fuse/cuse.c 	return fuse_direct_io(&io, to, &pos, FUSE_DIO_CUSE);
io                103 fs/fuse/cuse.c 	struct fuse_io_priv io = FUSE_IO_PRIV_SYNC(kiocb);
io                109 fs/fuse/cuse.c 	return fuse_direct_io(&io, from, &pos,
io               1258 fs/fuse/dev.c  	list_add(&req->list, &fpq->io);
io               1887 fs/fuse/dev.c  	list_move(&req->list, &fpq->io);
io               2110 fs/fuse/dev.c  			list_for_each_entry_safe(req, next, &fpq->io, list) {
io               2171 fs/fuse/dev.c  		WARN_ON(!list_empty(&fpq->io));
io                588 fs/fuse/file.c static ssize_t fuse_get_res_by_io(struct fuse_io_priv *io)
io                590 fs/fuse/file.c 	if (io->err)
io                591 fs/fuse/file.c 		return io->err;
io                593 fs/fuse/file.c 	if (io->bytes >= 0 && io->write)
io                596 fs/fuse/file.c 	return io->bytes < 0 ? io->size : io->bytes;
io                615 fs/fuse/file.c static void fuse_aio_complete(struct fuse_io_priv *io, int err, ssize_t pos)
io                619 fs/fuse/file.c 	spin_lock(&io->lock);
io                621 fs/fuse/file.c 		io->err = io->err ? : err;
io                622 fs/fuse/file.c 	else if (pos >= 0 && (io->bytes < 0 || pos < io->bytes))
io                623 fs/fuse/file.c 		io->bytes = pos;
io                625 fs/fuse/file.c 	left = --io->reqs;
io                626 fs/fuse/file.c 	if (!left && io->blocking)
io                627 fs/fuse/file.c 		complete(io->done);
io                628 fs/fuse/file.c 	spin_unlock(&io->lock);
io                630 fs/fuse/file.c 	if (!left && !io->blocking) {
io                631 fs/fuse/file.c 		ssize_t res = fuse_get_res_by_io(io);
io                634 fs/fuse/file.c 			struct inode *inode = file_inode(io->iocb->ki_filp);
io                643 fs/fuse/file.c 		io->iocb->ki_complete(io->iocb, res, 0);
io                646 fs/fuse/file.c 	kref_put(&io->refcnt, fuse_io_release);
io                649 fs/fuse/file.c static struct fuse_io_args *fuse_io_alloc(struct fuse_io_priv *io,
io                656 fs/fuse/file.c 		ia->io = io;
io                677 fs/fuse/file.c 	struct fuse_io_priv *io = ia->io;
io                680 fs/fuse/file.c 	fuse_release_user_pages(&ia->ap, io->should_dirty);
io                684 fs/fuse/file.c 	} else if (io->write) {
io                688 fs/fuse/file.c 			pos = ia->write.in.offset - io->offset +
io                695 fs/fuse/file.c 			pos = ia->read.in.offset - io->offset + outsize;
io                698 fs/fuse/file.c 	fuse_aio_complete(io, err, pos);
io                706 fs/fuse/file.c 	struct fuse_io_priv *io = ia->io;
io                708 fs/fuse/file.c 	spin_lock(&io->lock);
io                709 fs/fuse/file.c 	kref_get(&io->refcnt);
io                710 fs/fuse/file.c 	io->size += num_bytes;
io                711 fs/fuse/file.c 	io->reqs++;
io                712 fs/fuse/file.c 	spin_unlock(&io->lock);
io                725 fs/fuse/file.c 	struct file *file = ia->io->iocb->ki_filp;
io                735 fs/fuse/file.c 	if (ia->io->async)
io               1056 fs/fuse/file.c 	struct kiocb *iocb = ia->io->iocb;
io               1070 fs/fuse/file.c 	if (ia->io->async)
io               1421 fs/fuse/file.c ssize_t fuse_direct_io(struct fuse_io_priv *io, struct iov_iter *iter,
io               1426 fs/fuse/file.c 	struct file *file = io->iocb->ki_filp;
io               1441 fs/fuse/file.c 	ia = fuse_io_alloc(io, max_pages);
io               1445 fs/fuse/file.c 	ia->io = io;
io               1454 fs/fuse/file.c 	io->should_dirty = !write && iter_is_iovec(iter);
io               1474 fs/fuse/file.c 		if (!io->async || nres < 0) {
io               1475 fs/fuse/file.c 			fuse_release_user_pages(&ia->ap, io->should_dirty);
io               1495 fs/fuse/file.c 			ia = fuse_io_alloc(io, max_pages);
io               1509 fs/fuse/file.c static ssize_t __fuse_direct_read(struct fuse_io_priv *io,
io               1514 fs/fuse/file.c 	struct inode *inode = file_inode(io->iocb->ki_filp);
io               1516 fs/fuse/file.c 	res = fuse_direct_io(io, iter, ppos, 0);
io               1532 fs/fuse/file.c 		struct fuse_io_priv io = FUSE_IO_PRIV_SYNC(iocb);
io               1534 fs/fuse/file.c 		res = __fuse_direct_read(&io, to, &iocb->ki_pos);
io               1543 fs/fuse/file.c 	struct fuse_io_priv io = FUSE_IO_PRIV_SYNC(iocb);
io               1553 fs/fuse/file.c 			res = fuse_direct_io(&io, from, &iocb->ki_pos,
io               3074 fs/fuse/file.c 	struct fuse_io_priv *io;
io               3091 fs/fuse/file.c 	io = kmalloc(sizeof(struct fuse_io_priv), GFP_KERNEL);
io               3092 fs/fuse/file.c 	if (!io)
io               3094 fs/fuse/file.c 	spin_lock_init(&io->lock);
io               3095 fs/fuse/file.c 	kref_init(&io->refcnt);
io               3096 fs/fuse/file.c 	io->reqs = 1;
io               3097 fs/fuse/file.c 	io->bytes = -1;
io               3098 fs/fuse/file.c 	io->size = 0;
io               3099 fs/fuse/file.c 	io->offset = offset;
io               3100 fs/fuse/file.c 	io->write = (iov_iter_rw(iter) == WRITE);
io               3101 fs/fuse/file.c 	io->err = 0;
io               3106 fs/fuse/file.c 	io->async = async_dio;
io               3107 fs/fuse/file.c 	io->iocb = iocb;
io               3108 fs/fuse/file.c 	io->blocking = is_sync_kiocb(iocb);
io               3115 fs/fuse/file.c 		io->blocking = true;
io               3117 fs/fuse/file.c 	if (io->async && io->blocking) {
io               3122 fs/fuse/file.c 		kref_get(&io->refcnt);
io               3123 fs/fuse/file.c 		io->done = &wait;
io               3127 fs/fuse/file.c 		ret = fuse_direct_io(io, iter, &pos, FUSE_DIO_WRITE);
io               3130 fs/fuse/file.c 		ret = __fuse_direct_read(io, iter, &pos);
io               3133 fs/fuse/file.c 	if (io->async) {
io               3134 fs/fuse/file.c 		bool blocking = io->blocking;
io               3136 fs/fuse/file.c 		fuse_aio_complete(io, ret < 0 ? ret : 0, -1);
io               3143 fs/fuse/file.c 		ret = fuse_get_res_by_io(io);
io               3146 fs/fuse/file.c 	kref_put(&io->refcnt, fuse_io_release);
io                452 fs/fuse/fuse_i.h 	struct list_head io;
io                837 fs/fuse/fuse_i.h 	struct fuse_io_priv *io;
io               1044 fs/fuse/fuse_i.h ssize_t fuse_direct_io(struct fuse_io_priv *io, struct iov_iter *iter,
io                599 fs/fuse/inode.c 	INIT_LIST_HEAD(&fpq->io);
io               1777 fs/nfs/pnfs.c  	bool size = false, size_set = false, io = false, io_set = false, ret = false;
io               1798 fs/nfs/pnfs.c  				io = true;
io               1813 fs/nfs/pnfs.c  				io = true;
io               1818 fs/nfs/pnfs.c  		if (size && io)
io               1820 fs/nfs/pnfs.c  	} else if (size || io)
io               1823 fs/nfs/pnfs.c  	dprintk("<-- %s size %d io %d ret %d\n", __func__, size, io, ret);
io                108 fs/orangefs/downcall.h 		struct orangefs_io_response io;
io                 64 fs/orangefs/file.c 	new_op->upcall.req.io.readahead_size = readahead_size;
io                 65 fs/orangefs/file.c 	new_op->upcall.req.io.io_type = type;
io                 66 fs/orangefs/file.c 	new_op->upcall.req.io.refn = orangefs_inode->refn;
io                 86 fs/orangefs/file.c 	new_op->upcall.req.io.buf_index = buffer_index;
io                 87 fs/orangefs/file.c 	new_op->upcall.req.io.count = total_size;
io                 88 fs/orangefs/file.c 	new_op->upcall.req.io.offset = *offset;
io                209 fs/orangefs/file.c 	if (type == ORANGEFS_IO_READ && new_op->downcall.resp.io.amt_complete) {
io                227 fs/orangefs/file.c 				min(new_op->downcall.resp.io.amt_complete,
io                230 fs/orangefs/file.c 			copy_amount = new_op->downcall.resp.io.amt_complete;
io                245 fs/orangefs/file.c 	    (int)new_op->downcall.resp.io.amt_complete);
io                247 fs/orangefs/file.c 	ret = new_op->downcall.resp.io.amt_complete;
io                 21 fs/orangefs/orangefs-utils.c 			fsid = op->upcall.req.io.refn.fs_id;
io                231 fs/orangefs/upcall.h 		struct orangefs_io_request_s io;
io                213 fs/orangefs/waitqueue.c 	op->slot_to_free = op->upcall.req.io.buf_index;
io                251 include/acpi/acrestyp.h 	struct acpi_io_attribute io;
io                618 include/acpi/acrestyp.h 	struct acpi_resource_io io;
io                 25 include/linux/cgroup_subsys.h SUBSYS(io)
io                399 include/linux/efi.h 	efi_pci_io_protocol_access_32_t io;
io                419 include/linux/efi.h 	efi_pci_io_protocol_access_64_t io;
io                439 include/linux/efi.h 	efi_pci_io_protocol_access_t io;
io                 23 include/linux/gameport.h 	int io;
io                171 include/linux/gameport.h 		outb(0xff, gameport->io);
io                179 include/linux/gameport.h 		return inb(gameport->io);
io                 13 include/linux/platform_data/xtalk-bridge.h 	struct resource io;
io               1874 include/linux/usb.h 	struct usb_sg_request	*io,
io               1883 include/linux/usb.h void usb_sg_cancel(struct usb_sg_request *io);
io               1884 include/linux/usb.h void usb_sg_wait(struct usb_sg_request *io);
io                461 include/pcmcia/cistpl.h     cistpl_io_t		io;
io                481 include/pcmcia/cistpl.h     u_char		io;
io                126 include/pcmcia/ss.h 	int (*set_io_map)(struct pcmcia_socket *s, struct pccard_io_map *io);
io                139 include/pcmcia/ss.h 	io_window_t			io[MAX_IO_WIN];
io                294 include/uapi/linux/kvm.h 		} io;
io                642 include/uapi/linux/kvm.h 		struct kvm_s390_io_info io;
io                 37 samples/seccomp/user-trap.c 	struct iovec io = {
io                 42 samples/seccomp/user-trap.c 	msg.msg_iov = &io;
io                 66 samples/seccomp/user-trap.c 	struct iovec io = {
io                 71 samples/seccomp/user-trap.c 	msg.msg_iov = &io;
io                390 sound/isa/cmi8328.c 			gp->io = 0x200;
io                 55 sound/isa/msnd/msnd.c 	unsigned int io = dev->io;
io                 59 sound/isa/msnd/msnd.c 		if (inb(io + HP_ISR) & HPISR_TXDE)
io                 67 sound/isa/msnd/msnd.c 	unsigned int io = dev->io;
io                 71 sound/isa/msnd/msnd.c 		if (!(inb(io + HP_CVR) & HPCVR_HC))
io                 83 sound/isa/msnd/msnd.c 		outb(cmd, dev->io + HP_CVR);
io                 98 sound/isa/msnd/msnd.c 	unsigned int io = dev->io;
io                101 sound/isa/msnd/msnd.c 		outb(high, io + HP_TXH);
io                102 sound/isa/msnd/msnd.c 		outb(mid, io + HP_TXM);
io                103 sound/isa/msnd/msnd.c 		outb(low, io + HP_TXL);
io                127 sound/isa/msnd/msnd.c 	inb(dev->io + HP_RXL);
io                128 sound/isa/msnd/msnd.c 	inb(dev->io + HP_CVR);
io                145 sound/isa/msnd/msnd.c 		outb(inb(dev->io + HP_ICR) | HPICR_TREQ, dev->io + HP_ICR);
io                147 sound/isa/msnd/msnd.c 			outb(dev->irqid, dev->io + HP_IRQM);
io                149 sound/isa/msnd/msnd.c 		outb(inb(dev->io + HP_ICR) & ~HPICR_TREQ, dev->io + HP_ICR);
io                150 sound/isa/msnd/msnd.c 		outb(inb(dev->io + HP_ICR) | HPICR_RREQ, dev->io + HP_ICR);
io                180 sound/isa/msnd/msnd.c 		outb(inb(dev->io + HP_ICR) & ~HPICR_RREQ, dev->io + HP_ICR);
io                182 sound/isa/msnd/msnd.c 			outb(HPIRQ_NONE, dev->io + HP_IRQM);
io                280 sound/isa/msnd/msnd.c 	outb(HPBLKSEL_1, chip->io + HP_BLKS);
io                285 sound/isa/msnd/msnd.c 		outb(HPBLKSEL_0, chip->io + HP_BLKS);
io                288 sound/isa/msnd/msnd.c 	outb(HPBLKSEL_0, chip->io + HP_BLKS);
io                402 sound/isa/msnd/msnd.c 	outb(HPBLKSEL_1, chip->io + HP_BLKS);
io                404 sound/isa/msnd/msnd.c 	outb(HPBLKSEL_0, chip->io + HP_BLKS);
io                223 sound/isa/msnd/msnd.h 	long io;
io                178 sound/isa/msnd/msnd_pinnacle.c 	inb(chip->io + HP_RXL);
io                183 sound/isa/msnd/msnd_pinnacle.c static int snd_msnd_reset_dsp(long io, unsigned char *info)
io                187 sound/isa/msnd/msnd_pinnacle.c 	outb(HPDSPRESET_ON, io + HP_DSPR);
io                191 sound/isa/msnd/msnd_pinnacle.c 		*info = inb(io + HP_INFO);
io                193 sound/isa/msnd/msnd_pinnacle.c 	outb(HPDSPRESET_OFF, io + HP_DSPR);
io                196 sound/isa/msnd/msnd_pinnacle.c 		if (inb(io + HP_CVR) == HP_CVR_DEF)
io                215 sound/isa/msnd/msnd_pinnacle.c 	if (!request_region(chip->io, DSP_NUMIO, "probing")) {
io                220 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_reset_dsp(chip->io, &info) < 0) {
io                221 sound/isa/msnd/msnd_pinnacle.c 		release_region(chip->io, DSP_NUMIO);
io                231 sound/isa/msnd/msnd_pinnacle.c 	       chip->io, chip->io + DSP_NUMIO - 1,
io                292 sound/isa/msnd/msnd_pinnacle.c 	       chip->io, chip->io + DSP_NUMIO - 1,
io                297 sound/isa/msnd/msnd_pinnacle.c 	release_region(chip->io, DSP_NUMIO);
io                308 sound/isa/msnd/msnd_pinnacle.c 	outb(chip->memid, chip->io + HP_MEMM);
io                310 sound/isa/msnd/msnd_pinnacle.c 	outb(HPBLKSEL_0, chip->io + HP_BLKS);
io                323 sound/isa/msnd/msnd_pinnacle.c 	outb(HPBLKSEL_1, chip->io + HP_BLKS);
io                325 sound/isa/msnd/msnd_pinnacle.c 	outb(HPBLKSEL_0, chip->io + HP_BLKS);
io                376 sound/isa/msnd/msnd_pinnacle.c 	outb(HPBLKSEL_0, chip->io + HP_BLKS);
io                408 sound/isa/msnd/msnd_pinnacle.c 	outb(HPPRORESET_ON, chip->io + HP_PROR);
io                410 sound/isa/msnd/msnd_pinnacle.c 	outb(HPPRORESET_OFF, chip->io + HP_PROR);
io                421 sound/isa/msnd/msnd_pinnacle.c 	outb(HPWAITSTATE_0, chip->io + HP_WAIT);
io                422 sound/isa/msnd/msnd_pinnacle.c 	outb(HPBITMODE_16, chip->io + HP_BITM);
io                432 sound/isa/msnd/msnd_pinnacle.c 	err = snd_msnd_reset_dsp(chip->io, NULL);
io                541 sound/isa/msnd/msnd_pinnacle.c 	if (request_region(chip->io, DSP_NUMIO, card->shortname) == NULL) {
io                550 sound/isa/msnd/msnd_pinnacle.c 		release_region(chip->io, DSP_NUMIO);
io                619 sound/isa/msnd/msnd_pinnacle.c 	release_region(chip->io, DSP_NUMIO);
io                631 sound/isa/msnd/msnd_pinnacle.c 	release_region(chip->io, DSP_NUMIO);
io                651 sound/isa/msnd/msnd_pinnacle.c static int snd_msnd_write_cfg_io0(int cfg, int num, u16 io)
io                655 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg(cfg, IREG_IO0_BASEHI, HIBYTE(io)))
io                657 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg(cfg, IREG_IO0_BASELO, LOBYTE(io)))
io                662 sound/isa/msnd/msnd_pinnacle.c static int snd_msnd_write_cfg_io1(int cfg, int num, u16 io)
io                666 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg(cfg, IREG_IO1_BASEHI, HIBYTE(io)))
io                668 sound/isa/msnd/msnd_pinnacle.c 	if (snd_msnd_write_cfg(cfg, IREG_IO1_BASELO, LOBYTE(io)))
io                751 sound/isa/msnd/msnd_pinnacle.c static long io[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
io                790 sound/isa/msnd/msnd_pinnacle.c module_param_hw_array(io, long, ioport, NULL, 0444);
io                791 sound/isa/msnd/msnd_pinnacle.c MODULE_PARM_DESC(io, "IO port #");
io                811 sound/isa/msnd/msnd_pinnacle.c 	if (io[i] == SNDRV_AUTO_PORT)
io                820 sound/isa/msnd/msnd_pinnacle.c 	if (!(io[i] == 0x290 ||
io                821 sound/isa/msnd/msnd_pinnacle.c 	      io[i] == 0x260 ||
io                822 sound/isa/msnd/msnd_pinnacle.c 	      io[i] == 0x250 ||
io                823 sound/isa/msnd/msnd_pinnacle.c 	      io[i] == 0x240 ||
io                824 sound/isa/msnd/msnd_pinnacle.c 	      io[i] == 0x230 ||
io                825 sound/isa/msnd/msnd_pinnacle.c 	      io[i] == 0x220 ||
io                826 sound/isa/msnd/msnd_pinnacle.c 	      io[i] == 0x210 ||
io                827 sound/isa/msnd/msnd_pinnacle.c 	      io[i] == 0x3e0)) {
io                834 sound/isa/msnd/msnd_pinnacle.c 	if (io[i] < 0x100 || io[i] > 0x3e0 || (io[i] % 0x10) != 0) {
io                950 sound/isa/msnd/msnd_pinnacle.c 					 io[idx], 0,
io               1009 sound/isa/msnd/msnd_pinnacle.c 	chip->io = io[idx];
io               1122 sound/isa/msnd/msnd_pinnacle.c 	io[idx] = pnp_port_start(pnp_dev, 0);
io               1134 sound/isa/msnd/msnd_pinnacle.c 	chip->io = io[idx];
io                794 sound/pci/als4000.c 	gp->io = io_port;
io                171 sound/pci/au88x0/au88x0.c 	chip->io = pci_resource_start(pci, 0);
io                267 sound/pci/au88x0/au88x0.c 		card->shortname, chip->io, chip->irq);
io                173 sound/pci/au88x0/au88x0.h 	unsigned long io;
io               1822 sound/pci/azt3328.c 	gp->io = chip->game_io;
io               2884 sound/pci/cmipci.c 	gp->io = io_port;
io                 87 sound/pci/cs5530.c static u8 snd_cs5530_mixer_read(unsigned long io, u8 reg)
io                 89 sound/pci/cs5530.c 	outb(reg, io + 4);
io                 91 sound/pci/cs5530.c 	reg = inb(io + 5);
io               1835 sound/pci/ens1370.c 	gp->io = io_port;
io               1852 sound/pci/ens1370.c 		int port = ensoniq->gameport->io;
io               1526 sound/pci/es1938.c 	gp->io = chip->game_port;
io               2463 sound/pci/es1968.c 	gp->io = JOYSTICK_ADDR;
io               2576 sound/pci/es1968.c 	unsigned long io = chip->io_port + GPIO_DATA;
io               2577 sound/pci/es1968.c 	u16 odir = inw(io + IO_DIR);
io               2582 sound/pci/es1968.c 			io + IO_MASK);
io               2584 sound/pci/es1968.c 			io + IO_DIR);
io               2587 sound/pci/es1968.c 			io + IO_MASK);
io               2589 sound/pci/es1968.c 			| (1 << gpio.clk) | (1 << gpio.wren), io + IO_DIR);
io               1932 sound/pci/maestro3.c 	int io = chip->iobase;
io               1937 sound/pci/maestro3.c 	tmp = inw(io + RING_BUS_CTRL_B) & ~SECOND_CODEC_ID_MASK;
io               1942 sound/pci/maestro3.c 	outw(tmp | isremote, io + RING_BUS_CTRL_B);
io               1943 sound/pci/maestro3.c 	outw((inw(io + SDO_OUT_DEST_CTRL) & ~COMMAND_ADDR_OUT) | isremote,
io               1944 sound/pci/maestro3.c 	     io + SDO_OUT_DEST_CTRL);
io               1945 sound/pci/maestro3.c 	outw((inw(io + SDO_IN_DEST_CTRL) & ~STATUS_ADDR_IN) | isremote,
io               1946 sound/pci/maestro3.c 	     io + SDO_IN_DEST_CTRL);
io               1973 sound/pci/maestro3.c 	int io = chip->iobase;
io               1990 sound/pci/maestro3.c 		dir = inw(io + GPIO_DIRECTION);
io               1996 sound/pci/maestro3.c 		outw(IO_SRAM_ENABLE, io + RING_BUS_CTRL_A);
io               1999 sound/pci/maestro3.c 		outw(dir & ~GPO_PRIMARY_AC97 , io + GPIO_DIRECTION);
io               2000 sound/pci/maestro3.c 		outw(~GPO_PRIMARY_AC97 , io + GPIO_MASK);
io               2001 sound/pci/maestro3.c 		outw(0, io + GPIO_DATA);
io               2002 sound/pci/maestro3.c 		outw(dir | GPO_PRIMARY_AC97, io + GPIO_DIRECTION);
io               2006 sound/pci/maestro3.c 		outw(GPO_PRIMARY_AC97, io + GPIO_DATA);
io               2009 sound/pci/maestro3.c 		outw(IO_SRAM_ENABLE | SERIAL_AC_LINK_ENABLE, io + RING_BUS_CTRL_A);
io               2010 sound/pci/maestro3.c 		outw(~0, io + GPIO_MASK);
io               2029 sound/pci/maestro3.c 	tmp = inw(io + RING_BUS_CTRL_A);
io               2030 sound/pci/maestro3.c 	outw(RAC_SDFS_ENABLE|LAC_SDFS_ENABLE, io + RING_BUS_CTRL_A);
io               2032 sound/pci/maestro3.c 	outw(tmp, io + RING_BUS_CTRL_A);
io               2228 sound/pci/maestro3.c 	int io = chip->iobase;
io               2238 sound/pci/maestro3.c 	outw(~gpo, io + GPIO_MASK);
io               2240 sound/pci/maestro3.c 	outw(inw(io + GPIO_DIRECTION) | gpo,
io               2241 sound/pci/maestro3.c 	     io + GPIO_DIRECTION);
io               2244 sound/pci/maestro3.c 	     io + GPIO_DATA);
io               2246 sound/pci/maestro3.c 	outw(0xffff, io + GPIO_MASK);
io               2252 sound/pci/maestro3.c 	unsigned long io = chip->iobase;
io               2262 sound/pci/maestro3.c 	outw(0xffff, io + GPIO_MASK);
io               2263 sound/pci/maestro3.c 	outw(0x0000, io + GPIO_DATA);
io               2265 sound/pci/maestro3.c 	outw(~val, io + GPIO_MASK);
io               2266 sound/pci/maestro3.c 	outw(inw(io + GPIO_DIRECTION) & ~val, io + GPIO_DIRECTION);
io               2267 sound/pci/maestro3.c 	outw(val, io + GPIO_MASK);
io               2269 sound/pci/maestro3.c 	outw(0xffff, io + GPIO_MASK);
io               2276 sound/pci/maestro3.c 	unsigned long io = chip->iobase;
io               2320 sound/pci/maestro3.c 	outb(0x00, io + HARDWARE_VOL_CTRL);
io               2321 sound/pci/maestro3.c 	outb(0x88, io + SHADOW_MIX_REG_VOICE);
io               2322 sound/pci/maestro3.c 	outb(0x88, io + HW_VOL_COUNTER_VOICE);
io               2323 sound/pci/maestro3.c 	outb(0x88, io + SHADOW_MIX_REG_MASTER);
io               2324 sound/pci/maestro3.c 	outb(0x88, io + HW_VOL_COUNTER_MASTER);
io               2332 sound/pci/maestro3.c 	unsigned long io = chip->iobase;
io               2340 sound/pci/maestro3.c 	outw(val, io + HOST_INT_CTRL);
io               2341 sound/pci/maestro3.c 	outb(inb(io + ASSP_CONTROL_C) | ASSP_HOST_INT_ENABLE,
io               2342 sound/pci/maestro3.c 	     io + ASSP_CONTROL_C);
io               2026 sound/pci/riptide/riptide.c 	gameport->io = joystick_port[dev];
io               2040 sound/pci/riptide/riptide.c 		release_region(gameport->io, 8);
io                300 sound/pci/sis7019.c 	unsigned long io = sis->ioport;
io                310 sound/pci/sis7019.c 	intr = inl(io + SIS_GISR);
io                317 sound/pci/sis7019.c 		status = inl(io + SIS_PISR_A);
io                320 sound/pci/sis7019.c 			outl(status, io + SIS_PISR_A);
io                323 sound/pci/sis7019.c 		status = inl(io + SIS_PISR_B);
io                326 sound/pci/sis7019.c 			outl(status, io + SIS_PISR_B);
io                329 sound/pci/sis7019.c 		status = inl(io + SIS_RISR);
io                335 sound/pci/sis7019.c 			outl(status, io + SIS_RISR);
io                338 sound/pci/sis7019.c 		outl(intr, io + SIS_GISR);
io                339 sound/pci/sis7019.c 		intr = inl(io + SIS_GISR);
io                583 sound/pci/sis7019.c 	unsigned long io = sis->ioport;
io                633 sound/pci/sis7019.c 			outl(record, io + SIS_RECORD_START_REG);
io                635 sound/pci/sis7019.c 			outl(play[0], io + SIS_PLAY_START_A_REG);
io                637 sound/pci/sis7019.c 			outl(play[1], io + SIS_PLAY_START_B_REG);
io                640 sound/pci/sis7019.c 			outl(record, io + SIS_RECORD_STOP_REG);
io                642 sound/pci/sis7019.c 			outl(play[0], io + SIS_PLAY_STOP_A_REG);
io                644 sound/pci/sis7019.c 			outl(play[1], io + SIS_PLAY_STOP_B_REG);
io                915 sound/pci/sis7019.c 	unsigned long io = sis->ioport;
io                935 sound/pci/sis7019.c 	while ((inw(io + SIS_AC97_SEMA) & SIS_AC97_SEMA_BUSY) && --count)
io                945 sound/pci/sis7019.c 		status = inw(io + SIS_AC97_STATUS);
io                957 sound/pci/sis7019.c 	outl(cmd, io + SIS_AC97_CMD);
io                961 sound/pci/sis7019.c 	while ((inw(io + SIS_AC97_STATUS) & SIS_AC97_STATUS_BUSY) && --count)
io                966 sound/pci/sis7019.c 	val = inl(io + SIS_AC97_CMD) >> 16;
io                969 sound/pci/sis7019.c 	outl(SIS_AC97_SEMA_RELEASE, io + SIS_AC97_SEMA);
io               1070 sound/pci/sis7019.c 	unsigned long io = sis->ioport;
io               1079 sound/pci/sis7019.c 	outl(SIS_GCR_SOFTWARE_RESET, io + SIS_GCR);
io               1081 sound/pci/sis7019.c 	outl(0, io + SIS_GCR);
io               1086 sound/pci/sis7019.c 	while ((inw(io + SIS_AC97_SEMA) & SIS_AC97_SEMA_BUSY) && --count)
io               1092 sound/pci/sis7019.c 	outl(SIS_AC97_CMD_CODEC_COLD_RESET, io + SIS_AC97_CMD);
io               1096 sound/pci/sis7019.c 	while ((inw(io + SIS_AC97_STATUS) & SIS_AC97_STATUS_BUSY) && --count)
io               1101 sound/pci/sis7019.c 	outl(SIS_AC97_SEMA_RELEASE, io + SIS_AC97_SEMA);
io               1113 sound/pci/sis7019.c 		status = inl(io + SIS_AC97_STATUS);
io               1144 sound/pci/sis7019.c 	outl(SIS_AC97_CONF_AUDIO_ALIVE, io + SIS_AC97_CONF);
io               1148 sound/pci/sis7019.c 		SIS_AC97_CONF_CODEC_VRA_ENABLE, io + SIS_AC97_CONF);
io               1152 sound/pci/sis7019.c 	outl(0, io + SIS_AC97_PSR);
io               1156 sound/pci/sis7019.c 	outl(SIS_DMA_CSR_PCI_SETTINGS, io + SIS_DMA_CSR);
io               1164 sound/pci/sis7019.c 	outl(0, io + SIS_PLAY_SYNC_GROUP_A);
io               1165 sound/pci/sis7019.c 	outl(0, io + SIS_PLAY_SYNC_GROUP_B);
io               1166 sound/pci/sis7019.c 	outl(0, io + SIS_PLAY_SYNC_GROUP_C);
io               1167 sound/pci/sis7019.c 	outl(0, io + SIS_PLAY_SYNC_GROUP_D);
io               1168 sound/pci/sis7019.c 	outl(0, io + SIS_MIXER_SYNC_GROUP);
io               1181 sound/pci/sis7019.c 	outl(0xffff0000, io + SIS_WEVCR);
io               1185 sound/pci/sis7019.c 	outl(0, io + SIS_WECCR);
io               1191 sound/pci/sis7019.c 		SIS_GIER_AUDIO_RECORD_DMA_IRQ_ENABLE, io + SIS_GIER);
io               1187 sound/pci/sonicvibes.c 	gp->io = sonic->game_port;
io               1947 sound/pci/via82xx.c 	gp->io = JOYSTICK_ADDR;
io                129 sound/pci/ymfpci/ymfpci.c 	gp->io = io_port;
io                 46 sound/soc/kirkwood/kirkwood-dma.c 	mask = readl(priv->io + KIRKWOOD_INT_MASK);
io                 47 sound/soc/kirkwood/kirkwood-dma.c 	status = readl(priv->io + KIRKWOOD_INT_CAUSE) & mask;
io                 49 sound/soc/kirkwood/kirkwood-dma.c 	cause = readl(priv->io + KIRKWOOD_ERR_CAUSE);
io                 53 sound/soc/kirkwood/kirkwood-dma.c 		writel(cause, priv->io + KIRKWOOD_ERR_CAUSE);
io                 65 sound/soc/kirkwood/kirkwood-dma.c 	writel(status, priv->io + KIRKWOOD_INT_CAUSE);
io                141 sound/soc/kirkwood/kirkwood-dma.c 		writel((unsigned int)-1, priv->io + KIRKWOOD_ERR_MASK);
io                150 sound/soc/kirkwood/kirkwood-dma.c 		kirkwood_dma_conf_mbus_windows(priv->io,
io                156 sound/soc/kirkwood/kirkwood-dma.c 		kirkwood_dma_conf_mbus_windows(priv->io,
io                176 sound/soc/kirkwood/kirkwood-dma.c 		writel(0, priv->io + KIRKWOOD_ERR_MASK);
io                212 sound/soc/kirkwood/kirkwood-dma.c 		writel(count, priv->io + KIRKWOOD_PLAY_BYTE_INT_COUNT);
io                213 sound/soc/kirkwood/kirkwood-dma.c 		writel(runtime->dma_addr, priv->io + KIRKWOOD_PLAY_BUF_ADDR);
io                214 sound/soc/kirkwood/kirkwood-dma.c 		writel(size, priv->io + KIRKWOOD_PLAY_BUF_SIZE);
io                216 sound/soc/kirkwood/kirkwood-dma.c 		writel(count, priv->io + KIRKWOOD_REC_BYTE_INT_COUNT);
io                217 sound/soc/kirkwood/kirkwood-dma.c 		writel(runtime->dma_addr, priv->io + KIRKWOOD_REC_BUF_ADDR);
io                218 sound/soc/kirkwood/kirkwood-dma.c 		writel(size, priv->io + KIRKWOOD_REC_BUF_SIZE);
io                233 sound/soc/kirkwood/kirkwood-dma.c 			readl(priv->io + KIRKWOOD_PLAY_BYTE_COUNT));
io                236 sound/soc/kirkwood/kirkwood-dma.c 			readl(priv->io + KIRKWOOD_REC_BYTE_COUNT));
io                 59 sound/soc/kirkwood/kirkwood-i2s.c 	value = readl(priv->io+KIRKWOOD_I2S_PLAYCTL);
io                 62 sound/soc/kirkwood/kirkwood-i2s.c 	writel(value, priv->io+KIRKWOOD_I2S_PLAYCTL);
io                 64 sound/soc/kirkwood/kirkwood-i2s.c 	value = readl(priv->io+KIRKWOOD_I2S_RECCTL);
io                 67 sound/soc/kirkwood/kirkwood-i2s.c 	writel(value, priv->io+KIRKWOOD_I2S_RECCTL);
io                 72 sound/soc/kirkwood/kirkwood-i2s.c static inline void kirkwood_set_dco(void __iomem *io, unsigned long rate)
io                 89 sound/soc/kirkwood/kirkwood-i2s.c 	writel(value, io + KIRKWOOD_DCO_CTL);
io                 94 sound/soc/kirkwood/kirkwood-i2s.c 		value = readl(io + KIRKWOOD_DCO_SPCR_STATUS);
io                109 sound/soc/kirkwood/kirkwood-i2s.c 		kirkwood_set_dco(priv->io, rate);
io                121 sound/soc/kirkwood/kirkwood-i2s.c 	writel(clks_ctrl, priv->io + KIRKWOOD_CLOCKS_CTRL);
io                150 sound/soc/kirkwood/kirkwood-i2s.c 	i2s_value = readl(priv->io+i2s_reg);
io                214 sound/soc/kirkwood/kirkwood-i2s.c 	writel(i2s_value, priv->io+i2s_reg);
io                235 sound/soc/kirkwood/kirkwood-i2s.c 	ctl = readl(priv->io + KIRKWOOD_PLAYCTL);
io                245 sound/soc/kirkwood/kirkwood-i2s.c 			ctl = readl(priv->io + KIRKWOOD_PLAYCTL);
io                266 sound/soc/kirkwood/kirkwood-i2s.c 		writel(value, priv->io + KIRKWOOD_PLAYCTL);
io                270 sound/soc/kirkwood/kirkwood-i2s.c 			value = readl(priv->io + KIRKWOOD_INT_MASK);
io                272 sound/soc/kirkwood/kirkwood-i2s.c 			writel(value, priv->io + KIRKWOOD_INT_MASK);
io                276 sound/soc/kirkwood/kirkwood-i2s.c 		writel(ctl, priv->io + KIRKWOOD_PLAYCTL);
io                283 sound/soc/kirkwood/kirkwood-i2s.c 		writel(ctl, priv->io + KIRKWOOD_PLAYCTL);
io                285 sound/soc/kirkwood/kirkwood-i2s.c 		value = readl(priv->io + KIRKWOOD_INT_MASK);
io                287 sound/soc/kirkwood/kirkwood-i2s.c 		writel(value, priv->io + KIRKWOOD_INT_MASK);
io                291 sound/soc/kirkwood/kirkwood-i2s.c 		writel(ctl, priv->io + KIRKWOOD_PLAYCTL);
io                298 sound/soc/kirkwood/kirkwood-i2s.c 		writel(ctl, priv->io + KIRKWOOD_PLAYCTL);
io                306 sound/soc/kirkwood/kirkwood-i2s.c 		writel(ctl, priv->io + KIRKWOOD_PLAYCTL);
io                322 sound/soc/kirkwood/kirkwood-i2s.c 	value = readl(priv->io + KIRKWOOD_RECCTL);
io                334 sound/soc/kirkwood/kirkwood-i2s.c 		writel(value, priv->io + KIRKWOOD_RECCTL);
io                337 sound/soc/kirkwood/kirkwood-i2s.c 		value = readl(priv->io + KIRKWOOD_INT_MASK);
io                339 sound/soc/kirkwood/kirkwood-i2s.c 		writel(value, priv->io + KIRKWOOD_INT_MASK);
io                342 sound/soc/kirkwood/kirkwood-i2s.c 		writel(ctl, priv->io + KIRKWOOD_RECCTL);
io                347 sound/soc/kirkwood/kirkwood-i2s.c 		value = readl(priv->io + KIRKWOOD_RECCTL);
io                349 sound/soc/kirkwood/kirkwood-i2s.c 		writel(value, priv->io + KIRKWOOD_RECCTL);
io                351 sound/soc/kirkwood/kirkwood-i2s.c 		value = readl(priv->io + KIRKWOOD_INT_MASK);
io                353 sound/soc/kirkwood/kirkwood-i2s.c 		writel(value, priv->io + KIRKWOOD_INT_MASK);
io                356 sound/soc/kirkwood/kirkwood-i2s.c 		value = readl(priv->io + KIRKWOOD_RECCTL);
io                358 sound/soc/kirkwood/kirkwood-i2s.c 		writel(value, priv->io + KIRKWOOD_RECCTL);
io                363 sound/soc/kirkwood/kirkwood-i2s.c 		value = readl(priv->io + KIRKWOOD_RECCTL);
io                365 sound/soc/kirkwood/kirkwood-i2s.c 		writel(value, priv->io + KIRKWOOD_RECCTL);
io                370 sound/soc/kirkwood/kirkwood-i2s.c 		value = readl(priv->io + KIRKWOOD_RECCTL);
io                372 sound/soc/kirkwood/kirkwood-i2s.c 		writel(value, priv->io + KIRKWOOD_RECCTL);
io                400 sound/soc/kirkwood/kirkwood-i2s.c 	writel(0xffffffff, priv->io + KIRKWOOD_INT_CAUSE);
io                401 sound/soc/kirkwood/kirkwood-i2s.c 	writel(0, priv->io + KIRKWOOD_INT_MASK);
io                403 sound/soc/kirkwood/kirkwood-i2s.c 	reg_data = readl(priv->io + 0x1200);
io                406 sound/soc/kirkwood/kirkwood-i2s.c 	writel(reg_data, priv->io + 0x1200);
io                410 sound/soc/kirkwood/kirkwood-i2s.c 	reg_data = readl(priv->io + 0x1200);
io                413 sound/soc/kirkwood/kirkwood-i2s.c 	writel(reg_data, priv->io + 0x1200);
io                416 sound/soc/kirkwood/kirkwood-i2s.c 	value = readl(priv->io + KIRKWOOD_PLAYCTL);
io                418 sound/soc/kirkwood/kirkwood-i2s.c 	writel(value, priv->io + KIRKWOOD_PLAYCTL);
io                420 sound/soc/kirkwood/kirkwood-i2s.c 	value = readl(priv->io + KIRKWOOD_RECCTL);
io                422 sound/soc/kirkwood/kirkwood-i2s.c 	writel(value, priv->io + KIRKWOOD_RECCTL);
io                535 sound/soc/kirkwood/kirkwood-i2s.c 	priv->io = devm_platform_ioremap_resource(pdev, 0);
io                536 sound/soc/kirkwood/kirkwood-i2s.c 	if (IS_ERR(priv->io))
io                537 sound/soc/kirkwood/kirkwood-i2s.c 		return PTR_ERR(priv->io);
io                133 sound/soc/kirkwood/kirkwood.h 	void __iomem *io;
io                269 sound/soc/sh/fsi.c 	int (*init)(struct fsi_priv *fsi, struct fsi_stream *io);
io                270 sound/soc/sh/fsi.c 	int (*quit)(struct fsi_priv *fsi, struct fsi_stream *io);
io                271 sound/soc/sh/fsi.c 	int (*probe)(struct fsi_priv *fsi, struct fsi_stream *io, struct device *dev);
io                272 sound/soc/sh/fsi.c 	int (*transfer)(struct fsi_priv *fsi, struct fsi_stream *io);
io                273 sound/soc/sh/fsi.c 	int (*remove)(struct fsi_priv *fsi, struct fsi_stream *io);
io                274 sound/soc/sh/fsi.c 	int (*start_stop)(struct fsi_priv *fsi, struct fsi_stream *io,
io                277 sound/soc/sh/fsi.c #define fsi_stream_handler_call(io, func, args...)	\
io                278 sound/soc/sh/fsi.c 	(!(io) ? -ENODEV :				\
io                279 sound/soc/sh/fsi.c 	 !((io)->handler->func) ? 0 :			\
io                280 sound/soc/sh/fsi.c 	 (io)->handler->func(args))
io                301 sound/soc/sh/fsi.c 				     struct fsi_stream *io)
io                303 sound/soc/sh/fsi.c 	return &fsi->playback == io;
io                429 sound/soc/sh/fsi.c static u32 fsi_get_port_shift(struct fsi_priv *fsi, struct fsi_stream *io)
io                431 sound/soc/sh/fsi.c 	int is_play = fsi_stream_is_play(fsi, io);
io                454 sound/soc/sh/fsi.c 					struct fsi_stream *io)
io                456 sound/soc/sh/fsi.c 	int is_play = fsi_stream_is_play(fsi, io);
io                500 sound/soc/sh/fsi.c 				 struct fsi_stream *io)
io                507 sound/soc/sh/fsi.c 	ret = !!(io->substream && io->substream->runtime);
io                513 sound/soc/sh/fsi.c static struct fsi_priv *fsi_stream_to_priv(struct fsi_stream *io)
io                515 sound/soc/sh/fsi.c 	return io->priv;
io                519 sound/soc/sh/fsi.c 			    struct fsi_stream *io,
io                527 sound/soc/sh/fsi.c 	io->substream	= substream;
io                528 sound/soc/sh/fsi.c 	io->buff_sample_capa	= fsi_frame2sample(fsi, runtime->buffer_size);
io                529 sound/soc/sh/fsi.c 	io->buff_sample_pos	= 0;
io                530 sound/soc/sh/fsi.c 	io->period_samples	= fsi_frame2sample(fsi, runtime->period_size);
io                531 sound/soc/sh/fsi.c 	io->period_pos		= 0;
io                532 sound/soc/sh/fsi.c 	io->sample_width	= samples_to_bytes(runtime, 1);
io                533 sound/soc/sh/fsi.c 	io->bus_option		= 0;
io                534 sound/soc/sh/fsi.c 	io->oerr_num	= -1; /* ignore 1st err */
io                535 sound/soc/sh/fsi.c 	io->uerr_num	= -1; /* ignore 1st err */
io                536 sound/soc/sh/fsi.c 	fsi_stream_handler_call(io, init, fsi, io);
io                540 sound/soc/sh/fsi.c static void fsi_stream_quit(struct fsi_priv *fsi, struct fsi_stream *io)
io                542 sound/soc/sh/fsi.c 	struct snd_soc_dai *dai = fsi_get_dai(io->substream);
io                548 sound/soc/sh/fsi.c 	if (io->oerr_num > 0)
io                549 sound/soc/sh/fsi.c 		dev_err(dai->dev, "over_run = %d\n", io->oerr_num);
io                551 sound/soc/sh/fsi.c 	if (io->uerr_num > 0)
io                552 sound/soc/sh/fsi.c 		dev_err(dai->dev, "under_run = %d\n", io->uerr_num);
io                554 sound/soc/sh/fsi.c 	fsi_stream_handler_call(io, quit, fsi, io);
io                555 sound/soc/sh/fsi.c 	io->substream	= NULL;
io                556 sound/soc/sh/fsi.c 	io->buff_sample_capa	= 0;
io                557 sound/soc/sh/fsi.c 	io->buff_sample_pos	= 0;
io                558 sound/soc/sh/fsi.c 	io->period_samples	= 0;
io                559 sound/soc/sh/fsi.c 	io->period_pos		= 0;
io                560 sound/soc/sh/fsi.c 	io->sample_width	= 0;
io                561 sound/soc/sh/fsi.c 	io->bus_option		= 0;
io                562 sound/soc/sh/fsi.c 	io->oerr_num	= 0;
io                563 sound/soc/sh/fsi.c 	io->uerr_num	= 0;
io                567 sound/soc/sh/fsi.c static int fsi_stream_transfer(struct fsi_stream *io)
io                569 sound/soc/sh/fsi.c 	struct fsi_priv *fsi = fsi_stream_to_priv(io);
io                573 sound/soc/sh/fsi.c 	return fsi_stream_handler_call(io, transfer, fsi, io);
io                576 sound/soc/sh/fsi.c #define fsi_stream_start(fsi, io)\
io                577 sound/soc/sh/fsi.c 	fsi_stream_handler_call(io, start_stop, fsi, io, 1)
io                579 sound/soc/sh/fsi.c #define fsi_stream_stop(fsi, io)\
io                580 sound/soc/sh/fsi.c 	fsi_stream_handler_call(io, start_stop, fsi, io, 0)
io                584 sound/soc/sh/fsi.c 	struct fsi_stream *io;
io                587 sound/soc/sh/fsi.c 	io = &fsi->playback;
io                588 sound/soc/sh/fsi.c 	ret1 = fsi_stream_handler_call(io, probe, fsi, io, dev);
io                590 sound/soc/sh/fsi.c 	io = &fsi->capture;
io                591 sound/soc/sh/fsi.c 	ret2 = fsi_stream_handler_call(io, probe, fsi, io, dev);
io                603 sound/soc/sh/fsi.c 	struct fsi_stream *io;
io                606 sound/soc/sh/fsi.c 	io = &fsi->playback;
io                607 sound/soc/sh/fsi.c 	ret1 = fsi_stream_handler_call(io, remove, fsi, io);
io                609 sound/soc/sh/fsi.c 	io = &fsi->capture;
io                610 sound/soc/sh/fsi.c 	ret2 = fsi_stream_handler_call(io, remove, fsi, io);
io                623 sound/soc/sh/fsi.c static void fsi_format_bus_setup(struct fsi_priv *fsi, struct fsi_stream *io,
io                627 sound/soc/sh/fsi.c 	int is_play = fsi_stream_is_play(fsi, io);
io                671 sound/soc/sh/fsi.c static void fsi_irq_enable(struct fsi_priv *fsi, struct fsi_stream *io)
io                673 sound/soc/sh/fsi.c 	u32 data = AB_IO(1, fsi_get_port_shift(fsi, io));
io                680 sound/soc/sh/fsi.c static void fsi_irq_disable(struct fsi_priv *fsi, struct fsi_stream *io)
io                682 sound/soc/sh/fsi.c 	u32 data = AB_IO(1, fsi_get_port_shift(fsi, io));
io               1031 sound/soc/sh/fsi.c static void fsi_pointer_update(struct fsi_stream *io, int size)
io               1033 sound/soc/sh/fsi.c 	io->buff_sample_pos += size;
io               1035 sound/soc/sh/fsi.c 	if (io->buff_sample_pos >=
io               1036 sound/soc/sh/fsi.c 	    io->period_samples * (io->period_pos + 1)) {
io               1037 sound/soc/sh/fsi.c 		struct snd_pcm_substream *substream = io->substream;
io               1040 sound/soc/sh/fsi.c 		io->period_pos++;
io               1042 sound/soc/sh/fsi.c 		if (io->period_pos >= runtime->periods) {
io               1043 sound/soc/sh/fsi.c 			io->buff_sample_pos = 0;
io               1044 sound/soc/sh/fsi.c 			io->period_pos = 0;
io               1104 sound/soc/sh/fsi.c static u8 *fsi_pio_get_area(struct fsi_priv *fsi, struct fsi_stream *io)
io               1106 sound/soc/sh/fsi.c 	struct snd_pcm_runtime *runtime = io->substream->runtime;
io               1109 sound/soc/sh/fsi.c 		samples_to_bytes(runtime, io->buff_sample_pos);
io               1112 sound/soc/sh/fsi.c static int fsi_pio_transfer(struct fsi_priv *fsi, struct fsi_stream *io,
io               1119 sound/soc/sh/fsi.c 	if (!fsi_stream_is_working(fsi, io))
io               1122 sound/soc/sh/fsi.c 	buf = fsi_pio_get_area(fsi, io);
io               1124 sound/soc/sh/fsi.c 	switch (io->sample_width) {
io               1135 sound/soc/sh/fsi.c 	fsi_pointer_update(io, samples);
io               1140 sound/soc/sh/fsi.c static int fsi_pio_pop(struct fsi_priv *fsi, struct fsi_stream *io)
io               1146 sound/soc/sh/fsi.c 	sample_residues	= fsi_get_current_fifo_samples(fsi, io);
io               1147 sound/soc/sh/fsi.c 	sample_space	= io->buff_sample_capa - io->buff_sample_pos;
io               1151 sound/soc/sh/fsi.c 	return fsi_pio_transfer(fsi, io,
io               1157 sound/soc/sh/fsi.c static int fsi_pio_push(struct fsi_priv *fsi, struct fsi_stream *io)
io               1163 sound/soc/sh/fsi.c 	sample_residues	= io->buff_sample_capa - io->buff_sample_pos;
io               1164 sound/soc/sh/fsi.c 	sample_space	= io->fifo_sample_capa -
io               1165 sound/soc/sh/fsi.c 		fsi_get_current_fifo_samples(fsi, io);
io               1169 sound/soc/sh/fsi.c 	return fsi_pio_transfer(fsi, io,
io               1175 sound/soc/sh/fsi.c static int fsi_pio_start_stop(struct fsi_priv *fsi, struct fsi_stream *io,
io               1182 sound/soc/sh/fsi.c 		fsi_irq_enable(fsi, io);
io               1184 sound/soc/sh/fsi.c 		fsi_irq_disable(fsi, io);
io               1192 sound/soc/sh/fsi.c static int fsi_pio_push_init(struct fsi_priv *fsi, struct fsi_stream *io)
io               1202 sound/soc/sh/fsi.c 		io->bus_option = BUSOP_SET(24, PACKAGE_24BITBUS_BACK) |
io               1205 sound/soc/sh/fsi.c 		io->bus_option = BUSOP_SET(24, PACKAGE_24BITBUS_BACK) |
io               1210 sound/soc/sh/fsi.c static int fsi_pio_pop_init(struct fsi_priv *fsi, struct fsi_stream *io)
io               1215 sound/soc/sh/fsi.c 	io->bus_option = BUSOP_SET(24, PACKAGE_24BITBUS_BACK) |
io               1262 sound/soc/sh/fsi.c static int fsi_dma_init(struct fsi_priv *fsi, struct fsi_stream *io)
io               1268 sound/soc/sh/fsi.c 	io->bus_option = BUSOP_SET(24, PACKAGE_24BITBUS_BACK) |
io               1276 sound/soc/sh/fsi.c 	struct fsi_stream *io = (struct fsi_stream *)data;
io               1277 sound/soc/sh/fsi.c 	struct fsi_priv *fsi = fsi_stream_to_priv(io);
io               1279 sound/soc/sh/fsi.c 	fsi_pointer_update(io, io->period_samples);
io               1284 sound/soc/sh/fsi.c static int fsi_dma_transfer(struct fsi_priv *fsi, struct fsi_stream *io)
io               1286 sound/soc/sh/fsi.c 	struct snd_soc_dai *dai = fsi_get_dai(io->substream);
io               1287 sound/soc/sh/fsi.c 	struct snd_pcm_substream *substream = io->substream;
io               1289 sound/soc/sh/fsi.c 	int is_play = fsi_stream_is_play(fsi, io);
io               1298 sound/soc/sh/fsi.c 	desc = dmaengine_prep_dma_cyclic(io->chan,
io               1310 sound/soc/sh/fsi.c 	desc->callback_param	= io;
io               1317 sound/soc/sh/fsi.c 	dma_async_issue_pending(io->chan);
io               1341 sound/soc/sh/fsi.c static int fsi_dma_push_start_stop(struct fsi_priv *fsi, struct fsi_stream *io,
io               1350 sound/soc/sh/fsi.c 	dmaengine_terminate_all(io->chan);
io               1358 sound/soc/sh/fsi.c static int fsi_dma_probe(struct fsi_priv *fsi, struct fsi_stream *io, struct device *dev)
io               1360 sound/soc/sh/fsi.c 	int is_play = fsi_stream_is_play(fsi, io);
io               1367 sound/soc/sh/fsi.c 	io->chan = dma_request_channel(mask, shdma_chan_filter,
io               1368 sound/soc/sh/fsi.c 				       (void *)io->dma_id);
io               1370 sound/soc/sh/fsi.c 	io->chan = dma_request_slave_channel(dev, is_play ? "tx" : "rx");
io               1372 sound/soc/sh/fsi.c 	if (io->chan) {
io               1386 sound/soc/sh/fsi.c 		ret = dmaengine_slave_config(io->chan, &cfg);
io               1388 sound/soc/sh/fsi.c 			dma_release_channel(io->chan);
io               1389 sound/soc/sh/fsi.c 			io->chan = NULL;
io               1393 sound/soc/sh/fsi.c 	if (!io->chan) {
io               1410 sound/soc/sh/fsi.c static int fsi_dma_remove(struct fsi_priv *fsi, struct fsi_stream *io)
io               1412 sound/soc/sh/fsi.c 	fsi_stream_stop(fsi, io);
io               1414 sound/soc/sh/fsi.c 	if (io->chan)
io               1415 sound/soc/sh/fsi.c 		dma_release_channel(io->chan);
io               1417 sound/soc/sh/fsi.c 	io->chan = NULL;
io               1433 sound/soc/sh/fsi.c 			  struct fsi_stream *io,
io               1437 sound/soc/sh/fsi.c 	int is_play = fsi_stream_is_play(fsi, io);
io               1443 sound/soc/sh/fsi.c 	shift >>= fsi_get_port_shift(fsi, io);
io               1472 sound/soc/sh/fsi.c 	io->fifo_sample_capa = fsi_frame2sample(fsi, frame_capa);
io               1488 sound/soc/sh/fsi.c 			  struct fsi_stream *io,
io               1519 sound/soc/sh/fsi.c 	switch (io->sample_width) {
io               1521 sound/soc/sh/fsi.c 		data = BUSOP_GET(16, io->bus_option);
io               1524 sound/soc/sh/fsi.c 		data = BUSOP_GET(24, io->bus_option);
io               1527 sound/soc/sh/fsi.c 	fsi_format_bus_setup(fsi, io, data, dev);
io               1530 sound/soc/sh/fsi.c 	fsi_irq_disable(fsi, io);
io               1534 sound/soc/sh/fsi.c 	fsi_fifo_init(fsi, io, dev);
io               1575 sound/soc/sh/fsi.c 	struct fsi_stream *io = fsi_stream_get(fsi, substream);
io               1580 sound/soc/sh/fsi.c 		fsi_stream_init(fsi, io, substream);
io               1582 sound/soc/sh/fsi.c 			ret = fsi_hw_startup(fsi, io, dai->dev);
io               1584 sound/soc/sh/fsi.c 			ret = fsi_stream_start(fsi, io);
io               1586 sound/soc/sh/fsi.c 			ret = fsi_stream_transfer(io);
io               1591 sound/soc/sh/fsi.c 		fsi_stream_stop(fsi, io);
io               1592 sound/soc/sh/fsi.c 		fsi_stream_quit(fsi, io);
io               1749 sound/soc/sh/fsi.c 	struct fsi_stream *io = fsi_stream_get(fsi, substream);
io               1751 sound/soc/sh/fsi.c 	return fsi_sample2frame(fsi, io->buff_sample_pos);
io               2037 sound/soc/sh/fsi.c 			  struct fsi_stream *io,
io               2040 sound/soc/sh/fsi.c 	if (!fsi_stream_is_working(fsi, io))
io               2043 sound/soc/sh/fsi.c 	fsi_stream_stop(fsi, io);
io               2048 sound/soc/sh/fsi.c 			 struct fsi_stream *io,
io               2051 sound/soc/sh/fsi.c 	if (!fsi_stream_is_working(fsi, io))
io               2054 sound/soc/sh/fsi.c 	fsi_hw_startup(fsi, io, dev);
io               2055 sound/soc/sh/fsi.c 	fsi_stream_start(fsi, io);
io                 81 sound/soc/sh/rcar/adg.c static u32 rsnd_adg_ssi_ws_timing_gen2(struct rsnd_dai_stream *io)
io                 83 sound/soc/sh/rcar/adg.c 	struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io);
io                 87 sound/soc/sh/rcar/adg.c 	if (rsnd_ssi_is_pin_sharing(io)) {
io                107 sound/soc/sh/rcar/adg.c 				       struct rsnd_dai_stream *io,
io                168 sound/soc/sh/rcar/adg.c 				       struct rsnd_dai_stream *io,
io                173 sound/soc/sh/rcar/adg.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                182 sound/soc/sh/rcar/adg.c 	_out = rsnd_adg_ssi_ws_timing_gen2(io);
io                196 sound/soc/sh/rcar/adg.c 		__rsnd_adg_get_timesel_ratio(priv, io,
io                209 sound/soc/sh/rcar/adg.c 				 struct rsnd_dai_stream *io)
io                218 sound/soc/sh/rcar/adg.c 	rsnd_adg_get_timesel_ratio(priv, io,
io                219 sound/soc/sh/rcar/adg.c 				   rsnd_src_get_in_rate(priv, io),
io                220 sound/soc/sh/rcar/adg.c 				   rsnd_src_get_out_rate(priv, io),
io                232 sound/soc/sh/rcar/adg.c 				  struct rsnd_dai_stream *io,
io                246 sound/soc/sh/rcar/adg.c 	rsnd_adg_get_timesel_ratio(priv, io,
io                 24 sound/soc/sh/rcar/cmd.c 			 struct rsnd_dai_stream *io,
io                 27 sound/soc/sh/rcar/cmd.c 	struct rsnd_mod *dvc = rsnd_io_to_mod_dvc(io);
io                 28 sound/soc/sh/rcar/cmd.c 	struct rsnd_mod *mix = rsnd_io_to_mod_mix(io);
io                 69 sound/soc/sh/rcar/cmd.c 		struct rsnd_mod *src = rsnd_io_to_mod_src(io);
io                 92 sound/soc/sh/rcar/cmd.c 	rsnd_mod_write(mod, CMD_BUSIF_MODE, rsnd_get_busif_shift(io, mod) | 1);
io                 93 sound/soc/sh/rcar/cmd.c 	rsnd_mod_write(mod, CMD_BUSIF_DALIGN, rsnd_get_dalign(mod, io));
io                 95 sound/soc/sh/rcar/cmd.c 	rsnd_adg_set_cmd_timsel_gen2(mod, io);
io                101 sound/soc/sh/rcar/cmd.c 			  struct rsnd_dai_stream *io,
io                110 sound/soc/sh/rcar/cmd.c 			 struct rsnd_dai_stream *io,
io                133 sound/soc/sh/rcar/cmd.c int rsnd_cmd_attach(struct rsnd_dai_stream *io, int id)
io                135 sound/soc/sh/rcar/cmd.c 	struct rsnd_priv *priv = rsnd_io_to_priv(io);
io                138 sound/soc/sh/rcar/cmd.c 	return rsnd_dai_connect(mod, io, mod->type);
io                133 sound/soc/sh/rcar/core.c struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io,
io                139 sound/soc/sh/rcar/core.c 	return mod->ops->dma_req(io, mod);
io                174 sound/soc/sh/rcar/core.c 			 struct rsnd_dai_stream *io,
io                230 sound/soc/sh/rcar/core.c 					 struct rsnd_dai_stream *io))
io                233 sound/soc/sh/rcar/core.c 	struct rsnd_dai_stream *io;
io                238 sound/soc/sh/rcar/core.c 		io = &rdai->playback;
io                239 sound/soc/sh/rcar/core.c 		if (mod == io->mod[mod->type])
io                240 sound/soc/sh/rcar/core.c 			callback(mod, io);
io                242 sound/soc/sh/rcar/core.c 		io = &rdai->capture;
io                243 sound/soc/sh/rcar/core.c 		if (mod == io->mod[mod->type])
io                244 sound/soc/sh/rcar/core.c 			callback(mod, io);
io                248 sound/soc/sh/rcar/core.c int rsnd_io_is_working(struct rsnd_dai_stream *io)
io                251 sound/soc/sh/rcar/core.c 	if (io->substream)
io                252 sound/soc/sh/rcar/core.c 		return snd_pcm_running(io->substream);
io                257 sound/soc/sh/rcar/core.c int rsnd_runtime_channel_original_with_params(struct rsnd_dai_stream *io,
io                260 sound/soc/sh/rcar/core.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                274 sound/soc/sh/rcar/core.c int rsnd_runtime_channel_after_ctu_with_params(struct rsnd_dai_stream *io,
io                277 sound/soc/sh/rcar/core.c 	int chan = rsnd_runtime_channel_original_with_params(io, params);
io                278 sound/soc/sh/rcar/core.c 	struct rsnd_mod *ctu_mod = rsnd_io_to_mod_ctu(io);
io                281 sound/soc/sh/rcar/core.c 		u32 converted_chan = rsnd_io_converted_chan(io);
io                290 sound/soc/sh/rcar/core.c 		if (rsnd_runtime_is_tdm_split(io)) {
io                291 sound/soc/sh/rcar/core.c 			struct device *dev = rsnd_priv_to_dev(rsnd_io_to_priv(io));
io                315 sound/soc/sh/rcar/core.c int rsnd_runtime_channel_for_ssi_with_params(struct rsnd_dai_stream *io,
io                318 sound/soc/sh/rcar/core.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                319 sound/soc/sh/rcar/core.c 	int chan = rsnd_io_is_play(io) ?
io                320 sound/soc/sh/rcar/core.c 		rsnd_runtime_channel_after_ctu_with_params(io, params) :
io                321 sound/soc/sh/rcar/core.c 		rsnd_runtime_channel_original_with_params(io, params);
io                324 sound/soc/sh/rcar/core.c 	if (rsnd_runtime_is_multi_ssi(io))
io                330 sound/soc/sh/rcar/core.c int rsnd_runtime_is_multi_ssi(struct rsnd_dai_stream *io)
io                332 sound/soc/sh/rcar/core.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                334 sound/soc/sh/rcar/core.c 	int chan = rsnd_io_is_play(io) ?
io                335 sound/soc/sh/rcar/core.c 		rsnd_runtime_channel_after_ctu(io) :
io                336 sound/soc/sh/rcar/core.c 		rsnd_runtime_channel_original(io);
io                341 sound/soc/sh/rcar/core.c int rsnd_runtime_is_tdm(struct rsnd_dai_stream *io)
io                343 sound/soc/sh/rcar/core.c 	return rsnd_runtime_channel_for_ssi(io) >= 6;
io                346 sound/soc/sh/rcar/core.c int rsnd_runtime_is_tdm_split(struct rsnd_dai_stream *io)
io                348 sound/soc/sh/rcar/core.c 	return !!rsnd_flags_has(io, RSND_STREAM_TDM_SPLIT);
io                354 sound/soc/sh/rcar/core.c u32 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io)
io                357 sound/soc/sh/rcar/core.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                377 sound/soc/sh/rcar/core.c u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io)
io                390 sound/soc/sh/rcar/core.c 	struct rsnd_mod *ssiu = rsnd_io_to_mod_ssiu(io);
io                392 sound/soc/sh/rcar/core.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                415 sound/soc/sh/rcar/core.c 	if (rsnd_io_is_play(io)) {
io                416 sound/soc/sh/rcar/core.c 		struct rsnd_mod *src = rsnd_io_to_mod_src(io);
io                420 sound/soc/sh/rcar/core.c 		struct rsnd_mod *cmd = rsnd_io_to_mod_cmd(io);
io                439 sound/soc/sh/rcar/core.c u32 rsnd_get_busif_shift(struct rsnd_dai_stream *io, struct rsnd_mod *mod)
io                451 sound/soc/sh/rcar/core.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                454 sound/soc/sh/rcar/core.c 		rsnd_io_is_play(io) ?
io                470 sound/soc/sh/rcar/core.c 		tmod = rsnd_io_to_mod(io, mods[i]);
io                478 sound/soc/sh/rcar/core.c 	if (rsnd_io_is_play(io))
io                490 sound/soc/sh/rcar/core.c 			       struct rsnd_dai_stream *io,
io                500 sound/soc/sh/rcar/core.c 		mod = rsnd_io_to_mod(io, type);
io                558 sound/soc/sh/rcar/core.c #define rsnd_dai_call(fn, io, param...)					\
io                560 sound/soc/sh/rcar/core.c 	struct device *dev = rsnd_priv_to_dev(rsnd_io_to_priv(io));	\
io                562 sound/soc/sh/rcar/core.c 	int is_play = rsnd_io_is_play(io);				\
io                565 sound/soc/sh/rcar/core.c 	for_each_rsnd_mod_arrays(i, mod, io, types, RSND_MOD_MAX) {	\
io                567 sound/soc/sh/rcar/core.c 		u32 *status = mod->ops->get_status(mod, io, types[i]);	\
io                576 sound/soc/sh/rcar/core.c 			tmp = (mod)->ops->fn(mod, io, param);		\
io                586 sound/soc/sh/rcar/core.c 		     struct rsnd_dai_stream *io,
io                595 sound/soc/sh/rcar/core.c 	if (io->mod[type] == mod)
io                598 sound/soc/sh/rcar/core.c 	if (io->mod[type])
io                604 sound/soc/sh/rcar/core.c 	io->mod[type] = mod;
io                608 sound/soc/sh/rcar/core.c 		rsnd_io_is_play(io) ? "Playback" : "Capture");
io                614 sound/soc/sh/rcar/core.c 				struct rsnd_dai_stream *io,
io                617 sound/soc/sh/rcar/core.c 	io->mod[type] = NULL;
io                674 sound/soc/sh/rcar/core.c void rsnd_dai_period_elapsed(struct rsnd_dai_stream *io)
io                676 sound/soc/sh/rcar/core.c 	struct snd_pcm_substream *substream = io->substream;
io                688 sound/soc/sh/rcar/core.c static void rsnd_dai_stream_init(struct rsnd_dai_stream *io,
io                691 sound/soc/sh/rcar/core.c 	io->substream		= substream;
io                694 sound/soc/sh/rcar/core.c static void rsnd_dai_stream_quit(struct rsnd_dai_stream *io)
io                696 sound/soc/sh/rcar/core.c 	io->substream		= NULL;
io                722 sound/soc/sh/rcar/core.c 	struct rsnd_dai_stream *io = rsnd_rdai_to_io(rdai, substream);
io                731 sound/soc/sh/rcar/core.c 		ret = rsnd_dai_call(init, io, priv);
io                735 sound/soc/sh/rcar/core.c 		ret = rsnd_dai_call(start, io, priv);
io                739 sound/soc/sh/rcar/core.c 		ret = rsnd_dai_call(irq, io, priv, 1);
io                746 sound/soc/sh/rcar/core.c 		ret = rsnd_dai_call(irq, io, priv, 0);
io                748 sound/soc/sh/rcar/core.c 		ret |= rsnd_dai_call(stop, io, priv);
io                750 sound/soc/sh/rcar/core.c 		ret |= rsnd_dai_call(quit, io, priv);
io                921 sound/soc/sh/rcar/core.c 	struct rsnd_dai_stream *io = rule->private;
io                922 sound/soc/sh/rcar/core.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                931 sound/soc/sh/rcar/core.c 	ic.max = rsnd_runtime_channel_for_ssi_with_params(io, params);
io                944 sound/soc/sh/rcar/core.c 	struct rsnd_dai_stream *io = rule->private;
io                945 sound/soc/sh/rcar/core.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                954 sound/soc/sh/rcar/core.c 	ic.max = rsnd_runtime_channel_for_ssi_with_params(io, params);
io                977 sound/soc/sh/rcar/core.c 	struct rsnd_dai_stream *io = rsnd_rdai_to_io(rdai, substream);
io                983 sound/soc/sh/rcar/core.c 	rsnd_dai_stream_init(io, substream);
io               1032 sound/soc/sh/rcar/core.c 	struct rsnd_dai_stream *io = rsnd_rdai_to_io(rdai, substream);
io               1037 sound/soc/sh/rcar/core.c 	rsnd_dai_call(cleanup, io, priv);
io               1039 sound/soc/sh/rcar/core.c 	rsnd_dai_stream_quit(io);
io               1047 sound/soc/sh/rcar/core.c 	struct rsnd_dai_stream *io = rsnd_rdai_to_io(rdai, substream);
io               1049 sound/soc/sh/rcar/core.c 	return rsnd_dai_call(prepare, io, priv);
io               1062 sound/soc/sh/rcar/core.c 				      struct rsnd_dai_stream *io,
io               1068 sound/soc/sh/rcar/core.c 	int is_play = rsnd_io_is_play(io);
io               1089 sound/soc/sh/rcar/core.c 				rsnd_flags_set(io, RSND_STREAM_TDM_SPLIT);
io               1090 sound/soc/sh/rcar/core.c 				dev_dbg(dev, "%s is part of TDM Split\n", io->name);
io               1099 sound/soc/sh/rcar/core.c 				      struct rsnd_dai_stream *io,
io               1102 sound/soc/sh/rcar/core.c 	if (!rsnd_io_to_mod_ssi(io))
io               1105 sound/soc/sh/rcar/core.c 	rsnd_parse_tdm_split_mode(priv, io, dai_np);
io               1109 sound/soc/sh/rcar/core.c 				     struct rsnd_dai_stream *io,
io               1115 sound/soc/sh/rcar/core.c 	if (!rsnd_io_to_mod_ssi(io))
io               1120 sound/soc/sh/rcar/core.c 		rsnd_flags_set(io, RSND_STREAM_HDMI0);
io               1121 sound/soc/sh/rcar/core.c 		dev_dbg(dev, "%s connected to HDMI0\n", io->name);
io               1126 sound/soc/sh/rcar/core.c 		rsnd_flags_set(io, RSND_STREAM_HDMI1);
io               1127 sound/soc/sh/rcar/core.c 		dev_dbg(dev, "%s connected to HDMI1\n", io->name);
io               1130 sound/soc/sh/rcar/core.c 	rsnd_parse_tdm_split_mode(priv, io, endpoint);
io               1201 sound/soc/sh/rcar/core.c 				  struct rsnd_dai_stream *io,
io               1204 sound/soc/sh/rcar/core.c 	struct rsnd_priv *priv = rsnd_io_to_priv(io);
io               1213 sound/soc/sh/rcar/core.c 	if (io->dmac_dev)
io               1214 sound/soc/sh/rcar/core.c 		dev = io->dmac_dev;
io               1398 sound/soc/sh/rcar/core.c 	struct rsnd_dai_stream *io = rsnd_rdai_to_io(rdai, substream);
io               1411 sound/soc/sh/rcar/core.c 	io->converted_rate = 0;
io               1412 sound/soc/sh/rcar/core.c 	io->converted_chan = 0;
io               1414 sound/soc/sh/rcar/core.c 		struct rsnd_priv *priv = rsnd_io_to_priv(io);
io               1423 sound/soc/sh/rcar/core.c 				io->converted_chan = params_channels(be_params);
io               1425 sound/soc/sh/rcar/core.c 				io->converted_rate = params_rate(be_params);
io               1427 sound/soc/sh/rcar/core.c 		if (io->converted_chan)
io               1428 sound/soc/sh/rcar/core.c 			dev_dbg(dev, "convert channels = %d\n", io->converted_chan);
io               1429 sound/soc/sh/rcar/core.c 		if (io->converted_rate)
io               1430 sound/soc/sh/rcar/core.c 			dev_dbg(dev, "convert rate     = %d\n", io->converted_rate);
io               1433 sound/soc/sh/rcar/core.c 	ret = rsnd_dai_call(hw_params, io, substream, hw_params);
io               1445 sound/soc/sh/rcar/core.c 	struct rsnd_dai_stream *io = rsnd_rdai_to_io(rdai, substream);
io               1448 sound/soc/sh/rcar/core.c 	ret = rsnd_dai_call(hw_free, io, substream);
io               1459 sound/soc/sh/rcar/core.c 	struct rsnd_dai_stream *io = rsnd_rdai_to_io(rdai, substream);
io               1462 sound/soc/sh/rcar/core.c 	rsnd_dai_call(pointer, io, &pointer);
io               1524 sound/soc/sh/rcar/core.c 	if (!cfg->accept(cfg->io))
io               1538 sound/soc/sh/rcar/core.c 		cfg->update(cfg->io, cfg->mod);
io               1543 sound/soc/sh/rcar/core.c int rsnd_kctrl_accept_anytime(struct rsnd_dai_stream *io)
io               1548 sound/soc/sh/rcar/core.c int rsnd_kctrl_accept_runtime(struct rsnd_dai_stream *io)
io               1550 sound/soc/sh/rcar/core.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io               1551 sound/soc/sh/rcar/core.c 	struct rsnd_priv *priv = rsnd_io_to_priv(io);
io               1604 sound/soc/sh/rcar/core.c 		   struct rsnd_dai_stream *io,
io               1607 sound/soc/sh/rcar/core.c 		   int (*accept)(struct rsnd_dai_stream *io),
io               1608 sound/soc/sh/rcar/core.c 		   void (*update)(struct rsnd_dai_stream *io,
io               1657 sound/soc/sh/rcar/core.c 	cfg->io		= io;
io               1672 sound/soc/sh/rcar/core.c 				       struct rsnd_dai_stream *io)
io               1676 sound/soc/sh/rcar/core.c 	ret = rsnd_dai_call(probe, io, priv);
io               1678 sound/soc/sh/rcar/core.c 		struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io);
io               1693 sound/soc/sh/rcar/core.c 		rsnd_dai_call(remove, io, priv);
io               1699 sound/soc/sh/rcar/core.c 		for_each_rsnd_mod(i, mod, io)
io               1700 sound/soc/sh/rcar/core.c 			rsnd_dai_disconnect(mod, io, i);
io               1701 sound/soc/sh/rcar/core.c 		rsnd_dai_connect(ssi_mod, io, RSND_MOD_SSI);
io               1706 sound/soc/sh/rcar/core.c 		rsnd_dai_call(fallback, io, priv);
io               1712 sound/soc/sh/rcar/core.c 		ret = rsnd_dai_call(probe, io, priv);
io                108 sound/soc/sh/rcar/ctu.c 			   struct rsnd_dai_stream *io,
io                111 sound/soc/sh/rcar/ctu.c 	return rsnd_cmd_attach(io, rsnd_mod_id(mod));
io                114 sound/soc/sh/rcar/ctu.c static void rsnd_ctu_value_init(struct rsnd_dai_stream *io,
io                133 sound/soc/sh/rcar/ctu.c 	rsnd_mod_write(mod, CTU_ADINR, rsnd_runtime_channel_original(io));
io                151 sound/soc/sh/rcar/ctu.c static void rsnd_ctu_value_reset(struct rsnd_dai_stream *io,
io                171 sound/soc/sh/rcar/ctu.c 			 struct rsnd_dai_stream *io,
io                178 sound/soc/sh/rcar/ctu.c 	rsnd_ctu_value_init(io, mod);
io                184 sound/soc/sh/rcar/ctu.c 			 struct rsnd_dai_stream *io,
io                195 sound/soc/sh/rcar/ctu.c 			    struct rsnd_dai_stream *io,
io                205 sound/soc/sh/rcar/ctu.c 	ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU Pass",
io                212 sound/soc/sh/rcar/ctu.c 	ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU SV0",
io                221 sound/soc/sh/rcar/ctu.c 	ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU SV1",
io                230 sound/soc/sh/rcar/ctu.c 	ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU SV2",
io                239 sound/soc/sh/rcar/ctu.c 	ret = rsnd_kctrl_new_m(mod, io, rtd, "CTU SV3",
io                248 sound/soc/sh/rcar/ctu.c 	ret = rsnd_kctrl_new_s(mod, io, rtd, "CTU Reset",
io                 69 sound/soc/sh/rcar/dma.c 				  struct rsnd_dai_stream *io)
io                 71 sound/soc/sh/rcar/dma.c 	if (rsnd_io_is_working(io))
io                 72 sound/soc/sh/rcar/dma.c 		rsnd_dai_period_elapsed(io);
io                 82 sound/soc/sh/rcar/dma.c static struct dma_chan *rsnd_dmaen_request_channel(struct rsnd_dai_stream *io,
io                 91 sound/soc/sh/rcar/dma.c 		return rsnd_mod_dma_req(io, mod_from);
io                 93 sound/soc/sh/rcar/dma.c 		return rsnd_mod_dma_req(io, mod_to);
io                 97 sound/soc/sh/rcar/dma.c 			   struct rsnd_dai_stream *io,
io                110 sound/soc/sh/rcar/dma.c 			      struct rsnd_dai_stream *io,
io                130 sound/soc/sh/rcar/dma.c 			      struct rsnd_dai_stream *io,
io                146 sound/soc/sh/rcar/dma.c 	dmaen->chan = rsnd_dmaen_request_channel(io,
io                159 sound/soc/sh/rcar/dma.c 			    struct rsnd_dai_stream *io,
io                164 sound/soc/sh/rcar/dma.c 	struct snd_pcm_substream *substream = io->substream;
io                168 sound/soc/sh/rcar/dma.c 	int is_play = rsnd_io_is_play(io);
io                232 sound/soc/sh/rcar/dma.c static int rsnd_dmaen_attach(struct rsnd_dai_stream *io,
io                236 sound/soc/sh/rcar/dma.c 	struct rsnd_priv *priv = rsnd_io_to_priv(io);
io                241 sound/soc/sh/rcar/dma.c 	chan = rsnd_dmaen_request_channel(io, mod_from, mod_to);
io                261 sound/soc/sh/rcar/dma.c 	io->dmac_dev = chan->device->dev;
io                271 sound/soc/sh/rcar/dma.c 			      struct rsnd_dai_stream *io,
io                274 sound/soc/sh/rcar/dma.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                343 sound/soc/sh/rcar/dma.c static u32 rsnd_dmapp_get_id(struct rsnd_dai_stream *io,
io                346 sound/soc/sh/rcar/dma.c 	struct rsnd_mod *ssi = rsnd_io_to_mod_ssi(io);
io                347 sound/soc/sh/rcar/dma.c 	struct rsnd_mod *ssiu = rsnd_io_to_mod_ssiu(io);
io                348 sound/soc/sh/rcar/dma.c 	struct rsnd_mod *src = rsnd_io_to_mod_src(io);
io                349 sound/soc/sh/rcar/dma.c 	struct rsnd_mod *dvc = rsnd_io_to_mod_dvc(io);
io                372 sound/soc/sh/rcar/dma.c 		struct device *dev = rsnd_priv_to_dev(rsnd_io_to_priv(io));
io                383 sound/soc/sh/rcar/dma.c static u32 rsnd_dmapp_get_chcr(struct rsnd_dai_stream *io,
io                387 sound/soc/sh/rcar/dma.c 	return	(rsnd_dmapp_get_id(io, mod_from) << 24) +
io                388 sound/soc/sh/rcar/dma.c 		(rsnd_dmapp_get_id(io, mod_to) << 16);
io                430 sound/soc/sh/rcar/dma.c 			   struct rsnd_dai_stream *io,
io                448 sound/soc/sh/rcar/dma.c 			    struct rsnd_dai_stream *io,
io                461 sound/soc/sh/rcar/dma.c static int rsnd_dmapp_attach(struct rsnd_dai_stream *io,
io                466 sound/soc/sh/rcar/dma.c 	struct rsnd_priv *priv = rsnd_io_to_priv(io);
io                471 sound/soc/sh/rcar/dma.c 	dmapp->chcr = rsnd_dmapp_get_chcr(io, mod_from, mod_to) | PDMACHCR_DE;
io                527 sound/soc/sh/rcar/dma.c rsnd_gen2_dma_addr(struct rsnd_dai_stream *io,
io                531 sound/soc/sh/rcar/dma.c 	struct rsnd_priv *priv = rsnd_io_to_priv(io);
io                535 sound/soc/sh/rcar/dma.c 	int is_ssi = !!(rsnd_io_to_mod_ssi(io) == mod) ||
io                536 sound/soc/sh/rcar/dma.c 		     !!(rsnd_io_to_mod_ssiu(io) == mod);
io                537 sound/soc/sh/rcar/dma.c 	int use_src = !!rsnd_io_to_mod_src(io);
io                538 sound/soc/sh/rcar/dma.c 	int use_cmd = !!rsnd_io_to_mod_dvc(io) ||
io                539 sound/soc/sh/rcar/dma.c 		      !!rsnd_io_to_mod_mix(io) ||
io                540 sound/soc/sh/rcar/dma.c 		      !!rsnd_io_to_mod_ctu(io);
io                542 sound/soc/sh/rcar/dma.c 	int busif = rsnd_mod_id_sub(rsnd_io_to_mod_ssiu(io));
io                593 sound/soc/sh/rcar/dma.c 	if (is_ssi && rsnd_ssi_use_busif(io))
io                601 sound/soc/sh/rcar/dma.c static dma_addr_t rsnd_dma_addr(struct rsnd_dai_stream *io,
io                605 sound/soc/sh/rcar/dma.c 	struct rsnd_priv *priv = rsnd_io_to_priv(io);
io                616 sound/soc/sh/rcar/dma.c 	return rsnd_gen2_dma_addr(io, mod, is_play, is_from);
io                621 sound/soc/sh/rcar/dma.c 			     struct rsnd_dai_stream *io,
io                627 sound/soc/sh/rcar/dma.c 	struct rsnd_mod *src = rsnd_io_to_mod_src(io);
io                628 sound/soc/sh/rcar/dma.c 	struct rsnd_mod *ctu = rsnd_io_to_mod_ctu(io);
io                629 sound/soc/sh/rcar/dma.c 	struct rsnd_mod *mix = rsnd_io_to_mod_mix(io);
io                630 sound/soc/sh/rcar/dma.c 	struct rsnd_mod *dvc = rsnd_io_to_mod_dvc(io);
io                648 sound/soc/sh/rcar/dma.c 		struct rsnd_mod *ssiu = rsnd_io_to_mod_ssiu(io);
io                652 sound/soc/sh/rcar/dma.c 		if (this == rsnd_io_to_mod_ssi(io))
io                656 sound/soc/sh/rcar/dma.c 		ssi = rsnd_io_to_mod_ssi(io);
io                665 sound/soc/sh/rcar/dma.c 		nr += !!rsnd_io_to_mod(io, i);
io                728 sound/soc/sh/rcar/dma.c static int rsnd_dma_alloc(struct rsnd_dai_stream *io, struct rsnd_mod *mod,
io                733 sound/soc/sh/rcar/dma.c 	struct rsnd_priv *priv = rsnd_io_to_priv(io);
io                739 sound/soc/sh/rcar/dma.c 	int (*attach)(struct rsnd_dai_stream *io, struct rsnd_dma *dma,
io                741 sound/soc/sh/rcar/dma.c 	int is_play = rsnd_io_is_play(io);
io                753 sound/soc/sh/rcar/dma.c 	rsnd_dma_of_path(mod, io, is_play, &mod_from, &mod_to);
io                792 sound/soc/sh/rcar/dma.c 	ret = attach(io, dma, mod_from, mod_to);
io                796 sound/soc/sh/rcar/dma.c 	dma->src_addr = rsnd_dma_addr(io, mod_from, is_play, 1);
io                797 sound/soc/sh/rcar/dma.c 	dma->dst_addr = rsnd_dma_addr(io, mod_to,   is_play, 0);
io                804 sound/soc/sh/rcar/dma.c int rsnd_dma_attach(struct rsnd_dai_stream *io, struct rsnd_mod *mod,
io                808 sound/soc/sh/rcar/dma.c 		int ret = rsnd_dma_alloc(io, mod, dma_mod);
io                814 sound/soc/sh/rcar/dma.c 	return rsnd_dai_connect(*dma_mod, io, (*dma_mod)->type);
io                 73 sound/soc/sh/rcar/dvc.c static void rsnd_dvc_volume_parameter(struct rsnd_dai_stream *io,
io                 93 sound/soc/sh/rcar/dvc.c static void rsnd_dvc_volume_init(struct rsnd_dai_stream *io,
io                103 sound/soc/sh/rcar/dvc.c 	adinr = rsnd_get_adinr_bit(mod, io) |
io                104 sound/soc/sh/rcar/dvc.c 		rsnd_runtime_channel_after_ctu(io);
io                137 sound/soc/sh/rcar/dvc.c 	rsnd_dvc_volume_parameter(io, mod);
io                143 sound/soc/sh/rcar/dvc.c static void rsnd_dvc_volume_update(struct rsnd_dai_stream *io,
io                172 sound/soc/sh/rcar/dvc.c 	rsnd_dvc_volume_parameter(io, mod);
io                179 sound/soc/sh/rcar/dvc.c 			   struct rsnd_dai_stream *io,
io                182 sound/soc/sh/rcar/dvc.c 	return rsnd_cmd_attach(io, rsnd_mod_id(mod));
io                186 sound/soc/sh/rcar/dvc.c 			 struct rsnd_dai_stream *io,
io                193 sound/soc/sh/rcar/dvc.c 	rsnd_dvc_volume_init(io, mod);
io                195 sound/soc/sh/rcar/dvc.c 	rsnd_dvc_volume_update(io, mod);
io                201 sound/soc/sh/rcar/dvc.c 			 struct rsnd_dai_stream *io,
io                212 sound/soc/sh/rcar/dvc.c 			    struct rsnd_dai_stream *io,
io                216 sound/soc/sh/rcar/dvc.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                217 sound/soc/sh/rcar/dvc.c 	int is_play = rsnd_io_is_play(io);
io                222 sound/soc/sh/rcar/dvc.c 	ret = rsnd_kctrl_new_m(mod, io, rtd,
io                233 sound/soc/sh/rcar/dvc.c 	ret = rsnd_kctrl_new_m(mod, io, rtd,
io                244 sound/soc/sh/rcar/dvc.c 	ret = rsnd_kctrl_new_s(mod, io, rtd,
io                253 sound/soc/sh/rcar/dvc.c 	ret = rsnd_kctrl_new_e(mod, io, rtd,
io                264 sound/soc/sh/rcar/dvc.c 	ret = rsnd_kctrl_new_e(mod, io, rtd,
io                279 sound/soc/sh/rcar/dvc.c static struct dma_chan *rsnd_dvc_dma_req(struct rsnd_dai_stream *io,
io                 84 sound/soc/sh/rcar/mix.c static void rsnd_mix_volume_parameter(struct rsnd_dai_stream *io,
io                104 sound/soc/sh/rcar/mix.c static void rsnd_mix_volume_init(struct rsnd_dai_stream *io,
io                112 sound/soc/sh/rcar/mix.c 	rsnd_mod_write(mod, MIX_ADINR, rsnd_runtime_channel_after_ctu(io));
io                120 sound/soc/sh/rcar/mix.c 	rsnd_mix_volume_parameter(io, mod);
io                125 sound/soc/sh/rcar/mix.c static void rsnd_mix_volume_update(struct rsnd_dai_stream *io,
io                132 sound/soc/sh/rcar/mix.c 	rsnd_mix_volume_parameter(io, mod);
io                139 sound/soc/sh/rcar/mix.c 			   struct rsnd_dai_stream *io,
io                142 sound/soc/sh/rcar/mix.c 	return rsnd_cmd_attach(io, rsnd_mod_id(mod));
io                146 sound/soc/sh/rcar/mix.c 			 struct rsnd_dai_stream *io,
io                153 sound/soc/sh/rcar/mix.c 	rsnd_mix_volume_init(io, mod);
io                155 sound/soc/sh/rcar/mix.c 	rsnd_mix_volume_update(io, mod);
io                161 sound/soc/sh/rcar/mix.c 			 struct rsnd_dai_stream *io,
io                172 sound/soc/sh/rcar/mix.c 			    struct rsnd_dai_stream *io,
io                178 sound/soc/sh/rcar/mix.c 	struct rsnd_mod *src_mod = rsnd_io_to_mod_src(io);
io                209 sound/soc/sh/rcar/mix.c 	ret = rsnd_kctrl_new_s(mod, io, rtd,
io                222 sound/soc/sh/rcar/mix.c 	ret = rsnd_kctrl_new_s(mod, io, rtd,
io                230 sound/soc/sh/rcar/mix.c 	ret = rsnd_kctrl_new_e(mod, io, rtd,
io                240 sound/soc/sh/rcar/mix.c 	ret = rsnd_kctrl_new_e(mod, io, rtd,
io                253 sound/soc/sh/rcar/rsnd.h u32 rsnd_get_adinr_bit(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
io                254 sound/soc/sh/rcar/rsnd.h u32 rsnd_get_dalign(struct rsnd_mod *mod, struct rsnd_dai_stream *io);
io                255 sound/soc/sh/rcar/rsnd.h u32 rsnd_get_busif_shift(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
io                260 sound/soc/sh/rcar/rsnd.h int rsnd_dma_attach(struct rsnd_dai_stream *io,
io                288 sound/soc/sh/rcar/rsnd.h 	struct dma_chan* (*dma_req)(struct rsnd_dai_stream *io,
io                291 sound/soc/sh/rcar/rsnd.h 		     struct rsnd_dai_stream *io,
io                294 sound/soc/sh/rcar/rsnd.h 		      struct rsnd_dai_stream *io,
io                297 sound/soc/sh/rcar/rsnd.h 		    struct rsnd_dai_stream *io,
io                300 sound/soc/sh/rcar/rsnd.h 		    struct rsnd_dai_stream *io,
io                303 sound/soc/sh/rcar/rsnd.h 		     struct rsnd_dai_stream *io,
io                306 sound/soc/sh/rcar/rsnd.h 		    struct rsnd_dai_stream *io,
io                309 sound/soc/sh/rcar/rsnd.h 		   struct rsnd_dai_stream *io,
io                312 sound/soc/sh/rcar/rsnd.h 		       struct rsnd_dai_stream *io,
io                315 sound/soc/sh/rcar/rsnd.h 			 struct rsnd_dai_stream *io,
io                319 sound/soc/sh/rcar/rsnd.h 		       struct rsnd_dai_stream *io,
io                322 sound/soc/sh/rcar/rsnd.h 			struct rsnd_dai_stream *io,
io                325 sound/soc/sh/rcar/rsnd.h 		       struct rsnd_dai_stream *io,
io                328 sound/soc/sh/rcar/rsnd.h 		       struct rsnd_dai_stream *io,
io                331 sound/soc/sh/rcar/rsnd.h 		       struct rsnd_dai_stream *io,
io                334 sound/soc/sh/rcar/rsnd.h 			   struct rsnd_dai_stream *io,
io                424 sound/soc/sh/rcar/rsnd.h struct dma_chan *rsnd_mod_dma_req(struct rsnd_dai_stream *io,
io                428 sound/soc/sh/rcar/rsnd.h 					 struct rsnd_dai_stream *io));
io                430 sound/soc/sh/rcar/rsnd.h 			 struct rsnd_dai_stream *io,
io                437 sound/soc/sh/rcar/rsnd.h 			       struct rsnd_dai_stream *io,
io                440 sound/soc/sh/rcar/rsnd.h #define for_each_rsnd_mod(iterator, pos, io)				\
io                442 sound/soc/sh/rcar/rsnd.h 	     (pos = rsnd_mod_next(&iterator, io, NULL, 0)); iterator++)
io                443 sound/soc/sh/rcar/rsnd.h #define for_each_rsnd_mod_arrays(iterator, pos, io, array, size)	\
io                445 sound/soc/sh/rcar/rsnd.h 	     (pos = rsnd_mod_next(&iterator, io, array, size)); iterator++)
io                446 sound/soc/sh/rcar/rsnd.h #define for_each_rsnd_mod_array(iterator, pos, io, array)		\
io                447 sound/soc/sh/rcar/rsnd.h 	for_each_rsnd_mod_arrays(iterator, pos, io, array, ARRAY_SIZE(array))
io                456 sound/soc/sh/rcar/rsnd.h #define rsnd_runtime_channel_original(io) \
io                457 sound/soc/sh/rcar/rsnd.h 	rsnd_runtime_channel_original_with_params(io, NULL)
io                458 sound/soc/sh/rcar/rsnd.h int rsnd_runtime_channel_original_with_params(struct rsnd_dai_stream *io,
io                460 sound/soc/sh/rcar/rsnd.h #define rsnd_runtime_channel_after_ctu(io)			\
io                461 sound/soc/sh/rcar/rsnd.h 	rsnd_runtime_channel_after_ctu_with_params(io, NULL)
io                462 sound/soc/sh/rcar/rsnd.h int rsnd_runtime_channel_after_ctu_with_params(struct rsnd_dai_stream *io,
io                464 sound/soc/sh/rcar/rsnd.h #define rsnd_runtime_channel_for_ssi(io) \
io                465 sound/soc/sh/rcar/rsnd.h 	rsnd_runtime_channel_for_ssi_with_params(io, NULL)
io                466 sound/soc/sh/rcar/rsnd.h int rsnd_runtime_channel_for_ssi_with_params(struct rsnd_dai_stream *io,
io                468 sound/soc/sh/rcar/rsnd.h int rsnd_runtime_is_multi_ssi(struct rsnd_dai_stream *io);
io                469 sound/soc/sh/rcar/rsnd.h int rsnd_runtime_is_tdm(struct rsnd_dai_stream *io);
io                470 sound/soc/sh/rcar/rsnd.h int rsnd_runtime_is_tdm_split(struct rsnd_dai_stream *io);
io                507 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_mod(io, i)	((i) < RSND_MOD_MAX ? (io)->mod[(i)] : NULL)
io                508 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_mod_ssi(io)	rsnd_io_to_mod((io), RSND_MOD_SSI)
io                509 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_mod_ssiu(io)	rsnd_io_to_mod((io), RSND_MOD_SSIU)
io                510 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_mod_ssip(io)	rsnd_io_to_mod((io), RSND_MOD_SSIP)
io                511 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_mod_src(io)	rsnd_io_to_mod((io), RSND_MOD_SRC)
io                512 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_mod_ctu(io)	rsnd_io_to_mod((io), RSND_MOD_CTU)
io                513 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_mod_mix(io)	rsnd_io_to_mod((io), RSND_MOD_MIX)
io                514 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_mod_dvc(io)	rsnd_io_to_mod((io), RSND_MOD_DVC)
io                515 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_mod_cmd(io)	rsnd_io_to_mod((io), RSND_MOD_CMD)
io                516 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_rdai(io)	((io)->rdai)
io                517 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_priv(io)	(rsnd_rdai_to_priv(rsnd_io_to_rdai(io)))
io                518 sound/soc/sh/rcar/rsnd.h #define rsnd_io_is_play(io)	(&rsnd_io_to_rdai(io)->playback == io)
io                519 sound/soc/sh/rcar/rsnd.h #define rsnd_io_to_runtime(io) ((io)->substream ? \
io                520 sound/soc/sh/rcar/rsnd.h 				(io)->substream->runtime : NULL)
io                521 sound/soc/sh/rcar/rsnd.h #define rsnd_io_converted_rate(io)	((io)->converted_rate)
io                522 sound/soc/sh/rcar/rsnd.h #define rsnd_io_converted_chan(io)	((io)->converted_chan)
io                523 sound/soc/sh/rcar/rsnd.h int rsnd_io_is_working(struct rsnd_dai_stream *io);
io                573 sound/soc/sh/rcar/rsnd.h void rsnd_dai_period_elapsed(struct rsnd_dai_stream *io);
io                575 sound/soc/sh/rcar/rsnd.h 		     struct rsnd_dai_stream *io,
io                596 sound/soc/sh/rcar/rsnd.h 				  struct rsnd_dai_stream *io,
io                600 sound/soc/sh/rcar/rsnd.h 				 struct rsnd_dai_stream *io);
io                707 sound/soc/sh/rcar/rsnd.h 	int (*accept)(struct rsnd_dai_stream *io);
io                708 sound/soc/sh/rcar/rsnd.h 	void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod);
io                709 sound/soc/sh/rcar/rsnd.h 	struct rsnd_dai_stream *io;
io                730 sound/soc/sh/rcar/rsnd.h int rsnd_kctrl_accept_anytime(struct rsnd_dai_stream *io);
io                731 sound/soc/sh/rcar/rsnd.h int rsnd_kctrl_accept_runtime(struct rsnd_dai_stream *io);
io                735 sound/soc/sh/rcar/rsnd.h 		   struct rsnd_dai_stream *io,
io                738 sound/soc/sh/rcar/rsnd.h 		   int (*accept)(struct rsnd_dai_stream *io),
io                739 sound/soc/sh/rcar/rsnd.h 		   void (*update)(struct rsnd_dai_stream *io,
io                746 sound/soc/sh/rcar/rsnd.h #define rsnd_kctrl_new_m(mod, io, rtd, name, accept, update, cfg, size, max) \
io                747 sound/soc/sh/rcar/rsnd.h 	rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_m(cfg), \
io                750 sound/soc/sh/rcar/rsnd.h #define rsnd_kctrl_new_s(mod, io, rtd, name, accept, update, cfg, max)	\
io                751 sound/soc/sh/rcar/rsnd.h 	rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
io                754 sound/soc/sh/rcar/rsnd.h #define rsnd_kctrl_new_e(mod, io, rtd, name, accept, update, cfg, texts, size) \
io                755 sound/soc/sh/rcar/rsnd.h 	rsnd_kctrl_new(mod, io, rtd, name, accept, update, rsnd_kctrl_init_s(cfg), \
io                768 sound/soc/sh/rcar/rsnd.h int rsnd_ssi_use_busif(struct rsnd_dai_stream *io);
io                769 sound/soc/sh/rcar/rsnd.h u32 rsnd_ssi_multi_slaves_runtime(struct rsnd_dai_stream *io);
io                771 sound/soc/sh/rcar/rsnd.h #define rsnd_ssi_is_pin_sharing(io)	\
io                772 sound/soc/sh/rcar/rsnd.h 	__rsnd_ssi_is_pin_sharing(rsnd_io_to_mod_ssi(io))
io                785 sound/soc/sh/rcar/rsnd.h int rsnd_ssiu_attach(struct rsnd_dai_stream *io,
io                801 sound/soc/sh/rcar/rsnd.h #define rsnd_src_get_in_rate(priv, io) rsnd_src_get_rate(priv, io, 1)
io                802 sound/soc/sh/rcar/rsnd.h #define rsnd_src_get_out_rate(priv, io) rsnd_src_get_rate(priv, io, 0)
io                804 sound/soc/sh/rcar/rsnd.h 			       struct rsnd_dai_stream *io,
io                854 sound/soc/sh/rcar/rsnd.h int rsnd_cmd_attach(struct rsnd_dai_stream *io, int id);
io                 69 sound/soc/sh/rcar/src.c static struct dma_chan *rsnd_src_dma_req(struct rsnd_dai_stream *io,
io                 73 sound/soc/sh/rcar/src.c 	int is_play = rsnd_io_is_play(io);
io                 80 sound/soc/sh/rcar/src.c static u32 rsnd_src_convert_rate(struct rsnd_dai_stream *io,
io                 83 sound/soc/sh/rcar/src.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                 91 sound/soc/sh/rcar/src.c 		return rsnd_io_converted_rate(io);
io                 96 sound/soc/sh/rcar/src.c 		convert_rate = rsnd_io_converted_rate(io);
io                105 sound/soc/sh/rcar/src.c 			       struct rsnd_dai_stream *io,
io                108 sound/soc/sh/rcar/src.c 	struct rsnd_mod *src_mod = rsnd_io_to_mod_src(io);
io                109 sound/soc/sh/rcar/src.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                111 sound/soc/sh/rcar/src.c 	int is_play = rsnd_io_is_play(io);
io                129 sound/soc/sh/rcar/src.c 		rate = rsnd_src_convert_rate(io, src_mod);
io                191 sound/soc/sh/rcar/src.c static void rsnd_src_set_convert_rate(struct rsnd_dai_stream *io,
io                196 sound/soc/sh/rcar/src.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                197 sound/soc/sh/rcar/src.c 	int is_play = rsnd_io_is_play(io);
io                212 sound/soc/sh/rcar/src.c 	fin  = rsnd_src_get_in_rate(priv, io);
io                213 sound/soc/sh/rcar/src.c 	fout = rsnd_src_get_out_rate(priv, io);
io                215 sound/soc/sh/rcar/src.c 	chan = rsnd_runtime_channel_original(io);
io                235 sound/soc/sh/rcar/src.c 	adinr = rsnd_get_adinr_bit(mod, io) | chan;
io                261 sound/soc/sh/rcar/src.c 			route |= rsnd_io_is_play(io) ?
io                319 sound/soc/sh/rcar/src.c 	tmp = rsnd_get_busif_shift(io, mod);
io                337 sound/soc/sh/rcar/src.c 	rsnd_mod_write(mod, SRC_BUSIF_DALIGN, rsnd_get_dalign(mod, io));
io                339 sound/soc/sh/rcar/src.c 	rsnd_adg_set_src_timesel_gen2(mod, io, fin, fout);
io                348 sound/soc/sh/rcar/src.c 			struct rsnd_dai_stream *io,
io                425 sound/soc/sh/rcar/src.c 			  struct rsnd_dai_stream *io,
io                435 sound/soc/sh/rcar/src.c 	val = (rsnd_io_to_mod_dvc(io) && !rsnd_src_sync_is_enabled(mod)) ?
io                444 sound/soc/sh/rcar/src.c 			 struct rsnd_dai_stream *io,
io                453 sound/soc/sh/rcar/src.c 			 struct rsnd_dai_stream *io,
io                465 sound/soc/sh/rcar/src.c 	rsnd_src_set_convert_rate(io, mod);
io                473 sound/soc/sh/rcar/src.c 			 struct rsnd_dai_stream *io,
io                489 sound/soc/sh/rcar/src.c 				 struct rsnd_dai_stream *io)
io                497 sound/soc/sh/rcar/src.c 	if (!rsnd_io_is_working(io))
io                509 sound/soc/sh/rcar/src.c 		snd_pcm_stop_xrun(io->substream);
io                522 sound/soc/sh/rcar/src.c 			   struct rsnd_dai_stream *io,
io                544 sound/soc/sh/rcar/src.c 	ret = rsnd_dma_attach(io, mod, &src->dma);
io                550 sound/soc/sh/rcar/src.c 			    struct rsnd_dai_stream *io,
io                564 sound/soc/sh/rcar/src.c 	if (rsnd_io_to_mod_cmd(io) && !rsnd_io_is_play(io))
io                570 sound/soc/sh/rcar/src.c 	ret = rsnd_kctrl_new_s(mod, io, rtd,
io                571 sound/soc/sh/rcar/src.c 			       rsnd_io_is_play(io) ?
io                580 sound/soc/sh/rcar/src.c 	ret = rsnd_kctrl_new_s(mod, io, rtd,
io                581 sound/soc/sh/rcar/src.c 			       rsnd_io_is_play(io) ?
io                113 sound/soc/sh/rcar/ssi.c #define rsnd_ssi_is_parent(ssi, io) ((ssi) == rsnd_io_to_mod_ssip(io))
io                114 sound/soc/sh/rcar/ssi.c #define rsnd_ssi_is_multi_slave(mod, io) \
io                115 sound/soc/sh/rcar/ssi.c 	(rsnd_ssi_multi_slaves(io) & (1 << rsnd_mod_id(mod)))
io                116 sound/soc/sh/rcar/ssi.c #define rsnd_ssi_is_run_mods(mod, io) \
io                117 sound/soc/sh/rcar/ssi.c 	(rsnd_ssi_run_mods(io) & (1 << rsnd_mod_id(mod)))
io                122 sound/soc/sh/rcar/ssi.c int rsnd_ssi_use_busif(struct rsnd_dai_stream *io)
io                124 sound/soc/sh/rcar/ssi.c 	struct rsnd_mod *mod = rsnd_io_to_mod_ssi(io);
io                133 sound/soc/sh/rcar/ssi.c 	if (rsnd_io_to_mod_src(io))
io                168 sound/soc/sh/rcar/ssi.c static u32 rsnd_ssi_multi_slaves(struct rsnd_dai_stream *io)
io                180 sound/soc/sh/rcar/ssi.c 		mod = rsnd_io_to_mod(io, types[i]);
io                190 sound/soc/sh/rcar/ssi.c static u32 rsnd_ssi_run_mods(struct rsnd_dai_stream *io)
io                192 sound/soc/sh/rcar/ssi.c 	struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io);
io                193 sound/soc/sh/rcar/ssi.c 	struct rsnd_mod *ssi_parent_mod = rsnd_io_to_mod_ssip(io);
io                196 sound/soc/sh/rcar/ssi.c 	mods = rsnd_ssi_multi_slaves_runtime(io) |
io                205 sound/soc/sh/rcar/ssi.c u32 rsnd_ssi_multi_slaves_runtime(struct rsnd_dai_stream *io)
io                207 sound/soc/sh/rcar/ssi.c 	if (rsnd_runtime_is_multi_ssi(io))
io                208 sound/soc/sh/rcar/ssi.c 		return rsnd_ssi_multi_slaves(io);
io                267 sound/soc/sh/rcar/ssi.c 				     struct rsnd_dai_stream *io)
io                269 sound/soc/sh/rcar/ssi.c 	struct rsnd_priv *priv = rsnd_io_to_priv(io);
io                271 sound/soc/sh/rcar/ssi.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                273 sound/soc/sh/rcar/ssi.c 	int chan = rsnd_runtime_channel_for_ssi(io);
io                276 sound/soc/sh/rcar/ssi.c 	unsigned int rate = rsnd_io_is_play(io) ?
io                277 sound/soc/sh/rcar/ssi.c 		rsnd_src_get_out_rate(priv, io) :
io                278 sound/soc/sh/rcar/ssi.c 		rsnd_src_get_in_rate(priv, io);
io                286 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_is_multi_slave(mod, io))
io                289 sound/soc/sh/rcar/ssi.c 	if (rsnd_runtime_is_tdm_split(io))
io                290 sound/soc/sh/rcar/ssi.c 		chan = rsnd_io_converted_chan(io);
io                341 sound/soc/sh/rcar/ssi.c 				     struct rsnd_dai_stream *io)
io                343 sound/soc/sh/rcar/ssi.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                363 sound/soc/sh/rcar/ssi.c 				struct rsnd_dai_stream *io)
io                365 sound/soc/sh/rcar/ssi.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                368 sound/soc/sh/rcar/ssi.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                376 sound/soc/sh/rcar/ssi.c 	is_tdm		= rsnd_runtime_is_tdm(io);
io                377 sound/soc/sh/rcar/ssi.c 	is_tdm_split	= rsnd_runtime_is_tdm_split(io);
io                410 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_is_parent(mod, io))
io                413 sound/soc/sh/rcar/ssi.c 	if (rsnd_io_is_play(io))
io                471 sound/soc/sh/rcar/ssi.c 			 struct rsnd_dai_stream *io,
io                476 sound/soc/sh/rcar/ssi.c 	if (!rsnd_ssi_is_run_mods(mod, io))
io                483 sound/soc/sh/rcar/ssi.c 	rsnd_ssi_config_init(mod, io);
io                494 sound/soc/sh/rcar/ssi.c 			 struct rsnd_dai_stream *io,
io                500 sound/soc/sh/rcar/ssi.c 	if (!rsnd_ssi_is_run_mods(mod, io))
io                508 sound/soc/sh/rcar/ssi.c 	rsnd_ssi_master_clk_stop(mod, io);
io                524 sound/soc/sh/rcar/ssi.c 			      struct rsnd_dai_stream *io,
io                528 sound/soc/sh/rcar/ssi.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                532 sound/soc/sh/rcar/ssi.c 		struct rsnd_priv *priv = rsnd_io_to_priv(io);
io                543 sound/soc/sh/rcar/ssi.c 			  struct rsnd_dai_stream *io,
io                548 sound/soc/sh/rcar/ssi.c 	if (!rsnd_ssi_is_run_mods(mod, io))
io                555 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_multi_slaves_runtime(io))
io                562 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_is_parent(mod, io))
io                576 sound/soc/sh/rcar/ssi.c 			 struct rsnd_dai_stream *io,
io                582 sound/soc/sh/rcar/ssi.c 	if (!rsnd_ssi_is_run_mods(mod, io))
io                585 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_is_parent(mod, io))
io                596 sound/soc/sh/rcar/ssi.c 	if (rsnd_io_is_play(io)) {
io                604 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_multi_slaves_runtime(io))
io                620 sound/soc/sh/rcar/ssi.c 			struct rsnd_dai_stream *io,
io                629 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_is_parent(mod, io))
io                632 sound/soc/sh/rcar/ssi.c 	if (!rsnd_ssi_is_run_mods(mod, io))
io                644 sound/soc/sh/rcar/ssi.c 				   struct rsnd_dai_stream *io);
io                646 sound/soc/sh/rcar/ssi.c 				 struct rsnd_dai_stream *io)
io                658 sound/soc/sh/rcar/ssi.c 	if (!rsnd_io_is_working(io))
io                665 sound/soc/sh/rcar/ssi.c 		elapsed = rsnd_ssi_pio_interrupt(mod, io);
io                680 sound/soc/sh/rcar/ssi.c 		rsnd_dai_period_elapsed(io);
io                683 sound/soc/sh/rcar/ssi.c 		snd_pcm_stop_xrun(io->substream);
io                697 sound/soc/sh/rcar/ssi.c 				struct rsnd_dai_stream *io,
io                726 sound/soc/sh/rcar/ssi.c 		return &io->parent_ssi_status;
io                728 sound/soc/sh/rcar/ssi.c 	return rsnd_mod_get_status(mod, io, type);
io                735 sound/soc/sh/rcar/ssi.c 				   struct rsnd_dai_stream *io)
io                737 sound/soc/sh/rcar/ssi.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                746 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_is_multi_slave(mod, io))
io                753 sound/soc/sh/rcar/ssi.c 		rsnd_dai_connect(rsnd_ssi_mod_get(priv, 0), io, RSND_MOD_SSIP);
io                756 sound/soc/sh/rcar/ssi.c 		rsnd_dai_connect(rsnd_ssi_mod_get(priv, 3), io, RSND_MOD_SSIP);
io                759 sound/soc/sh/rcar/ssi.c 		rsnd_dai_connect(rsnd_ssi_mod_get(priv, 7), io, RSND_MOD_SSIP);
io                765 sound/soc/sh/rcar/ssi.c 			    struct rsnd_dai_stream *io,
io                773 sound/soc/sh/rcar/ssi.c 	rsnd_ssi_parent_attach(mod, io);
io                779 sound/soc/sh/rcar/ssi.c 				 struct rsnd_dai_stream *io,
io                790 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_is_multi_slave(mod, io))
io                822 sound/soc/sh/rcar/ssi.c 				  struct rsnd_dai_stream *io,
io                826 sound/soc/sh/rcar/ssi.c 	struct rsnd_mod *pure_ssi_mod = rsnd_io_to_mod_ssi(io);
io                846 sound/soc/sh/rcar/ssi.c 				   struct rsnd_dai_stream *io)
io                848 sound/soc/sh/rcar/ssi.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                863 sound/soc/sh/rcar/ssi.c 	if (rsnd_io_is_play(io))
io                889 sound/soc/sh/rcar/ssi.c 			     struct rsnd_dai_stream *io,
io                892 sound/soc/sh/rcar/ssi.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                895 sound/soc/sh/rcar/ssi.c 	if (!rsnd_ssi_is_parent(mod, io)) {
io                903 sound/soc/sh/rcar/ssi.c 	return rsnd_ssi_init(mod, io, priv);
io                907 sound/soc/sh/rcar/ssi.c 			    struct rsnd_dai_stream *io,
io                911 sound/soc/sh/rcar/ssi.c 	struct snd_pcm_runtime *runtime = rsnd_io_to_runtime(io);
io                919 sound/soc/sh/rcar/ssi.c 			    struct rsnd_dai_stream *io,
io                922 sound/soc/sh/rcar/ssi.c 	return rsnd_ssi_master_clk_start(mod, io);
io                942 sound/soc/sh/rcar/ssi.c 			      struct rsnd_dai_stream *io,
io                951 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_is_multi_slave(mod, io))
io                954 sound/soc/sh/rcar/ssi.c 	ret = rsnd_ssi_common_probe(mod, io, priv);
io                959 sound/soc/sh/rcar/ssi.c 	ret = rsnd_dma_attach(io, mod, &io->dma);
io                965 sound/soc/sh/rcar/ssi.c 			     struct rsnd_dai_stream *io,
io                984 sound/soc/sh/rcar/ssi.c static struct dma_chan *rsnd_ssi_dma_req(struct rsnd_dai_stream *io,
io                988 sound/soc/sh/rcar/ssi.c 	int is_play = rsnd_io_is_play(io);
io               1002 sound/soc/sh/rcar/ssi.c 	if (rsnd_ssi_use_busif(io))
io               1037 sound/soc/sh/rcar/ssi.c 			     struct rsnd_dai_stream *io)
io               1039 sound/soc/sh/rcar/ssi.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io               1052 sound/soc/sh/rcar/ssi.c 		if (!rsnd_io_to_mod(io, type)) {
io               1053 sound/soc/sh/rcar/ssi.c 			rsnd_dai_connect(mod, io, type);
io                 49 sound/soc/sh/rcar/ssiu.c 				 struct rsnd_dai_stream *io,
io                 59 sound/soc/sh/rcar/ssiu.c 			  struct rsnd_dai_stream *io,
io                 62 sound/soc/sh/rcar/ssiu.c 	struct rsnd_dai *rdai = rsnd_io_to_rdai(io);
io                 63 sound/soc/sh/rcar/ssiu.c 	u32 ssis = rsnd_ssi_multi_slaves_runtime(io);
io                 64 sound/soc/sh/rcar/ssiu.c 	int use_busif = rsnd_ssi_use_busif(io);
io                 99 sound/soc/sh/rcar/ssiu.c 	if (rsnd_ssi_is_pin_sharing(io)) {
io                150 sound/soc/sh/rcar/ssiu.c 			       struct rsnd_dai_stream *io,
io                154 sound/soc/sh/rcar/ssiu.c 	u32 has_hdmi0 = rsnd_flags_has(io, RSND_STREAM_HDMI0);
io                155 sound/soc/sh/rcar/ssiu.c 	u32 has_hdmi1 = rsnd_flags_has(io, RSND_STREAM_HDMI1);
io                159 sound/soc/sh/rcar/ssiu.c 	ret = rsnd_ssiu_init(mod, io, priv);
io                170 sound/soc/sh/rcar/ssiu.c 	if (rsnd_runtime_is_tdm(io))
io                172 sound/soc/sh/rcar/ssiu.c 	else if (rsnd_runtime_is_tdm_split(io))
io                177 sound/soc/sh/rcar/ssiu.c 	if (rsnd_ssi_use_busif(io)) {
io                193 sound/soc/sh/rcar/ssiu.c 			       rsnd_get_adinr_bit(mod, io) |
io                194 sound/soc/sh/rcar/ssiu.c 			       (rsnd_io_is_play(io) ?
io                195 sound/soc/sh/rcar/ssiu.c 				rsnd_runtime_channel_after_ctu(io) :
io                196 sound/soc/sh/rcar/ssiu.c 				rsnd_runtime_channel_original(io)));
io                198 sound/soc/sh/rcar/ssiu.c 			       rsnd_get_busif_shift(io, mod) | 1);
io                200 sound/soc/sh/rcar/ssiu.c 			       rsnd_get_dalign(mod, io));
io                209 sound/soc/sh/rcar/ssiu.c 		struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io);
io                223 sound/soc/sh/rcar/ssiu.c 		for_each_rsnd_mod_array(i, pos, io, rsnd_ssi_array) {
io                239 sound/soc/sh/rcar/ssiu.c 				struct rsnd_dai_stream *io,
io                244 sound/soc/sh/rcar/ssiu.c 	if (!rsnd_ssi_use_busif(io))
io                249 sound/soc/sh/rcar/ssiu.c 	if (rsnd_ssi_multi_slaves_runtime(io))
io                256 sound/soc/sh/rcar/ssiu.c 			       struct rsnd_dai_stream *io,
io                262 sound/soc/sh/rcar/ssiu.c 	if (!rsnd_ssi_use_busif(io))
io                270 sound/soc/sh/rcar/ssiu.c 	if (rsnd_ssi_multi_slaves_runtime(io))
io                292 sound/soc/sh/rcar/ssiu.c static struct dma_chan *rsnd_ssiu_dma_req(struct rsnd_dai_stream *io,
io                296 sound/soc/sh/rcar/ssiu.c 	int is_play = rsnd_io_is_play(io);
io                334 sound/soc/sh/rcar/ssiu.c 					       struct rsnd_dai_stream *io)
io                336 sound/soc/sh/rcar/ssiu.c 	struct rsnd_mod *ssi_mod = rsnd_io_to_mod_ssi(io);
io                350 sound/soc/sh/rcar/ssiu.c 			rsnd_dai_connect(mod, io, mod->type);
io                278 sound/usb/usx2y/usb_stream.c 	struct urb *io;
io                282 sound/usb/usx2y/usb_stream.c 	io = sk->idle_outurb;
io                283 sound/usb/usx2y/usb_stream.c 	od = io->iso_frame_desc;
io                326 sound/usb/usx2y/usb_stream.c 	io->number_of_packets = p;
io                327 sound/usb/usx2y/usb_stream.c 	io->transfer_buffer_length = lb;
io                294 tools/include/uapi/linux/kvm.h 		} io;
io                642 tools/include/uapi/linux/kvm.h 		struct kvm_s390_io_info io;
io                 43 tools/testing/selftests/kvm/lib/x86_64/ucall.c 	if (run->exit_reason == KVM_EXIT_IO && run->io.port == UCALL_PIO_PORT) {
io                 76 tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c 		if (run->io.port == PORT_L0_EXIT)