Lines Matching refs:pch_spi_data
161 struct pch_spi_data { struct
225 struct pch_spi_data *data = spi_master_get_devdata(master); in pch_spi_writereg()
236 struct pch_spi_data *data = spi_master_get_devdata(master); in pch_spi_readreg()
263 static void pch_spi_handler_sub(struct pch_spi_data *data, u32 reg_spsr_val, in pch_spi_handler_sub()
343 struct pch_spi_data *data = dev_id; in pch_spi_handler()
458 struct pch_spi_data *data = spi_master_get_devdata(pspi->master); in pch_spi_transfer()
498 static inline void pch_spi_select_chip(struct pch_spi_data *data, in pch_spi_select_chip()
516 static void pch_spi_set_tx(struct pch_spi_data *data, int *bpw) in pch_spi_set_tx()
609 static void pch_spi_nomore_transfer(struct pch_spi_data *data) in pch_spi_nomore_transfer()
660 static void pch_spi_set_ir(struct pch_spi_data *data) in pch_spi_set_ir()
694 static void pch_spi_copy_rx_data(struct pch_spi_data *data, int bpw) in pch_spi_copy_rx_data()
715 static void pch_spi_copy_rx_data_for_dma(struct pch_spi_data *data, int bpw) in pch_spi_copy_rx_data_for_dma()
742 static int pch_spi_start_transfer(struct pch_spi_data *data) in pch_spi_start_transfer()
799 struct pch_spi_data *data = arg; in pch_dma_rx_complete()
819 static void pch_spi_request_dma(struct pch_spi_data *data, int bpw) in pch_spi_request_dma()
878 static void pch_spi_release_dma(struct pch_spi_data *data) in pch_spi_release_dma()
895 static void pch_spi_handle_dma(struct pch_spi_data *data, int *bpw) in pch_spi_handle_dma()
1106 struct pch_spi_data *data; in pch_spi_process_messages()
1109 data = container_of(pwork, struct pch_spi_data, work); in pch_spi_process_messages()
1238 struct pch_spi_data *data) in pch_spi_free_resources()
1246 struct pch_spi_data *data) in pch_spi_get_resources()
1261 struct pch_spi_data *data) in pch_free_dma_buf()
1275 struct pch_spi_data *data) in pch_alloc_dma_buf()
1302 struct pch_spi_data *data; in pch_spi_pd_probe()
1307 sizeof(struct pch_spi_data)); in pch_spi_pd_probe()
1402 struct pch_spi_data *data = platform_get_drvdata(plat_dev); in pch_spi_pd_remove()
1446 struct pch_spi_data *data = platform_get_drvdata(pd_dev); in pch_spi_pd_suspend()
1483 struct pch_spi_data *data = platform_get_drvdata(pd_dev); in pch_spi_pd_resume()