Lines Matching refs:cur_speed
194 unsigned cur_speed; member
429 if (sdd->port_conf->high_speed && sdd->cur_speed >= 30000000UL in enable_datapath()
477 ms = xfer->len * 8 * 1000 / sdd->cur_speed; in wait_for_dma()
523 ms = xfer->len * 8 * 1000 / sdd->cur_speed; in wait_for_pio()
628 clk_set_rate(sdd->src_clk, sdd->cur_speed * 2); in s3c64xx_spi_config()
635 val |= ((clk_get_rate(sdd->src_clk) / sdd->cur_speed / 2 - 1) in s3c64xx_spi_config()
656 if (sdd->cur_speed != spi->max_speed_hz in s3c64xx_spi_prepare_message()
660 sdd->cur_speed = spi->max_speed_hz; in s3c64xx_spi_prepare_message()
688 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one()
690 sdd->cur_speed = speed; in s3c64xx_spi_transfer_one()
946 sdd->cur_speed = 0; in s3c64xx_spi_hwinit()
1257 sdd->cur_speed = 0; /* Output Clock is stopped */ in s3c64xx_spi_suspend()