Green’s Dictionary of Slang

tam n.

[abbr. SE tam o’shanter]

1. (US, latterly gay) any form of hat.

[US]P. White West End 404: We must remember that to superintend the distribution of socks and ‘Tams’ (she called them Tams) was a good deal more onerous.
[UK]K. Mackenzie Living Rough 103: A blue tam stuck at a jaunty angle on her head.
[US]B. Rodgers Queens’ Vernacular 194: tam (fr tam o’shanter) any cap or hat.

2. (W.I. Rasta) the large woollen hat used by Rastafarians to cover their dreadlocks.

[US](con. 1954) Babs Gonzales I Paid My Dues 92: We all wore ‘tams’ on stage.
[UK]D. Hebdige Subculture 35: The colours of the Ethiopean flag emblazoned on items as various as badges [...] tams (woollen hats), walking sticks. [Ibid.] 43: The pork-pie hat disappeared to be replaced by the roughly woven ‘tam.’.
[UK]R. Antoni Carnival 120: The rasta raised his eyebrows, adjusting his tam, studying the bill.