Lines Matching refs:loader_ishtp_cl
213 struct ishtp_cl *loader_ishtp_cl;
289 struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl;
304 rv = ishtp_cl_send(loader_ishtp_cl, out_msg, out_size);
329 * @loader_ishtp_cl: Client instance to get stats
335 static void process_recv(struct ishtp_cl *loader_ishtp_cl,
341 ishtp_get_client_data(loader_ishtp_cl);
452 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device);
454 while ((rb_in_proc = ishtp_cl_rx_get_rb(loader_ishtp_cl)) != NULL) {
456 process_recv(loader_ishtp_cl, rb_in_proc);
755 struct ishtp_cl *loader_ishtp_cl = client_data->loader_ishtp_cl;
819 ish_hw_reset(ishtp_get_ishtp_device(loader_ishtp_cl));
838 * @loader_ishtp_cl: ISH-TP client instance
843 static int loader_init(struct ishtp_cl *loader_ishtp_cl, bool reset)
847 ishtp_get_client_data(loader_ishtp_cl);
851 rv = ishtp_cl_establish_connection(loader_ishtp_cl,
868 ishtp_cl_destroy_connection(loader_ishtp_cl, reset);
872 static void loader_deinit(struct ishtp_cl *loader_ishtp_cl)
874 ishtp_cl_destroy_connection(loader_ishtp_cl, false);
877 ishtp_cl_free(loader_ishtp_cl);
884 struct ishtp_cl *loader_ishtp_cl;
890 loader_ishtp_cl = client_data->loader_ishtp_cl;
893 ishtp_cl_destroy_connection(loader_ishtp_cl, true);
895 rv = loader_init(loader_ishtp_cl, 1);
915 struct ishtp_cl *loader_ishtp_cl;
925 loader_ishtp_cl = ishtp_cl_allocate(cl_device);
926 if (!loader_ishtp_cl)
929 ishtp_set_drvdata(cl_device, loader_ishtp_cl);
930 ishtp_set_client_data(loader_ishtp_cl, client_data);
931 client_data->loader_ishtp_cl = loader_ishtp_cl;
941 rv = loader_init(loader_ishtp_cl, false);
943 ishtp_cl_free(loader_ishtp_cl);
967 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device);
969 client_data = ishtp_get_client_data(loader_ishtp_cl);
979 loader_deinit(loader_ishtp_cl);
994 struct ishtp_cl *loader_ishtp_cl = ishtp_get_drvdata(cl_device);
996 client_data = ishtp_get_client_data(loader_ishtp_cl);