Lines Matching refs:ti_qspi_priv

100 struct ti_qspi_priv {  struct
116 static void ti_spi_set_speed(struct ti_qspi_priv *priv, uint hz) in ti_spi_set_speed() argument
138 static void ti_qspi_cs_deactivate(struct ti_qspi_priv *priv) in ti_qspi_cs_deactivate()
145 static int __ti_qspi_set_mode(struct ti_qspi_priv *priv, unsigned int mode) in __ti_qspi_set_mode()
158 static int __ti_qspi_claim_bus(struct ti_qspi_priv *priv, int cs) in __ti_qspi_claim_bus()
170 static void __ti_qspi_release_bus(struct ti_qspi_priv *priv) in __ti_qspi_release_bus()
189 static int __ti_qspi_xfer(struct ti_qspi_priv *priv, unsigned int bitlen, in __ti_qspi_xfer()
321 static inline struct ti_qspi_priv *to_ti_qspi_priv(struct spi_slave *slave) in to_ti_qspi_priv()
323 return container_of(slave, struct ti_qspi_priv, slave); in to_ti_qspi_priv()
339 struct ti_qspi_priv *priv = to_ti_qspi_priv(slave); in spi_cs_deactivate()
348 static void ti_spi_setup_spi_register(struct ti_qspi_priv *priv) in ti_spi_setup_spi_register()
372 struct ti_qspi_priv *priv; in spi_setup_slave()
379 priv = spi_alloc_slave(struct ti_qspi_priv, bus, cs); in spi_setup_slave()
407 struct ti_qspi_priv *priv = to_ti_qspi_priv(slave); in spi_free_slave()
413 struct ti_qspi_priv *priv = to_ti_qspi_priv(slave); in spi_claim_bus()
421 struct ti_qspi_priv *priv = to_ti_qspi_priv(slave); in spi_release_bus()
430 struct ti_qspi_priv *priv = to_ti_qspi_priv(slave); in spi_xfer()
439 static void __ti_qspi_setup_memorymap(struct ti_qspi_priv *priv, in __ti_qspi_setup_memorymap()
478 struct ti_qspi_priv *priv = dev_get_priv(bus); in ti_qspi_set_speed()
487 struct ti_qspi_priv *priv = dev_get_priv(bus); in ti_qspi_set_mode()
495 struct ti_qspi_priv *priv; in ti_qspi_claim_bus()
514 struct ti_qspi_priv *priv; in ti_qspi_release_bus()
530 struct ti_qspi_priv *priv; in ti_qspi_xfer()
546 struct ti_qspi_priv *priv = dev_get_priv(bus); in ti_qspi_probe()
594 struct ti_qspi_priv *priv = dev_get_priv(bus); in ti_qspi_ofdata_to_platdata()
621 struct ti_qspi_priv *priv = dev_get_priv(bus); in ti_qspi_child_pre_probe()
647 .priv_auto_alloc_size = sizeof(struct ti_qspi_priv),