Searched refs:sharpsl (Results 1 - 10 of 10) sorted by relevance
/linux-4.4.14/drivers/mtd/nand/ |
H A D | sharpsl.c | 2 * drivers/mtd/nand/sharpsl.c 23 #include <linux/mtd/sharpsl.h> 68 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(mtd); sharpsl_nand_hwcontrol() local 78 writeb((readb(sharpsl->io + FLASHCTL) & ~0x17) | bits, sharpsl->io + FLASHCTL); sharpsl_nand_hwcontrol() 87 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(mtd); sharpsl_nand_dev_ready() local 88 return !((readb(sharpsl->io + FLASHCTL) & FLRYBY) == 0); sharpsl_nand_dev_ready() 93 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(mtd); sharpsl_nand_enable_hwecc() local 94 writeb(0, sharpsl->io + ECCCLRR); sharpsl_nand_enable_hwecc() 99 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(mtd); sharpsl_nand_calculate_ecc() local 100 ecc_code[0] = ~readb(sharpsl->io + ECCLPUB); sharpsl_nand_calculate_ecc() 101 ecc_code[1] = ~readb(sharpsl->io + ECCLPLB); sharpsl_nand_calculate_ecc() 102 ecc_code[2] = (~readb(sharpsl->io + ECCCP) << 2) | 0x03; sharpsl_nand_calculate_ecc() 103 return readb(sharpsl->io + ECCCNTR) != 0; sharpsl_nand_calculate_ecc() 114 struct sharpsl_nand *sharpsl; sharpsl_nand_probe() local 123 sharpsl = kzalloc(sizeof(struct sharpsl_nand), GFP_KERNEL); sharpsl_nand_probe() 124 if (!sharpsl) sharpsl_nand_probe() 135 sharpsl->io = ioremap(r->start, resource_size(r)); sharpsl_nand_probe() 136 if (!sharpsl->io) { sharpsl_nand_probe() 143 this = (struct nand_chip *)(&sharpsl->chip); sharpsl_nand_probe() 146 sharpsl->mtd.priv = this; sharpsl_nand_probe() 147 sharpsl->mtd.dev.parent = &pdev->dev; sharpsl_nand_probe() 149 platform_set_drvdata(pdev, sharpsl); sharpsl_nand_probe() 154 writeb(readb(sharpsl->io + FLASHCTL) | FLWP, sharpsl->io + FLASHCTL); sharpsl_nand_probe() 157 this->IO_ADDR_R = sharpsl->io + FLASHIO; sharpsl_nand_probe() 158 this->IO_ADDR_W = sharpsl->io + FLASHIO; sharpsl_nand_probe() 176 err = nand_scan(&sharpsl->mtd, 1); sharpsl_nand_probe() 181 sharpsl->mtd.name = "sharpsl-nand"; sharpsl_nand_probe() 183 err = mtd_device_parse_register(&sharpsl->mtd, NULL, NULL, sharpsl_nand_probe() 192 nand_release(&sharpsl->mtd); sharpsl_nand_probe() 195 iounmap(sharpsl->io); sharpsl_nand_probe() 198 kfree(sharpsl); sharpsl_nand_probe() 207 struct sharpsl_nand *sharpsl = platform_get_drvdata(pdev); sharpsl_nand_remove() local 210 nand_release(&sharpsl->mtd); sharpsl_nand_remove() 212 iounmap(sharpsl->io); sharpsl_nand_remove() 215 kfree(sharpsl); sharpsl_nand_remove() 222 .name = "sharpsl-nand",
|
H A D | Makefile | 23 obj-$(CONFIG_MTD_NAND_SHARPSL) += sharpsl.o
|
/linux-4.4.14/arch/arm/mach-pxa/ |
H A D | poodle.c | 32 #include <linux/mtd/sharpsl.h> 378 .name = "sharpsl-nand",
|
H A D | corgi.c | 34 #include <linux/mtd/sharpsl.h> 455 .default_trigger = "sharpsl-charge", 650 .name = "sharpsl-nand",
|
H A D | corgi_pm.c | 209 corgipm_device = platform_device_alloc("sharpsl-pm", -1); corgipm_init()
|
H A D | spitz_pm.c | 243 spitzpm_device = platform_device_alloc("sharpsl-pm", -1); spitzpm_init()
|
H A D | spitz.c | 28 #include <linux/mtd/sharpsl.h> 462 .default_trigger = "sharpsl-charge", spitz_keys_init() 791 .name = "sharpsl-nand",
|
H A D | sharpsl_pm.c | 848 led_trigger_register_simple("sharpsl-charge", &sharpsl_charge_led_trigger); sharpsl_pm_probe() 938 .name = "sharpsl-pm",
|
/linux-4.4.14/arch/arm/boot/compressed/ |
H A D | Makefile | 43 OBJS += head-sharpsl.o
|
H A D | head-sharpsl.S | 2 * linux/arch/arm/boot/compressed/head-sharpsl.S
|
Completed in 223 milliseconds