Lines Matching refs:gpmc_s
1224 struct gpmc_settings gpmc_s; in gpmc_omap_onenand_set_timings() local
1226 gpmc_read_settings_dt(dev->of_node, &gpmc_s); in gpmc_omap_onenand_set_timings()
1228 info->sync_read = gpmc_s.sync_read; in gpmc_omap_onenand_set_timings()
1229 info->sync_write = gpmc_s.sync_write; in gpmc_omap_onenand_set_timings()
1230 info->burst_len = gpmc_s.burst_len; in gpmc_omap_onenand_set_timings()
1232 if (!gpmc_s.sync_read && !gpmc_s.sync_write) in gpmc_omap_onenand_set_timings()
1235 gpmc_omap_onenand_calc_sync_timings(&gpmc_t, &gpmc_s, freq, latency); in gpmc_omap_onenand_set_timings()
1237 ret = gpmc_cs_program_settings(cs, &gpmc_s); in gpmc_omap_onenand_set_timings()
1241 return gpmc_cs_set_timings(cs, &gpmc_t, &gpmc_s); in gpmc_omap_onenand_set_timings()
1785 struct gpmc_settings *gpmc_s, in gpmc_calc_timings() argument
1790 if (gpmc_s) { in gpmc_calc_timings()
1791 mux = gpmc_s->mux_add_data ? true : false; in gpmc_calc_timings()
1792 sync = (gpmc_s->sync_read || gpmc_s->sync_write); in gpmc_calc_timings()
1799 if (gpmc_s && gpmc_s->sync_read) in gpmc_calc_timings()
1804 if (gpmc_s && gpmc_s->sync_write) in gpmc_calc_timings()
2034 struct gpmc_settings gpmc_s; in gpmc_probe_generic_child() local
2072 gpmc_read_settings_dt(child, &gpmc_s); in gpmc_probe_generic_child()
2141 gpmc_s.device_width = GPMC_DEVWIDTH_8BIT; in gpmc_probe_generic_child()
2144 gpmc_s.device_width = GPMC_DEVWIDTH_16BIT; in gpmc_probe_generic_child()
2155 gpmc_s.device_nand = true; in gpmc_probe_generic_child()
2158 &gpmc_s.device_width); in gpmc_probe_generic_child()
2159 if (ret < 0 && !gpmc_s.device_width) { in gpmc_probe_generic_child()
2168 if (gpmc_s.wait_on_read || gpmc_s.wait_on_write) { in gpmc_probe_generic_child()
2169 unsigned int wait_pin = gpmc_s.wait_pin; in gpmc_probe_generic_child()
2184 ret = gpmc_cs_program_settings(cs, &gpmc_s); in gpmc_probe_generic_child()
2188 ret = gpmc_cs_set_timings(cs, &gpmc_t, &gpmc_s); in gpmc_probe_generic_child()