Home
last modified time | relevance | path

Searched refs:seg_offset (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Deprom.c303 u32 seg_base, seg_offset; in read_segment_platform_config() local
383 seg_offset = entry->offset % SEG_SIZE; in read_segment_platform_config()
384 seg_base = entry->offset - seg_offset; in read_segment_platform_config()
390 bytes_available = SEG_SIZE - seg_offset; in read_segment_platform_config()
424 ret = read_length(dd, seg_base + seg_offset, to_copy, in read_segment_platform_config()
432 seg_offset = footer->oprom_size; in read_segment_platform_config()
/Linux-v4.19/arch/powerpc/mm/
Ddma-noncoherent.c360 unsigned long flags, start, seg_offset = offset; in __dma_sync_page_highmem() local
367 start = (unsigned long)kmap_atomic(page + seg_nr) + seg_offset; in __dma_sync_page_highmem()
379 seg_offset = 0; in __dma_sync_page_highmem()
/Linux-v4.19/net/sunrpc/xprtrdma/
Dsvc_rdma_rw.c426 u64 seg_offset; in svc_rdma_build_writes() local
433 xdr_decode_hyper(seg + 2, &seg_offset); in svc_rdma_build_writes()
434 seg_offset += info->wi_seg_off; in svc_rdma_build_writes()
445 ctxt->rw_nents, 0, seg_offset, in svc_rdma_build_writes()
450 trace_svcrdma_encode_wseg(seg_handle, write_len, seg_offset); in svc_rdma_build_writes()
/Linux-v4.19/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c48 uint32_t seg_offset; in setup_x_points_distribution() local
59 seg_offset = (segment + (NUM_REGIONS - 7)) * NUM_PTS_IN_REGION; in setup_x_points_distribution()
60 coordinates_x[seg_offset].x = region_size; in setup_x_points_distribution()
62 for (index = seg_offset + 1; in setup_x_points_distribution()
63 index < seg_offset + NUM_PTS_IN_REGION; in setup_x_points_distribution()