Searched defs:mem_type (Results 1 - 18 of 18) sorted by relevance

/drivers/gpu/drm/radeon/
H A Dradeon_object.h35 * radeon_mem_type_to_domain - return domain corresponding to mem_type
36 * @mem_type: ttm memory type
38 * Returns corresponding domain of the ttm mem_type
40 static inline unsigned radeon_mem_type_to_domain(u32 mem_type) argument
42 switch (mem_type) {
110 extern int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type,
H A Dradeon_object.c556 if (bo->tbo.mem.mem_type != TTM_PL_VRAM) {
594 if (bo->mem.mem_type == TTM_PL_VRAM) {
613 int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type, bool no_wait) argument
621 if (mem_type)
622 *mem_type = bo->tbo.mem.mem_type;
H A Dni.c212 u32 mem_type, running, blackout = 0; local
243 mem_type = (RREG32(MC_SEQ_MISC0) & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT;
246 if ((mem_type == MC_SEQ_MISC0_GDDR5_VALUE) && (running == 0)) {
/drivers/staging/tidspbridge/core/
H A Dtiomap_io.c53 u32 ul_num_bytes, u32 mem_type)
172 u32 mem_type)
218 u32 ul_num_bytes, u32 mem_type,
51 read_ext_dsp_data(struct bridge_dev_context *dev_ctxt, u8 *host_buff, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type) argument
170 write_dsp_data(struct bridge_dev_context *dev_context, u8 *host_buff, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type) argument
216 write_ext_dsp_data(struct bridge_dev_context *dev_context, u8 *host_buff, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type, bool dynamic_load) argument
H A Dtiomap3430.c87 u32 mem_type);
96 u32 mem_type);
101 u32 ul_num_bytes, u32 mem_type);
104 u32 ul_num_bytes, u32 mem_type);
311 u32 ul_num_bytes, u32 mem_type)
328 ul_num_bytes, mem_type);
718 u32 ul_num_bytes, u32 mem_type)
730 ul_num_bytes, mem_type);
733 ul_num_bytes, mem_type, false);
1054 u32 ul_num_bytes, u32 mem_type)
309 bridge_brd_read(struct bridge_dev_context *dev_ctxt, u8 *host_buff, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type) argument
716 bridge_brd_write(struct bridge_dev_context *dev_ctxt, u8 *host_buff, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type) argument
1052 bridge_brd_mem_copy(struct bridge_dev_context *dev_ctxt, u32 dsp_dest_addr, u32 dsp_src_addr, u32 ul_num_bytes, u32 mem_type) argument
1092 bridge_brd_mem_write(struct bridge_dev_context *dev_ctxt, u8 *host_buff, u32 dsp_addr, u32 ul_num_bytes, u32 mem_type) argument
[all...]
/drivers/cpufreq/
H A Ds5pv210-cpufreq.c512 unsigned long mem_type; local
540 mem_type = check_mem_type(S5P_VA_DMC0);
542 if ((mem_type != LPDDR) && (mem_type != LPDDR2)) {
/drivers/mtd/maps/
H A Dpcmciamtd.c61 static int mem_type; variable
76 module_param(mem_type, int, 0);
77 MODULE_PARM_DESC(mem_type, "Set Memory type (0=Flash, 1=RAM, 2=ROM, default=0)");
567 if(mem_type == 1) {
569 } else if(mem_type == 2) {
738 if(mem_type && mem_type != 1 && mem_type != 2) {
739 info("bad mem_type (%d), using default", mem_type);
[all...]
/drivers/gpu/drm/ttm/
H A Dttm_bo.c57 static inline int ttm_mem_type_from_flags(uint32_t flags, uint32_t *mem_type) argument
63 *mem_type = i;
69 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) argument
71 struct ttm_mem_type_manager *man = &bdev->man[mem_type];
80 if (mem_type != TTM_PL_SYSTEM)
87 int i, ret, mem_type; local
94 &mem_type);
98 i, placement->placement[i], mem_type);
99 ttm_mem_type_debug(bo->bdev, mem_type);
184 man = &bdev->man[bo->mem.mem_type];
778 ttm_mem_evict_first(struct ttm_bo_device *bdev, uint32_t mem_type, bool interruptible, bool no_wait_reserve, bool no_wait_gpu) argument
855 ttm_bo_mem_force_space(struct ttm_buffer_object *bo, uint32_t mem_type, struct ttm_placement *placement, struct ttm_mem_reg *mem, bool interruptible, bool no_wait_reserve, bool no_wait_gpu) argument
909 ttm_bo_mt_compatible(struct ttm_mem_type_manager *man, uint32_t mem_type, uint32_t proposed_placement, uint32_t *masked_placement) argument
944 uint32_t mem_type = TTM_PL_SYSTEM; local
1316 ttm_bo_force_list_clean(struct ttm_bo_device *bdev, unsigned mem_type, bool allow_errors) argument
1344 ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument
1375 ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument
[all...]
/drivers/usb/serial/
H A Dwhiteheat.h149 __u8 mem_type; /* see WHITEHEAT_DUMP_* above */ member in struct:whiteheat_dump
/drivers/net/wireless/bcmdhd/
H A Dsiutils.c1603 socram_banksize(si_info_t *sii, sbsocramregs_t *regs, uint8 idx, uint8 mem_type) argument
1606 uint bankidx = idx | (mem_type << SOCRAM_BANKIDX_MEMTYPE_SHIFT);
1608 ASSERT(mem_type <= SOCRAM_MEMTYPE_DEVRAM);
/drivers/pci/
H A Dprobe.c169 u32 mem_type; local
183 mem_type = bar & PCI_BASE_ADDRESS_MEM_TYPE_MASK;
184 switch (mem_type) {
196 mem_type);
/drivers/video/
H A Dsm501fb.c436 unsigned int mem_type; local
447 mem_type = SM501_MEMF_CRT;
453 mem_type = SM501_MEMF_PANEL;
459 mem_type = 0; /* stop compiler warnings */
485 if (sm501_alloc_mem(fbi, &par->screen, mem_type, smem_len, smem_len)) {
/drivers/scsi/megaraid/
H A Dmbox_defs.h318 * @mem_type : EDO, FPM, SDRAM etc
343 uint8_t mem_type; member in struct:__anon4684
/drivers/block/
H A Dcciss.c3854 int i, offset, mem_type, bar_type; local
3863 mem_type = pci_resource_flags(pdev, i) &
3865 switch (mem_type) {
/drivers/net/ethernet/brocade/bna/
H A Dbna_types.h289 enum bna_mem_type mem_type; member in struct:bna_mem_info
/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c3160 static int mc7_init(struct mc7 *mc7, unsigned int mc7_clock, int mem_type) argument
3176 const struct mc7_timing_params *p = &mc7_timings[mem_type];
3234 mc7_mode[mem_type]) ||
/drivers/scsi/
H A Dhpsa.c3601 int i, offset, mem_type, bar_type; local
3611 mem_type = pci_resource_flags(pdev, i) &
3613 switch (mem_type) {
H A Dmegaraid.h272 u8 mem_type; /* EDO, FPM, SDRAM etc */ member in struct:__anon4773

Completed in 900 milliseconds