Searched refs:t_x (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | denali.c | 771 unsigned long t_x, mult_x; in denali_setup_interface() local 782 t_x = DIV_ROUND_DOWN_ULL(1000000000000ULL, denali->clk_x_rate); in denali_setup_interface() 783 if (!t_x) in denali_setup_interface() 801 re_2_we = DIV_ROUND_UP(timings->tRHW_min, t_x); in denali_setup_interface() 810 re_2_re = DIV_ROUND_UP(timings->tRHZ_max, t_x); in denali_setup_interface() 839 addr_2_data = DIV_ROUND_UP(timings->tADL_min, t_x); in denali_setup_interface() 849 t_x); in denali_setup_interface() 878 acc_clks - timings->tRHOH_min / t_x); in denali_setup_interface() 882 t_x); in denali_setup_interface() 888 DIV_ROUND_UP(timings->tRHOH_min, t_x)) / 2; in denali_setup_interface() [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | denali.c | 947 unsigned long t_x, mult_x; in denali_setup_data_interface() local 958 t_x = DIV_ROUND_DOWN_ULL(1000000000000ULL, denali->clk_x_rate); in denali_setup_data_interface() 959 if (!t_x) in denali_setup_data_interface() 975 acc_clks = DIV_ROUND_UP(timings->tREA_max, t_x); in denali_setup_data_interface() 984 re_2_we = DIV_ROUND_UP(timings->tRHW_min, t_x); in denali_setup_data_interface() 993 re_2_re = DIV_ROUND_UP(timings->tRHZ_max, t_x); in denali_setup_data_interface() 1022 addr_2_data = DIV_ROUND_UP(timings->tADL_min, t_x); in denali_setup_data_interface() 1032 t_x); in denali_setup_data_interface() 1043 t_x); 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() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | wacom_wac.c | 1640 int t_x = get_unaligned_le16(&data[offset + 2]); in wacom_24hdt_irq() local 1643 input_report_abs(input, ABS_MT_POSITION_X, t_x); in wacom_24hdt_irq() 1654 min(w, h) + int_dist(t_x, t_y, c_x, c_y)); in wacom_24hdt_irq()
|