Because you don't reflash firmware every time you enable/disable this technologies, it's obvious that there must be some code which checks configuration flags to activate this features.
Twist is that such code is executed on dedicated specialised processor in chipset/CPU with own firmware and it does much more: