Home
last modified time | relevance | path

Searched refs:ipc_mmio (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/wwan/iosm/ !
Diosm_ipc_mmio.c67 void ipc_mmio_update_cp_capability(struct iosm_mmio *ipc_mmio) in ipc_mmio_update_cp_capability() argument
72 ver = ipc_mmio_get_cp_version(ipc_mmio); in ipc_mmio_update_cp_capability()
73 cp_cap = ioread32(ipc_mmio->base + ipc_mmio->offset.cp_capability); in ipc_mmio_update_cp_capability()
75 ipc_mmio->mux_protocol = ((ver >= IOSM_CP_VERSION) && (cp_cap & in ipc_mmio_update_cp_capability()
79 ipc_mmio->has_ul_flow_credit = in ipc_mmio_update_cp_capability()
85 struct iosm_mmio *ipc_mmio = kzalloc(sizeof(*ipc_mmio), GFP_KERNEL); in ipc_mmio_init() local
89 if (!ipc_mmio) in ipc_mmio_init()
92 ipc_mmio->dev = dev; in ipc_mmio_init()
94 ipc_mmio->base = mmio; in ipc_mmio_init()
96 ipc_mmio->offset.exec_stage = MMIO_OFFSET_EXECUTION_STAGE; in ipc_mmio_init()
[all …]
Diosm_ipc_mmio.h110 void ipc_mmio_set_psi_addr_and_size(struct iosm_mmio *ipc_mmio, dma_addr_t addr,
120 void ipc_mmio_set_contex_info_addr(struct iosm_mmio *ipc_mmio,
129 int ipc_mmio_get_cp_version(struct iosm_mmio *ipc_mmio);
137 enum rom_exit_code ipc_mmio_get_rom_exit_code(struct iosm_mmio *ipc_mmio);
145 enum ipc_mem_exec_stage ipc_mmio_get_exec_stage(struct iosm_mmio *ipc_mmio);
154 ipc_mmio_get_ipc_state(struct iosm_mmio *ipc_mmio);
163 void ipc_mmio_copy_chip_info(struct iosm_mmio *ipc_mmio, void *dest,
173 void ipc_mmio_config(struct iosm_mmio *ipc_mmio);
181 void ipc_mmio_update_cp_capability(struct iosm_mmio *ipc_mmio);