Lines Matching defs:cookie
482 txstat->cookie = 0;
872 /* Generate a cookie for the TX header. */
876 u16 cookie = 0x1000;
878 /* Use the upper 4 bits of the cookie as
881 * Note that the cookie must never be 0, as this
886 cookie = 0xA000;
889 cookie = 0xB000;
892 cookie = 0xC000;
895 cookie = 0xD000;
898 cookie = 0xE000;
901 cookie = 0xF000;
905 cookie |= (u16)slot;
907 return cookie;
910 /* Inspect a cookie and find out to which controller/slot it belongs. */
913 u16 cookie, int *slot)
918 switch (cookie & 0xF000) {
940 *slot = (cookie & 0x0FFF);
1131 ring = parse_cookie(dev, status->cookie, &slot);
1137 * Check if the slot deduced from the cookie really is the first
1263 while (hw->cookie == 0) {