Lines Matching full:pbl
112 siw_dbg_mem(mem, "free mem, pbl: %s\n", mem->is_pbl ? "y" : "n"); in siw_free_mem()
118 kfree(mem->pbl); in siw_free_mem()
288 * Gets physical address backed by PBL element. Address is referenced
291 * current PBL index for later resume at same element.
293 dma_addr_t siw_pbl_get_buffer(struct siw_pbl *pbl, u64 off, int *len, int *idx) in siw_pbl_get_buffer() argument
297 while (i < pbl->num_buf) { in siw_pbl_get_buffer()
298 struct siw_pble *pble = &pbl->pbe[i]; in siw_pbl_get_buffer()
319 struct siw_pbl *pbl; in siw_pbl_alloc() local
324 pbl = kzalloc(struct_size(pbl, pbe, num_buf), GFP_KERNEL); in siw_pbl_alloc()
325 if (!pbl) in siw_pbl_alloc()
328 pbl->max_buf = num_buf; in siw_pbl_alloc()
330 return pbl; in siw_pbl_alloc()