Lines Matching refs:spi_sh_data
72 struct spi_sh_data { struct
81 static void spi_sh_write(struct spi_sh_data *ss, unsigned long data, in spi_sh_write() argument
90 static unsigned long spi_sh_read(struct spi_sh_data *ss, unsigned long offset) in spi_sh_read()
100 static void spi_sh_set_bit(struct spi_sh_data *ss, unsigned long val, in spi_sh_set_bit()
110 static void spi_sh_clear_bit(struct spi_sh_data *ss, unsigned long val, in spi_sh_clear_bit()
120 static void clear_fifo(struct spi_sh_data *ss) in clear_fifo()
126 static int spi_sh_wait_receive_buffer(struct spi_sh_data *ss) in spi_sh_wait_receive_buffer()
138 static int spi_sh_wait_write_buffer_empty(struct spi_sh_data *ss) in spi_sh_wait_write_buffer_empty()
150 static int spi_sh_send(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_send()
215 static int spi_sh_receive(struct spi_sh_data *ss, struct spi_message *mesg, in spi_sh_receive()
274 struct spi_sh_data *ss = spi_controller_get_devdata(ctlr); in spi_sh_transfer_one_message()
330 struct spi_sh_data *ss = spi_controller_get_devdata(spi->controller); in spi_sh_setup()
349 struct spi_sh_data *ss = spi_controller_get_devdata(spi->controller); in spi_sh_cleanup()
359 struct spi_sh_data *ss = (struct spi_sh_data *)_ss; in spi_sh_irq()
382 struct spi_sh_data *ss = platform_get_drvdata(pdev); in spi_sh_remove()
392 struct spi_sh_data *ss; in spi_sh_probe()
406 host = devm_spi_alloc_host(&pdev->dev, sizeof(struct spi_sh_data)); in spi_sh_probe()