aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/mei_dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r--drivers/misc/mei/mei_dev.h29
1 files changed, 24 insertions, 5 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index 32c951ab1221..57a5a4e4ee4d 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -286,7 +286,6 @@ int mei_task_initialize_clients(void *data);
286int mei_initialize_clients(struct mei_device *dev); 286int mei_initialize_clients(struct mei_device *dev);
287int mei_disconnect_host_client(struct mei_device *dev, struct mei_cl *cl); 287int mei_disconnect_host_client(struct mei_device *dev, struct mei_cl *cl);
288void mei_remove_client_from_file_list(struct mei_device *dev, u8 host_client_id); 288void mei_remove_client_from_file_list(struct mei_device *dev, u8 host_client_id);
289void mei_host_init_iamthif(struct mei_device *dev);
290void mei_allocate_me_clients_storage(struct mei_device *dev); 289void mei_allocate_me_clients_storage(struct mei_device *dev);
291 290
292 291
@@ -362,17 +361,37 @@ int mei_ioctl_connect_client(struct file *file,
362 361
363int mei_start_read(struct mei_device *dev, struct mei_cl *cl); 362int mei_start_read(struct mei_device *dev, struct mei_cl *cl);
364 363
365int amthi_write(struct mei_device *dev, struct mei_cl_cb *priv_cb);
366 364
367int amthi_read(struct mei_device *dev, struct file *file, 365/*
366 * AMTHIF - AMT Host Interface Functions
367 */
368void mei_amthif_reset_params(struct mei_device *dev);
369
370void mei_amthif_host_init(struct mei_device *dev);
371
372int mei_amthif_write(struct mei_device *dev, struct mei_cl_cb *priv_cb);
373
374int mei_amthif_read(struct mei_device *dev, struct file *file,
368 char __user *ubuf, size_t length, loff_t *offset); 375 char __user *ubuf, size_t length, loff_t *offset);
369 376
370struct mei_cl_cb *find_amthi_read_list_entry(struct mei_device *dev, 377struct mei_cl_cb *mei_amthif_find_read_list_entry(struct mei_device *dev,
371 struct file *file); 378 struct file *file);
372 379
373void mei_run_next_iamthif_cmd(struct mei_device *dev); 380void mei_amthif_run_next_cmd(struct mei_device *dev);
381
382
383int mei_amthif_read_message(struct mei_cl_cb *complete_list,
384 struct mei_device *dev, struct mei_msg_hdr *mei_hdr);
374 385
386int mei_amthif_irq_process_completed(struct mei_device *dev, s32 *slots,
387 struct mei_cl_cb *cb_pos,
388 struct mei_cl *cl,
389 struct mei_cl_cb *cmpl_list);
375 390
391void mei_amthif_complete(struct mei_device *dev, struct mei_cl_cb *cb);
392int mei_amthif_irq_read_message(struct mei_cl_cb *complete_list,
393 struct mei_device *dev, struct mei_msg_hdr *mei_hdr);
394int mei_amthif_irq_read(struct mei_device *dev, s32 *slots);
376 395
377/* 396/*
378 * Register Access Function 397 * Register Access Function