Searched refs:speed_hz (Results 1 - 13 of 13) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/spi/
H A Dspidev.h51 * @speed_hz: Temporary override of the device's bitrate.
83 __u32 speed_hz; member in struct:spi_ioc_transfer
H A Dspi.h34 * The spi_transfer.speed_hz can override this for each transfer.
300 * @speed_hz: Select a speed other then the device default for this
375 u32 speed_hz; member in struct:spi_transfer
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/spi/
H A Dmpc52xx_psc_spi.c61 int speed_hz; member in struct:mpc52xx_psc_spi_cs
72 cs->speed_hz = (t && t->speed_hz)
73 ? t->speed_hz : spi->max_speed_hz;
112 if (cs->speed_hz)
113 ccr |= (MCLK / cs->speed_hz - 1) & 0xFF;
237 if (t->bits_per_word || t->speed_hz) {
290 cs->speed_hz = spi->max_speed_hz;
H A Dspidev.c193 k_tmp->speed_hz = u_tmp->speed_hz;
203 u_tmp->speed_hz ? : spi->max_speed_hz);
H A Dspi_bfin5xx.c158 static u16 hz_to_spi_baud(u32 speed_hz) argument
161 u16 spi_baud = (sclk / (2 * speed_hz));
163 if ((sclk % (2 * speed_hz)) > 0)
713 if (transfer->speed_hz) {
714 write_BAUD(hz_to_spi_baud(transfer->speed_hz));
1036 * Notice: for blackfin, the speed_hz is the value of register
H A Dpxa2xx_spi.c152 u32 speed_hz; member in struct:chip_data
859 if (transfer->speed_hz || transfer->bits_per_word) {
862 speed = chip->speed_hz;
864 if (transfer->speed_hz)
865 speed = transfer->speed_hz;
1164 chip->speed_hz = spi->max_speed_hz;
H A Domap_uwire.c370 if (t != NULL && t->speed_hz)
371 hz = t->speed_hz;
H A Dspi_bitbang.c148 hz = t->speed_hz;
303 if (t->speed_hz || t->bits_per_word) {
H A Dspi_imx.c858 static u32 spi_data_rate(u32 speed_hz) argument
866 if (quantized_hz <= speed_hz)
942 tmp = transfer->speed_hz;
1118 tmp = trans->speed_hz;
H A Dau1550_spi.c111 static u32 au1550_spi_baudcfg(struct au1550_spi *hw, unsigned speed_hz) argument
117 brg = mainclk_hz / speed_hz / (4 << div);
120 brg = (4 + 1); /* speed_hz too big */
127 div = 3; /* speed_hz too small */
237 hz = t ? t->speed_hz : spi->max_speed_hz;
H A Dspi_mpc83xx.c185 hz = t->speed_hz;
H A Dspi_s3c24xx.c116 hz = t ? t->speed_hz : spi->max_speed_hz;
H A Datmel_spi.c448 if (xfer->bits_per_word || xfer->speed_hz) {

Completed in 109 milliseconds