gpmc_t 1223 drivers/memory/omap-gpmc.c struct gpmc_timings gpmc_t; gpmc_t 1235 drivers/memory/omap-gpmc.c gpmc_omap_onenand_calc_sync_timings(&gpmc_t, &gpmc_s, freq, latency); gpmc_t 1241 drivers/memory/omap-gpmc.c return gpmc_cs_set_timings(cs, &gpmc_t, &gpmc_s); gpmc_t 1505 drivers/memory/omap-gpmc.c static int gpmc_calc_sync_read_timings(struct gpmc_timings *gpmc_t, gpmc_t 1519 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_avdh); gpmc_t 1520 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); gpmc_t 1522 drivers/memory/omap-gpmc.c gpmc_t->adv_rd_off = gpmc_round_ps_to_ticks(temp); gpmc_t 1527 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->clk_activation + dev_t->t_ach); gpmc_t 1528 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_rd_off + gpmc_t 1531 drivers/memory/omap-gpmc.c gpmc_t->oe_on = gpmc_round_ps_to_ticks(temp); gpmc_t 1538 drivers/memory/omap-gpmc.c temp = max_t(u32, dev_t->t_iaa, dev_t->cyc_iaa * gpmc_t->sync_clk); gpmc_t 1539 drivers/memory/omap-gpmc.c temp += gpmc_t->clk_activation; gpmc_t 1541 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->oe_on + gpmc_t 1543 drivers/memory/omap-gpmc.c gpmc_t->access = gpmc_round_ps_to_ticks(temp); gpmc_t 1545 drivers/memory/omap-gpmc.c gpmc_t->oe_off = gpmc_t->access + gpmc_ticks_to_ps(1); gpmc_t 1546 drivers/memory/omap-gpmc.c gpmc_t->cs_rd_off = gpmc_t->oe_off; gpmc_t 1550 drivers/memory/omap-gpmc.c temp = gpmc_round_ps_to_sync_clk(temp, gpmc_t->sync_clk) + gpmc_t 1551 drivers/memory/omap-gpmc.c gpmc_t->access; gpmc_t 1554 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->cs_rd_off + dev_t->t_ce_rdyz); gpmc_t 1555 drivers/memory/omap-gpmc.c gpmc_t->rd_cycle = gpmc_round_ps_to_ticks(temp); gpmc_t 1560 drivers/memory/omap-gpmc.c static int gpmc_calc_sync_write_timings(struct gpmc_timings *gpmc_t, gpmc_t 1570 drivers/memory/omap-gpmc.c gpmc_t->clk_activation + dev_t->t_avdh); gpmc_t 1571 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); gpmc_t 1573 drivers/memory/omap-gpmc.c gpmc_t->adv_wr_off = gpmc_round_ps_to_ticks(temp); gpmc_t 1577 drivers/memory/omap-gpmc.c gpmc_t->clk_activation + dev_t->t_rdyo); gpmc_t 1583 drivers/memory/omap-gpmc.c gpmc_t->adv_wr_off + dev_t->t_aavdh); gpmc_t 1584 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_wr_off + gpmc_t 1587 drivers/memory/omap-gpmc.c gpmc_t->wr_data_mux_bus = gpmc_round_ps_to_ticks(temp); gpmc_t 1591 drivers/memory/omap-gpmc.c gpmc_t->we_on = gpmc_round_ps_to_ticks(dev_t->t_weasu); gpmc_t 1593 drivers/memory/omap-gpmc.c gpmc_t->we_on = gpmc_t->wr_data_mux_bus; gpmc_t 1597 drivers/memory/omap-gpmc.c gpmc_t->wr_access = gpmc_t->access; gpmc_t 1600 drivers/memory/omap-gpmc.c temp = gpmc_t->we_on + dev_t->t_wpl; gpmc_t 1602 drivers/memory/omap-gpmc.c gpmc_t->wr_access + gpmc_ticks_to_ps(1)); gpmc_t 1604 drivers/memory/omap-gpmc.c gpmc_t->we_on + gpmc_ticks_to_ps(dev_t->cyc_wpl)); gpmc_t 1605 drivers/memory/omap-gpmc.c gpmc_t->we_off = gpmc_round_ps_to_ticks(temp); gpmc_t 1607 drivers/memory/omap-gpmc.c gpmc_t->cs_wr_off = gpmc_round_ps_to_ticks(gpmc_t->we_off + gpmc_t 1611 drivers/memory/omap-gpmc.c temp = gpmc_round_ps_to_sync_clk(dev_t->t_cez_w, gpmc_t->sync_clk); gpmc_t 1612 drivers/memory/omap-gpmc.c temp += gpmc_t->wr_access; gpmc_t 1616 drivers/memory/omap-gpmc.c gpmc_t->cs_wr_off + dev_t->t_ce_rdyz); gpmc_t 1617 drivers/memory/omap-gpmc.c gpmc_t->wr_cycle = gpmc_round_ps_to_ticks(temp); gpmc_t 1622 drivers/memory/omap-gpmc.c static int gpmc_calc_async_read_timings(struct gpmc_timings *gpmc_t, gpmc_t 1631 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); gpmc_t 1632 drivers/memory/omap-gpmc.c gpmc_t->adv_rd_off = gpmc_round_ps_to_ticks(temp); gpmc_t 1638 drivers/memory/omap-gpmc.c gpmc_t->adv_rd_off + dev_t->t_aavdh); gpmc_t 1639 drivers/memory/omap-gpmc.c gpmc_t->oe_on = gpmc_round_ps_to_ticks(temp); gpmc_t 1643 drivers/memory/omap-gpmc.c gpmc_t->oe_on + dev_t->t_oe); gpmc_t 1645 drivers/memory/omap-gpmc.c gpmc_t->cs_on + dev_t->t_ce); gpmc_t 1647 drivers/memory/omap-gpmc.c gpmc_t->adv_on + dev_t->t_aa); gpmc_t 1648 drivers/memory/omap-gpmc.c gpmc_t->access = gpmc_round_ps_to_ticks(temp); gpmc_t 1650 drivers/memory/omap-gpmc.c gpmc_t->oe_off = gpmc_t->access + gpmc_ticks_to_ps(1); gpmc_t 1651 drivers/memory/omap-gpmc.c gpmc_t->cs_rd_off = gpmc_t->oe_off; gpmc_t 1655 drivers/memory/omap-gpmc.c gpmc_t->cs_rd_off + dev_t->t_cez_r); gpmc_t 1656 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->oe_off + dev_t->t_oez); gpmc_t 1657 drivers/memory/omap-gpmc.c gpmc_t->rd_cycle = gpmc_round_ps_to_ticks(temp); gpmc_t 1662 drivers/memory/omap-gpmc.c static int gpmc_calc_async_write_timings(struct gpmc_timings *gpmc_t, gpmc_t 1671 drivers/memory/omap-gpmc.c temp = max_t(u32, gpmc_t->adv_on + gpmc_ticks_to_ps(1), temp); gpmc_t 1672 drivers/memory/omap-gpmc.c gpmc_t->adv_wr_off = gpmc_round_ps_to_ticks(temp); gpmc_t 1677 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_wr_off + dev_t->t_aavdh); gpmc_t 1678 drivers/memory/omap-gpmc.c temp = max_t(u32, temp, gpmc_t->adv_wr_off + gpmc_t 1681 drivers/memory/omap-gpmc.c gpmc_t->wr_data_mux_bus = gpmc_round_ps_to_ticks(temp); gpmc_t 1685 drivers/memory/omap-gpmc.c gpmc_t->we_on = gpmc_round_ps_to_ticks(dev_t->t_weasu); gpmc_t 1687 drivers/memory/omap-gpmc.c gpmc_t->we_on = gpmc_t->wr_data_mux_bus; gpmc_t 1690 drivers/memory/omap-gpmc.c temp = gpmc_t->we_on + dev_t->t_wpl; gpmc_t 1691 drivers/memory/omap-gpmc.c gpmc_t->we_off = gpmc_round_ps_to_ticks(temp); gpmc_t 1693 drivers/memory/omap-gpmc.c gpmc_t->cs_wr_off = gpmc_round_ps_to_ticks(gpmc_t->we_off + gpmc_t 1698 drivers/memory/omap-gpmc.c gpmc_t->cs_wr_off + dev_t->t_cez_w); gpmc_t 1699 drivers/memory/omap-gpmc.c gpmc_t->wr_cycle = gpmc_round_ps_to_ticks(temp); gpmc_t 1704 drivers/memory/omap-gpmc.c static int gpmc_calc_sync_common_timings(struct gpmc_timings *gpmc_t, gpmc_t 1709 drivers/memory/omap-gpmc.c gpmc_t->sync_clk = gpmc_calc_divider(dev_t->clk) * gpmc_t 1712 drivers/memory/omap-gpmc.c gpmc_t->page_burst_access = gpmc_round_ps_to_sync_clk( gpmc_t 1714 drivers/memory/omap-gpmc.c gpmc_t->sync_clk); gpmc_t 1717 drivers/memory/omap-gpmc.c gpmc_t->clk_activation = gpmc_round_ps_to_ticks(temp); gpmc_t 1719 drivers/memory/omap-gpmc.c if (gpmc_calc_divider(gpmc_t->sync_clk) != 1) gpmc_t 1723 drivers/memory/omap-gpmc.c gpmc_t->bool_timings.cs_extra_delay = true; gpmc_t 1725 drivers/memory/omap-gpmc.c gpmc_t->bool_timings.adv_extra_delay = true; gpmc_t 1727 drivers/memory/omap-gpmc.c gpmc_t->bool_timings.oe_extra_delay = true; gpmc_t 1729 drivers/memory/omap-gpmc.c gpmc_t->bool_timings.we_extra_delay = true; gpmc_t 1734 drivers/memory/omap-gpmc.c static int gpmc_calc_common_timings(struct gpmc_timings *gpmc_t, gpmc_t 1741 drivers/memory/omap-gpmc.c gpmc_t->cs_on = gpmc_round_ps_to_ticks(dev_t->t_ceasu); gpmc_t 1747 drivers/memory/omap-gpmc.c gpmc_t->cs_on + dev_t->t_ce_avd); gpmc_t 1748 drivers/memory/omap-gpmc.c gpmc_t->adv_on = gpmc_round_ps_to_ticks(temp); gpmc_t 1751 drivers/memory/omap-gpmc.c gpmc_calc_sync_common_timings(gpmc_t, dev_t); gpmc_t 1784 drivers/memory/omap-gpmc.c int gpmc_calc_timings(struct gpmc_timings *gpmc_t, gpmc_t 1795 drivers/memory/omap-gpmc.c memset(gpmc_t, 0, sizeof(*gpmc_t)); gpmc_t 1797 drivers/memory/omap-gpmc.c gpmc_calc_common_timings(gpmc_t, dev_t, sync); gpmc_t 1800 drivers/memory/omap-gpmc.c gpmc_calc_sync_read_timings(gpmc_t, dev_t, mux); gpmc_t 1802 drivers/memory/omap-gpmc.c gpmc_calc_async_read_timings(gpmc_t, dev_t, mux); gpmc_t 1805 drivers/memory/omap-gpmc.c gpmc_calc_sync_write_timings(gpmc_t, dev_t, mux); gpmc_t 1807 drivers/memory/omap-gpmc.c gpmc_calc_async_write_timings(gpmc_t, dev_t, mux); gpmc_t 1810 drivers/memory/omap-gpmc.c gpmc_convert_ps_to_ns(gpmc_t); gpmc_t 1948 drivers/memory/omap-gpmc.c struct gpmc_timings *gpmc_t) gpmc_t 1952 drivers/memory/omap-gpmc.c if (!np || !gpmc_t) gpmc_t 1955 drivers/memory/omap-gpmc.c memset(gpmc_t, 0, sizeof(*gpmc_t)); gpmc_t 1958 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,sync-clk-ps", &gpmc_t->sync_clk); gpmc_t 1961 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,cs-on-ns", &gpmc_t->cs_on); gpmc_t 1962 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,cs-rd-off-ns", &gpmc_t->cs_rd_off); gpmc_t 1963 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,cs-wr-off-ns", &gpmc_t->cs_wr_off); gpmc_t 1966 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,adv-on-ns", &gpmc_t->adv_on); gpmc_t 1967 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,adv-rd-off-ns", &gpmc_t->adv_rd_off); gpmc_t 1968 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,adv-wr-off-ns", &gpmc_t->adv_wr_off); gpmc_t 1970 drivers/memory/omap-gpmc.c &gpmc_t->adv_aad_mux_on); gpmc_t 1972 drivers/memory/omap-gpmc.c &gpmc_t->adv_aad_mux_rd_off); gpmc_t 1974 drivers/memory/omap-gpmc.c &gpmc_t->adv_aad_mux_wr_off); gpmc_t 1977 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,we-on-ns", &gpmc_t->we_on); gpmc_t 1978 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,we-off-ns", &gpmc_t->we_off); gpmc_t 1981 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,oe-on-ns", &gpmc_t->oe_on); gpmc_t 1982 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,oe-off-ns", &gpmc_t->oe_off); gpmc_t 1984 drivers/memory/omap-gpmc.c &gpmc_t->oe_aad_mux_on); gpmc_t 1986 drivers/memory/omap-gpmc.c &gpmc_t->oe_aad_mux_off); gpmc_t 1990 drivers/memory/omap-gpmc.c &gpmc_t->page_burst_access); gpmc_t 1991 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,access-ns", &gpmc_t->access); gpmc_t 1992 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,rd-cycle-ns", &gpmc_t->rd_cycle); gpmc_t 1993 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,wr-cycle-ns", &gpmc_t->wr_cycle); gpmc_t 1995 drivers/memory/omap-gpmc.c &gpmc_t->bus_turnaround); gpmc_t 1997 drivers/memory/omap-gpmc.c &gpmc_t->cycle2cycle_delay); gpmc_t 1999 drivers/memory/omap-gpmc.c &gpmc_t->wait_monitoring); gpmc_t 2001 drivers/memory/omap-gpmc.c &gpmc_t->clk_activation); gpmc_t 2004 drivers/memory/omap-gpmc.c of_property_read_u32(np, "gpmc,wr-access-ns", &gpmc_t->wr_access); gpmc_t 2006 drivers/memory/omap-gpmc.c &gpmc_t->wr_data_mux_bus); gpmc_t 2009 drivers/memory/omap-gpmc.c p = &gpmc_t->bool_timings; gpmc_t 2035 drivers/memory/omap-gpmc.c struct gpmc_timings gpmc_t; gpmc_t 2073 drivers/memory/omap-gpmc.c gpmc_read_timings_dt(child, &gpmc_t); gpmc_t 2080 drivers/memory/omap-gpmc.c if (!gpmc_t.cs_rd_off) { gpmc_t 2188 drivers/memory/omap-gpmc.c ret = gpmc_cs_set_timings(cs, &gpmc_t, &gpmc_s); gpmc_t 63 include/linux/omap-gpmc.h extern int gpmc_calc_timings(struct gpmc_timings *gpmc_t,