Lines Matching refs:cur_speed
194 unsigned cur_speed; member
467 if (sdd->port_conf->high_speed && sdd->cur_speed >= 30000000UL in s3c64xx_enable_datapath()
520 ms = xfer->len * 8 * 1000 / sdd->cur_speed; in s3c64xx_wait_for_dma()
567 ms = xfer->len * 8 * 1000 / sdd->cur_speed; in s3c64xx_wait_for_pio()
675 ret = clk_set_rate(sdd->src_clk, sdd->cur_speed * div); in s3c64xx_spi_config()
678 sdd->cur_speed = clk_get_rate(sdd->src_clk) / div; in s3c64xx_spi_config()
683 val |= ((clk_get_rate(sdd->src_clk) / sdd->cur_speed / div - 1) in s3c64xx_spi_config()
743 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one()
745 sdd->cur_speed = speed; in s3c64xx_spi_transfer_one()
1011 sdd->cur_speed = 0; in s3c64xx_spi_hwinit()
1330 sdd->cur_speed = 0; /* Output Clock is stopped */ in s3c64xx_spi_suspend()