Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_flash.c104 ipc_imem->ipc_devlink->devlink_sio.channel = in ipc_flash_link_establish()
180 ret = ipc_flash_receive_data(ipc_devlink, in ipc_flash_send_receive()
197 ipc_devlink->ebl_ctx.ebl_sw_info_version = in ipc_flash_boot_set_capabilities()
204 if (ipc_devlink->param.erase_full_flash) in ipc_flash_boot_set_capabilities()
218 ipc_devlink->ebl_ctx.m_ebl_resp, in ipc_flash_boot_set_capabilities()
281 dev_err(ipc_devlink->dev, in ipc_flash_erase_check()
408 if (ipc_devlink->param.erase_full_flash) { in ipc_flash_send_fls()
409 ipc_devlink->param.erase_full_flash = false; in ipc_flash_send_fls()
488 ret = ipc_coredump_get_list(ipc_devlink, in ipc_flash_boot_psi()
581 ret = ipc_imem_sys_devlink_read(ipc_devlink, in ipc_flash_boot_ebl()
[all …]
H A Diosm_ipc_devlink.c242 struct iosm_devlink *ipc_devlink; in ipc_devlink_init() local
254 ipc_devlink = devlink_priv(devlink_ctx); in ipc_devlink_init()
255 ipc_devlink->devlink_ctx = devlink_ctx; in ipc_devlink_init()
256 ipc_devlink->pcie = ipc_imem->pcie; in ipc_devlink_init()
257 ipc_devlink->dev = ipc_imem->dev; in ipc_devlink_init()
262 dev_err(ipc_devlink->dev, in ipc_devlink_init()
267 ipc_devlink->cd_file_info = list; in ipc_devlink_init()
288 return ipc_devlink; in ipc_devlink_init()
291 ipc_devlink_destroy_region(ipc_devlink); in ipc_devlink_init()
310 ipc_devlink_destroy_region(ipc_devlink); in ipc_devlink_deinit()
[all …]
H A 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,
H A Diosm_ipc_imem_ops.h113 void ipc_imem_sys_devlink_close(struct iosm_devlink *ipc_devlink);
122 void ipc_imem_sys_devlink_notify_rx(struct iosm_devlink *ipc_devlink,
134 int ipc_imem_sys_devlink_read(struct iosm_devlink *ipc_devlink, u8 *data,
144 int ipc_imem_sys_devlink_write(struct iosm_devlink *ipc_devlink,
H A Diosm_ipc_imem_ops.c367 ipc_imem->ipc_devlink->devlink_sio.channel_id = channel_id; in ipc_imem_sys_devlink_open()
387 channel_id = ipc_imem->ipc_devlink->devlink_sio.channel_id; in ipc_imem_sys_devlink_open()
400 void ipc_imem_sys_devlink_close(struct iosm_devlink *ipc_devlink) in ipc_imem_sys_devlink_close() argument
402 struct iosm_imem *ipc_imem = ipc_devlink->pcie->imem; in ipc_imem_sys_devlink_close()
409 channel = ipc_imem->ipc_devlink->devlink_sio.channel; in ipc_imem_sys_devlink_close()
468 skb_queue_tail(&ipc_devlink->devlink_sio.rx_list, skb); in ipc_imem_sys_devlink_notify_rx()
469 complete(&ipc_devlink->devlink_sio.read_sem); in ipc_imem_sys_devlink_notify_rx()
571 int ipc_imem_sys_devlink_write(struct iosm_devlink *ipc_devlink, in ipc_imem_sys_devlink_write() argument
574 struct iosm_imem *ipc_imem = ipc_devlink->pcie->imem; in ipc_imem_sys_devlink_write()
580 channel = ipc_imem->ipc_devlink->devlink_sio.channel; in ipc_imem_sys_devlink_write()
[all …]
H A 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);
H A 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()
579 ipc_devlink_deinit(ipc_imem->ipc_devlink); in ipc_imem_run_state_worker()
776 complete(&ipc_imem->ipc_devlink->devlink_sio.channel->ul_sem); in ipc_imem_handle_irq()
1254 ipc_devlink_deinit(ipc_imem->ipc_devlink); in ipc_imem_cleanup()
1411 ipc_imem->ipc_devlink = ipc_devlink_init(ipc_imem); in ipc_imem_init()
1412 if (!ipc_imem->ipc_devlink) { in ipc_imem_init()
1424 ipc_devlink_deinit(ipc_imem->ipc_devlink); in ipc_imem_init()
1492 ipc_imem_sys_devlink_notify_rx(ipc_imem->ipc_devlink, skb); in ipc_imem_devlink_trigger_chip_info_cb()
H A Diosm_ipc_imem.h348 struct iosm_devlink *ipc_devlink; member