Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
H A Deprom.c262 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/arch/powerpc/mm/
H A Ddma-noncoherent.c64 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/drivers/net/ethernet/intel/ice/
H A Dice_ddp.c39 if (len < struct_size(pkg, seg_offset, 1)) in ice_verify_pkg()
54 if (len < struct_size(pkg, seg_offset, seg_count)) in ice_verify_pkg()
59 u32 off = le32_to_cpu(pkg->seg_offset[i]); in ice_verify_pkg()
1349 le32_to_cpu(pkg_hdr->seg_offset[idx])); in ice_get_pkg_seg_by_idx()
1842 seg = (void *)pkg_hdr + le32_to_cpu(pkg_hdr->seg_offset[i]); in ice_find_seg_in_pkg()
H A Dice_ddp.h98 __le32 seg_offset[]; member