Strictly speaking, there are no macros. Macros are pieces of code, often parameterized. The defines in this file provide names for numbers. Besides, those numbers are hexadecimal, not octal.
Of course the purpose of these defines is special. They determine graphics modes at boot time. This is documented at
https://www.kernel.org/doc/Documentation/svga.txt. By the way, I found this page with this Google search:
Code:
site:kernel.org ask_vga
I don’t know what you mean by “general one”.