/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | ultrasoc-smb.c | 362 long pg_idx, pg_offset; in smb_sync_perf_buffer() local 364 pg_idx = head >> PAGE_SHIFT; in smb_sync_perf_buffer() 376 memcpy(dst_pages[pg_idx] + pg_offset, in smb_sync_perf_buffer() 382 pg_idx++; in smb_sync_perf_buffer() 383 pg_idx %= buf->nr_pages; in smb_sync_perf_buffer()
|
H A D | coresight-catu.c | 119 unsigned int table_nr, pg_idx, pg_offset; in catu_get_table() local 132 pg_idx = table_nr / CATU_PAGES_PER_SYSPAGE; in catu_get_table() 135 *daddrp = table_pages->daddrs[pg_idx] + pg_offset; in catu_get_table() 136 ptr = page_address(table_pages->pages[pg_idx]); in catu_get_table()
|
H A D | coresight-tmc-etr.c | 393 int pg_idx = offset >> PAGE_SHIFT; in tmc_sg_table_get_data() local 406 *bufpp = page_address(data_pages->pages[pg_idx]) + pg_offset; in tmc_sg_table_get_data() 1484 long pg_idx, pg_offset; in tmc_etr_sync_perf_buffer() local 1489 pg_idx = head >> PAGE_SHIFT; in tmc_etr_sync_perf_buffer() 1510 memcpy(dst_pages[pg_idx] + pg_offset, src_buf, bytes); in tmc_etr_sync_perf_buffer() 1518 if (++pg_idx == etr_perf->nr_pages) in tmc_etr_sync_perf_buffer() 1519 pg_idx = 0; in tmc_etr_sync_perf_buffer()
|
/openbmc/linux/drivers/pci/controller/mobiveil/ |
H A D | pcie-mobiveil.c | 28 static void mobiveil_pcie_sel_page(struct mobiveil_pcie *pcie, u8 pg_idx) in mobiveil_pcie_sel_page() argument 34 val |= (pg_idx & PAGE_SEL_MASK) << PAGE_SEL_SHIFT; in mobiveil_pcie_sel_page()
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_res.h | 368 u32 pg_num, pg_idx; in bnxt_qplib_get_qe() local 371 pg_idx = (indx % hwq->qe_ppg); in bnxt_qplib_get_qe() 374 return (void *)(hwq->pbl_ptr[pg_num] + hwq->element_size * pg_idx); in bnxt_qplib_get_qe()
|
/openbmc/linux/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_ppm.h | 113 unsigned char pg_idx:2; member
|
/openbmc/linux/drivers/scsi/cxgbi/cxgb3i/ |
H A D | cxgb3i.c | 1154 unsigned int tid, int pg_idx) in ddp_setup_conn_pgidx() argument 1159 u64 val = pg_idx < DDP_PGIDX_MAX ? pg_idx : 0; in ddp_setup_conn_pgidx() 1162 "csk 0x%p, tid %u, pg_idx %d.\n", csk, tid, pg_idx); in ddp_setup_conn_pgidx()
|
/openbmc/linux/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 2078 int pg_idx) in ddp_setup_conn_pgidx() argument 2083 if (!pg_idx || pg_idx >= DDP_PGIDX_MAX) in ddp_setup_conn_pgidx() 2097 req->val = cpu_to_be64(pg_idx << 8); in ddp_setup_conn_pgidx() 2101 "csk 0x%p, tid 0x%x, pg_idx %u.\n", csk, csk->tid, pg_idx); in ddp_setup_conn_pgidx()
|
/openbmc/linux/drivers/block/ |
H A D | ublk_drv.c | 820 unsigned pg_idx = 0; in ublk_copy_io_pages() local 827 void *pg_buf = kmap_local_page(data->pages[pg_idx]); in ublk_copy_io_pages() 840 pg_idx += 1; in ublk_copy_io_pages()
|
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | verbs.c | 2365 u32 pg_idx; in irdma_check_mem_contiguous() local 2367 for (pg_idx = 0; pg_idx < npages; pg_idx++) { in irdma_check_mem_contiguous() 2368 if ((*arr + (pg_size * pg_idx)) != arr[pg_idx]) in irdma_check_mem_contiguous()
|
/openbmc/linux/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_cm.c | 1545 int cxgbit_setup_conn_pgidx(struct cxgbit_sock *csk, u32 pg_idx) in cxgbit_setup_conn_pgidx() argument 1563 req->val = cpu_to_be64(pg_idx << 8); in cxgbit_setup_conn_pgidx()
|
/openbmc/linux/net/core/ |
H A D | skbuff.c | 4167 unsigned int pg_idx, pg_off, pg_sz; in skb_seq_read() local 4171 pg_idx = 0; in skb_seq_read() 4176 pg_idx = (pg_off + st->frag_off) >> PAGE_SHIFT; in skb_seq_read() 4185 st->frag_data = kmap_atomic(skb_frag_page(frag) + pg_idx); in skb_seq_read()
|