Searched defs:sysfs (Results 1 - 5 of 5) sorted by relevance

/drivers/gpu/drm/nouveau/
H A Dnouveau_sysfs.c31 MODULE_PARM_DESC(pstate, "enable sysfs pstate file, which will be moved in the future");
50 struct nouveau_sysfs *sysfs = nouveau_sysfs(drm_device(d)); local
56 ret = nvif_mthd(&sysfs->ctrl, NVIF_CONTROL_PSTATE_INFO,
69 ret = nvif_mthd(&sysfs->ctrl, NVIF_CONTROL_PSTATE_ATTR,
84 ret = nvif_mthd(&sysfs->ctrl,
120 struct nouveau_sysfs *sysfs = nouveau_sysfs(drm_device(d)); local
149 ret = nvif_mthd(&sysfs->ctrl, NVIF_CONTROL_PSTATE_USER,
163 struct nouveau_sysfs *sysfs = nouveau_sysfs(dev); local
167 if (sysfs && sysfs
181 struct nouveau_sysfs *sysfs; local
[all...]
H A Dnouveau_drm.h163 struct nouveau_sysfs *sysfs; member in struct:nouveau_drm
/drivers/scsi/
H A Dosst.c5669 * sysfs support for osst driver parameter information
5679 static int osst_create_sysfs_files(struct device_driver *sysfs)
5681 return driver_create_file(sysfs, &driver_attr_version);
5684 static void osst_remove_sysfs_files(struct device_driver *sysfs)
5686 driver_remove_file(sysfs, &driver_attr_version);
5690 * sysfs support for accessing ADR header information
5780 printk(KERN_ERR "osst :W: Unable to register sysfs class\n");
5800 printk(KERN_WARNING "osst :W: Unable to add sysfs class member %s\n", name);
5673 osst_create_sysfs_files(struct device_driver *sysfs) argument
5678 osst_remove_sysfs_files(struct device_driver *sysfs) argument
H A Dst.c94 * of sysfs parameters (which module_param doesn't yet support).
4330 pr_err("Unable register sysfs class for SCSI tapes\n");
4376 /* The sysfs driver interface. Read-only at the moment */
4403 struct device_driver *sysfs = &st_template.gendrv;
4406 err = driver_create_file(sysfs, &driver_attr_try_direct_io);
4409 err = driver_create_file(sysfs, &driver_attr_fixed_buffer_size);
4412 err = driver_create_file(sysfs, &driver_attr_max_sg_segs);
4415 err = driver_create_file(sysfs, &driver_attr_version);
4422 driver_remove_file(sysfs, &driver_attr_max_sg_segs);
4424 driver_remove_file(sysfs,
4387 struct device_driver *sysfs = &st_template.gendrv; local
4416 struct device_driver *sysfs = &st_template.gendrv; local
[all...]
/drivers/usb/gadget/function/
H A Df_mass_storage.c48 * parameters and sysfs interface read the
304 unsigned int sysfs:1; member in struct:fsg_common
2686 void fsg_common_set_sysfs(struct fsg_common *common, bool sysfs) argument
2688 common->sysfs = sysfs;
2776 void fsg_common_remove_lun(struct fsg_lun *lun, bool sysfs) argument
2778 if (sysfs) {
2793 fsg_common_remove_lun(common->luns[i], common->sysfs);
2946 if (!common->sysfs) {
2991 if (common->sysfs) {
[all...]

Completed in 238 milliseconds