Lines Matching full:pbl
136 siw_dbg_mem(mem, "free mem, pbl: %s\n", mem->is_pbl ? "y" : "n"); in siw_free_mem()
142 kfree(mem->pbl); in siw_free_mem()
312 * Gets physical address backed by PBL element. Address is referenced
315 * current PBL index for later resume at same element.
317 dma_addr_t siw_pbl_get_buffer(struct siw_pbl *pbl, u64 off, int *len, int *idx) in siw_pbl_get_buffer() argument
321 while (i < pbl->num_buf) { in siw_pbl_get_buffer()
322 struct siw_pble *pble = &pbl->pbe[i]; in siw_pbl_get_buffer()
343 struct siw_pbl *pbl; in siw_pbl_alloc() local
348 pbl = kzalloc(struct_size(pbl, pbe, num_buf), GFP_KERNEL); in siw_pbl_alloc()
349 if (!pbl) in siw_pbl_alloc()
352 pbl->max_buf = num_buf; in siw_pbl_alloc()
354 return pbl; in siw_pbl_alloc()