/drivers/gpu/drm/i915/gt/ |
D | shmem_utils.c | 98 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()
|
D | intel_timeline.c | 58 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()
|
D | gen6_engine_cs.c | 377 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()
|
D | selftest_lrc.c | 77 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/ |
D | tfc_io.c | 143 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/ |
D | nand_base.c | 1089 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/ |
D | edac_mc.c | 915 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()
|
D | edac_mc.h | 245 const unsigned long offset_in_page,
|
D | ghes_edac.c | 361 e->offset_in_page = offset_in_page(mem_err->physical_addr); in ghes_edac_report_mem_error()
|
/drivers/hwtracing/intel_th/ |
D | sth.c | 152 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/ |
D | i915_gem_object.c | 370 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/ |
D | rnbd-srv-dev.c | 80 offset = offset_in_page(kaddr); in rnbd_bio_map_kern()
|
/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.h | 122 *offset = offset_in_page(*buf); in smu_cmn_get_sysfs_buf()
|
/drivers/crypto/nx/ |
D | nx-842.h | 109 return page_to_phys(vmalloc_to_page(addr)) + offset_in_page(addr); in nx842_get_pa()
|
/drivers/gpu/drm/i915/ |
D | i915_gem.c | 238 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/ |
D | i915_gem_coherency.c | 38 cpu = map + offset_in_page(offset); in cpu_set() 71 cpu = map + offset_in_page(offset); in cpu_get()
|
D | i915_gem_mman.c | 147 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/ |
D | fjes_trace.h | 115 offset_in_page(tx); 117 offset_in_page(rx);
|
/drivers/mtd/devices/ |
D | mtdram.c | 73 unsigned long page_ofs = offset_in_page(*virt); in ram_point()
|
/drivers/crypto/ |
D | padlock-aes.c | 245 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/ |
D | dm-io.c | 264 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/ |
D | iova_domain.c | 140 unsigned int offset = offset_in_page(orig); in do_bounce() 175 offset = offset_in_page(iova); in vduse_domain_bounce()
|
/drivers/md/bcache/ |
D | util.c | 239 bv->bv_offset = base ? offset_in_page(base) : 0; in bch_bio_map()
|
/drivers/fpga/ |
D | fpga-mgr.c | 325 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/ |
D | qxl_image.c | 175 page_offset = offset_in_page(out_offset); in qxl_image_init_helper()
|