Home
last modified time | relevance | path

Searched refs:SEG_SIZE (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Deprom.c217 #define SEG_SIZE (128 * 1024) macro
315 if (footer->oprom_size >= SEG_SIZE) in read_segment_platform_config()
320 MAX_TABLE_ENTRIES(SEG_SIZE - footer->oprom_size)) in read_segment_platform_config()
334 ret = read_length(dd, SEG_SIZE - directory_size, in read_segment_platform_config()
383 seg_offset = entry->offset % SEG_SIZE; in read_segment_platform_config()
390 bytes_available = SEG_SIZE - seg_offset; in read_segment_platform_config()
433 seg_base += SEG_SIZE; in read_segment_platform_config()
475 ret = read_length(dd, SEG_SIZE - EP_PAGE_SIZE, EP_PAGE_SIZE, directory); in eprom_read_platform_config()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Deprom.c176 #define SEG_SIZE (128 * 1024) macro
274 if (footer->oprom_size >= SEG_SIZE) in read_segment_platform_config()
279 MAX_TABLE_ENTRIES(SEG_SIZE - footer->oprom_size)) in read_segment_platform_config()
293 ret = read_length(dd, SEG_SIZE - directory_size, in read_segment_platform_config()
342 seg_offset = entry->offset % SEG_SIZE; in read_segment_platform_config()
349 bytes_available = SEG_SIZE - seg_offset; in read_segment_platform_config()
392 seg_base += SEG_SIZE; in read_segment_platform_config()
434 ret = read_length(dd, SEG_SIZE - EP_PAGE_SIZE, EP_PAGE_SIZE, directory); in eprom_read_platform_config()

Completed in 2 milliseconds