Lines Matching refs:max_hz
51 unsigned int max_hz; member
98 unsigned int max_hz = mxcs->max_hz; in spi_cfg_mxc() local
103 div = DIV_ROUND_UP(clk_src, max_hz); in spi_cfg_mxc()
107 max_hz, div, clk_src / (4 << div)); in spi_cfg_mxc()
138 unsigned int max_hz = mxcs->max_hz; in spi_cfg_mxc() local
151 if (clk_src > max_hz) { in spi_cfg_mxc()
152 pre_div = (clk_src - 1) / max_hz; in spi_cfg_mxc()
159 max_hz); in spi_cfg_mxc()
440 unsigned int max_hz, unsigned int mode) in spi_setup_slave() argument
448 if (max_hz == 0) { in spi_setup_slave()
468 mxcs->max_hz = max_hz; in spi_setup_slave()
518 mxcs->max_hz = fdtdec_get_int(blob, node, "spi-max-frequency", in mxc_spi_probe()