gpmc              867 drivers/memory/omap-gpmc.c 	struct gpmc_cs_data *gpmc = &gpmc_cs[cs];
gpmc              869 drivers/memory/omap-gpmc.c 	gpmc->flags |= GPMC_CS_RESERVED;
gpmc              874 drivers/memory/omap-gpmc.c 	struct gpmc_cs_data *gpmc = &gpmc_cs[cs];
gpmc              876 drivers/memory/omap-gpmc.c 	return gpmc->flags & GPMC_CS_RESERVED;
gpmc              881 drivers/memory/omap-gpmc.c 	struct gpmc_cs_data *gpmc = &gpmc_cs[cs];
gpmc              883 drivers/memory/omap-gpmc.c 	gpmc->name = name;
gpmc              888 drivers/memory/omap-gpmc.c 	struct gpmc_cs_data *gpmc = &gpmc_cs[cs];
gpmc              890 drivers/memory/omap-gpmc.c 	return gpmc->name;
gpmc              909 drivers/memory/omap-gpmc.c 	struct gpmc_cs_data *gpmc = &gpmc_cs[cs];
gpmc              910 drivers/memory/omap-gpmc.c 	struct resource *res = &gpmc->mem;
gpmc              925 drivers/memory/omap-gpmc.c 	struct gpmc_cs_data *gpmc = &gpmc_cs[cs];
gpmc              926 drivers/memory/omap-gpmc.c 	struct resource *res = &gpmc->mem;
gpmc              983 drivers/memory/omap-gpmc.c 	struct gpmc_cs_data *gpmc = &gpmc_cs[cs];
gpmc              984 drivers/memory/omap-gpmc.c 	struct resource *res = &gpmc->mem;
gpmc             1029 drivers/memory/omap-gpmc.c 	struct gpmc_cs_data *gpmc = &gpmc_cs[cs];
gpmc             1030 drivers/memory/omap-gpmc.c 	struct resource *res = &gpmc->mem;
gpmc             1350 drivers/memory/omap-gpmc.c 	struct gpmc_device *gpmc = d->host_data;
gpmc             1352 drivers/memory/omap-gpmc.c 	irq_set_chip_data(virq, gpmc);
gpmc             1355 drivers/memory/omap-gpmc.c 		irq_set_chip_and_handler(virq, &gpmc->irq_chip,
gpmc             1358 drivers/memory/omap-gpmc.c 		irq_set_chip_and_handler(virq, &gpmc->irq_chip,
gpmc             1374 drivers/memory/omap-gpmc.c 	struct gpmc_device *gpmc = data;
gpmc             1382 drivers/memory/omap-gpmc.c 	for (hwirq = 0; hwirq < gpmc->nirqs; hwirq++) {
gpmc             1390 drivers/memory/omap-gpmc.c 				dev_warn(gpmc->dev,
gpmc             1404 drivers/memory/omap-gpmc.c static int gpmc_setup_irq(struct gpmc_device *gpmc)
gpmc             1416 drivers/memory/omap-gpmc.c 	gpmc->irq_chip.name = "gpmc";
gpmc             1417 drivers/memory/omap-gpmc.c 	gpmc->irq_chip.irq_enable = gpmc_irq_enable;
gpmc             1418 drivers/memory/omap-gpmc.c 	gpmc->irq_chip.irq_disable = gpmc_irq_disable;
gpmc             1419 drivers/memory/omap-gpmc.c 	gpmc->irq_chip.irq_ack = gpmc_irq_ack;
gpmc             1420 drivers/memory/omap-gpmc.c 	gpmc->irq_chip.irq_mask = gpmc_irq_mask;
gpmc             1421 drivers/memory/omap-gpmc.c 	gpmc->irq_chip.irq_unmask = gpmc_irq_unmask;
gpmc             1422 drivers/memory/omap-gpmc.c 	gpmc->irq_chip.irq_set_type = gpmc_irq_set_type;
gpmc             1424 drivers/memory/omap-gpmc.c 	gpmc_irq_domain = irq_domain_add_linear(gpmc->dev->of_node,
gpmc             1425 drivers/memory/omap-gpmc.c 						gpmc->nirqs,
gpmc             1427 drivers/memory/omap-gpmc.c 						gpmc);
gpmc             1429 drivers/memory/omap-gpmc.c 		dev_err(gpmc->dev, "IRQ domain add failed\n");
gpmc             1433 drivers/memory/omap-gpmc.c 	rc = request_irq(gpmc->irq, gpmc_handle_irq, 0, "gpmc", gpmc);
gpmc             1435 drivers/memory/omap-gpmc.c 		dev_err(gpmc->dev, "failed to request irq %d: %d\n",
gpmc             1436 drivers/memory/omap-gpmc.c 			gpmc->irq, rc);
gpmc             1444 drivers/memory/omap-gpmc.c static int gpmc_free_irq(struct gpmc_device *gpmc)
gpmc             1448 drivers/memory/omap-gpmc.c 	free_irq(gpmc->irq, gpmc);
gpmc             1450 drivers/memory/omap-gpmc.c 	for (hwirq = 0; hwirq < gpmc->nirqs; hwirq++)
gpmc             2042 drivers/memory/omap-gpmc.c 	struct gpmc_device *gpmc = platform_get_drvdata(pdev);
gpmc             2171 drivers/memory/omap-gpmc.c 		waitpin_desc = gpiochip_request_own_desc(&gpmc->gpio_chip,
gpmc             2320 drivers/memory/omap-gpmc.c static int gpmc_gpio_init(struct gpmc_device *gpmc)
gpmc             2324 drivers/memory/omap-gpmc.c 	gpmc->gpio_chip.parent = gpmc->dev;
gpmc             2325 drivers/memory/omap-gpmc.c 	gpmc->gpio_chip.owner = THIS_MODULE;
gpmc             2326 drivers/memory/omap-gpmc.c 	gpmc->gpio_chip.label = DEVICE_NAME;
gpmc             2327 drivers/memory/omap-gpmc.c 	gpmc->gpio_chip.ngpio = gpmc_nr_waitpins;
gpmc             2328 drivers/memory/omap-gpmc.c 	gpmc->gpio_chip.get_direction = gpmc_gpio_get_direction;
gpmc             2329 drivers/memory/omap-gpmc.c 	gpmc->gpio_chip.direction_input = gpmc_gpio_direction_input;
gpmc             2330 drivers/memory/omap-gpmc.c 	gpmc->gpio_chip.direction_output = gpmc_gpio_direction_output;
gpmc             2331 drivers/memory/omap-gpmc.c 	gpmc->gpio_chip.set = gpmc_gpio_set;
gpmc             2332 drivers/memory/omap-gpmc.c 	gpmc->gpio_chip.get = gpmc_gpio_get;
gpmc             2333 drivers/memory/omap-gpmc.c 	gpmc->gpio_chip.base = -1;
gpmc             2335 drivers/memory/omap-gpmc.c 	ret = devm_gpiochip_add_data(gpmc->dev, &gpmc->gpio_chip, NULL);
gpmc             2337 drivers/memory/omap-gpmc.c 		dev_err(gpmc->dev, "could not register gpio chip: %d\n", ret);
gpmc             2349 drivers/memory/omap-gpmc.c 	struct gpmc_device *gpmc;
gpmc             2351 drivers/memory/omap-gpmc.c 	gpmc = devm_kzalloc(&pdev->dev, sizeof(*gpmc), GFP_KERNEL);
gpmc             2352 drivers/memory/omap-gpmc.c 	if (!gpmc)
gpmc             2355 drivers/memory/omap-gpmc.c 	gpmc->dev = &pdev->dev;
gpmc             2356 drivers/memory/omap-gpmc.c 	platform_set_drvdata(pdev, gpmc);
gpmc             2375 drivers/memory/omap-gpmc.c 	gpmc->irq = res->start;
gpmc             2418 drivers/memory/omap-gpmc.c 	dev_info(gpmc->dev, "GPMC revision %d.%d\n", GPMC_REVISION_MAJOR(l),
gpmc             2422 drivers/memory/omap-gpmc.c 	rc = gpmc_gpio_init(gpmc);
gpmc             2426 drivers/memory/omap-gpmc.c 	gpmc->nirqs = GPMC_NR_NAND_IRQS + gpmc_nr_waitpins;
gpmc             2427 drivers/memory/omap-gpmc.c 	rc = gpmc_setup_irq(gpmc);
gpmc             2429 drivers/memory/omap-gpmc.c 		dev_err(gpmc->dev, "gpmc_setup_irq failed\n");
gpmc             2447 drivers/memory/omap-gpmc.c 	struct gpmc_device *gpmc = platform_get_drvdata(pdev);
gpmc             2449 drivers/memory/omap-gpmc.c 	gpmc_free_irq(gpmc);