Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/hid/
Dhid-quirks.c1119 struct quirks_list_struct *q_new, *q; in hid_modify_dquirk() local
1127 q_new = kmalloc(sizeof(struct quirks_list_struct), GFP_KERNEL); in hid_modify_dquirk()
1128 if (!q_new) { in hid_modify_dquirk()
1133 hdev->bus = q_new->hid_bl_item.bus = id->bus; in hid_modify_dquirk()
1134 hdev->group = q_new->hid_bl_item.group = id->group; in hid_modify_dquirk()
1135 hdev->vendor = q_new->hid_bl_item.vendor = id->vendor; in hid_modify_dquirk()
1136 hdev->product = q_new->hid_bl_item.product = id->product; in hid_modify_dquirk()
1137 q_new->hid_bl_item.driver_data = quirks; in hid_modify_dquirk()
1145 list_replace(&q->node, &q_new->node); in hid_modify_dquirk()
1155 list_add_tail(&q_new->node, &dquirks_list); in hid_modify_dquirk()