Analog/Digital Dimmable Power Factor Corrected Quasi-Resonant PrimarySide Current-Mode Controller for LED Lighting