mem_dev 1072 drivers/edac/e752x_edac.c int index, mem_dev, drc_chan; mem_dev 1096 drivers/edac/e752x_edac.c mem_dev = (dra >> (index * 4 + 2)) & 0x3; mem_dev 1099 drivers/edac/e752x_edac.c mem_dev = (mem_dev == 2); mem_dev 1117 drivers/edac/e752x_edac.c if (drc_chan && mem_dev) { mem_dev 1133 drivers/edac/e752x_edac.c dimm->dtype = mem_dev ? DEV_X4 : DEV_X8; mem_dev 361 drivers/edac/e7xxx_edac.c int drc_chan, drc_drbg, drc_ddim, mem_dev; mem_dev 379 drivers/edac/e7xxx_edac.c mem_dev = (dra >> (index * 4 + 3)) & 0x1; mem_dev 399 drivers/edac/e7xxx_edac.c if (drc_chan && mem_dev) { mem_dev 415 drivers/edac/e7xxx_edac.c dimm->dtype = mem_dev ? DEV_X4 : DEV_X8; mem_dev 1124 drivers/media/platform/s5p-mfc/s5p_mfc.c mfc_dev->mem_dev[BANK_L_CTX] = s5p_mfc_alloc_memdev(dev, "left", mem_dev 1126 drivers/media/platform/s5p-mfc/s5p_mfc.c if (!mfc_dev->mem_dev[BANK_L_CTX]) mem_dev 1128 drivers/media/platform/s5p-mfc/s5p_mfc.c mfc_dev->mem_dev[BANK_R_CTX] = s5p_mfc_alloc_memdev(dev, "right", mem_dev 1130 drivers/media/platform/s5p-mfc/s5p_mfc.c if (!mfc_dev->mem_dev[BANK_R_CTX]) { mem_dev 1131 drivers/media/platform/s5p-mfc/s5p_mfc.c device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); mem_dev 1138 drivers/media/platform/s5p-mfc/s5p_mfc.c device_unregister(mfc_dev->mem_dev[BANK_R_CTX]); mem_dev 1139 drivers/media/platform/s5p-mfc/s5p_mfc.c device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); mem_dev 1145 drivers/media/platform/s5p-mfc/s5p_mfc.c bank2_virt = dma_alloc_coherent(mfc_dev->mem_dev[BANK_R_CTX], mem_dev 1150 drivers/media/platform/s5p-mfc/s5p_mfc.c device_unregister(mfc_dev->mem_dev[BANK_R_CTX]); mem_dev 1151 drivers/media/platform/s5p-mfc/s5p_mfc.c device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); mem_dev 1161 drivers/media/platform/s5p-mfc/s5p_mfc.c dma_free_coherent(mfc_dev->mem_dev[BANK_R_CTX], align_size, bank2_virt, mem_dev 1164 drivers/media/platform/s5p-mfc/s5p_mfc.c vb2_dma_contig_set_max_seg_size(mfc_dev->mem_dev[BANK_L_CTX], mem_dev 1166 drivers/media/platform/s5p-mfc/s5p_mfc.c vb2_dma_contig_set_max_seg_size(mfc_dev->mem_dev[BANK_R_CTX], mem_dev 1174 drivers/media/platform/s5p-mfc/s5p_mfc.c device_unregister(mfc_dev->mem_dev[BANK_L_CTX]); mem_dev 1175 drivers/media/platform/s5p-mfc/s5p_mfc.c device_unregister(mfc_dev->mem_dev[BANK_R_CTX]); mem_dev 1176 drivers/media/platform/s5p-mfc/s5p_mfc.c vb2_dma_contig_clear_max_seg_size(mfc_dev->mem_dev[BANK_L_CTX]); mem_dev 1177 drivers/media/platform/s5p-mfc/s5p_mfc.c vb2_dma_contig_clear_max_seg_size(mfc_dev->mem_dev[BANK_R_CTX]); mem_dev 1225 drivers/media/platform/s5p-mfc/s5p_mfc.c mfc_dev->mem_dev[BANK_L_CTX] = mfc_dev->mem_dev[BANK_R_CTX] = dev; mem_dev 303 drivers/media/platform/s5p-mfc/s5p_mfc_common.h struct device *mem_dev[BANK_CTX_NUM]; mem_dev 927 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; mem_dev 929 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c alloc_devs[0] = ctx->dev->mem_dev[BANK_R_CTX]; mem_dev 930 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c alloc_devs[1] = ctx->dev->mem_dev[BANK_L_CTX]; mem_dev 934 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; mem_dev 2389 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; mem_dev 2405 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c alloc_devs[0] = ctx->dev->mem_dev[BANK_L_CTX]; mem_dev 2406 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c alloc_devs[1] = ctx->dev->mem_dev[BANK_L_CTX]; mem_dev 2408 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c alloc_devs[0] = ctx->dev->mem_dev[BANK_R_CTX]; mem_dev 2409 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c alloc_devs[1] = ctx->dev->mem_dev[BANK_R_CTX]; mem_dev 57 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c struct device *mem_dev = dev->mem_dev[mem_ctx]; mem_dev 61 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); mem_dev 67 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c dma_free_coherent(mem_dev, b->size, b->virt, b->dma); mem_dev 82 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c struct device *mem_dev = dev->mem_dev[mem_ctx]; mem_dev 87 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c b->virt = dma_alloc_coherent(mem_dev, b->size, &b->dma, GFP_KERNEL); mem_dev 107 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c struct device *mem_dev = dev->mem_dev[b->ctx]; mem_dev 109 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c dma_free_coherent(mem_dev, b->size, b->virt, b->dma); mem_dev 119 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c struct device *mem_dev = dev->mem_dev[b->ctx]; mem_dev 120 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c dma_free_coherent(mem_dev, b->size, b->virt, b->dma);