Consolidated Statements of Cash Flows (USD $)
In Thousands, unless otherwise specified
12 Months Ended
Dec. 28, 2014
Dec. 29, 2013
Dec. 30, 2012
Cash Flows from Operating Activities:      
Net income (loss) $ (70,034) $ (78,268) $ 24,384
Depreciation and amortization 108,164 91,216 95,431
Costs relating to partial repurchase of 7.875% Senior Notes 1,137 2,280  
Asset impairment charges     2,070
Provision (benefit) for deferred income taxes (2,723) (4,985) 5,889
Gain on pension assets (2,494)    
Gain on sale of Kuala Lumpur land and buildings     (28,434)
Net gain on sale and disposal of property, plant, and equipment 77 (3,082) (6,086)
Gain on acquisition of microcontroller and analog business   (7,950)  
Gain on recovery from impaired investments (1,834) (11,236) (1,059)
Reserve reversal on final settlement of bankruptcy change (3,205)    
Stock-based compensation 40,266 30,687 34,363
Changes in assets and liabilities, net of effect of acquisition      
Accounts Receivable 41,485 (68,957) 2,528
Inventories (56,570) 30,529 (8,667)
Prepaid expenses and other current assets (2,106) 7,274 2,301
Other assets (8,304) (25,929) 10,128
Accounts payable, accrued liabilities, and accrued compensation 32,773 106,665 (15,382)
Income taxes payable (3,310) 2,037 981
Deferred income 5,073 21,122 (9,047)
Net cash provided by operating activities 78,395 91,403 109,400
Cash Flows from Investing Activities:      
Proceeds from sale of property, plant and equipment 209 3,206 45,635
Purchases of property, plant and equipment (59,820) (56,002) (42,286)
Proceeds from recovery of impaired investments 1,852 11,566 1,059
Business acquisition, net of cash acquired   (149,952)  
Proceeds from redemption of marketable securities 27,369 146,840 112,467
Purchases of marketable securities (52,530) (120,549) (96,334)
Net cash provided by (used in) investing activities (82,920) (164,891) 20,541
Cash Flows from Financing Activities:      
Additional borrowings on term loan, net of discount   82,117  
Refinancing cost on Term Loan and Revolver   (416) (2,597)
Payments on financing arrangements (107,987) (9,386) (30,390)
Proceeds from issuance of 2.0% Senior Exchangeable Notes   150,000  
Costs relating to issuance of 2.0% Senior Exchangeable Notes   (4,506)  
Purchase of capped call for the 2.0% Senior Exchangeable Notes   (15,375)  
Partial repurchase of 7.875% Senior Notes including costs   (106,779)  
Acquisition of noncontrolling interest     (4,024)
Proceeds from issuance of common stock, net of offering costs 19,263 2,693 1,588
Net proceeds from sale of Sunnyvale property 58,974    
Cash settlement on hedging activies   (268) (1,073)
Purchase of bankruptcy claims     (24,450)
Net cash provided by (used in) financing activities (29,750) 98,080 (60,946)
Effect of exchange rate changes on cash and cash equivalents (1,729) (700) (1,668)
Net increase (decrease) in cash and cash equivalents (36,004) 23,892 67,327
Cash and cash equivalents at the beginning of period 286,069 262,177 194,850
Cash and cash equivalents at end of period 250,065 286,069 262,177
Supplemental Cash Flows Disclosures:      
Interest paid 15,354 26,477 30,904
Income taxes paid, net of refunds 21,039 7,761 7,016
Non-cash investing and financing activities:      
Term Loan amendment     218,789
Purchase of Property, Plant and Equipment [Member]      
Non-cash investing and financing activities:      
Liabilities assumed 21,737 9,495 11,359
Relating to Software License and Intellectual Property Obligations [Member]      
Non-cash investing and financing activities:      
Liabilities assumed   $ 17,572 $ 5,623