Lines Matching refs:slave_plat
524 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in fsl_dspi_child_pre_probe() local
527 if (slave_plat->cs >= priv->num_chipselect) { in fsl_dspi_child_pre_probe()
529 slave_plat->cs, priv->num_chipselect - 1); in fsl_dspi_child_pre_probe()
533 priv->ctar_val[slave_plat->cs] = DSPI_CTAR_DEFAULT_VALUE; in fsl_dspi_child_pre_probe()
536 slave_plat->cs, slave_plat->max_hz, slave_plat->mode); in fsl_dspi_child_pre_probe()
583 struct dm_spi_slave_platdata *slave_plat = in fsl_dspi_claim_bus() local
589 cpu_dspi_claim_bus(bus->seq, slave_plat->cs); in fsl_dspi_claim_bus()
592 fsl_dspi_cfg_ctar_mode(priv, slave_plat->cs, priv->mode); in fsl_dspi_claim_bus()
595 fsl_dspi_cfg_cs_active_state(priv, slave_plat->cs, in fsl_dspi_claim_bus()
614 struct dm_spi_slave_platdata *slave_plat = in fsl_dspi_release_bus() local
621 cpu_dspi_release_bus(bus->seq, slave_plat->cs); in fsl_dspi_release_bus()
670 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in fsl_dspi_xfer() local
676 return dspi_xfer(priv, slave_plat->cs, bitlen, dout, din, flags); in fsl_dspi_xfer()