Lines Matching defs:key
1361 if (sw->key)
1369 if (sw->key)
1456 if (sw->key)
1457 ret = sprintf(buf, "%*phN\n", TB_SWITCH_KEY_SIZE, sw->key);
1469 u8 key[TB_SWITCH_KEY_SIZE];
1475 else if (hex2bin(key, buf, sizeof(key)))
1484 kfree(sw->key);
1486 sw->key = NULL;
1488 sw->key = kmemdup(key, sizeof(key), GFP_KERNEL);
1489 if (!sw->key)
1497 static DEVICE_ATTR(key, 0600, key_show, key_store);
1770 kfree(sw->key);