adr               195 arch/arm/include/asm/assembler.h 	adr\c	\rd, \sym + 1
adr               197 arch/arm/include/asm/assembler.h 	adr\c	\rd, \sym
adr               270 arch/arm64/include/asm/insn.h __AARCH64_INSN_FUNCS(adr,	0x9F000000, 0x10000000)
adr                38 arch/hexagon/include/asm/cacheflush.h #define flush_icache_user_range(vma, pg, adr, len)	do { } while (0)
adr                23 arch/m68k/include/asm/cacheflush_no.h #define flush_icache_user_range(vma,pg,adr,len)	do { } while (0)
adr                64 arch/microblaze/include/asm/cacheflush.h #define flush_icache_user_range(vma, pg, adr, len)	flush_icache();
adr               348 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               350 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               359 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               361 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               370 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               372 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               381 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               383 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               392 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               394 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               403 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               405 arch/mips/include/asm/octeon/cvmx-agl-defs.h 		uint64_t adr:64;
adr               330 arch/mips/include/asm/octeon/cvmx-mio-defs.h 		uint64_t adr:36;
adr               332 arch/mips/include/asm/octeon/cvmx-mio-defs.h 		uint64_t adr:36;
adr               450 arch/mips/include/asm/octeon/cvmx-mio-defs.h 		uint64_t adr:5;
adr               454 arch/mips/include/asm/octeon/cvmx-mio-defs.h 		uint64_t adr:5;
adr               710 arch/mips/include/asm/octeon/cvmx-mio-defs.h 		uint64_t adr:6;
adr               712 arch/mips/include/asm/octeon/cvmx-mio-defs.h 		uint64_t adr:6;
adr               741 arch/mips/include/asm/octeon/cvmx-mio-defs.h 		uint64_t adr:6;
adr               743 arch/mips/include/asm/octeon/cvmx-mio-defs.h 		uint64_t adr:6;
adr              2509 arch/mips/include/asm/octeon/cvmx-mio-defs.h 		uint64_t adr:36;
adr              2511 arch/mips/include/asm/octeon/cvmx-mio-defs.h 		uint64_t adr:36;
adr                87 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr                89 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               116 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               118 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               176 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               178 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               234 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               236 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               259 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               261 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               284 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               286 arch/mips/include/asm/octeon/cvmx-pow-defs.h 		uint64_t adr:1;
adr               117 arch/mips/include/asm/octeon/cvmx-srxx-defs.h 		uint64_t adr:4;
adr               119 arch/mips/include/asm/octeon/cvmx-srxx-defs.h 		uint64_t adr:4;
adr               789 arch/mips/include/asm/pci/bridge.h #define BRIDGE_DIRECT_32_TO_XTALK(dir_off,adr)		\
adr               791 arch/mips/include/asm/pci/bridge.h 		((adr) & (BRIDGE_DIRECT_32_SEG_SIZE - 1)) + PHYS_RAMBASE)
adr               216 arch/mips/include/asm/txx9/tx4927.h static inline void txx9_clear64(__u64 __iomem *adr, __u64 bits)
adr               222 arch/mips/include/asm/txx9/tx4927.h 	____raw_writeq(____raw_readq(adr) & ~bits, adr);
adr               227 arch/mips/include/asm/txx9/tx4927.h static inline void txx9_set64(__u64 __iomem *adr, __u64 bits)
adr               233 arch/mips/include/asm/txx9/tx4927.h 	____raw_writeq(____raw_readq(adr) | bits, adr);
adr                21 arch/mips/pci/ops-nile4.c 	u32 adr, mask, err;
adr                50 arch/mips/pci/ops-nile4.c 		adr =
adr                55 arch/mips/pci/ops-nile4.c 		adr = KSEG1ADDR(PCI_WINDOW1) | (busnum << 16) | (devfn << 8) |
adr                59 arch/mips/pci/ops-nile4.c 		*(u32 *) adr = *val;
adr                61 arch/mips/pci/ops-nile4.c 		*val = *(u32 *) adr;
adr                78 arch/openrisc/include/asm/cacheflush.h #define flush_icache_user_range(vma, pg, adr, len)	do { } while (0)
adr               309 arch/powerpc/include/asm/processor.h #define GET_FPEXC_CTL(tsk, adr) get_fpexc_mode((tsk), (adr))
adr               312 arch/powerpc/include/asm/processor.h extern int get_fpexc_mode(struct task_struct *tsk, unsigned long adr);
adr               315 arch/powerpc/include/asm/processor.h #define GET_ENDIAN(tsk, adr) get_endian((tsk), (adr))
adr               318 arch/powerpc/include/asm/processor.h extern int get_endian(struct task_struct *tsk, unsigned long adr);
adr               321 arch/powerpc/include/asm/processor.h #define GET_UNALIGN_CTL(tsk, adr)	get_unalign_ctl((tsk), (adr))
adr               324 arch/powerpc/include/asm/processor.h extern int get_unalign_ctl(struct task_struct *tsk, unsigned long adr);
adr              1870 arch/powerpc/kernel/process.c int get_fpexc_mode(struct task_struct *tsk, unsigned long adr)
adr              1898 arch/powerpc/kernel/process.c 	return put_user(val, (unsigned int __user *) adr);
adr              1922 arch/powerpc/kernel/process.c int get_endian(struct task_struct *tsk, unsigned long adr)
adr              1942 arch/powerpc/kernel/process.c 	return put_user(val, (unsigned int __user *)adr);
adr              1951 arch/powerpc/kernel/process.c int get_unalign_ctl(struct task_struct *tsk, unsigned long adr)
adr              1953 arch/powerpc/kernel/process.c 	return put_user(tsk->thread.align_ctl, (unsigned int __user *)adr);
adr              2839 arch/powerpc/xmon/xmon.c generic_inst_dump(unsigned long adr, long count, int praddr,
adr              2848 arch/powerpc/xmon/xmon.c 	for (first_adr = adr; count > 0; --count, adr += 4) {
adr              2849 arch/powerpc/xmon/xmon.c 		nr = mread(adr, val, 4);
adr              2853 arch/powerpc/xmon/xmon.c 				printf(REG"  %s%s%s%s\n", adr, x, x, x, x);
adr              2858 arch/powerpc/xmon/xmon.c 		if (adr > first_adr && inst == last_inst) {
adr              2868 arch/powerpc/xmon/xmon.c 			printf(REG"  %.8x", adr, inst);
adr              2870 arch/powerpc/xmon/xmon.c 		dump_func(inst, adr);
adr              2873 arch/powerpc/xmon/xmon.c 	return adr - first_adr;
adr              2877 arch/powerpc/xmon/xmon.c ppc_inst_dump(unsigned long adr, long count, int praddr)
adr              2879 arch/powerpc/xmon/xmon.c 	return generic_inst_dump(adr, count, praddr, print_insn_powerpc);
adr              4100 arch/powerpc/xmon/xmon.c spu_inst_dump(unsigned long adr, long count, int praddr)
adr              4102 arch/powerpc/xmon/xmon.c 	return generic_inst_dump(adr, count, praddr, print_insn_spu);
adr                20 arch/sparc/include/asm/cacheflush_32.h #define flush_icache_user_range(vma,pg,adr,len)	do { } while (0)
adr                52 arch/sparc/include/asm/cacheflush_64.h #define flush_icache_user_range(vma,pg,adr,len)	do { } while (0)
adr               910 arch/x86/include/asm/processor.h #define GET_TSC_CTL(adr)	get_tsc_mode((adr))
adr               913 arch/x86/include/asm/processor.h extern int get_tsc_mode(unsigned long adr);
adr               169 arch/x86/kernel/process.c int get_tsc_mode(unsigned long adr)
adr               178 arch/x86/kernel/process.c 	return put_user(val, (unsigned int __user *)adr);
adr               129 arch/x86/mm/init.c 		void *adr;
adr               131 arch/x86/mm/init.c 		adr = __va((pfn + i) << PAGE_SHIFT);
adr               132 arch/x86/mm/init.c 		clear_page(adr);
adr               159 arch/x86/mm/init_32.c 					   void **adr)
adr               178 arch/x86/mm/init_32.c 		newpte = *adr;
adr               181 arch/x86/mm/init_32.c 		*adr = (void *)(((unsigned long)(*adr)) + PAGE_SIZE);
adr               216 arch/x86/mm/init_32.c 	void *adr = NULL;
adr               219 arch/x86/mm/init_32.c 		adr = alloc_low_pages(count);
adr               232 arch/x86/mm/init_32.c 						    pmd, vaddr, pte, &adr);
adr               418 arch/xtensa/include/asm/pgtable.h #define _PGD_OFFSET(mm,adr,tmp)		l32i	mm, mm, MM_PGD;		\
adr               419 arch/xtensa/include/asm/pgtable.h 					_PGD_INDEX(tmp, adr);		\
adr               422 arch/xtensa/include/asm/pgtable.h #define _PTE_OFFSET(pmd,adr,tmp)	_PTE_INDEX(tmp, adr);		\
adr               428 drivers/acpi/device_sysfs.c static DEVICE_ATTR(adr, 0444, acpi_device_adr_show, NULL);
adr               269 drivers/acpi/pci_root.c 	unsigned long long adr;
adr               309 drivers/acpi/pci_root.c 		status = acpi_evaluate_integer(hnd, "_ADR", NULL, &adr);
adr               312 drivers/acpi/pci_root.c 		dev = (adr >> 16) & 0xffff;
adr               313 drivers/acpi/pci_root.c 		fn  = adr & 0xffff;
adr                48 drivers/acpi/pci_slot.c 	unsigned long long adr, sta;
adr                62 drivers/acpi/pci_slot.c 	status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr);
adr                77 drivers/acpi/pci_slot.c 	device = (adr >> 16) & 0xffff;
adr               213 drivers/ata/libata-acpi.c 	u64 adr;
adr               225 drivers/ata/libata-acpi.c 			adr = SATA_ADR(ap->port_no, NO_PORT_MULT);
adr               227 drivers/ata/libata-acpi.c 			adr = SATA_ADR(ap->port_no, dev->link->pmp);
adr               230 drivers/ata/libata-acpi.c 		adr = dev->devno;
adr               234 drivers/ata/libata-acpi.c 	acpi_preset_companion(&dev->tdev, parent, adr);
adr               204 drivers/ata/pata_octeon_cf.c 	reg_tim.s.adr = 0;
adr               606 drivers/ata/pata_octeon_cf.c 	mio_boot_dma_cfg.s.adr = sg_dma_address(sg);
adr               610 drivers/ata/pata_octeon_cf.c 		(void *)(unsigned long)mio_boot_dma_cfg.s.adr);
adr               199 drivers/bus/ts-nbus.c int ts_nbus_read(struct ts_nbus *ts_nbus, u8 adr, u16 *val)
adr               211 drivers/bus/ts-nbus.c 	ts_nbus_write_bus(ts_nbus, TS_NBUS_WRITE_ADR, adr);
adr               246 drivers/bus/ts-nbus.c int ts_nbus_write(struct ts_nbus *ts_nbus, u8 adr, u16 val)
adr               257 drivers/bus/ts-nbus.c 	ts_nbus_write_bus(ts_nbus, TS_NBUS_WRITE_ADR, adr);
adr               261 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void write_desc_llp(struct axi_dma_desc *desc, dma_addr_t adr)
adr               263 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->lli.llp = cpu_to_le64(adr);
adr               266 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void write_chan_llp(struct axi_dma_chan *chan, dma_addr_t adr)
adr               268 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	axi_chan_iowrite64(chan, CH_LLP, adr);
adr               390 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void write_desc_sar(struct axi_dma_desc *desc, dma_addr_t adr)
adr               392 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->lli.sar = cpu_to_le64(adr);
adr               395 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c static void write_desc_dar(struct axi_dma_desc *desc, dma_addr_t adr)
adr               397 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c 	desc->lli.dar = cpu_to_le64(adr);
adr                60 drivers/gpio/gpio-bt8xx.c #define bgwrite(dat, adr)	writel((dat), bg->mmio+(adr))
adr                61 drivers/gpio/gpio-bt8xx.c #define bgread(adr)		readl(bg->mmio+(adr))
adr                50 drivers/ide/ide-cd.h 	u8 adr     : 4;
adr                54 drivers/ide/ide-cd.h 	u8 adr     : 4;
adr               407 drivers/ide/ide-cd_ioctl.c 	tocentry->cdte_adr  = toce->adr;
adr              1004 drivers/infiniband/hw/qib/qib_sd7220.c #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \
adr              1005 drivers/infiniband/hw/qib/qib_sd7220.c 	{RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} }
adr              1007 drivers/infiniband/hw/qib/qib_sd7220.c #define RXEQ_VAL_ALL(elt, adr, val)  \
adr              1008 drivers/infiniband/hw/qib/qib_sd7220.c 	{RXEQ_INIT_RDESC((elt), (adr)), {(val), (val), (val), (val)} }
adr                46 drivers/isdn/capi/capiutil.c 	{_CDWORD, offsetof(_cmsg, adr.adrController)},
adr               429 drivers/isdn/capi/capiutil.c 	cmsg->adr.adrController = _Controller;
adr               899 drivers/isdn/hardware/mISDN/avmfritz.c 	if (rq->adr.channel == 0 || rq->adr.channel > 2)
adr               903 drivers/isdn/hardware/mISDN/avmfritz.c 	bch = &fc->bch[rq->adr.channel - 1];
adr              4088 drivers/isdn/hardware/mISDN/hfcmulti.c 	if (!test_channelmap(rq->adr.channel, dch->dev.channelmap))
adr              4093 drivers/isdn/hardware/mISDN/hfcmulti.c 		ch = rq->adr.channel;
adr              4095 drivers/isdn/hardware/mISDN/hfcmulti.c 		ch = (rq->adr.channel - 1) + (dch->slot - 2);
adr              1883 drivers/isdn/hardware/mISDN/hfcpci.c 	if (rq->adr.channel == 1) {
adr              1929 drivers/isdn/hardware/mISDN/hfcpci.c 	if (rq->adr.channel == 0 || rq->adr.channel > 2)
adr              1933 drivers/isdn/hardware/mISDN/hfcpci.c 	bch = &hc->bch[rq->adr.channel - 1];
adr               419 drivers/isdn/hardware/mISDN/hfcsusb.c 		       hw->name, __func__, hw->dch.dev.id, rq->adr.channel,
adr               429 drivers/isdn/hardware/mISDN/hfcsusb.c 	if (rq->adr.channel == 1) {
adr               470 drivers/isdn/hardware/mISDN/hfcsusb.c 	if (rq->adr.channel == 0 || rq->adr.channel > 2)
adr               477 drivers/isdn/hardware/mISDN/hfcsusb.c 		       hw->name, __func__, rq->adr.channel);
adr               479 drivers/isdn/hardware/mISDN/hfcsusb.c 	bch = &hw->bch[rq->adr.channel - 1];
adr                65 drivers/isdn/hardware/mISDN/iohelper.h #define IOFUNC_MEMIO(name, hws, typ, adr)				\
adr                68 drivers/isdn/hardware/mISDN/iohelper.h 		return readb(((typ *)hw->adr) + off);			\
adr                72 drivers/isdn/hardware/mISDN/iohelper.h 		writeb(val, ((typ *)hw->adr) + off);			\
adr                77 drivers/isdn/hardware/mISDN/iohelper.h 			*dp++ = readb(((typ *)hw->adr) + off);		\
adr                82 drivers/isdn/hardware/mISDN/iohelper.h 			writeb(*dp++, ((typ *)hw->adr) + off);		\
adr               749 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (rq->adr.channel == 1)
adr              1483 drivers/isdn/hardware/mISDN/mISDNipac.c 	if (rq->adr.channel == 0 || rq->adr.channel > 2)
adr              1487 drivers/isdn/hardware/mISDN/mISDNipac.c 	bch = &ipac->hscx[rq->adr.channel - 1].bch;
adr              1640 drivers/isdn/hardware/mISDN/mISDNisar.c 	if (rq->adr.channel == 0 || rq->adr.channel > 2)
adr              1644 drivers/isdn/hardware/mISDN/mISDNisar.c 	bch = &isar->ch[rq->adr.channel - 1].bch;
adr               853 drivers/isdn/hardware/mISDN/netjet.c 	if (rq->adr.channel == 0 || rq->adr.channel > 2)
adr               857 drivers/isdn/hardware/mISDN/netjet.c 	bch = &card->bc[rq->adr.channel - 1].bch;
adr               991 drivers/isdn/hardware/mISDN/w6692.c 	if (rq->adr.channel == 0 || rq->adr.channel > 2)
adr               995 drivers/isdn/hardware/mISDN/w6692.c 	bch = &card->bc[rq->adr.channel - 1].bch;
adr              1164 drivers/isdn/hardware/mISDN/w6692.c 	if (rq->adr.channel == 1)
adr              1008 drivers/isdn/mISDN/l1oip_core.c 	if (!test_channelmap(rq->adr.channel, dch->dev.channelmap))
adr              1012 drivers/isdn/mISDN/l1oip_core.c 	ch = rq->adr.channel; /* BRI: 1=B1 2=B2  PRI: 1..15,17.. */
adr              2148 drivers/isdn/mISDN/layer2.c 		rq.adr.channel = 0;
adr              2173 drivers/isdn/mISDN/layer2.c 		rq.adr.channel = 0;
adr               418 drivers/isdn/mISDN/stack.c 	       u_int protocol, struct sockaddr_mISDN *adr)
adr               427 drivers/isdn/mISDN/stack.c 		       __func__, dev_name(&dev->dev), protocol, adr->dev,
adr               428 drivers/isdn/mISDN/stack.c 		       adr->channel, adr->sapi, adr->tei);
adr               438 drivers/isdn/mISDN/stack.c 		rq.adr.channel = adr->channel;
adr               456 drivers/isdn/mISDN/stack.c 	       u_int protocol, struct sockaddr_mISDN *adr)
adr               465 drivers/isdn/mISDN/stack.c 		       adr->dev, adr->channel, adr->sapi,
adr               466 drivers/isdn/mISDN/stack.c 		       adr->tei);
adr               471 drivers/isdn/mISDN/stack.c 		rq.adr = *adr;
adr               485 drivers/isdn/mISDN/stack.c 		rq2.adr = *adr;
adr               494 drivers/isdn/mISDN/stack.c 		rq.adr = *adr;
adr               513 drivers/isdn/mISDN/stack.c 		u_int protocol, struct sockaddr_mISDN *adr)
adr               521 drivers/isdn/mISDN/stack.c 		       adr->dev, adr->channel, adr->sapi,
adr               522 drivers/isdn/mISDN/stack.c 		       adr->tei);
adr               536 drivers/isdn/mISDN/stack.c 		rq.adr.channel = 0;
adr               542 drivers/isdn/mISDN/stack.c 		rq.adr = *adr;
adr               836 drivers/isdn/mISDN/tei.c 		rq.adr.dev = mgr->ch.st->dev->id;
adr               994 drivers/isdn/mISDN/tei.c 		       crq->protocol, crq->adr.dev, crq->adr.channel,
adr               995 drivers/isdn/mISDN/tei.c 		       crq->adr.sapi, crq->adr.tei);
adr               996 drivers/isdn/mISDN/tei.c 	if (crq->adr.tei > GROUP_TEI)
adr               998 drivers/isdn/mISDN/tei.c 	if (crq->adr.tei < 64)
adr              1000 drivers/isdn/mISDN/tei.c 	if (crq->adr.tei == 0)
adr              1005 drivers/isdn/mISDN/tei.c 		if ((crq->adr.tei != 0) && (crq->adr.tei != 127))
adr              1016 drivers/isdn/mISDN/tei.c 		if ((crq->adr.tei >= 64) && (crq->adr.tei < GROUP_TEI))
adr              1024 drivers/isdn/mISDN/tei.c 	l1rq.adr = crq->adr;
adr              1028 drivers/isdn/mISDN/tei.c 	if ((crq->protocol == ISDN_P_LAPD_NT) && (crq->adr.tei == 127)) {
adr              1046 drivers/isdn/mISDN/tei.c 		       crq->adr.tei, crq->adr.sapi);
adr                62 drivers/media/dvb-frontends/cxd2099.c static int read_block(struct cxd *ci, u8 adr, u8 *data, u16 n)
adr                66 drivers/media/dvb-frontends/cxd2099.c 	if (ci->lastaddress != adr)
adr                67 drivers/media/dvb-frontends/cxd2099.c 		status = regmap_write(ci->regmap, 0, adr);
adr                69 drivers/media/dvb-frontends/cxd2099.c 		ci->lastaddress = adr;
adr               164 drivers/media/dvb-frontends/cxd2099.c static int write_block(struct cxd *ci, u8 adr, u8 *data, u16 n)
adr               169 drivers/media/dvb-frontends/cxd2099.c 	if (ci->lastaddress != adr)
adr               170 drivers/media/dvb-frontends/cxd2099.c 		status = regmap_write(ci->regmap, 0, adr);
adr               174 drivers/media/dvb-frontends/cxd2099.c 	ci->lastaddress = adr;
adr               189 drivers/media/dvb-frontends/drxd_hard.c static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 * data, int len)
adr               191 drivers/media/dvb-frontends/drxd_hard.c 	struct i2c_msg msg = {.addr = adr, .flags = 0, .buf = data, .len = len };
adr               199 drivers/media/dvb-frontends/drxd_hard.c 		    u8 adr, u8 *msg, int len, u8 *answ, int alen)
adr               203 drivers/media/dvb-frontends/drxd_hard.c 			.addr = adr, .flags = 0,
adr               206 drivers/media/dvb-frontends/drxd_hard.c 			.addr = adr, .flags = I2C_M_RD,
adr               227 drivers/media/dvb-frontends/drxd_hard.c 	u8 adr = state->config.demod_address;
adr               232 drivers/media/dvb-frontends/drxd_hard.c 	if (i2c_read(state->i2c, adr, mm1, 4, mm2, 2) < 0)
adr               241 drivers/media/dvb-frontends/drxd_hard.c 	u8 adr = state->config.demod_address;
adr               247 drivers/media/dvb-frontends/drxd_hard.c 	if (i2c_read(state->i2c, adr, mm1, 4, mm2, 4) < 0)
adr               257 drivers/media/dvb-frontends/drxd_hard.c 	u8 adr = state->config.demod_address;
adr               263 drivers/media/dvb-frontends/drxd_hard.c 	if (i2c_write(state->i2c, adr, mm, 6) < 0)
adr               270 drivers/media/dvb-frontends/drxd_hard.c 	u8 adr = state->config.demod_address;
adr               277 drivers/media/dvb-frontends/drxd_hard.c 	if (i2c_write(state->i2c, adr, mm, 8) < 0)
adr               285 drivers/media/dvb-frontends/drxd_hard.c 	u8 adr = state->config.demod_address;
adr               293 drivers/media/dvb-frontends/drxd_hard.c 	if (i2c_write(state->i2c, adr, mm, 4 + len) < 0) {
adr                38 drivers/media/dvb-frontends/drxk.h 	u8	adr;
adr               228 drivers/media/dvb-frontends/drxk_hard.c static int i2c_read1(struct drxk_state *state, u8 adr, u8 *val)
adr               230 drivers/media/dvb-frontends/drxk_hard.c 	struct i2c_msg msgs[1] = { {.addr = adr, .flags = I2C_M_RD,
adr               237 drivers/media/dvb-frontends/drxk_hard.c static int i2c_write(struct drxk_state *state, u8 adr, u8 *data, int len)
adr               241 drivers/media/dvb-frontends/drxk_hard.c 	    .addr = adr, .flags = 0, .buf = data, .len = len };
adr               255 drivers/media/dvb-frontends/drxk_hard.c 		pr_err("i2c write error at addr 0x%02x\n", adr);
adr               261 drivers/media/dvb-frontends/drxk_hard.c 		    u8 adr, u8 *msg, int len, u8 *answ, int alen)
adr               265 drivers/media/dvb-frontends/drxk_hard.c 		{.addr = adr, .flags = 0,
adr               267 drivers/media/dvb-frontends/drxk_hard.c 		{.addr = adr, .flags = I2C_M_RD,
adr               278 drivers/media/dvb-frontends/drxk_hard.c 		pr_err("i2c read error at addr 0x%02x\n", adr);
adr               297 drivers/media/dvb-frontends/drxk_hard.c 	u8 adr = state->demod_address, mm1[4], mm2[2], len;
adr               314 drivers/media/dvb-frontends/drxk_hard.c 	status = i2c_read(state, adr, mm1, len, mm2, 2);
adr               331 drivers/media/dvb-frontends/drxk_hard.c 	u8 adr = state->demod_address, mm1[4], mm2[4], len;
adr               348 drivers/media/dvb-frontends/drxk_hard.c 	status = i2c_read(state, adr, mm1, len, mm2, 4);
adr               365 drivers/media/dvb-frontends/drxk_hard.c 	u8 adr = state->demod_address, mm[6], len;
adr               384 drivers/media/dvb-frontends/drxk_hard.c 	return i2c_write(state, adr, mm, len + 2);
adr               394 drivers/media/dvb-frontends/drxk_hard.c 	u8 adr = state->demod_address, mm[8], len;
adr               415 drivers/media/dvb-frontends/drxk_hard.c 	return i2c_write(state, adr, mm, len + 4);
adr              6765 drivers/media/dvb-frontends/drxk_hard.c 	u8 adr = config->adr;
adr              6774 drivers/media/dvb-frontends/drxk_hard.c 	state->demod_address = adr;
adr                52 drivers/media/dvb-frontends/mxl5xx.c 	u8                   adr;
adr               130 drivers/media/dvb-frontends/mxl5xx.c static int i2c_write(struct i2c_adapter *adap, u8 adr,
adr               133 drivers/media/dvb-frontends/mxl5xx.c 	struct i2c_msg msg = {.addr = adr, .flags = 0,
adr               139 drivers/media/dvb-frontends/mxl5xx.c static int i2c_read(struct i2c_adapter *adap, u8 adr,
adr               142 drivers/media/dvb-frontends/mxl5xx.c 	struct i2c_msg msg = {.addr = adr, .flags = I2C_M_RD,
adr               150 drivers/media/dvb-frontends/mxl5xx.c 	return i2c_read(state->base->i2c, state->base->adr, data, len);
adr               155 drivers/media/dvb-frontends/mxl5xx.c 	return i2c_write(state->base->i2c, state->base->adr, data, len);
adr               807 drivers/media/dvb-frontends/mxl5xx.c static struct mxl_base *match_base(struct i2c_adapter  *i2c, u8 adr)
adr               812 drivers/media/dvb-frontends/mxl5xx.c 		if (p->i2c == i2c && p->adr == adr)
adr              1853 drivers/media/dvb-frontends/mxl5xx.c 	base = match_base(i2c, cfg->adr);
adr              1864 drivers/media/dvb-frontends/mxl5xx.c 		base->adr = cfg->adr;
adr                32 drivers/media/dvb-frontends/mxl5xx.h 	u8   adr;
adr                80 drivers/media/dvb-frontends/stv0910.c 	u8                   adr;
adr               145 drivers/media/dvb-frontends/stv0910.c 	struct i2c_msg msg = {.addr = state->base->adr, .flags = 0,
adr               150 drivers/media/dvb-frontends/stv0910.c 			 state->base->adr, reg, val);
adr               156 drivers/media/dvb-frontends/stv0910.c static inline int i2c_read_regs16(struct i2c_adapter *adapter, u8 adr,
adr               160 drivers/media/dvb-frontends/stv0910.c 	struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0,
adr               162 drivers/media/dvb-frontends/stv0910.c 				  {.addr = adr, .flags = I2C_M_RD,
adr               167 drivers/media/dvb-frontends/stv0910.c 			 adr, reg);
adr               175 drivers/media/dvb-frontends/stv0910.c 	return i2c_read_regs16(state->base->i2c, state->base->adr,
adr               181 drivers/media/dvb-frontends/stv0910.c 	return i2c_read_regs16(state->base->i2c, state->base->adr,
adr              1752 drivers/media/dvb-frontends/stv0910.c static struct stv_base *match_base(struct i2c_adapter *i2c, u8 adr)
adr              1757 drivers/media/dvb-frontends/stv0910.c 		if (p->i2c == i2c && p->adr == adr)
adr              1800 drivers/media/dvb-frontends/stv0910.c 	base = match_base(i2c, cfg->adr);
adr              1809 drivers/media/dvb-frontends/stv0910.c 		base->adr = cfg->adr;
adr              1818 drivers/media/dvb-frontends/stv0910.c 				 cfg->adr, dev_name(&i2c->dev));
adr              1829 drivers/media/dvb-frontends/stv0910.c 		 state->fe.ops.info.name, cfg->adr, dev_name(&i2c->dev));
adr                27 drivers/media/dvb-frontends/stv0910.h 	u8  adr;
adr                32 drivers/media/dvb-frontends/stv6111.c 	u8 adr;
adr               305 drivers/media/dvb-frontends/stv6111.c 		    u8 adr, u8 *msg, int len, u8 *answ, int alen)
adr               307 drivers/media/dvb-frontends/stv6111.c 	struct i2c_msg msgs[2] = { { .addr = adr, .flags = 0,
adr               309 drivers/media/dvb-frontends/stv6111.c 				   { .addr = adr, .flags = I2C_M_RD,
adr               318 drivers/media/dvb-frontends/stv6111.c static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 *data, int len)
adr               320 drivers/media/dvb-frontends/stv6111.c 	struct i2c_msg msg = {.addr = adr, .flags = 0,
adr               336 drivers/media/dvb-frontends/stv6111.c 	return i2c_write(state->i2c, state->adr, d, len + 1);
adr               343 drivers/media/dvb-frontends/stv6111.c 	return i2c_write(state->i2c, state->adr, d, 2);
adr               348 drivers/media/dvb-frontends/stv6111.c 	return i2c_read(state->i2c, state->adr, &reg, 1, val, 1);
adr               659 drivers/media/dvb-frontends/stv6111.c 				    struct i2c_adapter *i2c, u8 adr)
adr               668 drivers/media/dvb-frontends/stv6111.c 	state->adr = adr;
adr                23 drivers/media/dvb-frontends/stv6111.h 				    struct i2c_adapter *i2c, u8 adr);
adr                29 drivers/media/dvb-frontends/stv6111.h 						  u8 adr)
adr                67 drivers/media/dvb-frontends/tda18271c2dd.c 	u8 adr;
adr               105 drivers/media/dvb-frontends/tda18271c2dd.c static int i2c_readn(struct i2c_adapter *adapter, u8 adr, u8 *data, int len)
adr               107 drivers/media/dvb-frontends/tda18271c2dd.c 	struct i2c_msg msgs[1] = {{.addr = adr,  .flags = I2C_M_RD,
adr               112 drivers/media/dvb-frontends/tda18271c2dd.c static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 *data, int len)
adr               114 drivers/media/dvb-frontends/tda18271c2dd.c 	struct i2c_msg msg = {.addr = adr, .flags = 0,
adr               118 drivers/media/dvb-frontends/tda18271c2dd.c 		printk(KERN_ERR "tda18271c2dd: i2c write error at addr %i\n", adr);
adr               138 drivers/media/dvb-frontends/tda18271c2dd.c 	return i2c_write(state->i2c, state->adr, data, nRegs + 1);
adr               145 drivers/media/dvb-frontends/tda18271c2dd.c 	return i2c_write(state->i2c, state->adr, msg, 2);
adr               150 drivers/media/dvb-frontends/tda18271c2dd.c 	return i2c_readn(state->i2c, state->adr, Regs, 16);
adr               155 drivers/media/dvb-frontends/tda18271c2dd.c 	return i2c_readn(state->i2c, state->adr, Regs, NUM_REGS);
adr              1217 drivers/media/dvb-frontends/tda18271c2dd.c 					 struct i2c_adapter *i2c, u8 adr)
adr              1226 drivers/media/dvb-frontends/tda18271c2dd.c 	state->adr = adr;
adr                 7 drivers/media/dvb-frontends/tda18271c2dd.h 					 struct i2c_adapter *i2c, u8 adr);
adr                10 drivers/media/dvb-frontends/tda18271c2dd.h 					 struct i2c_adapter *i2c, u8 adr)
adr                51 drivers/media/pci/bt8xx/bt878.c #define btwrite(dat,adr)    bmtwrite((dat), (bt->bt878_mem+(adr)))
adr                52 drivers/media/pci/bt8xx/bt878.c #define btread(adr)         bmtread(bt->bt878_mem+(adr))
adr                54 drivers/media/pci/bt8xx/bt878.c #define btand(dat,adr)      btwrite((dat) & btread(adr), adr)
adr                55 drivers/media/pci/bt8xx/bt878.c #define btor(dat,adr)       btwrite((dat) | btread(adr), adr)
adr                56 drivers/media/pci/bt8xx/bt878.c #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
adr               133 drivers/media/pci/bt8xx/bt878.h #define bmtwrite(dat,adr)  writel((dat), (adr))
adr               134 drivers/media/pci/bt8xx/bt878.h #define bmtread(adr)       readl(adr)
adr               516 drivers/media/pci/bt8xx/bttvp.h #define btwrite(dat,adr)    writel((dat), btv->bt848_mmio+(adr))
adr               517 drivers/media/pci/bt8xx/bttvp.h #define btread(adr)         readl(btv->bt848_mmio+(adr))
adr               519 drivers/media/pci/bt8xx/bttvp.h #define btand(dat,adr)      btwrite((dat) & btread(adr), adr)
adr               520 drivers/media/pci/bt8xx/bttvp.h #define btor(dat,adr)       btwrite((dat) | btread(adr), adr)
adr               521 drivers/media/pci/bt8xx/bttvp.h #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
adr               862 drivers/media/pci/cx23885/cx23885-dvb.c 		.adr = 0x29,
adr               865 drivers/media/pci/cx23885/cx23885-dvb.c 		.adr = 0x2a,
adr               183 drivers/media/pci/ddbridge/ddbridge-ci.c 	u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13;
adr               186 drivers/media/pci/ddbridge/ddbridge-ci.c 	return i2c_write_reg(i2c, adr, 0x02, ci->port->creg);
adr               194 drivers/media/pci/ddbridge/ddbridge-ci.c 	u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13;
adr               198 drivers/media/pci/ddbridge/ddbridge-ci.c 	res = i2c_read_reg16(i2c, adr, 0x8000 | address, &val);
adr               207 drivers/media/pci/ddbridge/ddbridge-ci.c 	u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13;
adr               209 drivers/media/pci/ddbridge/ddbridge-ci.c 	return i2c_write_reg16(i2c, adr, 0x8000 | address, value);
adr               217 drivers/media/pci/ddbridge/ddbridge-ci.c 	u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13;
adr               221 drivers/media/pci/ddbridge/ddbridge-ci.c 	res = i2c_read_reg(i2c, adr, 0x20 | (address & 3), &val);
adr               230 drivers/media/pci/ddbridge/ddbridge-ci.c 	u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13;
adr               232 drivers/media/pci/ddbridge/ddbridge-ci.c 	return i2c_write_reg(i2c, adr, 0x20 | (address & 3), value);
adr               272 drivers/media/pci/ddbridge/ddbridge-ci.c 	u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13;
adr               276 drivers/media/pci/ddbridge/ddbridge-ci.c 	i2c_read_reg(i2c, adr, 0x01, &val);
adr               894 drivers/media/pci/ddbridge/ddbridge-core.c 	config.adr = 0x29 + (input->nr & 1);
adr               969 drivers/media/pci/ddbridge/ddbridge-core.c static int tuner_tda18212_ping(struct ddb_input *input, unsigned short adr)
adr               981 drivers/media/pci/ddbridge/ddbridge-core.c 	if (i2c_read_regs(adapter, adr, subaddr, tda_id, sizeof(tda_id)) < 0)
adr               983 drivers/media/pci/ddbridge/ddbridge-core.c 	if (i2c_read_regs(adapter, adr, subaddr, tda_id, sizeof(tda_id)) < 0)
adr              1178 drivers/media/pci/ddbridge/ddbridge-core.c 	.adr      = 0x68,
adr              1190 drivers/media/pci/ddbridge/ddbridge-core.c static int has_lnbh25(struct i2c_adapter *i2c, u8 adr)
adr              1194 drivers/media/pci/ddbridge/ddbridge-core.c 	return i2c_read_reg(i2c, adr, 0, &val) ? 0 : 1;
adr              1218 drivers/media/pci/ddbridge/ddbridge-core.c 		cfg.adr = 0x6c;
adr              1250 drivers/media/pci/ddbridge/ddbridge-core.c 	u8 adr = (type ? 0 : 4) + ((input->nr & 1) ? 0x63 : 0x60);
adr              1252 drivers/media/pci/ddbridge/ddbridge-core.c 	fe = dvb_attach(stv6111_attach, dvb->fe, i2c, adr);
adr              1254 drivers/media/pci/ddbridge/ddbridge-core.c 		fe = dvb_attach(stv6111_attach, dvb->fe, i2c, adr & ~4);
adr              1256 drivers/media/pci/ddbridge/ddbridge-core.c 			dev_err(dev, "No STV6111 found at 0x%02x!\n", adr);
adr                40 drivers/media/pci/ddbridge/ddbridge-i2c.c static int ddb_i2c_cmd(struct ddb_i2c *i2c, u32 adr, u32 cmd)
adr                46 drivers/media/pci/ddbridge/ddbridge-i2c.c 	ddbwritel(dev, (adr << 9) | cmd, i2c->regs + I2C_COMMAND);
adr                33 drivers/media/pci/ddbridge/ddbridge-i2c.h static int __maybe_unused i2c_io(struct i2c_adapter *adapter, u8 adr,
adr                36 drivers/media/pci/ddbridge/ddbridge-i2c.h 	struct i2c_msg msgs[2] = { { .addr = adr,  .flags = 0,
adr                38 drivers/media/pci/ddbridge/ddbridge-i2c.h 				   { .addr = adr,  .flags = I2C_M_RD,
adr                44 drivers/media/pci/ddbridge/ddbridge-i2c.h static int __maybe_unused i2c_write(struct i2c_adapter *adap, u8 adr,
adr                47 drivers/media/pci/ddbridge/ddbridge-i2c.h 	struct i2c_msg msg = { .addr = adr, .flags = 0,
adr                53 drivers/media/pci/ddbridge/ddbridge-i2c.h static int __maybe_unused i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val)
adr                55 drivers/media/pci/ddbridge/ddbridge-i2c.h 	struct i2c_msg msgs[1] = { { .addr = adr, .flags = I2C_M_RD,
adr                62 drivers/media/pci/ddbridge/ddbridge-i2c.h 					u8 adr, u8 reg, u8 *val, u8 len)
adr                64 drivers/media/pci/ddbridge/ddbridge-i2c.h 	struct i2c_msg msgs[2] = { { .addr = adr,  .flags = 0,
adr                66 drivers/media/pci/ddbridge/ddbridge-i2c.h 				   { .addr = adr,  .flags = I2C_M_RD,
adr                73 drivers/media/pci/ddbridge/ddbridge-i2c.h 					  u8 adr, u16 reg, u8 *val, u8 len)
adr                76 drivers/media/pci/ddbridge/ddbridge-i2c.h 	struct i2c_msg msgs[2] = { { .addr = adr, .flags = 0,
adr                78 drivers/media/pci/ddbridge/ddbridge-i2c.h 				   { .addr = adr, .flags = I2C_M_RD,
adr                85 drivers/media/pci/ddbridge/ddbridge-i2c.h 					  u8 adr, u16 reg, u8 val)
adr                89 drivers/media/pci/ddbridge/ddbridge-i2c.h 	return i2c_write(adap, adr, msg, 3);
adr                93 drivers/media/pci/ddbridge/ddbridge-i2c.h 					u8 adr, u8 reg, u8 val)
adr                97 drivers/media/pci/ddbridge/ddbridge-i2c.h 	return i2c_write(adap, adr, msg, 2);
adr               101 drivers/media/pci/ddbridge/ddbridge-i2c.h 					 u8 adr, u16 reg, u8 *val)
adr               103 drivers/media/pci/ddbridge/ddbridge-i2c.h 	return i2c_read_regs16(adapter, adr, reg, val, 1);
adr               107 drivers/media/pci/ddbridge/ddbridge-i2c.h 				       u8 adr, u8 reg, u8 *val)
adr               109 drivers/media/pci/ddbridge/ddbridge-i2c.h 	return i2c_read_regs(adapter, adr, reg, val, 1);
adr                28 drivers/media/pci/ddbridge/ddbridge-io.h static inline u32 ddblreadl(struct ddb_link *link, u32 adr)
adr                30 drivers/media/pci/ddbridge/ddbridge-io.h 	return readl(link->dev->regs + adr);
adr                33 drivers/media/pci/ddbridge/ddbridge-io.h static inline void ddblwritel(struct ddb_link *link, u32 val, u32 adr)
adr                35 drivers/media/pci/ddbridge/ddbridge-io.h 	writel(val, link->dev->regs + adr);
adr                38 drivers/media/pci/ddbridge/ddbridge-io.h static inline u32 ddbreadl(struct ddb *dev, u32 adr)
adr                40 drivers/media/pci/ddbridge/ddbridge-io.h 	return readl(dev->regs + adr);
adr                43 drivers/media/pci/ddbridge/ddbridge-io.h static inline void ddbwritel(struct ddb *dev, u32 val, u32 adr)
adr                45 drivers/media/pci/ddbridge/ddbridge-io.h 	writel(val, dev->regs + adr);
adr                48 drivers/media/pci/ddbridge/ddbridge-io.h static inline void ddbcpyto(struct ddb *dev, u32 adr, void *src, long count)
adr                50 drivers/media/pci/ddbridge/ddbridge-io.h 	memcpy_toio(dev->regs + adr, src, count);
adr                53 drivers/media/pci/ddbridge/ddbridge-io.h static inline void ddbcpyfrom(struct ddb *dev, void *dst, u32 adr, long count)
adr                55 drivers/media/pci/ddbridge/ddbridge-io.h 	memcpy_fromio(dst, dev->regs + adr, count);
adr                58 drivers/media/pci/ddbridge/ddbridge-io.h static inline u32 safe_ddbreadl(struct ddb *dev, u32 adr)
adr                60 drivers/media/pci/ddbridge/ddbridge-io.h 	u32 val = ddbreadl(dev, adr);
adr                64 drivers/media/pci/ddbridge/ddbridge-io.h 		dev_err(&dev->pdev->dev, "ddbreadl failure, adr=%08x\n", adr);
adr               400 drivers/media/pci/ddbridge/ddbridge-max.c 	.adr      = 0x60,
adr                66 drivers/media/pci/meye/meye.c 	unsigned long adr;
adr                72 drivers/media/pci/meye/meye.c 		adr = (unsigned long) mem;
adr                74 drivers/media/pci/meye/meye.c 			SetPageReserved(vmalloc_to_page((void *)adr));
adr                75 drivers/media/pci/meye/meye.c 			adr += PAGE_SIZE;
adr                84 drivers/media/pci/meye/meye.c 	unsigned long adr;
adr                87 drivers/media/pci/meye/meye.c 		adr = (unsigned long) mem;
adr                89 drivers/media/pci/meye/meye.c 			ClearPageReserved(vmalloc_to_page((void *)adr));
adr                90 drivers/media/pci/meye/meye.c 			adr += PAGE_SIZE;
adr                44 drivers/media/pci/ngene/ngene-cards.c static int i2c_io(struct i2c_adapter *adapter, u8 adr,
adr                47 drivers/media/pci/ngene/ngene-cards.c 	struct i2c_msg msgs[2] = {{.addr = adr,  .flags = 0,
adr                49 drivers/media/pci/ngene/ngene-cards.c 				  {.addr = adr,  .flags = I2C_M_RD,
adr                54 drivers/media/pci/ngene/ngene-cards.c static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 *data, int len)
adr                56 drivers/media/pci/ngene/ngene-cards.c 	struct i2c_msg msg = {.addr = adr, .flags = 0,
adr                62 drivers/media/pci/ngene/ngene-cards.c static int i2c_write_reg(struct i2c_adapter *adap, u8 adr,
adr                67 drivers/media/pci/ngene/ngene-cards.c 	return i2c_write(adap, adr, msg, 2);
adr                70 drivers/media/pci/ngene/ngene-cards.c static int i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val)
adr                72 drivers/media/pci/ngene/ngene-cards.c 	struct i2c_msg msgs[1] = {{.addr = adr,  .flags = I2C_M_RD,
adr                77 drivers/media/pci/ngene/ngene-cards.c static int i2c_read_reg16(struct i2c_adapter *adapter, u8 adr,
adr                81 drivers/media/pci/ngene/ngene-cards.c 	struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0,
adr                83 drivers/media/pci/ngene/ngene-cards.c 				  {.addr = adr, .flags = I2C_M_RD,
adr                89 drivers/media/pci/ngene/ngene-cards.c 			 u8 adr, u8 reg, u8 *val, u8 len)
adr                91 drivers/media/pci/ngene/ngene-cards.c 	struct i2c_msg msgs[2] = {{.addr = adr,  .flags = 0,
adr                93 drivers/media/pci/ngene/ngene-cards.c 				  {.addr = adr,  .flags = I2C_M_RD,
adr                99 drivers/media/pci/ngene/ngene-cards.c static int i2c_read_reg(struct i2c_adapter *adapter, u8 adr, u8 reg, u8 *val)
adr               101 drivers/media/pci/ngene/ngene-cards.c 	return i2c_read_regs(adapter, adr, reg, val, 1);
adr               153 drivers/media/pci/ngene/ngene-cards.c 	u8 adr = 4 + ((chan->number & 1) ? 0x63 : 0x60);
adr               155 drivers/media/pci/ngene/ngene-cards.c 	fe = dvb_attach(stv6111_attach, chan->fe, i2c, adr);
adr               157 drivers/media/pci/ngene/ngene-cards.c 		fe = dvb_attach(stv6111_attach, chan->fe, i2c, adr & ~4);
adr               202 drivers/media/pci/ngene/ngene-cards.c 			       unsigned short adr)
adr               212 drivers/media/pci/ngene/ngene-cards.c 	if (i2c_read_regs(i2c, adr, subaddr, tda_id, sizeof(tda_id)) < 0)
adr               214 drivers/media/pci/ngene/ngene-cards.c 	if (i2c_read_regs(i2c, adr, subaddr, tda_id, sizeof(tda_id)) < 0)
adr               313 drivers/media/pci/ngene/ngene-cards.c 	.adr      = 0x68,
adr               334 drivers/media/pci/ngene/ngene-cards.c 		cfg.adr = 0x6c;
adr               496 drivers/media/pci/ngene/ngene-cards.c 	config.adr = 0x29 + (chan->number ^ 2);
adr               788 drivers/media/pci/ngene/ngene-cards.c 			    u8 adr, u16 reg, u8 data)
adr               792 drivers/media/pci/ngene/ngene-cards.c 	struct i2c_msg msg = {.addr = adr, .flags = 0, .buf = m,
adr               803 drivers/media/pci/ngene/ngene-cards.c 			   u8 adr, u16 reg, u8 *data, int len)
adr               807 drivers/media/pci/ngene/ngene-cards.c 	struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0,
adr               809 drivers/media/pci/ngene/ngene-cards.c 				  {.addr = adr, .flags = I2C_M_RD,
adr                41 drivers/media/pci/ngene/ngene-core.c #define ngwriteb(dat, adr)         writeb((dat), dev->iomem + (adr))
adr                42 drivers/media/pci/ngene/ngene-core.c #define ngwritel(dat, adr)         writel((dat), dev->iomem + (adr))
adr                43 drivers/media/pci/ngene/ngene-core.c #define ngwriteb(dat, adr)         writeb((dat), dev->iomem + (adr))
adr                44 drivers/media/pci/ngene/ngene-core.c #define ngreadl(adr)               readl(dev->iomem + (adr))
adr                45 drivers/media/pci/ngene/ngene-core.c #define ngreadb(adr)               readb(dev->iomem + (adr))
adr                46 drivers/media/pci/ngene/ngene-core.c #define ngcpyto(adr, src, count)   memcpy_toio(dev->iomem + (adr), (src), (count))
adr                47 drivers/media/pci/ngene/ngene-core.c #define ngcpyfrom(dst, adr, count) memcpy_fromio((dst), dev->iomem + (adr), (count))
adr                31 drivers/media/pci/ngene/ngene-i2c.c static int ngene_command_i2c_read(struct ngene *dev, u8 adr,
adr                38 drivers/media/pci/ngene/ngene-i2c.c 	com.cmd.I2CRead.Device = adr << 1;
adr                48 drivers/media/pci/ngene/ngene-i2c.c 	if ((com.cmd.raw8[0] >> 1) != adr)
adr                58 drivers/media/pci/ngene/ngene-i2c.c static int ngene_command_i2c_write(struct ngene *dev, u8 adr,
adr                66 drivers/media/pci/ngene/ngene-i2c.c 	com.cmd.I2CRead.Device = adr << 1;
adr                47 drivers/media/pci/saa7146/hexium_gemini.c 	s8 adr;
adr               177 drivers/media/pci/saa7146/hexium_gemini.c 	if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, hexium_input_select[input].adr, I2C_SMBUS_BYTE_DATA, &data)) {
adr               191 drivers/media/pci/saa7146/hexium_gemini.c 	while (vdec[i].adr != -1) {
adr               193 drivers/media/pci/saa7146/hexium_gemini.c 		if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x6c, 0, I2C_SMBUS_WRITE, vdec[i].adr, I2C_SMBUS_BYTE_DATA, &data)) {
adr                48 drivers/media/pci/saa7146/hexium_orion.c 	s8 adr;
adr               303 drivers/media/pci/saa7146/hexium_orion.c 		int adr = hexium_input_select[input].data[i].adr;
adr               305 drivers/media/pci/saa7146/hexium_orion.c 		if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_WRITE, adr, I2C_SMBUS_BYTE_DATA, &data)) {
adr               308 drivers/media/pci/saa7146/hexium_orion.c 		pr_debug("%d: 0x%02x => 0x%02x\n", input, adr, data.byte);
adr               121 drivers/media/pci/ttpci/av7110_hw.c static int waitdebi(struct av7110 *av7110, int adr, int state)
adr               128 drivers/media/pci/ttpci/av7110_hw.c 		if (irdebi(av7110, DEBINOSWAP, adr, 0, 2) == state)
adr               414 drivers/media/pci/ttpci/budget.c static int i2c_readreg(struct i2c_adapter *i2c, u8 adr, u8 reg)
adr               418 drivers/media/pci/ttpci/budget.c 		{ .addr = adr, .flags = 0, .buf = &reg, .len = 1 },
adr               419 drivers/media/pci/ttpci/budget.c 		{ .addr = adr, .flags = I2C_M_RD, .buf = &val, .len = 1 }
adr                70 drivers/media/usb/cpia2/cpia2_core.c static inline unsigned long kvirt_to_pa(unsigned long adr)
adr                74 drivers/media/usb/cpia2/cpia2_core.c 	kva = (unsigned long) page_address(vmalloc_to_page((void *)adr));
adr                75 drivers/media/usb/cpia2/cpia2_core.c 	kva |= adr & (PAGE_SIZE-1); /* restore the offset */
adr                83 drivers/media/usb/cpia2/cpia2_core.c 	unsigned long adr;
adr                93 drivers/media/usb/cpia2/cpia2_core.c 	adr = (unsigned long) mem;
adr                96 drivers/media/usb/cpia2/cpia2_core.c 		SetPageReserved(vmalloc_to_page((void *)adr));
adr                97 drivers/media/usb/cpia2/cpia2_core.c 		adr += PAGE_SIZE;
adr               105 drivers/media/usb/cpia2/cpia2_core.c 	unsigned long adr;
adr               112 drivers/media/usb/cpia2/cpia2_core.c 	adr = (unsigned long) mem;
adr               114 drivers/media/usb/cpia2/cpia2_core.c 		ClearPageReserved(vmalloc_to_page((void *)adr));
adr               115 drivers/media/usb/cpia2/cpia2_core.c 		adr += PAGE_SIZE;
adr              2391 drivers/media/usb/cpia2/cpia2_core.c 	const char *adr = (const char *)vma->vm_start;
adr              2394 drivers/media/usb/cpia2/cpia2_core.c 	unsigned long start = (unsigned long) adr;
adr                51 drivers/media/usb/dvb-usb-v2/az6007.c 	.adr = 0x29,
adr                64 drivers/media/usb/dvb-usb-v2/az6007.c 	.adr = 0x29,
adr               404 drivers/media/usb/em28xx/em28xx-dvb.c 	.adr = 0x29,
adr               412 drivers/media/usb/em28xx/em28xx-dvb.c 	.adr = 0x29,
adr               421 drivers/media/usb/em28xx/em28xx-dvb.c 	.adr = 0x29,
adr               434 drivers/media/usb/em28xx/em28xx-dvb.c 	.adr = 0x29,
adr               443 drivers/media/usb/em28xx/em28xx-dvb.c 	.adr = 0x29,
adr               104 drivers/media/usb/usbvision/usbvision-core.c 	unsigned long adr;
adr               112 drivers/media/usb/usbvision/usbvision-core.c 	adr = (unsigned long) mem;
adr               114 drivers/media/usb/usbvision/usbvision-core.c 		SetPageReserved(vmalloc_to_page((void *)adr));
adr               115 drivers/media/usb/usbvision/usbvision-core.c 		adr += PAGE_SIZE;
adr               124 drivers/media/usb/usbvision/usbvision-core.c 	unsigned long adr;
adr               131 drivers/media/usb/usbvision/usbvision-core.c 	adr = (unsigned long) mem;
adr               133 drivers/media/usb/usbvision/usbvision-core.c 		ClearPageReserved(vmalloc_to_page((void *)adr));
adr               134 drivers/media/usb/usbvision/usbvision-core.c 		adr += PAGE_SIZE;
adr                85 drivers/mfd/intel_quark_i2c_gpio.c 	.adr = MFD_ACPI_MATCH_I2C,
adr                95 drivers/mfd/intel_quark_i2c_gpio.c 	.adr = MFD_ACPI_MATCH_GPIO,
adr               112 drivers/mfd/mfd-core.c 			unsigned long long adr;
adr               118 drivers/mfd/mfd-core.c 							       &adr);
adr               119 drivers/mfd/mfd-core.c 				if (ACPI_SUCCESS(status) && match->adr == adr) {
adr                97 drivers/mtd/chips/cfi_cmdset_0001.c static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
adr                98 drivers/mtd/chips/cfi_cmdset_0001.c static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
adr                99 drivers/mtd/chips/cfi_cmdset_0001.c static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
adr               391 drivers/mtd/chips/cfi_cmdset_0001.c read_pri_intelext(struct map_info *map, __u16 adr)
adr               399 drivers/mtd/chips/cfi_cmdset_0001.c 	extp = (struct cfi_pri_intelext *)cfi_read_pri(map, adr, extp_size, "Intel/Sharp");
adr               514 drivers/mtd/chips/cfi_cmdset_0001.c 		__u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR;
adr               517 drivers/mtd/chips/cfi_cmdset_0001.c 		extp = read_pri_intelext(map, adr);
adr               806 drivers/mtd/chips/cfi_cmdset_0001.c static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode)
adr               822 drivers/mtd/chips/cfi_cmdset_0001.c 			status = map_read(map, adr);
adr               851 drivers/mtd/chips/cfi_cmdset_0001.c 		if ((adr & chip->in_progress_block_mask) ==
adr               880 drivers/mtd/chips/cfi_cmdset_0001.c 				put_chip(map, chip, adr);
adr               923 drivers/mtd/chips/cfi_cmdset_0001.c static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode)
adr              1012 drivers/mtd/chips/cfi_cmdset_0001.c 	ret = chip_ready(map, chip, adr, mode);
adr              1019 drivers/mtd/chips/cfi_cmdset_0001.c static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr)
adr              1104 drivers/mtd/chips/cfi_cmdset_0001.c 			unsigned long adr)
adr              1107 drivers/mtd/chips/cfi_cmdset_0001.c 	(void) map_read(map, adr); /* ensure mmu mapping is up to date */
adr              1112 drivers/mtd/chips/cfi_cmdset_0001.c 				unsigned long adr)
adr              1116 drivers/mtd/chips/cfi_cmdset_0001.c 		map_write(map, CMD(0xff), adr);
adr              1119 drivers/mtd/chips/cfi_cmdset_0001.c 	(void) map_read(map, adr);
adr              1139 drivers/mtd/chips/cfi_cmdset_0001.c 		unsigned long adr, unsigned int chip_op_time_max)
adr              1170 drivers/mtd/chips/cfi_cmdset_0001.c 			map_write(map, CMD(0xb0), adr);
adr              1171 drivers/mtd/chips/cfi_cmdset_0001.c 			map_write(map, CMD(0x70), adr);
adr              1183 drivers/mtd/chips/cfi_cmdset_0001.c 				status = map_read(map, adr);
adr              1200 drivers/mtd/chips/cfi_cmdset_0001.c 			map_write(map, CMD(0xff), adr);
adr              1201 drivers/mtd/chips/cfi_cmdset_0001.c 			(void) map_read(map, adr);
adr              1228 drivers/mtd/chips/cfi_cmdset_0001.c 			map_write(map, CMD(0xd0), adr);
adr              1229 drivers/mtd/chips/cfi_cmdset_0001.c 			map_write(map, CMD(0x70), adr);
adr              1240 drivers/mtd/chips/cfi_cmdset_0001.c 		status = map_read(map, adr);
adr              1263 drivers/mtd/chips/cfi_cmdset_0001.c #define xip_disable(map, chip, adr)
adr              1264 drivers/mtd/chips/cfi_cmdset_0001.c #define xip_enable(map, chip, adr)
adr              1348 drivers/mtd/chips/cfi_cmdset_0001.c #define WAIT_TIMEOUT(map, chip, adr, udelay, udelay_max) \
adr              1349 drivers/mtd/chips/cfi_cmdset_0001.c 	INVAL_CACHE_AND_WAIT(map, chip, adr, 0, 0, udelay, udelay_max);
adr              1352 drivers/mtd/chips/cfi_cmdset_0001.c static int do_point_onechip (struct map_info *map, struct flchip *chip, loff_t adr, size_t len)
adr              1358 drivers/mtd/chips/cfi_cmdset_0001.c 	adr += chip->start;
adr              1361 drivers/mtd/chips/cfi_cmdset_0001.c 	cmd_addr = adr & ~(map_bankwidth(map)-1);
adr              1479 drivers/mtd/chips/cfi_cmdset_0001.c static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf)
adr              1485 drivers/mtd/chips/cfi_cmdset_0001.c 	adr += chip->start;
adr              1488 drivers/mtd/chips/cfi_cmdset_0001.c 	cmd_addr = adr & ~(map_bankwidth(map)-1);
adr              1503 drivers/mtd/chips/cfi_cmdset_0001.c 	map_copy_from(map, buf, adr, len);
adr              1549 drivers/mtd/chips/cfi_cmdset_0001.c 				     unsigned long adr, map_word datum, int mode)
adr              1555 drivers/mtd/chips/cfi_cmdset_0001.c 	adr += chip->start;
adr              1569 drivers/mtd/chips/cfi_cmdset_0001.c 	ret = get_chip(map, chip, adr, mode);
adr              1575 drivers/mtd/chips/cfi_cmdset_0001.c 	XIP_INVAL_CACHED_RANGE(map, adr, map_bankwidth(map));
adr              1577 drivers/mtd/chips/cfi_cmdset_0001.c 	xip_disable(map, chip, adr);
adr              1578 drivers/mtd/chips/cfi_cmdset_0001.c 	map_write(map, write_cmd, adr);
adr              1579 drivers/mtd/chips/cfi_cmdset_0001.c 	map_write(map, datum, adr);
adr              1582 drivers/mtd/chips/cfi_cmdset_0001.c 	ret = INVAL_CACHE_AND_WAIT(map, chip, adr,
adr              1583 drivers/mtd/chips/cfi_cmdset_0001.c 				   adr, map_bankwidth(map),
adr              1587 drivers/mtd/chips/cfi_cmdset_0001.c 		xip_enable(map, chip, adr);
adr              1593 drivers/mtd/chips/cfi_cmdset_0001.c 	status = map_read(map, adr);
adr              1598 drivers/mtd/chips/cfi_cmdset_0001.c 		map_write(map, CMD(0x50), adr);
adr              1599 drivers/mtd/chips/cfi_cmdset_0001.c 		map_write(map, CMD(0x70), adr);
adr              1600 drivers/mtd/chips/cfi_cmdset_0001.c 		xip_enable(map, chip, adr);
adr              1615 drivers/mtd/chips/cfi_cmdset_0001.c 	xip_enable(map, chip, adr);
adr              1617 drivers/mtd/chips/cfi_cmdset_0001.c 	put_chip(map, chip, adr);
adr              1703 drivers/mtd/chips/cfi_cmdset_0001.c 				    unsigned long adr, const struct kvec **pvec,
adr              1716 drivers/mtd/chips/cfi_cmdset_0001.c 	adr += chip->start;
adr              1717 drivers/mtd/chips/cfi_cmdset_0001.c 	initial_adr = adr;
adr              1718 drivers/mtd/chips/cfi_cmdset_0001.c 	cmd_adr = adr & ~(wbufsize-1);
adr              1724 drivers/mtd/chips/cfi_cmdset_0001.c 		cmd_adr = adr;
adr              1775 drivers/mtd/chips/cfi_cmdset_0001.c 	word_gap = (-adr & (map_bankwidth(map)-1));
adr              1781 drivers/mtd/chips/cfi_cmdset_0001.c 		adr -= word_gap;
adr              1808 drivers/mtd/chips/cfi_cmdset_0001.c 			map_write(map, datum, adr);
adr              1809 drivers/mtd/chips/cfi_cmdset_0001.c 			adr += map_bankwidth(map);
adr              1932 drivers/mtd/chips/cfi_cmdset_0001.c 				      unsigned long adr, int len, void *thunk)
adr              1939 drivers/mtd/chips/cfi_cmdset_0001.c 	adr += chip->start;
adr              1943 drivers/mtd/chips/cfi_cmdset_0001.c 	ret = get_chip(map, chip, adr, FL_ERASING);
adr              1949 drivers/mtd/chips/cfi_cmdset_0001.c 	XIP_INVAL_CACHED_RANGE(map, adr, len);
adr              1951 drivers/mtd/chips/cfi_cmdset_0001.c 	xip_disable(map, chip, adr);
adr              1954 drivers/mtd/chips/cfi_cmdset_0001.c 	map_write(map, CMD(0x50), adr);
adr              1957 drivers/mtd/chips/cfi_cmdset_0001.c 	map_write(map, CMD(0x20), adr);
adr              1958 drivers/mtd/chips/cfi_cmdset_0001.c 	map_write(map, CMD(0xD0), adr);
adr              1961 drivers/mtd/chips/cfi_cmdset_0001.c 	chip->in_progress_block_addr = adr;
adr              1964 drivers/mtd/chips/cfi_cmdset_0001.c 	ret = INVAL_CACHE_AND_WAIT(map, chip, adr,
adr              1965 drivers/mtd/chips/cfi_cmdset_0001.c 				   adr, len,
adr              1969 drivers/mtd/chips/cfi_cmdset_0001.c 		map_write(map, CMD(0x70), adr);
adr              1971 drivers/mtd/chips/cfi_cmdset_0001.c 		xip_enable(map, chip, adr);
adr              1977 drivers/mtd/chips/cfi_cmdset_0001.c 	map_write(map, CMD(0x70), adr);
adr              1979 drivers/mtd/chips/cfi_cmdset_0001.c 	status = map_read(map, adr);
adr              1986 drivers/mtd/chips/cfi_cmdset_0001.c 		map_write(map, CMD(0x50), adr);
adr              1987 drivers/mtd/chips/cfi_cmdset_0001.c 		map_write(map, CMD(0x70), adr);
adr              1988 drivers/mtd/chips/cfi_cmdset_0001.c 		xip_enable(map, chip, adr);
adr              2001 drivers/mtd/chips/cfi_cmdset_0001.c 			printk(KERN_DEBUG "block erase failed at 0x%08lx: status 0x%lx. Retrying...\n", adr, chipstatus);
adr              2003 drivers/mtd/chips/cfi_cmdset_0001.c 			put_chip(map, chip, adr);
adr              2007 drivers/mtd/chips/cfi_cmdset_0001.c 			printk(KERN_ERR "%s: block erase failed at 0x%08lx (status 0x%lx)\n", map->name, adr, chipstatus);
adr              2014 drivers/mtd/chips/cfi_cmdset_0001.c 	xip_enable(map, chip, adr);
adr              2016 drivers/mtd/chips/cfi_cmdset_0001.c 	put_chip(map, chip, adr);
adr              2070 drivers/mtd/chips/cfi_cmdset_0001.c 						unsigned long adr,
adr              2076 drivers/mtd/chips/cfi_cmdset_0001.c 	adr += chip->start;
adr              2077 drivers/mtd/chips/cfi_cmdset_0001.c 	xip_disable(map, chip, adr+(2*ofs_factor));
adr              2078 drivers/mtd/chips/cfi_cmdset_0001.c 	map_write(map, CMD(0x90), adr+(2*ofs_factor));
adr              2080 drivers/mtd/chips/cfi_cmdset_0001.c 	status = cfi_read_query(map, adr+(2*ofs_factor));
adr              2088 drivers/mtd/chips/cfi_cmdset_0001.c 						unsigned long adr,
adr              2092 drivers/mtd/chips/cfi_cmdset_0001.c 	       adr, do_getlockstatus_oneblock(map, chip, adr, len, thunk));
adr              2101 drivers/mtd/chips/cfi_cmdset_0001.c 				       unsigned long adr, int len, void *thunk)
adr              2108 drivers/mtd/chips/cfi_cmdset_0001.c 	adr += chip->start;
adr              2111 drivers/mtd/chips/cfi_cmdset_0001.c 	ret = get_chip(map, chip, adr, FL_LOCKING);
adr              2118 drivers/mtd/chips/cfi_cmdset_0001.c 	xip_disable(map, chip, adr);
adr              2120 drivers/mtd/chips/cfi_cmdset_0001.c 	map_write(map, CMD(0x60), adr);
adr              2122 drivers/mtd/chips/cfi_cmdset_0001.c 		map_write(map, CMD(0x01), adr);
adr              2125 drivers/mtd/chips/cfi_cmdset_0001.c 		map_write(map, CMD(0xD0), adr);
adr              2144 drivers/mtd/chips/cfi_cmdset_0001.c 	ret = WAIT_TIMEOUT(map, chip, adr, mdelay, mdelay * 1000);
adr              2146 drivers/mtd/chips/cfi_cmdset_0001.c 		map_write(map, CMD(0x70), adr);
adr              2148 drivers/mtd/chips/cfi_cmdset_0001.c 		xip_enable(map, chip, adr);
adr              2153 drivers/mtd/chips/cfi_cmdset_0001.c 	xip_enable(map, chip, adr);
adr              2155 drivers/mtd/chips/cfi_cmdset_0001.c 	put_chip(map, chip, adr);
adr              2482 drivers/mtd/chips/cfi_cmdset_0001.c 	unsigned long adr;
adr              2492 drivers/mtd/chips/cfi_cmdset_0001.c 			adr = region->offset + block * len;
adr              2495 drivers/mtd/chips/cfi_cmdset_0001.c 					do_getlockstatus_oneblock, adr, len, NULL);
adr              2582 drivers/mtd/chips/cfi_cmdset_0001.c 	unsigned long adr;
adr              2592 drivers/mtd/chips/cfi_cmdset_0001.c 			adr = region->offset + block * len;
adr              2593 drivers/mtd/chips/cfi_cmdset_0001.c 			cfi_intelext_unlock(mtd, adr, len);
adr                94 drivers/mtd/chips/cfi_cmdset_0002.c static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
adr                95 drivers/mtd/chips/cfi_cmdset_0002.c static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
adr               127 drivers/mtd/chips/cfi_cmdset_0002.c 				unsigned long adr)
adr               137 drivers/mtd/chips/cfi_cmdset_0002.c 	status = map_read(map, adr);
adr               541 drivers/mtd/chips/cfi_cmdset_0002.c 					  unsigned long adr)
adr               546 drivers/mtd/chips/cfi_cmdset_0002.c 		map_write(map, CMD(0xF0), adr);
adr               622 drivers/mtd/chips/cfi_cmdset_0002.c 		__u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR;
adr               625 drivers/mtd/chips/cfi_cmdset_0002.c 		extp = (struct cfi_pri_amdstd*)cfi_read_pri(map, adr, sizeof(*extp), "Amd/Fujitsu");
adr               879 drivers/mtd/chips/cfi_cmdset_0002.c static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode)
adr               893 drivers/mtd/chips/cfi_cmdset_0002.c 			if (chip_ready(map, chip, adr))
adr               919 drivers/mtd/chips/cfi_cmdset_0002.c 		if ((adr & chip->in_progress_block_mask) ==
adr               931 drivers/mtd/chips/cfi_cmdset_0002.c 			if (chip_ready(map, chip, adr))
adr               940 drivers/mtd/chips/cfi_cmdset_0002.c 				put_chip(map, chip, adr);
adr               985 drivers/mtd/chips/cfi_cmdset_0002.c static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr)
adr              1027 drivers/mtd/chips/cfi_cmdset_0002.c 			unsigned long adr)
adr              1030 drivers/mtd/chips/cfi_cmdset_0002.c 	(void) map_read(map, adr); /* ensure mmu mapping is up to date */
adr              1035 drivers/mtd/chips/cfi_cmdset_0002.c 				unsigned long adr)
adr              1040 drivers/mtd/chips/cfi_cmdset_0002.c 		map_write(map, CMD(0xf0), adr);
adr              1043 drivers/mtd/chips/cfi_cmdset_0002.c 	(void) map_read(map, adr);
adr              1062 drivers/mtd/chips/cfi_cmdset_0002.c 				unsigned long adr, int usec)
adr              1085 drivers/mtd/chips/cfi_cmdset_0002.c 			map_write(map, CMD(0xb0), adr);
adr              1098 drivers/mtd/chips/cfi_cmdset_0002.c 				status = map_read(map, adr);
adr              1107 drivers/mtd/chips/cfi_cmdset_0002.c 			map_write(map, CMD(0xf0), adr);
adr              1108 drivers/mtd/chips/cfi_cmdset_0002.c 			(void) map_read(map, adr);
adr              1135 drivers/mtd/chips/cfi_cmdset_0002.c 			cfi_fixup_m29ew_erase_suspend(map, adr);
adr              1137 drivers/mtd/chips/cfi_cmdset_0002.c 			map_write(map, cfi->sector_erase_cmd, adr);
adr              1148 drivers/mtd/chips/cfi_cmdset_0002.c 		status = map_read(map, adr);
adr              1153 drivers/mtd/chips/cfi_cmdset_0002.c #define UDELAY(map, chip, adr, usec)  xip_udelay(map, chip, adr, usec)
adr              1165 drivers/mtd/chips/cfi_cmdset_0002.c #define INVALIDATE_CACHE_UDELAY(map, chip, adr, len, usec)  \
adr              1166 drivers/mtd/chips/cfi_cmdset_0002.c 	UDELAY(map, chip, adr, usec)
adr              1187 drivers/mtd/chips/cfi_cmdset_0002.c #define xip_disable(map, chip, adr)
adr              1188 drivers/mtd/chips/cfi_cmdset_0002.c #define xip_enable(map, chip, adr)
adr              1191 drivers/mtd/chips/cfi_cmdset_0002.c #define UDELAY(map, chip, adr, usec)  \
adr              1198 drivers/mtd/chips/cfi_cmdset_0002.c #define INVALIDATE_CACHE_UDELAY(map, chip, adr, len, usec)  \
adr              1201 drivers/mtd/chips/cfi_cmdset_0002.c 	INVALIDATE_CACHED_RANGE(map, adr, len);  \
adr              1208 drivers/mtd/chips/cfi_cmdset_0002.c static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf)
adr              1214 drivers/mtd/chips/cfi_cmdset_0002.c 	adr += chip->start;
adr              1217 drivers/mtd/chips/cfi_cmdset_0002.c 	cmd_addr = adr & ~(map_bankwidth(map)-1);
adr              1231 drivers/mtd/chips/cfi_cmdset_0002.c 	map_copy_from(map, buf, adr, len);
adr              1278 drivers/mtd/chips/cfi_cmdset_0002.c 			loff_t adr, size_t len, u_char *buf, size_t grouplen);
adr              1281 drivers/mtd/chips/cfi_cmdset_0002.c 			     loff_t adr, size_t len)
adr              1292 drivers/mtd/chips/cfi_cmdset_0002.c 	INVALIDATE_CACHED_RANGE(map, chip->start + adr, len);
adr              1296 drivers/mtd/chips/cfi_cmdset_0002.c 			    loff_t adr, size_t len)
adr              1309 drivers/mtd/chips/cfi_cmdset_0002.c 	INVALIDATE_CACHED_RANGE(map, chip->start + adr, len);
adr              1313 drivers/mtd/chips/cfi_cmdset_0002.c 					struct flchip *chip, loff_t adr,
adr              1334 drivers/mtd/chips/cfi_cmdset_0002.c 	adr += chip->start;
adr              1338 drivers/mtd/chips/cfi_cmdset_0002.c 	otp_enter(map, chip, adr, len);
adr              1339 drivers/mtd/chips/cfi_cmdset_0002.c 	map_copy_from(map, buf, adr, len);
adr              1340 drivers/mtd/chips/cfi_cmdset_0002.c 	otp_exit(map, chip, adr, len);
adr              1388 drivers/mtd/chips/cfi_cmdset_0002.c 				     unsigned long adr, map_word datum,
adr              1391 drivers/mtd/chips/cfi_cmdset_0002.c static int do_otp_write(struct map_info *map, struct flchip *chip, loff_t adr,
adr              1396 drivers/mtd/chips/cfi_cmdset_0002.c 		unsigned long bus_ofs = adr & ~(map_bankwidth(map)-1);
adr              1397 drivers/mtd/chips/cfi_cmdset_0002.c 		int gap = adr - bus_ofs;
adr              1413 drivers/mtd/chips/cfi_cmdset_0002.c 		adr += n;
adr              1421 drivers/mtd/chips/cfi_cmdset_0002.c static int do_otp_lock(struct map_info *map, struct flchip *chip, loff_t adr,
adr              1430 drivers/mtd/chips/cfi_cmdset_0002.c 	if ((adr != 0) || (len != grouplen))
adr              1463 drivers/mtd/chips/cfi_cmdset_0002.c 		if (chip_ready(map, chip, adr))
adr              1651 drivers/mtd/chips/cfi_cmdset_0002.c 					  unsigned long adr, map_word datum,
adr              1670 drivers/mtd/chips/cfi_cmdset_0002.c 	map_write(map, datum, adr);
adr              1674 drivers/mtd/chips/cfi_cmdset_0002.c 				adr, map_bankwidth(map),
adr              1699 drivers/mtd/chips/cfi_cmdset_0002.c 		    !chip_good(map, chip, adr, datum)) {
adr              1700 drivers/mtd/chips/cfi_cmdset_0002.c 			xip_enable(map, chip, adr);
adr              1702 drivers/mtd/chips/cfi_cmdset_0002.c 			xip_disable(map, chip, adr);
adr              1707 drivers/mtd/chips/cfi_cmdset_0002.c 		if (chip_good(map, chip, adr, datum)) {
adr              1708 drivers/mtd/chips/cfi_cmdset_0002.c 			if (cfi_check_err_status(map, chip, adr))
adr              1714 drivers/mtd/chips/cfi_cmdset_0002.c 		UDELAY(map, chip, adr, 1);
adr              1722 drivers/mtd/chips/cfi_cmdset_0002.c 					   unsigned long adr, int mode)
adr              1728 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = get_chip(map, chip, adr, mode);
adr              1735 drivers/mtd/chips/cfi_cmdset_0002.c 		otp_enter(map, chip, adr, map_bankwidth(map));
adr              1742 drivers/mtd/chips/cfi_cmdset_0002.c 					   unsigned long adr, int mode)
adr              1745 drivers/mtd/chips/cfi_cmdset_0002.c 		otp_exit(map, chip, adr, map_bankwidth(map));
adr              1749 drivers/mtd/chips/cfi_cmdset_0002.c 	put_chip(map, chip, adr);
adr              1756 drivers/mtd/chips/cfi_cmdset_0002.c 					   unsigned long adr, map_word datum,
adr              1770 drivers/mtd/chips/cfi_cmdset_0002.c 	oldd = map_read(map, adr);
adr              1776 drivers/mtd/chips/cfi_cmdset_0002.c 	XIP_INVAL_CACHED_RANGE(map, adr, map_bankwidth(map));
adr              1778 drivers/mtd/chips/cfi_cmdset_0002.c 	xip_disable(map, chip, adr);
adr              1781 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = do_write_oneword_once(map, chip, adr, datum, mode, cfi);
adr              1792 drivers/mtd/chips/cfi_cmdset_0002.c 	xip_enable(map, chip, adr);
adr              1798 drivers/mtd/chips/cfi_cmdset_0002.c 				     unsigned long adr, map_word datum,
adr              1803 drivers/mtd/chips/cfi_cmdset_0002.c 	adr += chip->start;
adr              1805 drivers/mtd/chips/cfi_cmdset_0002.c 	pr_debug("MTD %s(): WRITE 0x%.8lx(0x%.8lx)\n", __func__, adr,
adr              1808 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = do_write_oneword_start(map, chip, adr, mode);
adr              1812 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = do_write_oneword_retry(map, chip, adr, datum, mode);
adr              1814 drivers/mtd/chips/cfi_cmdset_0002.c 	do_write_oneword_done(map, chip, adr, mode);
adr              1945 drivers/mtd/chips/cfi_cmdset_0002.c 					 struct flchip *chip, unsigned long adr,
adr              1979 drivers/mtd/chips/cfi_cmdset_0002.c 		    !chip_good(map, chip, adr, datum)) {
adr              1981 drivers/mtd/chips/cfi_cmdset_0002.c 			       __func__, adr);
adr              1986 drivers/mtd/chips/cfi_cmdset_0002.c 		if (chip_good(map, chip, adr, datum)) {
adr              1987 drivers/mtd/chips/cfi_cmdset_0002.c 			if (cfi_check_err_status(map, chip, adr))
adr              1993 drivers/mtd/chips/cfi_cmdset_0002.c 		UDELAY(map, chip, adr, 1);
adr              2025 drivers/mtd/chips/cfi_cmdset_0002.c 				    unsigned long adr, const u_char *buf,
adr              2034 drivers/mtd/chips/cfi_cmdset_0002.c 	adr += chip->start;
adr              2035 drivers/mtd/chips/cfi_cmdset_0002.c 	cmd_adr = adr;
adr              2038 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = get_chip(map, chip, adr, FL_WRITING);
adr              2047 drivers/mtd/chips/cfi_cmdset_0002.c 		 __func__, adr, datum.x[0]);
adr              2049 drivers/mtd/chips/cfi_cmdset_0002.c 	XIP_INVAL_CACHED_RANGE(map, adr, len);
adr              2068 drivers/mtd/chips/cfi_cmdset_0002.c 		map_write(map, datum, adr + z);
adr              2075 drivers/mtd/chips/cfi_cmdset_0002.c 	adr += z;
adr              2082 drivers/mtd/chips/cfi_cmdset_0002.c 				adr, map_bankwidth(map),
adr              2085 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = do_write_buffer_wait(map, chip, adr, datum);
adr              2089 drivers/mtd/chips/cfi_cmdset_0002.c 	xip_enable(map, chip, adr);
adr              2093 drivers/mtd/chips/cfi_cmdset_0002.c 	put_chip(map, chip, adr);
adr              2185 drivers/mtd/chips/cfi_cmdset_0002.c 				 unsigned long adr)
adr              2195 drivers/mtd/chips/cfi_cmdset_0002.c 	if (chip->state == FL_READY && chip_ready(map, chip, adr))
adr              2212 drivers/mtd/chips/cfi_cmdset_0002.c 			if (chip_ready(map, chip, adr))
adr              2237 drivers/mtd/chips/cfi_cmdset_0002.c 				  unsigned long adr, map_word datum)
adr              2246 drivers/mtd/chips/cfi_cmdset_0002.c 	adr += chip->start;
adr              2248 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = cfi_amdstd_panic_wait(map, chip, adr);
adr              2253 drivers/mtd/chips/cfi_cmdset_0002.c 			__func__, adr, datum.x[0]);
adr              2261 drivers/mtd/chips/cfi_cmdset_0002.c 	oldd = map_read(map, adr);
adr              2273 drivers/mtd/chips/cfi_cmdset_0002.c 	map_write(map, datum, adr);
adr              2276 drivers/mtd/chips/cfi_cmdset_0002.c 		if (chip_ready(map, chip, adr))
adr              2282 drivers/mtd/chips/cfi_cmdset_0002.c 	if (!chip_good(map, chip, adr, datum) ||
adr              2283 drivers/mtd/chips/cfi_cmdset_0002.c 	    cfi_check_err_status(map, chip, adr)) {
adr              2420 drivers/mtd/chips/cfi_cmdset_0002.c 	unsigned long int adr;
adr              2425 drivers/mtd/chips/cfi_cmdset_0002.c 	adr = cfi->addr_unlock1;
adr              2428 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = get_chip(map, chip, adr, FL_ERASING);
adr              2437 drivers/mtd/chips/cfi_cmdset_0002.c 	XIP_INVAL_CACHED_RANGE(map, adr, map->size);
adr              2439 drivers/mtd/chips/cfi_cmdset_0002.c 	xip_disable(map, chip, adr);
adr              2451 drivers/mtd/chips/cfi_cmdset_0002.c 	chip->in_progress_block_addr = adr;
adr              2455 drivers/mtd/chips/cfi_cmdset_0002.c 				adr, map->size,
adr              2478 drivers/mtd/chips/cfi_cmdset_0002.c 		if (chip_good(map, chip, adr, map_word_ff(map))) {
adr              2479 drivers/mtd/chips/cfi_cmdset_0002.c 			if (cfi_check_err_status(map, chip, adr))
adr              2492 drivers/mtd/chips/cfi_cmdset_0002.c 		UDELAY(map, chip, adr, 1000000/HZ);
adr              2507 drivers/mtd/chips/cfi_cmdset_0002.c 	xip_enable(map, chip, adr);
adr              2509 drivers/mtd/chips/cfi_cmdset_0002.c 	put_chip(map, chip, adr);
adr              2516 drivers/mtd/chips/cfi_cmdset_0002.c static int __xipram do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk)
adr              2524 drivers/mtd/chips/cfi_cmdset_0002.c 	adr += chip->start;
adr              2527 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = get_chip(map, chip, adr, FL_ERASING);
adr              2534 drivers/mtd/chips/cfi_cmdset_0002.c 		 __func__, adr);
adr              2536 drivers/mtd/chips/cfi_cmdset_0002.c 	XIP_INVAL_CACHED_RANGE(map, adr, len);
adr              2538 drivers/mtd/chips/cfi_cmdset_0002.c 	xip_disable(map, chip, adr);
adr              2546 drivers/mtd/chips/cfi_cmdset_0002.c 	map_write(map, cfi->sector_erase_cmd, adr);
adr              2550 drivers/mtd/chips/cfi_cmdset_0002.c 	chip->in_progress_block_addr = adr;
adr              2554 drivers/mtd/chips/cfi_cmdset_0002.c 				adr, len,
adr              2577 drivers/mtd/chips/cfi_cmdset_0002.c 		if (chip_good(map, chip, adr, map_word_ff(map))) {
adr              2578 drivers/mtd/chips/cfi_cmdset_0002.c 			if (cfi_check_err_status(map, chip, adr))
adr              2591 drivers/mtd/chips/cfi_cmdset_0002.c 		UDELAY(map, chip, adr, 1000000/HZ);
adr              2606 drivers/mtd/chips/cfi_cmdset_0002.c 	xip_enable(map, chip, adr);
adr              2608 drivers/mtd/chips/cfi_cmdset_0002.c 	put_chip(map, chip, adr);
adr              2636 drivers/mtd/chips/cfi_cmdset_0002.c 			 unsigned long adr, int len, void *thunk)
adr              2642 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = get_chip(map, chip, adr + chip->start, FL_LOCKING);
adr              2647 drivers/mtd/chips/cfi_cmdset_0002.c 	pr_debug("MTD %s(): LOCK 0x%08lx len %d\n", __func__, adr, len);
adr              2659 drivers/mtd/chips/cfi_cmdset_0002.c 	map_write(map, CMD(0x40), chip->start + adr);
adr              2662 drivers/mtd/chips/cfi_cmdset_0002.c 	put_chip(map, chip, adr + chip->start);
adr              2671 drivers/mtd/chips/cfi_cmdset_0002.c 			   unsigned long adr, int len, void *thunk)
adr              2677 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = get_chip(map, chip, adr + chip->start, FL_UNLOCKING);
adr              2682 drivers/mtd/chips/cfi_cmdset_0002.c 	pr_debug("MTD %s(): LOCK 0x%08lx len %d\n", __func__, adr, len);
adr              2686 drivers/mtd/chips/cfi_cmdset_0002.c 	map_write(map, CMD(0x70), adr);
adr              2689 drivers/mtd/chips/cfi_cmdset_0002.c 	put_chip(map, chip, adr + chip->start);
adr              2713 drivers/mtd/chips/cfi_cmdset_0002.c 	unsigned long adr;
adr              2723 drivers/mtd/chips/cfi_cmdset_0002.c 					unsigned long adr, int len, void *thunk)
adr              2729 drivers/mtd/chips/cfi_cmdset_0002.c 	adr += chip->start;
adr              2731 drivers/mtd/chips/cfi_cmdset_0002.c 	ret = get_chip(map, chip, adr, FL_LOCKING);
adr              2737 drivers/mtd/chips/cfi_cmdset_0002.c 	pr_debug("MTD %s(): XXLOCK 0x%08lx len %d\n", __func__, adr, len);
adr              2749 drivers/mtd/chips/cfi_cmdset_0002.c 		map_write(map, CMD(0xA0), adr);
adr              2750 drivers/mtd/chips/cfi_cmdset_0002.c 		map_write(map, CMD(0x00), adr);
adr              2762 drivers/mtd/chips/cfi_cmdset_0002.c 		ret = !cfi_read_query(map, adr);
adr              2771 drivers/mtd/chips/cfi_cmdset_0002.c 		if (chip_ready(map, chip, adr))
adr              2780 drivers/mtd/chips/cfi_cmdset_0002.c 		UDELAY(map, chip, adr, 1);
adr              2788 drivers/mtd/chips/cfi_cmdset_0002.c 	put_chip(map, chip, adr);
adr              2808 drivers/mtd/chips/cfi_cmdset_0002.c 	unsigned long adr;
adr              2837 drivers/mtd/chips/cfi_cmdset_0002.c 	adr = 0;
adr              2852 drivers/mtd/chips/cfi_cmdset_0002.c 			sect[sectors].adr = adr;
adr              2854 drivers/mtd/chips/cfi_cmdset_0002.c 				map, &cfi->chips[chipnum], adr, 0,
adr              2858 drivers/mtd/chips/cfi_cmdset_0002.c 		adr += size;
adr              2865 drivers/mtd/chips/cfi_cmdset_0002.c 		if (adr >> cfi->chipshift) {
adr              2868 drivers/mtd/chips/cfi_cmdset_0002.c 			adr = 0;
adr              2898 drivers/mtd/chips/cfi_cmdset_0002.c 			do_ppb_xxlock(map, sect[i].chip, sect[i].adr, 0,
adr               124 drivers/mtd/chips/cfi_cmdset_0020.c 		__u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR;
adr               127 drivers/mtd/chips/cfi_cmdset_0020.c 		extp = (struct cfi_pri_intelext*)cfi_read_pri(map, adr, sizeof(*extp), "ST Microelectronics");
adr               248 drivers/mtd/chips/cfi_cmdset_0020.c static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf)
adr               257 drivers/mtd/chips/cfi_cmdset_0020.c 	adr += chip->start;
adr               260 drivers/mtd/chips/cfi_cmdset_0020.c 	cmd_addr = adr & ~(map_bankwidth(map)-1);
adr               362 drivers/mtd/chips/cfi_cmdset_0020.c 	map_copy_from(map, buf, adr, len);
adr               422 drivers/mtd/chips/cfi_cmdset_0020.c 				  unsigned long adr, const u_char *buf, int len)
adr               431 drivers/mtd/chips/cfi_cmdset_0020.c         if (adr & (map_bankwidth(map)-1))
adr               435 drivers/mtd/chips/cfi_cmdset_0020.c         adr += chip->start;
adr               436 drivers/mtd/chips/cfi_cmdset_0020.c 	cmd_adr = adr & ~(wbufsize-1);
adr               529 drivers/mtd/chips/cfi_cmdset_0020.c 		map_write(map, d, adr+z);
adr               563 drivers/mtd/chips/cfi_cmdset_0020.c                         map_write(map, CMD(0x70), adr);
adr               597 drivers/mtd/chips/cfi_cmdset_0020.c 		map_write(map, CMD(0x70), adr);
adr               734 drivers/mtd/chips/cfi_cmdset_0020.c static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr)
adr               743 drivers/mtd/chips/cfi_cmdset_0020.c 	adr += chip->start;
adr               757 drivers/mtd/chips/cfi_cmdset_0020.c 		map_write(map, CMD(0x70), adr);
adr               762 drivers/mtd/chips/cfi_cmdset_0020.c 		status = map_read(map, adr);
adr               792 drivers/mtd/chips/cfi_cmdset_0020.c 	map_write(map, CMD(0x50), adr);
adr               795 drivers/mtd/chips/cfi_cmdset_0020.c 	map_write(map, CMD(0x20), adr);
adr               796 drivers/mtd/chips/cfi_cmdset_0020.c 	map_write(map, CMD(0xD0), adr);
adr               820 drivers/mtd/chips/cfi_cmdset_0020.c 		status = map_read(map, adr);
adr               826 drivers/mtd/chips/cfi_cmdset_0020.c 			map_write(map, CMD(0x70), adr);
adr               828 drivers/mtd/chips/cfi_cmdset_0020.c 			printk(KERN_ERR "waiting for erase to complete timed out. Xstatus = %lx, status = %lx.\n", status.x[0], map_read(map, adr).x[0]);
adr               844 drivers/mtd/chips/cfi_cmdset_0020.c 	map_write(map, CMD(0x70), adr);
adr               846 drivers/mtd/chips/cfi_cmdset_0020.c 	status = map_read(map, adr);
adr               862 drivers/mtd/chips/cfi_cmdset_0020.c 		map_write(map, CMD(0x50), adr);
adr               863 drivers/mtd/chips/cfi_cmdset_0020.c 		map_write(map, CMD(0x70), adr);
adr               877 drivers/mtd/chips/cfi_cmdset_0020.c 				printk(KERN_DEBUG "Chip erase failed at 0x%08lx: status 0x%x. Retrying...\n", adr, chipstatus);
adr               883 drivers/mtd/chips/cfi_cmdset_0020.c 			printk(KERN_DEBUG "Chip erase failed at 0x%08lx: status 0x%x\n", adr, chipstatus);
adr               897 drivers/mtd/chips/cfi_cmdset_0020.c 	unsigned long adr, len;
adr               946 drivers/mtd/chips/cfi_cmdset_0020.c 	adr = instr->addr - (chipnum << cfi->chipshift);
adr               952 drivers/mtd/chips/cfi_cmdset_0020.c 		ret = do_erase_oneblock(map, &cfi->chips[chipnum], adr);
adr               957 drivers/mtd/chips/cfi_cmdset_0020.c 		adr += regions[i].erasesize;
adr               960 drivers/mtd/chips/cfi_cmdset_0020.c 		if (adr % (1<< cfi->chipshift) == (((unsigned long)regions[i].offset + (regions[i].erasesize * regions[i].numblocks)) %( 1<< cfi->chipshift)))
adr               963 drivers/mtd/chips/cfi_cmdset_0020.c 		if (adr >> cfi->chipshift) {
adr               964 drivers/mtd/chips/cfi_cmdset_0020.c 			adr = 0;
adr              1034 drivers/mtd/chips/cfi_cmdset_0020.c static inline int do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr)
adr              1041 drivers/mtd/chips/cfi_cmdset_0020.c 	adr += chip->start;
adr              1055 drivers/mtd/chips/cfi_cmdset_0020.c 		map_write(map, CMD(0x70), adr);
adr              1060 drivers/mtd/chips/cfi_cmdset_0020.c 		status = map_read(map, adr);
adr              1089 drivers/mtd/chips/cfi_cmdset_0020.c 	map_write(map, CMD(0x60), adr);
adr              1090 drivers/mtd/chips/cfi_cmdset_0020.c 	map_write(map, CMD(0x01), adr);
adr              1103 drivers/mtd/chips/cfi_cmdset_0020.c 		status = map_read(map, adr);
adr              1109 drivers/mtd/chips/cfi_cmdset_0020.c 			map_write(map, CMD(0x70), adr);
adr              1111 drivers/mtd/chips/cfi_cmdset_0020.c 			printk(KERN_ERR "waiting for lock to complete timed out. Xstatus = %lx, status = %lx.\n", status.x[0], map_read(map, adr).x[0]);
adr              1134 drivers/mtd/chips/cfi_cmdset_0020.c 	unsigned long adr;
adr              1147 drivers/mtd/chips/cfi_cmdset_0020.c 	adr = ofs - (chipnum << cfi->chipshift);
adr              1153 drivers/mtd/chips/cfi_cmdset_0020.c 		printk("before lock: block status register is %x\n",cfi_read_query(map, adr+(2*ofs_factor)));
adr              1157 drivers/mtd/chips/cfi_cmdset_0020.c 		ret = do_lock_oneblock(map, &cfi->chips[chipnum], adr);
adr              1161 drivers/mtd/chips/cfi_cmdset_0020.c 		printk("after lock: block status register is %x\n",cfi_read_query(map, adr+(2*ofs_factor)));
adr              1168 drivers/mtd/chips/cfi_cmdset_0020.c 		adr += mtd->erasesize;
adr              1171 drivers/mtd/chips/cfi_cmdset_0020.c 		if (adr >> cfi->chipshift) {
adr              1172 drivers/mtd/chips/cfi_cmdset_0020.c 			adr = 0;
adr              1181 drivers/mtd/chips/cfi_cmdset_0020.c static inline int do_unlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr)
adr              1188 drivers/mtd/chips/cfi_cmdset_0020.c 	adr += chip->start;
adr              1202 drivers/mtd/chips/cfi_cmdset_0020.c 		map_write(map, CMD(0x70), adr);
adr              1207 drivers/mtd/chips/cfi_cmdset_0020.c 		status = map_read(map, adr);
adr              1236 drivers/mtd/chips/cfi_cmdset_0020.c 	map_write(map, CMD(0x60), adr);
adr              1237 drivers/mtd/chips/cfi_cmdset_0020.c 	map_write(map, CMD(0xD0), adr);
adr              1250 drivers/mtd/chips/cfi_cmdset_0020.c 		status = map_read(map, adr);
adr              1256 drivers/mtd/chips/cfi_cmdset_0020.c 			map_write(map, CMD(0x70), adr);
adr              1258 drivers/mtd/chips/cfi_cmdset_0020.c 			printk(KERN_ERR "waiting for unlock to complete timed out. Xstatus = %lx, status = %lx.\n", status.x[0], map_read(map, adr).x[0]);
adr              1281 drivers/mtd/chips/cfi_cmdset_0020.c 	unsigned long adr;
adr              1288 drivers/mtd/chips/cfi_cmdset_0020.c 	adr = ofs - (chipnum << cfi->chipshift);
adr              1292 drivers/mtd/chips/cfi_cmdset_0020.c 		unsigned long temp_adr = adr;
adr              1305 drivers/mtd/chips/cfi_cmdset_0020.c 	ret = do_unlock_oneblock(map, &cfi->chips[chipnum], adr);
adr              1309 drivers/mtd/chips/cfi_cmdset_0020.c 	printk("after unlock: block status register is %x\n",cfi_read_query(map, adr+(2*ofs_factor)));
adr               299 drivers/mtd/chips/cfi_util.c __xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* name)
adr               307 drivers/mtd/chips/cfi_util.c 	if (!adr)
adr               310 drivers/mtd/chips/cfi_util.c 	printk(KERN_INFO "%s Extended Query Table at 0x%4.4X\n", name, adr);
adr               325 drivers/mtd/chips/cfi_util.c 			cfi_read_query(map, base+((adr+i)*ofs_factor));
adr               363 drivers/mtd/chips/cfi_util.c 	unsigned long adr;
adr               412 drivers/mtd/chips/cfi_util.c 	adr = ofs - (chipnum << cfi->chipshift);
adr               419 drivers/mtd/chips/cfi_util.c 		ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk);
adr               424 drivers/mtd/chips/cfi_util.c 		adr += size;
adr               431 drivers/mtd/chips/cfi_util.c 		if (adr >> cfi->chipshift) {
adr               432 drivers/mtd/chips/cfi_util.c 			adr = 0;
adr                30 drivers/mtd/chips/fwh_lock.h 	unsigned long adr, int len, void *thunk)
adr                53 drivers/mtd/chips/fwh_lock.h 	adr = (adr & ~0xffffUL) | 0x2;
adr                54 drivers/mtd/chips/fwh_lock.h 	adr += chip->start - 0x400000;
adr                62 drivers/mtd/chips/fwh_lock.h 	ret = get_chip(map, chip, adr, FL_LOCKING);
adr                70 drivers/mtd/chips/fwh_lock.h 	map_write(map, CMD(xxlt->val), adr);
adr                74 drivers/mtd/chips/fwh_lock.h 	put_chip(map, chip, adr);
adr                19 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_read(struct mtd_info *mtd, loff_t adr, size_t len,
adr                28 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_point(struct mtd_info *mtd, loff_t adr, size_t len,
adr                30 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_unpoint(struct mtd_info *mtd, loff_t adr, size_t len);
adr               377 drivers/mtd/lpddr/lpddr_cmds.c 			unsigned long adr, const struct kvec **pvec,
adr               396 drivers/mtd/lpddr/lpddr_cmds.c 	word_gap = (-adr & (map_bankwidth(map)-1));
adr               402 drivers/mtd/lpddr/lpddr_cmds.c 		adr -= word_gap;
adr               443 drivers/mtd/lpddr/lpddr_cmds.c 	send_pfow_command(map, LPDDR_BUFF_PROGRAM, adr, wbufsize, NULL);
adr               448 drivers/mtd/lpddr/lpddr_cmds.c 			map->name, ret, adr);
adr               457 drivers/mtd/lpddr/lpddr_cmds.c static int do_erase_oneblock(struct mtd_info *mtd, loff_t adr)
adr               461 drivers/mtd/lpddr/lpddr_cmds.c 	int chipnum = adr >> lpddr->chipshift;
adr               471 drivers/mtd/lpddr/lpddr_cmds.c 	send_pfow_command(map, LPDDR_BLOCK_ERASE, adr, 0, NULL);
adr               476 drivers/mtd/lpddr/lpddr_cmds.c 			map->name, ret, adr);
adr               484 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_read(struct mtd_info *mtd, loff_t adr, size_t len,
adr               489 drivers/mtd/lpddr/lpddr_cmds.c 	int chipnum = adr >> lpddr->chipshift;
adr               500 drivers/mtd/lpddr/lpddr_cmds.c 	map_copy_from(map, buf, adr, len);
adr               508 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_point(struct mtd_info *mtd, loff_t adr, size_t len,
adr               513 drivers/mtd/lpddr/lpddr_cmds.c 	int chipnum = adr >> lpddr->chipshift;
adr               522 drivers/mtd/lpddr/lpddr_cmds.c 	ofs = adr - (chipnum << lpddr->chipshift);
adr               561 drivers/mtd/lpddr/lpddr_cmds.c static int lpddr_unpoint (struct mtd_info *mtd, loff_t adr, size_t len)
adr               565 drivers/mtd/lpddr/lpddr_cmds.c 	int chipnum = adr >> lpddr->chipshift, err = 0;
adr               569 drivers/mtd/lpddr/lpddr_cmds.c 	ofs = adr - (chipnum << lpddr->chipshift);
adr               689 drivers/mtd/lpddr/lpddr_cmds.c static int do_xxlock(struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk)
adr               694 drivers/mtd/lpddr/lpddr_cmds.c 	int chipnum = adr >> lpddr->chipshift;
adr               705 drivers/mtd/lpddr/lpddr_cmds.c 		send_pfow_command(map, LPDDR_LOCK_BLOCK, adr, adr + len, NULL);
adr               708 drivers/mtd/lpddr/lpddr_cmds.c 		send_pfow_command(map, LPDDR_UNLOCK_BLOCK, adr, adr + len, NULL);
adr                67 drivers/mtd/lpddr/qinfo_probe.c 	unsigned long adr = lpddr_get_qinforec_pos(map, id_str);
adr                73 drivers/mtd/lpddr/qinfo_probe.c 	map_write(map, CMD(adr & ((1 << bits_per_chip) - 1)),
adr                75 drivers/mtd/lpddr/qinfo_probe.c 	map_write(map, CMD(adr >> bits_per_chip),
adr                80 drivers/mtd/maps/dc21285.c static void dc21285_write8(struct map_info *map, const map_word d, unsigned long adr)
adr                84 drivers/mtd/maps/dc21285.c 	*CSR_ROMWRITEREG = adr & 3;
adr                85 drivers/mtd/maps/dc21285.c 	adr &= ~3;
adr                86 drivers/mtd/maps/dc21285.c 	*(uint8_t*)(map->virt + adr) = d.x[0];
adr                89 drivers/mtd/maps/dc21285.c static void dc21285_write16(struct map_info *map, const map_word d, unsigned long adr)
adr                93 drivers/mtd/maps/dc21285.c 	*CSR_ROMWRITEREG = adr & 3;
adr                94 drivers/mtd/maps/dc21285.c 	adr &= ~3;
adr                95 drivers/mtd/maps/dc21285.c 	*(uint16_t*)(map->virt + adr) = d.x[0];
adr                98 drivers/mtd/maps/dc21285.c static void dc21285_write32(struct map_info *map, const map_word d, unsigned long adr)
adr               102 drivers/mtd/maps/dc21285.c 	*(uint32_t*)(map->virt + adr) = d.x[0];
adr               132 drivers/mtd/maps/ixp4xx.c static void ixp4xx_probe_write16(struct map_info *map, map_word d, unsigned long adr)
adr               134 drivers/mtd/maps/ixp4xx.c 	if (!(adr & 1))
adr               135 drivers/mtd/maps/ixp4xx.c 		flash_write16(d.x[0], map->virt + adr);
adr               141 drivers/mtd/maps/ixp4xx.c static void ixp4xx_write16(struct map_info *map, map_word d, unsigned long adr)
adr               143 drivers/mtd/maps/ixp4xx.c 	flash_write16(d.x[0], map->virt + adr);
adr                48 drivers/mtd/maps/lantiq-flash.c ltq_read16(struct map_info *map, unsigned long adr)
adr                54 drivers/mtd/maps/lantiq-flash.c 		adr ^= 2;
adr                56 drivers/mtd/maps/lantiq-flash.c 	temp.x[0] = *(u16 *)(map->virt + adr);
adr                62 drivers/mtd/maps/lantiq-flash.c ltq_write16(struct map_info *map, map_word d, unsigned long adr)
adr                67 drivers/mtd/maps/lantiq-flash.c 		adr ^= 2;
adr                69 drivers/mtd/maps/lantiq-flash.c 	*(u16 *)(map->virt + adr) = d.x[0];
adr               164 drivers/mtd/maps/pcmciamtd.c static void pcmcia_write8_remap(struct map_info *map, map_word d, unsigned long adr)
adr               166 drivers/mtd/maps/pcmciamtd.c 	void __iomem *addr = remap_window(map, adr);
adr               171 drivers/mtd/maps/pcmciamtd.c 	pr_debug("adr = 0x%08lx (%p)  data = 0x%02lx\n", adr, addr, d.x[0]);
adr               176 drivers/mtd/maps/pcmciamtd.c static void pcmcia_write16_remap(struct map_info *map, map_word d, unsigned long adr)
adr               178 drivers/mtd/maps/pcmciamtd.c 	void __iomem *addr = remap_window(map, adr);
adr               182 drivers/mtd/maps/pcmciamtd.c 	pr_debug("adr = 0x%08lx (%p)  data = 0x%04lx\n", adr, addr, d.x[0]);
adr               259 drivers/mtd/maps/pcmciamtd.c static void pcmcia_write8(struct map_info *map, map_word d, unsigned long adr)
adr               267 drivers/mtd/maps/pcmciamtd.c 	      adr, win_base + adr, d.x[0]);
adr               268 drivers/mtd/maps/pcmciamtd.c 	writeb(d.x[0], win_base + adr);
adr               272 drivers/mtd/maps/pcmciamtd.c static void pcmcia_write16(struct map_info *map, map_word d, unsigned long adr)
adr               280 drivers/mtd/maps/pcmciamtd.c 	      adr, win_base + adr, d.x[0]);
adr               281 drivers/mtd/maps/pcmciamtd.c 	writew(d.x[0], win_base + adr);
adr               129 drivers/mtd/maps/sbc_gxx.c static void sbc_gxx_write8(struct map_info *map, map_word d, unsigned long adr)
adr               132 drivers/mtd/maps/sbc_gxx.c 	sbc_gxx_page(map, adr);
adr               133 drivers/mtd/maps/sbc_gxx.c 	writeb(d.x[0], iomapadr + (adr & WINDOW_MASK));
adr               171 drivers/mtd/nand/raw/cs553x_nand.c static int __init cs553x_init_one(int cs, int mmio, unsigned long adr)
adr               178 drivers/mtd/nand/raw/cs553x_nand.c 		  cs, mmio ? "MM" : "P", adr);
adr               198 drivers/mtd/nand/raw/cs553x_nand.c 	this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = ioremap(adr, 4096);
adr               200 drivers/mtd/nand/raw/cs553x_nand.c 		pr_warn("ioremap cs553x NAND @0x%08lx failed\n", adr);
adr              1321 drivers/net/ethernet/amd/nmclan_cs.c static void BuildLAF(int *ladrf, int *adr)
adr              1332 drivers/net/ethernet/amd/nmclan_cs.c       updateCRC(CRC, (adr[byte] >> i) & 1);
adr              1343 drivers/net/ethernet/amd/nmclan_cs.c     printk(KERN_DEBUG "    adr =%pM\n", adr);
adr              1420 drivers/net/ethernet/amd/nmclan_cs.c   int adr[ETH_ALEN] = {0}; /* Ethernet address */
adr              1442 drivers/net/ethernet/amd/nmclan_cs.c       memcpy(adr, ha->addr, ETH_ALEN);
adr              1443 drivers/net/ethernet/amd/nmclan_cs.c       BuildLAF(lp->multicast_ladrf, adr);
adr                14 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define CRA(blk,sub,adr) ((((blk) & 0x7) << 13) | (((sub) & 0xf) << 9) | (((adr) & 0xff) << 1))
adr               522 drivers/net/ethernet/freescale/fman/fman_dtsec.c static void set_mac_address(struct dtsec_regs __iomem *regs, u8 *adr)
adr               526 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = (u32)((adr[5] << 24) |
adr               527 drivers/net/ethernet/freescale/fman/fman_dtsec.c 		    (adr[4] << 16) | (adr[3] << 8) | adr[2]);
adr               530 drivers/net/ethernet/freescale/fman/fman_dtsec.c 	tmp = (u32)((adr[1] << 24) | (adr[0] << 16));
adr               356 drivers/net/ethernet/freescale/fman/fman_memac.c static void add_addr_in_paddr(struct memac_regs __iomem *regs, u8 *adr,
adr               361 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp0 = (u32)(adr[0] | adr[1] << 8 | adr[2] << 16 | adr[3] << 24);
adr               362 drivers/net/ethernet/freescale/fman/fman_memac.c 	tmp1 = (u32)(adr[4] | adr[5] << 8);
adr               224 drivers/net/ethernet/freescale/fman/fman_tgec.c static void set_mac_address(struct tgec_regs __iomem *regs, u8 *adr)
adr               228 drivers/net/ethernet/freescale/fman/fman_tgec.c 	tmp0 = (u32)(adr[0] | adr[1] << 8 | adr[2] << 16 | adr[3] << 24);
adr               229 drivers/net/ethernet/freescale/fman/fman_tgec.c 	tmp1 = (u32)(adr[4] | adr[5] << 8);
adr               113 drivers/net/ethernet/ibm/ehea/ehea.h void ehea_dump(void *adr, int len, char *msg);
adr               123 drivers/net/ethernet/ibm/ehea/ehea_main.c void ehea_dump(void *adr, int len, char *msg)
adr               126 drivers/net/ethernet/ibm/ehea/ehea_main.c 	unsigned char *deb = adr;
adr               100 drivers/net/ethernet/xilinx/xilinx_emaclite.c #define BUFFER_ALIGN(adr) ((ALIGNMENT - ((u32)adr)) % ALIGNMENT)
adr               170 drivers/nfc/pn544/pn544.c 		u8 adr[2];
adr               248 drivers/nfc/pn544/pn544.c 		param[1] = p->adr[0];
adr               249 drivers/nfc/pn544/pn544.c 		param[2] = p->adr[1];
adr               816 drivers/nfc/pn544/pn544.c 		u8 adr[2];
adr               227 drivers/pci/hotplug/acpiphp_glue.c 	unsigned long long adr;
adr               233 drivers/pci/hotplug/acpiphp_glue.c 	status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr);
adr               243 drivers/pci/hotplug/acpiphp_glue.c 	device = (adr >> 16) & 0xffff;
adr               244 drivers/pci/hotplug/acpiphp_glue.c 	function = adr & 0xffff;
adr               199 drivers/pinctrl/sirf/pinctrl-atlas7.c #define PADCONF(pad, t, mr, pr, dsr, adr, mb, pb, dsb, adb)	\
adr               206 drivers/pinctrl/sirf/pinctrl-atlas7.c 		.ad_ctrl_reg = adr,				\
adr                34 drivers/rtc/rtc-tx4939.c 	__u32 adr;
adr                75 drivers/rtc/rtc-tx4939.c 	__raw_writel(0, &rtcreg->adr);
adr               101 drivers/rtc/rtc-tx4939.c 	__raw_writel(2, &rtcreg->adr);
adr               127 drivers/rtc/rtc-tx4939.c 	__raw_writel(0, &rtcreg->adr);
adr               153 drivers/rtc/rtc-tx4939.c 	__raw_writel(2, &rtcreg->adr);
adr               212 drivers/rtc/rtc-tx4939.c 		__raw_writel(pos++, &rtcreg->adr);
adr               228 drivers/rtc/rtc-tx4939.c 		__raw_writel(pos++, &rtcreg->adr);
adr               102 drivers/scsi/atari_scsi.c static inline void SCSI_DMA_SETADR(unsigned long adr)
adr               104 drivers/scsi/atari_scsi.c 	st_dma.dma_lo = (unsigned char)adr;
adr               106 drivers/scsi/atari_scsi.c 	adr >>= 8;
adr               107 drivers/scsi/atari_scsi.c 	st_dma.dma_md = (unsigned char)adr;
adr               109 drivers/scsi/atari_scsi.c 	adr >>= 8;
adr               110 drivers/scsi/atari_scsi.c 	st_dma.dma_hi = (unsigned char)adr;
adr               116 drivers/scsi/atari_scsi.c 	unsigned long adr;
adr               117 drivers/scsi/atari_scsi.c 	adr = st_dma.dma_lo;
adr               119 drivers/scsi/atari_scsi.c 	adr |= (st_dma.dma_md & 0xff) << 8;
adr               121 drivers/scsi/atari_scsi.c 	adr |= (st_dma.dma_hi & 0xff) << 16;
adr               123 drivers/scsi/atari_scsi.c 	return adr;
adr               968 drivers/soc/mediatek/mtk-pmic-wrap.c 	int (*pwrap_read)(struct pmic_wrapper *wrp, u32 adr, u32 *rdata);
adr               969 drivers/soc/mediatek/mtk-pmic-wrap.c 	int (*pwrap_write)(struct pmic_wrapper *wrp, u32 adr, u32 wdata);
adr              1066 drivers/soc/mediatek/mtk-pmic-wrap.c static int pwrap_read16(struct pmic_wrapper *wrp, u32 adr, u32 *rdata)
adr              1076 drivers/soc/mediatek/mtk-pmic-wrap.c 	pwrap_writel(wrp, (adr >> 1) << 16, PWRAP_WACS2_CMD);
adr              1089 drivers/soc/mediatek/mtk-pmic-wrap.c static int pwrap_read32(struct pmic_wrapper *wrp, u32 adr, u32 *rdata)
adr              1101 drivers/soc/mediatek/mtk-pmic-wrap.c 		pwrap_writel(wrp, ((msb << 30) | (adr << 16)),
adr              1117 drivers/soc/mediatek/mtk-pmic-wrap.c static int pwrap_read(struct pmic_wrapper *wrp, u32 adr, u32 *rdata)
adr              1119 drivers/soc/mediatek/mtk-pmic-wrap.c 	return wrp->slave->pwrap_read(wrp, adr, rdata);
adr              1122 drivers/soc/mediatek/mtk-pmic-wrap.c static int pwrap_write16(struct pmic_wrapper *wrp, u32 adr, u32 wdata)
adr              1132 drivers/soc/mediatek/mtk-pmic-wrap.c 	pwrap_writel(wrp, (1 << 31) | ((adr >> 1) << 16) | wdata,
adr              1138 drivers/soc/mediatek/mtk-pmic-wrap.c static int pwrap_write32(struct pmic_wrapper *wrp, u32 adr, u32 wdata)
adr              1149 drivers/soc/mediatek/mtk-pmic-wrap.c 		pwrap_writel(wrp, (1 << 31) | (msb << 30) | (adr << 16) |
adr              1161 drivers/soc/mediatek/mtk-pmic-wrap.c 			pwrap_read(wrp, adr, &rdata);
adr              1167 drivers/soc/mediatek/mtk-pmic-wrap.c static int pwrap_write(struct pmic_wrapper *wrp, u32 adr, u32 wdata)
adr              1169 drivers/soc/mediatek/mtk-pmic-wrap.c 	return wrp->slave->pwrap_write(wrp, adr, wdata);
adr              1172 drivers/soc/mediatek/mtk-pmic-wrap.c static int pwrap_regmap_read(void *context, u32 adr, u32 *rdata)
adr              1174 drivers/soc/mediatek/mtk-pmic-wrap.c 	return pwrap_read(context, adr, rdata);
adr              1177 drivers/soc/mediatek/mtk-pmic-wrap.c static int pwrap_regmap_write(void *context, u32 adr, u32 wdata)
adr              1179 drivers/soc/mediatek/mtk-pmic-wrap.c 	return pwrap_write(context, adr, wdata);
adr               170 drivers/soundwire/intel_init.c 	u64 adr;
adr               172 drivers/soundwire/intel_init.c 	status = acpi_evaluate_integer(handle, METHOD_NAME__ADR, NULL, &adr);
adr               190 drivers/soundwire/intel_init.c 	if ((adr & GENMASK(31, 28)) >> 28 != SDW_LINK_TYPE)
adr               616 drivers/staging/isdn/gigaset/capi.c 		iif->hcmsg.adr.adrPLCI, iif->hcmsg.CIPValue,
adr              1367 drivers/staging/isdn/gigaset/capi.c 	cmsg->adr.adrPLCI |= (bcs->channel + 1) << 8;
adr              1640 drivers/staging/isdn/gigaset/capi.c 	channel = (cmsg->adr.adrPLCI >> 8) & 0xff;
adr              1643 drivers/staging/isdn/gigaset/capi.c 			   "CONNECT_RESP", "PLCI", cmsg->adr.adrPLCI);
adr              1809 drivers/staging/isdn/gigaset/capi.c 	channel = (cmsg->adr.adrPLCI >> 8) & 0xff;
adr              1812 drivers/staging/isdn/gigaset/capi.c 			   "CONNECT_B3_REQ", "PLCI", cmsg->adr.adrPLCI);
adr              1822 drivers/staging/isdn/gigaset/capi.c 	cmsg->adr.adrNCCI |= 1 << 16;
adr              1858 drivers/staging/isdn/gigaset/capi.c 	channel = (cmsg->adr.adrNCCI >> 8) & 0xff;
adr              1860 drivers/staging/isdn/gigaset/capi.c 	    ((cmsg->adr.adrNCCI >> 16) & 0xffff) != 1) {
adr              1862 drivers/staging/isdn/gigaset/capi.c 			   "CONNECT_B3_RESP", "NCCI", cmsg->adr.adrNCCI);
adr              1892 drivers/staging/isdn/gigaset/capi.c 			 ap->nextMessageNumber++, cmsg->adr.adrNCCI);
adr              1928 drivers/staging/isdn/gigaset/capi.c 	channel = (cmsg->adr.adrPLCI >> 8) & 0xff;
adr              1931 drivers/staging/isdn/gigaset/capi.c 			   "DISCONNECT_REQ", "PLCI", cmsg->adr.adrPLCI);
adr              1971 drivers/staging/isdn/gigaset/capi.c 				 cmsg->adr.adrPLCI | (1 << 16));
adr              2026 drivers/staging/isdn/gigaset/capi.c 	channel = (cmsg->adr.adrNCCI >> 8) & 0xff;
adr              2028 drivers/staging/isdn/gigaset/capi.c 	    ((cmsg->adr.adrNCCI >> 16) & 0xffff) != 1) {
adr              2030 drivers/staging/isdn/gigaset/capi.c 			   "DISCONNECT_B3_REQ", "NCCI", cmsg->adr.adrNCCI);
adr               259 drivers/staging/wilc1000/wilc_sdio.c static int wilc_sdio_set_func0_csa_address(struct wilc *wilc, u32 adr)
adr               272 drivers/staging/wilc1000/wilc_sdio.c 	cmd.data = (u8)adr;
adr               280 drivers/staging/wilc1000/wilc_sdio.c 	cmd.data = (u8)(adr >> 8);
adr               288 drivers/staging/wilc1000/wilc_sdio.c 	cmd.data = (u8)(adr >> 16);
adr               282 drivers/staging/wilc1000/wilc_spi.c static int spi_cmd_complete(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz,
adr               299 drivers/staging/wilc1000/wilc_spi.c 		wb[1] = (u8)(adr >> 16);
adr               300 drivers/staging/wilc1000/wilc_spi.c 		wb[2] = (u8)(adr >> 8);
adr               301 drivers/staging/wilc1000/wilc_spi.c 		wb[3] = (u8)adr;
adr               306 drivers/staging/wilc1000/wilc_spi.c 		wb[1] = (u8)(adr >> 8);
adr               309 drivers/staging/wilc1000/wilc_spi.c 		wb[2] = (u8)adr;
adr               337 drivers/staging/wilc1000/wilc_spi.c 		wb[1] = (u8)(adr >> 16);
adr               338 drivers/staging/wilc1000/wilc_spi.c 		wb[2] = (u8)(adr >> 8);
adr               339 drivers/staging/wilc1000/wilc_spi.c 		wb[3] = (u8)adr;
adr               347 drivers/staging/wilc1000/wilc_spi.c 		wb[1] = (u8)(adr >> 16);
adr               348 drivers/staging/wilc1000/wilc_spi.c 		wb[2] = (u8)(adr >> 8);
adr               349 drivers/staging/wilc1000/wilc_spi.c 		wb[3] = (u8)adr;
adr               357 drivers/staging/wilc1000/wilc_spi.c 		wb[1] = (u8)(adr >> 8);
adr               360 drivers/staging/wilc1000/wilc_spi.c 		wb[2] = (u8)(adr);
adr               369 drivers/staging/wilc1000/wilc_spi.c 		wb[1] = (u8)(adr >> 16);
adr               370 drivers/staging/wilc1000/wilc_spi.c 		wb[2] = (u8)(adr >> 8);
adr               371 drivers/staging/wilc1000/wilc_spi.c 		wb[3] = (u8)(adr);
adr               685 drivers/staging/wilc1000/wilc_spi.c static int spi_internal_write(struct wilc *wilc, u32 adr, u32 dat)
adr               691 drivers/staging/wilc1000/wilc_spi.c 	result = spi_cmd_complete(wilc, CMD_INTERNAL_WRITE, adr, (u8 *)&dat, 4,
adr               699 drivers/staging/wilc1000/wilc_spi.c static int spi_internal_read(struct wilc *wilc, u32 adr, u32 *data)
adr               704 drivers/staging/wilc1000/wilc_spi.c 	result = spi_cmd_complete(wilc, CMD_INTERNAL_READ, adr, (u8 *)data, 4,
adr               281 drivers/usb/gadget/udc/pxa27x_udc.h #define PXA_EP_IN_BULK(i, adr, c, f, a)		PXA_EP_BULK(i, adr, 1, c, f, a)
adr               282 drivers/usb/gadget/udc/pxa27x_udc.h #define PXA_EP_OUT_BULK(i, adr, c, f, a)	PXA_EP_BULK(i, adr, 0, c, f, a)
adr               283 drivers/usb/gadget/udc/pxa27x_udc.h #define PXA_EP_IN_ISO(i, adr, c, f, a)		PXA_EP_ISO(i, adr, 1, c, f, a)
adr               284 drivers/usb/gadget/udc/pxa27x_udc.h #define PXA_EP_OUT_ISO(i, adr, c, f, a)		PXA_EP_ISO(i, adr, 0, c, f, a)
adr               285 drivers/usb/gadget/udc/pxa27x_udc.h #define PXA_EP_IN_INT(i, adr, c, f, a)		PXA_EP_INT(i, adr, 1, c, f, a)
adr              1276 drivers/usb/misc/sisusbvga/sisusb.c int sisusb_writeb(struct sisusb_usb_data *sisusb, u32 adr, u8 data)
adr              1278 drivers/usb/misc/sisusbvga/sisusb.c 	return sisusb_write_memio_byte(sisusb, SISUSB_TYPE_MEM, adr, data);
adr              1281 drivers/usb/misc/sisusbvga/sisusb.c int sisusb_readb(struct sisusb_usb_data *sisusb, u32 adr, u8 *data)
adr              1283 drivers/usb/misc/sisusbvga/sisusb.c 	return sisusb_read_memio_byte(sisusb, SISUSB_TYPE_MEM, adr, data);
adr               829 drivers/usb/misc/sisusbvga/sisusb_init.h int sisusb_writeb(struct sisusb_usb_data *sisusb, u32 adr, u8 data);
adr               830 drivers/usb/misc/sisusbvga/sisusb_init.h int sisusb_readb(struct sisusb_usb_data *sisusb, u32 adr, u8 * data);
adr               127 drivers/video/fbdev/cg14.c 	u16 adr;	/* Address Registers */
adr                89 include/linux/isdn/capiutil.h 	} adr;
adr               202 include/linux/isdn/capiutil.h 					    __u32 adr,
adr               205 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x82, 0x80, Messagenumber, adr);
adr               210 include/linux/isdn/capiutil.h 					  __u32 adr,
adr               214 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x80, 0x80, Messagenumber, adr);
adr               220 include/linux/isdn/capiutil.h 				      __u32 adr,
adr               227 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x08, 0x80, Messagenumber, adr);
adr               236 include/linux/isdn/capiutil.h 					__u32 adr,
adr               243 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x05, 0x80, Messagenumber, adr);
adr               252 include/linux/isdn/capiutil.h 				       __u32 adr,
adr               258 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x01, 0x80, Messagenumber, adr);
adr               266 include/linux/isdn/capiutil.h 					 __u32 adr,
adr               287 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x02, 0x80, Messagenumber, adr);
adr               309 include/linux/isdn/capiutil.h 					 __u32 adr,
adr               316 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x86, 0x80, Messagenumber, adr);
adr               324 include/linux/isdn/capiutil.h 					    __u32 adr,
adr               331 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x04, 0x80, Messagenumber, adr);
adr               339 include/linux/isdn/capiutil.h 					       __u32 adr,
adr               343 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x84, 0x80, Messagenumber, adr);
adr               348 include/linux/isdn/capiutil.h 					      __u32 adr,
adr               355 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0xff, 0x80, Messagenumber, adr);
adr               363 include/linux/isdn/capiutil.h 					  __u32 adr,
adr               367 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x87, 0x80, Messagenumber, adr);
adr               372 include/linux/isdn/capiutil.h 						   __u32 adr,
adr               381 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x41, 0x80, Messagenumber, adr);
adr               391 include/linux/isdn/capiutil.h 					  __u32 adr,
adr               407 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x02, 0x83, Messagenumber, adr);
adr               425 include/linux/isdn/capiutil.h 						 __u32 adr)
adr               428 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x03, 0x83, Messagenumber, adr);
adr               432 include/linux/isdn/capiutil.h 						    __u32 adr)
adr               435 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x83, 0x83, Messagenumber, adr);
adr               439 include/linux/isdn/capiutil.h 					     __u32 adr,
adr               443 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x82, 0x83, Messagenumber, adr);
adr               449 include/linux/isdn/capiutil.h 							__u32 adr)
adr               452 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x88, 0x83, Messagenumber, adr);
adr               456 include/linux/isdn/capiutil.h 					  __u32 adr,
adr               460 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x86, 0x83, Messagenumber, adr);
adr               465 include/linux/isdn/capiutil.h 						__u32 adr)
adr               468 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x84, 0x83, Messagenumber, adr);
adr               472 include/linux/isdn/capiutil.h 					     __u32 adr)
adr               475 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x04, 0x83, Messagenumber, adr);
adr               479 include/linux/isdn/capiutil.h 					   __u32 adr,
adr               483 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x80, 0x83, Messagenumber, adr);
adr               488 include/linux/isdn/capiutil.h 				       __u32 adr)
adr               491 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x08, 0x83, Messagenumber, adr);
adr               495 include/linux/isdn/capiutil.h 					       __u32 adr,
adr               502 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0xff, 0x83, Messagenumber, adr);
adr               510 include/linux/isdn/capiutil.h 					   __u32 adr)
adr               513 include/linux/isdn/capiutil.h 	capi_cmsg_header(cmsg, ApplId, 0x87, 0x83, Messagenumber, adr);
adr               452 include/linux/mISDNif.h 	struct sockaddr_mISDN	adr;
adr                21 include/linux/mfd/core.h 	const unsigned long long	adr;
adr               347 include/linux/mtd/cfi.h struct cfi_extquery *cfi_read_pri(struct map_info *map, uint16_t adr, uint16_t size,
adr               380 include/linux/mtd/cfi.h 			      unsigned long adr, int len, void *thunk);
adr               103 include/linux/mtd/doc2000.h #define ReadDOC_(adr, reg)      readb((void __iomem *)(adr) + (reg))
adr               104 include/linux/mtd/doc2000.h #define WriteDOC_(d, adr, reg)  writeb(d, (void __iomem *)(adr) + (reg))
adr               114 include/linux/mtd/doc2000.h #define ReadDOC(adr, reg)      ReadDOC_(adr,DoC_##reg)
adr               115 include/linux/mtd/doc2000.h #define WriteDOC(d, adr, reg)  WriteDOC_(d,adr,DoC_##reg)
adr               101 include/linux/mtd/pfow.h 				unsigned long cmd_code, unsigned long adr,
adr               107 include/linux/mtd/pfow.h 	map_write(map, CMD(adr & ((1<<bits_per_chip) - 1)),
adr               109 include/linux/mtd/pfow.h 	map_write(map, CMD(adr>>bits_per_chip),
adr                15 include/linux/ts-nbus.h extern int ts_nbus_read(struct ts_nbus *ts_nbus, u8 adr, u16 *val);
adr                16 include/linux/ts-nbus.h extern int ts_nbus_write(struct ts_nbus *ts_nbus, u8 adr, u16 val);
adr                22 include/media/drv-intf/saa7146.h #define saa7146_write(sxy,adr,dat)    writel((dat),(sxy->mem+(adr)))
adr                23 include/media/drv-intf/saa7146.h #define saa7146_read(sxy,adr)         readl(sxy->mem+(adr))
adr               103 sound/soc/sh/hac.c 	unsigned short adr;
adr               120 sound/soc/sh/hac.c 		adr = ((HACREG(HACCSAR) & CSAR_MASK) >> CSAR_SHIFT);
adr               125 sound/soc/sh/hac.c 		if (r == adr)