Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wwan/iosm/
Diosm_ipc_mux.c9 static int ipc_mux_channel_create(struct iosm_mux *ipc_mux) in ipc_mux_channel_create() argument
13 channel_id = ipc_imem_channel_alloc(ipc_mux->imem, ipc_mux->instance_id, in ipc_mux_channel_create()
17 dev_err(ipc_mux->dev, in ipc_mux_channel_create()
19 ipc_mux->state = MUX_S_ERROR; in ipc_mux_channel_create()
20 ipc_mux->event = MUX_E_NOT_APPLICABLE; in ipc_mux_channel_create()
25 ipc_mux->channel = ipc_imem_channel_open(ipc_mux->imem, channel_id, in ipc_mux_channel_create()
28 if (!ipc_mux->channel) { in ipc_mux_channel_create()
29 dev_err(ipc_mux->dev, "ipc_imem_channel_open failed"); in ipc_mux_channel_create()
30 ipc_mux->state = MUX_S_ERROR; in ipc_mux_channel_create()
31 ipc_mux->event = MUX_E_NOT_APPLICABLE; in ipc_mux_channel_create()
[all …]
Diosm_ipc_mux_codec.c16 struct iosm_mux *ipc_mux = ipc_imem->mux; in ipc_mux_tq_cmd_send() local
19 skb_queue_tail(&ipc_mux->channel->ul_list, acb->skb); in ipc_mux_tq_cmd_send()
20 ipc_imem_ul_send(ipc_mux->imem); in ipc_mux_tq_cmd_send()
25 static int ipc_mux_acb_send(struct iosm_mux *ipc_mux, bool blocking) in ipc_mux_acb_send() argument
27 struct completion *completion = &ipc_mux->channel->ul_sem; in ipc_mux_acb_send()
28 int ret = ipc_task_queue_send_task(ipc_mux->imem, ipc_mux_tq_cmd_send, in ipc_mux_acb_send()
29 0, &ipc_mux->acb, in ipc_mux_acb_send()
30 sizeof(ipc_mux->acb), false); in ipc_mux_acb_send()
32 dev_err(ipc_mux->dev, "unable to send mux command"); in ipc_mux_acb_send()
47 dev_err(ipc_mux->dev, "ch[%d] timeout", in ipc_mux_acb_send()
[all …]
Diosm_ipc_mux_codec.h263 void ipc_mux_dl_decode(struct iosm_mux *ipc_mux, struct sk_buff *skb);
278 int ipc_mux_dl_acb_send_cmds(struct iosm_mux *ipc_mux, u32 cmd_type, u8 if_id,
301 int ipc_mux_ul_trigger_encode(struct iosm_mux *ipc_mux, int if_id,
309 bool ipc_mux_ul_data_encode(struct iosm_mux *ipc_mux);
317 void ipc_mux_ul_encoded_process(struct iosm_mux *ipc_mux, struct sk_buff *skb);
319 void ipc_mux_ul_adb_finish(struct iosm_mux *ipc_mux);
321 void ipc_mux_ul_adb_update_ql(struct iosm_mux *ipc_mux, struct mux_adb *p_adb,
Diosm_ipc_mux.h401 void ipc_mux_deinit(struct iosm_mux *ipc_mux);
409 void ipc_mux_check_n_restart_tx(struct iosm_mux *ipc_mux);
417 enum ipc_mux_protocol ipc_mux_get_active_protocol(struct iosm_mux *ipc_mux);
426 int ipc_mux_open_session(struct iosm_mux *ipc_mux, int session_nr);
435 int ipc_mux_close_session(struct iosm_mux *ipc_mux, int session_nr);
444 int ipc_mux_get_max_sessions(struct iosm_mux *ipc_mux);