Searched refs:seg_offset (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/infiniband/hw/hfi1/ |
D | eprom.c | 262 u32 seg_base, seg_offset; in read_segment_platform_config() local 342 seg_offset = entry->offset % SEG_SIZE; in read_segment_platform_config() 343 seg_base = entry->offset - seg_offset; in read_segment_platform_config() 349 bytes_available = SEG_SIZE - seg_offset; in read_segment_platform_config() 383 ret = read_length(dd, seg_base + seg_offset, to_copy, in read_segment_platform_config() 391 seg_offset = footer->oprom_size; in read_segment_platform_config()
|
/Linux-v6.1/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-v6.1/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 71 uint32_t seg_offset; in setup_x_points_distribution() local 82 seg_offset = (segment + (NUM_REGIONS - 7)) * NUM_PTS_IN_REGION; in setup_x_points_distribution() 83 coordinates_x[seg_offset].x = region_size; in setup_x_points_distribution() 85 for (index = seg_offset + 1; in setup_x_points_distribution() 86 index < seg_offset + NUM_PTS_IN_REGION; in setup_x_points_distribution()
|
/Linux-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_flex_type.h | 27 __le32 seg_offset[]; member
|
D | ice_flex_pipe.c | 1025 ((u8 *)pkg_hdr + le32_to_cpu(pkg_hdr->seg_offset[i])); in ice_find_seg_in_pkg() 1371 if (len < struct_size(pkg, seg_offset, 1)) in ice_verify_pkg() 1386 if (len < struct_size(pkg, seg_offset, seg_count)) in ice_verify_pkg() 1391 u32 off = le32_to_cpu(pkg->seg_offset[i]); in ice_verify_pkg()
|