Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ata/
H A Dpata_octeon_cf.c135 int trh; in octeon_cf_set_piomode() local
156 trh = ns_to_tim_reg(div, 20); in octeon_cf_set_piomode()
157 if (trh) in octeon_cf_set_piomode()
158 trh--; in octeon_cf_set_piomode()
161 (int)timing.setup - trh; in octeon_cf_set_piomode()
191 reg_tim.s.wr_hld = trh; in octeon_cf_set_piomode()
193 reg_tim.s.rd_hld = trh; in octeon_cf_set_piomode()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c2435 u32 trh; in cadence_nand_setup_interface() local
2439 trh = sdr->tRC_min - ((trp_cnt + 1) * clk_period); in cadence_nand_setup_interface()
2440 if (sdr->tREH_min >= trh) in cadence_nand_setup_interface()
2443 trh_cnt = calc_cycl(trh, clk_period); in cadence_nand_setup_interface()