Searched refs:MC_SIZE (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/staging/media/meson/vdec/ |
H A D | vdec_1.c | 23 #define MC_SIZE (4096 * 4) macro 41 if (fw->size < MC_SIZE) { in vdec_1_load_firmware() 43 fw->size, MC_SIZE); in vdec_1_load_firmware() 48 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, in vdec_1_load_firmware() 55 memcpy(mc_addr, fw->data, MC_SIZE); in vdec_1_load_firmware() 63 amvdec_write_dos(core, IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_1_load_firmware() 76 fw->data + MC_SIZE, in vdec_1_load_firmware() 77 fw->size - MC_SIZE); in vdec_1_load_firmware() 80 dma_free_coherent(core->dev, MC_SIZE, mc_addr, mc_addr_map); in vdec_1_load_firmware()
|
H A D | vdec_hevc.c | 24 #define MC_SIZE (4096 * 4) macro 43 if (fw->size < MC_SIZE) { in vdec_hevc_load_firmware() 45 fw->size, MC_SIZE); in vdec_hevc_load_firmware() 50 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, &mc_addr_map, in vdec_hevc_load_firmware() 57 memcpy(mc_addr, fw->data, MC_SIZE); in vdec_hevc_load_firmware() 63 amvdec_write_dos(core, HEVC_IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_hevc_load_firmware() 74 dma_free_coherent(core->dev, MC_SIZE, mc_addr, mc_addr_map); in vdec_hevc_load_firmware()
|
/openbmc/linux/drivers/net/ethernet/i825xx/ |
H A D | ether1.c | 349 #define MC_SIZE (0x0c) macro 461 ether1_writebuffer (dev, &init_mc, MC_ADDR, MC_SIZE); in ether1_init_for_open()
|