Home
last modified time | relevance | path

Searched refs:pg_idx (Results 1 – 9 of 9) sorted by relevance

/drivers/hwtracing/coresight/
Dcoresight-catu.c119 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()
Dcoresight-tmc-etr.c395 int pg_idx = offset >> PAGE_SHIFT; in tmc_sg_table_get_data() local
408 *bufpp = page_address(data_pages->pages[pg_idx]) + pg_offset; in tmc_sg_table_get_data()
1463 long pg_idx, pg_offset; in tmc_etr_sync_perf_buffer() local
1469 pg_idx = head >> PAGE_SHIFT; in tmc_etr_sync_perf_buffer()
1490 memcpy(dst_pages[pg_idx] + pg_offset, src_buf, bytes); in tmc_etr_sync_perf_buffer()
1498 if (++pg_idx == etr_perf->nr_pages) in tmc_etr_sync_perf_buffer()
1499 pg_idx = 0; in tmc_etr_sync_perf_buffer()
/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h327 u32 pg_num, pg_idx; in bnxt_qplib_get_qe() local
330 pg_idx = (indx % hwq->qe_ppg); in bnxt_qplib_get_qe()
333 return (void *)(hwq->pbl_ptr[pg_num] + hwq->element_size * pg_idx); in bnxt_qplib_get_qe()
/drivers/pci/controller/mobiveil/
Dpcie-mobiveil.c28 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()
/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.h113 unsigned char pg_idx:2; member
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1153 unsigned int tid, int pg_idx) in ddp_setup_conn_pgidx() argument
1158 u64 val = pg_idx < DDP_PGIDX_MAX ? pg_idx : 0; in ddp_setup_conn_pgidx()
1161 "csk 0x%p, tid %u, pg_idx %d.\n", csk, tid, pg_idx); in ddp_setup_conn_pgidx()
/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c1327 u32 pg_idx; in i40iw_check_mem_contiguous() local
1329 for (pg_idx = 0; pg_idx < npages; pg_idx++) { in i40iw_check_mem_contiguous()
1330 if ((*arr + (pg_size * pg_idx)) != arr[pg_idx]) in i40iw_check_mem_contiguous()
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c2077 int pg_idx) in ddp_setup_conn_pgidx() argument
2082 if (!pg_idx || pg_idx >= DDP_PGIDX_MAX) in ddp_setup_conn_pgidx()
2096 req->val = cpu_to_be64(pg_idx << 8); in ddp_setup_conn_pgidx()
2100 "csk 0x%p, tid 0x%x, pg_idx %u.\n", csk, csk->tid, pg_idx); in ddp_setup_conn_pgidx()
/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1544 int cxgbit_setup_conn_pgidx(struct cxgbit_sock *csk, u32 pg_idx) in cxgbit_setup_conn_pgidx() argument
1562 req->val = cpu_to_be64(pg_idx << 8); in cxgbit_setup_conn_pgidx()