Searched refs:pg_idx (Results 1 - 5 of 5) sorted by relevance

/drivers/gpu/drm/radeon/
H A Dradeon_cs.c516 int radeon_cs_update_pages(struct radeon_cs_parser *p, int pg_idx) argument
523 for (i = ibc->last_copied_page + 1; i < pg_idx; i++) {
534 if (pg_idx == ibc->last_page_index) {
541 ibc->user_ptr + (pg_idx * PAGE_SIZE),
548 memcpy((void *)(p->ib->ptr+(pg_idx*(PAGE_SIZE/4))), ibc->kpage[new_page], size);
550 ibc->last_copied_page = pg_idx;
551 ibc->kpage_idx[new_page] = pg_idx;
H A Dradeon_ring.c42 u32 pg_idx, pg_offset; local
46 pg_idx = (idx * 4) / PAGE_SIZE;
49 if (ibc->kpage_idx[0] == pg_idx)
51 if (ibc->kpage_idx[1] == pg_idx)
54 new_page = radeon_cs_update_pages(p, pg_idx);
H A Dradeon.h850 extern int radeon_cs_update_pages(struct radeon_cs_parser *p, int pg_idx);
/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c1137 unsigned int tid, int pg_idx, bool reply)
1142 u64 val = pg_idx < DDP_PGIDX_MAX ? pg_idx : 0;
1145 "csk 0x%p, tid %u, pg_idx %d.\n", csk, tid, pg_idx);
1136 ddp_setup_conn_pgidx(struct cxgbi_sock *csk, unsigned int tid, int pg_idx, bool reply) argument
/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1328 int pg_idx, bool reply)
1333 if (!pg_idx || pg_idx >= DDP_PGIDX_MAX)
1347 req->val = cpu_to_be64(pg_idx << 8);
1351 "csk 0x%p, tid 0x%x, pg_idx %u.\n", csk, csk->tid, pg_idx);
1327 ddp_setup_conn_pgidx(struct cxgbi_sock *csk, unsigned int tid, int pg_idx, bool reply) argument

Completed in 71 milliseconds