Searched refs:pg_num (Results 1 – 3 of 3) sorted by relevance
505 u32 pg_num, pg_idx; in bnxt_qplib_get_qe() local507 pg_num = (indx / hwq->qe_ppg); in bnxt_qplib_get_qe()510 *pg = (u64)&hwq->pbl_ptr[pg_num]; in bnxt_qplib_get_qe()511 return (void *)((u8 *)hwq->pbl_ptr[pg_num] + hwq->element_size * pg_idx); in bnxt_qplib_get_qe()
1903 u32 pg_num, pg_indx; in bnxt_qplib_pull_psn_buff() local1914 pg_num = (tail + sq_hwq->pad_pgofft) / (PAGE_SIZE / sq_hwq->pad_stride); in bnxt_qplib_pull_psn_buff()1916 buff = (void *)(sq_hwq->pad_pg[pg_num] + pg_indx * sq_hwq->pad_stride); in bnxt_qplib_pull_psn_buff()
1508 u32 pg_num = 0; in __rtw_build_rsvd_page_from_vifs() 1512 pg_num = size / pg_size + ((size & (pg_size - 1)) ? 1 : 0); in rtw_build_rsvd_page() 1513 if (pg_num > rtwdev->fifo.rsvd_drv_pg_num) in rtw_build_rsvd_page() 1428 u32 pg_num = 0; rtw_download_drv_rsvd_page() local