Searched refs:P1_SIZE (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | eprom.c | 59 #define P1_SIZE (4 * 1024) macro 61 #define P2_START (P0_SIZE + P1_SIZE) 259 buffer = kmalloc(P1_SIZE, GFP_KERNEL); in read_partition_platform_config() 263 ret = read_length(dd, P1_START, P1_SIZE, buffer); in read_partition_platform_config() 276 p = strnstr(buffer, IMAGE_TRAIL_MAGIC, P1_SIZE); in read_partition_platform_config() 280 length = P1_SIZE; in read_partition_platform_config()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | eprom.c | 18 #define P1_SIZE (4 * 1024) macro 20 #define P2_START (P0_SIZE + P1_SIZE) 218 buffer = kmalloc(P1_SIZE, GFP_KERNEL); in read_partition_platform_config() 222 ret = read_length(dd, P1_START, P1_SIZE, buffer); in read_partition_platform_config() 235 p = strnstr(buffer, IMAGE_TRAIL_MAGIC, P1_SIZE); in read_partition_platform_config() 239 length = P1_SIZE; in read_partition_platform_config()
|
Completed in 2 milliseconds