Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Ddenali.c773 int rdwr_en_lo, rdwr_en_hi, rdwr_en_lo_hi, cs_setup; in denali_setup_interface() local
874 rdwr_en_lo = DIV_ROUND_UP(max(timings->tRP_min, timings->tWP_min), t_x); in denali_setup_interface()
877 rdwr_en_lo = max_t(int, rdwr_en_lo, in denali_setup_interface()
883 rdwr_en_lo = max(rdwr_en_lo, rdwr_en_lo_hi - rdwr_en_hi); in denali_setup_interface()
884 rdwr_en_lo = min_t(int, rdwr_en_lo, RDWR_EN_LO_CNT__VALUE); in denali_setup_interface()
887 acc_clks = (acc_clks + rdwr_en_lo + in denali_setup_interface()
898 tmp |= FIELD_PREP(RDWR_EN_LO_CNT__VALUE, rdwr_en_lo); in denali_setup_interface()
902 cs_setup = max3((int)DIV_ROUND_UP(timings->tCS_min, t_x) - rdwr_en_lo, in denali_setup_interface()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali.c949 int rdwr_en_lo, rdwr_en_hi, rdwr_en_lo_hi, cs_setup; in denali_setup_data_interface() local
1041 rdwr_en_lo = DIV_ROUND_UP(max(timings->tRP_min, timings->tWP_min), t_x); in denali_setup_data_interface()
1045 rdwr_en_lo = max(rdwr_en_lo, rdwr_en_lo_hi - rdwr_en_hi); in denali_setup_data_interface()
1046 rdwr_en_lo = min_t(int, rdwr_en_lo, RDWR_EN_LO_CNT__VALUE); in denali_setup_data_interface()
1050 tmp |= FIELD_PREP(RDWR_EN_LO_CNT__VALUE, rdwr_en_lo); in denali_setup_data_interface()
1054 cs_setup = max3((int)DIV_ROUND_UP(timings->tCS_min, t_x) - rdwr_en_lo, in denali_setup_data_interface()