Lines Matching refs:dln2_spi

80 struct dln2_spi {  struct
102 static int dln2_spi_enable(struct dln2_spi *dln2, bool enable) in dln2_spi_enable() argument
132 static int dln2_spi_cs_set(struct dln2_spi *dln2, u8 cs_mask) in dln2_spi_cs_set()
154 static int dln2_spi_cs_set_one(struct dln2_spi *dln2, u8 cs) in dln2_spi_cs_set_one()
162 static int dln2_spi_cs_enable(struct dln2_spi *dln2, u8 cs_mask, bool enable) in dln2_spi_cs_enable()
177 static int dln2_spi_cs_enable_all(struct dln2_spi *dln2, bool enable) in dln2_spi_cs_enable_all()
184 static int dln2_spi_get_cs_num(struct dln2_spi *dln2, u16 *cs_num) in dln2_spi_get_cs_num()
210 static int dln2_spi_get_speed(struct dln2_spi *dln2, u16 cmd, u32 *freq) in dln2_spi_get_speed()
237 static int dln2_spi_get_speed_range(struct dln2_spi *dln2, u32 *fmin, u32 *fmax) in dln2_spi_get_speed_range()
259 static int dln2_spi_set_speed(struct dln2_spi *dln2, u32 speed) in dln2_spi_set_speed()
287 static int dln2_spi_set_mode(struct dln2_spi *dln2, u8 mode) in dln2_spi_set_mode()
303 static int dln2_spi_set_bpw(struct dln2_spi *dln2, u8 bpw) in dln2_spi_set_bpw()
317 static int dln2_spi_get_supported_frame_sizes(struct dln2_spi *dln2, in dln2_spi_get_supported_frame_sizes()
419 static int dln2_spi_write_one(struct dln2_spi *dln2, const u8 *data, in dln2_spi_write_one()
448 static int dln2_spi_read_one(struct dln2_spi *dln2, u8 *data, in dln2_spi_read_one()
489 static int dln2_spi_read_write_one(struct dln2_spi *dln2, const u8 *tx_data, in dln2_spi_read_write_one()
546 static int dln2_spi_rdwr(struct dln2_spi *dln2, const u8 *tx_data, in dln2_spi_rdwr()
596 struct dln2_spi *dln2 = spi_controller_get_devdata(host); in dln2_spi_prepare_message()
610 static int dln2_spi_transfer_setup(struct dln2_spi *dln2, u32 speed, in dln2_spi_transfer_setup()
657 struct dln2_spi *dln2 = spi_controller_get_devdata(host); in dln2_spi_transfer_one()
683 struct dln2_spi *dln2; in dln2_spi_probe()
787 struct dln2_spi *dln2 = spi_controller_get_devdata(host); in dln2_spi_remove()
800 struct dln2_spi *dln2 = spi_controller_get_devdata(host); in dln2_spi_suspend()
828 struct dln2_spi *dln2 = spi_controller_get_devdata(host); in dln2_spi_resume()
848 struct dln2_spi *dln2 = spi_controller_get_devdata(host); in dln2_spi_runtime_suspend()
856 struct dln2_spi *dln2 = spi_controller_get_devdata(host); in dln2_spi_runtime_resume()