Searched refs:mem_info (Results 1 – 10 of 10) sorted by relevance
/drivers/acpi/acpica/ |
D | exregion.c | 77 struct acpi_mem_space_context *mem_info = region_context; in acpi_ex_system_memory_space_handler() local 128 if ((address < mem_info->mapped_physical_address) || in acpi_ex_system_memory_space_handler() 130 mem_info->mapped_physical_address + in acpi_ex_system_memory_space_handler() 131 mem_info->mapped_length))) { in acpi_ex_system_memory_space_handler() 136 if (mem_info->mapped_length) { in acpi_ex_system_memory_space_handler() 140 acpi_os_unmap_memory(mem_info->mapped_logical_address, in acpi_ex_system_memory_space_handler() 141 mem_info->mapped_length); in acpi_ex_system_memory_space_handler() 150 ((mem_info->address + mem_info->length) - address); in acpi_ex_system_memory_space_handler() 175 …mem_info->mapped_logical_address = acpi_os_map_memory((acpi_physical_address) address, map_length); in acpi_ex_system_memory_space_handler() 176 if (!mem_info->mapped_logical_address) { in acpi_ex_system_memory_space_handler() [all …]
|
/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 751 res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; in bna_rxf_init() 2119 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2121 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2123 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2245 struct bna_mem_info *mem_info; in bna_rx_res_req() local 2273 mem_info = &res_info[BNA_RX_RES_MEM_T_CCB].res_u.mem_info; in bna_rx_res_req() 2274 mem_info->mem_type = BNA_MEM_T_KVA; in bna_rx_res_req() 2275 mem_info->len = sizeof(struct bna_ccb); in bna_rx_res_req() 2276 mem_info->num = q_cfg->num_paths; in bna_rx_res_req() 2279 mem_info = &res_info[BNA_RX_RES_MEM_T_RCB].res_u.mem_info; in bna_rx_res_req() [all …]
|
D | bna_enet.c | 1722 &res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init() 1723 kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1726 kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1734 &res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init() 1735 kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1801 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_ucam_mod_init() 1831 res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init() 1840 res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init() 1894 res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mem_type = BNA_MEM_T_DMA; in bna_res_req() 1895 res_info[BNA_RES_MEM_T_COM].res_u.mem_info.num = 1; in bna_res_req() [all …]
|
D | bnad.c | 72 (_res_info)->res_u.mem_info.mem_type = BNA_MEM_T_KVA; \ 73 (_res_info)->res_u.mem_info.num = (_num); \ 74 (_res_info)->res_u.mem_info.len = (_size); \ 1221 struct bna_mem_info *mem_info) in bnad_mem_free() argument 1226 if (mem_info->mdl == NULL) in bnad_mem_free() 1229 for (i = 0; i < mem_info->num; i++) { in bnad_mem_free() 1230 if (mem_info->mdl[i].kva != NULL) { in bnad_mem_free() 1231 if (mem_info->mem_type == BNA_MEM_T_DMA) { in bnad_mem_free() 1232 BNA_GET_DMA_ADDR(&(mem_info->mdl[i].dma), in bnad_mem_free() 1235 mem_info->mdl[i].len, in bnad_mem_free() [all …]
|
D | bna_types.h | 300 struct bna_mem_info mem_info; member
|
/drivers/edac/ |
D | tile_edac.c | 89 struct mshim_mem_info mem_info; in tile_edac_init_csrows() local 92 if (hv_dev_pread(priv->hv_devhdl, 0, (HV_VirtAddr)&mem_info, in tile_edac_init_csrows() 99 if (mem_info.mem_ecc) in tile_edac_init_csrows() 103 switch (mem_info.mem_type) { in tile_edac_init_csrows() 116 dimm->nr_pages = mem_info.mem_size >> PAGE_SHIFT; in tile_edac_init_csrows()
|
/drivers/video/omap2/omapfb/ |
D | omapfb-ioctl.c | 592 struct omapfb_mem_info mem_info; in omapfb_ioctl() member 674 if (copy_from_user(&p.mem_info, (void __user *)arg, in omapfb_ioctl() 675 sizeof(p.mem_info))) in omapfb_ioctl() 678 r = omapfb_setup_mem(fbi, &p.mem_info); in omapfb_ioctl() 683 r = omapfb_query_mem(fbi, &p.mem_info); in omapfb_ioctl() 686 if (copy_to_user((void __user *)arg, &p.mem_info, in omapfb_ioctl() 687 sizeof(p.mem_info))) in omapfb_ioctl()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 1021 unsigned int mem_info[2] = { }; in s5p_mfc_alloc_memdevs() local 1031 "samsung,mfc-l", mem_info, 2); in s5p_mfc_alloc_memdevs() 1032 if (dma_declare_coherent_memory(dev->mem_dev_l, mem_info[0], in s5p_mfc_alloc_memdevs() 1033 mem_info[0], mem_info[1], in s5p_mfc_alloc_memdevs() 1048 "samsung,mfc-r", mem_info, 2); in s5p_mfc_alloc_memdevs() 1049 if (dma_declare_coherent_memory(dev->mem_dev_r, mem_info[0], in s5p_mfc_alloc_memdevs() 1050 mem_info[0], mem_info[1], in s5p_mfc_alloc_memdevs()
|
/drivers/video/omap/ |
D | omapfb_main.c | 1094 struct omapfb_mem_info mem_info; in omapfb_ioctl() member 1165 if (copy_from_user(&p.mem_info, (void __user *)arg, in omapfb_ioctl() 1166 sizeof(p.mem_info))) in omapfb_ioctl() 1169 r = omapfb_setup_mem(fbi, &p.mem_info); in omapfb_ioctl() 1172 if ((r = omapfb_query_mem(fbi, &p.mem_info)) < 0) in omapfb_ioctl() 1174 if (copy_to_user((void __user *)arg, &p.mem_info, in omapfb_ioctl() 1175 sizeof(p.mem_info))) in omapfb_ioctl()
|
/drivers/block/ |
D | z2ram.c | 47 extern struct mem_info m68k_memory[NUM_MEMINFO];
|