Searched refs:gpmc_nand_data (Results 1 – 2 of 2) sorted by relevance
/arch/arm/mach-omap2/ |
D | gpmc-nand.c | 60 static void gpmc_set_legacy(struct omap_nand_platform_data *gpmc_nand_data, in gpmc_set_legacy() argument 64 if (gpmc_nand_data->dev_ready) { in gpmc_set_legacy() 69 if (gpmc_nand_data->devsize == NAND_BUSWIDTH_16) in gpmc_set_legacy() 75 int gpmc_nand_init(struct omap_nand_platform_data *gpmc_nand_data, in gpmc_nand_init() argument 87 BUG_ON(gpmc_nand_data->cs >= GPMC_CS_NUM); in gpmc_nand_init() 89 err = gpmc_cs_request(gpmc_nand_data->cs, NAND_IO_SIZE, in gpmc_nand_init() 93 gpmc_nand_data->cs, err); in gpmc_nand_init() 101 err = gpmc_cs_set_timings(gpmc_nand_data->cs, gpmc_t); in gpmc_nand_init() 109 if (gpmc_nand_data->of_node) in gpmc_nand_init() 110 gpmc_read_settings_dt(gpmc_nand_data->of_node, &s); in gpmc_nand_init() [all …]
|
D | gpmc.c | 663 reg->gpmc_nand_data = gpmc_base + GPMC_CS0_OFFSET + in gpmc_update_nand_reg() 1376 struct omap_nand_platform_data *gpmc_nand_data; in gpmc_probe_nand_child() local 1384 gpmc_nand_data = devm_kzalloc(&pdev->dev, sizeof(*gpmc_nand_data), in gpmc_probe_nand_child() 1386 if (!gpmc_nand_data) in gpmc_probe_nand_child() 1389 gpmc_nand_data->cs = val; in gpmc_probe_nand_child() 1390 gpmc_nand_data->of_node = child; in gpmc_probe_nand_child() 1393 gpmc_nand_data->elm_of_node = of_parse_phandle(child, "ti,elm-id", 0); in gpmc_probe_nand_child() 1394 if (gpmc_nand_data->elm_of_node == NULL) in gpmc_probe_nand_child() 1395 gpmc_nand_data->elm_of_node = in gpmc_probe_nand_child() 1397 if (gpmc_nand_data->elm_of_node == NULL) in gpmc_probe_nand_child() [all …]
|