Home
last modified time | relevance | path

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

/linux/sound/soc/intel/atom/sst/
H A Dsst_acpi.c155 .res_info = &byt_rvp_res_info,
167 .res_info = &byt_rvp_res_info,
179 ctx->pdata->res_info->acpi_lpe_res_index); in sst_platform_get_resources()
187 ctx->iram_base = rsrc->start + ctx->pdata->res_info->iram_offset; in sst_platform_get_resources()
188 ctx->iram_end = ctx->iram_base + ctx->pdata->res_info->iram_size - 1; in sst_platform_get_resources()
191 ctx->pdata->res_info->iram_size); in sst_platform_get_resources()
197 ctx->dram_base = rsrc->start + ctx->pdata->res_info->dram_offset; in sst_platform_get_resources()
198 ctx->dram_end = ctx->dram_base + ctx->pdata->res_info->dram_size - 1; in sst_platform_get_resources()
201 ctx->pdata->res_info->dram_size); in sst_platform_get_resources()
207 ctx->shim_phy_add = rsrc->start + ctx->pdata->res_info in sst_platform_get_resources()
[all...]
/linux/drivers/net/ethernet/brocade/bna/
H A Dbna_enet.c1689 struct bna_res_info *res_info) in bna_ioceth_init() argument
1705 &res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init()
1706 kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; in bna_ioceth_init()
1709 kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; in bna_ioceth_init()
1717 &res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init()
1718 kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; in bna_ioceth_init()
1779 struct bna_res_info *res_info) in bna_ucam_mod_init() argument
1784 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_ucam_mod_init()
1806 struct bna_res_info *res_info) in bna_mcam_mod_init() argument
1811 res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init()
[all …]
H A Dbna_tx_rx.c611 struct bna_res_info *res_info) in bna_rxf_init() argument
628 res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; in bna_rxf_init()
2024 struct bna_res_info *res_info) in bna_rx_mod_init() argument
2035 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init()
2037 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init()
2039 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init()
2136 bna_rx_res_req(struct bna_rx_config *q_cfg, struct bna_res_info *res_info) in bna_rx_res_req() argument
2166 res_info[BNA_RX_RES_MEM_T_CCB].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
2167 mem_info = &res_info[BNA_RX_RES_MEM_T_CCB].res_u.mem_info; in bna_rx_res_req()
2172 res_info[BNA_RX_RES_MEM_T_RCB].res_type = BNA_RES_T_MEM; in bna_rx_res_req()
[all …]
H A Dbna.h258 void bna_res_req(struct bna_res_info *res_info);
259 void bna_mod_res_req(struct bna *bna, struct bna_res_info *res_info);
262 struct bna_res_info *res_info);
263 void bna_mod_init(struct bna *bna, struct bna_res_info *res_info);
297 struct bna_res_info *res_info);
307 struct bna_res_info *res_info);
311 struct bna_res_info *res_info, void *priv);
334 struct bna_res_info *res_info);
344 struct bna_res_info *res_info);
348 struct bna_res_info *res_info, void *priv);
H A Dbnad.c1608 bnad_tx_res_free(struct bnad *bnad, struct bna_res_info *res_info) in bnad_tx_res_free() argument
1613 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_tx_res_free()
1614 bnad_mem_free(bnad, &res_info[i].res_u.mem_info); in bnad_tx_res_free()
1615 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_tx_res_free()
1616 bnad_txrx_irq_free(bnad, &res_info[i].res_u.intr_info); in bnad_tx_res_free()
1622 bnad_tx_res_alloc(struct bnad *bnad, struct bna_res_info *res_info, in bnad_tx_res_alloc() argument
1628 if (res_info[i].res_type == BNA_RES_T_MEM) in bnad_tx_res_alloc()
1630 &res_info[i].res_u.mem_info); in bnad_tx_res_alloc()
1631 else if (res_info[i].res_type == BNA_RES_T_INTR) in bnad_tx_res_alloc()
1633 &res_info[i].res_u.intr_info); in bnad_tx_res_alloc()
[all …]
/linux/drivers/accel/amdxdna/
H A Daie2_pci.c927 struct amdxdna_drm_get_resource_info res_info; in aie2_query_resource_info() local
936 res_info.npu_clk_max = priv->dpm_clk_tbl[ndev->max_dpm_level].hclk; in aie2_query_resource_info()
937 res_info.npu_tops_max = ndev->max_tops; in aie2_query_resource_info()
938 res_info.npu_task_max = priv->hwctx_limit; in aie2_query_resource_info()
939 res_info.npu_tops_curr = ndev->curr_tops; in aie2_query_resource_info()
940 res_info.npu_task_curr = ndev->hwctx_num; in aie2_query_resource_info()
942 if (copy_to_user(u64_to_user_ptr(args->buffer), &res_info, sizeof(res_info))) in aie2_query_resource_info()
/linux/arch/x86/include/asm/
H A Dplatform_sst_audio.h129 const struct sst_res_info *res_info; member
/linux/drivers/scsi/csiostor/
H A Dcsio_hw.c1875 struct csio_fcoe_res_info *res_info = &hw->fres_info; in csio_get_fcoe_resinfo() local
1904 res_info->e_d_tov = ntohs(rsp->e_d_tov); in csio_get_fcoe_resinfo()
1905 res_info->r_a_tov_seq = ntohs(rsp->r_a_tov_seq); in csio_get_fcoe_resinfo()
1906 res_info->r_a_tov_els = ntohs(rsp->r_a_tov_els); in csio_get_fcoe_resinfo()
1907 res_info->r_r_tov = ntohs(rsp->r_r_tov); in csio_get_fcoe_resinfo()
1908 res_info->max_xchgs = ntohl(rsp->max_xchgs); in csio_get_fcoe_resinfo()
1909 res_info->max_ssns = ntohl(rsp->max_ssns); in csio_get_fcoe_resinfo()
1910 res_info->used_xchgs = ntohl(rsp->used_xchgs); in csio_get_fcoe_resinfo()
1911 res_info->used_ssns = ntohl(rsp->used_ssns); in csio_get_fcoe_resinfo()
1912 res_info->max_fcfs = ntohl(rsp->max_fcfs); in csio_get_fcoe_resinfo()
[all …]