Lines Matching refs:port_conf
112 #define FIFO_LVL_MASK(i) ((i)->port_conf->fifo_lvl_mask[i->port_id])
114 (1 << (i)->port_conf->tx_st_done)) ? 1 : 0)
220 const struct s3c64xx_spi_port_config *port_conf; member
362 if (!(sdd->port_conf->quirks & S3C64XX_SPI_QUIRK_CS_AUTO)) { in s3c64xx_spi_set_cs()
372 if (!(sdd->port_conf->quirks & S3C64XX_SPI_QUIRK_CS_AUTO)) in s3c64xx_spi_set_cs()
474 if (sdd->port_conf->use_32bit_io) in s3c64xx_iowrite_rep()
480 if (sdd->port_conf->use_32bit_io) in s3c64xx_iowrite_rep()
528 if (sdd->port_conf->high_speed && sdd->cur_speed >= 30000000UL in s3c64xx_enable_datapath()
698 int div = sdd->port_conf->clk_div; in s3c64xx_spi_config()
701 if (!sdd->port_conf->clk_from_cmu) { in s3c64xx_spi_config()
741 if ((sdd->cur_mode & SPI_LOOP) && sdd->port_conf->has_loopback) in s3c64xx_spi_config()
748 if (sdd->port_conf->clk_from_cmu) { in s3c64xx_spi_config()
1008 div = sdd->port_conf->clk_div; in s3c64xx_spi_setup()
1011 if (!sdd->port_conf->clk_from_cmu) { in s3c64xx_spi_setup()
1128 else if (!(sdd->port_conf->quirks & S3C64XX_SPI_QUIRK_CS_AUTO)) in s3c64xx_spi_hwinit()
1134 if (!sdd->port_conf->clk_from_cmu) in s3c64xx_spi_hwinit()
1207 const struct s3c64xx_spi_port_config *port_conf = sdd->port_conf; in s3c64xx_spi_set_port_id() local
1210 if (port_conf->rx_fifomask && port_conf->tx_fifomask) in s3c64xx_spi_set_port_id()
1231 const struct s3c64xx_spi_port_config *port_conf = sdd->port_conf; in s3c64xx_spi_set_fifomask() local
1233 if (port_conf->rx_fifomask) in s3c64xx_spi_set_fifomask()
1234 sdd->rx_fifomask = port_conf->rx_fifomask; in s3c64xx_spi_set_fifomask()
1237 port_conf->rx_lvl_offset; in s3c64xx_spi_set_fifomask()
1239 if (port_conf->tx_fifomask) in s3c64xx_spi_set_fifomask()
1240 sdd->tx_fifomask = port_conf->tx_fifomask; in s3c64xx_spi_set_fifomask()
1277 sdd->port_conf = s3c64xx_spi_get_port_config(pdev); in s3c64xx_spi_probe()
1286 if (sdd->port_conf->fifo_depth) in s3c64xx_spi_probe()
1287 sdd->fifo_depth = sdd->port_conf->fifo_depth; in s3c64xx_spi_probe()
1315 if (sdd->port_conf->has_loopback) in s3c64xx_spi_probe()
1343 if (sdd->port_conf->clk_ioclk) { in s3c64xx_spi_probe()
1474 if (sdd->port_conf->clk_ioclk) { in s3c64xx_spi_runtime_resume()