bcsr_regs          24 arch/mips/alchemy/devboards/bcsr.c } bcsr_regs[BCSR_CNT];
bcsr_regs          40 arch/mips/alchemy/devboards/bcsr.c 			bcsr_regs[i].raddr = (void __iomem *)bcsr2_phys +
bcsr_regs          43 arch/mips/alchemy/devboards/bcsr.c 			bcsr_regs[i].raddr = (void __iomem *)bcsr1_phys +
bcsr_regs          46 arch/mips/alchemy/devboards/bcsr.c 		spin_lock_init(&bcsr_regs[i].lock);
bcsr_regs          55 arch/mips/alchemy/devboards/bcsr.c 	spin_lock_irqsave(&bcsr_regs[reg].lock, flags);
bcsr_regs          56 arch/mips/alchemy/devboards/bcsr.c 	r = __raw_readw(bcsr_regs[reg].raddr);
bcsr_regs          57 arch/mips/alchemy/devboards/bcsr.c 	spin_unlock_irqrestore(&bcsr_regs[reg].lock, flags);
bcsr_regs          66 arch/mips/alchemy/devboards/bcsr.c 	spin_lock_irqsave(&bcsr_regs[reg].lock, flags);
bcsr_regs          67 arch/mips/alchemy/devboards/bcsr.c 	__raw_writew(val, bcsr_regs[reg].raddr);
bcsr_regs          69 arch/mips/alchemy/devboards/bcsr.c 	spin_unlock_irqrestore(&bcsr_regs[reg].lock, flags);
bcsr_regs          78 arch/mips/alchemy/devboards/bcsr.c 	spin_lock_irqsave(&bcsr_regs[reg].lock, flags);
bcsr_regs          79 arch/mips/alchemy/devboards/bcsr.c 	r = __raw_readw(bcsr_regs[reg].raddr);
bcsr_regs          82 arch/mips/alchemy/devboards/bcsr.c 	__raw_writew(r, bcsr_regs[reg].raddr);
bcsr_regs          84 arch/mips/alchemy/devboards/bcsr.c 	spin_unlock_irqrestore(&bcsr_regs[reg].lock, flags);
bcsr_regs          35 arch/powerpc/platforms/40x/ep405.c static void __iomem *bcsr_regs;
bcsr_regs          78 arch/powerpc/platforms/40x/ep405.c 	bcsr_regs = of_iomap(bcsr_node, 0);
bcsr_regs          79 arch/powerpc/platforms/40x/ep405.c 	if (bcsr_regs == NULL) {
bcsr_regs          90 arch/powerpc/platforms/40x/ep405.c 		out_8(bcsr_regs + BCSR_XIRQ_SELECT, i);
bcsr_regs          91 arch/powerpc/platforms/40x/ep405.c 		out_8(bcsr_regs + BCSR_XIRQ_ROUTING, irq);
bcsr_regs          93 arch/powerpc/platforms/40x/ep405.c 	in_8(bcsr_regs + BCSR_XIRQ_SELECT);
bcsr_regs          95 arch/powerpc/platforms/40x/ep405.c 	out_8(bcsr_regs + BCSR_GPIO_IRQ_PAR_CTRL, 0xfe);
bcsr_regs          55 arch/powerpc/platforms/83xx/mpc832x_mds.c 	u8 __iomem *bcsr_regs = NULL;
bcsr_regs          65 arch/powerpc/platforms/83xx/mpc832x_mds.c 		bcsr_regs = ioremap(res.start, resource_size(&res));
bcsr_regs          82 arch/powerpc/platforms/83xx/mpc832x_mds.c 		clrbits8(&bcsr_regs[8], BCSR8_FETH_RST);
bcsr_regs          84 arch/powerpc/platforms/83xx/mpc832x_mds.c 		setbits8(&bcsr_regs[8], BCSR8_FETH_RST);
bcsr_regs          85 arch/powerpc/platforms/83xx/mpc832x_mds.c 		iounmap(bcsr_regs);
bcsr_regs          41 arch/powerpc/platforms/83xx/mpc834x_mds.c 	void __iomem *bcsr_regs = NULL;
bcsr_regs          51 arch/powerpc/platforms/83xx/mpc834x_mds.c 		bcsr_regs = ioremap(res.start, resource_size(&res));
bcsr_regs          54 arch/powerpc/platforms/83xx/mpc834x_mds.c 	if (!bcsr_regs)
bcsr_regs          61 arch/powerpc/platforms/83xx/mpc834x_mds.c 	bcsr5 = in_8(bcsr_regs + 5);
bcsr_regs          63 arch/powerpc/platforms/83xx/mpc834x_mds.c 		out_8(bcsr_regs + 5, (bcsr5 | BCSR5_INT_USB));
bcsr_regs          64 arch/powerpc/platforms/83xx/mpc834x_mds.c 	iounmap(bcsr_regs);
bcsr_regs          63 arch/powerpc/platforms/83xx/mpc836x_mds.c 	u8 __iomem *bcsr_regs = NULL;
bcsr_regs          73 arch/powerpc/platforms/83xx/mpc836x_mds.c 		bcsr_regs = ioremap(res.start, resource_size(&res));
bcsr_regs         102 arch/powerpc/platforms/83xx/mpc836x_mds.c 		clrbits8(&bcsr_regs[9], BCSR9_GETHRST);
bcsr_regs         104 arch/powerpc/platforms/83xx/mpc836x_mds.c 		setbits8(&bcsr_regs[9], BCSR9_GETHRST);
bcsr_regs         128 arch/powerpc/platforms/83xx/mpc836x_mds.c 		iounmap(bcsr_regs);
bcsr_regs          30 arch/powerpc/platforms/83xx/mpc837x_mds.c 	void __iomem *bcsr_regs = NULL;
bcsr_regs          40 arch/powerpc/platforms/83xx/mpc837x_mds.c 		bcsr_regs = of_iomap(np, 0);
bcsr_regs          43 arch/powerpc/platforms/83xx/mpc837x_mds.c 	if (!bcsr_regs)
bcsr_regs          53 arch/powerpc/platforms/83xx/mpc837x_mds.c 		clrbits8(bcsr_regs + 12, BCSR12_USB_SER_PIN);
bcsr_regs          56 arch/powerpc/platforms/83xx/mpc837x_mds.c 		bcsr12 = in_8(bcsr_regs + 12) & ~BCSR12_USB_SER_MASK;
bcsr_regs          60 arch/powerpc/platforms/83xx/mpc837x_mds.c 		out_8(bcsr_regs + 12, bcsr12);
bcsr_regs          67 arch/powerpc/platforms/83xx/mpc837x_mds.c 	iounmap(bcsr_regs);
bcsr_regs         164 arch/powerpc/platforms/85xx/mpc85xx_mds.c 	static u8 __iomem *bcsr_regs;
bcsr_regs         171 arch/powerpc/platforms/85xx/mpc85xx_mds.c 	bcsr_regs = of_iomap(np, 0);
bcsr_regs         173 arch/powerpc/platforms/85xx/mpc85xx_mds.c 	if (!bcsr_regs)
bcsr_regs         183 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		clrbits8(&bcsr_regs[8], BCSR_UCC1_GETH_EN);
bcsr_regs         184 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		clrbits8(&bcsr_regs[9], BCSR_UCC2_GETH_EN);
bcsr_regs         187 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		clrbits8(&bcsr_regs[11], BCSR_UCC1_MODE_MSK |
bcsr_regs         191 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		setbits8(&bcsr_regs[8], BCSR_UCC1_GETH_EN);
bcsr_regs         192 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		setbits8(&bcsr_regs[9], BCSR_UCC2_GETH_EN);
bcsr_regs         203 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		clrbits8(&bcsr_regs[7], BCSR7_UCC12_GETHnRST);
bcsr_regs         204 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		setbits8(&bcsr_regs[8], BCSR8_UEM_MARVELL_RST);
bcsr_regs         206 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		setbits8(&bcsr_regs[7], BCSR7_UCC12_GETHnRST);
bcsr_regs         207 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		clrbits8(&bcsr_regs[8], BCSR8_UEM_MARVELL_RST);
bcsr_regs         224 arch/powerpc/platforms/85xx/mpc85xx_mds.c 				clrsetbits_8(&bcsr_regs[7 + ucc_num],
bcsr_regs         230 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		clrbits8(&bcsr_regs[11], BCSR11_ENET_MICRST);
bcsr_regs         231 arch/powerpc/platforms/85xx/mpc85xx_mds.c 		setbits8(&bcsr_regs[11], BCSR11_ENET_MICRST);
bcsr_regs         234 arch/powerpc/platforms/85xx/mpc85xx_mds.c 	iounmap(bcsr_regs);
bcsr_regs          50 arch/powerpc/platforms/85xx/p1023_rdb.c 		static u8 __iomem *bcsr_regs;
bcsr_regs          52 arch/powerpc/platforms/85xx/p1023_rdb.c 		bcsr_regs = of_iomap(np, 0);
bcsr_regs          55 arch/powerpc/platforms/85xx/p1023_rdb.c 		if (!bcsr_regs) {
bcsr_regs          71 arch/powerpc/platforms/85xx/p1023_rdb.c 			clrbits8(&bcsr_regs[15], BCSR15_I2C_BUS0_SEG_CLR);
bcsr_regs          72 arch/powerpc/platforms/85xx/p1023_rdb.c 			setbits8(&bcsr_regs[15], BCSR15_I2C_BUS0_SEG2);
bcsr_regs          75 arch/powerpc/platforms/85xx/p1023_rdb.c 			iounmap(bcsr_regs);