Home
last modified time | relevance | path

Searched refs:q_new (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/hid/
Dhid-quirks.c1076 struct quirks_list_struct *q_new, *q; in hid_modify_dquirk() local
1084 q_new = kmalloc(sizeof(struct quirks_list_struct), GFP_KERNEL); in hid_modify_dquirk()
1085 if (!q_new) { in hid_modify_dquirk()
1090 hdev->bus = q_new->hid_bl_item.bus = id->bus; in hid_modify_dquirk()
1091 hdev->group = q_new->hid_bl_item.group = id->group; in hid_modify_dquirk()
1092 hdev->vendor = q_new->hid_bl_item.vendor = id->vendor; in hid_modify_dquirk()
1093 hdev->product = q_new->hid_bl_item.product = id->product; in hid_modify_dquirk()
1094 q_new->hid_bl_item.driver_data = quirks; in hid_modify_dquirk()
1102 list_replace(&q->node, &q_new->node); in hid_modify_dquirk()
1112 list_add_tail(&q_new->node, &dquirks_list); in hid_modify_dquirk()