Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hid/
Dhid-quirks.c1106 struct quirks_list_struct *q_new, *q; in hid_modify_dquirk() local
1114 q_new = kmalloc(sizeof(struct quirks_list_struct), GFP_KERNEL); in hid_modify_dquirk()
1115 if (!q_new) { in hid_modify_dquirk()
1120 hdev->bus = q_new->hid_bl_item.bus = id->bus; in hid_modify_dquirk()
1121 hdev->group = q_new->hid_bl_item.group = id->group; in hid_modify_dquirk()
1122 hdev->vendor = q_new->hid_bl_item.vendor = id->vendor; in hid_modify_dquirk()
1123 hdev->product = q_new->hid_bl_item.product = id->product; in hid_modify_dquirk()
1124 q_new->hid_bl_item.driver_data = quirks; in hid_modify_dquirk()
1132 list_replace(&q->node, &q_new->node); in hid_modify_dquirk()
1142 list_add_tail(&q_new->node, &dquirks_list); in hid_modify_dquirk()