Home
last modified time | relevance | path

Searched refs:trh (Results 1 – 2 of 2) sorted by relevance

/drivers/ata/
Dpata_octeon_cf.c138 int trh; in octeon_cf_set_piomode() local
159 trh = ns_to_tim_reg(div, 20); in octeon_cf_set_piomode()
160 if (trh) in octeon_cf_set_piomode()
161 trh--; in octeon_cf_set_piomode()
164 (int)timing.setup - trh; in octeon_cf_set_piomode()
194 reg_tim.s.wr_hld = trh; in octeon_cf_set_piomode()
196 reg_tim.s.rd_hld = trh; in octeon_cf_set_piomode()
/drivers/mtd/nand/raw/
Dcadence-nand-controller.c2392 u32 trh; in cadence_nand_setup_interface() local
2396 trh = sdr->tRC_min - ((trp_cnt + 1) * clk_period); in cadence_nand_setup_interface()
2397 if (sdr->tREH_min >= trh) in cadence_nand_setup_interface()
2400 trh_cnt = calc_cycl(trh, clk_period); in cadence_nand_setup_interface()