XML 201 R84.htm IDEA: XBRL DOCUMENT v3.22.0.1
Loan Sale and Servicing Activities and Variable Interest Entities (Cash Flows Associated with Loan Sale and Servicing Activities) (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Residential Mortgages    
Cash flows from sales of loans $ 8,426 $ 6,654
Cash flows from repurchases of previously transferred loans 239 673
Cash flows from servicing fees 367 338
Cash flows from servicing advances (funded) (33) (32)
Cash flows on mortgage-backed securities held 9,001 9,234
Carrying value of mortgage-backed securities held 17,600 16,500
Commercial Mortgages    
Cash flows from sales of loans 3,611 4,521
Cash flows from repurchases of previously transferred loans 207 229
Cash flows from servicing fees 165 133
Cash flows from servicing advances (funded) (26) (280)
Cash flows on mortgage-backed securities held 76 83
Carrying value of mortgage-backed securities held $ 600 $ 800