Home
last modified time | relevance | path

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

/sound/hda/
Dhdac_sysfs.c95 static int get_codec_nid(struct kobject *kobj, struct hdac_device **codecp) in get_codec_nid() argument
97 struct device *dev = kobj_to_dev(kobj->parent->parent); in get_codec_nid()
101 ret = kstrtoint(kobj->name, 16, &nid); in get_codec_nid()
108 static ssize_t widget_attr_show(struct kobject *kobj, struct attribute *attr, in widget_attr_show() argument
118 nid = get_codec_nid(kobj, &codec); in widget_attr_show()
124 static ssize_t widget_attr_store(struct kobject *kobj, struct attribute *attr, in widget_attr_store() argument
134 nid = get_codec_nid(kobj, &codec); in widget_attr_store()
145 static void widget_release(struct kobject *kobj) in widget_release() argument
147 kfree(kobj); in widget_release()
310 static void free_widget_node(struct kobject *kobj, in free_widget_node() argument
[all …]
/sound/soc/omap/
Dmcbsp.c962 err = sysfs_create_group(&mcbsp->dev->kobj, &sidetone_attr_group); in omap_st_add()
1067 ret = sysfs_create_group(&mcbsp->dev->kobj, in omap_mcbsp_init()
1093 sysfs_remove_group(&mcbsp->dev->kobj, &additional_attr_group); in omap_mcbsp_init()
1102 sysfs_remove_group(&mcbsp->dev->kobj, &additional_attr_group); in omap_mcbsp_cleanup()
1105 sysfs_remove_group(&mcbsp->dev->kobj, &sidetone_attr_group); in omap_mcbsp_cleanup()
/sound/core/
Dinit.c267 err = kobject_set_name(&card->card_dev.kobj, "card%d", idx); in snd_card_new()
/sound/soc/
Dsoc-core.c192 static umode_t soc_dev_attr_is_visible(struct kobject *kobj, in soc_dev_attr_is_visible() argument
195 struct device *dev = kobj_to_dev(kobj); in soc_dev_attr_is_visible()
/sound/soc/codecs/
Dda7218.c2233 kobject_uevent_env(&codec->dev->kobj, KOBJ_CHANGE, envp); in da7218_micldet_irq()