Lines Matching refs:cur_speed
193 unsigned cur_speed; member
428 if (sdd->port_conf->high_speed && sdd->cur_speed >= 30000000UL in enable_datapath()
476 ms = xfer->len * 8 * 1000 / sdd->cur_speed; in wait_for_dma()
522 ms = xfer->len * 8 * 1000 / sdd->cur_speed; in wait_for_pio()
627 clk_set_rate(sdd->src_clk, sdd->cur_speed * 2); in s3c64xx_spi_config()
634 val |= ((clk_get_rate(sdd->src_clk) / sdd->cur_speed / 2 - 1) in s3c64xx_spi_config()
655 if (sdd->cur_speed != spi->max_speed_hz in s3c64xx_spi_prepare_message()
659 sdd->cur_speed = spi->max_speed_hz; in s3c64xx_spi_prepare_message()
687 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one()
689 sdd->cur_speed = speed; in s3c64xx_spi_transfer_one()
943 sdd->cur_speed = 0; in s3c64xx_spi_hwinit()
1241 sdd->cur_speed = 0; /* Output Clock is stopped */ in s3c64xx_spi_suspend()