Home
last modified time | relevance | path

Searched refs:offset_in_page (Results 1 – 25 of 114) sorted by relevance

12345

/drivers/gpu/drm/i915/gt/
Dshmem_utils.c98 min_t(size_t, PAGE_SIZE - offset_in_page(off), len); in __shmem_rw()
109 memcpy(vaddr + offset_in_page(off), ptr, this); in __shmem_rw()
112 memcpy(ptr, vaddr + offset_in_page(off), this); in __shmem_rw()
Dintel_timeline.c58 u32 ofs = offset_in_page(timeline->hwsp_offset); in intel_timeline_pin_map()
207 offset_in_page(tl->hwsp_offset); in intel_timeline_pin()
308 u32 next_ofs = offset_in_page(tl->hwsp_offset + TIMELINE_SEQNO_BYTES); in __intel_timeline_get_seqno()
312 next_ofs = offset_in_page(next_ofs + BIT(5)); in __intel_timeline_get_seqno()
352 offset_in_page(from->hwsp_seqno); in intel_timeline_read_hwsp()
Dgen6_engine_cs.c377 GEM_BUG_ON(offset_in_page(rq->hwsp_seqno) != I915_GEM_HWS_SEQNO_ADDR); in gen6_emit_breadcrumb_xcs()
397 GEM_BUG_ON(offset_in_page(rq->hwsp_seqno) != I915_GEM_HWS_SEQNO_ADDR); in gen7_emit_breadcrumb_xcs()
Dselftest_lrc.c77 offset_in_page(slot); in emit_semaphore_signal()
145 GEM_BUG_ON(offset_in_page(lrc)); in live_lrc_layout()
526 offset_in_page(slot); in __gpr_read()
703 offset_in_page(slot); in create_timestamp()
1051 offset_in_page(sema); in record_registers()
1171 offset_in_page(sema); in poison_registers()
/drivers/target/tcm_fc/
Dtfc_io.c143 from += offset_in_page(mem_off); in ft_queue_data_in()
145 offset_in_page(mem_off))); in ft_queue_data_in()
302 to += offset_in_page(mem_off); in ft_recv_write_data()
304 offset_in_page(mem_off))); in ft_recv_write_data()
/drivers/mtd/nand/raw/
Dnand_base.c1089 unsigned int offset_in_page) in nand_fill_column_cycles() argument
1094 if (offset_in_page > mtd->writesize + mtd->oobsize) in nand_fill_column_cycles()
1102 if (mtd->writesize <= 512 && offset_in_page >= mtd->writesize) in nand_fill_column_cycles()
1103 offset_in_page -= mtd->writesize; in nand_fill_column_cycles()
1110 if (WARN_ON(offset_in_page % 2)) in nand_fill_column_cycles()
1113 offset_in_page /= 2; in nand_fill_column_cycles()
1116 addrs[0] = offset_in_page; in nand_fill_column_cycles()
1125 addrs[1] = offset_in_page >> 8; in nand_fill_column_cycles()
1131 unsigned int offset_in_page, void *buf, in nand_sp_exec_read_page_op() argument
1152 if (offset_in_page >= mtd->writesize) in nand_sp_exec_read_page_op()
[all …]
/drivers/edac/
Dedac_mc.c915 e->label, e->location, e->page_frame_number, e->offset_in_page, in edac_ce_error()
939 edac_mc_scrub_block(remapped_page, e->offset_in_page, e->grain); in edac_ce_error()
952 e->label, e->location, e->page_frame_number, e->offset_in_page, in edac_ue_error()
964 e->label, e->location, e->page_frame_number, e->offset_in_page, in edac_ue_error()
1007 (e->page_frame_number << PAGE_SHIFT) | e->offset_in_page, in edac_raw_mc_handle_error()
1021 const unsigned long offset_in_page, in edac_mc_handle_error() argument
1047 e->offset_in_page = offset_in_page; in edac_mc_handle_error()
Dedac_mc.h245 const unsigned long offset_in_page,
Dghes_edac.c361 e->offset_in_page = offset_in_page(mem_err->physical_addr); in ghes_edac_report_mem_error()
/drivers/hwtracing/intel_th/
Dsth.c152 if (offset_in_page(addr) || in sth_stm_mmio_addr()
153 offset_in_page(nr_chans * sizeof(struct intel_th_channel))) in sth_stm_mmio_addr()
/drivers/gpu/drm/i915/gem/
Di915_gem_object.c370 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_kmap()
389 src_ptr = src_map + offset_in_page(offset); in i915_gem_object_read_from_page_iomap()
413 GEM_BUG_ON(offset_in_page(offset) > PAGE_SIZE - size); in i915_gem_object_read_from_page()
/drivers/block/rnbd/
Drnbd-srv-dev.c80 offset = offset_in_page(kaddr); in rnbd_bio_map_kern()
/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.h122 *offset = offset_in_page(*buf); in smu_cmn_get_sysfs_buf()
/drivers/crypto/nx/
Dnx-842.h109 return page_to_phys(vmalloc_to_page(addr)) + offset_in_page(addr); in nx842_get_pa()
/drivers/gpu/drm/i915/
Di915_gem.c238 offset = offset_in_page(args->offset); in i915_gem_shmem_pread()
397 unsigned page_offset = offset_in_page(offset); in i915_gem_gtt_pread()
569 unsigned int page_offset = offset_in_page(offset); in i915_gem_gtt_pwrite_fast()
671 offset = offset_in_page(args->offset); in i915_gem_shmem_pwrite()
/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_coherency.c38 cpu = map + offset_in_page(offset); in cpu_set()
71 cpu = map + offset_in_page(offset); in cpu_get()
Di915_gem_mman.c147 cpu = kmap(p) + offset_in_page(offset); in check_partial_mapping()
158 (unsigned int)offset_in_page(offset), in check_partial_mapping()
240 cpu = kmap(p) + offset_in_page(offset); in check_partial_mappings()
251 (unsigned int)offset_in_page(offset), in check_partial_mappings()
/drivers/net/fjes/
Dfjes_trace.h115 offset_in_page(tx);
117 offset_in_page(rx);
/drivers/mtd/devices/
Dmtdram.c73 unsigned long page_ofs = offset_in_page(*virt); in ram_point()
/drivers/crypto/
Dpadlock-aes.c245 if (unlikely(offset_in_page(in) + ecb_fetch_bytes > PAGE_SIZE)) { in ecb_crypt()
257 if (unlikely(offset_in_page(in) + cbc_fetch_bytes > PAGE_SIZE)) in cbc_crypt()
/drivers/md/
Ddm-io.c264 dp->context_u = offset_in_page(data); in vm_dp_init()
289 dp->context_u = offset_in_page(data); in km_dp_init()
/drivers/vdpa/vdpa_user/
Diova_domain.c140 unsigned int offset = offset_in_page(orig); in do_bounce()
175 offset = offset_in_page(iova); in vduse_domain_bounce()
/drivers/md/bcache/
Dutil.c239 bv->bv_offset = base ? offset_in_page(base) : 0; in bch_bio_map()
/drivers/fpga/
Dfpga-mgr.c325 p = buf - offset_in_page(buf); in fpga_mgr_buf_load()
342 rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), in fpga_mgr_buf_load()
/drivers/gpu/drm/qxl/
Dqxl_image.c175 page_offset = offset_in_page(out_offset); in qxl_image_init_helper()

12345