Searched refs:memsz (Results 1 – 5 of 5) sorted by relevance
/drivers/remoteproc/ |
D | remoteproc_elf_loader.c | 160 u32 memsz = phdr->p_memsz; local 169 phdr->p_type, da, memsz, filesz); 171 if (filesz > memsz) { 173 filesz, memsz); 186 ptr = rproc_da_to_va(rproc, da, memsz); 188 dev_err(dev, "bad phdr da 0x%x mem 0x%x\n", da, memsz); 204 if (memsz > filesz) 205 memset(ptr + filesz, 0, memsz - filesz);
|
/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_cpm1.c | 77 int dpmemsz, memsz; in cpm_uart_allocbuf() local 94 memsz = L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize) + in cpm_uart_allocbuf() 99 mem_addr = (u8 *) cpm_dpram_addr(cpm_dpalloc(memsz, 8)); in cpm_uart_allocbuf() 102 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf() 115 pinfo->mem_size = memsz; in cpm_uart_allocbuf()
|
D | cpm_uart_cpm2.c | 112 int dpmemsz, memsz; in cpm_uart_allocbuf() local 130 memsz = L1_CACHE_ALIGN(pinfo->rx_nrfifos * pinfo->rx_fifosize) + in cpm_uart_allocbuf() 133 mem_addr = kzalloc(memsz, GFP_NOWAIT); in cpm_uart_allocbuf() 137 mem_addr = dma_alloc_coherent(pinfo->port.dev, memsz, &dma_addr, in cpm_uart_allocbuf() 150 pinfo->mem_size = memsz; in cpm_uart_allocbuf()
|
/drivers/net/ethernet/tehuti/ |
D | tehuti.c | 157 u16 memsz = FIFO_SIZE * (1 << fsz_type); in bdx_fifo_init() local 162 memsz + FIFO_EXTRA_SPACE, &f->da); in bdx_fifo_init() 173 f->memsz = memsz; in bdx_fifo_init() 174 f->size_mask = memsz - 1; in bdx_fifo_init() 191 f->memsz + FIFO_EXTRA_SPACE, f->va, f->da); in bdx_fifo_free() 1013 priv->rxdb = bdx_rxdb_create(priv->rxf_fifo0.m.memsz / in bdx_rx_init() 1125 delta = f->m.wptr - f->m.memsz; in bdx_rx_alloc_skbs() 1129 memcpy(f->m.va, f->m.va + f->m.memsz, delta); in bdx_rx_alloc_skbs() 1182 delta = f->m.wptr - f->m.memsz; in bdx_recycle_skb() 1186 memcpy(f->m.va, f->m.va + f->m.memsz, delta); in bdx_recycle_skb() [all …]
|
D | tehuti.h | 112 #define BDX_MAX_TX_LEVEL (priv->txd_fifo0.m.memsz - 16) 150 u16 memsz; /* memory size allocated for fifo */ member
|