Searched refs:host_res (Results 1 – 6 of 6) sorted by relevance
612 struct cfg_hostres *host_res = res; in request_bridge_resources() local615 host_res->num_mem_windows = 2; in request_bridge_resources()618 dev_dbg(bridge, "mem_base[0] 0x%x\n", host_res->mem_base[0]); in request_bridge_resources()619 dev_dbg(bridge, "mem_base[3] 0x%x\n", host_res->mem_base[3]); in request_bridge_resources()620 dev_dbg(bridge, "dmmu_base %p\n", host_res->dmmu_base); in request_bridge_resources()627 host_res->birq_registers = 0; in request_bridge_resources()628 host_res->birq_attrib = 0; in request_bridge_resources()629 host_res->offset_for_monitor = 0; in request_bridge_resources()630 host_res->chnl_offset = 0; in request_bridge_resources()632 host_res->num_chnls = CHNL_MAXCHANNELS; in request_bridge_resources()[all …]
309 struct cfg_hostres *host_res; in node_allocate() local601 host_res = pbridge_context->resources; in node_allocate()602 if (!host_res) in node_allocate()611 ul_gpp_mem_base = (u32) host_res->mem_base[1]; in node_allocate()2773 struct cfg_hostres *host_res; in get_proc_props() local2782 host_res = pbridge_context->resources; in get_proc_props()2783 if (!host_res) in get_proc_props()2785 hnode_mgr->chnl_offset = host_res->chnl_offset; in get_proc_props()2786 hnode_mgr->chnl_buf_size = host_res->chnl_buf_size; in get_proc_props()2787 hnode_mgr->num_chnls = host_res->num_chnls; in get_proc_props()
971 struct cfg_hostres *host_res; in bridge_dev_destroy() local1000 host_res = dev_context->resources; in bridge_dev_destroy()1003 if ((host_res->mem_base[1]) && in bridge_dev_destroy()1004 (host_res->mem_phys[1])) { in bridge_dev_destroy()1006 host_res->mem_base in bridge_dev_destroy()1008 host_res->mem_phys in bridge_dev_destroy()1017 host_res->mem_base[1] = 0; in bridge_dev_destroy()1018 host_res->mem_phys[1] = 0; in bridge_dev_destroy()1020 if (host_res->mem_base[0]) in bridge_dev_destroy()1021 iounmap((void *)host_res->mem_base[0]); in bridge_dev_destroy()[all …]
230 struct cfg_hostres *host_res = dev_context->resources; in write_ext_dsp_data() local324 dw_ext_prog_virt_mem = host_res->mem_base[1]; in write_ext_dsp_data()
291 struct cfg_hostres *host_res; in bridge_io_on_loaded() local312 host_res = pbridge_context->resources; in bridge_io_on_loaded()313 if (!host_res) { in bridge_io_on_loaded()417 ul_gpp_pa = host_res->mem_phys[1]; in bridge_io_on_loaded()418 ul_gpp_va = host_res->mem_base[1]; in bridge_io_on_loaded()441 host_res->mem_length[1]) { in bridge_io_on_loaded()443 __func__, host_res->mem_length[1], in bridge_io_on_loaded()
128 struct cfg_hostres *host_res; in dev_create_device() local138 status = drv_request_bridge_res_dsp((void *)&host_res); in dev_create_device()180 host_res); in dev_create_device()192 io_mgr_attrs.birq = host_res->birq_registers; in dev_create_device()194 (host_res->birq_attrib & CFG_IRQSHARED); in dev_create_device()197 num_windows = host_res->num_mem_windows; in dev_create_device()200 io_mgr_attrs.shm_base = host_res->mem_base[1] + in dev_create_device()201 host_res->offset_for_monitor; in dev_create_device()203 host_res->mem_length[1] - in dev_create_device()204 host_res->offset_for_monitor; in dev_create_device()