UEFI systems may present info a little different, since technically there is not a BIOS though the command still returns quite a bit of info.

I suspect "hwinfo --sys" has the info you want.
Then you can grep on that..........