Lines Matching defs:dev_t

1198 	struct gpmc_device_timings dev_t;
1246 memset(&dev_t, 0, sizeof(dev_t));
1249 dev_t.t_avdp_w = max(t_avdp, t_cer) * 1000;
1250 dev_t.t_wpl = t_wpl * 1000;
1251 dev_t.t_wph = t_wph * 1000;
1252 dev_t.t_aavdh = t_aavdh * 1000;
1254 dev_t.ce_xdelay = true;
1255 dev_t.avd_xdelay = true;
1256 dev_t.oe_xdelay = true;
1257 dev_t.we_xdelay = true;
1258 dev_t.clk = min_gpmc_clk_period;
1259 dev_t.t_bacc = dev_t.clk;
1260 dev_t.t_ces = t_ces * 1000;
1261 dev_t.t_avds = t_avds * 1000;
1262 dev_t.t_avdh = t_avdh * 1000;
1263 dev_t.t_ach = t_ach * 1000;
1264 dev_t.cyc_iaa = (latency + 1);
1265 dev_t.t_cez_r = t_cez * 1000;
1266 dev_t.t_cez_w = dev_t.t_cez_r;
1267 dev_t.cyc_aavdh_oe = 1;
1268 dev_t.t_rdyo = t_rdyo * 1000 + min_gpmc_clk_period;
1270 gpmc_calc_timings(t, s, &dev_t);
1566 struct gpmc_device_timings *dev_t,
1572 temp = dev_t->t_avdp_r;
1579 temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_avdh);
1585 temp = dev_t->t_oeasu; /* XXX: remove this ? */
1587 temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_ach);
1589 gpmc_ticks_to_ps(dev_t->cyc_aavdh_oe));
1598 temp = max_t(u32, dev_t->t_iaa, dev_t->cyc_iaa * gpmc_t->sync_clk);
1600 if (dev_t->cyc_oe)
1602 gpmc_ticks_to_ps(dev_t->cyc_oe));
1609 temp = max_t(u32, dev_t->t_cez_r, dev_t->t_oez);
1613 if (dev_t->t_ce_rdyz)
1614 temp = max_t(u32, temp, gpmc_t->cs_rd_off + dev_t->t_ce_rdyz);
1621 struct gpmc_device_timings *dev_t,
1627 temp = dev_t->t_avdp_w;
1630 gpmc_t->clk_activation + dev_t->t_avdh);
1636 temp = max_t(u32, dev_t->t_weasu,
1637 gpmc_t->clk_activation + dev_t->t_rdyo);
1643 gpmc_t->adv_wr_off + dev_t->t_aavdh);
1645 gpmc_ticks_to_ps(dev_t->cyc_aavdh_we));
1651 gpmc_t->we_on = gpmc_round_ps_to_ticks(dev_t->t_weasu);
1660 temp = gpmc_t->we_on + dev_t->t_wpl;
1664 gpmc_t->we_on + gpmc_ticks_to_ps(dev_t->cyc_wpl));
1668 dev_t->t_wph);
1671 temp = gpmc_round_ps_to_sync_clk(dev_t->t_cez_w, gpmc_t->sync_clk);
1674 if (dev_t->t_ce_rdyz)
1676 gpmc_t->cs_wr_off + dev_t->t_ce_rdyz);
1683 struct gpmc_device_timings *dev_t,
1689 temp = dev_t->t_avdp_r;
1695 temp = dev_t->t_oeasu;
1697 temp = max_t(u32, temp, gpmc_t->adv_rd_off + dev_t->t_aavdh);
1701 temp = max_t(u32, dev_t->t_iaa, /* XXX: remove t_iaa in async ? */
1702 gpmc_t->oe_on + dev_t->t_oe);
1703 temp = max_t(u32, temp, gpmc_t->cs_on + dev_t->t_ce);
1704 temp = max_t(u32, temp, gpmc_t->adv_on + dev_t->t_aa);
1711 temp = max_t(u32, dev_t->t_rd_cycle,
1712 gpmc_t->cs_rd_off + dev_t->t_cez_r);
1713 temp = max_t(u32, temp, gpmc_t->oe_off + dev_t->t_oez);
1720 struct gpmc_device_timings *dev_t,
1726 temp = dev_t->t_avdp_w;
1732 temp = dev_t->t_weasu;
1734 temp = max_t(u32, temp, gpmc_t->adv_wr_off + dev_t->t_aavdh);
1736 gpmc_ticks_to_ps(dev_t->cyc_aavdh_we));
1742 gpmc_t->we_on = gpmc_round_ps_to_ticks(dev_t->t_weasu);
1747 temp = gpmc_t->we_on + dev_t->t_wpl;
1751 dev_t->t_wph);
1754 temp = max_t(u32, dev_t->t_wr_cycle,
1755 gpmc_t->cs_wr_off + dev_t->t_cez_w);
1762 struct gpmc_device_timings *dev_t)
1766 gpmc_t->sync_clk = gpmc_calc_divider(dev_t->clk) *
1770 dev_t->t_bacc,
1773 temp = max_t(u32, dev_t->t_ces, dev_t->t_avds);
1779 if (dev_t->ce_xdelay)
1781 if (dev_t->avd_xdelay)
1783 if (dev_t->oe_xdelay)
1785 if (dev_t->we_xdelay)
1792 struct gpmc_device_timings *dev_t,
1798 gpmc_t->cs_on = gpmc_round_ps_to_ticks(dev_t->t_ceasu);
1801 temp = dev_t->t_avdasu;
1802 if (dev_t->t_ce_avd)
1804 gpmc_t->cs_on + dev_t->t_ce_avd);
1808 gpmc_calc_sync_common_timings(gpmc_t, dev_t);
1844 struct gpmc_device_timings *dev_t)
1855 gpmc_calc_common_timings(gpmc_t, dev_t, sync);
1858 gpmc_calc_sync_read_timings(gpmc_t, dev_t, mux);
1860 gpmc_calc_async_read_timings(gpmc_t, dev_t, mux);
1863 gpmc_calc_sync_write_timings(gpmc_t, dev_t, mux);
1865 gpmc_calc_async_write_timings(gpmc_t, dev_t, mux);