Home
last modified time | relevance | path

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

/linux/arch/parisc/kernel/
H A Dpci-dma.c253 unsigned int pages_needed = size >> PAGE_SHIFT; in pcxl_alloc_range() local
256 mask >>= BITS_PER_LONG - pages_needed; in pcxl_alloc_range()
259 size, pages_needed, mask); in pcxl_alloc_range()
263 if(pages_needed <= 8) { in pcxl_alloc_range()
265 } else if(pages_needed <= 16) { in pcxl_alloc_range()
267 } else if(pages_needed <= 32) { in pcxl_alloc_range()
283 pcxl_used_pages += pages_needed; in pcxl_alloc_range()
284 pcxl_used_bytes += ((pages_needed >> 3) ? (pages_needed >> 3) : 1); in pcxl_alloc_range()
/linux/drivers/base/firmware_loader/
H A Dfirmware.h188 int fw_grow_paged_buf(struct fw_priv *fw_priv, int pages_needed);
193 static inline int fw_grow_paged_buf(struct fw_priv *fw_priv, int pages_needed) { return -ENXIO; } in fw_grow_paged_buf() argument
/linux/drivers/net/wireless/realtek/rtw88/
H A Dsdio.c547 unsigned int pages_free, pages_needed; in rtw_sdio_check_free_txpg() local
616 pages_needed = DIV_ROUND_UP(count, rtwdev->chip->page_size); in rtw_sdio_check_free_txpg()
618 if (pages_needed > pages_free) { in rtw_sdio_check_free_txpg()
621 pages_needed, pages_free, queue, count); in rtw_sdio_check_free_txpg()