Lines Matching refs:tkid
70 u32 *tkid; in wusbhc_next_tkid() local
74 tkid = &wusbhc->gtk_tkid; in wusbhc_next_tkid()
77 tkid = &wusb_port_by_idx(wusbhc, wusb_dev->port_idx)->ptk_tkid; in wusbhc_next_tkid()
81 *tkid = (addr << 8) | ((*tkid + 1) & 0xff); in wusbhc_next_tkid()
83 return *tkid; in wusbhc_next_tkid()
89 u32 tkid; in wusbhc_generate_gtk() local
91 tkid = wusbhc_next_tkid(wusbhc, NULL); in wusbhc_generate_gtk()
93 wusbhc->gtk.descr.tTKID[0] = (tkid >> 0) & 0xff; in wusbhc_generate_gtk()
94 wusbhc->gtk.descr.tTKID[1] = (tkid >> 8) & 0xff; in wusbhc_generate_gtk()
95 wusbhc->gtk.descr.tTKID[2] = (tkid >> 16) & 0xff; in wusbhc_generate_gtk()
350 u32 tkid; in wusb_dev_4way_handshake() local
370 tkid = wusbhc_next_tkid(wusbhc, wusb_dev); in wusb_dev_4way_handshake()
371 tkid_le = cpu_to_le32(tkid); in wusb_dev_4way_handshake()
427 memcpy(ccm_n.tkid, &tkid_le, sizeof(ccm_n.tkid)); in wusb_dev_4way_handshake()
479 result = wusbhc->set_ptk(wusbhc, wusb_dev->port_idx, tkid, in wusb_dev_4way_handshake()