Lines Matching refs:widgets
322 struct hdac_widget_tree *tree = codec->widgets; in widget_tree_free()
335 codec->widgets = NULL; in widget_tree_free()
369 tree = codec->widgets = kzalloc(sizeof(*tree), GFP_KERNEL); in widget_tree_create()
405 if (codec->widgets) in hda_widget_sysfs_init()
432 if (!codec->widgets) in hda_widget_sysfs_reinit()
435 tree = kmemdup(codec->widgets, sizeof(*tree), GFP_KERNEL); in hda_widget_sysfs_reinit()
448 free_widget_node(codec->widgets->nodes[i], in hda_widget_sysfs_reinit()
459 codec->widgets->nodes[nid - codec->start_nid]; in hda_widget_sysfs_reinit()
463 kfree(codec->widgets->nodes); in hda_widget_sysfs_reinit()
464 kfree(codec->widgets); in hda_widget_sysfs_reinit()
465 codec->widgets = tree; in hda_widget_sysfs_reinit()