/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/spi/ |
H A D | spi_txx9.c | 190 u32 speed_hz = t->speed_hz ? : spi->max_speed_hz; local 196 if (prev_speed_hz != speed_hz 198 int n = DIV_ROUND_UP(c->baseclk, speed_hz) - 1; 207 prev_speed_hz = speed_hz; 317 u32 speed_hz = t->speed_hz ? : spi->max_speed_hz; local 327 if (speed_hz < c->min_speed_hz || speed_hz > c->max_speed_hz)
|
H A D | orion_spi.c | 145 if ((t != NULL) && t->speed_hz) 146 speed = t->speed_hz; 307 if (par_override || t->speed_hz || t->bits_per_word) { 312 if (!t->speed_hz && !t->bits_per_word) 426 if (t->speed_hz && t->speed_hz < orion_spi->min_speed) { 431 orion_spi->min_speed, t->speed_hz);
|
H A D | spi_imx.c | 56 unsigned int speed_hz; member in struct:spi_imx_config 207 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, config->speed_hz) << 279 reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, config->speed_hz) << 339 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, config->speed_hz) << 418 config.speed_hz = t ? t->speed_hz : spi->max_speed_hz; 422 if (!config.speed_hz) 423 config.speed_hz = spi->max_speed_hz; 426 if (!config.speed_hz) 427 config.speed_hz [all...] |
H A D | coldfire_qspi.c | 150 static u8 mcfqspi_qmr_baud(u32 speed_hz) argument 152 return clamp((MCFQSPI_BUSCLK + speed_hz - 1) / speed_hz, 2u, 255u); 337 if (xfer->speed_hz) 338 qmr |= mcfqspi_qmr_baud(xfer->speed_hz); 398 if (xfer->speed_hz) { 400 mcfqspi_qmr_baud(xfer->speed_hz); 401 if (real_speed != xfer->speed_hz) 404 real_speed, xfer->speed_hz);
|
H A D | mpc512x_psc_spi.c | 58 int speed_hz; member in struct:mpc512x_psc_spi_cs 69 cs->speed_hz = (t && t->speed_hz) 70 ? t->speed_hz : spi->max_speed_hz; 107 if (cs->speed_hz) 108 bclkdiv = (mps->mclk / cs->speed_hz) - 1; 240 if (t->bits_per_word || t->speed_hz) { 293 cs->speed_hz = spi->max_speed_hz;
|
H A D | mpc52xx_psc_spi.c | 58 int speed_hz; member in struct:mpc52xx_psc_spi_cs 69 cs->speed_hz = (t && t->speed_hz) 70 ? t->speed_hz : spi->max_speed_hz; 109 if (cs->speed_hz) 110 ccr |= (MCLK / cs->speed_hz - 1) & 0xFF; 228 if (t->bits_per_word || t->speed_hz) { 281 cs->speed_hz = spi->max_speed_hz;
|
H A D | omap_spi_100k.c | 371 if (par_override || t->speed_hz || t->bits_per_word) { 376 if (!t->speed_hz && !t->bits_per_word) 455 if (t->speed_hz > OMAP1_SPI100K_MAX_FREQ 461 t->speed_hz, 469 if (t->speed_hz && t->speed_hz < OMAP1_SPI100K_MAX_FREQ/(1<<16)) { 471 t->speed_hz,
|
H A D | omap2_mcspi.c | 662 u32 speed_hz = spi->max_speed_hz; local 672 if (t && t->speed_hz) 673 speed_hz = t->speed_hz; 675 if (speed_hz) { 677 > speed_hz) 903 if (par_override || t->speed_hz || t->bits_per_word) { 908 if (!t->speed_hz && !t->bits_per_word) 1004 if (t->speed_hz > OMAP2_MCSPI_MAX_FREQ 1010 t->speed_hz, [all...] |
H A D | ep93xx_spi.c | 353 if (t->speed_hz && t->speed_hz < espi->min_rate) 530 if (t->speed_hz || t->bits_per_word) { 533 if (t->speed_hz) { 537 t->speed_hz); 595 if (t->speed_hz || t->bits_per_word)
|
H A D | dw_spi.c | 60 u32 speed_hz; /* baud rate */ member in struct:chip_data 446 chip->clk_div = dws->max_freq / chip->speed_hz; 488 if (transfer->speed_hz) { 489 speed = chip->speed_hz; 491 if (transfer->speed_hz != speed) { 492 speed = transfer->speed_hz; 504 chip->speed_hz = speed; 746 chip->speed_hz = spi->max_speed_hz;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/spi/ |
H A D | spi_txx9.c | 190 u32 speed_hz = t->speed_hz ? : spi->max_speed_hz; local 196 if (prev_speed_hz != speed_hz 198 int n = DIV_ROUND_UP(c->baseclk, speed_hz) - 1; 207 prev_speed_hz = speed_hz; 317 u32 speed_hz = t->speed_hz ? : spi->max_speed_hz; local 327 if (speed_hz < c->min_speed_hz || speed_hz > c->max_speed_hz)
|
H A D | orion_spi.c | 145 if ((t != NULL) && t->speed_hz) 146 speed = t->speed_hz; 307 if (par_override || t->speed_hz || t->bits_per_word) { 312 if (!t->speed_hz && !t->bits_per_word) 426 if (t->speed_hz && t->speed_hz < orion_spi->min_speed) { 431 orion_spi->min_speed, t->speed_hz);
|
H A D | spi_imx.c | 56 unsigned int speed_hz; member in struct:spi_imx_config 207 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, config->speed_hz) << 279 reg |= spi_imx_clkdiv_1(spi_imx->spi_clk, config->speed_hz) << 339 reg |= spi_imx_clkdiv_2(spi_imx->spi_clk, config->speed_hz) << 418 config.speed_hz = t ? t->speed_hz : spi->max_speed_hz; 422 if (!config.speed_hz) 423 config.speed_hz = spi->max_speed_hz; 426 if (!config.speed_hz) 427 config.speed_hz [all...] |
H A D | coldfire_qspi.c | 150 static u8 mcfqspi_qmr_baud(u32 speed_hz) argument 152 return clamp((MCFQSPI_BUSCLK + speed_hz - 1) / speed_hz, 2u, 255u); 337 if (xfer->speed_hz) 338 qmr |= mcfqspi_qmr_baud(xfer->speed_hz); 398 if (xfer->speed_hz) { 400 mcfqspi_qmr_baud(xfer->speed_hz); 401 if (real_speed != xfer->speed_hz) 404 real_speed, xfer->speed_hz);
|
H A D | mpc512x_psc_spi.c | 58 int speed_hz; member in struct:mpc512x_psc_spi_cs 69 cs->speed_hz = (t && t->speed_hz) 70 ? t->speed_hz : spi->max_speed_hz; 107 if (cs->speed_hz) 108 bclkdiv = (mps->mclk / cs->speed_hz) - 1; 240 if (t->bits_per_word || t->speed_hz) { 293 cs->speed_hz = spi->max_speed_hz;
|
H A D | mpc52xx_psc_spi.c | 58 int speed_hz; member in struct:mpc52xx_psc_spi_cs 69 cs->speed_hz = (t && t->speed_hz) 70 ? t->speed_hz : spi->max_speed_hz; 109 if (cs->speed_hz) 110 ccr |= (MCLK / cs->speed_hz - 1) & 0xFF; 228 if (t->bits_per_word || t->speed_hz) { 281 cs->speed_hz = spi->max_speed_hz;
|
H A D | omap_spi_100k.c | 371 if (par_override || t->speed_hz || t->bits_per_word) { 376 if (!t->speed_hz && !t->bits_per_word) 455 if (t->speed_hz > OMAP1_SPI100K_MAX_FREQ 461 t->speed_hz, 469 if (t->speed_hz && t->speed_hz < OMAP1_SPI100K_MAX_FREQ/(1<<16)) { 471 t->speed_hz,
|
H A D | omap2_mcspi.c | 662 u32 speed_hz = spi->max_speed_hz; local 672 if (t && t->speed_hz) 673 speed_hz = t->speed_hz; 675 if (speed_hz) { 677 > speed_hz) 903 if (par_override || t->speed_hz || t->bits_per_word) { 908 if (!t->speed_hz && !t->bits_per_word) 1004 if (t->speed_hz > OMAP2_MCSPI_MAX_FREQ 1010 t->speed_hz, [all...] |
H A D | ep93xx_spi.c | 353 if (t->speed_hz && t->speed_hz < espi->min_rate) 530 if (t->speed_hz || t->bits_per_word) { 533 if (t->speed_hz) { 537 t->speed_hz); 595 if (t->speed_hz || t->bits_per_word)
|
H A D | dw_spi.c | 60 u32 speed_hz; /* baud rate */ member in struct:chip_data 446 chip->clk_div = dws->max_freq / chip->speed_hz; 488 if (transfer->speed_hz) { 489 speed = chip->speed_hz; 491 if (transfer->speed_hz != speed) { 492 speed = transfer->speed_hz; 504 chip->speed_hz = speed; 746 chip->speed_hz = spi->max_speed_hz;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/spi/ |
H A D | spidev.h | 58 * @speed_hz: Temporary override of the device's bitrate. 90 __u32 speed_hz; member in struct:spi_ioc_transfer
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/spi/ |
H A D | spidev.h | 58 * @speed_hz: Temporary override of the device's bitrate. 90 __u32 speed_hz; member in struct:spi_ioc_transfer
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/usr/include/linux/spi/ |
H A D | spidev.h | 58 * @speed_hz: Temporary override of the device's bitrate. 90 __u32 speed_hz; member in struct:spi_ioc_transfer
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-brcm-linux-uclibcgnueabi/sysroot/usr/include/linux/spi/ |
H A D | spidev.h | 58 * @speed_hz: Temporary override of the device's bitrate. 90 __u32 speed_hz; member in struct:spi_ioc_transfer
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/arm-linux/sysroot/usr/include/linux/spi/ |
H A D | spidev.h | 58 * @speed_hz: Temporary override of the device's bitrate. 90 __u32 speed_hz; member in struct:spi_ioc_transfer
|