Searched refs:seg_offset (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/drivers/infiniband/hw/hfi1/ |
| D | eprom.c | 303 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-v5.4/arch/powerpc/mm/ |
| D | dma-noncoherent.c | 64 unsigned long flags, start, seg_offset = offset; in __dma_sync_page_highmem() local 71 start = (unsigned long)kmap_atomic(page + seg_nr) + seg_offset; in __dma_sync_page_highmem() 83 seg_offset = 0; in __dma_sync_page_highmem()
|
| /Linux-v5.4/net/sunrpc/xprtrdma/ |
| D | svc_rdma_rw.c | 418 u64 seg_offset; in svc_rdma_build_writes() local 425 xdr_decode_hyper(seg + 2, &seg_offset); in svc_rdma_build_writes() 426 seg_offset += info->wi_seg_off; in svc_rdma_build_writes() 437 ctxt->rw_nents, 0, seg_offset, in svc_rdma_build_writes() 442 trace_svcrdma_encode_wseg(seg_handle, write_len, seg_offset); in svc_rdma_build_writes()
|
| /Linux-v5.4/drivers/net/ethernet/intel/ice/ |
| D | ice_flex_type.h | 22 __le32 seg_offset[1]; member
|
| D | ice_flex_pipe.c | 280 ((u8 *)pkg_hdr + le32_to_cpu(pkg_hdr->seg_offset[i])); in ice_find_seg_in_pkg() 558 if (len < sizeof(*pkg) + ((seg_count - 1) * sizeof(pkg->seg_offset))) in ice_verify_pkg() 563 u32 off = le32_to_cpu(pkg->seg_offset[i]); in ice_verify_pkg()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/modules/color/ |
| D | color_gamma.c | 77 uint32_t seg_offset; in setup_x_points_distribution() local 88 seg_offset = (segment + (NUM_REGIONS - 7)) * NUM_PTS_IN_REGION; in setup_x_points_distribution() 89 coordinates_x[seg_offset].x = region_size; in setup_x_points_distribution() 91 for (index = seg_offset + 1; in setup_x_points_distribution() 92 index < seg_offset + NUM_PTS_IN_REGION; in setup_x_points_distribution()
|