Home
last modified time | relevance | path

Searched refs:deactivate_delay_us (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/drivers/spi/
H A Dtegra114_spi.c112 plat->deactivate_delay_us = dev_read_u32_default(bus, in tegra114_spi_ofdata_to_platdata()
116 plat->deactivate_delay_us); in tegra114_spi_ofdata_to_platdata()
149 udelay(plat->deactivate_delay_us); in tegra114_spi_probe()
184 if (pdata->deactivate_delay_us && in spi_cs_activate()
188 if (delay_us < pdata->deactivate_delay_us) in spi_cs_activate()
189 udelay(pdata->deactivate_delay_us - delay_us); in spi_cs_activate()
210 if (pdata->deactivate_delay_us) in spi_cs_deactivate()
H A Dexynos_spi.c27 uint deactivate_delay_us; /* Delay to wait after deactivate */ member
217 if (pdata->deactivate_delay_us && in spi_cs_activate()
221 if (delay_us < pdata->deactivate_delay_us) in spi_cs_activate()
222 udelay(pdata->deactivate_delay_us - delay_us); in spi_cs_activate()
245 if (pdata->deactivate_delay_us) in spi_cs_deactivate()
269 plat->deactivate_delay_us = fdtdec_get_int(blob, node, in exynos_spi_ofdata_to_platdata()
273 plat->deactivate_delay_us); in exynos_spi_ofdata_to_platdata()
H A Dzynq_spi.c58 uint deactivate_delay_us; /* Delay to wait after deactivate */ member
83 plat->deactivate_delay_us = fdtdec_get_int(blob, node, in zynq_spi_ofdata_to_platdata()
148 if (plat->deactivate_delay_us && priv->last_transaction_us) { in spi_cs_activate()
151 if (delay_us < plat->deactivate_delay_us) in spi_cs_activate()
152 udelay(plat->deactivate_delay_us - delay_us); in spi_cs_activate()
180 if (plat->deactivate_delay_us) in spi_cs_deactivate()
H A Dtegra20_sflash.c104 plat->deactivate_delay_us = fdtdec_get_int(blob, node, in tegra20_sflash_ofdata_to_platdata()
108 plat->deactivate_delay_us); in tegra20_sflash_ofdata_to_platdata()
176 if (pdata->deactivate_delay_us && in spi_cs_activate()
180 if (delay_us < pdata->deactivate_delay_us) in spi_cs_activate()
181 udelay(pdata->deactivate_delay_us - delay_us); in spi_cs_activate()
198 if (pdata->deactivate_delay_us) in spi_cs_deactivate()
H A Dtegra210_qspi.c113 plat->deactivate_delay_us = fdtdec_get_int(blob, node, in tegra210_qspi_ofdata_to_platdata()
117 plat->deactivate_delay_us); in tegra210_qspi_ofdata_to_platdata()
170 if (pdata->deactivate_delay_us && in spi_cs_activate()
174 if (delay_us < pdata->deactivate_delay_us) in spi_cs_activate()
175 udelay(pdata->deactivate_delay_us - delay_us); in spi_cs_activate()
196 if (pdata->deactivate_delay_us) in spi_cs_deactivate()
H A Dtegra20_slink.c110 plat->deactivate_delay_us = fdtdec_get_int(blob, node, in tegra30_spi_ofdata_to_platdata()
114 plat->deactivate_delay_us); in tegra30_spi_ofdata_to_platdata()
170 if (pdata->deactivate_delay_us && in spi_cs_activate()
174 if (delay_us < pdata->deactivate_delay_us) in spi_cs_activate()
175 udelay(pdata->deactivate_delay_us - delay_us); in spi_cs_activate()
192 if (pdata->deactivate_delay_us) in spi_cs_deactivate()
H A Drk_spi.c33 uint deactivate_delay_us; /* Delay to wait after deactivate */ member
130 if (plat->deactivate_delay_us && priv->last_transaction_us) { in spi_cs_activate()
133 if (delay_us < plat->deactivate_delay_us) in spi_cs_activate()
134 udelay(plat->deactivate_delay_us - delay_us); in spi_cs_activate()
154 if (plat->deactivate_delay_us) in spi_cs_deactivate()
195 plat->deactivate_delay_us = in rockchip_spi_ofdata_to_platdata()
202 plat->deactivate_delay_us); in rockchip_spi_ofdata_to_platdata()
H A Dmscc_bb_spi.c20 u32 deactivate_delay_us; member
184 mscc_bb_spi_cs_deactivate(priv, priv->deactivate_delay_us); in mscc_bb_spi_xfer()
221 priv->deactivate_delay_us = in mscc_bb_spi_probe()
H A Dtegra_spi.h10 uint deactivate_delay_us; /* Delay to wait after deactivate */ member
/openbmc/u-boot/doc/driver-model/
H A Dspi-howto.txt186 uint deactivate_delay_us; /* Delay to wait after deactivate */
196 uint deactivate_delay_us; /* Delay to wait after deactivate */
235 plat->deactivate_delay_us = fdtdec_get_int(blob, node,
239 plat->deactivate_delay_us);
253 .deactivate_delay_us = ...
513 if (spi_slave->bus->deactivate_delay_us &&
517 if (delay_us < spi_slave->bus->deactivate_delay_us)
518 udelay(spi_slave->bus->deactivate_delay_us - delay_us);
535 if (pdata->deactivate_delay_us &&
539 if (delay_us < pdata->deactivate_delay_us)
[all …]