/external/u-boot/drivers/spi/ |
D | fsl_dspi.c | 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 [all …]
|
D | atmel_spi.c | 246 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in atmel_spi_claim_bus() local 248 u32 cs = slave_plat->cs; in atmel_spi_claim_bus() 296 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in atmel_spi_cs_activate() local 297 u32 cs = slave_plat->cs; in atmel_spi_cs_activate() 311 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in atmel_spi_cs_deactivate() local 312 u32 cs = slave_plat->cs; in atmel_spi_cs_deactivate()
|
D | altera_spi.c | 90 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in altera_spi_xfer() local 99 bus->seq, slave_plat->cs, bitlen, bytes, flags); in altera_spi_xfer() 114 spi_cs_activate(dev, slave_plat->cs); in altera_spi_xfer()
|
D | xilinx_spi.c | 171 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in xilinx_spi_xfer() local 180 bus->seq, slave_plat->cs, bitlen, bytes, flags); in xilinx_spi_xfer() 204 spi_cs_activate(dev, slave_plat->cs); in xilinx_spi_xfer()
|
D | davinci_spi.c | 493 struct dm_spi_slave_platdata *slave_plat = in davinci_spi_claim_bus() local 498 if (slave_plat->cs >= ds->num_cs) { in davinci_spi_claim_bus() 502 ds->half_duplex = slave_plat->mode & SPI_PREAMBLE; in davinci_spi_claim_bus() 504 return __davinci_spi_claim_bus(ds, slave_plat->cs); in davinci_spi_claim_bus()
|
D | omap3_spi.c | 588 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in omap3_spi_claim_bus() local 590 priv->cs = slave_plat->cs; in omap3_spi_claim_bus() 591 priv->freq = slave_plat->max_hz; in omap3_spi_claim_bus() 612 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in omap3_spi_set_wordlen() local 614 priv->cs = slave_plat->cs; in omap3_spi_set_wordlen()
|
D | zynq_spi.c | 214 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in zynq_spi_xfer() local 222 bus->seq, slave_plat->cs, bitlen, len, flags); in zynq_spi_xfer() 229 priv->cs = slave_plat->cs; in zynq_spi_xfer()
|
D | pic32_spi.c | 237 struct dm_spi_slave_platdata *slave_plat; in pic32_spi_xfer() local 245 slave_plat = dev_get_parent_platdata(slave); in pic32_spi_xfer() 248 bus->seq, slave_plat->cs, flags); in pic32_spi_xfer()
|
D | stm32_qspi.c | 518 struct dm_spi_slave_platdata *slave_plat; in stm32_qspi_claim_bus() local 523 slave_plat = dev_get_parent_platdata(dev); in stm32_qspi_claim_bus() 525 if (slave_plat->cs >= STM32_MAX_NORCHIP) in stm32_qspi_claim_bus() 528 _stm32_qspi_set_cs(priv, slave_plat->cs); in stm32_qspi_claim_bus()
|
D | rk_spi.c | 360 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in rockchip_spi_xfer() local 374 spi_cs_activate(dev, slave_plat->cs); in rockchip_spi_xfer() 408 spi_cs_deactivate(dev, slave_plat->cs); in rockchip_spi_xfer()
|
D | zynq_qspi.c | 519 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in zynq_qspi_xfer() local 521 priv->cs = slave_plat->cs; in zynq_qspi_xfer() 527 bus->seq, slave_plat->cs, bitlen, priv->len, flags); in zynq_qspi_xfer()
|
D | ti_qspi.c | 493 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in ti_qspi_claim_bus() local 501 if (slave_plat->cs > priv->num_cs) { in ti_qspi_claim_bus() 508 return __ti_qspi_claim_bus(priv, slave_plat->cs); in ti_qspi_claim_bus()
|
D | atcspi200_spi.c | 311 struct dm_spi_slave_platdata *slave_plat = in atcspi200_spi_claim_bus() local 316 if (slave_plat->cs >= ns->num_cs) { in atcspi200_spi_claim_bus()
|
D | mxc_spi.c | 535 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in mxc_spi_claim_bus() local 537 return mxc_spi_claim_bus_internal(mxcs, slave_plat->cs); in mxc_spi_claim_bus()
|
D | fsl_qspi.c | 1195 struct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev); in fsl_qspi_claim_bus() local 1209 priv->cur_amba_base = priv->amba_base[slave_plat->cs]; in fsl_qspi_claim_bus()
|