this             1434 arch/alpha/kernel/setup.c alpha_panic_event(struct notifier_block *this, unsigned long event, void *ptr)
this               47 arch/arc/include/asm/tlb-mmu1.h ;  Inefficient due to two-register paradigm of this miss handler
this               81 arch/arm/mach-ixp4xx/ixdp425-setup.c ixdp425_flash_nand_cmd_ctrl(struct nand_chip *this, int cmd, unsigned int ctrl)
this               83 arch/arm/mach-ixp4xx/ixdp425-setup.c 	int offset = (int)nand_get_controller_data(this);
this               94 arch/arm/mach-ixp4xx/ixdp425-setup.c 		nand_set_controller_data(this, (void *)offset);
this               98 arch/arm/mach-ixp4xx/ixdp425-setup.c 		writeb(cmd, this->legacy.IO_ADDR_W + offset);
this               20 arch/arm/mach-omap1/board-nand.c void omap1_nand_cmd_ctl(struct nand_chip *this, int cmd, unsigned int ctrl)
this               31 arch/arm/mach-omap1/board-nand.c 	writeb(cmd, this->legacy.IO_ADDR_W + mask);
this               85 arch/arm/mach-omap1/common.h extern void omap1_nand_cmd_ctl(struct nand_chip *this, int cmd,
this              133 arch/arm/mach-orion5x/ts78xx-setup.c static void ts78xx_ts_nand_cmd_ctrl(struct nand_chip *this, int cmd,
this              147 arch/arm/mach-orion5x/ts78xx-setup.c 		writeb(cmd, this->legacy.IO_ADDR_W);
this              567 arch/arm/mach-pxa/balloon3.c static void balloon3_nand_cmd_ctl(struct nand_chip *this, int cmd,
this              593 arch/arm/mach-pxa/balloon3.c 		writeb(cmd, this->legacy.IO_ADDR_W);
this              596 arch/arm/mach-pxa/balloon3.c static void balloon3_nand_select_chip(struct nand_chip *this, int chip)
this              612 arch/arm/mach-pxa/balloon3.c static int balloon3_nand_dev_ready(struct nand_chip *this)
this              285 arch/arm/mach-pxa/em-x270.c static void em_x270_nand_cmd_ctl(struct nand_chip *this, int dat,
this              288 arch/arm/mach-pxa/em-x270.c 	unsigned long nandaddr = (unsigned long)this->legacy.IO_ADDR_W;
this              308 arch/arm/mach-pxa/em-x270.c 	this->legacy.IO_ADDR_W = (void __iomem *)nandaddr;
this              310 arch/arm/mach-pxa/em-x270.c 		writel(dat, this->legacy.IO_ADDR_W);
this              316 arch/arm/mach-pxa/em-x270.c static int em_x270_nand_device_ready(struct nand_chip *this)
this              245 arch/arm/mach-pxa/palmtx.c static void palmtx_nand_cmd_ctl(struct nand_chip *this, int cmd,
this              248 arch/arm/mach-pxa/palmtx.c 	char __iomem *nandaddr = this->legacy.IO_ADDR_W;
this             2134 arch/ia64/kernel/perfmon.c 	struct qstr this = { .name = "" };
this             2152 arch/ia64/kernel/perfmon.c 	path.dentry = d_alloc(pfmfs_mnt->mnt_root, &this);
this                8 arch/m68k/fpsp040/fpsp.h |       For details on the license for this file, please see the
this                9 arch/m68k/fpsp040/fpsp.h |       file, README, in this same directory.
this               24 arch/m68k/fpsp040/fpsp.h |	After initialization, the stack looks like this:
this              174 arch/m68k/fpsp040/fpsp.h |					;on packed move outs.  NOTE: this
this              306 arch/m68k/fpsp040/fpsp.h |				this can only be used if in a data register
this             14840 arch/m68k/ifpsp060/src/fpsp.S # if the precision is extended, this result could not have come from an
this             15293 arch/m68k/ifpsp060/src/fpsp.S # if the precision is extended, this result could not have come from an
this             11271 arch/m68k/ifpsp060/src/pfpsp.S # if the precision is extended, this result could not have come from an
this             11724 arch/m68k/ifpsp060/src/pfpsp.S # if the precision is extended, this result could not have come from an
this               71 arch/m68k/math-emu/fp_decode.h | this separates the conditional instr
this               83 arch/m68k/math-emu/fp_decode.h | this separates most move instr
this              188 arch/mips/alchemy/devboards/db1200.c static void au1200_nand_cmd_ctrl(struct nand_chip *this, int cmd,
this              191 arch/mips/alchemy/devboards/db1200.c 	unsigned long ioaddr = (unsigned long)this->legacy.IO_ADDR_W;
this              203 arch/mips/alchemy/devboards/db1200.c 	this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = (void __iomem *)ioaddr;
this              205 arch/mips/alchemy/devboards/db1200.c 		__raw_writeb(cmd, this->legacy.IO_ADDR_W);
this              210 arch/mips/alchemy/devboards/db1200.c static int au1200_nand_device_ready(struct nand_chip *this)
this              153 arch/mips/alchemy/devboards/db1300.c static void au1300_nand_cmd_ctrl(struct nand_chip *this, int cmd,
this              156 arch/mips/alchemy/devboards/db1300.c 	unsigned long ioaddr = (unsigned long)this->legacy.IO_ADDR_W;
this              168 arch/mips/alchemy/devboards/db1300.c 	this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = (void __iomem *)ioaddr;
this              170 arch/mips/alchemy/devboards/db1300.c 		__raw_writeb(cmd, this->legacy.IO_ADDR_W);
this              175 arch/mips/alchemy/devboards/db1300.c static int au1300_nand_device_ready(struct nand_chip *this)
this              130 arch/mips/alchemy/devboards/db1550.c static void au1550_nand_cmd_ctrl(struct nand_chip *this, int cmd,
this              133 arch/mips/alchemy/devboards/db1550.c 	unsigned long ioaddr = (unsigned long)this->legacy.IO_ADDR_W;
this              145 arch/mips/alchemy/devboards/db1550.c 	this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = (void __iomem *)ioaddr;
this              147 arch/mips/alchemy/devboards/db1550.c 		__raw_writeb(cmd, this->legacy.IO_ADDR_W);
this              152 arch/mips/alchemy/devboards/db1550.c static int au1550_nand_device_ready(struct nand_chip *this)
this               51 arch/mips/include/asm/sgialib.h extern pcomponent *ArcGetPeer(pcomponent *this);
this               54 arch/mips/include/asm/sgialib.h extern pcomponent *ArcGetChild(pcomponent *this);
this              670 arch/mips/kernel/pm-cps.c static int cps_pm_power_notifier(struct notifier_block *this,
this               78 arch/mips/lasat/setup.c static int lasat_panic_display(struct notifier_block *this,
this               90 arch/mips/lasat/setup.c static int lasat_panic_prom_monitor(struct notifier_block *this,
this              167 arch/mips/pnx833x/common/platform.c pnx833x_flash_nand_cmd_ctrl(struct nand_chip *this, int cmd, unsigned int ctrl)
this              169 arch/mips/pnx833x/common/platform.c 	unsigned long nandaddr = (unsigned long)this->legacy.IO_ADDR_W;
this              166 arch/mips/sgi-ip22/ip22-reset.c static int panic_event(struct notifier_block *this, unsigned long event,
this              111 arch/mips/sgi-ip32/ip32-reset.c static int panic_event(struct notifier_block *this, unsigned long event,
this              331 arch/mips/txx9/generic/setup_tx4939.c static int tx4939_netdev_event(struct notifier_block *this,
this               86 arch/parisc/kernel/pdc_chassis.c static int pdc_chassis_panic_event(struct notifier_block *this,
this              106 arch/parisc/kernel/pdc_chassis.c static int pdc_chassis_reboot_event(struct notifier_block *this,
this               10 arch/parisc/math-emu/cnv_float.h     PA header file -- do not include this header file for non-PA builds.
this                9 arch/parisc/math-emu/dbl_float.h     PA header file -- do not include this header file for non-PA builds.
this               26 arch/parisc/math-emu/float.h     PA header file -- do not include this header file for non-PA builds.
this               10 arch/parisc/math-emu/fpbits.h     PA header file -- do not include this header file for non-PA builds.
this               22 arch/parisc/math-emu/fpu.h     PA header file -- do not include this header file for non-PA builds.
this               10 arch/parisc/math-emu/hppa.h     PA header file -- do not include this header file for non-PA builds.
this               10 arch/parisc/math-emu/sgl_float.h     PA header file -- do not include this header file for non-PA builds.
this              694 arch/powerpc/kernel/setup-common.c static int ppc_panic_event(struct notifier_block *this,
this             1373 arch/powerpc/kvm/mpic.c 			 struct kvm_io_device *this,
this             1376 arch/powerpc/kvm/mpic.c 	struct openpic *opp = container_of(this, struct openpic, mmio);
this             1415 arch/powerpc/kvm/mpic.c 			  struct kvm_io_device *this,
this             1418 arch/powerpc/kvm/mpic.c 	struct openpic *opp = container_of(this, struct openpic, mmio);
this               21 arch/powerpc/mm/nohash/book3e_hugetlbpage.c 	int this, next;
this               24 arch/powerpc/mm/nohash/book3e_hugetlbpage.c 	this = tcd->esel_next;
this               26 arch/powerpc/mm/nohash/book3e_hugetlbpage.c 	next = this + 1;
this               31 arch/powerpc/mm/nohash/book3e_hugetlbpage.c 	return this;
this               82 arch/powerpc/platforms/85xx/mpc85xx_cds.c static int mpc85xx_cds_restart(struct notifier_block *this,
this              158 arch/powerpc/sysdev/fsl_soc.c static int fsl_rstcr_restart(struct notifier_block *this,
this              110 arch/s390/include/asm/nospec-insn.h 	# Be very careful when adding instructions to this macro!
this              408 arch/s390/mm/cmm.c static int cmm_power_event(struct notifier_block *this,
this              737 arch/um/drivers/net_kern.c static int uml_inetaddr_event(struct notifier_block *this, unsigned long event,
this             1638 arch/um/drivers/vector_kern.c 	struct notifier_block *this,
this                6 arch/x86/boot/code16gcc.h # This is done this way instead via asm() to make sure gcc does not reorder
this                9 arch/x86/boot/code16gcc.h # gcc 4.9+ has a real -m16 option so we can drop this hack long term.
this              368 arch/x86/events/amd/uncore.c amd_uncore_find_online_sibling(struct amd_uncore *this,
this              380 arch/x86/events/amd/uncore.c 		if (this == that)
this              383 arch/x86/events/amd/uncore.c 		if (this->id == that->id) {
this              384 arch/x86/events/amd/uncore.c 			hlist_add_head(&this->node, &uncore_unused_list);
this              385 arch/x86/events/amd/uncore.c 			this = that;
this              390 arch/x86/events/amd/uncore.c 	this->refcnt++;
this              391 arch/x86/events/amd/uncore.c 	return this;
this              456 arch/x86/events/amd/uncore.c 	struct amd_uncore *this = *per_cpu_ptr(uncores, cpu);
this              458 arch/x86/events/amd/uncore.c 	if (this->cpu != cpu)
this              468 arch/x86/events/amd/uncore.c 		if (this == that) {
this              469 arch/x86/events/amd/uncore.c 			perf_pmu_migrate_context(this->pmu, cpu, i);
this              428 arch/x86/kvm/i8254.c 				struct kvm_io_device *this,
this              431 arch/x86/kvm/i8254.c 	struct kvm_pit *pit = dev_to_pit(this);
this              504 arch/x86/kvm/i8254.c 			   struct kvm_io_device *this,
this              507 arch/x86/kvm/i8254.c 	struct kvm_pit *pit = dev_to_pit(this);
this              574 arch/x86/kvm/i8254.c 				struct kvm_io_device *this,
this              577 arch/x86/kvm/i8254.c 	struct kvm_pit *pit = speaker_to_pit(this);
this              591 arch/x86/kvm/i8254.c 				   struct kvm_io_device *this,
this              594 arch/x86/kvm/i8254.c 	struct kvm_pit *pit = speaker_to_pit(this);
this              501 arch/x86/kvm/ioapic.c static int ioapic_mmio_read(struct kvm_vcpu *vcpu, struct kvm_io_device *this,
this              504 arch/x86/kvm/ioapic.c 	struct kvm_ioapic *ioapic = to_ioapic(this);
this              543 arch/x86/kvm/ioapic.c static int ioapic_mmio_write(struct kvm_vcpu *vcpu, struct kvm_io_device *this,
this              546 arch/x86/kvm/ioapic.c 	struct kvm_ioapic *ioapic = to_ioapic(this);
this             1363 arch/x86/kvm/lapic.c static int apic_mmio_read(struct kvm_vcpu *vcpu, struct kvm_io_device *this,
this             1366 arch/x86/kvm/lapic.c 	struct kvm_lapic *apic = to_lapic(this);
this             1993 arch/x86/kvm/lapic.c static int apic_mmio_write(struct kvm_vcpu *vcpu, struct kvm_io_device *this,
this             1996 arch/x86/kvm/lapic.c 	struct kvm_lapic *apic = to_lapic(this);
this              261 arch/x86/mm/pat_rbtree.c 		struct memtype *this = rb_entry(node, struct memtype, rb);
this              262 arch/x86/mm/pat_rbtree.c 		*out = *this;
this              280 arch/x86/xen/enlighten.c xen_panic_event(struct notifier_block *this, unsigned long event, void *ptr)
this               64 arch/xtensa/platforms/iss/setup.c iss_panic_event(struct notifier_block *this, unsigned long event, void *ptr)
this              264 crypto/algboss.c static int cryptomgr_notify(struct notifier_block *this, unsigned long msg,
this              163 drivers/acpi/acpica/dbconvert.c 	char *this;
this              174 drivers/acpi/acpica/dbconvert.c 	this = string;
this              176 drivers/acpi/acpica/dbconvert.c 		this = acpi_db_get_next_token(this, &next, &type);
this              177 drivers/acpi/acpica/dbconvert.c 		if (!this) {
this              183 drivers/acpi/acpica/dbconvert.c 		status = acpi_db_convert_to_object(type, this, &elements[i]);
this              190 drivers/acpi/acpica/dbconvert.c 		this = next;
this              587 drivers/acpi/acpica/dbinput.c 	char *this;
this              598 drivers/acpi/acpica/dbinput.c 	this = acpi_gbl_db_parsed_buf;
this              600 drivers/acpi/acpica/dbinput.c 		acpi_gbl_db_args[i] = acpi_db_get_next_token(this, &next,
this              607 drivers/acpi/acpica/dbinput.c 		this = next;
this              787 drivers/acpi/apei/ghes.c static int ghes_notify_hed(struct notifier_block *this, unsigned long event,
this               48 drivers/acpi/sleep.c static int tts_notify_reboot(struct notifier_block *this,
this              314 drivers/atm/solos-pci.c 	char *this = skb->data;
this              317 drivers/atm/solos-pci.c 		if (this[i] == '\n') {
this              318 drivers/atm/solos-pci.c 			this[i] = 0;
this              320 drivers/atm/solos-pci.c 			return this;
this              322 drivers/atm/solos-pci.c 		if (!isprint(this[i]))
this              836 drivers/auxdisplay/charlcd.c static int panel_notify_sys(struct notifier_block *this, unsigned long code,
this              538 drivers/base/regmap/regmap.c 		struct regmap_range_node *this =
this              542 drivers/base/regmap/regmap.c 		if (data->range_max < this->range_min)
this              544 drivers/base/regmap/regmap.c 		else if (data->range_min > this->range_max)
this              562 drivers/base/regmap/regmap.c 		struct regmap_range_node *this =
this              565 drivers/base/regmap/regmap.c 		if (reg < this->range_min)
this              567 drivers/base/regmap/regmap.c 		else if (reg > this->range_max)
this              570 drivers/base/regmap/regmap.c 			return this;
this               12 drivers/block/drbd/drbd_interval.c 	struct drbd_interval *this = rb_entry(node, struct drbd_interval, rb);
this               13 drivers/block/drbd/drbd_interval.c 	return this->end;
this               25 drivers/block/drbd/drbd_interval.c drbd_insert_interval(struct rb_root *root, struct drbd_interval *this)
this               28 drivers/block/drbd/drbd_interval.c 	sector_t this_end = this->sector + (this->size >> 9);
this               30 drivers/block/drbd/drbd_interval.c 	BUG_ON(!IS_ALIGNED(this->size, 512));
this               39 drivers/block/drbd/drbd_interval.c 		if (this->sector < here->sector)
this               41 drivers/block/drbd/drbd_interval.c 		else if (this->sector > here->sector)
this               43 drivers/block/drbd/drbd_interval.c 		else if (this < here)
this               45 drivers/block/drbd/drbd_interval.c 		else if (this > here)
this               51 drivers/block/drbd/drbd_interval.c 	this->end = this_end;
this               52 drivers/block/drbd/drbd_interval.c 	rb_link_node(&this->rb, parent, new);
this               53 drivers/block/drbd/drbd_interval.c 	rb_insert_augmented(&this->rb, root, &augment_callbacks);
this               95 drivers/block/drbd/drbd_interval.c drbd_remove_interval(struct rb_root *root, struct drbd_interval *this)
this               97 drivers/block/drbd/drbd_interval.c 	rb_erase_augmented(&this->rb, root, &augment_callbacks);
this             3099 drivers/block/floppy.c 	struct floppy_raw_cmd *this;
this             3101 drivers/block/floppy.c 	this = *ptr;
this             3103 drivers/block/floppy.c 	while (this) {
this             3104 drivers/block/floppy.c 		if (this->buffer_length) {
this             3105 drivers/block/floppy.c 			fd_dma_mem_free((unsigned long)this->kernel_data,
this             3106 drivers/block/floppy.c 					this->buffer_length);
this             3107 drivers/block/floppy.c 			this->buffer_length = 0;
this             3109 drivers/block/floppy.c 		next = this->next;
this             3110 drivers/block/floppy.c 		kfree(this);
this             3111 drivers/block/floppy.c 		this = next;
this              550 drivers/block/paride/ppc6lnx.c 			u8 this, last;
this              564 drivers/block/paride/ppc6lnx.c 				this = *data++;
this              567 drivers/block/paride/ppc6lnx.c 				if (this == last)
this              575 drivers/block/paride/ppc6lnx.c 					outb(this, ppc->lpt_addr);
this              577 drivers/block/paride/ppc6lnx.c 					last = this;
this              234 drivers/block/xen-blkback/blkback.c 	struct persistent_gnt *this;
this              245 drivers/block/xen-blkback/blkback.c 		this = container_of(*new, struct persistent_gnt, node);
this              248 drivers/block/xen-blkback/blkback.c 		if (persistent_gnt->gnt < this->gnt)
this              250 drivers/block/xen-blkback/blkback.c 		else if (persistent_gnt->gnt > this->gnt)
this             5065 drivers/char/ipmi/ipmi_msghandler.c static int panic_event(struct notifier_block *this,
this             1136 drivers/char/ipmi/ipmi_watchdog.c static int wdog_reboot_handler(struct notifier_block *this,
this               76 drivers/char/xillybus/xillybus_of.c 	struct xilly_mapping *this;
this               78 drivers/char/xillybus/xillybus_of.c 	this = kzalloc(sizeof(*this), GFP_KERNEL);
this               79 drivers/char/xillybus/xillybus_of.c 	if (!this)
this               85 drivers/char/xillybus/xillybus_of.c 		kfree(this);
this               89 drivers/char/xillybus/xillybus_of.c 	this->device = ep->dev;
this               90 drivers/char/xillybus/xillybus_of.c 	this->dma_addr = addr;
this               91 drivers/char/xillybus/xillybus_of.c 	this->size = size;
this               92 drivers/char/xillybus/xillybus_of.c 	this->direction = direction;
this               96 drivers/char/xillybus/xillybus_of.c 	return devm_add_action_or_reset(ep->dev, xilly_of_unmap, this);
this               95 drivers/char/xillybus/xillybus_pcie.c 	struct xilly_mapping *this;
this               97 drivers/char/xillybus/xillybus_pcie.c 	this = kzalloc(sizeof(*this), GFP_KERNEL);
this               98 drivers/char/xillybus/xillybus_pcie.c 	if (!this)
this              106 drivers/char/xillybus/xillybus_pcie.c 		kfree(this);
this              110 drivers/char/xillybus/xillybus_pcie.c 	this->device = ep->pdev;
this              111 drivers/char/xillybus/xillybus_pcie.c 	this->dma_addr = addr;
this              112 drivers/char/xillybus/xillybus_pcie.c 	this->size = size;
this              113 drivers/char/xillybus/xillybus_pcie.c 	this->direction = pci_direction;
this              117 drivers/char/xillybus/xillybus_pcie.c 	return devm_add_action_or_reset(ep->dev, xilly_pci_unmap, this);
this               64 drivers/clk/clk-nomadik.c static int nomadik_clk_reboot_handler(struct notifier_block *this,
this              609 drivers/clk/rockchip/clk.c static int rockchip_restart_notify(struct notifier_block *this,
this              158 drivers/clk/samsung/clk-s3c2412.c static int s3c2412_restart(struct notifier_block *this,
this              310 drivers/clk/samsung/clk-s3c2443.c static int s3c2443_restart(struct notifier_block *this,
this              302 drivers/cpufreq/s3c2416-cpufreq.c static int s3c2416_cpufreq_reboot_notifier_evt(struct notifier_block *this,
this              554 drivers/cpufreq/s5pv210-cpufreq.c static int s5pv210_cpufreq_reboot_notifier_event(struct notifier_block *this,
this               51 drivers/crypto/chelsio/chtls/chtls_main.c static int listen_notify_handler(struct notifier_block *this,
this             1669 drivers/devfreq/devfreq.c 	struct devfreq_notifier_devres *this = res;
this             1671 drivers/devfreq/devfreq.c 	devfreq_unregister_notifier(this->devfreq, this->nb, this->list);
this               52 drivers/devfreq/governor.h 	int (*get_target_freq)(struct devfreq *this, unsigned long *freq);
this              130 drivers/devfreq/governor_passive.c 	struct devfreq *devfreq = (struct devfreq *)data->this;
this              163 drivers/devfreq/governor_passive.c 		if (!p_data->this)
this              164 drivers/devfreq/governor_passive.c 			p_data->this = devfreq;
this             2127 drivers/edac/altera_edac.c static int s10_edac_dberr_handler(struct notifier_block *this,
this             2130 drivers/edac/altera_edac.c 	struct altr_arria10_edac *edac = to_a10edac(this, panic_notifier);
this               38 drivers/edac/octeon_edac-pc.c static int  co_cache_error_event(struct notifier_block *this,
this               41 drivers/edac/octeon_edac-pc.c 	struct co_cache_error *p = container_of(this, struct co_cache_error,
this               28 drivers/edac/sifive_edac.c int ecc_err_event(struct notifier_block *this, unsigned long event, void *ptr)
this               33 drivers/edac/sifive_edac.c 	p = container_of(this, struct sifive_edac_priv, notifier);
this               40 drivers/extcon/devres.c 	struct extcon_dev_notifier_devres *this = res;
this               42 drivers/extcon/devres.c 	extcon_unregister_notifier(this->edev, this->id, this->nb);
this               47 drivers/extcon/devres.c 	struct extcon_dev_notifier_devres *this = res;
this               49 drivers/extcon/devres.c 	extcon_unregister_notifier_all(this->edev, this->nb);
this              164 drivers/fpga/dfl-afu-dma-region.c 		struct dfl_afu_dma_region *this;
this              166 drivers/fpga/dfl-afu-dma-region.c 		this = container_of(*new, struct dfl_afu_dma_region, node);
this              170 drivers/fpga/dfl-afu-dma-region.c 		if (dma_region_check_iova(this, region->iova, region->length))
this              173 drivers/fpga/dfl-afu-dma-region.c 		if (region->iova < this->iova)
this              175 drivers/fpga/dfl-afu-dma-region.c 		else if (region->iova > this->iova)
this               27 drivers/gpio/gpiolib-devres.c 	struct gpio_desc **this = res, **gpio = data;
this               29 drivers/gpio/gpiolib-devres.c 	return *this == *gpio;
this               41 drivers/gpio/gpiolib-devres.c 	struct gpio_descs **this = res, **gpios = data;
this               43 drivers/gpio/gpiolib-devres.c 	return *this == *gpios;
this              407 drivers/gpio/gpiolib-devres.c 	unsigned *this = res, *gpio = data;
this              409 drivers/gpio/gpiolib-devres.c 	return *this == *gpio;
this             1068 drivers/gpu/drm/i915/display/intel_dp.c static int edp_notify_handler(struct notifier_block *this, unsigned long code,
this             1071 drivers/gpu/drm/i915/display/intel_dp.c 	struct intel_dp *intel_dp = container_of(this, typeof(* intel_dp),
this             1419 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		unsigned long this = 0;
this             1446 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 				       this);
this             1451 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 			this++;
this             1453 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c 		count += this;
this             1428 drivers/gpu/drm/i915/i915_gpu_error.c 			struct capture_vma *this = capture;
this             1429 drivers/gpu/drm/i915/i915_gpu_error.c 			struct i915_vma *vma = *this->slot;
this             1431 drivers/gpu/drm/i915/i915_gpu_error.c 			*this->slot =
this             1437 drivers/gpu/drm/i915/i915_gpu_error.c 			capture = this->next;
this             1438 drivers/gpu/drm/i915/i915_gpu_error.c 			kfree(this);
this               47 drivers/gpu/drm/nouveau/nvkm/core/enum.c 			int this = snprintf(data, size, "%s%s",
this               49 drivers/gpu/drm/nouveau/nvkm/core/enum.c 			size -= this;
this               50 drivers/gpu/drm/nouveau/nvkm/core/enum.c 			data += this;
this               50 drivers/gpu/drm/nouveau/nvkm/core/mm.c 	struct nvkm_mm_node *this = *pthis;
this               52 drivers/gpu/drm/nouveau/nvkm/core/mm.c 	if (this) {
this               53 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		struct nvkm_mm_node *prev = node(this, prev);
this               54 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		struct nvkm_mm_node *next = node(this, next);
this               57 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			prev->length += this->length;
this               58 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			list_del(&this->nl_entry);
this               59 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			kfree(this); this = prev;
this               63 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			next->offset  = this->offset;
this               64 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			next->length += this->length;
this               65 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			if (this->type == NVKM_MM_TYPE_NONE)
this               66 drivers/gpu/drm/nouveau/nvkm/core/mm.c 				list_del(&this->fl_entry);
this               67 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			list_del(&this->nl_entry);
this               68 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			kfree(this); this = NULL;
this               71 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		if (this && this->type != NVKM_MM_TYPE_NONE) {
this               73 drivers/gpu/drm/nouveau/nvkm/core/mm.c 				if (this->offset < prev->offset)
this               77 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			list_add_tail(&this->fl_entry, &prev->fl_entry);
this               78 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			this->type = NVKM_MM_TYPE_NONE;
this              114 drivers/gpu/drm/nouveau/nvkm/core/mm.c 	struct nvkm_mm_node *prev, *this, *next;
this              121 drivers/gpu/drm/nouveau/nvkm/core/mm.c 	list_for_each_entry(this, &mm->free, fl_entry) {
this              123 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			if (this->heap != heap)
this              126 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		e = this->offset + this->length;
this              127 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		s = this->offset;
this              129 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		prev = node(this, prev);
this              133 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		next = node(this, next);
this              142 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		splitoff = s - this->offset;
this              143 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		if (splitoff && !region_head(mm, this, splitoff))
this              146 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		this = region_head(mm, this, min(size_max, e - s));
this              147 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		if (!this)
this              150 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		this->next = NULL;
this              151 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		this->type = type;
this              152 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		list_del(&this->fl_entry);
this              153 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		*pnode = this;
this              189 drivers/gpu/drm/nouveau/nvkm/core/mm.c 	struct nvkm_mm_node *prev, *this, *next;
this              194 drivers/gpu/drm/nouveau/nvkm/core/mm.c 	list_for_each_entry_reverse(this, &mm->free, fl_entry) {
this              195 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		u32 e = this->offset + this->length;
this              196 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		u32 s = this->offset;
this              199 drivers/gpu/drm/nouveau/nvkm/core/mm.c 			if (this->heap != heap)
this              203 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		prev = node(this, prev);
this              207 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		next = node(this, next);
this              222 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		if (c && !region_tail(mm, this, c))
this              225 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		this = region_tail(mm, this, a);
this              226 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		if (!this)
this              229 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		this->next = NULL;
this              230 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		this->type = type;
this              231 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		list_del(&this->fl_entry);
this              232 drivers/gpu/drm/nouveau/nvkm/core/mm.c 		*pnode = this;
this               71 drivers/gpu/drm/nouveau/nvkm/core/object.c 		struct nvkm_object *this = rb_entry(*ptr, typeof(*this), node);
this               73 drivers/gpu/drm/nouveau/nvkm/core/object.c 		if (object->object < this->object)
this               76 drivers/gpu/drm/nouveau/nvkm/core/object.c 		if (object->object > this->object)
this              805 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		struct nvkm_vma *this = rb_entry(*ptr, typeof(*this), tree);
this              807 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (vma->size < this->size)
this              810 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (vma->size > this->size)
this              813 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (vma->addr < this->addr)
this              816 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (vma->addr > this->addr)
this              847 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		struct nvkm_vma *this = rb_entry(*ptr, typeof(*this), tree);
this              849 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (vma->addr < this->addr)
this              852 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (vma->addr > this->addr)
this             1689 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		struct nvkm_vma *this = rb_entry(temp, typeof(*this), tree);
this             1690 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		if (this->size < size) {
this             1705 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		struct nvkm_vma *this = rb_entry(node, typeof(*this), tree);
this             1706 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		struct nvkm_vma *prev = node(this, prev);
this             1707 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		struct nvkm_vma *next = node(this, next);
this             1710 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		addr = this->addr;
this             1715 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 		tail = this->addr + this->size;
this             1720 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			nvkm_vmm_free_remove(vmm, this);
this             1721 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c 			vma = this;
this             1467 drivers/hwmon/w83793.c static int watchdog_notify_sys(struct notifier_block *this, unsigned long code,
this              945 drivers/i2c/i2c-core-base.c 	struct i2c_dummy_devres *this = res;
this              947 drivers/i2c/i2c-core-base.c 	i2c_unregister_device(this->client);
this              128 drivers/i3c/master.c 	return master->this;
this              894 drivers/i3c/master.c 		if (i3cdev == master->this)
this              916 drivers/i3c/master.c 	defslvs->master.bcr = master->this->info.bcr;
this              917 drivers/i3c/master.c 	defslvs->master.dcr = master->this->info.dcr;
this              918 drivers/i3c/master.c 	defslvs->master.dyn_addr = master->this->info.dyn_addr << 1;
this              930 drivers/i3c/master.c 		if (i3cdev == master->this)
this             1334 drivers/i3c/master.c 	if (master->this != dev && master->ops->attach_i3c_dev) {
this             1380 drivers/i3c/master.c 	if (master->this != dev && master->ops->detach_i3c_dev)
this             1452 drivers/i3c/master.c 		if (desc->dev || !desc->info.dyn_addr || desc == master->this)
this             1549 drivers/i3c/master.c 	if (master->this)
this             1556 drivers/i3c/master.c 	master->this = i3cdev;
this             1557 drivers/i3c/master.c 	master->bus.cur_master = master->this;
this             1707 drivers/i3c/master.c 	if (!master->this) {
this              734 drivers/infiniband/core/roce_gid_mgmt.c static int netdevice_event(struct notifier_block *this, unsigned long event,
this              814 drivers/infiniband/core/roce_gid_mgmt.c static int addr_event(struct notifier_block *this, unsigned long event,
this              854 drivers/infiniband/core/roce_gid_mgmt.c static int inetaddr_event(struct notifier_block *this, unsigned long event,
this              865 drivers/infiniband/core/roce_gid_mgmt.c 	return addr_event(this, event, (struct sockaddr *)&in, ndev);
this              868 drivers/infiniband/core/roce_gid_mgmt.c static int inet6addr_event(struct notifier_block *this, unsigned long event,
this              879 drivers/infiniband/core/roce_gid_mgmt.c 	return addr_event(this, event, (struct sockaddr *)&in6, ndev);
this             2386 drivers/infiniband/hw/mlx4/main.c static int mlx4_ib_netdev_event(struct notifier_block *this,
this             2395 drivers/infiniband/hw/mlx4/main.c 	ibdev = container_of(this, struct mlx4_ib_dev, iboe.nb);
this              188 drivers/infiniband/hw/mlx5/main.c static int mlx5_netdev_event(struct notifier_block *this,
this              191 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_roce *roce = container_of(this, struct mlx5_roce, nb);
this              761 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c static int pvrdma_netdevice_event(struct notifier_block *this,
this              112 drivers/infiniband/ulp/ipoib/ipoib_main.c static int ipoib_netdev_event(struct notifier_block *this,
this              239 drivers/input/joystick/analog.c 	unsigned char data[4], this, last;
this              252 drivers/input/joystick/analog.c 	this = port->mask;
this              257 drivers/input/joystick/analog.c 		last = this;
this              260 drivers/input/joystick/analog.c 		this = gameport_read(gameport) & port->mask;
this              264 drivers/input/joystick/analog.c 		if ((last ^ this) && (delta(loop, now) < loopout)) {
this              265 drivers/input/joystick/analog.c 			data[i] = last ^ this;
this              270 drivers/input/joystick/analog.c 	} while (this && (i < 4) && (delta(start, now) < timeout));
this              272 drivers/input/joystick/analog.c 	this <<= 4;
this              275 drivers/input/joystick/analog.c 		this |= data[i];
this              281 drivers/input/joystick/analog.c 	return -(this != port->mask);
this              598 drivers/input/serio/hp_sdc.c int __hp_sdc_enqueue_transaction(hp_sdc_transaction *this)
this              602 drivers/input/serio/hp_sdc.c 	if (this == NULL) {
this              609 drivers/input/serio/hp_sdc.c 		if (hp_sdc.tq[i] == this)
this              612 drivers/input/serio/hp_sdc.c 	this->actidx = 0;
this              613 drivers/input/serio/hp_sdc.c 	this->idx = 1;
this              618 drivers/input/serio/hp_sdc.c 			hp_sdc.tq[i] = this;
this              631 drivers/input/serio/hp_sdc.c int hp_sdc_enqueue_transaction(hp_sdc_transaction *this) {
this              636 drivers/input/serio/hp_sdc.c 	ret = __hp_sdc_enqueue_transaction(this);
this              642 drivers/input/serio/hp_sdc.c int hp_sdc_dequeue_transaction(hp_sdc_transaction *this)
this              652 drivers/input/serio/hp_sdc.c 		if (hp_sdc.tq[i] == this)
this              162 drivers/iommu/iova.c 		struct iova *this = rb_entry(*new, struct iova, node);
this              166 drivers/iommu/iova.c 		if (iova->pfn_lo < this->pfn_lo)
this              168 drivers/iommu/iova.c 		else if (iova->pfn_lo > this->pfn_lo)
this              717 drivers/macintosh/adbhid.c adb_message_handler(struct notifier_block *this, unsigned long code, void *x)
this              474 drivers/md/bcache/util.h 	typeof(new) this;						\
this              479 drivers/md/bcache/util.h 		this = container_of(*n, typeof(*(new)), member);	\
this              480 drivers/md/bcache/util.h 		res = cmp(new, this);					\
this              498 drivers/md/bcache/util.h 	typeof(&(search)) this, ret = NULL;				\
this              502 drivers/md/bcache/util.h 		this = container_of(n, typeof(search), member);		\
this              503 drivers/md/bcache/util.h 		res = cmp(&(search), this);				\
this              505 drivers/md/bcache/util.h 			ret = this;					\
this              518 drivers/md/bcache/util.h 	typeof(&(search)) this, ret = NULL;				\
this              522 drivers/md/bcache/util.h 		this = container_of(n, typeof(search), member);		\
this              523 drivers/md/bcache/util.h 		res = cmp(&(search), this);				\
this              525 drivers/md/bcache/util.h 			ret = this;					\
this               92 drivers/md/md.c 				 struct md_rdev *this);
this             8822 drivers/md/md.c 				 struct md_rdev *this)
this             8829 drivers/md/md.c 	if (this && test_bit(MD_RECOVERY_RUNNING, &mddev->recovery))
this             8834 drivers/md/md.c 		if ((this == NULL || rdev == this) &&
this             8852 drivers/md/md.c 		if ((this == NULL || rdev == this) &&
this             8874 drivers/md/md.c 	if (this && removed)
this             8878 drivers/md/md.c 		if (this && this != rdev)
this             9274 drivers/md/md.c static int md_notify_reboot(struct notifier_block *this,
this             1604 drivers/md/raid10.c 		int this = first;
this             1607 drivers/md/raid10.c 			if (this != ignore &&
this             1608 drivers/md/raid10.c 			    (rdev = rcu_dereference(conf->mirrors[this].rdev)) &&
this             1611 drivers/md/raid10.c 			this = (this+1) % disks;
this             1905 drivers/media/i2c/smiapp/smiapp-core.c 		int this = scaling_goodness(
this             1914 drivers/media/i2c/smiapp/smiapp-core.c 		if (this > best) {
this             1917 drivers/media/i2c/smiapp/smiapp-core.c 			best = this;
this             1995 drivers/media/i2c/smiapp/smiapp-core.c 		int this = scaling_goodness(
this             2007 drivers/media/i2c/smiapp/smiapp-core.c 		if (this > best) {
this             2010 drivers/media/i2c/smiapp/smiapp-core.c 			best = this;
this             2017 drivers/media/i2c/smiapp/smiapp-core.c 		this = scaling_goodness(
this             2028 drivers/media/i2c/smiapp/smiapp-core.c 		if (this > best) {
this             2031 drivers/media/i2c/smiapp/smiapp-core.c 			best = this;
this              271 drivers/media/pci/cobalt/cobalt-omnitek.c void descriptor_list_chain(struct sg_dma_desc_info *this,
this              274 drivers/media/pci/cobalt/cobalt-omnitek.c 	struct sg_dma_descriptor *d = this->last_desc_virt;
this               39 drivers/media/pci/cobalt/cobalt-omnitek.h void descriptor_list_chain(struct sg_dma_desc_info *this,
this               68 drivers/mfd/rn5t618.c static int rn5t618_restart(struct notifier_block *this,
this               28 drivers/misc/mic/cosm_client/cosm_scif_client.c static int cosm_reboot_event(struct notifier_block *this, unsigned long event,
this               42 drivers/mmc/core/pwrseq_emmc.c static int mmc_pwrseq_emmc_reset_nb(struct notifier_block *this,
this               45 drivers/mmc/core/pwrseq_emmc.c 	struct mmc_pwrseq_emmc *pwrseq = container_of(this,
this              233 drivers/mmc/core/sdio_cis.c 	struct sdio_func_tuple *this, **prev;
this              287 drivers/mmc/core/sdio_cis.c 		this = kmalloc(sizeof(*this) + tpl_link, GFP_KERNEL);
this              288 drivers/mmc/core/sdio_cis.c 		if (!this)
this              293 drivers/mmc/core/sdio_cis.c 					       ptr + i, 0, &this->data[i]);
this              298 drivers/mmc/core/sdio_cis.c 			kfree(this);
this              305 drivers/mmc/core/sdio_cis.c 				    tpl_code, this->data, tpl_link);
this              311 drivers/mmc/core/sdio_cis.c 			this->next = NULL;
this              312 drivers/mmc/core/sdio_cis.c 			this->code = tpl_code;
this              313 drivers/mmc/core/sdio_cis.c 			this->size = tpl_link;
this              314 drivers/mmc/core/sdio_cis.c 			*prev = this;
this              315 drivers/mmc/core/sdio_cis.c 			prev = &this->next;
this              333 drivers/mmc/core/sdio_cis.c 			kfree(this);
this               35 drivers/mtd/chips/chipreg.c 	struct mtd_chip_driver *ret = NULL, *this;
this               40 drivers/mtd/chips/chipreg.c 		this = list_entry(pos, typeof(*this), list);
this               42 drivers/mtd/chips/chipreg.c 		if (!strcmp(this->name, name)) {
this               43 drivers/mtd/chips/chipreg.c 			ret = this;
this               81 drivers/mtd/devices/phram.c 	struct phram_mtd_list *this, *safe;
this               83 drivers/mtd/devices/phram.c 	list_for_each_entry_safe(this, safe, &phram_list, list) {
this               84 drivers/mtd/devices/phram.c 		mtd_device_unregister(&this->mtd);
this               85 drivers/mtd/devices/phram.c 		iounmap(this->mtd.priv);
this               86 drivers/mtd/devices/phram.c 		kfree(this->mtd.name);
this               87 drivers/mtd/devices/phram.c 		kfree(this);
this              145 drivers/mtd/nand/onenand/omap2.c 	struct onenand_chip *this = mtd->priv;
this              211 drivers/mtd/nand/onenand/omap2.c 				    !this->ongoing) {
this              301 drivers/mtd/nand/onenand/omap2.c 	if (this->ongoing)
this              312 drivers/mtd/nand/onenand/omap2.c 	struct onenand_chip *this = mtd->priv;
this              314 drivers/mtd/nand/onenand/omap2.c 	if (ONENAND_CURRENT_BUFFERRAM(this)) {
this              316 drivers/mtd/nand/onenand/omap2.c 			return this->writesize;
this              365 drivers/mtd/nand/onenand/omap2.c 	struct onenand_chip *this = mtd->priv;
this              385 drivers/mtd/nand/onenand/omap2.c 		memcpy(buf + count, this->base + bram_offset + count, xtra);
this              404 drivers/mtd/nand/onenand/omap2.c 	memcpy(buf, this->base + bram_offset, count);
this              413 drivers/mtd/nand/onenand/omap2.c 	struct onenand_chip *this = mtd->priv;
this              444 drivers/mtd/nand/onenand/omap2.c 	memcpy(this->base + bram_offset, buf, count);
this              224 drivers/mtd/nand/onenand/onenand_base.c static int onenand_block_address(struct onenand_chip *this, int block)
this              227 drivers/mtd/nand/onenand/onenand_base.c 	if (block & this->density_mask)
this              228 drivers/mtd/nand/onenand/onenand_base.c 		return ONENAND_DDP_CHIP1 | (block ^ this->density_mask);
this              241 drivers/mtd/nand/onenand/onenand_base.c static int onenand_bufferram_address(struct onenand_chip *this, int block)
this              244 drivers/mtd/nand/onenand/onenand_base.c 	if (block & this->density_mask)
this              301 drivers/mtd/nand/onenand/onenand_base.c static unsigned flexonenand_block(struct onenand_chip *this, loff_t addr)
this              305 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_DDP(this) && addr >= this->diesize[0]) {
this              307 drivers/mtd/nand/onenand/onenand_base.c 		addr -= this->diesize[0];
this              310 drivers/mtd/nand/onenand/onenand_base.c 	boundary = this->boundary[die];
this              312 drivers/mtd/nand/onenand/onenand_base.c 	blk = addr >> (this->erase_shift - 1);
this              316 drivers/mtd/nand/onenand/onenand_base.c 	blk += die ? this->density_mask : 0;
this              320 drivers/mtd/nand/onenand/onenand_base.c inline unsigned onenand_block(struct onenand_chip *this, loff_t addr)
this              322 drivers/mtd/nand/onenand/onenand_base.c 	if (!FLEXONENAND(this))
this              323 drivers/mtd/nand/onenand/onenand_base.c 		return addr >> this->erase_shift;
this              324 drivers/mtd/nand/onenand/onenand_base.c 	return flexonenand_block(this, addr);
this              334 drivers/mtd/nand/onenand/onenand_base.c static loff_t flexonenand_addr(struct onenand_chip *this, int block)
this              339 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_DDP(this) && block >= this->density_mask) {
this              340 drivers/mtd/nand/onenand/onenand_base.c 		block -= this->density_mask;
this              342 drivers/mtd/nand/onenand/onenand_base.c 		ofs = this->diesize[0];
this              345 drivers/mtd/nand/onenand/onenand_base.c 	boundary = this->boundary[die];
this              346 drivers/mtd/nand/onenand/onenand_base.c 	ofs += (loff_t)block << (this->erase_shift - 1);
this              348 drivers/mtd/nand/onenand/onenand_base.c 		ofs += (loff_t)(block - boundary - 1) << (this->erase_shift - 1);
this              352 drivers/mtd/nand/onenand/onenand_base.c loff_t onenand_addr(struct onenand_chip *this, int block)
this              354 drivers/mtd/nand/onenand/onenand_base.c 	if (!FLEXONENAND(this))
this              355 drivers/mtd/nand/onenand/onenand_base.c 		return (loff_t)block << this->erase_shift;
this              356 drivers/mtd/nand/onenand/onenand_base.c 	return flexonenand_addr(this, block);
this              400 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              415 drivers/mtd/nand/onenand/onenand_base.c 		block = addr * this->density_mask;
this              424 drivers/mtd/nand/onenand/onenand_base.c 		block = onenand_block(this, addr);
this              430 drivers/mtd/nand/onenand/onenand_base.c 		block = addr * this->density_mask;
this              435 drivers/mtd/nand/onenand/onenand_base.c 		block = onenand_block(this, addr);
this              436 drivers/mtd/nand/onenand/onenand_base.c 		if (FLEXONENAND(this))
this              437 drivers/mtd/nand/onenand/onenand_base.c 			page = (int) (addr - onenand_addr(this, block))>>\
this              438 drivers/mtd/nand/onenand/onenand_base.c 				this->page_shift;
this              440 drivers/mtd/nand/onenand/onenand_base.c 			page = (int) (addr >> this->page_shift);
this              441 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_2PLANE(this)) {
this              445 drivers/mtd/nand/onenand/onenand_base.c 			if (addr & this->writesize)
this              449 drivers/mtd/nand/onenand/onenand_base.c 		page &= this->page_mask;
this              456 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_bufferram_address(this, block);
this              457 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_ADDRESS2);
this              459 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_2PLANE(this) || ONENAND_IS_4KB_PAGE(this))
this              461 drivers/mtd/nand/onenand/onenand_base.c 			ONENAND_SET_BUFFERRAM0(this);
this              464 drivers/mtd/nand/onenand/onenand_base.c 			ONENAND_SET_NEXT_BUFFERRAM(this);
this              471 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_block_address(this, block);
this              472 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_ADDRESS1);
this              475 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_bufferram_address(this, block);
this              476 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_ADDRESS2);
this              488 drivers/mtd/nand/onenand/onenand_base.c 			if (ONENAND_IS_4KB_PAGE(this))
this              490 drivers/mtd/nand/onenand/onenand_base.c 				dataram = ONENAND_SET_BUFFERRAM0(this);
this              492 drivers/mtd/nand/onenand/onenand_base.c 				dataram = ONENAND_SET_NEXT_BUFFERRAM(this);
this              496 drivers/mtd/nand/onenand/onenand_base.c 			if (ONENAND_IS_2PLANE(this) && cmd == ONENAND_CMD_PROG)
this              498 drivers/mtd/nand/onenand/onenand_base.c 			dataram = ONENAND_CURRENT_BUFFERRAM(this);
this              504 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_ADDRESS8);
this              508 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_BUFFER);
this              512 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(ONENAND_INT_CLEAR, this->base + ONENAND_REG_INTERRUPT);
this              515 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(cmd, this->base + ONENAND_REG_COMMAND);
this              524 drivers/mtd/nand/onenand/onenand_base.c static inline int onenand_read_ecc(struct onenand_chip *this)
this              528 drivers/mtd/nand/onenand/onenand_base.c 	if (!FLEXONENAND(this) && !ONENAND_IS_4KB_PAGE(this))
this              529 drivers/mtd/nand/onenand/onenand_base.c 		return this->read_word(this->base + ONENAND_REG_ECC_STATUS);
this              532 drivers/mtd/nand/onenand/onenand_base.c 		ecc = this->read_word(this->base + ONENAND_REG_ECC_STATUS + i*2);
this              555 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip * this = mtd->priv;
this              564 drivers/mtd/nand/onenand/onenand_base.c 		interrupt = this->read_word(this->base + ONENAND_REG_INTERRUPT);
this              573 drivers/mtd/nand/onenand/onenand_base.c 	interrupt = this->read_word(this->base + ONENAND_REG_INTERRUPT);
this              575 drivers/mtd/nand/onenand/onenand_base.c 	ctrl = this->read_word(this->base + ONENAND_REG_CTRL_STATUS);
this              583 drivers/mtd/nand/onenand/onenand_base.c 		int ecc = onenand_read_ecc(this);
this              635 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = data;
this              638 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->complete.done)
this              639 drivers/mtd/nand/onenand/onenand_base.c 		complete(&this->complete);
this              653 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              655 drivers/mtd/nand/onenand/onenand_base.c 	wait_for_completion(&this->complete);
this              669 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              673 drivers/mtd/nand/onenand/onenand_base.c 	this->wait = onenand_interrupt_wait;
this              676 drivers/mtd/nand/onenand/onenand_base.c 	remain = wait_for_completion_timeout(&this->complete, timeout);
this              682 drivers/mtd/nand/onenand/onenand_base.c 		free_irq(this->irq, this);
this              684 drivers/mtd/nand/onenand/onenand_base.c 		this->wait = onenand_wait;
this              700 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              703 drivers/mtd/nand/onenand/onenand_base.c 	init_completion(&this->complete);
this              705 drivers/mtd/nand/onenand/onenand_base.c 	if (this->irq <= 0) {
this              706 drivers/mtd/nand/onenand/onenand_base.c 		this->wait = onenand_wait;
this              710 drivers/mtd/nand/onenand/onenand_base.c 	if (request_irq(this->irq, &onenand_interrupt,
this              711 drivers/mtd/nand/onenand/onenand_base.c 				IRQF_SHARED, "onenand", this)) {
this              713 drivers/mtd/nand/onenand/onenand_base.c 		this->wait = onenand_wait;
this              718 drivers/mtd/nand/onenand/onenand_base.c 	syscfg = this->read_word(this->base + ONENAND_REG_SYS_CFG1);
this              720 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(syscfg, this->base + ONENAND_REG_SYS_CFG1);
this              722 drivers/mtd/nand/onenand/onenand_base.c 	this->wait = onenand_try_interrupt_wait;
this              735 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              737 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_CURRENT_BUFFERRAM(this)) {
this              740 drivers/mtd/nand/onenand/onenand_base.c 			return this->writesize;
this              761 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              764 drivers/mtd/nand/onenand/onenand_base.c 	bufferram = this->base + area;
this              775 drivers/mtd/nand/onenand/onenand_base.c 		word = this->read_word(bufferram + offset + count);
this              797 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              800 drivers/mtd/nand/onenand/onenand_base.c 	bufferram = this->base + area;
this              804 drivers/mtd/nand/onenand/onenand_base.c 	this->mmcontrol(mtd, ONENAND_SYS_CFG1_SYNC_READ);
this              813 drivers/mtd/nand/onenand/onenand_base.c 		word = this->read_word(bufferram + offset + count);
this              819 drivers/mtd/nand/onenand/onenand_base.c 	this->mmcontrol(mtd, 0);
this              837 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              840 drivers/mtd/nand/onenand/onenand_base.c 	bufferram = this->base + area;
this              855 drivers/mtd/nand/onenand/onenand_base.c 		word = this->read_word(bufferram + byte_offset);
this              857 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(word, bufferram + byte_offset);
this              875 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              879 drivers/mtd/nand/onenand/onenand_base.c 	block = (int) (addr >> this->erase_shift) & ~1;
this              881 drivers/mtd/nand/onenand/onenand_base.c 	if (addr & this->writesize)
this              883 drivers/mtd/nand/onenand/onenand_base.c 	page = (int) (addr >> (this->page_shift + 1)) & this->page_mask;
this              899 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              903 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_2PLANE(this))
this              906 drivers/mtd/nand/onenand/onenand_base.c 		blockpage = (int) (addr >> this->page_shift);
this              909 drivers/mtd/nand/onenand/onenand_base.c 	i = ONENAND_CURRENT_BUFFERRAM(this);
this              910 drivers/mtd/nand/onenand/onenand_base.c 	if (this->bufferram[i].blockpage == blockpage)
this              914 drivers/mtd/nand/onenand/onenand_base.c 		i = ONENAND_NEXT_BUFFERRAM(this);
this              915 drivers/mtd/nand/onenand/onenand_base.c 		if (this->bufferram[i].blockpage == blockpage) {
this              916 drivers/mtd/nand/onenand/onenand_base.c 			ONENAND_SET_NEXT_BUFFERRAM(this);
this              921 drivers/mtd/nand/onenand/onenand_base.c 	if (found && ONENAND_IS_DDP(this)) {
this              923 drivers/mtd/nand/onenand/onenand_base.c 		int block = onenand_block(this, addr);
this              924 drivers/mtd/nand/onenand/onenand_base.c 		int value = onenand_bufferram_address(this, block);
this              925 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_ADDRESS2);
this              942 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              946 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_2PLANE(this))
this              949 drivers/mtd/nand/onenand/onenand_base.c 		blockpage = (int) (addr >> this->page_shift);
this              952 drivers/mtd/nand/onenand/onenand_base.c 	i = ONENAND_NEXT_BUFFERRAM(this);
this              953 drivers/mtd/nand/onenand/onenand_base.c 	if (this->bufferram[i].blockpage == blockpage)
this              954 drivers/mtd/nand/onenand/onenand_base.c 		this->bufferram[i].blockpage = -1;
this              957 drivers/mtd/nand/onenand/onenand_base.c 	i = ONENAND_CURRENT_BUFFERRAM(this);
this              959 drivers/mtd/nand/onenand/onenand_base.c 		this->bufferram[i].blockpage = blockpage;
this              961 drivers/mtd/nand/onenand/onenand_base.c 		this->bufferram[i].blockpage = -1;
this              975 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this              981 drivers/mtd/nand/onenand/onenand_base.c 		loff_t buf_addr = this->bufferram[i].blockpage << this->page_shift;
this              983 drivers/mtd/nand/onenand/onenand_base.c 			this->bufferram[i].blockpage = -1;
this              996 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1003 drivers/mtd/nand/onenand/onenand_base.c 		spin_lock(&this->chip_lock);
this             1004 drivers/mtd/nand/onenand/onenand_base.c 		if (this->state == FL_READY) {
this             1005 drivers/mtd/nand/onenand/onenand_base.c 			this->state = new_state;
this             1006 drivers/mtd/nand/onenand/onenand_base.c 			spin_unlock(&this->chip_lock);
this             1007 drivers/mtd/nand/onenand/onenand_base.c 			if (new_state != FL_PM_SUSPENDED && this->enable)
this             1008 drivers/mtd/nand/onenand/onenand_base.c 				this->enable(mtd);
this             1012 drivers/mtd/nand/onenand/onenand_base.c 			spin_unlock(&this->chip_lock);
this             1013 drivers/mtd/nand/onenand/onenand_base.c 			return (this->state == FL_PM_SUSPENDED) ? 0 : -EAGAIN;
this             1016 drivers/mtd/nand/onenand/onenand_base.c 		add_wait_queue(&this->wq, &wait);
this             1017 drivers/mtd/nand/onenand/onenand_base.c 		spin_unlock(&this->chip_lock);
this             1019 drivers/mtd/nand/onenand/onenand_base.c 		remove_wait_queue(&this->wq, &wait);
this             1033 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1035 drivers/mtd/nand/onenand/onenand_base.c 	if (this->state != FL_PM_SUSPENDED && this->disable)
this             1036 drivers/mtd/nand/onenand/onenand_base.c 		this->disable(mtd);
this             1038 drivers/mtd/nand/onenand/onenand_base.c 	spin_lock(&this->chip_lock);
this             1039 drivers/mtd/nand/onenand/onenand_base.c 	this->state = FL_READY;
this             1040 drivers/mtd/nand/onenand/onenand_base.c 	wake_up(&this->wq);
this             1041 drivers/mtd/nand/onenand/onenand_base.c 	spin_unlock(&this->chip_lock);
this             1054 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1057 drivers/mtd/nand/onenand/onenand_base.c 	this->read_bufferram(mtd, ONENAND_SPARERAM, this->oob_buf, 0,
this             1059 drivers/mtd/nand/onenand/onenand_base.c 	ret = mtd_ooblayout_get_databytes(mtd, buf, this->oob_buf,
this             1082 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1086 drivers/mtd/nand/onenand/onenand_base.c 	if (!FLEXONENAND(this))
this             1095 drivers/mtd/nand/onenand/onenand_base.c 	if (mtd->eraseregions[i].erasesize < (1 << this->erase_shift))
this             1106 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, FLEXONENAND_CMD_RECOVER_LSB, addr, this->writesize);
this             1107 drivers/mtd/nand/onenand/onenand_base.c 	return this->wait(mtd, FL_READING);
this             1122 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1131 drivers/mtd/nand/onenand/onenand_base.c 	int writesize = this->writesize;
this             1160 drivers/mtd/nand/onenand/onenand_base.c 			this->command(mtd, ONENAND_CMD_READ, from, writesize);
this             1162 drivers/mtd/nand/onenand/onenand_base.c 			ret = this->wait(mtd, FL_READING);
this             1172 drivers/mtd/nand/onenand/onenand_base.c 		this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thislen);
this             1180 drivers/mtd/nand/onenand/onenand_base.c 				this->read_bufferram(mtd, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen);
this             1223 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1232 drivers/mtd/nand/onenand/onenand_base.c 	int writesize = this->writesize;
this             1256 drivers/mtd/nand/onenand/onenand_base.c 			this->command(mtd, ONENAND_CMD_READ, from, writesize);
this             1257 drivers/mtd/nand/onenand/onenand_base.c 			ret = this->wait(mtd, FL_READING);
this             1273 drivers/mtd/nand/onenand/onenand_base.c 			this->command(mtd, ONENAND_CMD_READ, from, writesize);
this             1279 drivers/mtd/nand/onenand/onenand_base.c 			if (ONENAND_IS_DDP(this) &&
this             1280 drivers/mtd/nand/onenand/onenand_base.c 			    unlikely(from == (this->chipsize >> 1))) {
this             1281 drivers/mtd/nand/onenand/onenand_base.c 				this->write_word(ONENAND_DDP_CHIP0, this->base + ONENAND_REG_START_ADDRESS2);
this             1285 drivers/mtd/nand/onenand/onenand_base.c 			ONENAND_SET_PREV_BUFFERRAM(this);
this             1288 drivers/mtd/nand/onenand/onenand_base.c 		this->read_bufferram(mtd, ONENAND_DATARAM, buf, column, thislen);
this             1298 drivers/mtd/nand/onenand/onenand_base.c 				this->read_bufferram(mtd, ONENAND_SPARERAM, oobbuf, oobcolumn, thisooblen);
this             1310 drivers/mtd/nand/onenand/onenand_base.c 			this->write_word(ONENAND_DDP_CHIP1, this->base + ONENAND_REG_START_ADDRESS2);
this             1311 drivers/mtd/nand/onenand/onenand_base.c 		ONENAND_SET_NEXT_BUFFERRAM(this);
this             1317 drivers/mtd/nand/onenand/onenand_base.c 		ret = this->wait(mtd, FL_READING);
this             1352 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1383 drivers/mtd/nand/onenand/onenand_base.c 	readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB;
this             1391 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, readcmd, from, mtd->oobsize);
this             1395 drivers/mtd/nand/onenand/onenand_base.c 		ret = this->wait(mtd, FL_READING);
this             1408 drivers/mtd/nand/onenand/onenand_base.c 			this->read_bufferram(mtd, ONENAND_SPARERAM, buf, column, thislen);
this             1447 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1462 drivers/mtd/nand/onenand/onenand_base.c 		ret = ONENAND_IS_4KB_PAGE(this) ?
this             1481 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1488 drivers/mtd/nand/onenand/onenand_base.c 		interrupt = this->read_word(this->base + ONENAND_REG_INTERRUPT);
this             1493 drivers/mtd/nand/onenand/onenand_base.c 	interrupt = this->read_word(this->base + ONENAND_REG_INTERRUPT);
this             1494 drivers/mtd/nand/onenand/onenand_base.c 	ctrl = this->read_word(this->base + ONENAND_REG_CTRL_STATUS);
this             1495 drivers/mtd/nand/onenand/onenand_base.c 	addr1 = this->read_word(this->base + ONENAND_REG_START_ADDRESS1);
this             1496 drivers/mtd/nand/onenand/onenand_base.c 	addr8 = this->read_word(this->base + ONENAND_REG_START_ADDRESS8);
this             1499 drivers/mtd/nand/onenand/onenand_base.c 		ecc = onenand_read_ecc(this);
this             1534 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1558 drivers/mtd/nand/onenand/onenand_base.c 	readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB;
this             1566 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, readcmd, from, mtd->oobsize);
this             1570 drivers/mtd/nand/onenand/onenand_base.c 		ret = this->bbt_wait(mtd, FL_READING);
this             1577 drivers/mtd/nand/onenand/onenand_base.c 		this->read_bufferram(mtd, ONENAND_SPARERAM, buf, column, thislen);
this             1587 drivers/mtd/nand/onenand/onenand_base.c 			from += this->writesize;
this             1608 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1609 drivers/mtd/nand/onenand/onenand_base.c 	u_char *oob_buf = this->oob_buf;
this             1612 drivers/mtd/nand/onenand/onenand_base.c 	readcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_READ : ONENAND_CMD_READOOB;
this             1614 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, readcmd, to, mtd->oobsize);
this             1616 drivers/mtd/nand/onenand/onenand_base.c 	status = this->wait(mtd, FL_READING);
this             1620 drivers/mtd/nand/onenand/onenand_base.c 	this->read_bufferram(mtd, ONENAND_SPARERAM, oob_buf, 0, mtd->oobsize);
this             1637 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1641 drivers/mtd/nand/onenand/onenand_base.c 	column = addr & (this->writesize - 1);
this             1644 drivers/mtd/nand/onenand/onenand_base.c 		thislen = min_t(int, this->writesize - column, len);
this             1646 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_READ, addr, this->writesize);
this             1650 drivers/mtd/nand/onenand/onenand_base.c 		ret = this->wait(mtd, FL_READING);
this             1656 drivers/mtd/nand/onenand/onenand_base.c 		this->read_bufferram(mtd, ONENAND_DATARAM, this->verify_buf, 0, mtd->writesize);
this             1658 drivers/mtd/nand/onenand/onenand_base.c 		if (memcmp(buf, this->verify_buf + column, thislen))
this             1674 drivers/mtd/nand/onenand/onenand_base.c #define NOTALIGNED(x)	((x & (this->subpagesize - 1)) != 0)
this             1678 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1683 drivers/mtd/nand/onenand/onenand_base.c 		interrupt = this->read_word(this->base + ONENAND_REG_INTERRUPT);
this             1703 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1707 drivers/mtd/nand/onenand/onenand_base.c 	if (this->state == FL_PM_SUSPENDED)
this             1730 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_BUFFERRAM, to, thislen);
this             1735 drivers/mtd/nand/onenand/onenand_base.c 			memset(this->page_buf, 0xff, mtd->writesize);
this             1736 drivers/mtd/nand/onenand/onenand_base.c 			memcpy(this->page_buf + column, buf, thislen);
this             1737 drivers/mtd/nand/onenand/onenand_base.c 			wbuf = this->page_buf;
this             1740 drivers/mtd/nand/onenand/onenand_base.c 		this->write_bufferram(mtd, ONENAND_DATARAM, wbuf, 0, mtd->writesize);
this             1741 drivers/mtd/nand/onenand/onenand_base.c 		this->write_bufferram(mtd, ONENAND_SPARERAM, ffchars, 0, mtd->oobsize);
this             1743 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_PROG, to, mtd->writesize);
this             1749 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_2PLANE(this)) {
this             1750 drivers/mtd/nand/onenand/onenand_base.c 			ONENAND_SET_BUFFERRAM1(this);
this             1751 drivers/mtd/nand/onenand/onenand_base.c 			onenand_update_bufferram(mtd, to + this->writesize, !subpage);
this             1793 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             1836 drivers/mtd/nand/onenand/onenand_base.c 			this->command(mtd, ONENAND_CMD_BUFFERRAM, to, thislen);
this             1841 drivers/mtd/nand/onenand/onenand_base.c 				memset(this->page_buf, 0xff, mtd->writesize);
this             1842 drivers/mtd/nand/onenand/onenand_base.c 				memcpy(this->page_buf + column, buf, thislen);
this             1843 drivers/mtd/nand/onenand/onenand_base.c 				wbuf = this->page_buf;
this             1846 drivers/mtd/nand/onenand/onenand_base.c 			this->write_bufferram(mtd, ONENAND_DATARAM, wbuf, 0, mtd->writesize);
this             1849 drivers/mtd/nand/onenand/onenand_base.c 				oobbuf = this->oob_buf;
this             1865 drivers/mtd/nand/onenand/onenand_base.c 			this->write_bufferram(mtd, ONENAND_SPARERAM, oobbuf, 0, mtd->oobsize);
this             1867 drivers/mtd/nand/onenand/onenand_base.c 			ONENAND_SET_NEXT_BUFFERRAM(this);
this             1873 drivers/mtd/nand/onenand/onenand_base.c 		if (!ONENAND_IS_2PLANE(this) && !ONENAND_IS_4KB_PAGE(this) && !first) {
this             1874 drivers/mtd/nand/onenand/onenand_base.c 			ONENAND_SET_PREV_BUFFERRAM(this);
this             1876 drivers/mtd/nand/onenand/onenand_base.c 			ret = this->wait(mtd, FL_WRITING);
this             1896 drivers/mtd/nand/onenand/onenand_base.c 			ONENAND_SET_NEXT_BUFFERRAM(this);
this             1899 drivers/mtd/nand/onenand/onenand_base.c 		this->ongoing = 0;
this             1903 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_CACHE_PROGRAM(this) &&
this             1904 drivers/mtd/nand/onenand/onenand_base.c 		    likely(onenand_block(this, to) != 0) &&
this             1905 drivers/mtd/nand/onenand/onenand_base.c 		    ONENAND_IS_4KB_PAGE(this) &&
this             1908 drivers/mtd/nand/onenand/onenand_base.c 			this->ongoing = 1;
this             1911 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, cmd, to, mtd->writesize);
this             1916 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_2PLANE(this) || ONENAND_IS_4KB_PAGE(this)) {
this             1917 drivers/mtd/nand/onenand/onenand_base.c 			ret = this->wait(mtd, FL_WRITING);
this             1977 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2013 drivers/mtd/nand/onenand/onenand_base.c 	oobbuf = this->oob_buf;
this             2015 drivers/mtd/nand/onenand/onenand_base.c 	oobcmd = ONENAND_IS_4KB_PAGE(this) ? ONENAND_CMD_PROG : ONENAND_CMD_PROGOOB;
this             2023 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_BUFFERRAM, to, mtd->oobsize);
this             2032 drivers/mtd/nand/onenand/onenand_base.c 		this->write_bufferram(mtd, ONENAND_SPARERAM, oobbuf, 0, mtd->oobsize);
this             2034 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_4KB_PAGE(this)) {
this             2036 drivers/mtd/nand/onenand/onenand_base.c 			memset(this->page_buf, 0xff, mtd->writesize);
this             2037 drivers/mtd/nand/onenand/onenand_base.c 			this->write_bufferram(mtd, ONENAND_DATARAM,
this             2038 drivers/mtd/nand/onenand/onenand_base.c 					 this->page_buf, 0, mtd->writesize);
this             2041 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, oobcmd, to, mtd->oobsize);
this             2044 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_2PLANE(this)) {
this             2045 drivers/mtd/nand/onenand/onenand_base.c 			ONENAND_SET_BUFFERRAM1(this);
this             2046 drivers/mtd/nand/onenand/onenand_base.c 			onenand_update_bufferram(mtd, to + this->writesize, 0);
this             2049 drivers/mtd/nand/onenand/onenand_base.c 		ret = this->wait(mtd, FL_WRITING);
this             2118 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2119 drivers/mtd/nand/onenand/onenand_base.c 	struct bbm_info *bbm = this->bbm;
this             2129 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2132 drivers/mtd/nand/onenand/onenand_base.c 	unsigned int block_size = (1 << this->erase_shift);
this             2136 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_ERASE_VERIFY, addr, block_size);
this             2137 drivers/mtd/nand/onenand/onenand_base.c 		ret = this->wait(mtd, FL_VERIFYING_ERASE);
this             2140 drivers/mtd/nand/onenand/onenand_base.c 			       __func__, onenand_block(this, addr));
this             2162 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2169 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_DDP(this)) {
this             2170 drivers/mtd/nand/onenand/onenand_base.c 		loff_t bdry_addr = this->chipsize >> 1;
this             2172 drivers/mtd/nand/onenand/onenand_base.c 			bdry_block = bdry_addr >> this->erase_shift;
this             2201 drivers/mtd/nand/onenand/onenand_base.c 			int this_block = (addr >> this->erase_shift);
this             2212 drivers/mtd/nand/onenand/onenand_base.c 			this->command(mtd, ONENAND_CMD_MULTIBLOCK_ERASE,
this             2216 drivers/mtd/nand/onenand/onenand_base.c 			ret = this->wait(mtd, FL_PREPARING_ERASE);
this             2220 drivers/mtd/nand/onenand/onenand_base.c 				       onenand_block(this, addr));
this             2232 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_ERASE, addr, block_size);
this             2235 drivers/mtd/nand/onenand/onenand_base.c 		ret = this->wait(mtd, FL_ERASING);
this             2239 drivers/mtd/nand/onenand/onenand_base.c 			       __func__, onenand_block(this, addr));
this             2274 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2297 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_ERASE, addr, block_size);
this             2301 drivers/mtd/nand/onenand/onenand_base.c 		ret = this->wait(mtd, FL_ERASING);
this             2305 drivers/mtd/nand/onenand/onenand_base.c 				__func__, onenand_block(this, addr));
this             2341 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2353 drivers/mtd/nand/onenand/onenand_base.c 	if (FLEXONENAND(this)) {
this             2365 drivers/mtd/nand/onenand/onenand_base.c 		block_size = 1 << this->erase_shift;
this             2382 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_4KB_PAGE(this) || region ||
this             2441 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2442 drivers/mtd/nand/onenand/onenand_base.c 	struct bbm_info *bbm = this->bbm;
this             2453 drivers/mtd/nand/onenand/onenand_base.c 	block = onenand_block(this, ofs);
this             2458 drivers/mtd/nand/onenand/onenand_base.c         ofs += mtd->oobsize + (this->badblockpos & ~0x01);
this             2475 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2487 drivers/mtd/nand/onenand/onenand_base.c 	ret = this->block_markbad(mtd, ofs);
this             2503 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2507 drivers/mtd/nand/onenand/onenand_base.c 	start = onenand_block(this, ofs);
this             2508 drivers/mtd/nand/onenand/onenand_base.c 	end = onenand_block(this, ofs + len) - 1;
this             2516 drivers/mtd/nand/onenand/onenand_base.c 	if (this->options & ONENAND_HAS_CONT_LOCK) {
this             2518 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(start, this->base + ONENAND_REG_START_BLOCK_ADDRESS);
this             2520 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(end, this->base +  ONENAND_REG_END_BLOCK_ADDRESS);
this             2522 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, cmd, 0, 0);
this             2525 drivers/mtd/nand/onenand/onenand_base.c 		this->wait(mtd, FL_LOCKING);
this             2528 drivers/mtd/nand/onenand/onenand_base.c 		while (this->read_word(this->base + ONENAND_REG_CTRL_STATUS)
this             2533 drivers/mtd/nand/onenand/onenand_base.c 		status = this->read_word(this->base + ONENAND_REG_WP_STATUS);
this             2544 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_block_address(this, block);
this             2545 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_ADDRESS1);
this             2547 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_bufferram_address(this, block);
this             2548 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_ADDRESS2);
this             2550 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(block, this->base + ONENAND_REG_START_BLOCK_ADDRESS);
this             2552 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, cmd, 0, 0);
this             2555 drivers/mtd/nand/onenand/onenand_base.c 		this->wait(mtd, FL_LOCKING);
this             2558 drivers/mtd/nand/onenand/onenand_base.c 		while (this->read_word(this->base + ONENAND_REG_CTRL_STATUS)
this             2563 drivers/mtd/nand/onenand/onenand_base.c 		status = this->read_word(this->base + ONENAND_REG_WP_STATUS);
this             2614 drivers/mtd/nand/onenand/onenand_base.c static int onenand_check_lock_status(struct onenand_chip *this)
this             2619 drivers/mtd/nand/onenand/onenand_base.c 	end = this->chipsize >> this->erase_shift;
this             2622 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_block_address(this, block);
this             2623 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_ADDRESS1);
this             2625 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_bufferram_address(this, block);
this             2626 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_ADDRESS2);
this             2628 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(block, this->base + ONENAND_REG_START_BLOCK_ADDRESS);
this             2631 drivers/mtd/nand/onenand/onenand_base.c 		status = this->read_word(this->base + ONENAND_REG_WP_STATUS);
this             2650 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2654 drivers/mtd/nand/onenand/onenand_base.c 	if (this->options & ONENAND_HAS_UNLOCK_ALL) {
this             2656 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(0, this->base + ONENAND_REG_START_BLOCK_ADDRESS);
this             2658 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_UNLOCK_ALL, 0, 0);
this             2661 drivers/mtd/nand/onenand/onenand_base.c 		this->wait(mtd, FL_LOCKING);
this             2664 drivers/mtd/nand/onenand/onenand_base.c 		while (this->read_word(this->base + ONENAND_REG_CTRL_STATUS)
this             2669 drivers/mtd/nand/onenand/onenand_base.c 		if (this->options & ONENAND_SKIP_UNLOCK_CHECK)
this             2673 drivers/mtd/nand/onenand/onenand_base.c 		if (onenand_check_lock_status(this))
this             2677 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_DDP(this) && !FLEXONENAND(this)) {
this             2679 drivers/mtd/nand/onenand/onenand_base.c 			ofs = this->chipsize >> 1;
this             2680 drivers/mtd/nand/onenand/onenand_base.c 			len = this->chipsize >> 1;
this             2699 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2705 drivers/mtd/nand/onenand/onenand_base.c 		block = (int) (addr >> this->erase_shift);
this             2710 drivers/mtd/nand/onenand/onenand_base.c 		block = (int) (addr >> this->erase_shift);
this             2711 drivers/mtd/nand/onenand/onenand_base.c 		page = (int) (addr >> this->page_shift);
this             2713 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_2PLANE(this)) {
this             2717 drivers/mtd/nand/onenand/onenand_base.c 			if (addr & this->writesize)
this             2721 drivers/mtd/nand/onenand/onenand_base.c 		page &= this->page_mask;
this             2727 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_block_address(this, block);
this             2728 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base +
this             2739 drivers/mtd/nand/onenand/onenand_base.c 			if (ONENAND_IS_2PLANE(this) && cmd == ONENAND_CMD_PROG)
this             2741 drivers/mtd/nand/onenand/onenand_base.c 			dataram = ONENAND_CURRENT_BUFFERRAM(this);
this             2747 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base +
this             2752 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base + ONENAND_REG_START_BUFFER);
this             2756 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(ONENAND_INT_CLEAR, this->base + ONENAND_REG_INTERRUPT);
this             2759 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(cmd, this->base + ONENAND_REG_COMMAND);
this             2777 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2794 drivers/mtd/nand/onenand/onenand_base.c 	oobbuf = this->oob_buf;
this             2802 drivers/mtd/nand/onenand/onenand_base.c 		block = (int) (to >> this->erase_shift);
this             2808 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_block_address(this, block);
this             2809 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base +
this             2817 drivers/mtd/nand/onenand/onenand_base.c 		value = onenand_bufferram_address(this, block);
this             2818 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word(value, this->base +
this             2820 drivers/mtd/nand/onenand/onenand_base.c 		ONENAND_SET_NEXT_BUFFERRAM(this);
this             2825 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_OTP_ACCESS, 0, 0);
this             2826 drivers/mtd/nand/onenand/onenand_base.c 		this->wait(mtd, FL_OTPING);
this             2838 drivers/mtd/nand/onenand/onenand_base.c 		this->write_bufferram(mtd, ONENAND_SPARERAM,
this             2843 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_2PLANE(this)) {
this             2844 drivers/mtd/nand/onenand/onenand_base.c 			ONENAND_SET_BUFFERRAM1(this);
this             2845 drivers/mtd/nand/onenand/onenand_base.c 			onenand_update_bufferram(mtd, to + this->writesize, 0);
this             2848 drivers/mtd/nand/onenand/onenand_base.c 		ret = this->wait(mtd, FL_WRITING);
this             2855 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_RESET, 0, 0);
this             2856 drivers/mtd/nand/onenand/onenand_base.c 		this->wait(mtd, FL_RESETING);
this             2858 drivers/mtd/nand/onenand/onenand_base.c 		status = this->read_word(this->base + ONENAND_REG_CTRL_STATUS);
this             2908 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2918 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, ONENAND_CMD_OTP_ACCESS, 0, 0);
this             2919 drivers/mtd/nand/onenand/onenand_base.c 	this->wait(mtd, FL_OTPING);
this             2921 drivers/mtd/nand/onenand/onenand_base.c 	ret = ONENAND_IS_4KB_PAGE(this) ?
this             2926 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, ONENAND_CMD_RESET, 0, 0);
this             2927 drivers/mtd/nand/onenand/onenand_base.c 	this->wait(mtd, FL_RESETING);
this             2945 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2952 drivers/mtd/nand/onenand/onenand_base.c 		memcpy(this->page_buf, buf, len);
this             2953 drivers/mtd/nand/onenand/onenand_base.c 		memset(this->page_buf + len, 0xff, mtd->writesize - len);
this             2954 drivers/mtd/nand/onenand/onenand_base.c 		pbuf = this->page_buf;
this             2959 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, ONENAND_CMD_OTP_ACCESS, 0, 0);
this             2960 drivers/mtd/nand/onenand/onenand_base.c 	this->wait(mtd, FL_OTPING);
this             2970 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, ONENAND_CMD_RESET, 0, 0);
this             2971 drivers/mtd/nand/onenand/onenand_base.c 	this->wait(mtd, FL_RESETING);
this             2989 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             2993 drivers/mtd/nand/onenand/onenand_base.c 	if (FLEXONENAND(this)) {
this             2996 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_OTP_ACCESS, 0, 0);
this             2997 drivers/mtd/nand/onenand/onenand_base.c 		this->wait(mtd, FL_OTPING);
this             3010 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_RESET, 0, 0);
this             3011 drivers/mtd/nand/onenand/onenand_base.c 		this->wait(mtd, FL_RESETING);
this             3040 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3047 drivers/mtd/nand/onenand/onenand_base.c 	density = onenand_get_density(this->device_id);
this             3196 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3197 drivers/mtd/nand/onenand/onenand_base.c 	u_char *buf = FLEXONENAND(this) ? this->page_buf : this->oob_buf;
this             3202 drivers/mtd/nand/onenand/onenand_base.c 	memset(buf, 0xff, FLEXONENAND(this) ? this->writesize
this             3212 drivers/mtd/nand/onenand/onenand_base.c 	len = FLEXONENAND(this) ? mtd->writesize : 16;
this             3220 drivers/mtd/nand/onenand/onenand_base.c 	if (FLEXONENAND(this))
this             3250 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3254 drivers/mtd/nand/onenand/onenand_base.c 	density = onenand_get_density(this->device_id);
this             3255 drivers/mtd/nand/onenand/onenand_base.c 	process = this->version_id >> ONENAND_VERSION_PROCESS_SHIFT;
this             3256 drivers/mtd/nand/onenand/onenand_base.c 	numbufs = this->read_word(this->base + ONENAND_REG_NUM_BUFFERS) >> 8;
this             3261 drivers/mtd/nand/onenand/onenand_base.c 		this->options |= ONENAND_HAS_NOP_1;
this             3264 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_DDP(this))
this             3265 drivers/mtd/nand/onenand/onenand_base.c 			this->options |= ONENAND_HAS_2PLANE;
this             3267 drivers/mtd/nand/onenand/onenand_base.c 			this->options |= ONENAND_HAS_4KB_PAGE;
this             3268 drivers/mtd/nand/onenand/onenand_base.c 			this->options |= ONENAND_HAS_CACHE_PROGRAM;
this             3280 drivers/mtd/nand/onenand/onenand_base.c 			if ((this->version_id & 0xf) == 0xe)
this             3281 drivers/mtd/nand/onenand/onenand_base.c 				this->options |= ONENAND_HAS_NOP_1;
this             3283 drivers/mtd/nand/onenand/onenand_base.c 		this->options |= ONENAND_HAS_UNLOCK_ALL;
this             3288 drivers/mtd/nand/onenand/onenand_base.c 		if (!ONENAND_IS_DDP(this))
this             3289 drivers/mtd/nand/onenand/onenand_base.c 			this->options |= ONENAND_HAS_2PLANE;
this             3290 drivers/mtd/nand/onenand/onenand_base.c 		this->options |= ONENAND_HAS_UNLOCK_ALL;
this             3296 drivers/mtd/nand/onenand/onenand_base.c 			this->options |= ONENAND_HAS_UNLOCK_ALL;
this             3302 drivers/mtd/nand/onenand/onenand_base.c 			this->options |= ONENAND_HAS_CONT_LOCK;
this             3307 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_MLC(this))
this             3308 drivers/mtd/nand/onenand/onenand_base.c 		this->options |= ONENAND_HAS_4KB_PAGE;
this             3310 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_4KB_PAGE(this))
this             3311 drivers/mtd/nand/onenand/onenand_base.c 		this->options &= ~ONENAND_HAS_2PLANE;
this             3313 drivers/mtd/nand/onenand/onenand_base.c 	if (FLEXONENAND(this)) {
this             3314 drivers/mtd/nand/onenand/onenand_base.c 		this->options &= ~ONENAND_HAS_CONT_LOCK;
this             3315 drivers/mtd/nand/onenand/onenand_base.c 		this->options |= ONENAND_HAS_UNLOCK_ALL;
this             3318 drivers/mtd/nand/onenand/onenand_base.c 	if (this->options & ONENAND_HAS_CONT_LOCK)
this             3320 drivers/mtd/nand/onenand/onenand_base.c 	if (this->options & ONENAND_HAS_UNLOCK_ALL)
this             3322 drivers/mtd/nand/onenand/onenand_base.c 	if (this->options & ONENAND_HAS_2PLANE)
this             3324 drivers/mtd/nand/onenand/onenand_base.c 	if (this->options & ONENAND_HAS_4KB_PAGE)
this             3326 drivers/mtd/nand/onenand/onenand_base.c 	if (this->options & ONENAND_HAS_CACHE_PROGRAM)
this             3393 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3398 drivers/mtd/nand/onenand/onenand_base.c 	syscfg = this->read_word(this->base + ONENAND_REG_SYS_CFG1);
this             3399 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word((syscfg | 0x0100), this->base + ONENAND_REG_SYS_CFG1);
this             3401 drivers/mtd/nand/onenand/onenand_base.c 	for (die = 0; die < this->dies; die++) {
this             3402 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, FLEXONENAND_CMD_PI_ACCESS, die, 0);
this             3403 drivers/mtd/nand/onenand/onenand_base.c 		this->wait(mtd, FL_SYNCING);
this             3405 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, FLEXONENAND_CMD_READ_PI, die, 0);
this             3406 drivers/mtd/nand/onenand/onenand_base.c 		this->wait(mtd, FL_READING);
this             3408 drivers/mtd/nand/onenand/onenand_base.c 		bdry = this->read_word(this->base + ONENAND_DATARAM);
this             3413 drivers/mtd/nand/onenand/onenand_base.c 		this->boundary[die] = bdry & FLEXONENAND_PI_MASK;
this             3415 drivers/mtd/nand/onenand/onenand_base.c 		this->command(mtd, ONENAND_CMD_RESET, 0, 0);
this             3416 drivers/mtd/nand/onenand/onenand_base.c 		this->wait(mtd, FL_RESETING);
this             3419 drivers/mtd/nand/onenand/onenand_base.c 		       this->boundary[die], locked ? "(Locked)" : "(Unlocked)");
this             3423 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(syscfg, this->base + ONENAND_REG_SYS_CFG1);
this             3434 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3439 drivers/mtd/nand/onenand/onenand_base.c 	density = onenand_get_density(this->device_id);
this             3440 drivers/mtd/nand/onenand/onenand_base.c 	blksperdie = ((loff_t)(16 << density) << 20) >> (this->erase_shift);
this             3441 drivers/mtd/nand/onenand/onenand_base.c 	blksperdie >>= ONENAND_IS_DDP(this) ? 1 : 0;
this             3443 drivers/mtd/nand/onenand/onenand_base.c 	eraseshift = this->erase_shift - 1;
this             3445 drivers/mtd/nand/onenand/onenand_base.c 	mtd->numeraseregions = this->dies << 1;
this             3451 drivers/mtd/nand/onenand/onenand_base.c 	for (; die < this->dies; die++) {
this             3452 drivers/mtd/nand/onenand/onenand_base.c 		if (!die || this->boundary[die-1] != maxbdry) {
this             3457 drivers/mtd/nand/onenand/onenand_base.c 							this->boundary[die] + 1;
this             3463 drivers/mtd/nand/onenand/onenand_base.c 							this->boundary[die] + 1;
this             3464 drivers/mtd/nand/onenand/onenand_base.c 			ofs += (this->boundary[die] + 1) << (eraseshift - 1);
this             3466 drivers/mtd/nand/onenand/onenand_base.c 		if (this->boundary[die] != maxbdry) {
this             3471 drivers/mtd/nand/onenand/onenand_base.c 							 this->boundary[die];
this             3479 drivers/mtd/nand/onenand/onenand_base.c 	mtd->erasesize = 1 << this->erase_shift;
this             3491 drivers/mtd/nand/onenand/onenand_base.c 	for (die = 0, mtd->size = 0; die < this->dies; die++) {
this             3492 drivers/mtd/nand/onenand/onenand_base.c 		this->diesize[die] = (loff_t)blksperdie << this->erase_shift;
this             3493 drivers/mtd/nand/onenand/onenand_base.c 		this->diesize[die] -= (loff_t)(this->boundary[die] + 1)
this             3494 drivers/mtd/nand/onenand/onenand_base.c 						 << (this->erase_shift - 1);
this             3495 drivers/mtd/nand/onenand/onenand_base.c 		mtd->size += this->diesize[die];
this             3515 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3523 drivers/mtd/nand/onenand/onenand_base.c 		.oobbuf	= this->oob_buf,
this             3530 drivers/mtd/nand/onenand/onenand_base.c 		addr = flexonenand_addr(this, block);
this             3543 drivers/mtd/nand/onenand/onenand_base.c 			if (this->oob_buf[i] != 0xff)
this             3563 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3568 drivers/mtd/nand/onenand/onenand_base.c 	if (die && (!ONENAND_IS_DDP(this)))
this             3572 drivers/mtd/nand/onenand/onenand_base.c 	if (boundary < 0 || boundary == this->boundary[die])
this             3575 drivers/mtd/nand/onenand/onenand_base.c 	density = onenand_get_density(this->device_id);
this             3576 drivers/mtd/nand/onenand/onenand_base.c 	blksperdie = ((16 << density) << 20) >> this->erase_shift;
this             3577 drivers/mtd/nand/onenand/onenand_base.c 	blksperdie >>= ONENAND_IS_DDP(this) ? 1 : 0;
this             3586 drivers/mtd/nand/onenand/onenand_base.c 	old = this->boundary[die] + (die * this->density_mask);
this             3587 drivers/mtd/nand/onenand/onenand_base.c 	new = boundary + (die * this->density_mask);
this             3595 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, FLEXONENAND_CMD_PI_ACCESS, die, 0);
this             3596 drivers/mtd/nand/onenand/onenand_base.c 	this->wait(mtd, FL_SYNCING);
this             3599 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, FLEXONENAND_CMD_READ_PI, die, 0);
this             3600 drivers/mtd/nand/onenand/onenand_base.c 	this->wait(mtd, FL_READING);
this             3602 drivers/mtd/nand/onenand/onenand_base.c 	thisboundary = this->read_word(this->base + ONENAND_DATARAM);
this             3612 drivers/mtd/nand/onenand/onenand_base.c 	addr = die ? this->diesize[0] : 0;
this             3617 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, ONENAND_CMD_ERASE, addr, 0);
this             3618 drivers/mtd/nand/onenand/onenand_base.c 	ret = this->wait(mtd, FL_ERASING);
this             3625 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(boundary, this->base + ONENAND_DATARAM);
this             3626 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, ONENAND_CMD_PROG, addr, 0);
this             3627 drivers/mtd/nand/onenand/onenand_base.c 	ret = this->wait(mtd, FL_WRITING);
this             3634 drivers/mtd/nand/onenand/onenand_base.c 	this->command(mtd, FLEXONENAND_CMD_PI_UPDATE, die, 0);
this             3635 drivers/mtd/nand/onenand/onenand_base.c 	ret = this->wait(mtd, FL_WRITING);
this             3637 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(ONENAND_CMD_RESET, this->base + ONENAND_REG_COMMAND);
this             3638 drivers/mtd/nand/onenand/onenand_base.c 	this->wait(mtd, FL_RESETING);
this             3655 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3660 drivers/mtd/nand/onenand/onenand_base.c 	syscfg = this->read_word(this->base + ONENAND_REG_SYS_CFG1);
this             3662 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word((syscfg & ~ONENAND_SYS_CFG1_SYNC_READ & ~ONENAND_SYS_CFG1_SYNC_WRITE), this->base + ONENAND_REG_SYS_CFG1);
this             3665 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(ONENAND_CMD_READID, this->base + ONENAND_BOOTRAM);
this             3668 drivers/mtd/nand/onenand/onenand_base.c 	bram_maf_id = this->read_word(this->base + ONENAND_BOOTRAM + 0x0);
this             3669 drivers/mtd/nand/onenand/onenand_base.c 	bram_dev_id = this->read_word(this->base + ONENAND_BOOTRAM + 0x2);
this             3672 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(ONENAND_CMD_RESET, this->base + ONENAND_BOOTRAM);
this             3674 drivers/mtd/nand/onenand/onenand_base.c 	this->wait(mtd, FL_RESETING);
this             3677 drivers/mtd/nand/onenand/onenand_base.c 	this->write_word(syscfg, this->base + ONENAND_REG_SYS_CFG1);
this             3684 drivers/mtd/nand/onenand/onenand_base.c 	maf_id = this->read_word(this->base + ONENAND_REG_MANUFACTURER_ID);
this             3685 drivers/mtd/nand/onenand/onenand_base.c 	dev_id = this->read_word(this->base + ONENAND_REG_DEVICE_ID);
this             3700 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3705 drivers/mtd/nand/onenand/onenand_base.c 	ret = this->chip_probe(mtd);
this             3710 drivers/mtd/nand/onenand/onenand_base.c 	dev_id = this->read_word(this->base + ONENAND_REG_DEVICE_ID);
this             3711 drivers/mtd/nand/onenand/onenand_base.c 	ver_id = this->read_word(this->base + ONENAND_REG_VERSION_ID);
this             3712 drivers/mtd/nand/onenand/onenand_base.c 	this->technology = this->read_word(this->base + ONENAND_REG_TECHNOLOGY);
this             3716 drivers/mtd/nand/onenand/onenand_base.c 	this->device_id = dev_id;
this             3717 drivers/mtd/nand/onenand/onenand_base.c 	this->version_id = ver_id;
this             3723 drivers/mtd/nand/onenand/onenand_base.c 	if (FLEXONENAND(this)) {
this             3724 drivers/mtd/nand/onenand/onenand_base.c 		this->dies = ONENAND_IS_DDP(this) ? 2 : 1;
this             3726 drivers/mtd/nand/onenand/onenand_base.c 		mtd->numeraseregions = this->dies << 1;
this             3728 drivers/mtd/nand/onenand/onenand_base.c 			kcalloc(this->dies << 1,
this             3739 drivers/mtd/nand/onenand/onenand_base.c 	this->chipsize = (16 << density) << 20;
this             3743 drivers/mtd/nand/onenand/onenand_base.c 	mtd->writesize = this->read_word(this->base + ONENAND_REG_DATA_BUFFER_SIZE);
this             3745 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_4KB_PAGE(this))
this             3756 drivers/mtd/nand/onenand/onenand_base.c 	if (FLEXONENAND(this))
this             3759 drivers/mtd/nand/onenand/onenand_base.c 	this->erase_shift = ffs(mtd->erasesize) - 1;
this             3760 drivers/mtd/nand/onenand/onenand_base.c 	this->page_shift = ffs(mtd->writesize) - 1;
this             3761 drivers/mtd/nand/onenand/onenand_base.c 	this->page_mask = (1 << (this->erase_shift - this->page_shift)) - 1;
this             3763 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_DDP(this))
this             3764 drivers/mtd/nand/onenand/onenand_base.c 		this->density_mask = this->chipsize >> (this->erase_shift + 1);
this             3766 drivers/mtd/nand/onenand/onenand_base.c 	this->writesize = mtd->writesize;
this             3770 drivers/mtd/nand/onenand/onenand_base.c 	if (FLEXONENAND(this))
this             3773 drivers/mtd/nand/onenand/onenand_base.c 		mtd->size = this->chipsize;
this             3781 drivers/mtd/nand/onenand/onenand_base.c 	if (ONENAND_IS_2PLANE(this)) {
this             3804 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3806 drivers/mtd/nand/onenand/onenand_base.c 	if (this->state == FL_PM_SUSPENDED)
this             3826 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             3828 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->read_word)
this             3829 drivers/mtd/nand/onenand/onenand_base.c 		this->read_word = onenand_readw;
this             3830 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->write_word)
this             3831 drivers/mtd/nand/onenand/onenand_base.c 		this->write_word = onenand_writew;
this             3833 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->command)
this             3834 drivers/mtd/nand/onenand/onenand_base.c 		this->command = onenand_command;
this             3835 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->wait)
this             3837 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->bbt_wait)
this             3838 drivers/mtd/nand/onenand/onenand_base.c 		this->bbt_wait = onenand_bbt_wait;
this             3839 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->unlock_all)
this             3840 drivers/mtd/nand/onenand/onenand_base.c 		this->unlock_all = onenand_unlock_all;
this             3842 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->chip_probe)
this             3843 drivers/mtd/nand/onenand/onenand_base.c 		this->chip_probe = onenand_chip_probe;
this             3845 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->read_bufferram)
this             3846 drivers/mtd/nand/onenand/onenand_base.c 		this->read_bufferram = onenand_read_bufferram;
this             3847 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->write_bufferram)
this             3848 drivers/mtd/nand/onenand/onenand_base.c 		this->write_bufferram = onenand_write_bufferram;
this             3850 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->block_markbad)
this             3851 drivers/mtd/nand/onenand/onenand_base.c 		this->block_markbad = onenand_default_block_markbad;
this             3852 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->scan_bbt)
this             3853 drivers/mtd/nand/onenand/onenand_base.c 		this->scan_bbt = onenand_default_bbt;
this             3859 drivers/mtd/nand/onenand/onenand_base.c 	if (this->mmcontrol) {
this             3861 drivers/mtd/nand/onenand/onenand_base.c 		this->read_bufferram = onenand_sync_read_bufferram;
this             3865 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->page_buf) {
this             3866 drivers/mtd/nand/onenand/onenand_base.c 		this->page_buf = kzalloc(mtd->writesize, GFP_KERNEL);
this             3867 drivers/mtd/nand/onenand/onenand_base.c 		if (!this->page_buf)
this             3870 drivers/mtd/nand/onenand/onenand_base.c 		this->verify_buf = kzalloc(mtd->writesize, GFP_KERNEL);
this             3871 drivers/mtd/nand/onenand/onenand_base.c 		if (!this->verify_buf) {
this             3872 drivers/mtd/nand/onenand/onenand_base.c 			kfree(this->page_buf);
this             3876 drivers/mtd/nand/onenand/onenand_base.c 		this->options |= ONENAND_PAGEBUF_ALLOC;
this             3878 drivers/mtd/nand/onenand/onenand_base.c 	if (!this->oob_buf) {
this             3879 drivers/mtd/nand/onenand/onenand_base.c 		this->oob_buf = kzalloc(mtd->oobsize, GFP_KERNEL);
this             3880 drivers/mtd/nand/onenand/onenand_base.c 		if (!this->oob_buf) {
this             3881 drivers/mtd/nand/onenand/onenand_base.c 			if (this->options & ONENAND_PAGEBUF_ALLOC) {
this             3882 drivers/mtd/nand/onenand/onenand_base.c 				this->options &= ~ONENAND_PAGEBUF_ALLOC;
this             3884 drivers/mtd/nand/onenand/onenand_base.c 				kfree(this->verify_buf);
this             3886 drivers/mtd/nand/onenand/onenand_base.c 				kfree(this->page_buf);
this             3890 drivers/mtd/nand/onenand/onenand_base.c 		this->options |= ONENAND_OOBBUF_ALLOC;
this             3893 drivers/mtd/nand/onenand/onenand_base.c 	this->state = FL_READY;
this             3894 drivers/mtd/nand/onenand/onenand_base.c 	init_waitqueue_head(&this->wq);
this             3895 drivers/mtd/nand/onenand/onenand_base.c 	spin_lock_init(&this->chip_lock);
this             3902 drivers/mtd/nand/onenand/onenand_base.c 		if (FLEXONENAND(this)) {
this             3909 drivers/mtd/nand/onenand/onenand_base.c 		if (ONENAND_IS_NOP_1(this))
this             3931 drivers/mtd/nand/onenand/onenand_base.c 	this->subpagesize = mtd->writesize >> mtd->subpage_sft;
this             3946 drivers/mtd/nand/onenand/onenand_base.c 	mtd->type = ONENAND_IS_MLC(this) ? MTD_MLCNANDFLASH : MTD_NANDFLASH;
this             3973 drivers/mtd/nand/onenand/onenand_base.c 	if (!(this->options & ONENAND_SKIP_INITIAL_UNLOCKING))
this             3974 drivers/mtd/nand/onenand/onenand_base.c 		this->unlock_all(mtd);
this             3977 drivers/mtd/nand/onenand/onenand_base.c 	this->badblockpos = ONENAND_BADBLOCK_POS;
this             3979 drivers/mtd/nand/onenand/onenand_base.c 	ret = this->scan_bbt(mtd);
this             3980 drivers/mtd/nand/onenand/onenand_base.c 	if ((!FLEXONENAND(this)) || ret)
this             3997 drivers/mtd/nand/onenand/onenand_base.c 	struct onenand_chip *this = mtd->priv;
this             4003 drivers/mtd/nand/onenand/onenand_base.c 	if (this->bbm) {
this             4004 drivers/mtd/nand/onenand/onenand_base.c 		struct bbm_info *bbm = this->bbm;
this             4006 drivers/mtd/nand/onenand/onenand_base.c 		kfree(this->bbm);
this             4009 drivers/mtd/nand/onenand/onenand_base.c 	if (this->options & ONENAND_PAGEBUF_ALLOC) {
this             4010 drivers/mtd/nand/onenand/onenand_base.c 		kfree(this->page_buf);
this             4012 drivers/mtd/nand/onenand/onenand_base.c 		kfree(this->verify_buf);
this             4015 drivers/mtd/nand/onenand/onenand_base.c 	if (this->options & ONENAND_OOBBUF_ALLOC)
this             4016 drivers/mtd/nand/onenand/onenand_base.c 		kfree(this->oob_buf);
this               58 drivers/mtd/nand/onenand/onenand_bbt.c 	struct onenand_chip *this = mtd->priv;
this               59 drivers/mtd/nand/onenand/onenand_bbt.c 	struct bbm_info *bbm = this->bbm;
this               79 drivers/mtd/nand/onenand/onenand_bbt.c 	numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1);
this               95 drivers/mtd/nand/onenand/onenand_bbt.c 				from + j * this->writesize + bd->offs, &ops);
this              102 drivers/mtd/nand/onenand/onenand_bbt.c 					       scanlen, this->writesize, bd)) {
this              112 drivers/mtd/nand/onenand/onenand_bbt.c 		if (FLEXONENAND(this)) {
this              133 drivers/mtd/nand/onenand/onenand_bbt.c 	struct onenand_chip *this = mtd->priv;
this              135 drivers/mtd/nand/onenand/onenand_bbt.c 	return create_bbt(mtd, this->page_buf, bd, -1);
this              146 drivers/mtd/nand/onenand/onenand_bbt.c 	struct onenand_chip *this = mtd->priv;
this              147 drivers/mtd/nand/onenand/onenand_bbt.c 	struct bbm_info *bbm = this->bbm;
this              152 drivers/mtd/nand/onenand/onenand_bbt.c 	block = (int) (onenand_block(this, offs) << 1);
this              183 drivers/mtd/nand/onenand/onenand_bbt.c 	struct onenand_chip *this = mtd->priv;
this              184 drivers/mtd/nand/onenand/onenand_bbt.c 	struct bbm_info *bbm = this->bbm;
this              187 drivers/mtd/nand/onenand/onenand_bbt.c 	len = this->chipsize >> (this->erase_shift + 2);
this              194 drivers/mtd/nand/onenand/onenand_bbt.c 	bbm->bbt_erase_shift = this->erase_shift;
this              231 drivers/mtd/nand/onenand/onenand_bbt.c 	struct onenand_chip *this = mtd->priv;
this              234 drivers/mtd/nand/onenand/onenand_bbt.c 	this->bbm = kzalloc(sizeof(struct bbm_info), GFP_KERNEL);
this              235 drivers/mtd/nand/onenand/onenand_bbt.c 	if (!this->bbm)
this              238 drivers/mtd/nand/onenand/onenand_bbt.c 	bbm = this->bbm;
this              218 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = onenand->mtd->priv;
this              220 drivers/mtd/nand/onenand/samsung.c 	int reg = addr - this->base;
this              268 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = onenand->mtd->priv;
this              270 drivers/mtd/nand/onenand/samsung.c 	unsigned int reg = addr - this->base;
this              379 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = mtd->priv;
this              386 drivers/mtd/nand/onenand/samsung.c 	fba = (int) (addr >> this->erase_shift);
this              387 drivers/mtd/nand/onenand/samsung.c 	fpa = (int) (addr >> this->page_shift);
this              388 drivers/mtd/nand/onenand/samsung.c 	fpa &= this->page_mask;
this              398 drivers/mtd/nand/onenand/samsung.c 		ONENAND_SET_NEXT_BUFFERRAM(this);
this              403 drivers/mtd/nand/onenand/samsung.c 	index = ONENAND_CURRENT_BUFFERRAM(this);
this              412 drivers/mtd/nand/onenand/samsung.c 		m += (this->writesize >> 2);
this              476 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = mtd->priv;
this              477 drivers/mtd/nand/onenand/samsung.c 	int index = ONENAND_CURRENT_BUFFERRAM(this);
this              483 drivers/mtd/nand/onenand/samsung.c 			p += this->writesize;
this              618 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = mtd->priv;
this              625 drivers/mtd/nand/onenand/samsung.c 	p = this->base + area;
this              626 drivers/mtd/nand/onenand/samsung.c 	if (ONENAND_CURRENT_BUFFERRAM(this)) {
this              628 drivers/mtd/nand/onenand/samsung.c 			p += this->writesize;
this              653 drivers/mtd/nand/onenand/samsung.c 		dma_src = onenand->phys_base + (p - this->base);
this              657 drivers/mtd/nand/onenand/samsung.c 		dma_src = onenand->phys_base + (p - this->base);
this              678 drivers/mtd/nand/onenand/samsung.c 		memcpy(this->page_buf, p, mtd->writesize);
this              679 drivers/mtd/nand/onenand/samsung.c 		p = this->page_buf + offset;
this              728 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = mtd->priv;
this              733 drivers/mtd/nand/onenand/samsung.c 	end = this->chipsize >> this->erase_shift;
this              749 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = mtd->priv;
this              752 drivers/mtd/nand/onenand/samsung.c 	start = ofs >> this->erase_shift;
this              754 drivers/mtd/nand/onenand/samsung.c 	end = start + (len >> this->erase_shift) - 1;
this              769 drivers/mtd/nand/onenand/samsung.c 	this->wait(mtd, FL_LOCKING);
this              774 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = mtd->priv;
this              776 drivers/mtd/nand/onenand/samsung.c 	size_t len = this->chipsize;
this              778 drivers/mtd/nand/onenand/samsung.c 	if (this->options & ONENAND_HAS_UNLOCK_ALL) {
this              780 drivers/mtd/nand/onenand/samsung.c 		this->command(mtd, ONENAND_CMD_UNLOCK_ALL, 0, 0);
this              783 drivers/mtd/nand/onenand/samsung.c 		this->wait(mtd, FL_LOCKING);
this              786 drivers/mtd/nand/onenand/samsung.c 		if (!ONENAND_IS_DDP(this)) {
this              792 drivers/mtd/nand/onenand/samsung.c 		ofs = this->chipsize >> 1;
this              793 drivers/mtd/nand/onenand/samsung.c 		len = this->chipsize >> 1;
this              803 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = mtd->priv;
this              815 drivers/mtd/nand/onenand/samsung.c 		this->read_bufferram = s5pc110_read_bufferram;
this              816 drivers/mtd/nand/onenand/samsung.c 		this->chip_probe = s5pc110_chip_probe;
this              822 drivers/mtd/nand/onenand/samsung.c 	this->read_word = s3c_onenand_readw;
this              823 drivers/mtd/nand/onenand/samsung.c 	this->write_word = s3c_onenand_writew;
this              825 drivers/mtd/nand/onenand/samsung.c 	this->wait = s3c_onenand_wait;
this              826 drivers/mtd/nand/onenand/samsung.c 	this->bbt_wait = s3c_onenand_bbt_wait;
this              827 drivers/mtd/nand/onenand/samsung.c 	this->unlock_all = s3c_unlock_all;
this              828 drivers/mtd/nand/onenand/samsung.c 	this->command = s3c_onenand_command;
this              830 drivers/mtd/nand/onenand/samsung.c 	this->read_bufferram = onenand_read_bufferram;
this              831 drivers/mtd/nand/onenand/samsung.c 	this->write_bufferram = onenand_write_bufferram;
this              837 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this;
this              855 drivers/mtd/nand/onenand/samsung.c 	this = (struct onenand_chip *) &mtd[1];
this              856 drivers/mtd/nand/onenand/samsung.c 	mtd->priv = this;
this              871 drivers/mtd/nand/onenand/samsung.c 	this->base = onenand->base;
this              874 drivers/mtd/nand/onenand/samsung.c 	this->options |= ONENAND_SKIP_UNLOCK_CHECK;
this              895 drivers/mtd/nand/onenand/samsung.c 		this->subpagesize = mtd->writesize;
this              927 drivers/mtd/nand/onenand/samsung.c 		this->subpagesize = mtd->writesize;
this              958 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = mtd->priv;
this              960 drivers/mtd/nand/onenand/samsung.c 	this->wait(mtd, FL_PM_SUSPENDED);
this              967 drivers/mtd/nand/onenand/samsung.c 	struct onenand_chip *this = mtd->priv;
this              969 drivers/mtd/nand/onenand/samsung.c 	this->unlock_all(mtd);
this              159 drivers/mtd/nand/raw/ams-delta.c static int ams_delta_exec_op(struct nand_chip *this,
this              162 drivers/mtd/nand/raw/ams-delta.c 	struct ams_delta_nand *priv = nand_get_controller_data(this);
this              198 drivers/mtd/nand/raw/ams-delta.c 			      nand_gpio_waitrdy(this, priv->gpiod_rdy,
this              200 drivers/mtd/nand/raw/ams-delta.c 			      nand_soft_waitrdy(this,
this              224 drivers/mtd/nand/raw/ams-delta.c 	struct nand_chip *this;
this              235 drivers/mtd/nand/raw/ams-delta.c 	this = &priv->nand_chip;
this              237 drivers/mtd/nand/raw/ams-delta.c 	mtd = nand_to_mtd(this);
this              240 drivers/mtd/nand/raw/ams-delta.c 	nand_set_controller_data(this, priv);
this              249 drivers/mtd/nand/raw/ams-delta.c 	this->ecc.mode = NAND_ECC_SOFT;
this              250 drivers/mtd/nand/raw/ams-delta.c 	this->ecc.algo = NAND_ECC_HAMMING;
this              310 drivers/mtd/nand/raw/ams-delta.c 	this->controller = &priv->base;
this              313 drivers/mtd/nand/raw/ams-delta.c 	err = nand_scan(this, 1);
this              326 drivers/mtd/nand/raw/ams-delta.c 	nand_cleanup(this);
this               32 drivers/mtd/nand/raw/au1550nd.c static u_char au_read_byte(struct nand_chip *this)
this               34 drivers/mtd/nand/raw/au1550nd.c 	u_char ret = readb(this->legacy.IO_ADDR_R);
this               46 drivers/mtd/nand/raw/au1550nd.c static void au_write_byte(struct nand_chip *this, u_char byte)
this               48 drivers/mtd/nand/raw/au1550nd.c 	writeb(byte, this->legacy.IO_ADDR_W);
this               58 drivers/mtd/nand/raw/au1550nd.c static u_char au_read_byte16(struct nand_chip *this)
this               60 drivers/mtd/nand/raw/au1550nd.c 	u_char ret = (u_char) cpu_to_le16(readw(this->legacy.IO_ADDR_R));
this               72 drivers/mtd/nand/raw/au1550nd.c static void au_write_byte16(struct nand_chip *this, u_char byte)
this               74 drivers/mtd/nand/raw/au1550nd.c 	writew(le16_to_cpu((u16) byte), this->legacy.IO_ADDR_W);
this               86 drivers/mtd/nand/raw/au1550nd.c static void au_write_buf(struct nand_chip *this, const u_char *buf, int len)
this               91 drivers/mtd/nand/raw/au1550nd.c 		writeb(buf[i], this->legacy.IO_ADDR_W);
this              104 drivers/mtd/nand/raw/au1550nd.c static void au_read_buf(struct nand_chip *this, u_char *buf, int len)
this              109 drivers/mtd/nand/raw/au1550nd.c 		buf[i] = readb(this->legacy.IO_ADDR_R);
this              122 drivers/mtd/nand/raw/au1550nd.c static void au_write_buf16(struct nand_chip *this, const u_char *buf, int len)
this              129 drivers/mtd/nand/raw/au1550nd.c 		writew(p[i], this->legacy.IO_ADDR_W);
this              143 drivers/mtd/nand/raw/au1550nd.c static void au_read_buf16(struct nand_chip *this, u_char *buf, int len)
this              150 drivers/mtd/nand/raw/au1550nd.c 		p[i] = readw(this->legacy.IO_ADDR_R);
this              170 drivers/mtd/nand/raw/au1550nd.c 	struct nand_chip *this = mtd_to_nand(mtd);
this              171 drivers/mtd/nand/raw/au1550nd.c 	struct au1550nd_ctx *ctx = container_of(this, struct au1550nd_ctx,
this              177 drivers/mtd/nand/raw/au1550nd.c 		this->legacy.IO_ADDR_W = ctx->base + MEM_STNAND_CMD;
this              181 drivers/mtd/nand/raw/au1550nd.c 		this->legacy.IO_ADDR_W = ctx->base + MEM_STNAND_DATA;
this              185 drivers/mtd/nand/raw/au1550nd.c 		this->legacy.IO_ADDR_W = ctx->base + MEM_STNAND_ADDR;
this              189 drivers/mtd/nand/raw/au1550nd.c 		this->legacy.IO_ADDR_W = ctx->base + MEM_STNAND_DATA;
this              206 drivers/mtd/nand/raw/au1550nd.c 	this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W;
this              211 drivers/mtd/nand/raw/au1550nd.c int au1550_device_ready(struct nand_chip *this)
this              228 drivers/mtd/nand/raw/au1550nd.c static void au1550_select_chip(struct nand_chip *this, int chip)
this              239 drivers/mtd/nand/raw/au1550nd.c static void au1550_command(struct nand_chip *this, unsigned command,
this              242 drivers/mtd/nand/raw/au1550nd.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              243 drivers/mtd/nand/raw/au1550nd.c 	struct au1550nd_ctx *ctx = container_of(this, struct au1550nd_ctx,
this              267 drivers/mtd/nand/raw/au1550nd.c 		ctx->write_byte(this, readcmd);
this              269 drivers/mtd/nand/raw/au1550nd.c 	ctx->write_byte(this, command);
this              280 drivers/mtd/nand/raw/au1550nd.c 			if (this->options & NAND_BUSWIDTH_16 &&
this              283 drivers/mtd/nand/raw/au1550nd.c 			ctx->write_byte(this, column);
this              286 drivers/mtd/nand/raw/au1550nd.c 			ctx->write_byte(this, (u8)(page_addr & 0xff));
this              304 drivers/mtd/nand/raw/au1550nd.c 			ctx->write_byte(this, (u8)(page_addr >> 8));
this              306 drivers/mtd/nand/raw/au1550nd.c 			if (this->options & NAND_ROW_ADDR_3)
this              307 drivers/mtd/nand/raw/au1550nd.c 				ctx->write_byte(this,
this              340 drivers/mtd/nand/raw/au1550nd.c 		for (i = this->legacy.chip_delay;
this              341 drivers/mtd/nand/raw/au1550nd.c 		     !this->legacy.dev_ready(this) && i > 0; --i)
this              352 drivers/mtd/nand/raw/au1550nd.c 	while(!this->legacy.dev_ready(this));
this              380 drivers/mtd/nand/raw/au1550nd.c 	struct nand_chip *this;
this              414 drivers/mtd/nand/raw/au1550nd.c 	this = &ctx->chip;
this              415 drivers/mtd/nand/raw/au1550nd.c 	mtd = nand_to_mtd(this);
this              427 drivers/mtd/nand/raw/au1550nd.c 	this->legacy.dev_ready = au1550_device_ready;
this              428 drivers/mtd/nand/raw/au1550nd.c 	this->legacy.select_chip = au1550_select_chip;
this              429 drivers/mtd/nand/raw/au1550nd.c 	this->legacy.cmdfunc = au1550_command;
this              432 drivers/mtd/nand/raw/au1550nd.c 	this->legacy.chip_delay = 30;
this              433 drivers/mtd/nand/raw/au1550nd.c 	this->ecc.mode = NAND_ECC_SOFT;
this              434 drivers/mtd/nand/raw/au1550nd.c 	this->ecc.algo = NAND_ECC_HAMMING;
this              437 drivers/mtd/nand/raw/au1550nd.c 		this->options |= NAND_BUSWIDTH_16;
this              439 drivers/mtd/nand/raw/au1550nd.c 	this->legacy.read_byte = (pd->devwidth) ? au_read_byte16 : au_read_byte;
this              441 drivers/mtd/nand/raw/au1550nd.c 	this->legacy.write_buf = (pd->devwidth) ? au_write_buf16 : au_write_buf;
this              442 drivers/mtd/nand/raw/au1550nd.c 	this->legacy.read_buf = (pd->devwidth) ? au_read_buf16 : au_read_buf;
this              444 drivers/mtd/nand/raw/au1550nd.c 	ret = nand_scan(this, 1);
this               48 drivers/mtd/nand/raw/cmx270_nand.c static u_char cmx270_read_byte(struct nand_chip *this)
this               50 drivers/mtd/nand/raw/cmx270_nand.c 	return (readl(this->legacy.IO_ADDR_R) >> 16);
this               53 drivers/mtd/nand/raw/cmx270_nand.c static void cmx270_write_buf(struct nand_chip *this, const u_char *buf,
this               59 drivers/mtd/nand/raw/cmx270_nand.c 		writel((*buf++ << 16), this->legacy.IO_ADDR_W);
this               62 drivers/mtd/nand/raw/cmx270_nand.c static void cmx270_read_buf(struct nand_chip *this, u_char *buf, int len)
this               67 drivers/mtd/nand/raw/cmx270_nand.c 		*buf++ = readl(this->legacy.IO_ADDR_R) >> 16;
this               85 drivers/mtd/nand/raw/cmx270_nand.c static void cmx270_hwcontrol(struct nand_chip *this, int dat,
this               88 drivers/mtd/nand/raw/cmx270_nand.c 	unsigned int nandaddr = (unsigned int)this->legacy.IO_ADDR_W;
this              108 drivers/mtd/nand/raw/cmx270_nand.c 	this->legacy.IO_ADDR_W = (void __iomem*)nandaddr;
this              110 drivers/mtd/nand/raw/cmx270_nand.c 		writel((dat << 16), this->legacy.IO_ADDR_W);
this              118 drivers/mtd/nand/raw/cmx270_nand.c static int cmx270_device_ready(struct nand_chip *this)
this              130 drivers/mtd/nand/raw/cmx270_nand.c 	struct nand_chip *this;
this              153 drivers/mtd/nand/raw/cmx270_nand.c 	this = kzalloc(sizeof(struct nand_chip), GFP_KERNEL);
this              154 drivers/mtd/nand/raw/cmx270_nand.c 	if (!this) {
this              166 drivers/mtd/nand/raw/cmx270_nand.c 	cmx270_nand_mtd = nand_to_mtd(this);
this              172 drivers/mtd/nand/raw/cmx270_nand.c 	this->legacy.IO_ADDR_R = cmx270_nand_io;
this              173 drivers/mtd/nand/raw/cmx270_nand.c 	this->legacy.IO_ADDR_W = cmx270_nand_io;
this              174 drivers/mtd/nand/raw/cmx270_nand.c 	this->legacy.cmd_ctrl = cmx270_hwcontrol;
this              175 drivers/mtd/nand/raw/cmx270_nand.c 	this->legacy.dev_ready = cmx270_device_ready;
this              178 drivers/mtd/nand/raw/cmx270_nand.c 	this->legacy.chip_delay = 20;
this              179 drivers/mtd/nand/raw/cmx270_nand.c 	this->ecc.mode = NAND_ECC_SOFT;
this              180 drivers/mtd/nand/raw/cmx270_nand.c 	this->ecc.algo = NAND_ECC_HAMMING;
this              183 drivers/mtd/nand/raw/cmx270_nand.c 	this->legacy.read_byte = cmx270_read_byte;
this              184 drivers/mtd/nand/raw/cmx270_nand.c 	this->legacy.read_buf = cmx270_read_buf;
this              185 drivers/mtd/nand/raw/cmx270_nand.c 	this->legacy.write_buf = cmx270_write_buf;
this              188 drivers/mtd/nand/raw/cmx270_nand.c 	ret = nand_scan(this, 1);
this              206 drivers/mtd/nand/raw/cmx270_nand.c 	kfree(this);
this               92 drivers/mtd/nand/raw/cs553x_nand.c static void cs553x_read_buf(struct nand_chip *this, u_char *buf, int len)
this               95 drivers/mtd/nand/raw/cs553x_nand.c 		memcpy_fromio(buf, this->legacy.IO_ADDR_R, 0x800);
this               99 drivers/mtd/nand/raw/cs553x_nand.c 	memcpy_fromio(buf, this->legacy.IO_ADDR_R, len);
this              102 drivers/mtd/nand/raw/cs553x_nand.c static void cs553x_write_buf(struct nand_chip *this, const u_char *buf, int len)
this              105 drivers/mtd/nand/raw/cs553x_nand.c 		memcpy_toio(this->legacy.IO_ADDR_R, buf, 0x800);
this              109 drivers/mtd/nand/raw/cs553x_nand.c 	memcpy_toio(this->legacy.IO_ADDR_R, buf, len);
this              112 drivers/mtd/nand/raw/cs553x_nand.c static unsigned char cs553x_read_byte(struct nand_chip *this)
this              114 drivers/mtd/nand/raw/cs553x_nand.c 	return readb(this->legacy.IO_ADDR_R);
this              117 drivers/mtd/nand/raw/cs553x_nand.c static void cs553x_write_byte(struct nand_chip *this, u_char byte)
this              121 drivers/mtd/nand/raw/cs553x_nand.c 	while (i && readb(this->legacy.IO_ADDR_R + MM_NAND_STS) & CS_NAND_CTLR_BUSY) {
this              125 drivers/mtd/nand/raw/cs553x_nand.c 	writeb(byte, this->legacy.IO_ADDR_W + 0x801);
this              128 drivers/mtd/nand/raw/cs553x_nand.c static void cs553x_hwcontrol(struct nand_chip *this, int cmd,
this              131 drivers/mtd/nand/raw/cs553x_nand.c 	void __iomem *mmio_base = this->legacy.IO_ADDR_R;
this              137 drivers/mtd/nand/raw/cs553x_nand.c 		cs553x_write_byte(this, cmd);
this              140 drivers/mtd/nand/raw/cs553x_nand.c static int cs553x_device_ready(struct nand_chip *this)
this              142 drivers/mtd/nand/raw/cs553x_nand.c 	void __iomem *mmio_base = this->legacy.IO_ADDR_R;
this              148 drivers/mtd/nand/raw/cs553x_nand.c static void cs_enable_hwecc(struct nand_chip *this, int mode)
this              150 drivers/mtd/nand/raw/cs553x_nand.c 	void __iomem *mmio_base = this->legacy.IO_ADDR_R;
this              155 drivers/mtd/nand/raw/cs553x_nand.c static int cs_calculate_ecc(struct nand_chip *this, const u_char *dat,
this              159 drivers/mtd/nand/raw/cs553x_nand.c 	void __iomem *mmio_base = this->legacy.IO_ADDR_R;
this              174 drivers/mtd/nand/raw/cs553x_nand.c 	struct nand_chip *this;
this              186 drivers/mtd/nand/raw/cs553x_nand.c 	this = kzalloc(sizeof(struct nand_chip), GFP_KERNEL);
this              187 drivers/mtd/nand/raw/cs553x_nand.c 	if (!this) {
this              192 drivers/mtd/nand/raw/cs553x_nand.c 	new_mtd = nand_to_mtd(this);
this              198 drivers/mtd/nand/raw/cs553x_nand.c 	this->legacy.IO_ADDR_R = this->legacy.IO_ADDR_W = ioremap(adr, 4096);
this              199 drivers/mtd/nand/raw/cs553x_nand.c 	if (!this->legacy.IO_ADDR_R) {
this              205 drivers/mtd/nand/raw/cs553x_nand.c 	this->legacy.cmd_ctrl = cs553x_hwcontrol;
this              206 drivers/mtd/nand/raw/cs553x_nand.c 	this->legacy.dev_ready = cs553x_device_ready;
this              207 drivers/mtd/nand/raw/cs553x_nand.c 	this->legacy.read_byte = cs553x_read_byte;
this              208 drivers/mtd/nand/raw/cs553x_nand.c 	this->legacy.read_buf = cs553x_read_buf;
this              209 drivers/mtd/nand/raw/cs553x_nand.c 	this->legacy.write_buf = cs553x_write_buf;
this              211 drivers/mtd/nand/raw/cs553x_nand.c 	this->legacy.chip_delay = 0;
this              213 drivers/mtd/nand/raw/cs553x_nand.c 	this->ecc.mode = NAND_ECC_HW;
this              214 drivers/mtd/nand/raw/cs553x_nand.c 	this->ecc.size = 256;
this              215 drivers/mtd/nand/raw/cs553x_nand.c 	this->ecc.bytes = 3;
this              216 drivers/mtd/nand/raw/cs553x_nand.c 	this->ecc.hwctl  = cs_enable_hwecc;
this              217 drivers/mtd/nand/raw/cs553x_nand.c 	this->ecc.calculate = cs_calculate_ecc;
this              218 drivers/mtd/nand/raw/cs553x_nand.c 	this->ecc.correct  = nand_correct_data;
this              219 drivers/mtd/nand/raw/cs553x_nand.c 	this->ecc.strength = 1;
this              222 drivers/mtd/nand/raw/cs553x_nand.c 	this->bbt_options = NAND_BBT_USE_FLASH;
this              231 drivers/mtd/nand/raw/cs553x_nand.c 	err = nand_scan(this, 1);
this              241 drivers/mtd/nand/raw/cs553x_nand.c 	iounmap(this->legacy.IO_ADDR_R);
this              243 drivers/mtd/nand/raw/cs553x_nand.c 	kfree(this);
this              316 drivers/mtd/nand/raw/cs553x_nand.c 		struct nand_chip *this;
this              322 drivers/mtd/nand/raw/cs553x_nand.c 		this = mtd_to_nand(mtd);
this              323 drivers/mtd/nand/raw/cs553x_nand.c 		mmio_base = this->legacy.IO_ADDR_R;
this              326 drivers/mtd/nand/raw/cs553x_nand.c 		nand_release(this);
this              334 drivers/mtd/nand/raw/cs553x_nand.c 		kfree(this);
this               87 drivers/mtd/nand/raw/diskonchip.c static void doc200x_hwcontrol(struct nand_chip *this, int cmd,
this               89 drivers/mtd/nand/raw/diskonchip.c static void doc200x_select_chip(struct nand_chip *this, int chip);
this              294 drivers/mtd/nand/raw/diskonchip.c static void doc2000_write_byte(struct nand_chip *this, u_char datum)
this              296 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              305 drivers/mtd/nand/raw/diskonchip.c static u_char doc2000_read_byte(struct nand_chip *this)
this              307 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              319 drivers/mtd/nand/raw/diskonchip.c static void doc2000_writebuf(struct nand_chip *this, const u_char *buf,
this              322 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              336 drivers/mtd/nand/raw/diskonchip.c static void doc2000_readbuf(struct nand_chip *this, u_char *buf, int len)
this              338 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              349 drivers/mtd/nand/raw/diskonchip.c static void doc2000_readbuf_dword(struct nand_chip *this, u_char *buf, int len)
this              351 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              371 drivers/mtd/nand/raw/diskonchip.c 	struct nand_chip *this = mtd_to_nand(mtd);
this              372 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              375 drivers/mtd/nand/raw/diskonchip.c 	doc200x_select_chip(this, nr);
this              376 drivers/mtd/nand/raw/diskonchip.c 	doc200x_hwcontrol(this, NAND_CMD_READID,
this              378 drivers/mtd/nand/raw/diskonchip.c 	doc200x_hwcontrol(this, 0, NAND_CTRL_ALE | NAND_CTRL_CHANGE);
this              379 drivers/mtd/nand/raw/diskonchip.c 	doc200x_hwcontrol(this, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE);
this              386 drivers/mtd/nand/raw/diskonchip.c 	ret = this->legacy.read_byte(this) << 8;
this              387 drivers/mtd/nand/raw/diskonchip.c 	ret |= this->legacy.read_byte(this);
this              397 drivers/mtd/nand/raw/diskonchip.c 		doc200x_hwcontrol(this, NAND_CMD_READID,
this              399 drivers/mtd/nand/raw/diskonchip.c 		doc200x_hwcontrol(this, 0, NAND_CTRL_ALE | NAND_CTRL_CHANGE);
this              400 drivers/mtd/nand/raw/diskonchip.c 		doc200x_hwcontrol(this, NAND_CMD_NONE,
this              408 drivers/mtd/nand/raw/diskonchip.c 			this->legacy.read_buf = &doc2000_readbuf_dword;
this              417 drivers/mtd/nand/raw/diskonchip.c 	struct nand_chip *this = mtd_to_nand(mtd);
this              418 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              437 drivers/mtd/nand/raw/diskonchip.c static int doc200x_wait(struct nand_chip *this)
this              439 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              444 drivers/mtd/nand/raw/diskonchip.c 	nand_status_op(this, NULL);
this              446 drivers/mtd/nand/raw/diskonchip.c 	status = (int)this->legacy.read_byte(this);
this              451 drivers/mtd/nand/raw/diskonchip.c static void doc2001_write_byte(struct nand_chip *this, u_char datum)
this              453 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              461 drivers/mtd/nand/raw/diskonchip.c static u_char doc2001_read_byte(struct nand_chip *this)
this              463 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              474 drivers/mtd/nand/raw/diskonchip.c static void doc2001_writebuf(struct nand_chip *this, const u_char *buf, int len)
this              476 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              486 drivers/mtd/nand/raw/diskonchip.c static void doc2001_readbuf(struct nand_chip *this, u_char *buf, int len)
this              488 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              502 drivers/mtd/nand/raw/diskonchip.c static u_char doc2001plus_read_byte(struct nand_chip *this)
this              504 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              516 drivers/mtd/nand/raw/diskonchip.c static void doc2001plus_writebuf(struct nand_chip *this, const u_char *buf, int len)
this              518 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              533 drivers/mtd/nand/raw/diskonchip.c static void doc2001plus_readbuf(struct nand_chip *this, u_char *buf, int len)
this              535 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              563 drivers/mtd/nand/raw/diskonchip.c static void doc2001plus_select_chip(struct nand_chip *this, int chip)
this              565 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              583 drivers/mtd/nand/raw/diskonchip.c 	nand_reset_op(this);
this              589 drivers/mtd/nand/raw/diskonchip.c static void doc200x_select_chip(struct nand_chip *this, int chip)
this              591 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              605 drivers/mtd/nand/raw/diskonchip.c 	doc200x_hwcontrol(this, NAND_CMD_NONE, 0 | NAND_CTRL_CHANGE);
this              610 drivers/mtd/nand/raw/diskonchip.c 	doc200x_hwcontrol(this, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE);
this              618 drivers/mtd/nand/raw/diskonchip.c static void doc200x_hwcontrol(struct nand_chip *this, int cmd,
this              621 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              635 drivers/mtd/nand/raw/diskonchip.c 			doc2000_write_byte(this, cmd);
this              637 drivers/mtd/nand/raw/diskonchip.c 			doc2001_write_byte(this, cmd);
this              641 drivers/mtd/nand/raw/diskonchip.c static void doc2001plus_command(struct nand_chip *this, unsigned command,
this              644 drivers/mtd/nand/raw/diskonchip.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              645 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              684 drivers/mtd/nand/raw/diskonchip.c 			if (this->options & NAND_BUSWIDTH_16 &&
this              692 drivers/mtd/nand/raw/diskonchip.c 			if (this->options & NAND_ROW_ADDR_3) {
this              719 drivers/mtd/nand/raw/diskonchip.c 		if (this->legacy.dev_ready)
this              721 drivers/mtd/nand/raw/diskonchip.c 		udelay(this->legacy.chip_delay);
this              725 drivers/mtd/nand/raw/diskonchip.c 		while (!(this->legacy.read_byte(this) & 0x40)) ;
this              734 drivers/mtd/nand/raw/diskonchip.c 		if (!this->legacy.dev_ready) {
this              735 drivers/mtd/nand/raw/diskonchip.c 			udelay(this->legacy.chip_delay);
this              744 drivers/mtd/nand/raw/diskonchip.c 	while (!this->legacy.dev_ready(this)) ;
this              747 drivers/mtd/nand/raw/diskonchip.c static int doc200x_dev_ready(struct nand_chip *this)
this              749 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              779 drivers/mtd/nand/raw/diskonchip.c static int doc200x_block_bad(struct nand_chip *this, loff_t ofs)
this              786 drivers/mtd/nand/raw/diskonchip.c static void doc200x_enable_hwecc(struct nand_chip *this, int mode)
this              788 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              804 drivers/mtd/nand/raw/diskonchip.c static void doc2001plus_enable_hwecc(struct nand_chip *this, int mode)
this              806 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              823 drivers/mtd/nand/raw/diskonchip.c static int doc200x_calculate_ecc(struct nand_chip *this, const u_char *dat,
this              826 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              882 drivers/mtd/nand/raw/diskonchip.c static int doc200x_correct_data(struct nand_chip *this, u_char *dat,
this              886 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this              987 drivers/mtd/nand/raw/diskonchip.c 	struct nand_chip *this = mtd_to_nand(mtd);
this              988 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this             1004 drivers/mtd/nand/raw/diskonchip.c 			doc->mh0_page = offs >> this->page_shift;
this             1009 drivers/mtd/nand/raw/diskonchip.c 		doc->mh1_page = offs >> this->page_shift;
this             1018 drivers/mtd/nand/raw/diskonchip.c 	offs = doc->mh0_page << this->page_shift;
this             1030 drivers/mtd/nand/raw/diskonchip.c 	struct nand_chip *this = mtd_to_nand(mtd);
this             1031 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this             1036 drivers/mtd/nand/raw/diskonchip.c 	const unsigned psize = 1 << this->page_shift;
this             1041 drivers/mtd/nand/raw/diskonchip.c 	memorg = nanddev_get_memorg(&this->base);
this             1064 drivers/mtd/nand/raw/diskonchip.c 	blocks = mtd->size >> this->phys_erase_shift;
this             1088 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_erase_shift += (0xff - mh->UnitSizeFactor);
this             1092 drivers/mtd/nand/raw/diskonchip.c 		blocks = mtd->size >> this->bbt_erase_shift;
this             1103 drivers/mtd/nand/raw/diskonchip.c 	offs <<= this->page_shift;
this             1115 drivers/mtd/nand/raw/diskonchip.c 	parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift;
this             1136 drivers/mtd/nand/raw/diskonchip.c 	struct nand_chip *this = mtd_to_nand(mtd);
this             1137 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this             1149 drivers/mtd/nand/raw/diskonchip.c 		end -= (INFTL_BBT_RESERVED_BLOCKS << this->phys_erase_shift);
this             1158 drivers/mtd/nand/raw/diskonchip.c 	doc->mh1_page = doc->mh0_page + (4096 >> this->page_shift);
this             1186 drivers/mtd/nand/raw/diskonchip.c 	vshift = this->phys_erase_shift + mh->BlockMultiplierBits;
this             1194 drivers/mtd/nand/raw/diskonchip.c 	blocks = doc->chips_per_floor << (this->chip_shift - this->phys_erase_shift);
this             1256 drivers/mtd/nand/raw/diskonchip.c 	struct nand_chip *this = mtd_to_nand(mtd);
this             1257 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this             1266 drivers/mtd/nand/raw/diskonchip.c 	this->bbt_td->options = NAND_BBT_ABSPAGE | NAND_BBT_8BIT |
this             1269 drivers/mtd/nand/raw/diskonchip.c 	this->bbt_td->veroffs = 7;
this             1270 drivers/mtd/nand/raw/diskonchip.c 	this->bbt_td->pages[0] = doc->mh0_page + 1;
this             1272 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->options = NAND_BBT_ABSPAGE | NAND_BBT_8BIT |
this             1275 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->veroffs = 7;
this             1276 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->pages[0] = doc->mh1_page + 1;
this             1278 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md = NULL;
this             1281 drivers/mtd/nand/raw/diskonchip.c 	ret = nand_create_bbt(this);
this             1291 drivers/mtd/nand/raw/diskonchip.c 	struct nand_chip *this = mtd_to_nand(mtd);
this             1292 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this             1295 drivers/mtd/nand/raw/diskonchip.c 	if (nanddev_ntargets(&this->base) > doc->chips_per_floor) {
this             1301 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_td->options = NAND_BBT_2BIT | NAND_BBT_ABSPAGE;
this             1303 drivers/mtd/nand/raw/diskonchip.c 			this->bbt_td->options |= NAND_BBT_WRITE;
this             1304 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_td->pages[0] = 2;
this             1305 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md = NULL;
this             1307 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_td->options = NAND_BBT_LASTBLOCK | NAND_BBT_8BIT | NAND_BBT_VERSION;
this             1309 drivers/mtd/nand/raw/diskonchip.c 			this->bbt_td->options |= NAND_BBT_WRITE;
this             1310 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_td->offs = 8;
this             1311 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_td->len = 8;
this             1312 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_td->veroffs = 7;
this             1313 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_td->maxblocks = INFTL_BBT_RESERVED_BLOCKS;
this             1314 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_td->reserved_block_code = 0x01;
this             1315 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_td->pattern = "MSYS_BBT";
this             1317 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->options = NAND_BBT_LASTBLOCK | NAND_BBT_8BIT | NAND_BBT_VERSION;
this             1319 drivers/mtd/nand/raw/diskonchip.c 			this->bbt_md->options |= NAND_BBT_WRITE;
this             1320 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->offs = 8;
this             1321 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->len = 8;
this             1322 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->veroffs = 7;
this             1323 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->maxblocks = INFTL_BBT_RESERVED_BLOCKS;
this             1324 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->reserved_block_code = 0x01;
this             1325 drivers/mtd/nand/raw/diskonchip.c 		this->bbt_md->pattern = "TBB_SYSM";
this             1328 drivers/mtd/nand/raw/diskonchip.c 	ret = nand_create_bbt(this);
this             1344 drivers/mtd/nand/raw/diskonchip.c 	struct nand_chip *this = mtd_to_nand(mtd);
this             1345 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this             1347 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.read_byte = doc2000_read_byte;
this             1348 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.write_buf = doc2000_writebuf;
this             1349 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.read_buf = doc2000_readbuf;
this             1360 drivers/mtd/nand/raw/diskonchip.c 	struct nand_chip *this = mtd_to_nand(mtd);
this             1361 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this             1363 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.read_byte = doc2001_read_byte;
this             1364 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.write_buf = doc2001_writebuf;
this             1365 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.read_buf = doc2001_readbuf;
this             1390 drivers/mtd/nand/raw/diskonchip.c 	struct nand_chip *this = mtd_to_nand(mtd);
this             1391 drivers/mtd/nand/raw/diskonchip.c 	struct doc_priv *doc = nand_get_controller_data(this);
this             1393 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.read_byte = doc2001plus_read_byte;
this             1394 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.write_buf = doc2001plus_writebuf;
this             1395 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.read_buf = doc2001plus_readbuf;
this             1397 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.cmd_ctrl = NULL;
this             1398 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.select_chip = doc2001plus_select_chip;
this             1399 drivers/mtd/nand/raw/diskonchip.c 	this->legacy.cmdfunc = doc2001plus_command;
this             1400 drivers/mtd/nand/raw/diskonchip.c 	this->ecc.hwctl = doc2001plus_enable_hwecc;
this              119 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int __gpmi_enable_clk(struct gpmi_nand_data *this, bool v)
this              126 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		clk = this->resources.clock[i];
this              142 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		clk_disable_unprepare(this->resources.clock[i - 1]);
this              146 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int gpmi_init(struct gpmi_nand_data *this)
this              148 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct resources *r = &this->resources;
this              151 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = pm_runtime_get_sync(this->dev);
this              163 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = gpmi_reset_block(r->bch_regs, GPMI_IS_MXS(this));
this              187 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	pm_runtime_mark_last_busy(this->dev);
this              188 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	pm_runtime_put_autosuspend(this->dev);
this              193 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static void gpmi_dump_info(struct gpmi_nand_data *this)
this              195 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct resources *r = &this->resources;
this              196 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this              200 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dev_err(this->dev, "Show GPMI registers :\n");
this              203 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "offset 0x%.3x : 0x%.8x\n", i * 0x10, reg);
this              207 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dev_err(this->dev, "Show BCH registers :\n");
this              210 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "offset 0x%.3x : 0x%.8x\n", i * 0x10, reg);
this              212 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dev_err(this->dev, "BCH Geometry :\n"
this              237 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static inline bool gpmi_check_ecc(struct gpmi_nand_data *this)
this              239 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this              242 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (GPMI_IS_MXS(this)) {
this              247 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	return geo->ecc_strength <= this->devdata->bch_max_ecc_strength;
this              256 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int set_geometry_by_ecc_info(struct gpmi_nand_data *this,
this              260 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this              261 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct nand_chip *chip = &this->nand;
this              273 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev,
this              281 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!gpmi_check_ecc(this))
this              286 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev,
this              354 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!this->swap_block_mark)
this              385 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static inline int get_ecc_strength(struct gpmi_nand_data *this)
this              387 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this              388 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info	*mtd = nand_to_mtd(&this->nand);
this              398 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int legacy_set_geometry(struct gpmi_nand_data *this)
this              400 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this              401 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(&this->nand);
this              426 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	geo->ecc_strength = get_ecc_strength(this);
this              427 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!gpmi_check_ecc(this)) {
this              428 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev,
this              432 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			this->devdata->bch_max_ecc_strength);
this              452 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!this->swap_block_mark)
this              510 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int common_nfc_set_geometry(struct gpmi_nand_data *this)
this              512 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct nand_chip *chip = &this->nand;
this              515 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		return set_geometry_by_ecc_info(this, chip->ecc.strength,
this              518 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if ((of_property_read_bool(this->dev->of_node, "fsl,use-minimum-ecc"))
this              519 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 				|| legacy_set_geometry(this)) {
this              524 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		return set_geometry_by_ecc_info(this,
this              533 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int bch_set_geometry(struct gpmi_nand_data *this)
this              535 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct resources *r = &this->resources;
this              538 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = common_nfc_set_geometry(this);
this              542 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = pm_runtime_get_sync(this->dev);
this              551 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = gpmi_reset_block(r->bch_regs, GPMI_IS_MXS(this));
this              560 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	pm_runtime_mark_last_busy(this->dev);
this              561 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	pm_runtime_put_autosuspend(this->dev);
this              640 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static void gpmi_nfc_compute_timings(struct gpmi_nand_data *this,
this              643 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nfc_hardware_timing *hw = &this->hw;
this              644 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	unsigned int dll_threshold_ps = this->devdata->max_chain_delay;
this              709 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static void gpmi_nfc_apply_timings(struct gpmi_nand_data *this)
this              711 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nfc_hardware_timing *hw = &this->hw;
this              712 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct resources *r = &this->resources;
this              740 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this              749 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (sdr->tRC_min <= 25000 && !GPMI_IS_MX6(this))
this              757 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	gpmi_nfc_compute_timings(this, sdr);
this              759 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->hw.must_apply_timings = true;
this              765 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static void gpmi_clear_bch(struct gpmi_nand_data *this)
this              767 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct resources *r = &this->resources;
this              771 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static struct dma_chan *get_dma_chan(struct gpmi_nand_data *this)
this              774 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	return this->dma_chans[0];
this              780 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = param;
this              781 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct completion *dma_c = &this->dma_done;
this              788 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = cookie;
this              790 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	gpmi_clear_bch(this);
this              791 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	complete(&this->bch_done);
this              795 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int gpmi_raw_len_to_len(struct gpmi_nand_data *this, int raw_len)
this              801 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->bch)
this              802 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		return ALIGN_DOWN(raw_len, this->bch_geometry.ecc_chunk_size);
this              808 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static bool prepare_data_dma(struct gpmi_nand_data *this, const void *buf,
this              813 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	int len = gpmi_raw_len_to_len(this, raw_len);
this              818 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		ret = dma_map_sg(this->dev, sgl, 1, dr);
this              827 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	sg_init_one(sgl, this->data_buffer_dma, len);
this              829 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (dr == DMA_TO_DEVICE && buf != this->data_buffer_dma)
this              830 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		memcpy(this->data_buffer_dma, buf, len);
this              832 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dma_map_sg(this->dev, sgl, 1, dr);
this             1006 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             1007 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this             1022 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             1023 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this             1094 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int acquire_register_block(struct gpmi_nand_data *this,
this             1097 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct platform_device *pdev = this->pdev;
this             1098 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct resources *res = &this->resources;
this             1112 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "unknown resource name : %s\n", res_name);
this             1117 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int acquire_bch_irq(struct gpmi_nand_data *this, irq_handler_t irq_h)
this             1119 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct platform_device *pdev = this->pdev;
this             1126 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "Can't get resource for %s\n", res_name);
this             1130 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	err = devm_request_irq(this->dev, r->start, irq_h, 0, res_name, this);
this             1132 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "error requesting BCH IRQ\n");
this             1137 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static void release_dma_channels(struct gpmi_nand_data *this)
this             1141 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		if (this->dma_chans[i]) {
this             1142 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			dma_release_channel(this->dma_chans[i]);
this             1143 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			this->dma_chans[i] = NULL;
this             1147 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int acquire_dma_channels(struct gpmi_nand_data *this)
this             1149 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct platform_device *pdev = this->pdev;
this             1155 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "Failed to request DMA channel.\n");
this             1159 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->dma_chans[0] = dma_chan;
this             1163 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	release_dma_channels(this);
this             1167 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int gpmi_get_clks(struct gpmi_nand_data *this)
this             1169 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct resources *r = &this->resources;
this             1173 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	for (i = 0; i < this->devdata->clks_count; i++) {
this             1174 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		clk = devm_clk_get(this->dev, this->devdata->clks[i]);
this             1183 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (GPMI_IS_MX6(this))
this             1195 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dev_dbg(this->dev, "failed in finding the clocks.\n");
this             1199 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int acquire_resources(struct gpmi_nand_data *this)
this             1203 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = acquire_register_block(this, GPMI_NAND_GPMI_REGS_ADDR_RES_NAME);
this             1207 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = acquire_register_block(this, GPMI_NAND_BCH_REGS_ADDR_RES_NAME);
this             1211 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = acquire_bch_irq(this, bch_irq);
this             1215 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = acquire_dma_channels(this);
this             1219 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = gpmi_get_clks(this);
this             1225 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	release_dma_channels(this);
this             1230 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static void release_resources(struct gpmi_nand_data *this)
this             1232 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	release_dma_channels(this);
this             1235 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static void gpmi_free_dma_buffer(struct gpmi_nand_data *this)
this             1237 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct device *dev = this->dev;
this             1238 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this             1240 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->auxiliary_virt && virt_addr_valid(this->auxiliary_virt))
this             1242 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 					this->auxiliary_virt,
this             1243 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 					this->auxiliary_phys);
this             1244 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	kfree(this->data_buffer_dma);
this             1245 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	kfree(this->raw_buffer);
this             1247 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->data_buffer_dma	= NULL;
this             1248 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->raw_buffer	= NULL;
this             1252 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int gpmi_alloc_dma_buffer(struct gpmi_nand_data *this)
this             1254 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this             1255 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct device *dev = this->dev;
this             1256 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct mtd_info *mtd = nand_to_mtd(&this->nand);
this             1266 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->data_buffer_dma = kzalloc(mtd->writesize ?: PAGE_SIZE,
this             1268 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->data_buffer_dma == NULL)
this             1271 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->auxiliary_virt = dma_alloc_coherent(dev, geo->auxiliary_size,
this             1272 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 					&this->auxiliary_phys, GFP_DMA);
this             1273 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!this->auxiliary_virt)
this             1276 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->raw_buffer = kzalloc((mtd->writesize ?: PAGE_SIZE) + mtd->oobsize, GFP_KERNEL);
this             1277 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!this->raw_buffer)
this             1283 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	gpmi_free_dma_buffer(this);
this             1292 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static void block_mark_swapping(struct gpmi_nand_data *this,
this             1295 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *nfc_geo = &this->bch_geometry;
this             1303 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!this->swap_block_mark)
this             1338 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             1339 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *nfc_geo = &this->bch_geometry;
this             1346 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	status = this->auxiliary_virt + ALIGN(meta, 4);
this             1354 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			u8 *eccbuf = this->raw_buffer;
this             1401 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 						this->auxiliary_virt,
this             1431 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static void gpmi_bch_layout_std(struct gpmi_nand_data *this)
this             1433 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this             1438 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->bch_flashlayout0 =
this             1441 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT0_ECC0(ecc_strength, this) |
this             1442 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT0_GF(gf_len, this) |
this             1443 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT0_DATA0_SIZE(block_size, this);
this             1445 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->bch_flashlayout1 =
this             1447 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT1_ECCN(ecc_strength, this) |
this             1448 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT1_GF(gf_len, this) |
this             1449 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT1_DATAN_SIZE(block_size, this);
this             1455 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             1457 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this             1461 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	gpmi_bch_layout_std(this);
this             1462 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->bch = true;
this             1473 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	block_mark_swapping(this, buf, this->auxiliary_virt);
this             1487 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		chip->oob_poi[0] = ((uint8_t *)this->auxiliary_virt)[0];
this             1497 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             1498 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *geo = &this->bch_geometry;
this             1515 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->swap_block_mark) {
this             1525 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			dev_dbg(this->dev,
this             1545 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->bch_flashlayout0 = BF_BCH_FLASH0LAYOUT0_NBLOCKS(n - 1) |
this             1547 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT0_ECC0(ecc_strength, this) |
this             1548 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT0_GF(geo->gf_len, this) |
this             1549 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT0_DATA0_SIZE(geo->ecc_chunk_size, this);
this             1551 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->bch_flashlayout1 = BF_BCH_FLASH0LAYOUT1_PAGE_SIZE(page_size) |
this             1552 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT1_ECCN(ecc_strength, this) |
this             1553 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT1_GF(geo->gf_len, this) |
this             1554 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		BF_BCH_FLASH0LAYOUT1_DATAN_SIZE(geo->ecc_chunk_size, this);
this             1556 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->bch = true;
this             1562 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dev_dbg(this->dev, "page:%d(%d:%d)%d, chunk:(%d:%d), BCH PG size:%d\n",
this             1574 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             1575 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *nfc_geo = &this->bch_geometry;
this             1578 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dev_dbg(this->dev, "ecc write page.\n");
this             1580 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	gpmi_bch_layout_std(this);
this             1581 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->bch = true;
this             1583 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	memcpy(this->auxiliary_virt, chip->oob_poi, nfc_geo->auxiliary_size);
this             1585 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->swap_block_mark) {
this             1590 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		memcpy(this->data_buffer_dma, buf, mtd->writesize);
this             1591 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		buf = this->data_buffer_dma;
this             1592 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		block_mark_swapping(this, this->data_buffer_dma,
this             1593 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 				    this->auxiliary_virt);
this             1664 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             1681 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (GPMI_IS_MX23(this)) {
this             1724 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             1725 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *nfc_geo = &this->bch_geometry;
this             1728 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	u8 *tmp_buf = this->raw_buffer;
this             1748 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->swap_block_mark)
this             1811 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             1812 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *nfc_geo = &this->bch_geometry;
this             1815 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	u8 *tmp_buf = this->raw_buffer;
this             1871 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->swap_block_mark)
this             1891 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             1899 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	column = !GPMI_IS_MX23(this) ? mtd->writesize : 0;
this             1902 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	block_mark = this->data_buffer_dma;
this             1915 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int nand_boot_set_geometry(struct gpmi_nand_data *this)
this             1917 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct boot_rom_geometry *geometry = &this->rom_geometry;
this             1942 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int mx23_check_transcription_stamp(struct gpmi_nand_data *this)
this             1944 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct boot_rom_geometry *rom_geo = &this->rom_geometry;
this             1945 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct device *dev = this->dev;
this             1946 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct nand_chip *chip = &this->nand;
this             1997 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int mx23_write_transcription_stamp(struct gpmi_nand_data *this)
this             1999 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct device *dev = this->dev;
this             2000 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct boot_rom_geometry *rom_geo = &this->rom_geometry;
this             2001 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct nand_chip *chip = &this->nand;
this             2063 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int mx23_boot_init(struct gpmi_nand_data  *this)
this             2065 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct device *dev = this->dev;
this             2066 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct nand_chip *chip = &this->nand;
this             2082 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (mx23_check_transcription_stamp(this))
this             2132 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	mx23_write_transcription_stamp(this);
this             2136 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int nand_boot_init(struct gpmi_nand_data  *this)
this             2138 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	nand_boot_set_geometry(this);
this             2141 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (GPMI_IS_MX23(this))
this             2142 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		return mx23_boot_init(this);
this             2146 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int gpmi_set_geometry(struct gpmi_nand_data *this)
this             2151 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	gpmi_free_dma_buffer(this);
this             2154 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = bch_set_geometry(this);
this             2156 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "Error setting BCH geometry : %d\n", ret);
this             2161 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	return gpmi_alloc_dma_buffer(this);
this             2164 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int gpmi_init_last(struct gpmi_nand_data *this)
this             2166 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct nand_chip *chip = &this->nand;
this             2169 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct bch_geometry *bch_geo = &this->bch_geometry;
this             2173 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = gpmi_set_geometry(this);
this             2196 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (GPMI_IS_MX6(this) &&
this             2207 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             2213 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		if (of_property_read_bool(this->dev->of_node,
this             2215 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			this->swap_block_mark = false;
this             2217 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dev_dbg(this->dev, "Blockmark swapping %sabled\n",
this             2218 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		this->swap_block_mark ? "en" : "dis");
this             2220 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = gpmi_init_last(this);
this             2229 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static struct gpmi_transfer *get_next_transfer(struct gpmi_nand_data *this)
this             2231 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_transfer *transfer = &this->transfers[this->ntransfers];
this             2233 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->ntransfers++;
this             2235 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->ntransfers == GPMI_MAX_TRANSFERS)
this             2242 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this, u8 cmd, const u8 *addr, int naddr)
this             2244 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_chan *channel = get_dma_chan(this);
this             2247 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	int chip = this->nand.cur_cs;
this             2253 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		| BF_GPMI_CTRL0_CS(chip, this)
this             2254 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		| BF_GPMI_CTRL0_LOCK_CS(LOCK_CS_ENABLE, this)
this             2265 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	transfer = get_next_transfer(this);
this             2274 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dma_map_sg(this->dev, &transfer->sgl, 1, DMA_TO_DEVICE);
this             2284 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this)
this             2286 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_chan *channel = get_dma_chan(this);
this             2291 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		| BF_GPMI_CTRL0_CS(this->nand.cur_cs, this)
this             2292 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		| BF_GPMI_CTRL0_LOCK_CS(LOCK_CS_ENABLE, this)
this             2302 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this, void *buf, int raw_len, bool *direct)
this             2305 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_chan *channel = get_dma_chan(this);
this             2309 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	transfer = get_next_transfer(this);
this             2315 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	*direct = prepare_data_dma(this, buf, raw_len, &transfer->sgl,
this             2320 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		| BF_GPMI_CTRL0_CS(this->nand.cur_cs, this)
this             2321 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		| BF_GPMI_CTRL0_LOCK_CS(LOCK_CS_ENABLE, this)
this             2325 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->bch) {
this             2332 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		pio[5] = this->auxiliary_phys;
this             2340 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!this->bch)
this             2349 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this, const void *buf, int raw_len)
this             2351 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct dma_chan *channel = get_dma_chan(this);
this             2356 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	transfer = get_next_transfer(this);
this             2362 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	prepare_data_dma(this, buf, raw_len, &transfer->sgl, DMA_TO_DEVICE);
this             2366 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		| BF_GPMI_CTRL0_CS(this->nand.cur_cs, this)
this             2367 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		| BF_GPMI_CTRL0_LOCK_CS(LOCK_CS_ENABLE, this)
this             2371 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->bch) {
this             2378 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		pio[5] = this->auxiliary_phys;
this             2383 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 				      (this->bch ? MXS_DMA_CTRL_WAIT4END : 0));
this             2387 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!this->bch)
this             2400 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = nand_get_controller_data(chip);
this             2410 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->ntransfers = 0;
this             2412 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		this->transfers[i].direction = DMA_NONE;
this             2414 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = pm_runtime_get_sync(this->dev);
this             2424 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->hw.must_apply_timings) {
this             2425 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		this->hw.must_apply_timings = false;
this             2426 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		gpmi_nfc_apply_timings(this);
this             2429 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dev_dbg(this->dev, "%s: %d instructions\n", __func__, op->ninstrs);
this             2438 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			desc = gpmi_chain_wait_ready(this);
this             2451 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			desc = gpmi_chain_command(this, cmd, NULL, 0);
this             2455 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			desc = gpmi_chain_command(this, cmd, instr->ctx.addr.addrs,
this             2463 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			desc = gpmi_chain_data_write(this, buf_write, buf_len);
this             2473 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			desc = gpmi_chain_data_read(this, buf_read, buf_len,
this             2484 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dev_dbg(this->dev, "%s setup done\n", __func__);
this             2487 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "Multiple data instructions not supported\n");
this             2492 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->bch) {
this             2493 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		writel(this->bch_flashlayout0,
this             2494 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		       this->resources.bch_regs + HW_BCH_FLASH0LAYOUT0);
this             2495 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		writel(this->bch_flashlayout1,
this             2496 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		       this->resources.bch_regs + HW_BCH_FLASH0LAYOUT1);
this             2499 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->bch && buf_read) {
this             2501 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		       this->resources.bch_regs + HW_BCH_CTRL_SET);
this             2502 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		completion = &this->bch_done;
this             2505 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		desc->callback_param = this;
this             2506 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		completion = &this->dma_done;
this             2512 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dma_async_issue_pending(get_dma_chan(this));
this             2516 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "DMA timeout, last DMA\n");
this             2517 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		gpmi_dump_info(this);
this             2523 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	       this->resources.bch_regs + HW_BCH_CTRL_CLR);
this             2524 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	gpmi_clear_bch(this);
this             2529 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	for (i = 0; i < this->ntransfers; i++) {
this             2530 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		struct gpmi_transfer *transfer = &this->transfers[i];
this             2533 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 			dma_unmap_sg(this->dev, &transfer->sgl, 1,
this             2538 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		memcpy(buf_read, this->data_buffer_dma,
this             2539 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		       gpmi_raw_len_to_len(this, buf_len));
this             2541 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->bch = false;
this             2543 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	pm_runtime_mark_last_busy(this->dev);
this             2544 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	pm_runtime_put_autosuspend(this->dev);
this             2555 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c static int gpmi_nand_init(struct gpmi_nand_data *this)
this             2557 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct nand_chip *chip = &this->nand;
this             2563 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	mtd->dev.parent		= this->dev;
this             2566 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	nand_set_controller_data(chip, this);
this             2567 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	nand_set_flash_node(chip, this->pdev->dev.of_node);
this             2573 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->swap_block_mark = !GPMI_IS_MX23(this);
this             2579 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->bch_geometry.payload_size = 1024;
this             2580 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->bch_geometry.auxiliary_size = 128;
this             2581 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = gpmi_alloc_dma_buffer(this);
this             2585 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	nand_controller_init(&this->base);
this             2586 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->base.ops = &gpmi_nand_controller_ops;
this             2587 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	chip->controller = &this->base;
this             2589 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = nand_scan(chip, GPMI_IS_MX6(this) ? 2 : 1);
this             2593 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = nand_boot_init(this);
this             2608 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	gpmi_free_dma_buffer(this);
this             2634 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this;
this             2638 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this = devm_kzalloc(&pdev->dev, sizeof(*this), GFP_KERNEL);
this             2639 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (!this)
this             2644 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		this->devdata = of_id->data;
this             2650 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	platform_set_drvdata(pdev, this);
this             2651 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->pdev  = pdev;
this             2652 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	this->dev   = &pdev->dev;
this             2654 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = acquire_resources(this);
this             2658 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = __gpmi_enable_clk(this, true);
this             2668 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = gpmi_init(this);
this             2672 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = gpmi_nand_init(this);
this             2679 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	dev_info(this->dev, "driver registered.\n");
this             2686 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	release_resources(this);
this             2694 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = platform_get_drvdata(pdev);
this             2699 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	nand_release(&this->nand);
this             2700 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	gpmi_free_dma_buffer(this);
this             2701 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	release_resources(this);
this             2708 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = dev_get_drvdata(dev);
this             2710 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	release_dma_channels(this);
this             2716 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = dev_get_drvdata(dev);
this             2719 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = acquire_dma_channels(this);
this             2724 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = gpmi_init(this);
this             2726 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "Error setting GPMI : %d\n", ret);
this             2731 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	if (this->hw.clk_rate)
this             2732 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		this->hw.must_apply_timings = true;
this             2735 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	ret = bch_set_geometry(this);
this             2737 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 		dev_err(this->dev, "Error setting BCH : %d\n", ret);
this             2747 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = dev_get_drvdata(dev);
this             2749 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	return __gpmi_enable_clk(this, false);
this             2754 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	struct gpmi_nand_data *this = dev_get_drvdata(dev);
this             2756 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c 	return __gpmi_enable_clk(this, true);
this              252 drivers/mtd/nand/raw/mxc_nand.c 	struct nand_chip *this = mtd_to_nand(mtd);
this              253 drivers/mtd/nand/raw/mxc_nand.c 	struct mxc_nand_host *host = nand_get_controller_data(this);
this             1756 drivers/mtd/nand/raw/mxc_nand.c 	struct nand_chip *this;
this             1775 drivers/mtd/nand/raw/mxc_nand.c 	this = &host->nand;
this             1776 drivers/mtd/nand/raw/mxc_nand.c 	mtd = nand_to_mtd(this);
this             1781 drivers/mtd/nand/raw/mxc_nand.c 	this->legacy.chip_delay = 5;
this             1783 drivers/mtd/nand/raw/mxc_nand.c 	nand_set_controller_data(this, host);
this             1784 drivers/mtd/nand/raw/mxc_nand.c 	nand_set_flash_node(this, pdev->dev.of_node),
this             1785 drivers/mtd/nand/raw/mxc_nand.c 	this->legacy.dev_ready = mxc_nand_dev_ready;
this             1786 drivers/mtd/nand/raw/mxc_nand.c 	this->legacy.cmdfunc = mxc_nand_command;
this             1787 drivers/mtd/nand/raw/mxc_nand.c 	this->legacy.read_byte = mxc_nand_read_byte;
this             1788 drivers/mtd/nand/raw/mxc_nand.c 	this->legacy.write_buf = mxc_nand_write_buf;
this             1789 drivers/mtd/nand/raw/mxc_nand.c 	this->legacy.read_buf = mxc_nand_read_buf;
this             1790 drivers/mtd/nand/raw/mxc_nand.c 	this->legacy.set_features = mxc_nand_set_features;
this             1791 drivers/mtd/nand/raw/mxc_nand.c 	this->legacy.get_features = mxc_nand_get_features;
this             1813 drivers/mtd/nand/raw/mxc_nand.c 		this->options |= NAND_KEEP_TIMINGS;
this             1838 drivers/mtd/nand/raw/mxc_nand.c 	this->ecc.bytes = host->devtype_data->eccbytes;
this             1841 drivers/mtd/nand/raw/mxc_nand.c 	this->legacy.select_chip = host->devtype_data->select_chip;
this             1842 drivers/mtd/nand/raw/mxc_nand.c 	this->ecc.size = 512;
this             1846 drivers/mtd/nand/raw/mxc_nand.c 		this->ecc.mode = NAND_ECC_HW;
this             1848 drivers/mtd/nand/raw/mxc_nand.c 		this->ecc.mode = NAND_ECC_SOFT;
this             1849 drivers/mtd/nand/raw/mxc_nand.c 		this->ecc.algo = NAND_ECC_HAMMING;
this             1854 drivers/mtd/nand/raw/mxc_nand.c 		this->options |= NAND_BUSWIDTH_16;
this             1858 drivers/mtd/nand/raw/mxc_nand.c 		this->bbt_options |= NAND_BBT_USE_FLASH;
this             1894 drivers/mtd/nand/raw/mxc_nand.c 	this->legacy.dummy_controller.ops = &mxcnd_controller_ops;
this             1895 drivers/mtd/nand/raw/mxc_nand.c 	err = nand_scan(this, is_imx25_nfc(host) ? 4 : 1);
this             1911 drivers/mtd/nand/raw/mxc_nand.c 	nand_cleanup(this);
this              166 drivers/mtd/nand/raw/nand_bbt.c static int read_bbt(struct nand_chip *this, uint8_t *buf, int page, int num,
this              169 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              180 drivers/mtd/nand/raw/nand_bbt.c 	from = ((loff_t)page) << this->page_shift;
this              183 drivers/mtd/nand/raw/nand_bbt.c 		len = min(totlen, (size_t)(1 << this->bbt_erase_shift));
this              219 drivers/mtd/nand/raw/nand_bbt.c 						 this->bbt_erase_shift);
this              220 drivers/mtd/nand/raw/nand_bbt.c 					bbt_mark_entry(this, offs + act,
this              231 drivers/mtd/nand/raw/nand_bbt.c 					 this->bbt_erase_shift);
this              234 drivers/mtd/nand/raw/nand_bbt.c 					bbt_mark_entry(this, offs + act,
this              237 drivers/mtd/nand/raw/nand_bbt.c 					bbt_mark_entry(this, offs + act,
this              259 drivers/mtd/nand/raw/nand_bbt.c static int read_abs_bbt(struct nand_chip *this, uint8_t *buf,
this              262 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              263 drivers/mtd/nand/raw/nand_bbt.c 	u64 targetsize = nanddev_target_size(&this->base);
this              268 drivers/mtd/nand/raw/nand_bbt.c 		for (i = 0; i < nanddev_ntargets(&this->base); i++) {
this              270 drivers/mtd/nand/raw/nand_bbt.c 				res = read_bbt(this, buf, td->pages[i],
this              271 drivers/mtd/nand/raw/nand_bbt.c 					targetsize >> this->bbt_erase_shift,
this              275 drivers/mtd/nand/raw/nand_bbt.c 			offs += targetsize >> this->bbt_erase_shift;
this              278 drivers/mtd/nand/raw/nand_bbt.c 		res = read_bbt(this, buf, td->pages[0],
this              279 drivers/mtd/nand/raw/nand_bbt.c 				mtd->size >> this->bbt_erase_shift, td, 0);
this              287 drivers/mtd/nand/raw/nand_bbt.c static int scan_read_data(struct nand_chip *this, uint8_t *buf, loff_t offs,
this              290 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              312 drivers/mtd/nand/raw/nand_bbt.c static int scan_read_oob(struct nand_chip *this, uint8_t *buf, loff_t offs,
this              315 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              343 drivers/mtd/nand/raw/nand_bbt.c static int scan_read(struct nand_chip *this, uint8_t *buf, loff_t offs,
this              347 drivers/mtd/nand/raw/nand_bbt.c 		return scan_read_data(this, buf, offs, td);
this              349 drivers/mtd/nand/raw/nand_bbt.c 		return scan_read_oob(this, buf, offs, len);
this              353 drivers/mtd/nand/raw/nand_bbt.c static int scan_write_bbt(struct nand_chip *this, loff_t offs, size_t len,
this              356 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              369 drivers/mtd/nand/raw/nand_bbt.c static u32 bbt_get_ver_offs(struct nand_chip *this, struct nand_bbt_descr *td)
this              371 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              389 drivers/mtd/nand/raw/nand_bbt.c static void read_abs_bbts(struct nand_chip *this, uint8_t *buf,
this              392 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              396 drivers/mtd/nand/raw/nand_bbt.c 		scan_read(this, buf, (loff_t)td->pages[0] << this->page_shift,
this              398 drivers/mtd/nand/raw/nand_bbt.c 		td->version[0] = buf[bbt_get_ver_offs(this, td)];
this              405 drivers/mtd/nand/raw/nand_bbt.c 		scan_read(this, buf, (loff_t)md->pages[0] << this->page_shift,
this              407 drivers/mtd/nand/raw/nand_bbt.c 		md->version[0] = buf[bbt_get_ver_offs(this, md)];
this              414 drivers/mtd/nand/raw/nand_bbt.c static int scan_block_fast(struct nand_chip *this, struct nand_bbt_descr *bd,
this              417 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              428 drivers/mtd/nand/raw/nand_bbt.c 	page_offset = nand_bbm_get_next_page(this, 0);
this              444 drivers/mtd/nand/raw/nand_bbt.c 		page_offset = nand_bbm_get_next_page(this, page_offset + 1);
this              461 drivers/mtd/nand/raw/nand_bbt.c static int create_bbt(struct nand_chip *this, uint8_t *buf,
this              464 drivers/mtd/nand/raw/nand_bbt.c 	u64 targetsize = nanddev_target_size(&this->base);
this              465 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              472 drivers/mtd/nand/raw/nand_bbt.c 		numblocks = mtd->size >> this->bbt_erase_shift;
this              476 drivers/mtd/nand/raw/nand_bbt.c 		if (chip >= nanddev_ntargets(&this->base)) {
this              478 drivers/mtd/nand/raw/nand_bbt.c 			        chip + 1, nanddev_ntargets(&this->base));
this              481 drivers/mtd/nand/raw/nand_bbt.c 		numblocks = targetsize >> this->bbt_erase_shift;
this              484 drivers/mtd/nand/raw/nand_bbt.c 		from = (loff_t)startblock << this->bbt_erase_shift;
this              492 drivers/mtd/nand/raw/nand_bbt.c 		ret = scan_block_fast(this, bd, from, buf);
this              497 drivers/mtd/nand/raw/nand_bbt.c 			bbt_mark_entry(this, i, BBT_BLOCK_FACTORY_BAD);
this              503 drivers/mtd/nand/raw/nand_bbt.c 		from += (1 << this->bbt_erase_shift);
this              523 drivers/mtd/nand/raw/nand_bbt.c static int search_bbt(struct nand_chip *this, uint8_t *buf,
this              526 drivers/mtd/nand/raw/nand_bbt.c 	u64 targetsize = nanddev_target_size(&this->base);
this              527 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              532 drivers/mtd/nand/raw/nand_bbt.c 	int blocktopage = this->bbt_erase_shift - this->page_shift;
this              536 drivers/mtd/nand/raw/nand_bbt.c 		startblock = (mtd->size >> this->bbt_erase_shift) - 1;
this              545 drivers/mtd/nand/raw/nand_bbt.c 		chips = nanddev_ntargets(&this->base);
this              546 drivers/mtd/nand/raw/nand_bbt.c 		bbtblocks = targetsize >> this->bbt_erase_shift;
this              550 drivers/mtd/nand/raw/nand_bbt.c 		bbtblocks = mtd->size >> this->bbt_erase_shift;
this              561 drivers/mtd/nand/raw/nand_bbt.c 			loff_t offs = (loff_t)actblock << this->bbt_erase_shift;
this              564 drivers/mtd/nand/raw/nand_bbt.c 			scan_read(this, buf, offs, mtd->writesize, td);
this              568 drivers/mtd/nand/raw/nand_bbt.c 					offs = bbt_get_ver_offs(this, td);
this              574 drivers/mtd/nand/raw/nand_bbt.c 		startblock += targetsize >> this->bbt_erase_shift;
this              596 drivers/mtd/nand/raw/nand_bbt.c static void search_read_bbts(struct nand_chip *this, uint8_t *buf,
this              601 drivers/mtd/nand/raw/nand_bbt.c 	search_bbt(this, buf, td);
this              605 drivers/mtd/nand/raw/nand_bbt.c 		search_bbt(this, buf, md);
this              621 drivers/mtd/nand/raw/nand_bbt.c static int get_bbt_block(struct nand_chip *this, struct nand_bbt_descr *td,
this              624 drivers/mtd/nand/raw/nand_bbt.c 	u64 targetsize = nanddev_target_size(&this->base);
this              634 drivers/mtd/nand/raw/nand_bbt.c 				(this->bbt_erase_shift - this->page_shift);
this              636 drivers/mtd/nand/raw/nand_bbt.c 	numblocks = (int)(targetsize >> this->bbt_erase_shift);
this              638 drivers/mtd/nand/raw/nand_bbt.c 		numblocks *= nanddev_ntargets(&this->base);
this              656 drivers/mtd/nand/raw/nand_bbt.c 		switch (bbt_get_entry(this, block)) {
this              662 drivers/mtd/nand/raw/nand_bbt.c 		page = block << (this->bbt_erase_shift - this->page_shift);
this              684 drivers/mtd/nand/raw/nand_bbt.c static void mark_bbt_block_bad(struct nand_chip *this,
this              691 drivers/mtd/nand/raw/nand_bbt.c 	bbt_mark_entry(this, block, BBT_BLOCK_WORN);
this              693 drivers/mtd/nand/raw/nand_bbt.c 	to = (loff_t)block << this->bbt_erase_shift;
this              694 drivers/mtd/nand/raw/nand_bbt.c 	res = nand_markbad_bbm(this, to);
this              712 drivers/mtd/nand/raw/nand_bbt.c static int write_bbt(struct nand_chip *this, uint8_t *buf,
this              716 drivers/mtd/nand/raw/nand_bbt.c 	u64 targetsize = nanddev_target_size(&this->base);
this              717 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              737 drivers/mtd/nand/raw/nand_bbt.c 		numblocks = (int)(targetsize >> this->bbt_erase_shift);
this              740 drivers/mtd/nand/raw/nand_bbt.c 			nrchips = nanddev_ntargets(&this->base);
this              746 drivers/mtd/nand/raw/nand_bbt.c 		numblocks = (int)(mtd->size >> this->bbt_erase_shift);
this              754 drivers/mtd/nand/raw/nand_bbt.c 		block = get_bbt_block(this, td, md, chip);
this              765 drivers/mtd/nand/raw/nand_bbt.c 		page = block << (this->bbt_erase_shift - this->page_shift);
this              786 drivers/mtd/nand/raw/nand_bbt.c 		to = ((loff_t)page) << this->page_shift;
this              791 drivers/mtd/nand/raw/nand_bbt.c 			to &= ~(((loff_t)1 << this->bbt_erase_shift) - 1);
this              792 drivers/mtd/nand/raw/nand_bbt.c 			len = 1 << this->bbt_erase_shift;
this              802 drivers/mtd/nand/raw/nand_bbt.c 			ops.ooblen = (len >> this->page_shift) * mtd->oobsize;
this              809 drivers/mtd/nand/raw/nand_bbt.c 			pageoffs = page - (int)(to >> this->page_shift);
this              810 drivers/mtd/nand/raw/nand_bbt.c 			offs = pageoffs << this->page_shift;
this              837 drivers/mtd/nand/raw/nand_bbt.c 			       (len >> this->page_shift)* mtd->oobsize);
this              851 drivers/mtd/nand/raw/nand_bbt.c 			dat = bbt_get_entry(this, chip * numblocks + i);
this              858 drivers/mtd/nand/raw/nand_bbt.c 		einfo.len = 1 << this->bbt_erase_shift;
this              859 drivers/mtd/nand/raw/nand_bbt.c 		res = nand_erase_nand(this, &einfo, 1);
this              863 drivers/mtd/nand/raw/nand_bbt.c 			mark_bbt_block_bad(this, td, chip, block);
this              867 drivers/mtd/nand/raw/nand_bbt.c 		res = scan_write_bbt(this, to, len, buf,
this              873 drivers/mtd/nand/raw/nand_bbt.c 			mark_bbt_block_bad(this, td, chip, block);
this              898 drivers/mtd/nand/raw/nand_bbt.c static inline int nand_memory_bbt(struct nand_chip *this,
this              901 drivers/mtd/nand/raw/nand_bbt.c 	u8 *pagebuf = nand_get_data_buf(this);
this              903 drivers/mtd/nand/raw/nand_bbt.c 	return create_bbt(this, pagebuf, bd, -1);
this              917 drivers/mtd/nand/raw/nand_bbt.c static int check_create(struct nand_chip *this, uint8_t *buf,
this              921 drivers/mtd/nand/raw/nand_bbt.c 	struct nand_bbt_descr *td = this->bbt_td;
this              922 drivers/mtd/nand/raw/nand_bbt.c 	struct nand_bbt_descr *md = this->bbt_md;
this              927 drivers/mtd/nand/raw/nand_bbt.c 		chips = nanddev_ntargets(&this->base);
this              976 drivers/mtd/nand/raw/nand_bbt.c 			if (!(this->bbt_options & NAND_BBT_CREATE_EMPTY))
this              977 drivers/mtd/nand/raw/nand_bbt.c 				create_bbt(this, buf, bd, chipsel);
this              986 drivers/mtd/nand/raw/nand_bbt.c 			res = read_abs_bbt(this, buf, rd, chipsel);
this              997 drivers/mtd/nand/raw/nand_bbt.c 			res2 = read_abs_bbt(this, buf, rd2, chipsel);
this             1019 drivers/mtd/nand/raw/nand_bbt.c 			res = write_bbt(this, buf, td, md, chipsel);
this             1026 drivers/mtd/nand/raw/nand_bbt.c 			res = write_bbt(this, buf, md, td, chipsel);
this             1041 drivers/mtd/nand/raw/nand_bbt.c static int nand_update_bbt(struct nand_chip *this, loff_t offs)
this             1043 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this             1047 drivers/mtd/nand/raw/nand_bbt.c 	struct nand_bbt_descr *td = this->bbt_td;
this             1048 drivers/mtd/nand/raw/nand_bbt.c 	struct nand_bbt_descr *md = this->bbt_md;
this             1050 drivers/mtd/nand/raw/nand_bbt.c 	if (!this->bbt || !td)
this             1054 drivers/mtd/nand/raw/nand_bbt.c 	len = (1 << this->bbt_erase_shift);
this             1055 drivers/mtd/nand/raw/nand_bbt.c 	len += (len >> this->page_shift) * mtd->oobsize;
this             1062 drivers/mtd/nand/raw/nand_bbt.c 		chip = (int)(offs >> this->chip_shift);
this             1075 drivers/mtd/nand/raw/nand_bbt.c 		res = write_bbt(this, buf, td, md, chipsel);
this             1081 drivers/mtd/nand/raw/nand_bbt.c 		res = write_bbt(this, buf, md, td, chipsel);
this             1097 drivers/mtd/nand/raw/nand_bbt.c static void mark_bbt_region(struct nand_chip *this, struct nand_bbt_descr *td)
this             1099 drivers/mtd/nand/raw/nand_bbt.c 	u64 targetsize = nanddev_target_size(&this->base);
this             1100 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this             1106 drivers/mtd/nand/raw/nand_bbt.c 		chips = nanddev_ntargets(&this->base);
this             1107 drivers/mtd/nand/raw/nand_bbt.c 		nrblocks = (int)(targetsize >> this->bbt_erase_shift);
this             1110 drivers/mtd/nand/raw/nand_bbt.c 		nrblocks = (int)(mtd->size >> this->bbt_erase_shift);
this             1118 drivers/mtd/nand/raw/nand_bbt.c 			block = td->pages[i] >> (this->bbt_erase_shift - this->page_shift);
this             1119 drivers/mtd/nand/raw/nand_bbt.c 			oldval = bbt_get_entry(this, block);
this             1120 drivers/mtd/nand/raw/nand_bbt.c 			bbt_mark_entry(this, block, BBT_BLOCK_RESERVED);
this             1123 drivers/mtd/nand/raw/nand_bbt.c 				nand_update_bbt(this, (loff_t)block <<
this             1124 drivers/mtd/nand/raw/nand_bbt.c 						this->bbt_erase_shift);
this             1133 drivers/mtd/nand/raw/nand_bbt.c 			oldval = bbt_get_entry(this, block);
this             1134 drivers/mtd/nand/raw/nand_bbt.c 			bbt_mark_entry(this, block, BBT_BLOCK_RESERVED);
this             1145 drivers/mtd/nand/raw/nand_bbt.c 			nand_update_bbt(this, (loff_t)(block - 1) <<
this             1146 drivers/mtd/nand/raw/nand_bbt.c 					this->bbt_erase_shift);
this             1158 drivers/mtd/nand/raw/nand_bbt.c static void verify_bbt_descr(struct nand_chip *this, struct nand_bbt_descr *bd)
this             1160 drivers/mtd/nand/raw/nand_bbt.c 	u64 targetsize = nanddev_target_size(&this->base);
this             1161 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this             1172 drivers/mtd/nand/raw/nand_bbt.c 	BUG_ON((this->bbt_options & NAND_BBT_NO_OOB) &&
this             1173 drivers/mtd/nand/raw/nand_bbt.c 			!(this->bbt_options & NAND_BBT_USE_FLASH));
this             1180 drivers/mtd/nand/raw/nand_bbt.c 		BUG_ON(!(this->bbt_options & NAND_BBT_USE_FLASH));
this             1181 drivers/mtd/nand/raw/nand_bbt.c 		BUG_ON(!(this->bbt_options & NAND_BBT_NO_OOB));
this             1189 drivers/mtd/nand/raw/nand_bbt.c 		table_size = targetsize >> this->bbt_erase_shift;
this             1191 drivers/mtd/nand/raw/nand_bbt.c 		table_size = mtd->size >> this->bbt_erase_shift;
this             1196 drivers/mtd/nand/raw/nand_bbt.c 	BUG_ON(table_size > (1 << this->bbt_erase_shift));
this             1211 drivers/mtd/nand/raw/nand_bbt.c static int nand_scan_bbt(struct nand_chip *this, struct nand_bbt_descr *bd)
this             1213 drivers/mtd/nand/raw/nand_bbt.c 	struct mtd_info *mtd = nand_to_mtd(this);
this             1216 drivers/mtd/nand/raw/nand_bbt.c 	struct nand_bbt_descr *td = this->bbt_td;
this             1217 drivers/mtd/nand/raw/nand_bbt.c 	struct nand_bbt_descr *md = this->bbt_md;
this             1219 drivers/mtd/nand/raw/nand_bbt.c 	len = (mtd->size >> (this->bbt_erase_shift + 2)) ? : 1;
this             1224 drivers/mtd/nand/raw/nand_bbt.c 	this->bbt = kzalloc(len, GFP_KERNEL);
this             1225 drivers/mtd/nand/raw/nand_bbt.c 	if (!this->bbt)
this             1233 drivers/mtd/nand/raw/nand_bbt.c 		if ((res = nand_memory_bbt(this, bd))) {
this             1239 drivers/mtd/nand/raw/nand_bbt.c 	verify_bbt_descr(this, td);
this             1240 drivers/mtd/nand/raw/nand_bbt.c 	verify_bbt_descr(this, md);
this             1243 drivers/mtd/nand/raw/nand_bbt.c 	len = (1 << this->bbt_erase_shift);
this             1244 drivers/mtd/nand/raw/nand_bbt.c 	len += (len >> this->page_shift) * mtd->oobsize;
this             1253 drivers/mtd/nand/raw/nand_bbt.c 		read_abs_bbts(this, buf, td, md);
this             1256 drivers/mtd/nand/raw/nand_bbt.c 		search_read_bbts(this, buf, td, md);
this             1259 drivers/mtd/nand/raw/nand_bbt.c 	res = check_create(this, buf, bd);
this             1264 drivers/mtd/nand/raw/nand_bbt.c 	mark_bbt_region(this, td);
this             1266 drivers/mtd/nand/raw/nand_bbt.c 		mark_bbt_region(this, md);
this             1274 drivers/mtd/nand/raw/nand_bbt.c 	kfree(this->bbt);
this             1275 drivers/mtd/nand/raw/nand_bbt.c 	this->bbt = NULL;
this             1339 drivers/mtd/nand/raw/nand_bbt.c static int nand_create_badblock_pattern(struct nand_chip *this)
this             1342 drivers/mtd/nand/raw/nand_bbt.c 	if (this->badblock_pattern) {
this             1349 drivers/mtd/nand/raw/nand_bbt.c 	bd->options = this->bbt_options & BADBLOCK_SCAN_MASK;
this             1350 drivers/mtd/nand/raw/nand_bbt.c 	bd->offs = this->badblockpos;
this             1351 drivers/mtd/nand/raw/nand_bbt.c 	bd->len = (this->options & NAND_BUSWIDTH_16) ? 2 : 1;
this             1354 drivers/mtd/nand/raw/nand_bbt.c 	this->badblock_pattern = bd;
this             1365 drivers/mtd/nand/raw/nand_bbt.c int nand_create_bbt(struct nand_chip *this)
this             1370 drivers/mtd/nand/raw/nand_bbt.c 	if (this->bbt_options & NAND_BBT_USE_FLASH) {
this             1372 drivers/mtd/nand/raw/nand_bbt.c 		if (!this->bbt_td) {
this             1373 drivers/mtd/nand/raw/nand_bbt.c 			if (this->bbt_options & NAND_BBT_NO_OOB) {
this             1374 drivers/mtd/nand/raw/nand_bbt.c 				this->bbt_td = &bbt_main_no_oob_descr;
this             1375 drivers/mtd/nand/raw/nand_bbt.c 				this->bbt_md = &bbt_mirror_no_oob_descr;
this             1377 drivers/mtd/nand/raw/nand_bbt.c 				this->bbt_td = &bbt_main_descr;
this             1378 drivers/mtd/nand/raw/nand_bbt.c 				this->bbt_md = &bbt_mirror_descr;
this             1382 drivers/mtd/nand/raw/nand_bbt.c 		this->bbt_td = NULL;
this             1383 drivers/mtd/nand/raw/nand_bbt.c 		this->bbt_md = NULL;
this             1386 drivers/mtd/nand/raw/nand_bbt.c 	if (!this->badblock_pattern) {
this             1387 drivers/mtd/nand/raw/nand_bbt.c 		ret = nand_create_badblock_pattern(this);
this             1392 drivers/mtd/nand/raw/nand_bbt.c 	return nand_scan_bbt(this, this->badblock_pattern);
this             1401 drivers/mtd/nand/raw/nand_bbt.c int nand_isreserved_bbt(struct nand_chip *this, loff_t offs)
this             1405 drivers/mtd/nand/raw/nand_bbt.c 	block = (int)(offs >> this->bbt_erase_shift);
this             1406 drivers/mtd/nand/raw/nand_bbt.c 	return bbt_get_entry(this, block) == BBT_BLOCK_RESERVED;
this             1415 drivers/mtd/nand/raw/nand_bbt.c int nand_isbad_bbt(struct nand_chip *this, loff_t offs, int allowbbt)
this             1419 drivers/mtd/nand/raw/nand_bbt.c 	block = (int)(offs >> this->bbt_erase_shift);
this             1420 drivers/mtd/nand/raw/nand_bbt.c 	res = bbt_get_entry(this, block);
this             1441 drivers/mtd/nand/raw/nand_bbt.c int nand_markbad_bbt(struct nand_chip *this, loff_t offs)
this             1445 drivers/mtd/nand/raw/nand_bbt.c 	block = (int)(offs >> this->bbt_erase_shift);
this             1448 drivers/mtd/nand/raw/nand_bbt.c 	bbt_mark_entry(this, block, BBT_BLOCK_WORN);
this             1451 drivers/mtd/nand/raw/nand_bbt.c 	if (this->bbt_options & NAND_BBT_USE_FLASH)
this             1452 drivers/mtd/nand/raw/nand_bbt.c 		ret = nand_update_bbt(this, offs);
this              990 drivers/mtd/nand/raw/omap2.c static int omap_wait(struct nand_chip *this)
this              992 drivers/mtd/nand/raw/omap2.c 	struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(this));
this              405 drivers/mtd/nand/raw/s3c2410.c static void s3c2410_nand_select_chip(struct nand_chip *this, int chip)
this              411 drivers/mtd/nand/raw/s3c2410.c 	nmtd = nand_get_controller_data(this);
this              669 drivers/mtd/nand/raw/s3c2410.c static void s3c2410_nand_read_buf(struct nand_chip *this, u_char *buf, int len)
this              671 drivers/mtd/nand/raw/s3c2410.c 	readsb(this->legacy.IO_ADDR_R, buf, len);
this              674 drivers/mtd/nand/raw/s3c2410.c static void s3c2440_nand_read_buf(struct nand_chip *this, u_char *buf, int len)
this              676 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              690 drivers/mtd/nand/raw/s3c2410.c static void s3c2410_nand_write_buf(struct nand_chip *this, const u_char *buf,
this              693 drivers/mtd/nand/raw/s3c2410.c 	writesb(this->legacy.IO_ADDR_W, buf, len);
this              696 drivers/mtd/nand/raw/s3c2410.c static void s3c2440_nand_write_buf(struct nand_chip *this, const u_char *buf,
this              699 drivers/mtd/nand/raw/s3c2410.c 	struct mtd_info *mtd = nand_to_mtd(this);
this              104 drivers/mtd/nand/raw/sharpsl.c 	struct nand_chip *this;
this              137 drivers/mtd/nand/raw/sharpsl.c 	this = (struct nand_chip *)(&sharpsl->chip);
this              140 drivers/mtd/nand/raw/sharpsl.c 	mtd = nand_to_mtd(this);
this              152 drivers/mtd/nand/raw/sharpsl.c 	this->legacy.IO_ADDR_R = sharpsl->io + FLASHIO;
this              153 drivers/mtd/nand/raw/sharpsl.c 	this->legacy.IO_ADDR_W = sharpsl->io + FLASHIO;
this              155 drivers/mtd/nand/raw/sharpsl.c 	this->legacy.cmd_ctrl = sharpsl_nand_hwcontrol;
this              156 drivers/mtd/nand/raw/sharpsl.c 	this->legacy.dev_ready = sharpsl_nand_dev_ready;
this              158 drivers/mtd/nand/raw/sharpsl.c 	this->legacy.chip_delay = 15;
this              160 drivers/mtd/nand/raw/sharpsl.c 	this->ecc.mode = NAND_ECC_HW;
this              161 drivers/mtd/nand/raw/sharpsl.c 	this->ecc.size = 256;
this              162 drivers/mtd/nand/raw/sharpsl.c 	this->ecc.bytes = 3;
this              163 drivers/mtd/nand/raw/sharpsl.c 	this->ecc.strength = 1;
this              164 drivers/mtd/nand/raw/sharpsl.c 	this->badblock_pattern = data->badblock_pattern;
this              165 drivers/mtd/nand/raw/sharpsl.c 	this->ecc.hwctl = sharpsl_nand_enable_hwecc;
this              166 drivers/mtd/nand/raw/sharpsl.c 	this->ecc.calculate = sharpsl_nand_calculate_ecc;
this              167 drivers/mtd/nand/raw/sharpsl.c 	this->ecc.correct = nand_correct_data;
this              170 drivers/mtd/nand/raw/sharpsl.c 	err = nand_scan(this, 1);
this              186 drivers/mtd/nand/raw/sharpsl.c 	nand_release(this);
this               36 drivers/mtd/nand/raw/socrates_nand.c static void socrates_nand_write_buf(struct nand_chip *this, const uint8_t *buf,
this               40 drivers/mtd/nand/raw/socrates_nand.c 	struct socrates_nand_host *host = nand_get_controller_data(this);
this               55 drivers/mtd/nand/raw/socrates_nand.c static void socrates_nand_read_buf(struct nand_chip *this, uint8_t *buf,
this               59 drivers/mtd/nand/raw/socrates_nand.c 	struct socrates_nand_host *host = nand_get_controller_data(this);
this               75 drivers/mtd/nand/raw/socrates_nand.c static uint8_t socrates_nand_read_byte(struct nand_chip *this)
this               78 drivers/mtd/nand/raw/socrates_nand.c 	socrates_nand_read_buf(this, &byte, sizeof(byte));
this             1281 drivers/mtd/ubi/attach.c 	struct rb_node *this = av->root.rb_node;
this             1283 drivers/mtd/ubi/attach.c 	while (this) {
this             1284 drivers/mtd/ubi/attach.c 		if (this->rb_left)
this             1285 drivers/mtd/ubi/attach.c 			this = this->rb_left;
this             1286 drivers/mtd/ubi/attach.c 		else if (this->rb_right)
this             1287 drivers/mtd/ubi/attach.c 			this = this->rb_right;
this             1289 drivers/mtd/ubi/attach.c 			aeb = rb_entry(this, struct ubi_ainf_peb, u.rb);
this             1290 drivers/mtd/ubi/attach.c 			this = rb_parent(this);
this             1291 drivers/mtd/ubi/attach.c 			if (this) {
this             1292 drivers/mtd/ubi/attach.c 				if (this->rb_left == &aeb->u.rb)
this             1293 drivers/mtd/ubi/attach.c 					this->rb_left = NULL;
this             1295 drivers/mtd/ubi/attach.c 					this->rb_right = NULL;
this             3210 drivers/net/bonding/bond_main.c static int bond_netdev_event(struct notifier_block *this,
this              145 drivers/net/eql.c 	struct list_head *this, *tmp, *head;
this              149 drivers/net/eql.c 	list_for_each_safe(this, tmp, head) {
this              150 drivers/net/eql.c 		slave_t *slave = list_entry(this, slave_t, list);
this              232 drivers/net/eql.c 	struct list_head *head, *tmp, *this;
this              237 drivers/net/eql.c 	list_for_each_safe(this, tmp, head) {
this              238 drivers/net/eql.c 		slave_t *s = list_entry(this, slave_t, list);
this              299 drivers/net/eql.c 	struct list_head *this, *tmp, *head;
this              306 drivers/net/eql.c 	list_for_each_safe(this, tmp, head) {
this              307 drivers/net/eql.c 		slave_t *slave = list_entry(this, slave_t, list);
this              364 drivers/net/eql.c 	struct list_head *this, *head;
this              367 drivers/net/eql.c 	list_for_each(this, head) {
this              368 drivers/net/eql.c 		slave_t *slave = list_entry(this, slave_t, list);
this             5680 drivers/net/ethernet/broadcom/cnic.c static int cnic_netdev_event(struct notifier_block *this, unsigned long event,
this             2276 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static int cxgb4_inet6addr_handler(struct notifier_block *this,
this             3032 drivers/net/ethernet/mellanox/mlx4/en_netdev.c int mlx4_en_netdev_event(struct notifier_block *this,
this             3048 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	mdev = container_of(this, struct mlx4_en_dev, nb);
this              797 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h int mlx4_en_netdev_event(struct notifier_block *this,
this              259 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		struct res_common *this = rb_entry(*new, struct res_common,
this              263 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		if (res->res_id < this->res_id)
this              265 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 		else if (res->res_id > this->res_id)
this             4079 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c static int mlx5e_tc_netdev_event(struct notifier_block *this,
this             4093 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 	tc = container_of(this, struct mlx5e_tc_table, netdevice_nb);
this              898 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		struct mlx5_fpga_ipsec_rule *this =
this              903 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		if (rule->fte < this->fte)
this              905 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c 		else if (rule->fte > this->fte)
this              456 drivers/net/ethernet/mellanox/mlx5/core/lag.c static int mlx5_lag_netdev_event(struct notifier_block *this,
this              470 drivers/net/ethernet/mellanox/mlx5/core/lag.c 	ldev    = container_of(this, struct mlx5_lag, nb);
this             3347 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c static int netxen_netdev_event(struct notifier_block *this,
this             3390 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c netxen_inetaddr_event(struct notifier_block *this,
this              231 drivers/net/ethernet/qlogic/qede/qede_main.c static int qede_netdev_event(struct notifier_block *this, unsigned long event,
this             4165 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c static int qlcnic_netdev_event(struct notifier_block *this,
this             4197 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_inetaddr_event(struct notifier_block *this,
this             2502 drivers/net/ethernet/sfc/efx.c static int efx_netdev_event(struct notifier_block *this,
this             2240 drivers/net/ethernet/sfc/falcon/efx.c static int ef4_netdev_event(struct notifier_block *this,
this              768 drivers/net/ethernet/sun/sunbmac.c 		struct be_txd *this = &txbase[elem];
this              771 drivers/net/ethernet/sun/sunbmac.c 		     this, this->tx_flags, this->tx_addr));
this              773 drivers/net/ethernet/sun/sunbmac.c 		if (this->tx_flags & TXD_OWN)
this              779 drivers/net/ethernet/sun/sunbmac.c 				 this->tx_addr, skb->len,
this              802 drivers/net/ethernet/sun/sunbmac.c 	struct be_rxd *this;
this              806 drivers/net/ethernet/sun/sunbmac.c 	this = &rxbase[elem];
this              807 drivers/net/ethernet/sun/sunbmac.c 	while (!((flags = this->rx_flags) & RXD_OWN)) {
this              819 drivers/net/ethernet/sun/sunbmac.c 			this->rx_flags =
this              834 drivers/net/ethernet/sun/sunbmac.c 					 this->rx_addr,
this              840 drivers/net/ethernet/sun/sunbmac.c 			this->rx_addr =
this              845 drivers/net/ethernet/sun/sunbmac.c 			this->rx_flags =
this              860 drivers/net/ethernet/sun/sunbmac.c 						this->rx_addr, len,
this              864 drivers/net/ethernet/sun/sunbmac.c 						   this->rx_addr, len,
this              868 drivers/net/ethernet/sun/sunbmac.c 			this->rx_flags =
this              881 drivers/net/ethernet/sun/sunbmac.c 		this = &rxbase[elem];
this              128 drivers/net/ethernet/sun/sunhme.c 	int i, this;
this              130 drivers/net/ethernet/sun/sunhme.c 	this = txlog_cur_entry;
this              133 drivers/net/ethernet/sun/sunhme.c 		       tx_log[this].tstamp,
this              134 drivers/net/ethernet/sun/sunhme.c 		       tx_log[this].tx_new, tx_log[this].tx_old,
this              135 drivers/net/ethernet/sun/sunhme.c 		       tx_log[this].action, tx_log[this].status);
this              136 drivers/net/ethernet/sun/sunhme.c 		this = (this + 1) & (TX_LOG_LEN - 1);
this             1922 drivers/net/ethernet/sun/sunhme.c 	struct happy_meal_txd *this;
this             1934 drivers/net/ethernet/sun/sunhme.c 		this = &txbase[elem];
this             1935 drivers/net/ethernet/sun/sunhme.c 		flags = hme_read_desc32(hp, &this->tx_flags);
this             1952 drivers/net/ethernet/sun/sunhme.c 			dma_addr = hme_read_desc32(hp, &this->tx_addr);
this             1953 drivers/net/ethernet/sun/sunhme.c 			dma_len = hme_read_desc32(hp, &this->tx_flags);
this             1962 drivers/net/ethernet/sun/sunhme.c 			this = &txbase[elem];
this             1994 drivers/net/ethernet/sun/sunhme.c 	struct happy_meal_rxd *this;
this             1999 drivers/net/ethernet/sun/sunhme.c 	this = &rxbase[elem];
this             2000 drivers/net/ethernet/sun/sunhme.c 	while (!((flags = hme_read_desc32(hp, &this->rx_flags)) & RXFLAG_OWN)) {
this             2004 drivers/net/ethernet/sun/sunhme.c 		u32 dma_addr = hme_read_desc32(hp, &this->rx_addr);
this             2022 drivers/net/ethernet/sun/sunhme.c 			hme_write_rxd(hp, this,
this             2050 drivers/net/ethernet/sun/sunhme.c 			hme_write_rxd(hp, this,
this             2071 drivers/net/ethernet/sun/sunhme.c 			hme_write_rxd(hp, this,
this             2090 drivers/net/ethernet/sun/sunhme.c 		this = &rxbase[elem];
this             2276 drivers/net/ethernet/sun/sunhme.c 		struct happy_meal_txd *this = &txbase[first_entry];
this             2279 drivers/net/ethernet/sun/sunhme.c 		addr = hme_read_desc32(hp, &this->tx_addr);
this             2280 drivers/net/ethernet/sun/sunhme.c 		len = hme_read_desc32(hp, &this->tx_flags);
this              416 drivers/net/ethernet/sun/sunqe.c 	struct qe_rxd *this;
this              422 drivers/net/ethernet/sun/sunqe.c 	this = &rxbase[elem];
this              423 drivers/net/ethernet/sun/sunqe.c 	while (!((flags = this->rx_flags) & RXD_OWN)) {
this              457 drivers/net/ethernet/sun/sunqe.c 		this = &rxbase[elem];
this               60 drivers/net/ethernet/ti/cpts.c 	struct list_head *this, *next;
this               64 drivers/net/ethernet/ti/cpts.c 	list_for_each_safe(this, next, &cpts->events) {
this               65 drivers/net/ethernet/ti/cpts.c 		event = list_entry(this, struct cpts_event, list);
this              194 drivers/net/ethernet/ti/cpts.c 	struct list_head *this, *next;
this              201 drivers/net/ethernet/ti/cpts.c 	list_for_each_safe(this, next, &cpts->events) {
this              202 drivers/net/ethernet/ti/cpts.c 		event = list_entry(this, struct cpts_event, list);
this              371 drivers/net/ethernet/ti/cpts.c 	struct list_head *this, *next;
this              382 drivers/net/ethernet/ti/cpts.c 	list_for_each_safe(this, next, &cpts->events) {
this              383 drivers/net/ethernet/ti/cpts.c 		event = list_entry(this, struct cpts_event, list);
this              506 drivers/net/hamradio/bpqether.c static int bpq_device_event(struct notifier_block *this,
this             2451 drivers/net/hyperv/netvsc_drv.c static int netvsc_netdev_event(struct notifier_block *this,
this             3474 drivers/net/macsec.c static int macsec_notify(struct notifier_block *this, unsigned long event,
this              691 drivers/net/netconsole.c static int netconsole_netdev_event(struct notifier_block *this,
this              592 drivers/net/phy/dp83640.c 	struct list_head *this, *next;
this              595 drivers/net/phy/dp83640.c 	list_for_each_safe(this, next, &dp83640->rxts) {
this              596 drivers/net/phy/dp83640.c 		rxts = list_entry(this, struct rxts, list);
this              624 drivers/net/phy/dp83640.c 	struct list_head *this;
this              641 drivers/net/phy/dp83640.c 	list_for_each(this, &clock->phylist) {
this              642 drivers/net/phy/dp83640.c 		tmp = list_entry(this, struct dp83640_private, list);
this              660 drivers/net/phy/dp83640.c 	list_for_each(this, &clock->phylist) {
this              661 drivers/net/phy/dp83640.c 		tmp = list_entry(this, struct dp83640_private, list);
this              702 drivers/net/phy/dp83640.c 	list_for_each(this, &clock->phylist) {
this              703 drivers/net/phy/dp83640.c 		tmp = list_entry(this, struct dp83640_private, list);
this              723 drivers/net/phy/dp83640.c 	list_for_each(this, &clock->phylist) {
this              724 drivers/net/phy/dp83640.c 		tmp = list_entry(this, struct dp83640_private, list);
this             1017 drivers/net/phy/dp83640.c 	struct list_head *this, *next;
this             1021 drivers/net/phy/dp83640.c 	list_for_each_safe(this, next, &phyter_clocks) {
this             1022 drivers/net/phy/dp83640.c 		clock = list_entry(this, struct dp83640_clock, list);
this             1095 drivers/net/phy/dp83640.c 	struct list_head *this;
this             1099 drivers/net/phy/dp83640.c 	list_for_each(this, &phyter_clocks) {
this             1100 drivers/net/phy/dp83640.c 		tmp = list_entry(this, struct dp83640_clock, list);
this             1193 drivers/net/phy/dp83640.c 	struct list_head *this, *next;
this             1211 drivers/net/phy/dp83640.c 		list_for_each_safe(this, next, &clock->phylist) {
this             1212 drivers/net/phy/dp83640.c 			tmp = list_entry(this, struct dp83640_private, list);
this             1436 drivers/net/phy/dp83640.c 	struct list_head *this, *next;
this             1455 drivers/net/phy/dp83640.c 	list_for_each_safe(this, next, &dp83640->rxts) {
this             1456 drivers/net/phy/dp83640.c 		rxts = list_entry(this, struct rxts, list);
this              332 drivers/net/ppp/pppoe.c static int pppoe_device_event(struct notifier_block *this,
this              256 drivers/net/usb/net1080.c #define MK_TTL(this,other)	((u16)(((other)<<8)|(0x00ff&(this))))
this               88 drivers/net/wan/hdlc.c static int hdlc_device_event(struct notifier_block *this, unsigned long event,
this              362 drivers/net/wan/lapbether.c static int lapbeth_device_event(struct notifier_block *this,
this              600 drivers/net/wireless/virt_wifi.c static int virt_wifi_event(struct notifier_block *this, unsigned long event,
this              188 drivers/net/wireless/wl3501_cs.c static inline void wl3501_switch_page(struct wl3501_card *this, u8 page)
this              190 drivers/net/wireless/wl3501_cs.c 	wl3501_outb(page, this->base_addr + WL3501_NIC_BSS);
this              199 drivers/net/wireless/wl3501_cs.c static int wl3501_get_flash_mac_addr(struct wl3501_card *this)
this              201 drivers/net/wireless/wl3501_cs.c 	int base_addr = this->base_addr;
this              210 drivers/net/wireless/wl3501_cs.c 	this->mac_addr[0] = inb(base_addr + WL3501_NIC_IODPA);
this              212 drivers/net/wireless/wl3501_cs.c 	this->mac_addr[1] = inb(base_addr + WL3501_NIC_IODPA);
this              214 drivers/net/wireless/wl3501_cs.c 	this->mac_addr[2] = inb(base_addr + WL3501_NIC_IODPA);
this              216 drivers/net/wireless/wl3501_cs.c 	this->mac_addr[3] = inb(base_addr + WL3501_NIC_IODPA);
this              218 drivers/net/wireless/wl3501_cs.c 	this->mac_addr[4] = inb(base_addr + WL3501_NIC_IODPA);
this              220 drivers/net/wireless/wl3501_cs.c 	this->mac_addr[5] = inb(base_addr + WL3501_NIC_IODPA);
this              222 drivers/net/wireless/wl3501_cs.c 	this->reg_domain = inb(base_addr + WL3501_NIC_IODPA);
this              228 drivers/net/wireless/wl3501_cs.c 	this->version[0] = inb(base_addr + WL3501_NIC_IODPA);
this              230 drivers/net/wireless/wl3501_cs.c 	this->version[1] = inb(base_addr + WL3501_NIC_IODPA);
this              232 drivers/net/wireless/wl3501_cs.c 	wl3501_switch_page(this, WL3501_BSS_SPAGE0);
this              235 drivers/net/wireless/wl3501_cs.c 	return this->mac_addr[0] == 0x00 && this->mac_addr[1] == 0x60;
this              246 drivers/net/wireless/wl3501_cs.c static void wl3501_set_to_wla(struct wl3501_card *this, u16 dest, void *src,
this              250 drivers/net/wireless/wl3501_cs.c 	wl3501_switch_page(this, (dest & 0x8000) ? WL3501_BSS_SPAGE1 :
this              253 drivers/net/wireless/wl3501_cs.c 	wl3501_outb(dest & 0xff, this->base_addr + WL3501_NIC_LMAL);
this              254 drivers/net/wireless/wl3501_cs.c 	wl3501_outb(((dest >> 8) & 0x7f), this->base_addr + WL3501_NIC_LMAH);
this              257 drivers/net/wireless/wl3501_cs.c 	wl3501_outsb(this->base_addr + WL3501_NIC_IODPA, src, size);
this              268 drivers/net/wireless/wl3501_cs.c static void wl3501_get_from_wla(struct wl3501_card *this, u16 src, void *dest,
this              272 drivers/net/wireless/wl3501_cs.c 	wl3501_switch_page(this, (src & 0x8000) ? WL3501_BSS_SPAGE1 :
this              275 drivers/net/wireless/wl3501_cs.c 	wl3501_outb(src & 0xff, this->base_addr + WL3501_NIC_LMAL);
this              276 drivers/net/wireless/wl3501_cs.c 	wl3501_outb((src >> 8) & 0x7f, this->base_addr + WL3501_NIC_LMAH);
this              279 drivers/net/wireless/wl3501_cs.c 	insb(this->base_addr + WL3501_NIC_IODPA, dest, size);
this              294 drivers/net/wireless/wl3501_cs.c static u16 wl3501_get_tx_buffer(struct wl3501_card *this, u16 len)
this              300 drivers/net/wireless/wl3501_cs.c 	if (full_len > this->tx_buffer_cnt * 254)
this              302 drivers/net/wireless/wl3501_cs.c 	ret = this->tx_buffer_head;
this              308 drivers/net/wireless/wl3501_cs.c 		wl3501_get_from_wla(this, this->tx_buffer_head, &next,
this              311 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, this->tx_buffer_head, &zero,
this              313 drivers/net/wireless/wl3501_cs.c 		this->tx_buffer_head = next;
this              317 drivers/net/wireless/wl3501_cs.c 			this->tx_buffer_head = ret;
this              322 drivers/net/wireless/wl3501_cs.c 	this->tx_buffer_cnt -= blk_cnt;
this              330 drivers/net/wireless/wl3501_cs.c static void wl3501_free_tx_buffer(struct wl3501_card *this, u16 ptr)
this              333 drivers/net/wireless/wl3501_cs.c 	if (!this->tx_buffer_head)
this              334 drivers/net/wireless/wl3501_cs.c 		this->tx_buffer_head = ptr;
this              336 drivers/net/wireless/wl3501_cs.c 		wl3501_set_to_wla(this, this->tx_buffer_tail,
this              341 drivers/net/wireless/wl3501_cs.c 		this->tx_buffer_cnt++;
this              342 drivers/net/wireless/wl3501_cs.c 		wl3501_get_from_wla(this, ptr, &next, sizeof(next));
this              343 drivers/net/wireless/wl3501_cs.c 		this->tx_buffer_tail = ptr;
this              348 drivers/net/wireless/wl3501_cs.c static int wl3501_esbq_req_test(struct wl3501_card *this)
this              352 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, this->esbq_req_head + 3, &tmp, sizeof(tmp));
this              356 drivers/net/wireless/wl3501_cs.c static void wl3501_esbq_req(struct wl3501_card *this, u16 *ptr)
this              360 drivers/net/wireless/wl3501_cs.c 	wl3501_set_to_wla(this, this->esbq_req_head, ptr, 2);
this              361 drivers/net/wireless/wl3501_cs.c 	wl3501_set_to_wla(this, this->esbq_req_head + 2, &tmp, sizeof(tmp));
this              362 drivers/net/wireless/wl3501_cs.c 	this->esbq_req_head += 4;
this              363 drivers/net/wireless/wl3501_cs.c 	if (this->esbq_req_head >= this->esbq_req_end)
this              364 drivers/net/wireless/wl3501_cs.c 		this->esbq_req_head = this->esbq_req_start;
this              367 drivers/net/wireless/wl3501_cs.c static int wl3501_esbq_exec(struct wl3501_card *this, void *sig, int sig_size)
this              371 drivers/net/wireless/wl3501_cs.c 	if (wl3501_esbq_req_test(this)) {
this              372 drivers/net/wireless/wl3501_cs.c 		u16 ptr = wl3501_get_tx_buffer(this, sig_size);
this              374 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, ptr, sig, sig_size);
this              375 drivers/net/wireless/wl3501_cs.c 			wl3501_esbq_req(this, &ptr);
this              382 drivers/net/wireless/wl3501_cs.c static int wl3501_request_mib(struct wl3501_card *this, u8 index, void *bf)
this              391 drivers/net/wireless/wl3501_cs.c 	spin_lock_irqsave(&this->lock, flags);
this              392 drivers/net/wireless/wl3501_cs.c 	if (wl3501_esbq_req_test(this)) {
this              393 drivers/net/wireless/wl3501_cs.c 		u16 ptr = wl3501_get_tx_buffer(this, sizeof(sig));
this              395 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, ptr, &sig, sizeof(sig));
this              396 drivers/net/wireless/wl3501_cs.c 			wl3501_esbq_req(this, &ptr);
this              397 drivers/net/wireless/wl3501_cs.c 			this->sig_get_confirm.mib_status = 255;
this              401 drivers/net/wireless/wl3501_cs.c 	spin_unlock_irqrestore(&this->lock, flags);
this              406 drivers/net/wireless/wl3501_cs.c static int wl3501_get_mib_value(struct wl3501_card *this, u8 index,
this              411 drivers/net/wireless/wl3501_cs.c 	rc = wl3501_request_mib(this, index, bf);
this              415 drivers/net/wireless/wl3501_cs.c 	rc = wait_event_interruptible(this->wait,
this              416 drivers/net/wireless/wl3501_cs.c 		this->sig_get_confirm.mib_status != 255);
this              420 drivers/net/wireless/wl3501_cs.c 	memcpy(bf, this->sig_get_confirm.mib_value, size);
this              424 drivers/net/wireless/wl3501_cs.c static int wl3501_pwr_mgmt(struct wl3501_card *this, int suspend)
this              435 drivers/net/wireless/wl3501_cs.c 	spin_lock_irqsave(&this->lock, flags);
this              436 drivers/net/wireless/wl3501_cs.c 	if (wl3501_esbq_req_test(this)) {
this              437 drivers/net/wireless/wl3501_cs.c 		u16 ptr = wl3501_get_tx_buffer(this, sizeof(sig));
this              439 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, ptr, &sig, sizeof(sig));
this              440 drivers/net/wireless/wl3501_cs.c 			wl3501_esbq_req(this, &ptr);
this              441 drivers/net/wireless/wl3501_cs.c 			this->sig_pwr_mgmt_confirm.status = 255;
this              442 drivers/net/wireless/wl3501_cs.c 			spin_unlock_irqrestore(&this->lock, flags);
this              443 drivers/net/wireless/wl3501_cs.c 			rc = wait_event_interruptible(this->wait,
this              444 drivers/net/wireless/wl3501_cs.c 				this->sig_pwr_mgmt_confirm.status != 255);
this              447 drivers/net/wireless/wl3501_cs.c 			       this->sig_pwr_mgmt_confirm.status);
this              451 drivers/net/wireless/wl3501_cs.c 	spin_unlock_irqrestore(&this->lock, flags);
this              466 drivers/net/wireless/wl3501_cs.c static int wl3501_send_pkt(struct wl3501_card *this, u8 *data, u16 len)
this              475 drivers/net/wireless/wl3501_cs.c 	if (wl3501_esbq_req_test(this)) {
this              476 drivers/net/wireless/wl3501_cs.c 		sig_bf = wl3501_get_tx_buffer(this, sizeof(sig));
this              480 drivers/net/wireless/wl3501_cs.c 		bf = wl3501_get_tx_buffer(this, len + 26 + 24);
this              483 drivers/net/wireless/wl3501_cs.c 			wl3501_free_tx_buffer(this, sig_bf);
this              496 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, bf + 2 +
this              507 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this,
this              511 drivers/net/wireless/wl3501_cs.c 			wl3501_get_from_wla(this, bf, &next, sizeof(next));
this              524 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, bf + 2 +
this              528 drivers/net/wireless/wl3501_cs.c 			wl3501_get_from_wla(this, bf, &next, sizeof(next));
this              539 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, bf + 2, pdata, tmplen);
this              541 drivers/net/wireless/wl3501_cs.c 			wl3501_get_from_wla(this, bf, &next, sizeof(next));
this              544 drivers/net/wireless/wl3501_cs.c 		wl3501_set_to_wla(this, sig_bf, &sig, sizeof(sig));
this              545 drivers/net/wireless/wl3501_cs.c 		wl3501_esbq_req(this, &sig_bf);
this              551 drivers/net/wireless/wl3501_cs.c static int wl3501_mgmt_resync(struct wl3501_card *this)
this              557 drivers/net/wireless/wl3501_cs.c 	return wl3501_esbq_exec(this, &sig, sizeof(sig));
this              560 drivers/net/wireless/wl3501_cs.c static inline int wl3501_fw_bss_type(struct wl3501_card *this)
this              562 drivers/net/wireless/wl3501_cs.c 	return this->net_type == IW_MODE_INFRA ? WL3501_NET_TYPE_INFRA :
this              566 drivers/net/wireless/wl3501_cs.c static inline int wl3501_fw_cap_info(struct wl3501_card *this)
this              568 drivers/net/wireless/wl3501_cs.c 	return this->net_type == IW_MODE_INFRA ? WL3501_MGMT_CAPABILITY_ESS :
this              572 drivers/net/wireless/wl3501_cs.c static int wl3501_mgmt_scan(struct wl3501_card *this, u16 chan_time)
this              580 drivers/net/wireless/wl3501_cs.c 		.bss_type	= wl3501_fw_bss_type(this),
this              583 drivers/net/wireless/wl3501_cs.c 	this->bss_cnt = this->join_sta_bss = 0;
this              584 drivers/net/wireless/wl3501_cs.c 	return wl3501_esbq_exec(this, &sig, sizeof(sig));
this              587 drivers/net/wireless/wl3501_cs.c static int wl3501_mgmt_join(struct wl3501_card *this, u16 stas)
this              597 drivers/net/wireless/wl3501_cs.c 			.chan	= this->chan,
this              601 drivers/net/wireless/wl3501_cs.c 	memcpy(&sig.beacon_period, &this->bss_set[stas].beacon_period, 72);
this              602 drivers/net/wireless/wl3501_cs.c 	return wl3501_esbq_exec(this, &sig, sizeof(sig));
this              605 drivers/net/wireless/wl3501_cs.c static int wl3501_mgmt_start(struct wl3501_card *this)
this              616 drivers/net/wireless/wl3501_cs.c 			.chan	= this->chan,
this              649 drivers/net/wireless/wl3501_cs.c 		.bss_type		= wl3501_fw_bss_type(this),
this              650 drivers/net/wireless/wl3501_cs.c 		.cap_info		= wl3501_fw_cap_info(this),
this              653 drivers/net/wireless/wl3501_cs.c 	iw_copy_mgmt_info_element(&sig.ssid.el, &this->essid.el);
this              654 drivers/net/wireless/wl3501_cs.c 	iw_copy_mgmt_info_element(&this->keep_essid.el, &this->essid.el);
this              655 drivers/net/wireless/wl3501_cs.c 	return wl3501_esbq_exec(this, &sig, sizeof(sig));
this              658 drivers/net/wireless/wl3501_cs.c static void wl3501_mgmt_scan_confirm(struct wl3501_card *this, u16 addr)
this              665 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, addr, &sig, sizeof(sig));
this              668 drivers/net/wireless/wl3501_cs.c 		if ((this->net_type == IW_MODE_INFRA &&
this              670 drivers/net/wireless/wl3501_cs.c 		    (this->net_type == IW_MODE_ADHOC &&
this              672 drivers/net/wireless/wl3501_cs.c 		    this->net_type == IW_MODE_AUTO) {
this              673 drivers/net/wireless/wl3501_cs.c 			if (!this->essid.el.len)
this              675 drivers/net/wireless/wl3501_cs.c 			else if (this->essid.el.len == 3 &&
this              676 drivers/net/wireless/wl3501_cs.c 				 !memcmp(this->essid.essid, "ANY", 3))
this              678 drivers/net/wireless/wl3501_cs.c 			else if (this->essid.el.len != sig.ssid.el.len)
this              680 drivers/net/wireless/wl3501_cs.c 			else if (memcmp(this->essid.essid, sig.ssid.essid,
this              681 drivers/net/wireless/wl3501_cs.c 					this->essid.el.len))
this              686 drivers/net/wireless/wl3501_cs.c 				for (i = 0; i < this->bss_cnt; i++) {
this              687 drivers/net/wireless/wl3501_cs.c 					if (ether_addr_equal_unaligned(this->bss_set[i].bssid, sig.bssid)) {
this              694 drivers/net/wireless/wl3501_cs.c 				memcpy(&this->bss_set[i].beacon_period,
this              696 drivers/net/wireless/wl3501_cs.c 				this->bss_cnt++;
this              697 drivers/net/wireless/wl3501_cs.c 				this->rssi = sig.rssi;
this              702 drivers/net/wireless/wl3501_cs.c 		this->join_sta_bss = 0;
this              703 drivers/net/wireless/wl3501_cs.c 		for (i = this->join_sta_bss; i < this->bss_cnt; i++)
this              704 drivers/net/wireless/wl3501_cs.c 			if (!wl3501_mgmt_join(this, i))
this              706 drivers/net/wireless/wl3501_cs.c 		this->join_sta_bss = i;
this              707 drivers/net/wireless/wl3501_cs.c 		if (this->join_sta_bss == this->bss_cnt) {
this              708 drivers/net/wireless/wl3501_cs.c 			if (this->net_type == IW_MODE_INFRA)
this              709 drivers/net/wireless/wl3501_cs.c 				wl3501_mgmt_scan(this, 100);
this              711 drivers/net/wireless/wl3501_cs.c 				this->adhoc_times++;
this              712 drivers/net/wireless/wl3501_cs.c 				if (this->adhoc_times > WL3501_MAX_ADHOC_TRIES)
this              713 drivers/net/wireless/wl3501_cs.c 					wl3501_mgmt_start(this);
this              715 drivers/net/wireless/wl3501_cs.c 					wl3501_mgmt_scan(this, 100);
this              728 drivers/net/wireless/wl3501_cs.c static int wl3501_block_interrupt(struct wl3501_card *this)
this              730 drivers/net/wireless/wl3501_cs.c 	u8 old = inb(this->base_addr + WL3501_NIC_GCR);
this              734 drivers/net/wireless/wl3501_cs.c 	wl3501_outb(new, this->base_addr + WL3501_NIC_GCR);
this              745 drivers/net/wireless/wl3501_cs.c static int wl3501_unblock_interrupt(struct wl3501_card *this)
this              747 drivers/net/wireless/wl3501_cs.c 	u8 old = inb(this->base_addr + WL3501_NIC_GCR);
this              751 drivers/net/wireless/wl3501_cs.c 	wl3501_outb(new, this->base_addr + WL3501_NIC_GCR);
this              764 drivers/net/wireless/wl3501_cs.c static u16 wl3501_receive(struct wl3501_card *this, u8 *bf, u16 size)
this              770 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, this->start_seg + 2,
this              773 drivers/net/wireless/wl3501_cs.c 		wl3501_get_from_wla(this,
this              774 drivers/net/wireless/wl3501_cs.c 				    this->start_seg +
this              781 drivers/net/wireless/wl3501_cs.c 		wl3501_get_from_wla(this,
this              782 drivers/net/wireless/wl3501_cs.c 				    this->start_seg +
this              789 drivers/net/wireless/wl3501_cs.c 			wl3501_get_from_wla(this, next_addr + 5, data,
this              793 drivers/net/wireless/wl3501_cs.c 			wl3501_get_from_wla(this, next_addr + 2, &next_addr1,
this              797 drivers/net/wireless/wl3501_cs.c 			wl3501_get_from_wla(this, next_addr + 5, data, size);
this              804 drivers/net/wireless/wl3501_cs.c static void wl3501_esbq_req_free(struct wl3501_card *this)
this              809 drivers/net/wireless/wl3501_cs.c 	if (this->esbq_req_head == this->esbq_req_tail)
this              811 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, this->esbq_req_tail + 3, &tmp, sizeof(tmp));
this              814 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, this->esbq_req_tail, &addr, sizeof(addr));
this              815 drivers/net/wireless/wl3501_cs.c 	wl3501_free_tx_buffer(this, addr);
this              816 drivers/net/wireless/wl3501_cs.c 	this->esbq_req_tail += 4;
this              817 drivers/net/wireless/wl3501_cs.c 	if (this->esbq_req_tail >= this->esbq_req_end)
this              818 drivers/net/wireless/wl3501_cs.c 		this->esbq_req_tail = this->esbq_req_start;
this              823 drivers/net/wireless/wl3501_cs.c static int wl3501_esbq_confirm(struct wl3501_card *this)
this              827 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, this->esbq_confirm + 3, &tmp, sizeof(tmp));
this              833 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this              836 drivers/net/wireless/wl3501_cs.c 	       dev->name, this->bssid);
this              840 drivers/net/wireless/wl3501_cs.c static void wl3501_esbq_confirm_done(struct wl3501_card *this)
this              844 drivers/net/wireless/wl3501_cs.c 	wl3501_set_to_wla(this, this->esbq_confirm + 3, &tmp, sizeof(tmp));
this              845 drivers/net/wireless/wl3501_cs.c 	this->esbq_confirm += 4;
this              846 drivers/net/wireless/wl3501_cs.c 	if (this->esbq_confirm >= this->esbq_confirm_end)
this              847 drivers/net/wireless/wl3501_cs.c 		this->esbq_confirm = this->esbq_confirm_start;
this              850 drivers/net/wireless/wl3501_cs.c static int wl3501_mgmt_auth(struct wl3501_card *this)
this              859 drivers/net/wireless/wl3501_cs.c 	memcpy(sig.mac_addr, this->bssid, ETH_ALEN);
this              860 drivers/net/wireless/wl3501_cs.c 	return wl3501_esbq_exec(this, &sig, sizeof(sig));
this              863 drivers/net/wireless/wl3501_cs.c static int wl3501_mgmt_association(struct wl3501_card *this)
this              869 drivers/net/wireless/wl3501_cs.c 		.cap_info	 = this->cap_info,
this              873 drivers/net/wireless/wl3501_cs.c 	memcpy(sig.mac_addr, this->bssid, ETH_ALEN);
this              874 drivers/net/wireless/wl3501_cs.c 	return wl3501_esbq_exec(this, &sig, sizeof(sig));
this              879 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this              883 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, addr, &sig, sizeof(sig));
this              885 drivers/net/wireless/wl3501_cs.c 		if (this->net_type == IW_MODE_INFRA) {
this              886 drivers/net/wireless/wl3501_cs.c 			if (this->join_sta_bss < this->bss_cnt) {
this              887 drivers/net/wireless/wl3501_cs.c 				const int i = this->join_sta_bss;
this              888 drivers/net/wireless/wl3501_cs.c 				memcpy(this->bssid,
this              889 drivers/net/wireless/wl3501_cs.c 				       this->bss_set[i].bssid, ETH_ALEN);
this              890 drivers/net/wireless/wl3501_cs.c 				this->chan = this->bss_set[i].ds_pset.chan;
this              891 drivers/net/wireless/wl3501_cs.c 				iw_copy_mgmt_info_element(&this->keep_essid.el,
this              892 drivers/net/wireless/wl3501_cs.c 						     &this->bss_set[i].ssid.el);
this              893 drivers/net/wireless/wl3501_cs.c 				wl3501_mgmt_auth(this);
this              896 drivers/net/wireless/wl3501_cs.c 			const int i = this->join_sta_bss;
this              898 drivers/net/wireless/wl3501_cs.c 			memcpy(&this->bssid, &this->bss_set[i].bssid, ETH_ALEN);
this              899 drivers/net/wireless/wl3501_cs.c 			this->chan = this->bss_set[i].ds_pset.chan;
this              900 drivers/net/wireless/wl3501_cs.c 			iw_copy_mgmt_info_element(&this->keep_essid.el,
this              901 drivers/net/wireless/wl3501_cs.c 						  &this->bss_set[i].ssid.el);
this              906 drivers/net/wireless/wl3501_cs.c 		this->join_sta_bss++;
this              907 drivers/net/wireless/wl3501_cs.c 		for (i = this->join_sta_bss; i < this->bss_cnt; i++)
this              908 drivers/net/wireless/wl3501_cs.c 			if (!wl3501_mgmt_join(this, i))
this              910 drivers/net/wireless/wl3501_cs.c 		this->join_sta_bss = i;
this              911 drivers/net/wireless/wl3501_cs.c 		if (this->join_sta_bss == this->bss_cnt) {
this              912 drivers/net/wireless/wl3501_cs.c 			if (this->net_type == IW_MODE_INFRA)
this              913 drivers/net/wireless/wl3501_cs.c 				wl3501_mgmt_scan(this, 100);
this              915 drivers/net/wireless/wl3501_cs.c 				this->adhoc_times++;
this              916 drivers/net/wireless/wl3501_cs.c 				if (this->adhoc_times > WL3501_MAX_ADHOC_TRIES)
this              917 drivers/net/wireless/wl3501_cs.c 					wl3501_mgmt_start(this);
this              919 drivers/net/wireless/wl3501_cs.c 					wl3501_mgmt_scan(this, 100);
this              926 drivers/net/wireless/wl3501_cs.c 					  struct wl3501_card *this)
this              928 drivers/net/wireless/wl3501_cs.c 	if (this->net_type == IW_MODE_INFRA) {
this              931 drivers/net/wireless/wl3501_cs.c 		wl3501_mgmt_resync(this);
this              936 drivers/net/wireless/wl3501_cs.c 					       struct wl3501_card *this,
this              942 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, addr, &sig, sizeof(sig));
this              943 drivers/net/wireless/wl3501_cs.c 	wl3501_free_tx_buffer(this, sig.data);
this              949 drivers/net/wireless/wl3501_cs.c 					   struct wl3501_card *this, u16 addr)
this              956 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, addr, &sig, sizeof(sig));
this              957 drivers/net/wireless/wl3501_cs.c 	this->start_seg = sig.data;
this              958 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this,
this              961 drivers/net/wireless/wl3501_cs.c 	this->rssi = rssi <= 63 ? (rssi * 100) / 64 : 255;
this              963 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this,
this              984 drivers/net/wireless/wl3501_cs.c 		wl3501_receive(this, skb->data, pkt_len);
this              993 drivers/net/wireless/wl3501_cs.c static inline void wl3501_get_confirm_interrupt(struct wl3501_card *this,
this              997 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, addr, &this->sig_get_confirm,
this              998 drivers/net/wireless/wl3501_cs.c 			    sizeof(this->sig_get_confirm));
this              999 drivers/net/wireless/wl3501_cs.c 	wake_up(&this->wait);
this             1003 drivers/net/wireless/wl3501_cs.c 						  struct wl3501_card *this,
this             1009 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, addr, &sig, sizeof(sig));
this             1017 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1021 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, addr, &sig, sizeof(sig));
this             1027 drivers/net/wireless/wl3501_cs.c static inline void wl3501_auth_confirm_interrupt(struct wl3501_card *this,
this             1033 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, addr, &sig, sizeof(sig));
this             1036 drivers/net/wireless/wl3501_cs.c 		wl3501_mgmt_association(this);
this             1038 drivers/net/wireless/wl3501_cs.c 		wl3501_mgmt_resync(this);
this             1046 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1051 drivers/net/wireless/wl3501_cs.c 	if (!wl3501_esbq_confirm(this))
this             1053 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, this->esbq_confirm, &addr, sizeof(addr));
this             1054 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, addr + 2, &sig_id, sizeof(sig_id));
this             1060 drivers/net/wireless/wl3501_cs.c 		wl3501_alarm_interrupt(dev, this);
this             1063 drivers/net/wireless/wl3501_cs.c 		wl3501_md_confirm_interrupt(dev, this, addr);
this             1066 drivers/net/wireless/wl3501_cs.c 		wl3501_md_ind_interrupt(dev, this, addr);
this             1069 drivers/net/wireless/wl3501_cs.c 		wl3501_get_confirm_interrupt(this, addr,
this             1070 drivers/net/wireless/wl3501_cs.c 					     &this->sig_get_confirm,
this             1071 drivers/net/wireless/wl3501_cs.c 					     sizeof(this->sig_get_confirm));
this             1074 drivers/net/wireless/wl3501_cs.c 		wl3501_get_confirm_interrupt(this, addr,
this             1075 drivers/net/wireless/wl3501_cs.c 					     &this->sig_pwr_mgmt_confirm,
this             1076 drivers/net/wireless/wl3501_cs.c 					    sizeof(this->sig_pwr_mgmt_confirm));
this             1079 drivers/net/wireless/wl3501_cs.c 		wl3501_start_confirm_interrupt(dev, this, addr);
this             1082 drivers/net/wireless/wl3501_cs.c 		wl3501_mgmt_scan_confirm(this, addr);
this             1091 drivers/net/wireless/wl3501_cs.c 		wl3501_auth_confirm_interrupt(this, addr);
this             1094 drivers/net/wireless/wl3501_cs.c 		wl3501_mgmt_resync(this); /* FIXME: should be resync_confirm */
this             1097 drivers/net/wireless/wl3501_cs.c 	wl3501_esbq_confirm_done(this);
this             1101 drivers/net/wireless/wl3501_cs.c 	wl3501_esbq_req_free(this);
this             1106 drivers/net/wireless/wl3501_cs.c static inline void wl3501_ack_interrupt(struct wl3501_card *this)
this             1108 drivers/net/wireless/wl3501_cs.c 	wl3501_outb(WL3501_GCR_ECINT, this->base_addr + WL3501_NIC_GCR);
this             1126 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this;
this             1128 drivers/net/wireless/wl3501_cs.c 	this = netdev_priv(dev);
this             1129 drivers/net/wireless/wl3501_cs.c 	spin_lock(&this->lock);
this             1130 drivers/net/wireless/wl3501_cs.c 	wl3501_ack_interrupt(this);
this             1131 drivers/net/wireless/wl3501_cs.c 	wl3501_block_interrupt(this);
this             1133 drivers/net/wireless/wl3501_cs.c 	wl3501_unblock_interrupt(this);
this             1134 drivers/net/wireless/wl3501_cs.c 	spin_unlock(&this->lock);
this             1139 drivers/net/wireless/wl3501_cs.c static int wl3501_reset_board(struct wl3501_card *this)
this             1145 drivers/net/wireless/wl3501_cs.c 	wl3501_outb_p(WL3501_GCR_CORESET, this->base_addr + WL3501_NIC_GCR);
this             1146 drivers/net/wireless/wl3501_cs.c 	wl3501_outb_p(0, this->base_addr + WL3501_NIC_GCR);
this             1147 drivers/net/wireless/wl3501_cs.c 	wl3501_outb_p(WL3501_GCR_CORESET, this->base_addr + WL3501_NIC_GCR);
this             1150 drivers/net/wireless/wl3501_cs.c 	wl3501_set_to_wla(this, 0x480, &tmp, sizeof(tmp));
this             1153 drivers/net/wireless/wl3501_cs.c 	wl3501_outb_p(0, this->base_addr + WL3501_NIC_GCR);
this             1157 drivers/net/wireless/wl3501_cs.c 	wl3501_unblock_interrupt(this);	/* acme: was commented */
this             1161 drivers/net/wireless/wl3501_cs.c 		wl3501_get_from_wla(this, 0x480, &tmp, sizeof(tmp));
this             1166 drivers/net/wireless/wl3501_cs.c 			wl3501_set_to_wla(this, 0x480, &tmp, sizeof(tmp));
this             1177 drivers/net/wireless/wl3501_cs.c static int wl3501_init_firmware(struct wl3501_card *this)
this             1180 drivers/net/wireless/wl3501_cs.c 	int rc = wl3501_reset_board(this);
this             1184 drivers/net/wireless/wl3501_cs.c 	this->card_name[0] = '\0';
this             1185 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, 0x1a00,
this             1186 drivers/net/wireless/wl3501_cs.c 			    this->card_name, sizeof(this->card_name));
this             1187 drivers/net/wireless/wl3501_cs.c 	this->card_name[sizeof(this->card_name) - 1] = '\0';
this             1188 drivers/net/wireless/wl3501_cs.c 	this->firmware_date[0] = '\0';
this             1189 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, 0x1a40,
this             1190 drivers/net/wireless/wl3501_cs.c 			    this->firmware_date, sizeof(this->firmware_date));
this             1191 drivers/net/wireless/wl3501_cs.c 	this->firmware_date[sizeof(this->firmware_date) - 1] = '\0';
this             1193 drivers/net/wireless/wl3501_cs.c 	wl3501_switch_page(this, WL3501_BSS_SPAGE0);
this             1195 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, 0x482, &this->esbq_req_start, 2);
this             1196 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, 0x486, &this->esbq_req_end, 2);
this             1197 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, 0x488, &this->esbq_confirm_start, 2);
this             1198 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, 0x48c, &this->esbq_confirm_end, 2);
this             1199 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, 0x48e, &this->tx_buffer_head, 2);
this             1200 drivers/net/wireless/wl3501_cs.c 	wl3501_get_from_wla(this, 0x492, &this->tx_buffer_size, 2);
this             1201 drivers/net/wireless/wl3501_cs.c 	this->esbq_req_tail	= this->esbq_req_head = this->esbq_req_start;
this             1202 drivers/net/wireless/wl3501_cs.c 	this->esbq_req_end     += this->esbq_req_start;
this             1203 drivers/net/wireless/wl3501_cs.c 	this->esbq_confirm	= this->esbq_confirm_start;
this             1204 drivers/net/wireless/wl3501_cs.c 	this->esbq_confirm_end += this->esbq_confirm_start;
this             1206 drivers/net/wireless/wl3501_cs.c 	this->tx_buffer_cnt = 1;
this             1207 drivers/net/wireless/wl3501_cs.c 	ptr = this->tx_buffer_head;
this             1209 drivers/net/wireless/wl3501_cs.c 	while ((next - this->tx_buffer_head) < this->tx_buffer_size) {
this             1210 drivers/net/wireless/wl3501_cs.c 		this->tx_buffer_cnt++;
this             1211 drivers/net/wireless/wl3501_cs.c 		wl3501_set_to_wla(this, ptr, &next, sizeof(next));
this             1217 drivers/net/wireless/wl3501_cs.c 	wl3501_set_to_wla(this, ptr, &next, sizeof(next));
this             1218 drivers/net/wireless/wl3501_cs.c 	this->tx_buffer_tail = ptr;
this             1228 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1231 drivers/net/wireless/wl3501_cs.c 	link = this->p_dev;
this             1233 drivers/net/wireless/wl3501_cs.c 	spin_lock_irqsave(&this->lock, flags);
this             1238 drivers/net/wireless/wl3501_cs.c 	wl3501_ack_interrupt(this);
this             1241 drivers/net/wireless/wl3501_cs.c 	wl3501_block_interrupt(this);
this             1244 drivers/net/wireless/wl3501_cs.c 	spin_unlock_irqrestore(&this->lock, flags);
this             1258 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1262 drivers/net/wireless/wl3501_cs.c 	spin_lock_irqsave(&this->lock, flags);
this             1263 drivers/net/wireless/wl3501_cs.c 	wl3501_block_interrupt(this);
this             1265 drivers/net/wireless/wl3501_cs.c 	if (wl3501_init_firmware(this)) {
this             1277 drivers/net/wireless/wl3501_cs.c 	this->adhoc_times = 0;
this             1278 drivers/net/wireless/wl3501_cs.c 	wl3501_ack_interrupt(this);
this             1279 drivers/net/wireless/wl3501_cs.c 	wl3501_unblock_interrupt(this);
this             1280 drivers/net/wireless/wl3501_cs.c 	wl3501_mgmt_scan(this, 100);
this             1284 drivers/net/wireless/wl3501_cs.c 	spin_unlock_irqrestore(&this->lock, flags);
this             1313 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1316 drivers/net/wireless/wl3501_cs.c 	spin_lock_irqsave(&this->lock, flags);
this             1317 drivers/net/wireless/wl3501_cs.c 	enabled = wl3501_block_interrupt(this);
this             1318 drivers/net/wireless/wl3501_cs.c 	rc = wl3501_send_pkt(this, skb->data, skb->len);
this             1320 drivers/net/wireless/wl3501_cs.c 		wl3501_unblock_interrupt(this);
this             1329 drivers/net/wireless/wl3501_cs.c 		if (this->tx_buffer_cnt < 2)
this             1332 drivers/net/wireless/wl3501_cs.c 	spin_unlock_irqrestore(&this->lock, flags);
this             1339 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1342 drivers/net/wireless/wl3501_cs.c 	link = this->p_dev;
this             1344 drivers/net/wireless/wl3501_cs.c 	spin_lock_irqsave(&this->lock, flags);
this             1352 drivers/net/wireless/wl3501_cs.c 	if (wl3501_init_firmware(this))
this             1355 drivers/net/wireless/wl3501_cs.c 	this->adhoc_times = 0;
this             1357 drivers/net/wireless/wl3501_cs.c 	wl3501_ack_interrupt(this);
this             1360 drivers/net/wireless/wl3501_cs.c 	wl3501_unblock_interrupt(this);
this             1361 drivers/net/wireless/wl3501_cs.c 	wl3501_mgmt_scan(this, 100);
this             1366 drivers/net/wireless/wl3501_cs.c 			 dev->name, this->card_name,
this             1367 drivers/net/wireless/wl3501_cs.c 			 dev->name, this->firmware_date);
this             1369 drivers/net/wireless/wl3501_cs.c 	spin_unlock_irqrestore(&this->lock, flags);
this             1378 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1379 drivers/net/wireless/wl3501_cs.c 	struct iw_statistics *wstats = &this->wstats;
this             1384 drivers/net/wireless/wl3501_cs.c 	if (!wl3501_get_mib_value(this, WL3501_MIB_ATTR_WEP_ICV_ERROR_COUNT,
this             1387 drivers/net/wireless/wl3501_cs.c 	if (!wl3501_get_mib_value(this, WL3501_MIB_ATTR_WEP_UNDECRYPTABLE_COUNT,
this             1390 drivers/net/wireless/wl3501_cs.c 	if (!wl3501_get_mib_value(this, WL3501_MIB_ATTR_WEP_EXCLUDED_COUNT,
this             1393 drivers/net/wireless/wl3501_cs.c 	if (!wl3501_get_mib_value(this, WL3501_MIB_ATTR_RETRY_COUNT,
this             1396 drivers/net/wireless/wl3501_cs.c 	if (!wl3501_get_mib_value(this, WL3501_MIB_ATTR_FAILED_COUNT,
this             1399 drivers/net/wireless/wl3501_cs.c 	if (!wl3501_get_mib_value(this, WL3501_MIB_ATTR_RTS_FAILURE_COUNT,
this             1402 drivers/net/wireless/wl3501_cs.c 	if (!wl3501_get_mib_value(this, WL3501_MIB_ATTR_ACK_FAILURE_COUNT,
this             1405 drivers/net/wireless/wl3501_cs.c 	if (!wl3501_get_mib_value(this, WL3501_MIB_ATTR_FRAME_DUPLICATE_COUNT,
this             1449 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1453 drivers/net/wireless/wl3501_cs.c 	if (iw_valid_channel(this->reg_domain, channel)) {
this             1454 drivers/net/wireless/wl3501_cs.c 		this->chan = channel;
this             1463 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1466 drivers/net/wireless/wl3501_cs.c 		ieee80211_channel_to_frequency(this->chan, NL80211_BAND_2GHZ);
this             1479 drivers/net/wireless/wl3501_cs.c 		struct wl3501_card *this = netdev_priv(dev);
this             1481 drivers/net/wireless/wl3501_cs.c 		this->net_type = wrqu->mode;
this             1490 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1492 drivers/net/wireless/wl3501_cs.c 	wrqu->mode = this->net_type;
this             1499 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1501 drivers/net/wireless/wl3501_cs.c 	wrqu->sens.value = this->rssi;
this             1530 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1539 drivers/net/wireless/wl3501_cs.c 		memcpy(this->bssid, wrqu->ap_addr.sa_data, ETH_ALEN);
this             1549 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1552 drivers/net/wireless/wl3501_cs.c 	memcpy(wrqu->ap_addr.sa_data, this->bssid, ETH_ALEN);
this             1568 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1573 drivers/net/wireless/wl3501_cs.c 	for (i = 0; i < this->bss_cnt; ++i) {
this             1576 drivers/net/wireless/wl3501_cs.c 		memcpy(iwe.u.ap_addr.sa_data, this->bss_set[i].bssid, ETH_ALEN);
this             1582 drivers/net/wireless/wl3501_cs.c 		iwe.u.data.length = this->bss_set[i].ssid.el.len;
this             1586 drivers/net/wireless/wl3501_cs.c 						  this->bss_set[i].ssid.essid);
this             1588 drivers/net/wireless/wl3501_cs.c 		iwe.u.mode = this->bss_set[i].bss_type;
this             1593 drivers/net/wireless/wl3501_cs.c 		iwe.u.freq.m = this->bss_set[i].ds_pset.chan;
this             1599 drivers/net/wireless/wl3501_cs.c 		if (this->bss_set[i].cap_info & WL3501_MGMT_CAPABILITY_PRIVACY)
this             1618 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1622 drivers/net/wireless/wl3501_cs.c 					 &this->essid.el,
this             1626 drivers/net/wireless/wl3501_cs.c 					 &this->essid.el, "ANY", 3);
this             1635 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1638 drivers/net/wireless/wl3501_cs.c 	spin_lock_irqsave(&this->lock, flags);
this             1640 drivers/net/wireless/wl3501_cs.c 	wrqu->essid.length = this->essid.el.len;
this             1641 drivers/net/wireless/wl3501_cs.c 	memcpy(extra, this->essid.essid, this->essid.el.len);
this             1642 drivers/net/wireless/wl3501_cs.c 	spin_unlock_irqrestore(&this->lock, flags);
this             1649 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1651 drivers/net/wireless/wl3501_cs.c 	if (wrqu->data.length > sizeof(this->nick))
this             1653 drivers/net/wireless/wl3501_cs.c 	strlcpy(this->nick, extra, wrqu->data.length);
this             1660 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1662 drivers/net/wireless/wl3501_cs.c 	strlcpy(extra, this->nick, 32);
this             1685 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1686 drivers/net/wireless/wl3501_cs.c 	int rc = wl3501_get_mib_value(this, WL3501_MIB_ATTR_RTS_THRESHOLD,
this             1701 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1702 drivers/net/wireless/wl3501_cs.c 	int rc = wl3501_get_mib_value(this, WL3501_MIB_ATTR_FRAG_THRESHOLD,
this             1717 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1718 drivers/net/wireless/wl3501_cs.c 	int rc = wl3501_get_mib_value(this,
this             1739 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1740 drivers/net/wireless/wl3501_cs.c 	int rc = wl3501_get_mib_value(this,
this             1749 drivers/net/wireless/wl3501_cs.c 	rc = wl3501_get_mib_value(this, WL3501_MIB_ATTR_SHORT_RETRY_LIMIT,
this             1766 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1767 drivers/net/wireless/wl3501_cs.c 	int rc = wl3501_get_mib_value(this,
this             1776 drivers/net/wireless/wl3501_cs.c 	rc = wl3501_get_mib_value(this, WL3501_MIB_ATTR_EXCLUDE_UNENCRYPTED,
this             1782 drivers/net/wireless/wl3501_cs.c 	rc = wl3501_get_mib_value(this, WL3501_MIB_ATTR_WEP_KEY_MAPPINGS_LEN,
this             1786 drivers/net/wireless/wl3501_cs.c 	rc = wl3501_get_mib_value(this, WL3501_MIB_ATTR_WEP_KEY_MAPPINGS,
this             1803 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this = netdev_priv(dev);
this             1804 drivers/net/wireless/wl3501_cs.c 	int rc = wl3501_get_mib_value(this,
this             1862 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this;
this             1880 drivers/net/wireless/wl3501_cs.c 	this = netdev_priv(dev);
this             1881 drivers/net/wireless/wl3501_cs.c 	this->wireless_data.spy_data = &this->spy_data;
this             1882 drivers/net/wireless/wl3501_cs.c 	this->p_dev = p_dev;
this             1883 drivers/net/wireless/wl3501_cs.c 	dev->wireless_data	= &this->wireless_data;
this             1897 drivers/net/wireless/wl3501_cs.c 	struct wl3501_card *this;
this             1935 drivers/net/wireless/wl3501_cs.c 	this = netdev_priv(dev);
this             1937 drivers/net/wireless/wl3501_cs.c 	this->base_addr = dev->base_addr;
this             1939 drivers/net/wireless/wl3501_cs.c 	if (!wl3501_get_flash_mac_addr(this)) {
this             1947 drivers/net/wireless/wl3501_cs.c 		dev->dev_addr[i] = ((char *)&this->mac_addr)[i];
this             1952 drivers/net/wireless/wl3501_cs.c 	       dev->name, this->base_addr, (int)dev->irq,
this             1957 drivers/net/wireless/wl3501_cs.c 	this->net_type		= IW_MODE_INFRA;
this             1958 drivers/net/wireless/wl3501_cs.c 	this->bss_cnt		= 0;
this             1959 drivers/net/wireless/wl3501_cs.c 	this->join_sta_bss	= 0;
this             1960 drivers/net/wireless/wl3501_cs.c 	this->adhoc_times	= 0;
this             1961 drivers/net/wireless/wl3501_cs.c 	iw_set_mgmt_info_element(IW_MGMT_INFO_ELEMENT_SSID, &this->essid.el,
this             1963 drivers/net/wireless/wl3501_cs.c 	this->card_name[0]	= '\0';
this             1964 drivers/net/wireless/wl3501_cs.c 	this->firmware_date[0]	= '\0';
this             1965 drivers/net/wireless/wl3501_cs.c 	this->rssi		= 255;
this             1966 drivers/net/wireless/wl3501_cs.c 	this->chan		= iw_default_channel(this->reg_domain);
this             1967 drivers/net/wireless/wl3501_cs.c 	strlcpy(this->nick, "Planet WL3501", sizeof(this->nick));
this             1968 drivers/net/wireless/wl3501_cs.c 	spin_lock_init(&this->lock);
this             1969 drivers/net/wireless/wl3501_cs.c 	init_waitqueue_head(&this->wait);
this              216 drivers/of/of_reserved_mem.c 		struct reserved_mem *this, *next;
this              218 drivers/of/of_reserved_mem.c 		this = &reserved_mem[i];
this              220 drivers/of/of_reserved_mem.c 		if (!(this->base && next->base))
this              222 drivers/of/of_reserved_mem.c 		if (this->base + this->size > next->base) {
this              225 drivers/of/of_reserved_mem.c 			this_end = this->base + this->size;
this              228 drivers/of/of_reserved_mem.c 			       this->name, &this->base, &this_end,
this              182 drivers/parisc/power.c static int parisc_panic_event(struct notifier_block *this,
this             1763 drivers/pci/pci.c 	struct pci_devres *this = res;
this             1772 drivers/pci/pci.c 		if (this->region_mask & (1 << i))
this             1775 drivers/pci/pci.c 	if (this->mwi)
this             1778 drivers/pci/pci.c 	if (this->restore_intx)
this             1779 drivers/pci/pci.c 		pci_intx(dev, this->orig_intx);
this             1781 drivers/pci/pci.c 	if (this->enabled && !this->pinned)
this              882 drivers/platform/x86/intel_telemetry_debugfs.c static int pm_notification(struct notifier_block *this,
this               72 drivers/power/reset/arm-versatile-reboot.c static int versatile_reboot(struct notifier_block *this, unsigned long mode,
this               60 drivers/power/reset/at91-reset.c static int at91sam9260_restart(struct notifier_block *this, unsigned long mode,
this               87 drivers/power/reset/at91-reset.c static int at91sam9g45_restart(struct notifier_block *this, unsigned long mode,
this              131 drivers/power/reset/at91-reset.c static int sama5d3_restart(struct notifier_block *this, unsigned long mode,
this              140 drivers/power/reset/at91-reset.c static int samx7_restart(struct notifier_block *this, unsigned long mode,
this               31 drivers/power/reset/axxia-reset.c static int axxia_restart_handler(struct notifier_block *this,
this               28 drivers/power/reset/brcm-kona-reset.c static int kona_reset_handler(struct notifier_block *this,
this               45 drivers/power/reset/brcmstb-reboot.c static int brcmstb_restart_handler(struct notifier_block *this,
this               26 drivers/power/reset/gpio-restart.c static int gpio_restart_notify(struct notifier_block *this,
this               30 drivers/power/reset/gpio-restart.c 		container_of(this, struct gpio_restart, restart_handler);
this               24 drivers/power/reset/hisi-reboot.c static int hisi_restart_handler(struct notifier_block *this,
this               52 drivers/power/reset/keystone-reset.c static int rsctrl_restart_handler(struct notifier_block *this,
this               36 drivers/power/reset/ocelot-reset.c static int ocelot_restart_handle(struct notifier_block *this,
this               39 drivers/power/reset/ocelot-reset.c 	struct ocelot_reset_context *ctx = container_of(this, struct
this               42 drivers/power/reset/reboot-mode.c static int reboot_mode_notify(struct notifier_block *this,
this               48 drivers/power/reset/reboot-mode.c 	reboot = container_of(this, struct reboot_mode_driver, reboot_notifier);
this               24 drivers/power/reset/rmobile-reset.c static int rmobile_reset_handler(struct notifier_block *this,
this               42 drivers/power/reset/st-poweroff.c static int st_restart(struct notifier_block *this, unsigned long mode,
this               26 drivers/power/reset/syscon-reboot.c static int syscon_restart_handle(struct notifier_block *this,
this               30 drivers/power/reset/syscon-reboot.c 			container_of(this, struct syscon_reboot_context,
this               40 drivers/power/reset/vexpress-poweroff.c static int vexpress_restart(struct notifier_block *this, unsigned long mode,
this               30 drivers/power/reset/xgene-reboot.c static int xgene_restart_handler(struct notifier_block *this,
this               34 drivers/power/reset/xgene-reboot.c 		container_of(this, struct xgene_reboot_context,
this               21 drivers/power/reset/zx-reboot.c static int zx_restart_handler(struct notifier_block *this,
this              251 drivers/ras/cec.c 		unsigned int this = FULL_COUNT(ca->array[i]);
this              253 drivers/ras/cec.c 		if (min > this) {
this              254 drivers/ras/cec.c 			min = this;
this              290 drivers/ras/cec.c 		u64 this = PFN(ca->array[i]);
this              292 drivers/ras/cec.c 		if (WARN(prev > this, "prev: 0x%016llx <-> this: 0x%016llx\n", prev, this))
this              295 drivers/ras/cec.c 		prev = this;
this              303 drivers/ras/cec.c 		u64 this = PFN(ca->array[i]);
this              305 drivers/ras/cec.c 		pr_info(" %03d: [%016llx|%03llx]\n", i, this, FULL_COUNT(ca->array[i]));
this              447 drivers/ras/cec.c 		u64 this = PFN(ca->array[i]);
this              450 drivers/ras/cec.c 			   i, this, bins[DECAY(ca->array[i])], COUNT(ca->array[i]));
this              576 drivers/rtc/rtc-ds1374.c static int ds1374_wdt_notify_sys(struct notifier_block *this,
this              830 drivers/rtc/rtc-m41t80.c static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
this             1003 drivers/s390/char/sclp.c sclp_reboot_event(struct notifier_block *this, unsigned long event, void *ptr)
this             1014 drivers/s390/cio/css.c static int css_reboot_event(struct notifier_block *this,
this             1043 drivers/s390/cio/css.c static int css_power_event(struct notifier_block *this, unsigned long event,
this              676 drivers/s390/crypto/ap_bus.c static int ap_power_event(struct notifier_block *this, unsigned long event,
this               21 drivers/s390/net/fsm.c 	fsm_instance *this;
this               25 drivers/s390/net/fsm.c 	this = kzalloc(sizeof(fsm_instance), order);
this               26 drivers/s390/net/fsm.c 	if (this == NULL) {
this               31 drivers/s390/net/fsm.c 	strlcpy(this->name, name, sizeof(this->name));
this               32 drivers/s390/net/fsm.c 	init_waitqueue_head(&this->wait_q);
this               38 drivers/s390/net/fsm.c 		kfree_fsm(this);
this               45 drivers/s390/net/fsm.c 	this->f = f;
this               51 drivers/s390/net/fsm.c 		kfree_fsm(this);
this               63 drivers/s390/net/fsm.c 			kfree_fsm(this);
this               69 drivers/s390/net/fsm.c 	return this;
this               73 drivers/s390/net/fsm.c kfree_fsm(fsm_instance *this)
this               75 drivers/s390/net/fsm.c 	if (this) {
this               76 drivers/s390/net/fsm.c 		if (this->f) {
this               77 drivers/s390/net/fsm.c 			kfree(this->f->jumpmatrix);
this               78 drivers/s390/net/fsm.c 			kfree(this->f);
this               80 drivers/s390/net/fsm.c 		kfree(this);
this              135 drivers/s390/net/fsm.c 	fsm_timer *this = from_timer(this, t, tl);
this              138 drivers/s390/net/fsm.c 	       this->fi->name, this);
this              140 drivers/s390/net/fsm.c 	fsm_event(this->fi, this->expire_event, this->event_arg);
this              144 drivers/s390/net/fsm.c fsm_settimer(fsm_instance *fi, fsm_timer *this)
this              146 drivers/s390/net/fsm.c 	this->fi = fi;
this              149 drivers/s390/net/fsm.c 	       this);
this              151 drivers/s390/net/fsm.c 	timer_setup(&this->tl, fsm_expire_timer, 0);
this              155 drivers/s390/net/fsm.c fsm_deltimer(fsm_timer *this)
this              158 drivers/s390/net/fsm.c 	printk(KERN_DEBUG "fsm(%s): Delete timer %p\n", this->fi->name,
this              159 drivers/s390/net/fsm.c 		this);
this              161 drivers/s390/net/fsm.c 	del_timer(&this->tl);
this              165 drivers/s390/net/fsm.c fsm_addtimer(fsm_timer *this, int millisec, int event, void *arg)
this              170 drivers/s390/net/fsm.c 	       this->fi->name, this, millisec);
this              173 drivers/s390/net/fsm.c 	timer_setup(&this->tl, fsm_expire_timer, 0);
this              174 drivers/s390/net/fsm.c 	this->expire_event = event;
this              175 drivers/s390/net/fsm.c 	this->event_arg = arg;
this              176 drivers/s390/net/fsm.c 	this->tl.expires = jiffies + (millisec * HZ) / 1000;
this              177 drivers/s390/net/fsm.c 	add_timer(&this->tl);
this              183 drivers/s390/net/fsm.c fsm_modtimer(fsm_timer *this, int millisec, int event, void *arg)
this              188 drivers/s390/net/fsm.c 		this->fi->name, this, millisec);
this              191 drivers/s390/net/fsm.c 	del_timer(&this->tl);
this              192 drivers/s390/net/fsm.c 	timer_setup(&this->tl, fsm_expire_timer, 0);
this              193 drivers/s390/net/fsm.c 	this->expire_event = event;
this              194 drivers/s390/net/fsm.c 	this->event_arg = arg;
this              195 drivers/s390/net/fsm.c 	this->tl.expires = jiffies + (millisec * HZ) / 1000;
this              196 drivers/s390/net/fsm.c 	add_timer(&this->tl);
this             2544 drivers/s390/net/qeth_l3_main.c static int qeth_l3_ip_event(struct notifier_block *this,
this             2573 drivers/s390/net/qeth_l3_main.c static int qeth_l3_ip6_event(struct notifier_block *this,
this             8418 drivers/scsi/hpsa.c 	struct list_head *this, *tmp;
this             8421 drivers/scsi/hpsa.c 	list_for_each_safe(this, tmp, &h->offline_device_list) {
this             8422 drivers/scsi/hpsa.c 		d = list_entry(this, struct offline_device_entry,
this             2425 drivers/scsi/scsi_lib.c 		struct list_head *this, *tmp;
this             2435 drivers/scsi/scsi_lib.c 		list_for_each_safe(this, tmp, &event_list) {
this             2436 drivers/scsi/scsi_lib.c 			evt = list_entry(this, struct scsi_event, node);
this              438 drivers/scsi/scsi_sysfs.c 	struct list_head *this, *tmp;
this              456 drivers/scsi/scsi_sysfs.c 	list_for_each_safe(this, tmp, &sdev->event_list) {
this              459 drivers/scsi/scsi_sysfs.c 		evt = list_entry(this, struct scsi_event, node);
this              849 drivers/soc/tegra/pmc.c static int tegra_pmc_restart_notify(struct notifier_block *this,
this              331 drivers/spi/spi-sprd-adi.c static int sprd_adi_restart_handler(struct notifier_block *this,
this              334 drivers/spi/spi-sprd-adi.c 	struct sprd_adi *sadi = container_of(this, struct sprd_adi,
this              229 drivers/usb/mon/mon_bin.c static unsigned int mon_copy_to_buff(const struct mon_reader_bin *this,
this              248 drivers/usb/mon/mon_bin.c 		buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE;
this              250 drivers/usb/mon/mon_bin.c 		if ((off += step_len) >= this->b_size) off = 0;
this              261 drivers/usb/mon/mon_bin.c static int copy_from_buf(const struct mon_reader_bin *this, unsigned int off,
this              280 drivers/usb/mon/mon_bin.c 		buf = this->b_vec[off / CHUNK_SIZE].ptr + off % CHUNK_SIZE;
this              283 drivers/usb/mon/mon_bin.c 		if ((off += step_len) >= this->b_size) off = 0;
this              283 drivers/watchdog/alim1535_wdt.c static int ali_notify_sys(struct notifier_block *this,
this              305 drivers/watchdog/alim7101_wdt.c static int wdt_restart_handle(struct notifier_block *this, unsigned long mode,
this              331 drivers/watchdog/alim7101_wdt.c static int wdt_notify_sys(struct notifier_block *this,
this               55 drivers/watchdog/at91rm9200_wdt.c static int at91rm9200_restart(struct notifier_block *this,
this              250 drivers/watchdog/diag288_wdt.c static int wdt_power_event(struct notifier_block *this, unsigned long event,
this              355 drivers/watchdog/eurotechwdt.c static int eurwdt_notify_sys(struct notifier_block *this, unsigned long code,
this              657 drivers/watchdog/f71808e_wdt.c static int watchdog_notify_sys(struct notifier_block *this, unsigned long code,
this              141 drivers/watchdog/indydog.c static int indydog_notify_sys(struct notifier_block *this,
this              397 drivers/watchdog/intel_scu_watchdog.c static int intel_scu_notify_sys(struct notifier_block *this,
this              218 drivers/watchdog/it8712f_wdt.c static int it8712f_wdt_notify(struct notifier_block *this,
this              351 drivers/watchdog/machzwd.c static int zf_notify_sys(struct notifier_block *this, unsigned long code,
this              459 drivers/watchdog/pc87413_wdt.c static int pc87413_notify_sys(struct notifier_block *this,
this              631 drivers/watchdog/pcwd_pci.c static int pcipcwd_notify_sys(struct notifier_block *this, unsigned long code,
this              535 drivers/watchdog/pcwd_usb.c static int usb_pcwd_notify_sys(struct notifier_block *this, unsigned long code,
this              204 drivers/watchdog/pnx833x_wdt.c static int pnx833x_wdt_notify_sys(struct notifier_block *this,
this              221 drivers/watchdog/sb_wdog.c static int sbwdog_notify_sys(struct notifier_block *this, unsigned long code,
this              295 drivers/watchdog/sbc60xxwdt.c static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
this              226 drivers/watchdog/sbc7240_wdt.c static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
this              289 drivers/watchdog/sbc8360.c static int sbc8360_notify_sys(struct notifier_block *this, unsigned long code,
this              145 drivers/watchdog/sbc_epx_c3.c static int epx_c3_notify_sys(struct notifier_block *this, unsigned long code,
this              291 drivers/watchdog/sc1200wdt.c static int sc1200wdt_notify_sys(struct notifier_block *this,
this              351 drivers/watchdog/sc520_wdt.c static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
this              117 drivers/watchdog/scx200_wdt.c static int scx200_wdt_notify_sys(struct notifier_block *this,
this              490 drivers/watchdog/smsc37b787_wdt.c static int wb_smsc_wdt_notify_sys(struct notifier_block *this,
this              319 drivers/watchdog/w83877f_wdt.c static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
this              436 drivers/watchdog/w83977f_wdt.c static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
this              216 drivers/watchdog/wafer5823wdt.c static int wafwdt_notify_sys(struct notifier_block *this, unsigned long code,
this              459 drivers/watchdog/wdrtas.c static int wdrtas_reboot(struct notifier_block *this,
this              508 drivers/watchdog/wdt.c static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
this              412 drivers/watchdog/wdt977.c static int wdt977_notify_sys(struct notifier_block *this, unsigned long code,
this              551 drivers/watchdog/wdt_pci.c static int wdtpci_notify_sys(struct notifier_block *this, unsigned long code,
this              114 drivers/xen/evtchn.c 		struct user_evtchn *this;
this              116 drivers/xen/evtchn.c 		this = rb_entry(*new, struct user_evtchn, node);
this              119 drivers/xen/evtchn.c 		if (this->port < evtchn->port)
this              121 drivers/xen/evtchn.c 		else if (this->port > evtchn->port)
this              271 fs/autofs/root.c 		const struct path this = { .mnt = path->mnt, .dentry = expiring };
this              277 fs/autofs/root.c 		autofs_expire_wait(&this, 0);
this              314 fs/autofs/waitq.c 		struct path this;
this              334 fs/autofs/waitq.c 		this.mnt = path->mnt;
this              335 fs/autofs/waitq.c 		this.dentry = dentry;
this              336 fs/autofs/waitq.c 		if (path_has_submounts(&this))
this             2204 fs/dlm/lock.c  	struct dlm_lkb *this;
this             2206 fs/dlm/lock.c  	list_for_each_entry(this, head, lkb_statequeue) {
this             2207 fs/dlm/lock.c  		if (this == lkb)
this             2209 fs/dlm/lock.c  		if (!modes_compat(this, lkb))
this              340 fs/ext2/balloc.c 	struct ext2_reserve_window_node *this;
this              345 fs/ext2/balloc.c 		this = rb_entry(parent, struct ext2_reserve_window_node, rsv_node);
this              347 fs/ext2/balloc.c 		if (start < this->rsv_start)
this              349 fs/ext2/balloc.c 		else if (start > this->rsv_end)
this             1910 fs/f2fs/segment.c 	struct discard_entry *entry, *this;
this             1913 fs/f2fs/segment.c 	list_for_each_entry_safe(entry, this, head, list)
this             1936 fs/f2fs/segment.c 	struct discard_entry *entry, *this;
this             1996 fs/f2fs/segment.c 	list_for_each_entry_safe(entry, this, head, list) {
this              221 fs/file_table.c 	struct qstr this = QSTR_INIT(name, strlen(name));
this              225 fs/file_table.c 	path.dentry = d_alloc_pseudo(mnt->mnt_sb, &this);
this              147 fs/gfs2/export.c 	struct gfs2_inum_host this;
this              156 fs/gfs2/export.c 		this.no_formal_ino = ((u64)be32_to_cpu(fh[0])) << 32;
this              157 fs/gfs2/export.c 		this.no_formal_ino |= be32_to_cpu(fh[1]);
this              158 fs/gfs2/export.c 		this.no_addr = ((u64)be32_to_cpu(fh[2])) << 32;
this              159 fs/gfs2/export.c 		this.no_addr |= be32_to_cpu(fh[3]);
this              160 fs/gfs2/export.c 		return gfs2_get_dentry(sb, &this);
this             1274 fs/gfs2/inode.c static int gfs2_ok_to_move(struct gfs2_inode *this, struct gfs2_inode *to)
this             1284 fs/gfs2/inode.c 		if (dir == &this->i_inode) {
this              140 fs/hfs/bnode.c 	hfs_dbg(BNODE_MOD, "bnode: %d\n", node->this);
this              229 fs/hfs/bnode.c 		if (node->this == cnid) {
this              255 fs/hfs/bnode.c 	node->this = cnid;
this              259 fs/hfs/bnode.c 		node->tree->cnid, node->this);
this              302 fs/hfs/bnode.c 		node->tree->cnid, node->this, atomic_read(&node->refcnt));
this              303 fs/hfs/bnode.c 	for (p = &node->tree->node_hash[hfs_bnode_hash(node->this)];
this              448 fs/hfs/bnode.c 			node->tree->cnid, node->this,
this              461 fs/hfs/bnode.c 			node->tree->cnid, node->this,
this              154 fs/hfs/brec.c  		cnid = cpu_to_be32(new_node->this);
this              246 fs/hfs/brec.c  		node->this, new_node->this, node->next);
this              248 fs/hfs/brec.c  	new_node->prev = node->this;
this              326 fs/hfs/brec.c  	node->next = new_node->this;
this              334 fs/hfs/brec.c  		next_node->prev = new_node->this;
this              339 fs/hfs/brec.c  	} else if (node->this == tree->leaf_tail) {
this              341 fs/hfs/brec.c  		tree->leaf_tail = new_node->this;
this              435 fs/hfs/brec.c  		cnid = cpu_to_be32(new_node->this);
this              477 fs/hfs/brec.c  	tree->root = new_node->this;
this              479 fs/hfs/brec.c  		tree->leaf_head = tree->leaf_tail = new_node->this;
this              517 fs/hfs/brec.c  		cnid = cpu_to_be32(node->this);
this              150 fs/hfs/btree.c 				       node->tree->cnid, node->this,
this              329 fs/hfs/btree.c 	hfs_dbg(BNODE_MOD, "btree_free_node: %u\n", node->this);
this              331 fs/hfs/btree.c 	nidx = node->this;
this              344 fs/hfs/btree.c 				node->this);
this              355 fs/hfs/btree.c 				node->this, node->type);
this              369 fs/hfs/btree.c 			node->this, node->type);
this               50 fs/hfs/btree.h 	u32 this;
this               54 fs/hfs/string.c int hfs_hash_dentry(const struct dentry *dentry, struct qstr *this)
this               56 fs/hfs/string.c 	const unsigned char *name = this->name;
this               57 fs/hfs/string.c 	unsigned int hash, len = this->len;
this               65 fs/hfs/string.c 	this->hash = end_name_hash(hash);
this              304 fs/hfsplus/bnode.c 	hfs_dbg(BNODE_MOD, "bnode: %d\n", node->this);
this              395 fs/hfsplus/bnode.c 		if (node->this == cnid)
this              420 fs/hfsplus/bnode.c 	node->this = cnid;
this              424 fs/hfsplus/bnode.c 		node->tree->cnid, node->this);
this              468 fs/hfsplus/bnode.c 		node->tree->cnid, node->this, atomic_read(&node->refcnt));
this              469 fs/hfsplus/bnode.c 	for (p = &node->tree->node_hash[hfs_bnode_hash(node->this)];
this              616 fs/hfsplus/bnode.c 			node->tree->cnid, node->this,
this              629 fs/hfsplus/bnode.c 			node->tree->cnid, node->this,
this              154 fs/hfsplus/brec.c 		cnid = cpu_to_be32(new_node->this);
this              250 fs/hfsplus/brec.c 		node->this, new_node->this, node->next);
this              252 fs/hfsplus/brec.c 	new_node->prev = node->this;
this              330 fs/hfsplus/brec.c 	node->next = new_node->this;
this              338 fs/hfsplus/brec.c 		next_node->prev = new_node->this;
this              343 fs/hfsplus/brec.c 	} else if (node->this == tree->leaf_tail) {
this              345 fs/hfsplus/brec.c 		tree->leaf_tail = new_node->this;
this              439 fs/hfsplus/brec.c 		cnid = cpu_to_be32(new_node->this);
this              481 fs/hfsplus/brec.c 	tree->root = new_node->this;
this              483 fs/hfsplus/brec.c 		tree->leaf_head = tree->leaf_tail = new_node->this;
this              522 fs/hfsplus/brec.c 		cnid = cpu_to_be32(node->this);
this              272 fs/hfsplus/btree.c 					node->tree->cnid, node->this,
this              456 fs/hfsplus/btree.c 	hfs_dbg(BNODE_MOD, "btree_free_node: %u\n", node->this);
this              457 fs/hfsplus/btree.c 	BUG_ON(!node->this);
this              459 fs/hfsplus/btree.c 	nidx = node->this;
this              473 fs/hfsplus/btree.c 				node->this);
this              485 fs/hfsplus/btree.c 				node->this, node->type);
this              500 fs/hfsplus/btree.c 			node->this, node->type);
this              107 fs/hfsplus/hfsplus_fs.h 	u32 this;
this               34 fs/jffs2/compr.c static int jffs2_is_best_compression(struct jffs2_compressor *this,
this               43 fs/jffs2/compr.c 		if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > size))
this               47 fs/jffs2/compr.c 		if ((this->compr == JFFS2_COMPR_LZO) && (bestsize > (size * FAVOUR_LZO_PERCENT / 100)))
this               77 fs/jffs2/compr.c 	struct jffs2_compressor *this;
this               90 fs/jffs2/compr.c 	list_for_each_entry(this, &jffs2_compressor_list, list) {
this               92 fs/jffs2/compr.c 		if (!this->compress || this->disabled)
this               96 fs/jffs2/compr.c 		if (compr && (compr != this->compr))
this              103 fs/jffs2/compr.c 		this->usecount++;
this              108 fs/jffs2/compr.c 		err = this->compress(data_in, output_buf, datalen, cdatalen);
this              111 fs/jffs2/compr.c 		this->usecount--;
this              114 fs/jffs2/compr.c 			ret = this->compr;
this              115 fs/jffs2/compr.c 			this->stat_compr_blocks++;
this              116 fs/jffs2/compr.c 			this->stat_compr_orig_size += *datalen;
this              117 fs/jffs2/compr.c 			this->stat_compr_new_size += *cdatalen;
this              154 fs/jffs2/compr.c 	struct jffs2_compressor *this, *best=NULL;
this              176 fs/jffs2/compr.c 		list_for_each_entry(this, &jffs2_compressor_list, list) {
this              178 fs/jffs2/compr.c 			if ((!this->compress)||(this->disabled))
this              181 fs/jffs2/compr.c 			if ((this->compr_buf_size < orig_slen) && (this->compr_buf)) {
this              183 fs/jffs2/compr.c 				kfree(this->compr_buf);
this              185 fs/jffs2/compr.c 				this->compr_buf_size=0;
this              186 fs/jffs2/compr.c 				this->compr_buf=NULL;
this              188 fs/jffs2/compr.c 			if (!this->compr_buf) {
this              198 fs/jffs2/compr.c 					this->compr_buf = tmp_buf;
this              199 fs/jffs2/compr.c 					this->compr_buf_size = orig_slen;
this              202 fs/jffs2/compr.c 			this->usecount++;
this              206 fs/jffs2/compr.c 			compr_ret = this->compress(data_in, this->compr_buf, datalen, cdatalen);
this              208 fs/jffs2/compr.c 			this->usecount--;
this              210 fs/jffs2/compr.c 				if (((!best_dlen) || jffs2_is_best_compression(this, best, *cdatalen, best_dlen))
this              214 fs/jffs2/compr.c 					best = this;
this              257 fs/jffs2/compr.c 	struct jffs2_compressor *this;
this              276 fs/jffs2/compr.c 		list_for_each_entry(this, &jffs2_compressor_list, list) {
this              277 fs/jffs2/compr.c 			if (comprtype == this->compr) {
this              278 fs/jffs2/compr.c 				this->usecount++;
this              280 fs/jffs2/compr.c 				ret = this->decompress(cdata_in, data_out, cdatalen, datalen);
this              284 fs/jffs2/compr.c 						this->name, ret);
this              287 fs/jffs2/compr.c 					this->stat_decompr_blocks++;
this              289 fs/jffs2/compr.c 				this->usecount--;
this              303 fs/jffs2/compr.c 	struct jffs2_compressor *this;
this              320 fs/jffs2/compr.c 	list_for_each_entry(this, &jffs2_compressor_list, list) {
this              321 fs/jffs2/compr.c 		if (this->priority < comp->priority) {
this              322 fs/jffs2/compr.c 			list_add(&comp->list, this->list.prev);
this              328 fs/jffs2/compr.c 	D2(list_for_each_entry(this, &jffs2_compressor_list, list) {
this              329 fs/jffs2/compr.c 		printk(KERN_DEBUG "Compressor \"%s\", prio %d\n", this->name, this->priority);
this              339 fs/jffs2/compr.c 	D2(struct jffs2_compressor *this);
this              352 fs/jffs2/compr.c 	D2(list_for_each_entry(this, &jffs2_compressor_list, list) {
this              353 fs/jffs2/compr.c 		printk(KERN_DEBUG "Compressor \"%s\", prio %d\n", this->name, this->priority);
this              501 fs/jffs2/debug.c 		struct list_head *this;
this              505 fs/jffs2/debug.c 		list_for_each(this, &c->clean_list) {
this              506 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              523 fs/jffs2/debug.c 		struct list_head *this;
this              527 fs/jffs2/debug.c 		list_for_each(this, &c->very_dirty_list) {
this              528 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              546 fs/jffs2/debug.c 		struct list_head *this;
this              550 fs/jffs2/debug.c 		list_for_each(this, &c->dirty_list) {
this              551 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              569 fs/jffs2/debug.c 		struct list_head *this;
this              571 fs/jffs2/debug.c 		list_for_each(this, &c->erasable_list) {
this              572 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              585 fs/jffs2/debug.c 		struct list_head *this;
this              587 fs/jffs2/debug.c 		list_for_each(this, &c->erasing_list) {
this              588 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              600 fs/jffs2/debug.c 		struct list_head *this;
this              602 fs/jffs2/debug.c 		list_for_each(this, &c->erase_checking_list) {
this              603 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              616 fs/jffs2/debug.c 		struct list_head *this;
this              618 fs/jffs2/debug.c 		list_for_each(this, &c->erase_pending_list) {
this              619 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              632 fs/jffs2/debug.c 		struct list_head *this;
this              634 fs/jffs2/debug.c 		list_for_each(this, &c->erasable_pending_wbuf_list) {
this              635 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              648 fs/jffs2/debug.c 		struct list_head *this;
this              650 fs/jffs2/debug.c 		list_for_each(this, &c->free_list) {
this              651 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              664 fs/jffs2/debug.c 		struct list_head *this;
this              666 fs/jffs2/debug.c 		list_for_each(this, &c->bad_list) {
this              667 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              680 fs/jffs2/debug.c 		struct list_head *this;
this              682 fs/jffs2/debug.c 		list_for_each(this, &c->bad_used_list) {
this              683 fs/jffs2/debug.c 			struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              705 fs/jffs2/debug.c 	struct jffs2_node_frag *this = frag_first(&f->fragtree);
this              710 fs/jffs2/debug.c 	while(this) {
this              711 fs/jffs2/debug.c 		if (this->node)
this              713 fs/jffs2/debug.c 				this->ofs, this->ofs+this->size, ref_offset(this->node->raw),
this              714 fs/jffs2/debug.c 				ref_flags(this->node->raw), this, frag_left(this), frag_right(this),
this              715 fs/jffs2/debug.c 				frag_parent(this));
this              718 fs/jffs2/debug.c 				this->ofs, this->ofs+this->size, this, frag_left(this),
this              719 fs/jffs2/debug.c 				frag_right(this), frag_parent(this));
this              720 fs/jffs2/debug.c 		if (this->ofs != lastofs)
this              722 fs/jffs2/debug.c 		lastofs = this->ofs + this->size;
this              723 fs/jffs2/debug.c 		this = frag_next(this);
this              229 fs/jffs2/erase.c 			struct jffs2_raw_node_ref *this;
this              231 fs/jffs2/erase.c 			this = *prev;
this              232 fs/jffs2/erase.c 			*prev = this->next_in_ino;
this              233 fs/jffs2/erase.c 			this->next_in_ino = NULL;
this              235 fs/jffs2/erase.c 			if (this == ref)
this              256 fs/jffs2/erase.c 		struct jffs2_raw_node_ref *this;
this              259 fs/jffs2/erase.c 		this = ic->nodes;
this              262 fs/jffs2/erase.c 		while(this) {
this              264 fs/jffs2/erase.c 			       ref_offset(this), ref_flags(this));
this              269 fs/jffs2/erase.c 			this = this->next_in_ino;
this               24 fs/jffs2/nodelist.c 				     struct jffs2_node_frag *this);
this              102 fs/jffs2/nodelist.c 				     struct jffs2_node_frag *this)
this              104 fs/jffs2/nodelist.c 	if (this->node) {
this              105 fs/jffs2/nodelist.c 		this->node->frags--;
this              106 fs/jffs2/nodelist.c 		if (!this->node->frags) {
this              109 fs/jffs2/nodelist.c 				ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size);
this              110 fs/jffs2/nodelist.c 			jffs2_mark_node_obsolete(c, this->node->raw);
this              111 fs/jffs2/nodelist.c 			jffs2_free_full_dnode(this->node);
this              114 fs/jffs2/nodelist.c 				ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size, this->node->frags);
this              115 fs/jffs2/nodelist.c 			mark_ref_normal(this->node->raw);
this              119 fs/jffs2/nodelist.c 	jffs2_free_node_frag(this);
this              171 fs/jffs2/nodelist.c 			       struct jffs2_node_frag *this, uint32_t lastend)
this              183 fs/jffs2/nodelist.c 		if (this) {
this              189 fs/jffs2/nodelist.c 			rb_link_node(&holefrag->rb, &this->rb, &this->rb.rb_right);
this              196 fs/jffs2/nodelist.c 		this = holefrag;
this              199 fs/jffs2/nodelist.c 	if (this) {
this              204 fs/jffs2/nodelist.c 		rb_link_node(&newfrag->rb, &this->rb, &this->rb.rb_right);
this              217 fs/jffs2/nodelist.c 	struct jffs2_node_frag *this;
this              221 fs/jffs2/nodelist.c 	this = jffs2_lookup_node_frag(root, newfrag->node->ofs);
this              223 fs/jffs2/nodelist.c 	if (this) {
this              225 fs/jffs2/nodelist.c 			  this->ofs, this->ofs+this->size, this->node?(ref_offset(this->node->raw)):0xffffffff, this);
this              226 fs/jffs2/nodelist.c 		lastend = this->ofs + this->size;
this              241 fs/jffs2/nodelist.c 			if (this->node)
this              242 fs/jffs2/nodelist.c 				mark_ref_normal(this->node->raw);
this              246 fs/jffs2/nodelist.c 		return no_overlapping_node(c, root, newfrag, this, lastend);
this              249 fs/jffs2/nodelist.c 	if (this->node)
this              251 fs/jffs2/nodelist.c 		this->ofs, this->ofs + this->size,
this              252 fs/jffs2/nodelist.c 		ref_offset(this->node->raw), ref_flags(this->node->raw));
this              255 fs/jffs2/nodelist.c 		this->ofs, this->ofs + this->size);
this              260 fs/jffs2/nodelist.c 	if (newfrag->ofs > this->ofs) {
this              266 fs/jffs2/nodelist.c 		if (this->node)
this              267 fs/jffs2/nodelist.c 			mark_ref_normal(this->node->raw);
this              269 fs/jffs2/nodelist.c 		if (this->ofs + this->size > newfrag->ofs + newfrag->size) {
this              273 fs/jffs2/nodelist.c 			if (this->node)
this              275 fs/jffs2/nodelist.c 					this->ofs, this->ofs+this->size, ref_offset(this->node->raw));
this              278 fs/jffs2/nodelist.c 					this->ofs, this->ofs+this->size);
this              281 fs/jffs2/nodelist.c 			newfrag2 = new_fragment(this->node, newfrag->ofs + newfrag->size,
this              282 fs/jffs2/nodelist.c 						this->ofs + this->size - newfrag->ofs - newfrag->size);
this              285 fs/jffs2/nodelist.c 			if (this->node)
this              286 fs/jffs2/nodelist.c 				this->node->frags++;
this              289 fs/jffs2/nodelist.c 			this->size = newfrag->ofs - this->ofs;
this              297 fs/jffs2/nodelist.c 			jffs2_fragtree_insert(newfrag, this);
this              306 fs/jffs2/nodelist.c 		this->size = newfrag->ofs - this->ofs;
this              309 fs/jffs2/nodelist.c 		jffs2_fragtree_insert(newfrag, this);
this              315 fs/jffs2/nodelist.c 			  newfrag, newfrag->ofs, newfrag->ofs+newfrag->size, this, this->ofs, this->ofs+this->size);
this              317 fs/jffs2/nodelist.c 		rb_replace_node(&this->rb, &newfrag->rb, root);
this              319 fs/jffs2/nodelist.c 		if (newfrag->ofs + newfrag->size >= this->ofs+this->size) {
this              320 fs/jffs2/nodelist.c 			dbg_fragtree2("obsoleting node frag %p (%x-%x)\n", this, this->ofs, this->ofs+this->size);
this              321 fs/jffs2/nodelist.c 			jffs2_obsolete_node_frag(c, this);
this              323 fs/jffs2/nodelist.c 			this->ofs += newfrag->size;
this              324 fs/jffs2/nodelist.c 			this->size -= newfrag->size;
this              326 fs/jffs2/nodelist.c 			jffs2_fragtree_insert(this, newfrag);
this              327 fs/jffs2/nodelist.c 			rb_insert_color(&this->rb, root);
this              334 fs/jffs2/nodelist.c 	while ((this = frag_next(newfrag)) && newfrag->ofs + newfrag->size >= this->ofs + this->size) {
this              337 fs/jffs2/nodelist.c 			this, this->ofs, this->ofs+this->size);
this              338 fs/jffs2/nodelist.c 		rb_erase(&this->rb, root);
this              339 fs/jffs2/nodelist.c 		jffs2_obsolete_node_frag(c, this);
this              344 fs/jffs2/nodelist.c 	if (!this || newfrag->ofs + newfrag->size == this->ofs)
this              348 fs/jffs2/nodelist.c 	this->size = (this->ofs + this->size) - (newfrag->ofs + newfrag->size);
this              349 fs/jffs2/nodelist.c 	this->ofs = newfrag->ofs + newfrag->size;
this              352 fs/jffs2/nodelist.c 	if (this->node)
this              353 fs/jffs2/nodelist.c 		mark_ref_normal(this->node->raw);
this              490 fs/jffs2/nodelist.c 	struct jffs2_inode_cache *this, *next;
this              493 fs/jffs2/nodelist.c 		this = c->inocache_list[i];
this              494 fs/jffs2/nodelist.c 		while (this) {
this              495 fs/jffs2/nodelist.c 			next = this->next;
this              496 fs/jffs2/nodelist.c 			jffs2_xattr_free_inode(c, this);
this              497 fs/jffs2/nodelist.c 			jffs2_free_inode_cache(this);
this              498 fs/jffs2/nodelist.c 			this = next;
this              507 fs/jffs2/nodelist.c 	struct jffs2_raw_node_ref *this, *next;
this              510 fs/jffs2/nodelist.c 		this = c->blocks[i].first_node;
this              511 fs/jffs2/nodelist.c 		while (this) {
this              512 fs/jffs2/nodelist.c 			if (this[REFS_PER_BLOCK].flash_offset == REF_LINK_NODE)
this              513 fs/jffs2/nodelist.c 				next = this[REFS_PER_BLOCK].next_in_ino;
this              517 fs/jffs2/nodelist.c 			jffs2_free_refblock(this);
this              518 fs/jffs2/nodelist.c 			this = next;
this              567 fs/jffs2/nodemgmt.c 	struct list_head *this;
this              569 fs/jffs2/nodemgmt.c 	list_for_each(this, head) {
this              570 fs/jffs2/nodemgmt.c 		if (this == obj) {
this              223 fs/jffs2/readinode.c 	struct jffs2_tmp_dnode_info *this, *ptn;
this              250 fs/jffs2/readinode.c 	this = jffs2_lookup_tn(&rii->tn_root, tn->fn->ofs);
this              251 fs/jffs2/readinode.c 	if (this) {
this              254 fs/jffs2/readinode.c 		while (this->overlapped) {
this              255 fs/jffs2/readinode.c 			ptn = tn_prev(this);
this              261 fs/jffs2/readinode.c 				this->overlapped = 0;
this              264 fs/jffs2/readinode.c 			this = ptn;
this              266 fs/jffs2/readinode.c 		dbg_readinode("'this' found %#04x-%#04x (%s)\n", this->fn->ofs, this->fn->ofs + this->fn->size, this->fn ? "data" : "hole");
this              269 fs/jffs2/readinode.c 	while (this) {
this              270 fs/jffs2/readinode.c 		if (this->fn->ofs > fn_end)
this              273 fs/jffs2/readinode.c 			      this->version, this->fn->ofs, this->fn->size);
this              275 fs/jffs2/readinode.c 		if (this->version == tn->version) {
this              278 fs/jffs2/readinode.c 			if (!check_tn_node(c, this)) {
this              286 fs/jffs2/readinode.c 				rb_replace_node(&this->rb, &tn->rb, &rii->tn_root);
this              287 fs/jffs2/readinode.c 				jffs2_kill_tn(c, this);
this              292 fs/jffs2/readinode.c 		if (this->version < tn->version &&
this              293 fs/jffs2/readinode.c 		    this->fn->ofs >= tn->fn->ofs &&
this              294 fs/jffs2/readinode.c 		    this->fn->ofs + this->fn->size <= fn_end) {
this              302 fs/jffs2/readinode.c 			while (this && this->fn->ofs + this->fn->size <= fn_end) {
this              303 fs/jffs2/readinode.c 				struct jffs2_tmp_dnode_info *next = tn_next(this);
this              304 fs/jffs2/readinode.c 				if (this->version < tn->version) {
this              305 fs/jffs2/readinode.c 					tn_erase(this, &rii->tn_root);
this              307 fs/jffs2/readinode.c 						      this->version, this->fn->ofs,
this              308 fs/jffs2/readinode.c 						      this->fn->ofs+this->fn->size);
this              309 fs/jffs2/readinode.c 					jffs2_kill_tn(c, this);
this              311 fs/jffs2/readinode.c 				this = next;
this              316 fs/jffs2/readinode.c 		if (this->version > tn->version &&
this              317 fs/jffs2/readinode.c 		    this->fn->ofs <= tn->fn->ofs &&
this              318 fs/jffs2/readinode.c 		    this->fn->ofs+this->fn->size >= fn_end) {
this              320 fs/jffs2/readinode.c 			if (!check_tn_node(c, this)) {
this              327 fs/jffs2/readinode.c 			tn_erase(this, &rii->tn_root);
this              328 fs/jffs2/readinode.c 			jffs2_kill_tn(c, this);
this              332 fs/jffs2/readinode.c 		this = tn_next(this);
this              358 fs/jffs2/readinode.c 	this = tn_prev(tn);
this              359 fs/jffs2/readinode.c 	if (this) {
this              361 fs/jffs2/readinode.c 			if (this->fn->ofs + this->fn->size > tn->fn->ofs) {
this              363 fs/jffs2/readinode.c 					      this, this->version, this->fn->ofs,
this              364 fs/jffs2/readinode.c 					      this->fn->ofs+this->fn->size);
this              368 fs/jffs2/readinode.c 			if (!this->overlapped)
this              371 fs/jffs2/readinode.c 			ptn = tn_prev(this);
this              377 fs/jffs2/readinode.c 				this->overlapped = 0;
this              380 fs/jffs2/readinode.c 			this = ptn;
this              385 fs/jffs2/readinode.c 	this = tn_next(tn);
this              386 fs/jffs2/readinode.c 	while (this && this->fn->ofs < fn_end) {
this              387 fs/jffs2/readinode.c 		this->overlapped = 1;
this              389 fs/jffs2/readinode.c 			      this->version, this->fn->ofs,
this              390 fs/jffs2/readinode.c 			      this->fn->ofs+this->fn->size);
this              391 fs/jffs2/readinode.c 		this = tn_next(this);
this              455 fs/jffs2/readinode.c 	struct jffs2_tmp_dnode_info *pen, *last, *this;
this              465 fs/jffs2/readinode.c 	this = tn_last(&rii->tn_root);
this              466 fs/jffs2/readinode.c 	while (this) {
this              467 fs/jffs2/readinode.c 		dbg_readinode("tn %p ver %d range 0x%x-0x%x ov %d\n", this, this->version, this->fn->ofs,
this              468 fs/jffs2/readinode.c 			      this->fn->ofs+this->fn->size, this->overlapped);
this              469 fs/jffs2/readinode.c 		this = tn_prev(this);
this              493 fs/jffs2/readinode.c 		this = tn_last(&ver_root);
this              495 fs/jffs2/readinode.c 		while (this) {
this              498 fs/jffs2/readinode.c 			vers_next = tn_prev(this);
this              499 fs/jffs2/readinode.c 			eat_last(&ver_root, &this->rb);
this              500 fs/jffs2/readinode.c 			if (check_tn_node(c, this)) {
this              502 fs/jffs2/readinode.c 					     this->version, this->fn->ofs,
this              503 fs/jffs2/readinode.c 					     this->fn->ofs+this->fn->size);
this              504 fs/jffs2/readinode.c 				jffs2_kill_tn(c, this);
this              506 fs/jffs2/readinode.c 				if (this->version > high_ver) {
this              511 fs/jffs2/readinode.c 					high_ver = this->version;
this              512 fs/jffs2/readinode.c 					rii->latest_ref = this->fn->raw;
this              515 fs/jffs2/readinode.c 					     this, this->version, this->fn->ofs,
this              516 fs/jffs2/readinode.c 					     this->fn->ofs+this->fn->size, this->overlapped);
this              518 fs/jffs2/readinode.c 				ret = jffs2_add_full_dnode_to_inode(c, f, this->fn);
this              524 fs/jffs2/readinode.c 						vers_next = tn_prev(this);
this              525 fs/jffs2/readinode.c 						if (check_tn_node(c, this))
this              526 fs/jffs2/readinode.c 							jffs2_mark_node_obsolete(c, this->fn->raw);
this              527 fs/jffs2/readinode.c 						jffs2_free_full_dnode(this->fn);
this              528 fs/jffs2/readinode.c 						jffs2_free_tmp_dnode_info(this);
this              529 fs/jffs2/readinode.c 						this = vers_next;
this              530 fs/jffs2/readinode.c 						if (!this)
this              536 fs/jffs2/readinode.c 				jffs2_free_tmp_dnode_info(this);
this              538 fs/jffs2/readinode.c 			this = vers_next;
this               50 fs/jffs2/wbuf.c 	struct jffs2_inodirty *this = c->wbuf_inodes;
this               53 fs/jffs2/wbuf.c 	if (this == &inodirty_nomem)
this               57 fs/jffs2/wbuf.c 	if (this && !ino)
this               61 fs/jffs2/wbuf.c 	while (this) {
this               62 fs/jffs2/wbuf.c 		if (this->ino == ino)
this               64 fs/jffs2/wbuf.c 		this = this->next;
this               71 fs/jffs2/wbuf.c 	struct jffs2_inodirty *this;
this               73 fs/jffs2/wbuf.c 	this = c->wbuf_inodes;
this               75 fs/jffs2/wbuf.c 	if (this != &inodirty_nomem) {
this               76 fs/jffs2/wbuf.c 		while (this) {
this               77 fs/jffs2/wbuf.c 			struct jffs2_inodirty *next = this->next;
this               78 fs/jffs2/wbuf.c 			kfree(this);
this               79 fs/jffs2/wbuf.c 			this = next;
this              110 fs/jffs2/wbuf.c 	struct list_head *this, *next;
this              116 fs/jffs2/wbuf.c 	list_for_each_safe(this, next, &c->erasable_pending_wbuf_list) {
this              117 fs/jffs2/wbuf.c 		struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
this              121 fs/jffs2/wbuf.c 		list_del(this);
this             1541 fs/jfs/namei.c static int jfs_ci_hash(const struct dentry *dir, struct qstr *this)
this             1547 fs/jfs/namei.c 	for (i=0; i < this->len; i++)
this             1548 fs/jfs/namei.c 		hash = partial_name_hash(tolower(this->name[i]), hash);
this             1549 fs/jfs/namei.c 	this->hash = end_name_hash(hash);
this              299 fs/lockd/svc.c static int lockd_inetaddr_event(struct notifier_block *this,
this              329 fs/lockd/svc.c static int lockd_inet6addr_event(struct notifier_block *this,
this             2096 fs/namei.c     				struct qstr this = { { .hash_len = hash_len }, .name = name };
this             2097 fs/namei.c     				err = parent->d_op->d_hash(parent, &this);
this             2100 fs/namei.c     				hash_len = this.hash_len;
this             2101 fs/namei.c     				name = this.name;
this             2450 fs/namei.c     				 int len, struct qstr *this)
this             2452 fs/namei.c     	this->name = name;
this             2453 fs/namei.c     	this->len = len;
this             2454 fs/namei.c     	this->hash = full_name_hash(base, name, len);
this             2473 fs/namei.c     		int err = base->d_op->d_hash(base, this);
this             2497 fs/namei.c     	struct qstr this;
this             2502 fs/namei.c     	err = lookup_one_len_common(name, base, len, &this);
this             2506 fs/namei.c     	return lookup_dcache(&this, base, 0);
this             2524 fs/namei.c     	struct qstr this;
this             2529 fs/namei.c     	err = lookup_one_len_common(name, base, len, &this);
this             2533 fs/namei.c     	dentry = lookup_dcache(&this, base, 0);
this             2534 fs/namei.c     	return dentry ? dentry : __lookup_slow(&this, base, 0);
this             2553 fs/namei.c     	struct qstr this;
this             2557 fs/namei.c     	err = lookup_one_len_common(name, base, len, &this);
this             2561 fs/namei.c     	ret = lookup_dcache(&this, base, 0);
this             2563 fs/namei.c     		ret = lookup_slow(&this, base, 0);
this             2575 fs/namei.c     	struct qstr this;
this             2583 fs/namei.c     	this.name = "pts";
this             2584 fs/namei.c     	this.len = 3;
this             2585 fs/namei.c     	child = d_hash_and_lookup(parent, &this);
this             1867 fs/nfsd/nfs4proc.c 	struct nfsd4_op *this = &argp->ops[resp->opcnt - 1];
this             1869 fs/nfsd/nfs4proc.c 	const struct nfsd4_operation *thisd = OPDESC(this);
this             2735 fs/nfsd/nfs4proc.c 	struct nfsd4_op *this = &argp->ops[resp->opcnt - 1];
this             2748 fs/nfsd/nfs4proc.c 		this = &argp->ops[opiter++];
this             2749 fs/nfsd/nfs4proc.c 		if (test_bit(this->opnum, allow->u.longs) &&
this              209 fs/nfsd/nfs4xdr.c 	unsigned int this = (char *)argp->end - (char *)argp->p;
this              211 fs/nfsd/nfs4xdr.c 	return this + argp->pagelen;
this              428 fs/nfsd/nfssvc.c static int nfsd_inetaddr_event(struct notifier_block *this, unsigned long event,
this              459 fs/nfsd/nfssvc.c static int nfsd_inet6addr_event(struct notifier_block *this,
this              373 fs/overlayfs/export.c 	struct dentry *this, *parent = NULL;
this              397 fs/overlayfs/export.c 	this = lookup_one_len(name.name.name, connected, name.name.len);
this              398 fs/overlayfs/export.c 	err = PTR_ERR(this);
this              399 fs/overlayfs/export.c 	if (IS_ERR(this)) {
this              401 fs/overlayfs/export.c 	} else if (!this || !this->d_inode) {
this              402 fs/overlayfs/export.c 		dput(this);
this              405 fs/overlayfs/export.c 	} else if (ovl_dentry_real_at(this, layer->idx) != real) {
this              406 fs/overlayfs/export.c 		dput(this);
this              415 fs/overlayfs/export.c 	return this;
this              420 fs/overlayfs/export.c 	this = ERR_PTR(err);
this              438 fs/overlayfs/export.c 	struct dentry *this = NULL;
this              449 fs/overlayfs/export.c 		this = d_find_any_alias(inode);
this              457 fs/overlayfs/export.c 	if (!this && layer->idx && ofs->indexdir && !WARN_ON(!d_is_dir(real))) {
this              478 fs/overlayfs/export.c 		this = ovl_lookup_real(sb, upper, &upper_layer);
this              482 fs/overlayfs/export.c 	if (IS_ERR_OR_NULL(this))
this              483 fs/overlayfs/export.c 		return this;
this              485 fs/overlayfs/export.c 	if (WARN_ON(ovl_dentry_real_at(this, layer->idx) != real)) {
this              486 fs/overlayfs/export.c 		dput(this);
this              487 fs/overlayfs/export.c 		this = ERR_PTR(-EIO);
this              490 fs/overlayfs/export.c 	return this;
this              562 fs/overlayfs/export.c 		struct dentry *next, *this;
this              608 fs/overlayfs/export.c 			this = ovl_lookup_real_one(connected, next, layer);
this              609 fs/overlayfs/export.c 			if (IS_ERR(this))
this              610 fs/overlayfs/export.c 				err = PTR_ERR(this);
this              623 fs/overlayfs/export.c 				this = ovl_lookup_real_ancestor(sb, real,
this              625 fs/overlayfs/export.c 				err = PTR_ERR_OR_ZERO(this);
this              629 fs/overlayfs/export.c 				connected = this;
this              199 fs/overlayfs/namei.c 	struct dentry *this;
this              203 fs/overlayfs/namei.c 	this = lookup_one_len_unlocked(name, base, namelen);
this              204 fs/overlayfs/namei.c 	if (IS_ERR(this)) {
this              205 fs/overlayfs/namei.c 		err = PTR_ERR(this);
this              206 fs/overlayfs/namei.c 		this = NULL;
this              211 fs/overlayfs/namei.c 	if (!this->d_inode)
this              214 fs/overlayfs/namei.c 	if (ovl_dentry_weird(this)) {
this              219 fs/overlayfs/namei.c 	if (ovl_is_whiteout(this)) {
this              227 fs/overlayfs/namei.c 	if (last_element && d->metacopy && !d_is_reg(this)) {
this              231 fs/overlayfs/namei.c 	if (!d_can_lookup(this)) {
this              236 fs/overlayfs/namei.c 		err = ovl_check_metacopy_xattr(this);
this              245 fs/overlayfs/namei.c 		if (ovl_lookup_trap_inode(d->sb, this)) {
this              256 fs/overlayfs/namei.c 		if (ovl_is_opaquedir(this)) {
this              263 fs/overlayfs/namei.c 	err = ovl_check_redirect(this, d, prelen, post);
this              267 fs/overlayfs/namei.c 	*ret = this;
this              271 fs/overlayfs/namei.c 	dput(this);
this              272 fs/overlayfs/namei.c 	this = NULL;
this              276 fs/overlayfs/namei.c 	dput(this);
this              829 fs/overlayfs/namei.c 	struct dentry *this;
this              908 fs/overlayfs/namei.c 		err = ovl_lookup_layer(lower.dentry, &d, &this);
this              912 fs/overlayfs/namei.c 		if (!this)
this              920 fs/overlayfs/namei.c 			err = ovl_fix_origin(dentry, this, upperdentry);
this              922 fs/overlayfs/namei.c 				dput(this);
this              939 fs/overlayfs/namei.c 			err = ovl_verify_origin(upperdentry, this, false);
this              941 fs/overlayfs/namei.c 				dput(this);
this              946 fs/overlayfs/namei.c 			origin = this;
this              956 fs/overlayfs/namei.c 			dput(this);
this              960 fs/overlayfs/namei.c 		stack[ctr].dentry = this;
this             1139 fs/overlayfs/namei.c 		struct dentry *this;
this             1142 fs/overlayfs/namei.c 		this = lookup_one_len_unlocked(name->name, lowerdir,
this             1144 fs/overlayfs/namei.c 		if (IS_ERR(this)) {
this             1145 fs/overlayfs/namei.c 			switch (PTR_ERR(this)) {
this             1159 fs/overlayfs/namei.c 			if (this->d_inode) {
this             1160 fs/overlayfs/namei.c 				positive = !ovl_is_whiteout(this);
this             1163 fs/overlayfs/namei.c 			dput(this);
this              466 fs/overlayfs/readdir.c 	struct dentry *this = NULL;
this              477 fs/overlayfs/readdir.c 			this = dget(dir);
this              482 fs/overlayfs/readdir.c 			this = dget(dir->d_parent);
this              486 fs/overlayfs/readdir.c 	this = lookup_one_len(p->name, dir, p->len);
this              487 fs/overlayfs/readdir.c 	if (IS_ERR_OR_NULL(this) || !this->d_inode) {
this              488 fs/overlayfs/readdir.c 		if (IS_ERR(this)) {
this              489 fs/overlayfs/readdir.c 			err = PTR_ERR(this);
this              490 fs/overlayfs/readdir.c 			this = NULL;
this              497 fs/overlayfs/readdir.c 	type = ovl_path_type(this);
this              502 fs/overlayfs/readdir.c 		statpath.dentry = this;
this              517 fs/overlayfs/readdir.c 					  ovl_layer_lower(this)->fsid,
this              523 fs/overlayfs/readdir.c 	dput(this);
this               98 fs/proc/generic.c 		struct proc_dir_entry *this = rb_entry(*new,
this              101 fs/proc/generic.c 		int result = proc_match(de->name, this, de->namelen);
this             2148 fs/ubifs/debug.c 	struct rb_node *this = rb_first(&fsckd->inodes);
this             2150 fs/ubifs/debug.c 	while (this) {
this             2151 fs/ubifs/debug.c 		fscki = rb_entry(this, struct fsck_inode, rb);
this             2152 fs/ubifs/debug.c 		this = rb_next(this);
this             1530 fs/ubifs/recovery.c 	struct rb_node *this = rb_first(&c->size_tree);
this             1532 fs/ubifs/recovery.c 	while (this) {
this             1536 fs/ubifs/recovery.c 		e = rb_entry(this, struct size_entry, rb);
this             1538 fs/ubifs/recovery.c 		this = rb_next(this);
this               19 include/kvm/iodev.h 		    struct kvm_io_device *this,
this               24 include/kvm/iodev.h 		     struct kvm_io_device *this,
this               28 include/kvm/iodev.h 	void (*destructor)(struct kvm_io_device *this);
this              289 include/linux/devfreq.h 	int (*get_target_freq)(struct devfreq *this, unsigned long *freq);
this              292 include/linux/devfreq.h 	struct devfreq *this;
this               74 include/linux/hp_sdc.h int __hp_sdc_enqueue_transaction(hp_sdc_transaction *this);
this               75 include/linux/hp_sdc.h int hp_sdc_enqueue_transaction(hp_sdc_transaction *this);
this               76 include/linux/hp_sdc.h int hp_sdc_dequeue_transaction(hp_sdc_transaction *this);
this              293 include/linux/hp_sdc.h #error No support for device registration on this arch yet.
this              485 include/linux/i3c/master.h 	struct i3c_dev_desc *this;
this              153 include/linux/mtd/onenand.h #define ONENAND_CURRENT_BUFFERRAM(this)		(this->bufferram_index)
this              154 include/linux/mtd/onenand.h #define ONENAND_NEXT_BUFFERRAM(this)		(this->bufferram_index ^ 1)
this              155 include/linux/mtd/onenand.h #define ONENAND_SET_NEXT_BUFFERRAM(this)	(this->bufferram_index ^= 1)
this              156 include/linux/mtd/onenand.h #define ONENAND_SET_PREV_BUFFERRAM(this)	(this->bufferram_index ^= 1)
this              157 include/linux/mtd/onenand.h #define ONENAND_SET_BUFFERRAM0(this)		(this->bufferram_index = 0)
this              158 include/linux/mtd/onenand.h #define ONENAND_SET_BUFFERRAM1(this)		(this->bufferram_index = 1)
this              160 include/linux/mtd/onenand.h #define FLEXONENAND(this)						\
this              161 include/linux/mtd/onenand.h 	(this->device_id & DEVICE_IS_FLEXONENAND)
this              162 include/linux/mtd/onenand.h #define ONENAND_GET_SYS_CFG1(this)					\
this              163 include/linux/mtd/onenand.h 	(this->read_word(this->base + ONENAND_REG_SYS_CFG1))
this              164 include/linux/mtd/onenand.h #define ONENAND_SET_SYS_CFG1(v, this)					\
this              165 include/linux/mtd/onenand.h 	(this->write_word(v, this->base + ONENAND_REG_SYS_CFG1))
this              167 include/linux/mtd/onenand.h #define ONENAND_IS_DDP(this)						\
this              168 include/linux/mtd/onenand.h 	(this->device_id & ONENAND_DEVICE_IS_DDP)
this              170 include/linux/mtd/onenand.h #define ONENAND_IS_MLC(this)						\
this              171 include/linux/mtd/onenand.h 	(this->technology & ONENAND_TECHNOLOGY_IS_MLC)
this              174 include/linux/mtd/onenand.h #define ONENAND_IS_2PLANE(this)						\
this              175 include/linux/mtd/onenand.h 	(this->options & ONENAND_HAS_2PLANE)
this              177 include/linux/mtd/onenand.h #define ONENAND_IS_2PLANE(this)			(0)
this              180 include/linux/mtd/onenand.h #define ONENAND_IS_CACHE_PROGRAM(this)					\
this              181 include/linux/mtd/onenand.h 	(this->options & ONENAND_HAS_CACHE_PROGRAM)
this              183 include/linux/mtd/onenand.h #define ONENAND_IS_NOP_1(this)						\
this              184 include/linux/mtd/onenand.h 	(this->options & ONENAND_HAS_NOP_1)
this              205 include/linux/mtd/onenand.h #define ONENAND_IS_4KB_PAGE(this)					\
this              206 include/linux/mtd/onenand.h 	(this->options & ONENAND_HAS_4KB_PAGE)
this              226 include/linux/mtd/onenand.h unsigned onenand_block(struct onenand_chip *this, loff_t addr);
this              227 include/linux/mtd/onenand.h loff_t onenand_addr(struct onenand_chip *this, int block);
this               38 include/linux/netfilter/nf_conntrack_h323.h 			      struct nf_conntrack_expect *this);
this               40 include/linux/netfilter/nf_conntrack_h323.h 			      struct nf_conntrack_expect *this);
this               15 include/net/caif/cffrml.h void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up);
this               16 include/net/caif/cffrml.h void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn);
this               31 include/net/netfilter/nf_conntrack_expect.h 			 struct nf_conntrack_expect *this);
this               39 include/net/netfilter/nf_nat_helper.h void nf_nat_follow_master(struct nf_conn *ct, struct nf_conntrack_expect *this);
this               13 include/sound/wavefront.h      You will not be able to compile this file correctly without gcc, because
this               16 include/sound/wavefront.h      the case on the original platform, MS-DOS). If this is not done,
this               18 include/sound/wavefront.h      The method used to do this here ("__attribute__((packed)") is
this               91 kernel/bpf/local_storage.c 		struct bpf_cgroup_storage *this;
this               93 kernel/bpf/local_storage.c 		this = container_of(*new, struct bpf_cgroup_storage, node);
this               96 kernel/bpf/local_storage.c 		switch (bpf_cgroup_storage_key_cmp(&storage->key, &this->key)) {
this              928 kernel/debug/debug_core.c dbg_notify_reboot(struct notifier_block *this, unsigned long code, void *x)
this               30 kernel/dma/mapping.c 	struct dma_devres *this = res;
this               32 kernel/dma/mapping.c 	dma_free_attrs(dev, this->size, this->vaddr, this->dma_handle,
this               33 kernel/dma/mapping.c 			this->attrs);
this               38 kernel/dma/mapping.c 	struct dma_devres *this = res, *match = match_data;
this               40 kernel/dma/mapping.c 	if (this->vaddr == match->vaddr) {
this               41 kernel/dma/mapping.c 		WARN_ON(this->size != match->size ||
this               42 kernel/dma/mapping.c 			this->dma_handle != match->dma_handle);
this              791 kernel/futex.c 	struct futex_q *this;
this              793 kernel/futex.c 	plist_for_each_entry(this, &hb->chain, list) {
this              794 kernel/futex.c 		if (match_futex(&this->key, key))
this              795 kernel/futex.c 			return this;
this             1675 kernel/futex.c 	struct futex_q *this, *next;
this             1695 kernel/futex.c 	plist_for_each_entry_safe(this, next, &hb->chain, list) {
this             1696 kernel/futex.c 		if (match_futex (&this->key, &key)) {
this             1697 kernel/futex.c 			if (this->pi_state || this->rt_waiter) {
this             1703 kernel/futex.c 			if (!(this->bitset & bitset))
this             1706 kernel/futex.c 			mark_wake_futex(&wake_q, this);
this             1777 kernel/futex.c 	struct futex_q *this, *next;
this             1825 kernel/futex.c 	plist_for_each_entry_safe(this, next, &hb1->chain, list) {
this             1826 kernel/futex.c 		if (match_futex (&this->key, &key1)) {
this             1827 kernel/futex.c 			if (this->pi_state || this->rt_waiter) {
this             1831 kernel/futex.c 			mark_wake_futex(&wake_q, this);
this             1839 kernel/futex.c 		plist_for_each_entry_safe(this, next, &hb2->chain, list) {
this             1840 kernel/futex.c 			if (match_futex (&this->key, &key2)) {
this             1841 kernel/futex.c 				if (this->pi_state || this->rt_waiter) {
this             1845 kernel/futex.c 				mark_wake_futex(&wake_q, this);
this             2023 kernel/futex.c 	struct futex_q *this, *next;
this             2199 kernel/futex.c 	plist_for_each_entry_safe(this, next, &hb1->chain, list) {
this             2203 kernel/futex.c 		if (!match_futex(&this->key, &key1))
this             2213 kernel/futex.c 		if ((requeue_pi && !this->rt_waiter) ||
this             2214 kernel/futex.c 		    (!requeue_pi && this->rt_waiter) ||
this             2215 kernel/futex.c 		    this->pi_state) {
this             2226 kernel/futex.c 			mark_wake_futex(&wake_q, this);
this             2231 kernel/futex.c 		if (requeue_pi && !match_futex(this->requeue_pi_key, &key2)) {
this             2247 kernel/futex.c 			this->pi_state = pi_state;
this             2249 kernel/futex.c 							this->rt_waiter,
this             2250 kernel/futex.c 							this->task);
this             2260 kernel/futex.c 				requeue_pi_wake_futex(this, &key2, hb2);
this             2272 kernel/futex.c 				this->pi_state = NULL;
this             2281 kernel/futex.c 		requeue_futex(this, hb1, hb2, &key2);
this               77 kernel/hung_task.c hung_task_panic(struct notifier_block *this, unsigned long event, void *ptr)
this               20 kernel/irq/devres.c 	struct irq_devres *this = res;
this               22 kernel/irq/devres.c 	free_irq(this->irq, this->dev_id);
this               27 kernel/irq/devres.c 	struct irq_devres *this = res, *match = data;
this               29 kernel/irq/devres.c 	return this->irq == match->irq && this->dev_id == match->dev_id;
this              156 kernel/irq/devres.c 	struct irq_desc_devres *this = res;
this              158 kernel/irq/devres.c 	irq_free_descs(this->from, this->cnt);
this              242 kernel/irq/devres.c 	struct irq_generic_chip_devres *this = res;
this              244 kernel/irq/devres.c 	irq_remove_generic_chip(this->gc, this->msk, this->clr, this->set);
this              130 kernel/irq/irq_sim.c 	struct irq_sim_devres *this = res;
this              132 kernel/irq/irq_sim.c 	irq_sim_fini(this->sim);
this             1302 kernel/locking/lockdep.c static int add_lock_to_list(struct lock_class *this,
this             1316 kernel/locking/lockdep.c 	entry->class = this;
this             1648 kernel/locking/lockdep.c static noinline void print_circular_bug(struct lock_list *this,
this             1661 kernel/locking/lockdep.c 	this->trace = save_trace();
this             1662 kernel/locking/lockdep.c 	if (!this->trace)
this             1704 kernel/locking/lockdep.c static unsigned long __lockdep_count_forward_deps(struct lock_list *this)
this             1709 kernel/locking/lockdep.c 	__bfs_forwards(this, (void *)&count, noop_count, &target_entry);
this             1716 kernel/locking/lockdep.c 	struct lock_list this;
this             1718 kernel/locking/lockdep.c 	this.parent = NULL;
this             1719 kernel/locking/lockdep.c 	this.class = class;
this             1724 kernel/locking/lockdep.c 	ret = __lockdep_count_forward_deps(&this);
this             1732 kernel/locking/lockdep.c static unsigned long __lockdep_count_backward_deps(struct lock_list *this)
this             1737 kernel/locking/lockdep.c 	__bfs_backwards(this, (void *)&count, noop_count, &target_entry);
this             1745 kernel/locking/lockdep.c 	struct lock_list this;
this             1747 kernel/locking/lockdep.c 	this.parent = NULL;
this             1748 kernel/locking/lockdep.c 	this.class = class;
this             1753 kernel/locking/lockdep.c 	ret = __lockdep_count_backward_deps(&this);
this             2234 kernel/locking/lockdep.c 	struct lock_list this, that;
this             2241 kernel/locking/lockdep.c 	this.parent = NULL;
this             2242 kernel/locking/lockdep.c 	this.class = hlock_class(prev);
this             2244 kernel/locking/lockdep.c 	ret = __bfs_backwards(&this, &usage_mask, usage_accumulate, NULL);
this             2278 kernel/locking/lockdep.c 	ret = find_usage_backwards(&this, backward_mask, &target_entry);
this             2296 kernel/locking/lockdep.c 	print_bad_irq_dependency(curr, &this, &that,
this             3050 kernel/locking/lockdep.c static int mark_lock(struct task_struct *curr, struct held_lock *this,
this             3071 kernel/locking/lockdep.c print_usage_bug(struct task_struct *curr, struct held_lock *this,
this             3092 kernel/locking/lockdep.c 	print_lock(this);
this             3095 kernel/locking/lockdep.c 	print_lock_trace(hlock_class(this)->usage_traces[prev_bit], 1);
this             3099 kernel/locking/lockdep.c 	print_usage_bug_scenario(this);
this             3111 kernel/locking/lockdep.c valid_state(struct task_struct *curr, struct held_lock *this,
this             3114 kernel/locking/lockdep.c 	if (unlikely(hlock_class(this)->usage_mask & (1 << bad_bit))) {
this             3115 kernel/locking/lockdep.c 		print_usage_bug(curr, this, bad_bit, new_bit);
this             3128 kernel/locking/lockdep.c 			struct held_lock *this, int forwards,
this             3145 kernel/locking/lockdep.c 	print_lock(this);
this             3190 kernel/locking/lockdep.c check_usage_forwards(struct task_struct *curr, struct held_lock *this,
this             3198 kernel/locking/lockdep.c 	root.class = hlock_class(this);
this             3208 kernel/locking/lockdep.c 				this, 1, irqclass);
this             3217 kernel/locking/lockdep.c check_usage_backwards(struct task_struct *curr, struct held_lock *this,
this             3225 kernel/locking/lockdep.c 	root.class = hlock_class(this);
this             3235 kernel/locking/lockdep.c 				this, 0, irqclass);
this             3291 kernel/locking/lockdep.c mark_lock_irq(struct task_struct *curr, struct held_lock *this,
this             3312 kernel/locking/lockdep.c 	if (!valid_state(curr, this, new_bit, excl_bit))
this             3320 kernel/locking/lockdep.c 			!usage(curr, this, excl_bit, state_name(new_bit & ~LOCK_USAGE_READ_MASK)))
this             3327 kernel/locking/lockdep.c 		if (!valid_state(curr, this, new_bit, excl_bit + LOCK_USAGE_READ_MASK))
this             3331 kernel/locking/lockdep.c 			!usage(curr, this, excl_bit + LOCK_USAGE_READ_MASK,
this             3336 kernel/locking/lockdep.c 	if (state_verbose(new_bit, hlock_class(this)))
this             3632 kernel/locking/lockdep.c static int mark_lock(struct task_struct *curr, struct held_lock *this,
this             3646 kernel/locking/lockdep.c 	if (likely(hlock_class(this)->usage_mask & new_mask))
this             3654 kernel/locking/lockdep.c 	if (unlikely(hlock_class(this)->usage_mask & new_mask)) {
this             3659 kernel/locking/lockdep.c 	hlock_class(this)->usage_mask |= new_mask;
this             3661 kernel/locking/lockdep.c 	if (!(hlock_class(this)->usage_traces[new_bit] = save_trace()))
this             3669 kernel/locking/lockdep.c 		ret = mark_lock_irq(curr, this, new_bit);
this             3681 kernel/locking/lockdep.c 		print_lock(this);
this               57 kernel/rcu/tree_stall.h static int rcu_panic(struct notifier_block *this, unsigned long ev, void *ptr)
this              597 kernel/resource.c 	struct resource *this = root->child;
this              605 kernel/resource.c 	if (this && this->start == root->start) {
this              606 kernel/resource.c 		tmp.start = (this == old) ? old->start : this->end + 1;
this              607 kernel/resource.c 		this = this->sibling;
this              610 kernel/resource.c 		if (this)
this              611 kernel/resource.c 			tmp.end = (this == old) ?  this->end : this->start - 1;
this              638 kernel/resource.c next:		if (!this || this->end == root->end)
this              641 kernel/resource.c 		if (this != old)
this              642 kernel/resource.c 			tmp.start = this->end + 1;
this              643 kernel/resource.c 		this = this->sibling;
this             1432 kernel/resource.c 	struct region_devres *this = res;
this             1434 kernel/resource.c 	__release_region(this->parent, this->start, this->n);
this             1439 kernel/resource.c 	struct region_devres *this = res, *match = match_data;
this             1441 kernel/resource.c 	return this->parent == match->parent &&
this             1442 kernel/resource.c 		this->start == match->start && this->n == match->n;
this             5965 kernel/sched/fair.c 	int this = smp_processor_id();
this             5990 kernel/sched/fair.c 	time = cpu_clock(this);
this             6003 kernel/sched/fair.c 	time = cpu_clock(this) - time;
this             8829 kernel/trace/trace.c static int trace_panic_handler(struct notifier_block *this,
this               92 kernel/trace/trace_stat.c 		struct stat_node *this;
this               95 kernel/trace/trace_stat.c 		this = container_of(*new, struct stat_node, node);
this               96 kernel/trace/trace_stat.c 		result = cmp(data->stat, this->stat);
this              293 lib/devres.c   	struct pcim_iomap_devres *this = res;
this              297 lib/devres.c   		if (this->table[i])
this              298 lib/devres.c   			pci_iounmap(dev, this->table[i]);
this              109 lib/zlib_inflate/inffast.c     code this;                  /* retrieved table entry */
this              146 lib/zlib_inflate/inffast.c         this = lcode[hold & lmask];
this              148 lib/zlib_inflate/inffast.c         op = (unsigned)(this.bits);
this              151 lib/zlib_inflate/inffast.c         op = (unsigned)(this.op);
this              153 lib/zlib_inflate/inffast.c             PUP(out) = (unsigned char)(this.val);
this              156 lib/zlib_inflate/inffast.c             len = (unsigned)(this.val);
this              173 lib/zlib_inflate/inffast.c             this = dcode[hold & dmask];
this              175 lib/zlib_inflate/inffast.c             op = (unsigned)(this.bits);
this              178 lib/zlib_inflate/inffast.c             op = (unsigned)(this.op);
this              180 lib/zlib_inflate/inffast.c                 dist = (unsigned)(this.val);
this              308 lib/zlib_inflate/inffast.c                 this = dcode[this.val + (hold & ((1U << op) - 1))];
this              318 lib/zlib_inflate/inffast.c             this = lcode[this.val + (hold & ((1U << op) - 1))];
this              328 lib/zlib_inflate/inflate.c     code this;                  /* current decoding table entry */
this              493 lib/zlib_inflate/inflate.c                     this = state->lencode[BITS(state->lenbits)];
this              494 lib/zlib_inflate/inflate.c                     if ((unsigned)(this.bits) <= bits) break;
this              497 lib/zlib_inflate/inflate.c                 if (this.val < 16) {
this              498 lib/zlib_inflate/inflate.c                     NEEDBITS(this.bits);
this              499 lib/zlib_inflate/inflate.c                     DROPBITS(this.bits);
this              500 lib/zlib_inflate/inflate.c                     state->lens[state->have++] = this.val;
this              503 lib/zlib_inflate/inflate.c                     if (this.val == 16) {
this              504 lib/zlib_inflate/inflate.c                         NEEDBITS(this.bits + 2);
this              505 lib/zlib_inflate/inflate.c                         DROPBITS(this.bits);
this              515 lib/zlib_inflate/inflate.c                     else if (this.val == 17) {
this              516 lib/zlib_inflate/inflate.c                         NEEDBITS(this.bits + 3);
this              517 lib/zlib_inflate/inflate.c                         DROPBITS(this.bits);
this              523 lib/zlib_inflate/inflate.c                         NEEDBITS(this.bits + 7);
this              524 lib/zlib_inflate/inflate.c                         DROPBITS(this.bits);
this              572 lib/zlib_inflate/inflate.c                 this = state->lencode[BITS(state->lenbits)];
this              573 lib/zlib_inflate/inflate.c                 if ((unsigned)(this.bits) <= bits) break;
this              576 lib/zlib_inflate/inflate.c             if (this.op && (this.op & 0xf0) == 0) {
this              577 lib/zlib_inflate/inflate.c                 last = this;
this              579 lib/zlib_inflate/inflate.c                     this = state->lencode[last.val +
this              581 lib/zlib_inflate/inflate.c                     if ((unsigned)(last.bits + this.bits) <= bits) break;
this              586 lib/zlib_inflate/inflate.c             DROPBITS(this.bits);
this              587 lib/zlib_inflate/inflate.c             state->length = (unsigned)this.val;
this              588 lib/zlib_inflate/inflate.c             if ((int)(this.op) == 0) {
this              592 lib/zlib_inflate/inflate.c             if (this.op & 32) {
this              596 lib/zlib_inflate/inflate.c             if (this.op & 64) {
this              601 lib/zlib_inflate/inflate.c             state->extra = (unsigned)(this.op) & 15;
this              614 lib/zlib_inflate/inflate.c                 this = state->distcode[BITS(state->distbits)];
this              615 lib/zlib_inflate/inflate.c                 if ((unsigned)(this.bits) <= bits) break;
this              618 lib/zlib_inflate/inflate.c             if ((this.op & 0xf0) == 0) {
this              619 lib/zlib_inflate/inflate.c                 last = this;
this              621 lib/zlib_inflate/inflate.c                     this = state->distcode[last.val +
this              623 lib/zlib_inflate/inflate.c                     if ((unsigned)(last.bits + this.bits) <= bits) break;
this              628 lib/zlib_inflate/inflate.c             DROPBITS(this.bits);
this              629 lib/zlib_inflate/inflate.c             if (this.op & 64) {
this              634 lib/zlib_inflate/inflate.c             state->offset = (unsigned)this.val;
this              635 lib/zlib_inflate/inflate.c             state->extra = (unsigned)(this.op) & 15;
this               39 lib/zlib_inflate/inftrees.c     code this;                  /* table entry for duplication */
this              104 lib/zlib_inflate/inftrees.c         this.op = (unsigned char)64;    /* invalid code marker */
this              105 lib/zlib_inflate/inftrees.c         this.bits = (unsigned char)1;
this              106 lib/zlib_inflate/inftrees.c         this.val = (unsigned short)0;
this              107 lib/zlib_inflate/inftrees.c         *(*table)++ = this;             /* make a table to force an error */
this              108 lib/zlib_inflate/inftrees.c         *(*table)++ = this;
this              204 lib/zlib_inflate/inftrees.c         this.bits = (unsigned char)(len - drop);
this              206 lib/zlib_inflate/inftrees.c             this.op = (unsigned char)0;
this              207 lib/zlib_inflate/inftrees.c             this.val = work[sym];
this              210 lib/zlib_inflate/inftrees.c             this.op = (unsigned char)(extra[work[sym]]);
this              211 lib/zlib_inflate/inftrees.c             this.val = base[work[sym]];
this              214 lib/zlib_inflate/inftrees.c             this.op = (unsigned char)(32 + 64);         /* end of block */
this              215 lib/zlib_inflate/inftrees.c             this.val = 0;
this              224 lib/zlib_inflate/inftrees.c             next[(huff >> drop) + fill] = this;
this              284 lib/zlib_inflate/inftrees.c     this.op = (unsigned char)64;                /* invalid code marker */
this              285 lib/zlib_inflate/inftrees.c     this.bits = (unsigned char)(len - drop);
this              286 lib/zlib_inflate/inftrees.c     this.val = (unsigned short)0;
this              293 lib/zlib_inflate/inftrees.c             this.bits = (unsigned char)len;
this              297 lib/zlib_inflate/inftrees.c         next[huff >> drop] = this;
this              517 mm/memblock.c  		struct memblock_region *this = &type->regions[i];
this              520 mm/memblock.c  		if (this->base + this->size != next->base ||
this              521 mm/memblock.c  		    memblock_get_region_node(this) !=
this              523 mm/memblock.c  		    this->flags != next->flags) {
this              524 mm/memblock.c  			BUG_ON(this->base + this->size > next->base);
this              529 mm/memblock.c  		this->size += next->size;
this              119 mm/vmstat.c    		struct vm_event_state *this = &per_cpu(vm_event_states, cpu);
this              122 mm/vmstat.c    			ret[i] += this->event[i];
this               25 net/6lowpan/nhc.c 		struct lowpan_nhc *this = rb_entry(*new, struct lowpan_nhc,
this               29 net/6lowpan/nhc.c 		len_dif = nhc->idlen - this->idlen;
this               31 net/6lowpan/nhc.c 		if (nhc->idlen < this->idlen)
this               34 net/6lowpan/nhc.c 			len = this->idlen;
this               36 net/6lowpan/nhc.c 		result = memcmp(nhc->id, this->id, len);
this              327 net/appletalk/aarp.c static int aarp_device_event(struct notifier_block *this, unsigned long event,
this              638 net/appletalk/ddp.c static int ddp_device_event(struct notifier_block *this, unsigned long event,
this               51 net/atm/addr.c 	struct atm_dev_addr *this, *p;
this               59 net/atm/addr.c 	list_for_each_entry_safe(this, p, head, entry) {
this               60 net/atm/addr.c 		list_del(&this->entry);
this               61 net/atm/addr.c 		kfree(this);
this               72 net/atm/addr.c 	struct atm_dev_addr *this;
this               84 net/atm/addr.c 	list_for_each_entry(this, head, entry) {
this               85 net/atm/addr.c 		if (identical(&this->addr, addr)) {
this               90 net/atm/addr.c 	this = kmalloc(sizeof(struct atm_dev_addr), GFP_ATOMIC);
this               91 net/atm/addr.c 	if (!this) {
this               95 net/atm/addr.c 	this->addr = *addr;
this               96 net/atm/addr.c 	list_add(&this->entry, head);
this              107 net/atm/addr.c 	struct atm_dev_addr *this;
this              119 net/atm/addr.c 	list_for_each_entry(this, head, entry) {
this              120 net/atm/addr.c 		if (identical(&this->addr, addr)) {
this              121 net/atm/addr.c 			list_del(&this->entry);
this              123 net/atm/addr.c 			kfree(this);
this              137 net/atm/addr.c 	struct atm_dev_addr *this;
this              147 net/atm/addr.c 	list_for_each_entry(this, head, entry)
this              154 net/atm/addr.c 	list_for_each_entry(this, head, entry)
this              155 net/atm/addr.c 	    memcpy(tmp_bufp++, &this->addr, sizeof(struct sockaddr_atmsvc));
this              147 net/atm/br2684.c static int atm_dev_event(struct notifier_block *this, unsigned long event,
this              545 net/atm/clip.c static int clip_device_event(struct notifier_block *this, unsigned long event,
this              578 net/atm/clip.c static int clip_inet_event(struct notifier_block *this, unsigned long event,
this              592 net/atm/clip.c 	return clip_device_event(this, NETDEV_CHANGE, &info);
this              109 net/ax25/af_ax25.c static int ax25_device_event(struct notifier_block *this, unsigned long event,
this             1020 net/batman-adv/hard-interface.c static int batadv_hard_if_event(struct notifier_block *this,
this               87 net/caif/caif_usb.c 	struct cfusbl *this = kmalloc(sizeof(struct cfusbl), GFP_ATOMIC);
this               89 net/caif/caif_usb.c 	if (!this)
this               94 net/caif/caif_usb.c 	memset(&this->layer, 0, sizeof(this->layer));
this               95 net/caif/caif_usb.c 	this->layer.receive = cfusbl_receive;
this               96 net/caif/caif_usb.c 	this->layer.transmit = cfusbl_transmit;
this               97 net/caif/caif_usb.c 	this->layer.ctrlcmd = cfusbl_ctrlcmd;
this               98 net/caif/caif_usb.c 	snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "usb%d", phyid);
this               99 net/caif/caif_usb.c 	this->layer.id = phyid;
this              107 net/caif/caif_usb.c 	ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], braddr);
this              108 net/caif/caif_usb.c 	ether_addr_copy(&this->tx_eth_hdr[ETH_ALEN], ethaddr);
this              109 net/caif/caif_usb.c 	this->tx_eth_hdr[12] = cpu_to_be16(ETH_P_802_EX1) & 0xff;
this              110 net/caif/caif_usb.c 	this->tx_eth_hdr[13] = (cpu_to_be16(ETH_P_802_EX1) >> 8) & 0xff;
this              112 net/caif/caif_usb.c 			this->tx_eth_hdr, this->tx_eth_hdr + ETH_ALEN,
this              113 net/caif/caif_usb.c 			this->tx_eth_hdr[12], this->tx_eth_hdr[13]);
this              115 net/caif/caif_usb.c 	return (struct cflayer *) this;
this               74 net/caif/cfcnfg.c 	struct cfcnfg *this;
this               80 net/caif/cfcnfg.c 	this = kzalloc(sizeof(struct cfcnfg), GFP_ATOMIC);
this               81 net/caif/cfcnfg.c 	if (!this)
this               83 net/caif/cfcnfg.c 	this->mux = cfmuxl_create();
this               84 net/caif/cfcnfg.c 	if (!this->mux)
this               86 net/caif/cfcnfg.c 	this->ctrl = cfctrl_create();
this               87 net/caif/cfcnfg.c 	if (!this->ctrl)
this               90 net/caif/cfcnfg.c 	resp = cfctrl_get_respfuncs(this->ctrl);
this              100 net/caif/cfcnfg.c 	INIT_LIST_HEAD(&this->phys);
this              102 net/caif/cfcnfg.c 	cfmuxl_set_uplayer(this->mux, this->ctrl, 0);
this              103 net/caif/cfcnfg.c 	layer_set_dn(this->ctrl, this->mux);
this              104 net/caif/cfcnfg.c 	layer_set_up(this->ctrl, this);
this              105 net/caif/cfcnfg.c 	mutex_init(&this->lock);
this              107 net/caif/cfcnfg.c 	return this;
this              111 net/caif/cfcnfg.c 	kfree(this->mux);
this              112 net/caif/cfcnfg.c 	kfree(this->ctrl);
this              113 net/caif/cfcnfg.c 	kfree(this);
this               38 net/caif/cfctrl.c 	struct cfctrl *this =
this               40 net/caif/cfctrl.c 	if (!this)
this               45 net/caif/cfctrl.c 	cfsrvl_init(&this->serv, 0, &dev_info, false);
this               46 net/caif/cfctrl.c 	atomic_set(&this->req_seq_no, 1);
this               47 net/caif/cfctrl.c 	atomic_set(&this->rsp_seq_no, 1);
this               48 net/caif/cfctrl.c 	this->serv.layer.receive = cfctrl_recv;
this               49 net/caif/cfctrl.c 	sprintf(this->serv.layer.name, "ctrl");
this               50 net/caif/cfctrl.c 	this->serv.layer.ctrlcmd = cfctrl_ctrlcmd;
this               52 net/caif/cfctrl.c 	spin_lock_init(&this->loop_linkid_lock);
this               53 net/caif/cfctrl.c 	this->loop_linkid = 1;
this               55 net/caif/cfctrl.c 	spin_lock_init(&this->info_list_lock);
this               56 net/caif/cfctrl.c 	INIT_LIST_HEAD(&this->list);
this               57 net/caif/cfctrl.c 	return &this->serv.layer;
this              165 net/caif/cfctrl.c 	struct cfctrl *this = container_obj(layer);
this              166 net/caif/cfctrl.c 	return &this->res;
this              554 net/caif/cfctrl.c 	struct cfctrl *this = container_obj(layr);
this              558 net/caif/cfctrl.c 		spin_lock_bh(&this->info_list_lock);
this              559 net/caif/cfctrl.c 		if (!list_empty(&this->list))
this              561 net/caif/cfctrl.c 		spin_unlock_bh(&this->info_list_lock);
this              567 net/caif/cfctrl.c 		spin_lock_bh(&this->info_list_lock);
this              568 net/caif/cfctrl.c 		list_for_each_entry_safe(p, tmp, &this->list, list) {
this              577 net/caif/cfctrl.c 		spin_unlock_bh(&this->info_list_lock);
this               37 net/caif/cffrml.c 	struct cffrml *this = kzalloc(sizeof(struct cffrml), GFP_ATOMIC);
this               38 net/caif/cffrml.c 	if (!this)
this               40 net/caif/cffrml.c 	this->pcpu_refcnt = alloc_percpu(int);
this               41 net/caif/cffrml.c 	if (this->pcpu_refcnt == NULL) {
this               42 net/caif/cffrml.c 		kfree(this);
this               48 net/caif/cffrml.c 	this->layer.receive = cffrml_receive;
this               49 net/caif/cffrml.c 	this->layer.transmit = cffrml_transmit;
this               50 net/caif/cffrml.c 	this->layer.ctrlcmd = cffrml_ctrlcmd;
this               51 net/caif/cffrml.c 	snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "frm%d", phyid);
this               52 net/caif/cffrml.c 	this->dofcs = use_fcs;
this               53 net/caif/cffrml.c 	this->layer.id = phyid;
this               54 net/caif/cffrml.c 	return (struct cflayer *) this;
this               59 net/caif/cffrml.c 	struct cffrml *this = container_obj(layer);
this               60 net/caif/cffrml.c 	free_percpu(this->pcpu_refcnt);
this               64 net/caif/cffrml.c void cffrml_set_uplayer(struct cflayer *this, struct cflayer *up)
this               66 net/caif/cffrml.c 	this->up = up;
this               69 net/caif/cffrml.c void cffrml_set_dnlayer(struct cflayer *this, struct cflayer *dn)
this               71 net/caif/cffrml.c 	this->dn = dn;
this               88 net/caif/cffrml.c 	struct cffrml *this;
this               89 net/caif/cffrml.c 	this = container_obj(layr);
this               95 net/caif/cffrml.c 	if (!this->dofcs)
this              108 net/caif/cffrml.c 	if (this->dofcs) {
this              143 net/caif/cffrml.c 	struct cffrml *this = container_obj(layr);
this              144 net/caif/cffrml.c 	if (this->dofcs) {
this              178 net/caif/cffrml.c 	struct cffrml *this = container_obj(layr);
this              179 net/caif/cffrml.c 	if (layr != NULL && this->pcpu_refcnt != NULL)
this              180 net/caif/cffrml.c 		this_cpu_dec(*this->pcpu_refcnt);
this              185 net/caif/cffrml.c 	struct cffrml *this = container_obj(layr);
this              186 net/caif/cffrml.c 	if (layr != NULL && this->pcpu_refcnt != NULL)
this              187 net/caif/cffrml.c 		this_cpu_inc(*this->pcpu_refcnt);
this              193 net/caif/cffrml.c 	struct cffrml *this = container_obj(layr);
this              195 net/caif/cffrml.c 		refcnt += *per_cpu_ptr(this->pcpu_refcnt, i);
this               50 net/caif/cfmuxl.c 	struct cfmuxl *this = kzalloc(sizeof(struct cfmuxl), GFP_ATOMIC);
this               52 net/caif/cfmuxl.c 	if (!this)
this               54 net/caif/cfmuxl.c 	this->layer.receive = cfmuxl_receive;
this               55 net/caif/cfmuxl.c 	this->layer.transmit = cfmuxl_transmit;
this               56 net/caif/cfmuxl.c 	this->layer.ctrlcmd = cfmuxl_ctrlcmd;
this               57 net/caif/cfmuxl.c 	INIT_LIST_HEAD(&this->srvl_list);
this               58 net/caif/cfmuxl.c 	INIT_LIST_HEAD(&this->frml_list);
this               59 net/caif/cfmuxl.c 	spin_lock_init(&this->transmit_lock);
this               60 net/caif/cfmuxl.c 	spin_lock_init(&this->receive_lock);
this               61 net/caif/cfmuxl.c 	snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "mux");
this               62 net/caif/cfmuxl.c 	return &this->layer;
this               49 net/caif/cfrfml.c 	struct cfrfml *this = kzalloc(sizeof(struct cfrfml), GFP_ATOMIC);
this               51 net/caif/cfrfml.c 	if (!this)
this               54 net/caif/cfrfml.c 	cfsrvl_init(&this->serv, channel_id, dev_info, false);
this               55 net/caif/cfrfml.c 	this->serv.release = cfrfml_release;
this               56 net/caif/cfrfml.c 	this->serv.layer.receive = cfrfml_receive;
this               57 net/caif/cfrfml.c 	this->serv.layer.transmit = cfrfml_transmit;
this               63 net/caif/cfrfml.c 	this->fragment_size = tmp;
this               64 net/caif/cfrfml.c 	spin_lock_init(&this->sync);
this               65 net/caif/cfrfml.c 	snprintf(this->serv.layer.name, CAIF_LAYER_NAME_SZ,
this               68 net/caif/cfrfml.c 	return &this->serv.layer;
this               36 net/caif/cfserl.c 	struct cfserl *this = kzalloc(sizeof(struct cfserl), GFP_ATOMIC);
this               37 net/caif/cfserl.c 	if (!this)
this               40 net/caif/cfserl.c 	this->layer.receive = cfserl_receive;
this               41 net/caif/cfserl.c 	this->layer.transmit = cfserl_transmit;
this               42 net/caif/cfserl.c 	this->layer.ctrlcmd = cfserl_ctrlcmd;
this               43 net/caif/cfserl.c 	this->usestx = use_stx;
this               44 net/caif/cfserl.c 	spin_lock_init(&this->sync);
this               45 net/caif/cfserl.c 	snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "ser1");
this               46 net/caif/cfserl.c 	return &this->layer;
this              186 net/core/failover.c failover_event(struct notifier_block *this, unsigned long event, void *ptr)
this             1190 net/core/fib_rules.c static int fib_rules_event(struct notifier_block *this, unsigned long event,
this             5287 net/core/rtnetlink.c static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr)
this             2079 net/decnet/af_decnet.c static int dn_device_event(struct notifier_block *this, unsigned long event,
this              675 net/decnet/dn_fib.c static int dn_fib_dnaddr_event(struct notifier_block *this, unsigned long event, void *ptr)
this             1239 net/ipv4/arp.c static int arp_netdev_event(struct notifier_block *this, unsigned long event,
this             1521 net/ipv4/devinet.c static int inetdev_event(struct notifier_block *this, unsigned long event,
this             1421 net/ipv4/fib_frontend.c static int fib_inetaddr_event(struct notifier_block *this, unsigned long event, void *ptr)
this             1452 net/ipv4/fib_frontend.c static int fib_netdev_event(struct notifier_block *this, unsigned long event, void *ptr)
this             3047 net/ipv4/igmp.c static int igmp_netdev_event(struct notifier_block *this,
this             1744 net/ipv4/ipmr.c static int ipmr_device_event(struct notifier_block *this, unsigned long event, void *ptr)
this              188 net/ipv4/netfilter/ipt_CLUSTERIP.c clusterip_netdev_event(struct notifier_block *this, unsigned long event,
this              395 net/ipv4/netfilter/nf_nat_h323.c 			       struct nf_conntrack_expect *this)
this              399 net/ipv4/netfilter/nf_nat_h323.c 	if (this->tuple.src.u3.ip != 0) {	/* Only accept calls from GK */
this              400 net/ipv4/netfilter/nf_nat_h323.c 		nf_nat_follow_master(new, this);
this              410 net/ipv4/netfilter/nf_nat_h323.c 	    new->tuplehash[!this->dir].tuple.src.u3;
this              415 net/ipv4/netfilter/nf_nat_h323.c 	range.min_proto = range.max_proto = this->saved_proto;
this              417 net/ipv4/netfilter/nf_nat_h323.c 	    new->master->tuplehash[!this->dir].tuple.src.u3;
this              497 net/ipv4/netfilter/nf_nat_h323.c 					 struct nf_conntrack_expect *this)
this              507 net/ipv4/netfilter/nf_nat_h323.c 	    new->tuplehash[!this->dir].tuple.src.u3;
this              512 net/ipv4/netfilter/nf_nat_h323.c 	range.min_proto = range.max_proto = this->saved_proto;
this              513 net/ipv4/netfilter/nf_nat_h323.c 	range.min_addr = range.max_addr = this->saved_addr;
this             1783 net/ipv4/nexthop.c static int nh_netdev_event(struct notifier_block *this,
this             3487 net/ipv6/addrconf.c static int addrconf_notify(struct notifier_block *this, unsigned long event,
this             1229 net/ipv6/ip6mr.c static int ip6mr_device_event(struct notifier_block *this,
this             2642 net/ipv6/mcast.c static int ipv6_mc_netdev_event(struct notifier_block *this,
this             1774 net/ipv6/ndisc.c static int ndisc_netdev_event(struct notifier_block *this, unsigned long event, void *ptr)
this             6003 net/ipv6/route.c static int ip6_route_dev_notify(struct notifier_block *this,
this             1889 net/iucv/af_iucv.c 	struct sk_buff *this = NULL;
this             1899 net/iucv/af_iucv.c 			this = list_skb;
this             1903 net/iucv/af_iucv.c 	if (this)
this             1904 net/iucv/af_iucv.c 		__skb_unlink(this, list);
this             1907 net/iucv/af_iucv.c 	if (this) {
this             1908 net/iucv/af_iucv.c 		kfree_skb(this);
this             2346 net/iucv/af_iucv.c static int afiucv_netdev_event(struct notifier_block *this,
this              827 net/iucv/iucv.c static int iucv_reboot_event(struct notifier_block *this,
this             1580 net/mpls/af_mpls.c static int mpls_dev_notify(struct notifier_block *this, unsigned long event,
this             1644 net/netfilter/ipvs/ip_vs_ctl.c static int ip_vs_dst_event(struct notifier_block *this, unsigned long event,
this              446 net/netfilter/nf_conntrack_helper.c 	const struct nf_conntrack_helper *this;
this              451 net/netfilter/nf_conntrack_helper.c 	this = rcu_dereference_protected(help->helper,
this              453 net/netfilter/nf_conntrack_helper.c 	return this == me;
this               75 net/netfilter/nf_nat_masquerade.c static int masq_device_event(struct notifier_block *this,
this              109 net/netfilter/nf_nat_masquerade.c static int masq_inet_event(struct notifier_block *this,
this              231 net/netfilter/nf_nat_masquerade.c static int masq_inet6_event(struct notifier_block *this,
this             6268 net/netfilter/nf_tables_api.c static int nf_tables_flowtable_event(struct notifier_block *this,
this              461 net/netfilter/nf_tables_offload.c static int nft_offload_netdev_event(struct notifier_block *this,
this              818 net/netfilter/nfnetlink_log.c nfulnl_rcv_nl_event(struct notifier_block *this,
this              944 net/netfilter/nfnetlink_queue.c nfqnl_rcv_dev_event(struct notifier_block *this,
this              974 net/netfilter/nfnetlink_queue.c nfqnl_rcv_nl_event(struct notifier_block *this,
this              314 net/netfilter/nft_chain_filter.c static int nf_tables_netdev_event(struct notifier_block *this,
this              237 net/netfilter/nft_flow_offload.c static int flow_offload_netdev_event(struct notifier_block *this,
this               89 net/netfilter/nft_set_bitmap.c nft_bitmap_elem_find(const struct nft_set *set, struct nft_bitmap_elem *this,
this               97 net/netfilter/nft_set_bitmap.c 			   nft_set_ext_key(&this->ext), set->klen) ||
this              197 net/netfilter/nft_set_bitmap.c 	struct nft_bitmap_elem *this = elem->priv, *be;
this              203 net/netfilter/nft_set_bitmap.c 	be = nft_bitmap_elem_find(set, this, genmask);
this              504 net/netfilter/nft_set_hash.c 	struct nft_hash_elem *this = elem->priv, *he;
this              509 net/netfilter/nft_set_hash.c 	hash = nft_jhash(set, priv, &this->ext);
this              511 net/netfilter/nft_set_hash.c 		if (!memcmp(nft_set_ext_key(&this->ext),
this              518 net/netfilter/nft_set_hash.c 	hlist_add_head_rcu(&this->node, &priv->table[hash]);
this              544 net/netfilter/nft_set_hash.c 	struct nft_hash_elem *this = elem->priv, *he;
this              548 net/netfilter/nft_set_hash.c 	hash = nft_jhash(set, priv, &this->ext);
this               41 net/netfilter/nft_set_rbtree.c static bool nft_rbtree_equal(const struct nft_set *set, const void *this,
this               44 net/netfilter/nft_set_rbtree.c 	return memcmp(this, nft_set_ext_key(&interval->ext), set->klen) == 0;
this               55 net/netfilter/nft_set_rbtree.c 	const void *this;
this               65 net/netfilter/nft_set_rbtree.c 		this = nft_set_ext_key(&rbe->ext);
this               66 net/netfilter/nft_set_rbtree.c 		d = memcmp(this, key, set->klen);
this               70 net/netfilter/nft_set_rbtree.c 			    nft_rbtree_equal(set, this, interval) &&
this              136 net/netfilter/nft_set_rbtree.c 	const void *this;
this              146 net/netfilter/nft_set_rbtree.c 		this = nft_set_ext_key(&rbe->ext);
this              147 net/netfilter/nft_set_rbtree.c 		d = memcmp(this, key, set->klen);
this              319 net/netfilter/nft_set_rbtree.c 	struct nft_rbtree_elem *rbe, *this = elem->priv;
this              334 net/netfilter/nft_set_rbtree.c 			    nft_rbtree_interval_start(this)) {
this              338 net/netfilter/nft_set_rbtree.c 				   nft_rbtree_interval_end(this)) {
this               60 net/netfilter/xt_TEE.c static int tee_netdev_event(struct notifier_block *this, unsigned long event,
this              698 net/netlabel/netlabel_unlabeled.c static int netlbl_unlhsh_netdev_handler(struct notifier_block *this,
this               93 net/netrom/af_netrom.c static int nr_device_event(struct notifier_block *this, unsigned long event, void *ptr)
this             1816 net/nfc/netlink.c static int nfc_genl_rcv_nl_event(struct notifier_block *this,
this             4064 net/packet/af_packet.c static int packet_notifier(struct notifier_block *this,
this              118 net/rds/info.c 	unsigned long this;
this              124 net/rds/info.c 		this = min(bytes, PAGE_SIZE - iter->offset);
this              128 net/rds/info.c 			  iter->offset, this, data, bytes);
this              130 net/rds/info.c 		memcpy(iter->addr + iter->offset, data, this);
this              132 net/rds/info.c 		data += this;
this              133 net/rds/info.c 		bytes -= this;
this              134 net/rds/info.c 		iter->offset += this;
this              181 net/rose/af_rose.c static int rose_device_event(struct notifier_block *this,
this              179 net/sched/sch_cbq.c cbq_reclassify(struct sk_buff *skb, struct cbq_class *this)
this              183 net/sched/sch_cbq.c 	for (cl = this->tparent; cl; cl = cl->tparent) {
this              186 net/sched/sch_cbq.c 		if (new != NULL && new != this)
this              315 net/sched/sch_cbq.c static void cbq_deactivate_class(struct cbq_class *this)
this              317 net/sched/sch_cbq.c 	struct cbq_sched_data *q = qdisc_priv(this->qdisc);
this              318 net/sched/sch_cbq.c 	int prio = this->cpriority;
this              324 net/sched/sch_cbq.c 		if (cl == this) {
this              553 net/sched/sch_cbq.c 	struct cbq_class *this = q->tx_class;
this              554 net/sched/sch_cbq.c 	struct cbq_class *cl = this;
this              636 net/sched/sch_cbq.c 	cbq_update_toplevel(q, this, q->tx_borrowed);
this              864 net/sched/sch_cbq.c static void cbq_adjust_levels(struct cbq_class *this)
this              866 net/sched/sch_cbq.c 	if (this == NULL)
this              873 net/sched/sch_cbq.c 		cl = this->children;
this              878 net/sched/sch_cbq.c 			} while ((cl = cl->sibling) != this->children);
this              880 net/sched/sch_cbq.c 		this->level = level + 1;
this              881 net/sched/sch_cbq.c 	} while ((this = this->tparent) != NULL);
this              978 net/sched/sch_cbq.c static void cbq_unlink_class(struct cbq_class *this)
this              981 net/sched/sch_cbq.c 	struct cbq_sched_data *q = qdisc_priv(this->qdisc);
this              983 net/sched/sch_cbq.c 	qdisc_class_hash_remove(&q->clhash, &this->common);
this              985 net/sched/sch_cbq.c 	if (this->tparent) {
this              986 net/sched/sch_cbq.c 		clp = &this->sibling;
this              989 net/sched/sch_cbq.c 			if (cl == this) {
this              994 net/sched/sch_cbq.c 		} while ((cl = *clp) != this->sibling);
this              996 net/sched/sch_cbq.c 		if (this->tparent->children == this) {
this              997 net/sched/sch_cbq.c 			this->tparent->children = this->sibling;
this              998 net/sched/sch_cbq.c 			if (this->sibling == this)
this              999 net/sched/sch_cbq.c 				this->tparent->children = NULL;
this             1002 net/sched/sch_cbq.c 		WARN_ON(this->sibling != this);
this             1006 net/sched/sch_cbq.c static void cbq_link_class(struct cbq_class *this)
this             1008 net/sched/sch_cbq.c 	struct cbq_sched_data *q = qdisc_priv(this->qdisc);
this             1009 net/sched/sch_cbq.c 	struct cbq_class *parent = this->tparent;
this             1011 net/sched/sch_cbq.c 	this->sibling = this;
this             1012 net/sched/sch_cbq.c 	qdisc_class_hash_insert(&q->clhash, &this->common);
this             1018 net/sched/sch_cbq.c 		parent->children = this;
this             1020 net/sched/sch_cbq.c 		this->sibling = parent->children->sibling;
this             1021 net/sched/sch_cbq.c 		parent->children->sibling = this;
this               74 net/sctp/ipv6.c static int sctp_inet6addr_event(struct notifier_block *this, unsigned long ev,
this              769 net/sctp/protocol.c static int sctp_inetaddr_event(struct notifier_block *this, unsigned long ev,
this              652 net/smc/smc_pnet.c static int smc_pnet_netdev_event(struct notifier_block *this,
this             1214 net/tls/tls_device.c static int tls_dev_event(struct notifier_block *this, unsigned long event,
this              221 net/x25/af_x25.c static int x25_device_event(struct notifier_block *this, unsigned long event,
this             1007 net/xdp/xsk.c  static int xsk_notifier(struct notifier_block *this,
this              379 net/xfrm/xfrm_device.c static int xfrm_dev_event(struct notifier_block *this, unsigned long event, void *ptr)
this               86 scripts/kconfig/qconf.h 		return this;
this              160 scripts/kconfig/qconf.h 			ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1);
this              163 scripts/kconfig/qconf.h 			ret = (ConfigItem *)_treeWidget->topLevelItem(_treeWidget->indexOfTopLevelItem(this)+1);
this              649 security/apparmor/label.c 		struct aa_label *this = rb_entry(*new, struct aa_label, node);
this              650 security/apparmor/label.c 		int result = label_cmp(label, this);
this              659 security/apparmor/label.c 			if (!replace && !label_is_stale(this)) {
this              660 security/apparmor/label.c 				if (__aa_get_label(this))
this              661 security/apparmor/label.c 					return this;
this              663 security/apparmor/label.c 				__proxy_share(this, label);
this              664 security/apparmor/label.c 			AA_BUG(!__label_replace(this, label));
this              702 security/apparmor/label.c 		struct aa_label *this = rb_entry(node, struct aa_label, node);
this              703 security/apparmor/label.c 		int result = vec_cmp(this->vec, this->size, vec, n);
this              710 security/apparmor/label.c 			return __aa_get_label(this);
this             1127 security/apparmor/label.c 		struct aa_label *this = container_of(node, struct aa_label,
this             1129 security/apparmor/label.c 		int result = label_merge_cmp(a, b, this);
this             1136 security/apparmor/label.c 			return __aa_get_label(this);
this             1961 security/apparmor/label.c 		struct aa_label *this = rb_entry(node, struct aa_label, node);
this             1963 security/apparmor/label.c 		if (labels_ns(this) != root_ns)
this             1964 security/apparmor/label.c 			__label_remove(this,
this             1965 security/apparmor/label.c 				       ns_unconfined(labels_ns(this)->parent));
this             1967 security/apparmor/label.c 			__label_remove(this, NULL);
this              517 security/device_cgroup.c 	struct list_head *this, *tmp;
this              519 security/device_cgroup.c 	list_for_each_safe(this, tmp, &devcg->exceptions) {
this              520 security/device_cgroup.c 		ex = container_of(this, struct dev_exception_item, list);
this              250 security/selinux/netif.c static int sel_netif_netdev_notifier_handler(struct notifier_block *this,
this              620 sound/soc/sh/rcar/dma.c static void rsnd_dma_of_path(struct rsnd_mod *this,
this              633 sound/soc/sh/rcar/dma.c 	struct rsnd_priv *priv = rsnd_mod_to_priv(this);
this              652 sound/soc/sh/rcar/dma.c 		if (this == rsnd_io_to_mod_ssi(io))
this              653 sound/soc/sh/rcar/dma.c 			this = ssiu;
this              711 sound/soc/sh/rcar/dma.c 	if ((this == ssi) == (is_play)) {
this              719 sound/soc/sh/rcar/dma.c 	dev_dbg(dev, "module connection (this is %s)\n", rsnd_mod_name(this));
this               37 sound/usb/line6/midibuf.c static int midibuf_is_empty(struct midi_buffer *this)
this               39 sound/usb/line6/midibuf.c 	return (this->pos_read == this->pos_write) && !this->full;
this               42 sound/usb/line6/midibuf.c static int midibuf_is_full(struct midi_buffer *this)
this               44 sound/usb/line6/midibuf.c 	return this->full;
this               47 sound/usb/line6/midibuf.c void line6_midibuf_reset(struct midi_buffer *this)
this               49 sound/usb/line6/midibuf.c 	this->pos_read = this->pos_write = this->full = 0;
this               50 sound/usb/line6/midibuf.c 	this->command_prev = -1;
this               53 sound/usb/line6/midibuf.c int line6_midibuf_init(struct midi_buffer *this, int size, int split)
this               55 sound/usb/line6/midibuf.c 	this->buf = kmalloc(size, GFP_KERNEL);
this               57 sound/usb/line6/midibuf.c 	if (this->buf == NULL)
this               60 sound/usb/line6/midibuf.c 	this->size = size;
this               61 sound/usb/line6/midibuf.c 	this->split = split;
this               62 sound/usb/line6/midibuf.c 	line6_midibuf_reset(this);
this               66 sound/usb/line6/midibuf.c int line6_midibuf_bytes_free(struct midi_buffer *this)
this               69 sound/usb/line6/midibuf.c 	    midibuf_is_full(this) ?
this               71 sound/usb/line6/midibuf.c 	    (this->pos_read - this->pos_write + this->size - 1) % this->size +
this               75 sound/usb/line6/midibuf.c int line6_midibuf_bytes_used(struct midi_buffer *this)
this               78 sound/usb/line6/midibuf.c 	    midibuf_is_empty(this) ?
this               80 sound/usb/line6/midibuf.c 	    (this->pos_write - this->pos_read + this->size - 1) % this->size +
this               84 sound/usb/line6/midibuf.c int line6_midibuf_write(struct midi_buffer *this, unsigned char *data,
this               91 sound/usb/line6/midibuf.c 	if (midibuf_is_full(this) || (length <= 0))
this              100 sound/usb/line6/midibuf.c 	bytes_free = line6_midibuf_bytes_free(this);
this              106 sound/usb/line6/midibuf.c 		length1 = this->size - this->pos_write;
this              110 sound/usb/line6/midibuf.c 			memcpy(this->buf + this->pos_write, data, length);
this              111 sound/usb/line6/midibuf.c 			this->pos_write += length;
this              115 sound/usb/line6/midibuf.c 			memcpy(this->buf + this->pos_write, data, length1);
this              116 sound/usb/line6/midibuf.c 			memcpy(this->buf, data + length1, length2);
this              117 sound/usb/line6/midibuf.c 			this->pos_write = length2;
this              120 sound/usb/line6/midibuf.c 		if (this->pos_write == this->pos_read)
this              121 sound/usb/line6/midibuf.c 			this->full = 1;
this              127 sound/usb/line6/midibuf.c int line6_midibuf_read(struct midi_buffer *this, unsigned char *data,
this              141 sound/usb/line6/midibuf.c 	if (midibuf_is_empty(this))
this              144 sound/usb/line6/midibuf.c 	bytes_used = line6_midibuf_bytes_used(this);
this              149 sound/usb/line6/midibuf.c 	length1 = this->size - this->pos_read;
this              152 sound/usb/line6/midibuf.c 	command = this->buf[this->pos_read];
this              156 sound/usb/line6/midibuf.c 		this->command_prev = command;
this              158 sound/usb/line6/midibuf.c 		if (this->command_prev > 0) {
this              160 sound/usb/line6/midibuf.c 			    midibuf_message_length(this->command_prev);
this              176 sound/usb/line6/midibuf.c 				if (this->buf[this->pos_read + i] & 0x80)
this              185 sound/usb/line6/midibuf.c 				if (this->buf[this->pos_read + i] & 0x80)
this              192 sound/usb/line6/midibuf.c 					if (this->buf[i] & 0x80)
this              204 sound/usb/line6/midibuf.c 		if (!this->split)
this              215 sound/usb/line6/midibuf.c 		memcpy(data + repeat, this->buf + this->pos_read, length);
this              216 sound/usb/line6/midibuf.c 		this->pos_read += length;
this              220 sound/usb/line6/midibuf.c 		memcpy(data + repeat, this->buf + this->pos_read, length1);
this              221 sound/usb/line6/midibuf.c 		memcpy(data + repeat + length1, this->buf, length2);
this              222 sound/usb/line6/midibuf.c 		this->pos_read = length2;
this              226 sound/usb/line6/midibuf.c 		data[0] = this->command_prev;
this              228 sound/usb/line6/midibuf.c 	this->full = 0;
this              232 sound/usb/line6/midibuf.c int line6_midibuf_ignore(struct midi_buffer *this, int length)
this              234 sound/usb/line6/midibuf.c 	int bytes_used = line6_midibuf_bytes_used(this);
this              239 sound/usb/line6/midibuf.c 	this->pos_read = (this->pos_read + length) % this->size;
this              240 sound/usb/line6/midibuf.c 	this->full = 0;
this              244 sound/usb/line6/midibuf.c void line6_midibuf_destroy(struct midi_buffer *this)
this              246 sound/usb/line6/midibuf.c 	kfree(this->buf);
this              247 sound/usb/line6/midibuf.c 	this->buf = NULL;
this               43 sound/usb/usx2y/usbusx2yaudio.c 					   this #define out, and thereby produce smaller, faster code.
this              798 tools/perf/builtin-kmem.c 	struct page_stat this = {
this              828 tools/perf/builtin-kmem.c 	this.page = page;
this              829 tools/perf/builtin-kmem.c 	pstat = page_stat__findnew_page(&this);
this              838 tools/perf/builtin-kmem.c 		pstat = page_stat__findnew_alloc(&this);
this              847 tools/perf/builtin-kmem.c 	this.callsite = callsite;
this              848 tools/perf/builtin-kmem.c 	pstat = page_stat__findnew_caller(&this);
this              867 tools/perf/builtin-kmem.c 	struct page_stat this = {
this              879 tools/perf/builtin-kmem.c 	this.page = page;
this              880 tools/perf/builtin-kmem.c 	pstat = page_stat__find_page(&this);
this              891 tools/perf/builtin-kmem.c 	this.gfp_flags = pstat->gfp_flags;
this              892 tools/perf/builtin-kmem.c 	this.migrate_type = pstat->migrate_type;
this              893 tools/perf/builtin-kmem.c 	this.callsite = pstat->callsite;
this              899 tools/perf/builtin-kmem.c 		order_stats[this.order][this.migrate_type]--;
this              901 tools/perf/builtin-kmem.c 		pstat = page_stat__find_alloc(&this);
this              909 tools/perf/builtin-kmem.c 	pstat = page_stat__find_caller(&this);
this             1261 tools/perf/builtin-kmem.c 		struct alloc_stat *this;
this             1264 tools/perf/builtin-kmem.c 		this = rb_entry(*new, struct alloc_stat, node);
this             1268 tools/perf/builtin-kmem.c 			cmp = sort->cmp(data, this);
this             1308 tools/perf/builtin-kmem.c 		struct page_stat *this;
this             1311 tools/perf/builtin-kmem.c 		this = rb_entry(*new, struct page_stat, node);
this             1315 tools/perf/builtin-kmem.c 			cmp = sort->cmp(data, this);
this              993 tools/perf/builtin-sched.c 		struct work_atoms *this;
this              996 tools/perf/builtin-sched.c 		this = container_of(*new, struct work_atoms, node);
this              999 tools/perf/builtin-sched.c 		cmp = thread_lat_cmp(sort_list, data, this);
this             3086 tools/perf/builtin-sched.c 	struct work_atoms *this;
this             3093 tools/perf/builtin-sched.c 		this = container_of(*new, struct work_atoms, node);
this             3096 tools/perf/builtin-sched.c 		this_comm = thread__comm_str(this->thread);
this             3104 tools/perf/builtin-sched.c 			this->num_merged++;
this             3105 tools/perf/builtin-sched.c 			this->total_runtime += data->total_runtime;
this             3106 tools/perf/builtin-sched.c 			this->nb_atoms += data->nb_atoms;
this             3107 tools/perf/builtin-sched.c 			this->total_lat += data->total_lat;
this             3108 tools/perf/builtin-sched.c 			list_splice(&data->work_list, &this->work_list);
this             3109 tools/perf/builtin-sched.c 			if (this->max_lat < data->max_lat) {
this             3110 tools/perf/builtin-sched.c 				this->max_lat = data->max_lat;
this             3111 tools/perf/builtin-sched.c 				this->max_lat_at = data->max_lat_at;
this               53 tools/perf/util/dsos.c 		struct dso *this = rb_entry(*p, struct dso, rb_node);
this               54 tools/perf/util/dsos.c 		int rc = strcmp(name, this->long_name);
this               63 tools/perf/util/dsos.c 			if (!dso || (dso == this))
this               64 tools/perf/util/dsos.c 				return this;	/* Find matching dso */
this               70 tools/perf/util/dsos.c 			rc = strcmp(dso->short_name, this->short_name);
this               65 virt/kvm/coalesced_mmio.c 				struct kvm_io_device *this, gpa_t addr,
this               68 virt/kvm/coalesced_mmio.c 	struct kvm_coalesced_mmio_dev *dev = to_mmio(this);
this               96 virt/kvm/coalesced_mmio.c static void coalesced_mmio_destructor(struct kvm_io_device *this)
this               98 virt/kvm/coalesced_mmio.c 	struct kvm_coalesced_mmio_dev *dev = to_mmio(this);
this              729 virt/kvm/eventfd.c ioeventfd_write(struct kvm_vcpu *vcpu, struct kvm_io_device *this, gpa_t addr,
this              732 virt/kvm/eventfd.c 	struct _ioeventfd *p = to_ioeventfd(this);
this              746 virt/kvm/eventfd.c ioeventfd_destructor(struct kvm_io_device *this)
this              748 virt/kvm/eventfd.c 	struct _ioeventfd *p = to_ioeventfd(this);