Home
last modified time | relevance | path

Searched refs:ipc_task (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_task_queue.c14 struct ipc_task_queue *ipc_task = (struct ipc_task_queue *)data; in ipc_task_queue_handler() local
15 unsigned int q_rpos = ipc_task->q_rpos; in ipc_task_queue_handler()
18 while (q_rpos != ipc_task->q_wpos) { in ipc_task_queue_handler()
20 struct ipc_task_queue_args *args = &ipc_task->args[q_rpos]; in ipc_task_queue_handler()
52 ipc_task->q_rpos = q_rpos; in ipc_task_queue_handler()
57 static void ipc_task_queue_cleanup(struct ipc_task_queue *ipc_task) in ipc_task_queue_cleanup() argument
59 unsigned int q_rpos = ipc_task->q_rpos; in ipc_task_queue_cleanup()
61 while (q_rpos != ipc_task->q_wpos) { in ipc_task_queue_cleanup()
62 struct ipc_task_queue_args *args = &ipc_task->args[q_rpos]; in ipc_task_queue_cleanup()
71 ipc_task->q_rpos = q_rpos; in ipc_task_queue_cleanup()
[all …]
H A Diosm_ipc_task_queue.h60 struct ipc_task { struct
71 int ipc_task_init(struct ipc_task *ipc_task);
77 void ipc_task_deinit(struct ipc_task *ipc_task);
H A Diosm_ipc_imem.c1260 ipc_task_deinit(ipc_imem->ipc_task); in ipc_imem_cleanup()
1262 kfree(ipc_imem->ipc_task); in ipc_imem_cleanup()
1362 ipc_imem->ipc_task = kzalloc(sizeof(*ipc_imem->ipc_task), in ipc_imem_init()
1366 if (!ipc_imem->ipc_task) in ipc_imem_init()
1369 if (ipc_task_init(ipc_imem->ipc_task)) in ipc_imem_init()
1372 ipc_imem->ipc_task->dev = ipc_imem->dev; in ipc_imem_init()
1432 ipc_task_deinit(ipc_imem->ipc_task); in ipc_imem_init()
1434 kfree(ipc_imem->ipc_task); in ipc_imem_init()
H A Diosm_ipc_imem.h337 struct ipc_task *ipc_task; member