diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-12-25 12:06:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 13:31:29 -0500 |
commit | 8120e7201cf9795bc98ffb2e3064b657c0f34c05 (patch) | |
tree | b69cde5c2eb81a357f61aa464be98ccfde374a3b /drivers/misc/mei/interrupt.c | |
parent | e46f187487a8c28e64417e51ba628746a5397838 (diff) |
mei: add common prefix to hbm function
1. use mei_hbm_ for basic host bus message function
2. use mei_hbm_cl prefix for host bus messages that operation
on behalf of a client
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/interrupt.c')
-rw-r--r-- | drivers/misc/mei/interrupt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/misc/mei/interrupt.c b/drivers/misc/mei/interrupt.c index 9cbf148e02e0..eb744cc4f72a 100644 --- a/drivers/misc/mei/interrupt.c +++ b/drivers/misc/mei/interrupt.c | |||
@@ -157,7 +157,7 @@ static int _mei_irq_thread_close(struct mei_device *dev, s32 *slots, | |||
157 | 157 | ||
158 | *slots -= mei_data2slots(sizeof(struct hbm_client_connect_request)); | 158 | *slots -= mei_data2slots(sizeof(struct hbm_client_connect_request)); |
159 | 159 | ||
160 | if (mei_disconnect(dev, cl)) { | 160 | if (mei_hbm_cl_disconnect_req(dev, cl)) { |
161 | cl->status = 0; | 161 | cl->status = 0; |
162 | cb_pos->buf_idx = 0; | 162 | cb_pos->buf_idx = 0; |
163 | list_move_tail(&cb_pos->list, &cmpl_list->list); | 163 | list_move_tail(&cb_pos->list, &cmpl_list->list); |
@@ -407,7 +407,7 @@ static int _mei_irq_thread_read(struct mei_device *dev, s32 *slots, | |||
407 | 407 | ||
408 | *slots -= mei_data2slots(sizeof(struct hbm_flow_control)); | 408 | *slots -= mei_data2slots(sizeof(struct hbm_flow_control)); |
409 | 409 | ||
410 | if (mei_send_flow_control(dev, cl)) { | 410 | if (mei_hbm_cl_flow_control_req(dev, cl)) { |
411 | cl->status = -ENODEV; | 411 | cl->status = -ENODEV; |
412 | cb_pos->buf_idx = 0; | 412 | cb_pos->buf_idx = 0; |
413 | list_move_tail(&cb_pos->list, &cmpl_list->list); | 413 | list_move_tail(&cb_pos->list, &cmpl_list->list); |
@@ -443,8 +443,8 @@ static int _mei_irq_thread_ioctl(struct mei_device *dev, s32 *slots, | |||
443 | } | 443 | } |
444 | 444 | ||
445 | cl->state = MEI_FILE_CONNECTING; | 445 | cl->state = MEI_FILE_CONNECTING; |
446 | *slots -= mei_data2slots(sizeof(struct hbm_client_connect_request)); | 446 | *slots -= mei_data2slots(sizeof(struct hbm_client_connect_request)); |
447 | if (mei_connect(dev, cl)) { | 447 | if (mei_hbm_cl_connect_req(dev, cl)) { |
448 | cl->status = -ENODEV; | 448 | cl->status = -ENODEV; |
449 | cb_pos->buf_idx = 0; | 449 | cb_pos->buf_idx = 0; |
450 | list_del(&cb_pos->list); | 450 | list_del(&cb_pos->list); |
@@ -927,7 +927,7 @@ irqreturn_t mei_interrupt_thread_handler(int irq, void *dev_id) | |||
927 | /* link is established | 927 | /* link is established |
928 | * start sending messages. | 928 | * start sending messages. |
929 | */ | 929 | */ |
930 | mei_host_start_message(dev); | 930 | mei_hbm_start_req(dev); |
931 | mutex_unlock(&dev->device_lock); | 931 | mutex_unlock(&dev->device_lock); |
932 | return IRQ_HANDLED; | 932 | return IRQ_HANDLED; |
933 | } else { | 933 | } else { |