Lines Matching refs:gpmc_s
1277 struct gpmc_settings gpmc_s; in gpmc_omap_onenand_set_timings() local
1279 gpmc_read_settings_dt(dev->of_node, &gpmc_s); in gpmc_omap_onenand_set_timings()
1281 info->sync_read = gpmc_s.sync_read; in gpmc_omap_onenand_set_timings()
1282 info->sync_write = gpmc_s.sync_write; in gpmc_omap_onenand_set_timings()
1283 info->burst_len = gpmc_s.burst_len; in gpmc_omap_onenand_set_timings()
1285 if (!gpmc_s.sync_read && !gpmc_s.sync_write) in gpmc_omap_onenand_set_timings()
1288 gpmc_omap_onenand_calc_sync_timings(&gpmc_t, &gpmc_s, freq, latency); in gpmc_omap_onenand_set_timings()
1290 ret = gpmc_cs_program_settings(cs, &gpmc_s); in gpmc_omap_onenand_set_timings()
1294 return gpmc_cs_set_timings(cs, &gpmc_t, &gpmc_s); in gpmc_omap_onenand_set_timings()
1841 struct gpmc_settings *gpmc_s, in gpmc_calc_timings() argument
1846 if (gpmc_s) { in gpmc_calc_timings()
1847 mux = gpmc_s->mux_add_data ? true : false; in gpmc_calc_timings()
1848 sync = (gpmc_s->sync_read || gpmc_s->sync_write); in gpmc_calc_timings()
1855 if (gpmc_s && gpmc_s->sync_read) in gpmc_calc_timings()
1860 if (gpmc_s && gpmc_s->sync_write) in gpmc_calc_timings()
2168 struct gpmc_settings gpmc_s; in gpmc_probe_generic_child() local
2205 gpmc_read_settings_dt(child, &gpmc_s); in gpmc_probe_generic_child()
2274 gpmc_s.device_width = GPMC_DEVWIDTH_8BIT; in gpmc_probe_generic_child()
2277 gpmc_s.device_width = GPMC_DEVWIDTH_16BIT; in gpmc_probe_generic_child()
2288 gpmc_s.device_nand = true; in gpmc_probe_generic_child()
2291 &gpmc_s.device_width); in gpmc_probe_generic_child()
2292 if (ret < 0 && !gpmc_s.device_width) { in gpmc_probe_generic_child()
2301 if (gpmc_s.wait_on_read || gpmc_s.wait_on_write) { in gpmc_probe_generic_child()
2302 ret = gpmc_alloc_waitpin(gpmc, &gpmc_s); in gpmc_probe_generic_child()
2309 ret = gpmc_cs_program_settings(cs, &gpmc_s); in gpmc_probe_generic_child()
2313 ret = gpmc_cs_set_timings(cs, &gpmc_t, &gpmc_s); in gpmc_probe_generic_child()
2346 gpmc_free_waitpin(gpmc, gpmc_s.wait_pin); in gpmc_probe_generic_child()