Searched refs:pg_offset (Results 1 – 7 of 7) sorted by relevance
/drivers/char/agp/ |
D | nvidia-agp.c | 33 off_t pg_offset; member 133 nvidia_private.pg_offset = 0; in nvidia_configure() 137 nvidia_private.pg_offset = (apbase & (64 * 1024 * 1024 - 1) & in nvidia_configure() 218 if (!PGE_EMPTY(agp_bridge, readl(agp_bridge->gatt_table+nvidia_private.pg_offset+j))) in nvidia_insert_memory() 229 agp_bridge->gatt_table+nvidia_private.pg_offset+j); in nvidia_insert_memory() 233 readl(agp_bridge->gatt_table+nvidia_private.pg_offset+j - 1); in nvidia_insert_memory() 254 writel(agp_bridge->scratch_page, agp_bridge->gatt_table+nvidia_private.pg_offset+i); in nvidia_remove_memory()
|
/drivers/hwtracing/coresight/ |
D | coresight-tmc-etr.c | 389 int pg_offset = offset & (PAGE_SIZE - 1); in tmc_sg_table_get_data() local 399 len = (len < (PAGE_SIZE - pg_offset)) ? len : (PAGE_SIZE - pg_offset); in tmc_sg_table_get_data() 401 *bufpp = page_address(data_pages->pages[pg_idx]) + pg_offset; in tmc_sg_table_get_data() 1425 long pg_idx, pg_offset; in tmc_etr_sync_perf_buffer() local 1432 pg_offset = head & (PAGE_SIZE - 1); in tmc_etr_sync_perf_buffer() 1450 bytes = min(bytes, (long)(PAGE_SIZE - pg_offset)); in tmc_etr_sync_perf_buffer() 1452 memcpy(dst_pages[pg_idx] + pg_offset, src_buf, bytes); in tmc_etr_sync_perf_buffer() 1457 pg_offset += bytes; in tmc_etr_sync_perf_buffer() 1458 if (pg_offset == PAGE_SIZE) { in tmc_etr_sync_perf_buffer() 1459 pg_offset = 0; in tmc_etr_sync_perf_buffer()
|
D | coresight-catu.c | 119 unsigned int table_nr, pg_idx, pg_offset; in catu_get_table() local 133 pg_offset = (table_nr % CATU_PAGES_PER_SYSPAGE) * CATU_PAGE_SIZE; in catu_get_table() 135 *daddrp = table_pages->daddrs[pg_idx] + pg_offset; in catu_get_table() 137 return (cate_t *)((unsigned long)ptr + pg_offset); in catu_get_table()
|
/drivers/nvme/host/ |
D | lightnvm.c | 143 __u8 pg_offset; member 273 dst->pg_offset = src->pg_offset; in nvme_nvm_set_addr_12() 280 dst->pg_mask = ((1ULL << dst->pg_len) - 1) << dst->pg_offset; in nvme_nvm_set_addr_12() 1024 ppaf->pg_offset, ppaf->pg_len, in nvm_dev_attr_show_ppaf()
|
/drivers/lightnvm/ |
D | pblk-sysfs.c | 127 ppaf->pg_offset, ppaf->pg_len, in pblk_sysfs_ppaf() 136 gppaf->pg_offset, gppaf->pg_len, in pblk_sysfs_ppaf()
|
D | pblk-init.c | 226 dst->pg_offset = dst->lun_offset + dst->lun_len; in pblk_set_addrf_12() 227 dst->blk_offset = dst->pg_offset + dst->pg_len; in pblk_set_addrf_12() 233 dst->pg_mask = ((1ULL << dst->pg_len) - 1) << dst->pg_offset; in pblk_set_addrf_12()
|
D | pblk.h | 988 ppa.g.pg = (paddr & ppaf->pg_mask) >> ppaf->pg_offset; in addr_to_gen_ppa() 1047 paddr |= (u64)p.g.pg << ppaf->pg_offset; in pblk_dev_ppa_to_line_addr()
|