diff options
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 29 |
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); | |||
286 | int mei_initialize_clients(struct mei_device *dev); | 286 | int mei_initialize_clients(struct mei_device *dev); |
287 | int mei_disconnect_host_client(struct mei_device *dev, struct mei_cl *cl); | 287 | int mei_disconnect_host_client(struct mei_device *dev, struct mei_cl *cl); |
288 | void mei_remove_client_from_file_list(struct mei_device *dev, u8 host_client_id); | 288 | void mei_remove_client_from_file_list(struct mei_device *dev, u8 host_client_id); |
289 | void mei_host_init_iamthif(struct mei_device *dev); | ||
290 | void mei_allocate_me_clients_storage(struct mei_device *dev); | 289 | void 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 | ||
363 | int mei_start_read(struct mei_device *dev, struct mei_cl *cl); | 362 | int mei_start_read(struct mei_device *dev, struct mei_cl *cl); |
364 | 363 | ||
365 | int amthi_write(struct mei_device *dev, struct mei_cl_cb *priv_cb); | ||
366 | 364 | ||
367 | int amthi_read(struct mei_device *dev, struct file *file, | 365 | /* |
366 | * AMTHIF - AMT Host Interface Functions | ||
367 | */ | ||
368 | void mei_amthif_reset_params(struct mei_device *dev); | ||
369 | |||
370 | void mei_amthif_host_init(struct mei_device *dev); | ||
371 | |||
372 | int mei_amthif_write(struct mei_device *dev, struct mei_cl_cb *priv_cb); | ||
373 | |||
374 | int 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 | ||
370 | struct mei_cl_cb *find_amthi_read_list_entry(struct mei_device *dev, | 377 | struct mei_cl_cb *mei_amthif_find_read_list_entry(struct mei_device *dev, |
371 | struct file *file); | 378 | struct file *file); |
372 | 379 | ||
373 | void mei_run_next_iamthif_cmd(struct mei_device *dev); | 380 | void mei_amthif_run_next_cmd(struct mei_device *dev); |
381 | |||
382 | |||
383 | int mei_amthif_read_message(struct mei_cl_cb *complete_list, | ||
384 | struct mei_device *dev, struct mei_msg_hdr *mei_hdr); | ||
374 | 385 | ||
386 | int 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 | ||
391 | void mei_amthif_complete(struct mei_device *dev, struct mei_cl_cb *cb); | ||
392 | int mei_amthif_irq_read_message(struct mei_cl_cb *complete_list, | ||
393 | struct mei_device *dev, struct mei_msg_hdr *mei_hdr); | ||
394 | int mei_amthif_irq_read(struct mei_device *dev, s32 *slots); | ||
376 | 395 | ||
377 | /* | 396 | /* |
378 | * Register Access Function | 397 | * Register Access Function |