Lines Matching refs:ti_qspi_priv

101 struct ti_qspi_priv {  struct
117 static void ti_spi_set_speed(struct ti_qspi_priv *priv, uint hz) in ti_spi_set_speed() argument
139 static void ti_qspi_cs_deactivate(struct ti_qspi_priv *priv) in ti_qspi_cs_deactivate()
146 static int __ti_qspi_set_mode(struct ti_qspi_priv *priv, unsigned int mode) in __ti_qspi_set_mode()
159 static int __ti_qspi_claim_bus(struct ti_qspi_priv *priv, int cs) in __ti_qspi_claim_bus()
171 static void __ti_qspi_release_bus(struct ti_qspi_priv *priv) in __ti_qspi_release_bus()
190 static int __ti_qspi_xfer(struct ti_qspi_priv *priv, unsigned int bitlen, in __ti_qspi_xfer()
322 static inline struct ti_qspi_priv *to_ti_qspi_priv(struct spi_slave *slave) in to_ti_qspi_priv()
324 return container_of(slave, struct ti_qspi_priv, slave); in to_ti_qspi_priv()
340 struct ti_qspi_priv *priv = to_ti_qspi_priv(slave); in spi_cs_deactivate()
349 static void ti_spi_setup_spi_register(struct ti_qspi_priv *priv) in ti_spi_setup_spi_register()
373 struct ti_qspi_priv *priv; in spi_setup_slave()
380 priv = spi_alloc_slave(struct ti_qspi_priv, bus, cs); in spi_setup_slave()
408 struct ti_qspi_priv *priv = to_ti_qspi_priv(slave); in spi_free_slave()
414 struct ti_qspi_priv *priv = to_ti_qspi_priv(slave); in spi_claim_bus()
422 struct ti_qspi_priv *priv = to_ti_qspi_priv(slave); in spi_release_bus()
431 struct ti_qspi_priv *priv = to_ti_qspi_priv(slave); in spi_xfer()
440 static void __ti_qspi_setup_memorymap(struct ti_qspi_priv *priv, in __ti_qspi_setup_memorymap()
479 struct ti_qspi_priv *priv = dev_get_priv(bus); in ti_qspi_set_speed()
488 struct ti_qspi_priv *priv = dev_get_priv(bus); in ti_qspi_set_mode()
496 struct ti_qspi_priv *priv; in ti_qspi_claim_bus()
515 struct ti_qspi_priv *priv; in ti_qspi_release_bus()
531 struct ti_qspi_priv *priv; in ti_qspi_xfer()
547 struct ti_qspi_priv *priv = dev_get_priv(bus); in ti_qspi_probe()
595 struct ti_qspi_priv *priv = dev_get_priv(bus); in ti_qspi_ofdata_to_platdata()
622 struct ti_qspi_priv *priv = dev_get_priv(bus); in ti_qspi_child_pre_probe()
648 .priv_auto_alloc_size = sizeof(struct ti_qspi_priv),