Home
last modified time | relevance | path

Searched refs:ipc_devlink (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/wwan/iosm/
Diosm_ipc_flash.c60 static int ipc_flash_send_data(struct iosm_devlink *ipc_devlink, u32 size, in ipc_flash_send_data() argument
69 dev_err(ipc_devlink->dev, "EBL2 pack failed for pack_id:%d", in ipc_flash_send_data()
74 ret = ipc_imem_sys_devlink_write(ipc_devlink, (u8 *)&flash_req, in ipc_flash_send_data()
77 dev_err(ipc_devlink->dev, "EBL Header write failed for Id:%x", in ipc_flash_send_data()
82 ret = ipc_imem_sys_devlink_write(ipc_devlink, payload, payload_length); in ipc_flash_send_data()
84 dev_err(ipc_devlink->dev, "EBL Payload write failed for Id:%x", in ipc_flash_send_data()
104 ipc_imem->ipc_devlink->devlink_sio.channel = in ipc_flash_link_establish()
107 if (!ipc_imem->ipc_devlink->devlink_sio.channel) in ipc_flash_link_establish()
110 if (ipc_imem_sys_devlink_read(ipc_imem->ipc_devlink, ler_data, in ipc_flash_link_establish()
120 ipc_imem_sys_devlink_close(ipc_imem->ipc_devlink); in ipc_flash_link_establish()
[all …]
Diosm_ipc_devlink.c26 struct iosm_devlink *ipc_devlink = devlink_priv(dl); in ipc_devlink_get_param() local
29 ctx->val.vu8 = ipc_devlink->param.erase_full_flash; in ipc_devlink_get_param()
38 struct iosm_devlink *ipc_devlink = devlink_priv(dl); in ipc_devlink_set_param() local
41 ipc_devlink->param.erase_full_flash = ctx->val.vu8; in ipc_devlink_set_param()
81 struct iosm_devlink *ipc_devlink = devlink_priv(devlink); in ipc_devlink_flash_update() local
103 rc = ipc_flash_boot_psi(ipc_devlink, params->fw); in ipc_devlink_flash_update()
106 rc = ipc_flash_boot_ebl(ipc_devlink, params->fw); in ipc_devlink_flash_update()
109 rc = ipc_flash_boot_set_capabilities(ipc_devlink, mdm_rsp); in ipc_devlink_flash_update()
112 rc = ipc_flash_read_swid(ipc_devlink, mdm_rsp); in ipc_devlink_flash_update()
115 rc = ipc_flash_send_fls(ipc_devlink, params->fw, mdm_rsp); in ipc_devlink_flash_update()
[all …]
Diosm_ipc_flash.h214 int ipc_flash_boot_psi(struct iosm_devlink *ipc_devlink,
217 int ipc_flash_boot_ebl(struct iosm_devlink *ipc_devlink,
220 int ipc_flash_boot_set_capabilities(struct iosm_devlink *ipc_devlink,
225 int ipc_flash_read_swid(struct iosm_devlink *ipc_devlink, u8 *mdm_rsp);
227 int ipc_flash_send_fls(struct iosm_devlink *ipc_devlink,
Diosm_ipc_imem_ops.h111 void ipc_imem_sys_devlink_close(struct iosm_devlink *ipc_devlink);
120 void ipc_imem_sys_devlink_notify_rx(struct iosm_devlink *ipc_devlink,
132 int ipc_imem_sys_devlink_read(struct iosm_devlink *ipc_devlink, u8 *data,
142 int ipc_imem_sys_devlink_write(struct iosm_devlink *ipc_devlink,
Diosm_ipc_imem_ops.c363 ipc_imem->ipc_devlink->devlink_sio.channel_id = channel_id; in ipc_imem_sys_devlink_open()
383 channel_id = ipc_imem->ipc_devlink->devlink_sio.channel_id; in ipc_imem_sys_devlink_open()
396 void ipc_imem_sys_devlink_close(struct iosm_devlink *ipc_devlink) in ipc_imem_sys_devlink_close() argument
398 struct iosm_imem *ipc_imem = ipc_devlink->pcie->imem; in ipc_imem_sys_devlink_close()
405 channel = ipc_imem->ipc_devlink->devlink_sio.channel; in ipc_imem_sys_devlink_close()
461 void ipc_imem_sys_devlink_notify_rx(struct iosm_devlink *ipc_devlink, in ipc_imem_sys_devlink_notify_rx() argument
464 skb_queue_tail(&ipc_devlink->devlink_sio.rx_list, skb); in ipc_imem_sys_devlink_notify_rx()
465 complete(&ipc_devlink->devlink_sio.read_sem); in ipc_imem_sys_devlink_notify_rx()
567 int ipc_imem_sys_devlink_write(struct iosm_devlink *ipc_devlink, in ipc_imem_sys_devlink_write() argument
570 struct iosm_imem *ipc_imem = ipc_devlink->pcie->imem; in ipc_imem_sys_devlink_write()
[all …]
Diosm_ipc_devlink.h201 void ipc_devlink_deinit(struct iosm_devlink *ipc_devlink);
203 int ipc_devlink_send_cmd(struct iosm_devlink *ipc_devlink, u16 cmd, u32 entry);
Diosm_ipc_imem.c314 ipc_imem_sys_devlink_notify_rx(ipc_imem->ipc_devlink, in ipc_imem_dl_skb_process()
454 channel = ipc_imem->ipc_devlink->devlink_sio.channel; in ipc_imem_rom_irq_exec()
578 ipc_devlink_deinit(ipc_imem->ipc_devlink); in ipc_imem_run_state_worker()
754 complete(&ipc_imem->ipc_devlink->devlink_sio.channel->ul_sem); in ipc_imem_handle_irq()
1232 ipc_devlink_deinit(ipc_imem->ipc_devlink); in ipc_imem_cleanup()
1389 ipc_imem->ipc_devlink = ipc_devlink_init(ipc_imem); in ipc_imem_init()
1390 if (!ipc_imem->ipc_devlink) { in ipc_imem_init()
1402 ipc_devlink_deinit(ipc_imem->ipc_devlink); in ipc_imem_init()
1470 ipc_imem_sys_devlink_notify_rx(ipc_imem->ipc_devlink, skb); in ipc_imem_devlink_trigger_chip_info_cb()
Diosm_ipc_imem.h361 struct iosm_devlink *ipc_devlink; member