Lines Matching refs:cs_hsi_iface
39 struct cs_hsi_iface *hi;
79 struct cs_hsi_iface { struct
123 static void cs_hsi_read_on_control(struct cs_hsi_iface *hi); argument
124 static void cs_hsi_read_on_data(struct cs_hsi_iface *hi);
211 struct cs_hsi_iface *hi = msg->context; in cs_release_cmd()
218 struct cs_hsi_iface *hi = msg->context; in cs_cmd_destructor()
239 static struct hsi_msg *cs_claim_cmd(struct cs_hsi_iface* ssi) in cs_claim_cmd()
252 static void cs_free_cmds(struct cs_hsi_iface *ssi) in cs_free_cmds()
264 static int cs_alloc_cmds(struct cs_hsi_iface *hi) in cs_alloc_cmds()
296 struct cs_hsi_iface *hi = msg->context; in cs_hsi_data_destructor()
318 static int cs_hsi_alloc_data(struct cs_hsi_iface *hi) in cs_hsi_alloc_data()
359 static void cs_hsi_free_data(struct cs_hsi_iface *hi) in cs_hsi_free_data()
365 static inline void __cs_hsi_error_pre(struct cs_hsi_iface *hi, in __cs_hsi_error_pre()
374 static inline void __cs_hsi_error_post(struct cs_hsi_iface *hi) in __cs_hsi_error_post()
391 static void cs_hsi_control_read_error(struct cs_hsi_iface *hi, in cs_hsi_control_read_error()
400 static void cs_hsi_control_write_error(struct cs_hsi_iface *hi, in cs_hsi_control_write_error()
410 static void cs_hsi_data_read_error(struct cs_hsi_iface *hi, struct hsi_msg *msg) in cs_hsi_data_read_error()
417 static void cs_hsi_data_write_error(struct cs_hsi_iface *hi, in cs_hsi_data_write_error()
428 struct cs_hsi_iface *hi = msg->context; in cs_hsi_read_on_control_complete()
460 struct cs_hsi_iface *hi = msg->context; in cs_hsi_peek_on_control_complete()
479 static void cs_hsi_read_on_control(struct cs_hsi_iface *hi) in cs_hsi_read_on_control()
511 struct cs_hsi_iface *hi = msg->context; in cs_hsi_write_on_control_complete()
526 static int cs_hsi_write_on_control(struct cs_hsi_iface *hi, u32 message) in cs_hsi_write_on_control()
575 struct cs_hsi_iface *hi = msg->context; in cs_hsi_read_on_data_complete()
602 struct cs_hsi_iface *hi = msg->context; in cs_hsi_peek_on_data_complete()
650 static void cs_hsi_read_on_data(struct cs_hsi_iface *hi) in cs_hsi_read_on_data()
678 struct cs_hsi_iface *hi = msg->context; in cs_hsi_write_on_data_complete()
691 static int cs_hsi_write_on_data(struct cs_hsi_iface *hi, unsigned int slot) in cs_hsi_write_on_data()
735 static unsigned int cs_hsi_get_state(struct cs_hsi_iface *hi) in cs_hsi_get_state()
740 static int cs_hsi_command(struct cs_hsi_iface *hi, u32 cmd) in cs_hsi_command()
764 static void cs_hsi_set_wakeline(struct cs_hsi_iface *hi, bool new_state) in cs_hsi_set_wakeline()
788 static void set_buffer_sizes(struct cs_hsi_iface *hi, int rx_bufs, int tx_bufs) in set_buffer_sizes()
810 static int check_buf_params(struct cs_hsi_iface *hi, in check_buf_params()
833 static int cs_hsi_data_sync(struct cs_hsi_iface *hi) in cs_hsi_data_sync()
879 static void cs_hsi_data_enable(struct cs_hsi_iface *hi, in cs_hsi_data_enable()
915 static void cs_hsi_data_disable(struct cs_hsi_iface *hi, int old_state) in cs_hsi_data_disable()
924 static int cs_hsi_buf_config(struct cs_hsi_iface *hi, in cs_hsi_buf_config()
984 static int cs_hsi_start(struct cs_hsi_iface **hi, struct hsi_client *cl, in cs_hsi_start()
988 struct cs_hsi_iface *hsi_if = kzalloc(sizeof(*hsi_if), GFP_KERNEL); in cs_hsi_start()
1059 static void cs_hsi_stop(struct cs_hsi_iface *hi) in cs_hsi_stop()
1407 struct cs_hsi_iface *hi; in cs_hsi_client_remove()