Home
last modified time | relevance | path

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

/linux/drivers/firewire/
H A Dcore-device.c568 #define MAX_CONFIG_ROM_SIZE ((CSR_CONFIG_ROM_END - CSR_CONFIG_ROM) / sizeof(u32)) macro
586 rom = kmalloc(sizeof(*rom) * MAX_CONFIG_ROM_SIZE + in read_config_rom()
587 sizeof(*stack) * MAX_CONFIG_ROM_SIZE, GFP_KERNEL); in read_config_rom()
591 stack = &rom[MAX_CONFIG_ROM_SIZE]; in read_config_rom()
592 memset(rom, 0, sizeof(*rom) * MAX_CONFIG_ROM_SIZE); in read_config_rom()
662 if (WARN_ON(i >= MAX_CONFIG_ROM_SIZE)) { in read_config_rom()
672 if (end > MAX_CONFIG_ROM_SIZE) { in read_config_rom()
705 if (i + (rom[i] & 0xffffff) >= MAX_CONFIG_ROM_SIZE) { in read_config_rom()