Searched refs:mem_dev (Results 1 – 8 of 8) sorted by relevance
| /drivers/media/platform/samsung/s5p-mfc/ |
| A D | s5p_mfc_opr.c | 54 struct device *mem_dev = dev->mem_dev[mem_ctx]; in s5p_mfc_alloc_priv_buf() local 58 b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_priv_buf() 64 dma_free_coherent(mem_dev, b->size, b->virt, b->dma); in s5p_mfc_alloc_priv_buf() 79 struct device *mem_dev = dev->mem_dev[mem_ctx]; in s5p_mfc_alloc_generic_buf() local 84 b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); in s5p_mfc_alloc_generic_buf() 104 struct device *mem_dev = dev->mem_dev[b->ctx]; in s5p_mfc_release_priv_buf() local 106 dma_free_coherent(mem_dev, b->size, b->virt, b->dma); in s5p_mfc_release_priv_buf() 116 struct device *mem_dev = dev->mem_dev[b->ctx]; in s5p_mfc_release_generic_buf() local 117 dma_free_coherent(mem_dev, b->size, b->virt, b->dma); in s5p_mfc_release_generic_buf()
|
| A D | s5p_mfc.c | 1166 if (!mfc_dev->mem_dev[BANK_L_CTX]) in s5p_mfc_configure_2port_memory() 1170 if (!mfc_dev->mem_dev[BANK_R_CTX]) { in s5p_mfc_configure_2port_memory() 1171 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_configure_2port_memory() 1178 device_unregister(mfc_dev->mem_dev[BANK_R_CTX]); in s5p_mfc_configure_2port_memory() 1179 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_configure_2port_memory() 1185 bank2_virt = dma_alloc_coherent(mfc_dev->mem_dev[BANK_R_CTX], in s5p_mfc_configure_2port_memory() 1189 device_unregister(mfc_dev->mem_dev[BANK_R_CTX]); in s5p_mfc_configure_2port_memory() 1190 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_configure_2port_memory() 1213 device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); in s5p_mfc_unconfigure_2port_memory() 1214 device_unregister(mfc_dev->mem_dev[BANK_R_CTX]); in s5p_mfc_unconfigure_2port_memory() [all …]
|
| A D | s5p_mfc_dec.c | 988 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup() 990 alloc_devs[0] = ctx->dev->mem_dev[BANK_R_CTX]; in s5p_mfc_queue_setup() 991 alloc_devs[1] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup() 994 alloc_devs[2] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup() 997 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup()
|
| A D | s5p_mfc_enc.c | 2439 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup() 2459 alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup() 2460 alloc_devs[1] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup() 2464 alloc_devs[2] = ctx->dev->mem_dev[BANK_L_CTX]; in s5p_mfc_queue_setup() 2466 alloc_devs[0] = ctx->dev->mem_dev[BANK_R_CTX]; in s5p_mfc_queue_setup() 2467 alloc_devs[1] = ctx->dev->mem_dev[BANK_R_CTX]; in s5p_mfc_queue_setup()
|
| A D | s5p_mfc_common.h | 310 struct device *mem_dev[BANK_CTX_NUM]; member
|
| /drivers/cxl/core/ |
| A D | ras.c | 96 struct device *mem_dev __free(put_device) = bus_find_device( in cxl_cper_handle_prot_err() 98 if (!mem_dev) in cxl_cper_handle_prot_err() 101 cxlmd = to_cxl_memdev(mem_dev); in cxl_cper_handle_prot_err()
|
| /drivers/edac/ |
| A D | e7xxx_edac.c | 360 int drc_chan, drc_drbg, drc_ddim, mem_dev; in e7xxx_init_csrows() local 378 mem_dev = (dra >> (index * 4 + 3)) & 0x1; in e7xxx_init_csrows() 398 if (drc_chan && mem_dev) { in e7xxx_init_csrows() 414 dimm->dtype = mem_dev ? DEV_X4 : DEV_X8; in e7xxx_init_csrows()
|
| A D | e752x_edac.c | 1071 int index, mem_dev, drc_chan; in e752x_init_csrows() local 1095 mem_dev = (dra >> (index * 4 + 2)) & 0x3; in e752x_init_csrows() 1098 mem_dev = (mem_dev == 2); in e752x_init_csrows() 1116 if (drc_chan && mem_dev) { in e752x_init_csrows() 1132 dimm->dtype = mem_dev ? DEV_X4 : DEV_X8; in e752x_init_csrows()
|
Completed in 28 milliseconds