Searched refs:fspi (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/spi/ |
H A D | spi-imx.c | 173 unsigned int fspi, unsigned int max) spi_imx_clkdiv_1() 178 if (fspi * mxc_clkdivs[i] >= fin) spi_imx_clkdiv_1() 186 unsigned int fspi) spi_imx_clkdiv_2() 191 if (fspi * div >= fin) spi_imx_clkdiv_2() 248 static unsigned int mx51_ecspi_clkdiv(unsigned int fin, unsigned int fspi, mx51_ecspi_clkdiv() argument 257 if (unlikely(fspi > fin)) mx51_ecspi_clkdiv() 260 post = fls(fin) - fls(fspi); mx51_ecspi_clkdiv() 261 if (fin > fspi << post) mx51_ecspi_clkdiv() 264 /* now we have: (fin <= fspi << post) with post being minimal */ mx51_ecspi_clkdiv() 269 __func__, fspi, fin); mx51_ecspi_clkdiv() 273 pre = DIV_ROUND_UP(fin, fspi << post) - 1; mx51_ecspi_clkdiv() 275 pr_debug("%s: fin: %u, fspi: %u, post: %u, pre: %u\n", mx51_ecspi_clkdiv() 276 __func__, fin, fspi, post, pre); mx51_ecspi_clkdiv() 172 spi_imx_clkdiv_1(unsigned int fin, unsigned int fspi, unsigned int max) spi_imx_clkdiv_1() argument 185 spi_imx_clkdiv_2(unsigned int fin, unsigned int fspi) spi_imx_clkdiv_2() argument
|
/linux-4.4.14/drivers/iommu/ |
H A D | fsl_pamu.c | 76 /* Pool for fspi allocation */ 210 spaace = &spaact[paace->fspi + wnum]; pamu_get_spaace() 218 * pamu_get_fspi_and_allocate() - Allocates fspi index and reserves subwindows 225 * the index (fspi) of the first SPAACE entry in the SPAACT table. This 229 * Returns a valid fspi index in the range of 0 - SPAACE_NUMBER_ENTRIES on success. 260 gen_pool_free(spaace_pool, (unsigned long)&spaact[ppaace->fspi], size); pamu_free_subwins() 337 unsigned long fspi; pamu_config_ppaace() local 383 fspi = pamu_get_fspi_and_allocate(subwin_cnt - 1); pamu_config_ppaace() 384 if (fspi == ULONG_MAX) { pamu_config_ppaace() 393 ppaace->fspi = fspi; pamu_config_ppaace()
|
H A D | fsl_pamu.h | 307 u32 fspi; /* only valid for Primary PAACE */ member in struct:paace
|
Completed in 76 milliseconds