Lines Matching refs:t

703 int gpmc_cs_set_timings(int cs, const struct gpmc_timings *t,  in gpmc_cs_set_timings()  argument
709 div = gpmc_calc_divider(t->sync_clk); in gpmc_cs_set_timings()
729 div = gpmc_calc_waitmonitoring_divider(t->wait_monitoring); in gpmc_cs_set_timings()
733 t->wait_monitoring in gpmc_cs_set_timings()
740 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG2, 0, 3, 0, t->cs_on, in gpmc_cs_set_timings()
742 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG2, 8, 12, 0, t->cs_rd_off, in gpmc_cs_set_timings()
744 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG2, 16, 20, 0, t->cs_wr_off, in gpmc_cs_set_timings()
749 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG3, 0, 3, 0, t->adv_on, in gpmc_cs_set_timings()
751 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG3, 8, 12, 0, t->adv_rd_off, in gpmc_cs_set_timings()
753 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG3, 16, 20, 0, t->adv_wr_off, in gpmc_cs_set_timings()
760 t->adv_aad_mux_on, GPMC_CD_FCLK, in gpmc_cs_set_timings()
763 t->adv_aad_mux_rd_off, GPMC_CD_FCLK, in gpmc_cs_set_timings()
766 t->adv_aad_mux_wr_off, GPMC_CD_FCLK, in gpmc_cs_set_timings()
772 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG4, 0, 3, 0, t->oe_on, in gpmc_cs_set_timings()
774 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG4, 8, 12, 0, t->oe_off, in gpmc_cs_set_timings()
778 t->oe_aad_mux_on, GPMC_CD_FCLK, in gpmc_cs_set_timings()
781 t->oe_aad_mux_off, GPMC_CD_FCLK, in gpmc_cs_set_timings()
784 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG4, 16, 19, 0, t->we_on, in gpmc_cs_set_timings()
786 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG4, 24, 28, 0, t->we_off, in gpmc_cs_set_timings()
791 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG5, 0, 4, 0, t->rd_cycle, in gpmc_cs_set_timings()
793 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG5, 8, 12, 0, t->wr_cycle, in gpmc_cs_set_timings()
795 ret |= set_gpmc_timing_reg(cs, GPMC_CS_CONFIG5, 16, 20, 0, t->access, in gpmc_cs_set_timings()
798 t->page_burst_access, GPMC_CD_FCLK, in gpmc_cs_set_timings()
804 t->bus_turnaround, GPMC_CD_FCLK, in gpmc_cs_set_timings()
807 t->cycle2cycle_delay, GPMC_CD_FCLK, in gpmc_cs_set_timings()
814 t->wr_data_mux_bus, GPMC_CD_FCLK, in gpmc_cs_set_timings()
821 t->wr_access, GPMC_CD_FCLK, in gpmc_cs_set_timings()
835 t->wait_monitoring, GPMC_CD_CLK, in gpmc_cs_set_timings()
839 t->clk_activation, GPMC_CD_FCLK, in gpmc_cs_set_timings()
849 gpmc_cs_bool_timings(cs, &t->bool_timings); in gpmc_cs_set_timings()
1194 static void gpmc_omap_onenand_calc_sync_timings(struct gpmc_timings *t, in gpmc_omap_onenand_calc_sync_timings() argument
1270 gpmc_calc_timings(t, s, &dev_t); in gpmc_omap_onenand_calc_sync_timings()
1818 static void gpmc_convert_ps_to_ns(struct gpmc_timings *t) in gpmc_convert_ps_to_ns() argument
1820 t->cs_on /= 1000; in gpmc_convert_ps_to_ns()
1821 t->cs_rd_off /= 1000; in gpmc_convert_ps_to_ns()
1822 t->cs_wr_off /= 1000; in gpmc_convert_ps_to_ns()
1823 t->adv_on /= 1000; in gpmc_convert_ps_to_ns()
1824 t->adv_rd_off /= 1000; in gpmc_convert_ps_to_ns()
1825 t->adv_wr_off /= 1000; in gpmc_convert_ps_to_ns()
1826 t->we_on /= 1000; in gpmc_convert_ps_to_ns()
1827 t->we_off /= 1000; in gpmc_convert_ps_to_ns()
1828 t->oe_on /= 1000; in gpmc_convert_ps_to_ns()
1829 t->oe_off /= 1000; in gpmc_convert_ps_to_ns()
1830 t->page_burst_access /= 1000; in gpmc_convert_ps_to_ns()
1831 t->access /= 1000; in gpmc_convert_ps_to_ns()
1832 t->rd_cycle /= 1000; in gpmc_convert_ps_to_ns()
1833 t->wr_cycle /= 1000; in gpmc_convert_ps_to_ns()
1834 t->bus_turnaround /= 1000; in gpmc_convert_ps_to_ns()
1835 t->cycle2cycle_delay /= 1000; in gpmc_convert_ps_to_ns()
1836 t->wait_monitoring /= 1000; in gpmc_convert_ps_to_ns()
1837 t->clk_activation /= 1000; in gpmc_convert_ps_to_ns()
1838 t->wr_access /= 1000; in gpmc_convert_ps_to_ns()
1839 t->wr_data_mux_bus /= 1000; in gpmc_convert_ps_to_ns()