Home
last modified time | relevance | path

Searched refs:MC_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/staging/media/meson/vdec/ !
Dvdec_1.c23 #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()
Dvdec_hevc.c24 #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()
/linux-6.1.9/drivers/net/ethernet/i825xx/ !
Dether1.c349 #define MC_SIZE (0x0c) macro
461 ether1_writebuffer (dev, &init_mc, MC_ADDR, MC_SIZE); in ether1_init_for_open()