Home
last modified time | relevance | path

Searched refs:fspi (Results 1 – 3 of 3) sorted by relevance

/drivers/spi/
Dspi-imx.c174 unsigned int fspi, unsigned int max) in spi_imx_clkdiv_1() argument
179 if (fspi * mxc_clkdivs[i] >= fin) in spi_imx_clkdiv_1()
187 unsigned int fspi) in spi_imx_clkdiv_2() argument
192 if (fspi * div >= fin) in spi_imx_clkdiv_2()
248 static unsigned int mx51_ecspi_clkdiv(unsigned int fin, unsigned int fspi, in mx51_ecspi_clkdiv() argument
257 if (unlikely(fspi > fin)) in mx51_ecspi_clkdiv()
260 post = fls(fin) - fls(fspi); in mx51_ecspi_clkdiv()
261 if (fin > fspi << post) in mx51_ecspi_clkdiv()
269 __func__, fspi, fin); in mx51_ecspi_clkdiv()
273 pre = DIV_ROUND_UP(fin, fspi << post) - 1; in mx51_ecspi_clkdiv()
[all …]
/drivers/iommu/
Dfsl_pamu.c221 spaace = &spaact[paace->fspi + wnum]; in pamu_get_spaace()
271 gen_pool_free(spaace_pool, (unsigned long)&spaact[ppaace->fspi], size); in pamu_free_subwins()
352 unsigned long fspi; in pamu_config_ppaace() local
398 fspi = pamu_get_fspi_and_allocate(subwin_cnt - 1); in pamu_config_ppaace()
399 if (fspi == ULONG_MAX) { in pamu_config_ppaace()
408 ppaace->fspi = fspi; in pamu_config_ppaace()
Dfsl_pamu.h306 u32 fspi; /* only valid for Primary PAACE */ member