Lines Matching defs:cookie
1135 /* Generate a cookie for the TX header. */
1138 u16 cookie;
1140 /* Use the upper 4 bits of the cookie as
1143 * Note that the cookie must never be 0, as this
1148 cookie = (((u16)ring->index + 1) << 12);
1150 cookie |= (u16)slot;
1152 return cookie;
1155 /* Inspect a cookie and find out to which controller/slot it belongs. */
1157 struct b43_dmaring *parse_cookie(struct b43_wldev *dev, u16 cookie, int *slot)
1162 switch (cookie & 0xF000) {
1179 *slot = (cookie & 0x0FFF);
1182 "invalid cookie: 0x%04X\n", cookie);
1201 u16 cookie;
1218 cookie = generate_cookie(ring, slot);
1220 skb, info, cookie);
1272 /* Tell the firmware about the cookie of the last
1275 B43_SHM_SH_MCASTCOOKIE, cookie);
1427 ring = parse_cookie(dev, status->cookie, &slot);
1433 * Check if the slot deduced from the cookie really is the first