Lines Matching refs:code
95 bool dell_privacy_process_event(int type, int code, int status)
108 key = sparse_keymap_entry_from_scancode(priv->input_dev, (type << 16) | code);
110 dev_warn(&priv->wdev->dev, "Unknown key with type 0x%04x and code 0x%04x pressed\n",
111 type, code);
114 dev_dbg(&priv->wdev->dev, "Key with type 0x%04x and code 0x%04x pressed\n", type, code);
116 switch (code) {
128 dev_dbg(&priv->wdev->dev, "unknown event type 0x%04x 0x%04x\n", type, code);
322 /* remap the keymap code with Dell privacy key type 0x12 as prefix
332 dell_wmi_keymap_type_0012[i].sw.code == SW_CAMERA_LENS_COVER &&
337 keymap[j].code |= (0x0012 << 16);