Lines Matching refs:sun4i_spi_priv
128 struct sun4i_spi_priv { struct
140 static inline void sun4i_spi_drain_fifo(struct sun4i_spi_priv *priv, int len) in sun4i_spi_drain_fifo() argument
151 static inline void sun4i_spi_fill_fifo(struct sun4i_spi_priv *priv, int len) in sun4i_spi_fill_fifo()
163 struct sun4i_spi_priv *priv = dev_get_priv(bus); in sun4i_spi_set_cs()
261 struct sun4i_spi_priv *priv = dev_get_priv(dev); in sun4i_spi_set_clock()
303 struct sun4i_spi_priv *priv = dev_get_priv(dev->parent); in sun4i_spi_claim_bus()
325 struct sun4i_spi_priv *priv = dev_get_priv(dev->parent); in sun4i_spi_release_bus()
338 struct sun4i_spi_priv *priv = dev_get_priv(bus); in sun4i_spi_xfer()
408 struct sun4i_spi_priv *priv = dev_get_priv(dev); in sun4i_spi_set_speed()
455 struct sun4i_spi_priv *priv = dev_get_priv(dev); in sun4i_spi_set_mode()
484 struct sun4i_spi_priv *priv = dev_get_priv(bus); in sun4i_spi_probe()
632 .priv_auto_alloc_size = sizeof(struct sun4i_spi_priv),