Searched refs:kobj (Results 101 - 125 of 995) sorted by path

1234567891011>>

/linux-master/drivers/accel/habanalabs/common/
H A Dsysfs.c366 static ssize_t eeprom_read_handler(struct file *filp, struct kobject *kobj, argument
370 struct device *dev = kobj_to_dev(kobj);
/linux-master/drivers/accel/ivpu/
H A Divpu_pm.c142 kobject_uevent_env(&vdev->drm.dev->kobj, KOBJ_CHANGE, evt);
/linux-master/drivers/accel/qaic/
H A Dqaic_drv.c317 kobject_uevent(&(to_accel_kdev(qdev->qddev))->kobj, KOBJ_ONLINE);
335 kobject_uevent(&(to_accel_kdev(qdev->qddev))->kobj, KOBJ_OFFLINE);
/linux-master/drivers/accessibility/speakup/
H A Dkobjects.c29 static ssize_t chars_chartab_show(struct kobject *kobj, argument
109 static ssize_t chars_chartab_store(struct kobject *kobj, argument
229 static ssize_t keymap_show(struct kobject *kobj, struct kobj_attribute *attr, argument
265 static ssize_t keymap_store(struct kobject *kobj, struct kobj_attribute *attr, argument
332 static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr, argument
371 static ssize_t synth_show(struct kobject *kobj, struct kobj_attribute *attr, argument
386 static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, argument
412 static ssize_t synth_direct_store(struct kobject *kobj, argument
440 static ssize_t version_show(struct kobject *kobj, struct kobj_attribute *attr, argument
456 static ssize_t punc_show(struct kobject *kobj, struc argument
496 punc_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
543 spk_var_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
619 spk_var_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
836 message_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
852 message_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
[all...]
H A Dspk_priv.h47 ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr,
49 ssize_t spk_var_store(struct kobject *kobj, struct kobj_attribute *attr,
/linux-master/drivers/acpi/
H A Dac.c148 kobject_uevent(&ac->charger->dev.kobj, KOBJ_CHANGE);
271 kobject_uevent(&ac->charger->dev.kobj, KOBJ_CHANGE);
H A Dacpi_fpdt.c80 static ssize_t name##_show(struct kobject *kobj, \
98 static ssize_t resume_count_show(struct kobject *kobj, argument
H A Dacpi_lpit.c119 sysfs_add_file_to_group(&dev_root->kobj,
123 sysfs_add_file_to_group(&dev_root->kobj,
H A Dacpi_tad.c568 sysfs_remove_group(&dev->kobj, &acpi_tad_dc_attr_group);
570 sysfs_remove_group(&dev->kobj, &acpi_tad_attr_group);
647 ret = sysfs_create_group(&dev->kobj, &acpi_tad_attr_group);
652 ret = sysfs_create_group(&dev->kobj, &acpi_tad_dc_attr_group);
658 ret = sysfs_create_group(&dev->kobj, &acpi_tad_time_attr_group);
H A Dacpi_video.c1764 result = sysfs_create_link(&device->dev->dev.kobj,
1765 &device->cooling_dev->device.kobj,
1770 result = sysfs_create_link(&device->cooling_dev->device.kobj,
1771 &device->dev->dev.kobj, "device");
1841 sysfs_remove_link(&device->dev->dev.kobj, "thermal_cooling");
1842 sysfs_remove_link(&device->cooling_dev->device.kobj, "device");
H A Dbgrt.c19 static ssize_t _name##_show(struct kobject *kobj, \
H A Dcontainer.c87 kobject_uevent(&dev->kobj, KOBJ_ONLINE);
H A Dcppc_acpi.c140 #define to_cpc_desc(a) container_of(a, struct cpc_desc, kobj)
143 static ssize_t show_##member_name(struct kobject *kobj, \
146 struct cpc_desc *cpc_ptr = to_cpc_desc(kobj); \
176 static ssize_t show_feedback_ctrs(struct kobject *kobj, argument
179 struct cpc_desc *cpc_ptr = to_cpc_desc(kobj);
889 ret = kobject_init_and_add(&cpc_ptr->kobj, &cppc_ktype, &cpu_dev->kobj,
893 kobject_put(&cpc_ptr->kobj);
953 kobject_put(&cpc_ptr->kobj);
H A Ddevice_sysfs.c58 #define to_data_node(k) container_of(k, struct acpi_data_node, kobj)
61 static ssize_t acpi_data_node_attr_show(struct kobject *kobj, argument
64 struct acpi_data_node *dn = to_data_node(kobj);
74 static void acpi_data_node_release(struct kobject *kobj) argument
76 struct acpi_data_node *dn = to_data_node(kobj);
87 static void acpi_expose_nondev_subnodes(struct kobject *kobj, argument
100 ret = kobject_init_and_add(&dn->kobj, &acpi_data_node_ktype,
101 kobj, "%s", dn->name);
103 acpi_expose_nondev_subnodes(&dn->kobj, &dn->data);
119 kobject_put(&dn->kobj);
[all...]
H A Ddock.c284 kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp);
290 kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, envp);
612 ret = sysfs_create_group(&dd->dev.kobj, &dock_attribute_group);
629 sysfs_remove_group(&dd->dev.kobj, &dock_attribute_group);
H A Dfan_attr.c83 status = sysfs_create_file(&device->dev.kobj, &fan->fine_grain_control.attr);
93 status = sysfs_create_file(&device->dev.kobj, &fan->fst_speed.attr);
106 status = sysfs_create_file(&device->dev.kobj, &fps->dev_attr.attr);
111 sysfs_remove_file(&device->dev.kobj, &fan->fps[j].dev_attr.attr);
119 sysfs_remove_file(&device->dev.kobj, &fan->fst_speed.attr);
122 sysfs_remove_file(&device->dev.kobj, &fan->fine_grain_control.attr);
133 sysfs_remove_file(&device->dev.kobj, &fan->fps[i].dev_attr.attr);
135 sysfs_remove_file(&device->dev.kobj, &fan->fst_speed.attr);
136 sysfs_remove_file(&device->dev.kobj, &fan->fine_grain_control.attr);
H A Dfan_core.c367 result = sysfs_create_link(&pdev->dev.kobj,
368 &cdev->device.kobj,
373 result = sysfs_create_link(&cdev->device.kobj,
374 &pdev->dev.kobj,
399 sysfs_remove_link(&pdev->dev.kobj, "thermal_cooling");
400 sysfs_remove_link(&fan->cdev->device.kobj, "device");
H A Dglue.c292 retval = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj,
298 retval = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj,
337 sysfs_remove_link(&acpi_dev->dev.kobj, physnode_name);
338 sysfs_remove_link(&dev->kobj, "firmware_node");
H A Dpower.c548 sysfs_remove_link_from_group(&adev->dev.kobj,
552 sysfs_remove_group(&adev->dev.kobj, attr_group);
565 ret = sysfs_create_group(&adev->dev.kobj, attr_group);
572 ret = sysfs_add_link_to_group(&adev->dev.kobj,
574 &res_dev->dev.kobj,
H A Dprocessor_thermal.c324 result = sysfs_create_link(&device->dev.kobj,
325 &pr->cdev->device.kobj,
333 result = sysfs_create_link(&pr->cdev->device.kobj,
334 &device->dev.kobj,
345 sysfs_remove_link(&device->dev.kobj, "thermal_cooling");
356 sysfs_remove_link(&device->dev.kobj, "thermal_cooling");
357 sysfs_remove_link(&pr->cdev->device.kobj, "device");
H A Dsbs.c613 kobject_uevent(&sbs->charger->dev.kobj, KOBJ_CHANGE);
625 kobject_uevent(&bat->bat->dev.kobj, KOBJ_CHANGE);
H A Dscan.c123 kobject_uevent_env(&pn->dev->kobj, KOBJ_CHANGE, envp);
1850 kobject_uevent(&device->dev.kobj, KOBJ_ADD);
/linux-master/drivers/acpi/dptf/
H A Ddptf_pch_fivr.c134 result = sysfs_create_group(&pdev->dev.kobj,
146 sysfs_remove_group(&pdev->dev.kobj, &pch_fivr_attribute_group);
H A Ddptf_power.c167 sysfs_notify(&pdev->dev.kobj, "dptf_battery", attr);
169 sysfs_notify(&pdev->dev.kobj, "dptf_power", attr);
198 result = sysfs_create_group(&pdev->dev.kobj,
221 sysfs_remove_group(&pdev->dev.kobj, &dptf_battery_attribute_group);
223 sysfs_remove_group(&pdev->dev.kobj, &dptf_power_attribute_group);
/linux-master/drivers/acpi/nfit/
H A Dcore.c1330 static umode_t nfit_visible(struct kobject *kobj, struct attribute *a, int n) argument
1332 struct device *dev = kobj_to_dev(kobj);
1617 static umode_t acpi_nfit_dimm_attr_visible(struct kobject *kobj, argument
1620 struct device *dev = kobj_to_dev(kobj);
3039 nfit = sysfs_get_dirent(bus_dev->kobj.sd, "nfit");

Completed in 384 milliseconds

1234567891011>>