Home
last modified time | relevance | path

Searched refs:ipc_protocol (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/net/wwan/iosm/
Diosm_ipc_protocol.c12 int ipc_protocol_tq_msg_send(struct iosm_protocol *ipc_protocol, in ipc_protocol_tq_msg_send() argument
17 int index = ipc_protocol_msg_prep(ipc_protocol->imem, msg_type, in ipc_protocol_tq_msg_send()
24 ipc_protocol->rsp_ring[index] = response; in ipc_protocol_tq_msg_send()
25 ipc_protocol_msg_hp_update(ipc_protocol->imem); in ipc_protocol_tq_msg_send()
36 struct iosm_protocol *ipc_protocol = ipc_imem->ipc_protocol; in ipc_protocol_tq_msg_send_cb() local
38 return ipc_protocol_tq_msg_send(ipc_protocol, send_args->msg_type, in ipc_protocol_tq_msg_send_cb()
49 struct iosm_protocol *ipc_protocol = ipc_imem->ipc_protocol; in ipc_protocol_tq_msg_remove() local
51 ipc_protocol->rsp_ring[arg] = NULL; in ipc_protocol_tq_msg_remove()
55 int ipc_protocol_msg_send(struct iosm_protocol *ipc_protocol, in ipc_protocol_msg_send() argument
64 exec_timeout = (ipc_protocol_get_ap_exec_stage(ipc_protocol) == in ipc_protocol_msg_send()
[all …]
Diosm_ipc_protocol_ops.c11 ipc_protocol_free_msg_get(struct iosm_protocol *ipc_protocol, int *index) in ipc_protocol_free_msg_get() argument
13 u32 head = le32_to_cpu(ipc_protocol->p_ap_shm->msg_head); in ipc_protocol_free_msg_get()
17 if (new_head == le32_to_cpu(ipc_protocol->p_ap_shm->msg_tail)) { in ipc_protocol_free_msg_get()
18 dev_err(ipc_protocol->dev, "message ring is full"); in ipc_protocol_free_msg_get()
25 msg = &ipc_protocol->p_ap_shm->msg_ring[head]; in ipc_protocol_free_msg_get()
37 struct iosm_protocol *ipc_protocol = ipc_imem->ipc_protocol; in ipc_protocol_msg_hp_update() local
38 u32 head = le32_to_cpu(ipc_protocol->p_ap_shm->msg_head); in ipc_protocol_msg_hp_update()
42 ipc_protocol->p_ap_shm->msg_head = cpu_to_le32(new_head); in ipc_protocol_msg_hp_update()
43 ipc_protocol->old_msg_tail = in ipc_protocol_msg_hp_update()
44 le32_to_cpu(ipc_protocol->p_ap_shm->msg_tail); in ipc_protocol_msg_hp_update()
[all …]
Diosm_ipc_protocol.h152 int ipc_protocol_tq_msg_send(struct iosm_protocol *ipc_protocol,
165 int ipc_protocol_msg_send(struct iosm_protocol *ipc_protocol,
175 bool ipc_protocol_suspend(struct iosm_protocol *ipc_protocol);
183 void ipc_protocol_s2idle_sleep(struct iosm_protocol *ipc_protocol, bool sleep);
191 bool ipc_protocol_resume(struct iosm_protocol *ipc_protocol);
200 bool ipc_protocol_pm_dev_sleep_handle(struct iosm_protocol *ipc_protocol);
210 void ipc_protocol_doorbell_trigger(struct iosm_protocol *ipc_protocol,
221 ipc_protocol_sleep_notification_string(struct iosm_protocol *ipc_protocol);
235 void ipc_protocol_deinit(struct iosm_protocol *ipc_protocol);
Diosm_ipc_protocol_ops.h364 bool ipc_protocol_ul_td_send(struct iosm_protocol *ipc_protocol,
375 struct sk_buff *ipc_protocol_ul_td_process(struct iosm_protocol *ipc_protocol,
385 bool ipc_protocol_dl_td_prepare(struct iosm_protocol *ipc_protocol,
395 struct sk_buff *ipc_protocol_dl_td_process(struct iosm_protocol *ipc_protocol,
406 void ipc_protocol_get_head_tail_index(struct iosm_protocol *ipc_protocol,
416 *ipc_protocol);
423 void ipc_protocol_pipe_cleanup(struct iosm_protocol *ipc_protocol,
433 ipc_protocol_get_ap_exec_stage(struct iosm_protocol *ipc_protocol);
443 *ipc_protocol);
Diosm_ipc_imem.c34 return ipc_protocol_tq_msg_send(ipc_imem->ipc_protocol, in ipc_imem_msg_send_device_sleep()
45 return ipc_protocol_dl_td_prepare(ipc_imem->ipc_protocol, pipe); in ipc_imem_dl_skb_alloc()
72 ipc_protocol_doorbell_trigger(ipc_imem->ipc_protocol, in ipc_imem_tq_td_alloc_timer()
100 ipc_protocol_doorbell_trigger(ipc_imem->ipc_protocol, in ipc_imem_tq_fast_update_timer_cb()
166 ipc_protocol_tq_msg_send(ipc_imem->ipc_protocol, in ipc_imem_msg_send_feature_set()
170 ipc_protocol_msg_send(ipc_imem->ipc_protocol, in ipc_imem_msg_send_feature_set()
183 ipc_protocol_doorbell_trigger(ipc_imem->ipc_protocol, in ipc_imem_td_update_timer_start()
243 ipc_protocol_ul_td_send(ipc_imem->ipc_protocol, in ipc_imem_ul_write_td()
247 ipc_protocol_ul_td_send(ipc_imem->ipc_protocol, in ipc_imem_ul_write_td()
255 ipc_protocol_doorbell_trigger(ipc_imem->ipc_protocol, in ipc_imem_ul_write_td()
[all …]
Diosm_ipc_pm.h128 void ipc_pm_init(struct iosm_protocol *ipc_protocol);
134 void ipc_pm_deinit(struct iosm_protocol *ipc_protocol);
Diosm_ipc_pm.c298 void ipc_pm_init(struct iosm_protocol *ipc_protocol) in ipc_pm_init() argument
300 struct iosm_imem *ipc_imem = ipc_protocol->imem; in ipc_pm_init()
301 struct iosm_pm *ipc_pm = &ipc_protocol->pm; in ipc_pm_init()
Diosm_ipc_mux.c297 ipc_mux->ipc_protocol = imem->ipc_protocol; in ipc_mux_init()
Diosm_ipc_mux.h353 struct iosm_protocol *ipc_protocol; member
Diosm_ipc_imem_ops.c247 ipc_protocol_get_head_tail_index(ipc_imem->ipc_protocol, in ipc_imem_sys_port_close()
436 ipc_protocol_get_head_tail_index(ipc_imem->ipc_protocol, in ipc_imem_sys_devlink_close()
Diosm_ipc_imem.h336 struct iosm_protocol *ipc_protocol; member