Searched refs:pg_idx (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.10/drivers/hwtracing/coresight/ |
| 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()
|
| D | coresight-tmc-etr.c | 392 int pg_idx = offset >> PAGE_SHIFT; in tmc_sg_table_get_data() local 405 *bufpp = page_address(data_pages->pages[pg_idx]) + pg_offset; in tmc_sg_table_get_data() 1442 long pg_idx, pg_offset; in tmc_etr_sync_perf_buffer() local 1448 pg_idx = head >> PAGE_SHIFT; in tmc_etr_sync_perf_buffer() 1469 memcpy(dst_pages[pg_idx] + pg_offset, src_buf, bytes); in tmc_etr_sync_perf_buffer() 1477 if (++pg_idx == etr_perf->nr_pages) in tmc_etr_sync_perf_buffer() 1478 pg_idx = 0; in tmc_etr_sync_perf_buffer()
|
| /Linux-v5.10/drivers/pci/controller/mobiveil/ |
| 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()
|
| /Linux-v5.10/drivers/infiniband/hw/bnxt_re/ |
| D | qplib_res.h | 326 u32 pg_num, pg_idx; in bnxt_qplib_get_qe() local 329 pg_idx = (indx % hwq->qe_ppg); in bnxt_qplib_get_qe() 332 return (void *)(hwq->pbl_ptr[pg_num] + hwq->element_size * pg_idx); in bnxt_qplib_get_qe()
|
| /Linux-v5.10/net/ipv4/ |
| D | tcp.c | 1786 unsigned long pg_idx = 0; in tcp_zerocopy_receive() local 1826 if (pg_idx) { in tcp_zerocopy_receive() 1828 pg_idx, in tcp_zerocopy_receive() 1834 pg_idx = 0; in tcp_zerocopy_receive() 1867 pages[pg_idx] = skb_frag_page(frags); in tcp_zerocopy_receive() 1868 pg_idx++; in tcp_zerocopy_receive() 1872 if (pg_idx == PAGE_BATCH_SIZE) { in tcp_zerocopy_receive() 1873 ret = tcp_zerocopy_vm_insert_batch(vma, pages, pg_idx, in tcp_zerocopy_receive() 1878 pg_idx = 0; in tcp_zerocopy_receive() 1881 if (pg_idx) { in tcp_zerocopy_receive() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/chelsio/libcxgb/ |
| D | libcxgb_ppm.h | 113 unsigned char pg_idx:2; member
|
| /Linux-v5.10/drivers/scsi/cxgbi/cxgb3i/ |
| D | cxgb3i.c | 1152 unsigned int tid, int pg_idx) in ddp_setup_conn_pgidx() argument 1157 u64 val = pg_idx < DDP_PGIDX_MAX ? pg_idx : 0; in ddp_setup_conn_pgidx() 1160 "csk 0x%p, tid %u, pg_idx %d.\n", csk, tid, pg_idx); in ddp_setup_conn_pgidx()
|
| /Linux-v5.10/drivers/infiniband/hw/i40iw/ |
| D | i40iw_verbs.c | 1327 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()
|
| /Linux-v5.10/drivers/scsi/cxgbi/cxgb4i/ |
| D | cxgb4i.c | 2076 int pg_idx) in ddp_setup_conn_pgidx() argument 2081 if (!pg_idx || pg_idx >= DDP_PGIDX_MAX) in ddp_setup_conn_pgidx() 2095 req->val = cpu_to_be64(pg_idx << 8); in ddp_setup_conn_pgidx() 2099 "csk 0x%p, tid 0x%x, pg_idx %u.\n", csk, csk->tid, pg_idx); in ddp_setup_conn_pgidx()
|
| /Linux-v5.10/drivers/target/iscsi/cxgbit/ |
| D | cxgbit_cm.c | 1544 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()
|