Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/ufs/
Dufshcd.h364 struct device_attribute enable_attr; member
398 struct device_attribute enable_attr; member
Dufshcd.c1463 hba->clk_scaling.enable_attr.show = ufshcd_clkscale_enable_show; in ufshcd_clkscaling_init_sysfs()
1464 hba->clk_scaling.enable_attr.store = ufshcd_clkscale_enable_store; in ufshcd_clkscaling_init_sysfs()
1465 sysfs_attr_init(&hba->clk_scaling.enable_attr.attr); in ufshcd_clkscaling_init_sysfs()
1466 hba->clk_scaling.enable_attr.attr.name = "clkscale_enable"; in ufshcd_clkscaling_init_sysfs()
1467 hba->clk_scaling.enable_attr.attr.mode = 0644; in ufshcd_clkscaling_init_sysfs()
1468 if (device_create_file(hba->dev, &hba->clk_scaling.enable_attr)) in ufshcd_clkscaling_init_sysfs()
1807 hba->clk_gating.enable_attr.show = ufshcd_clkgate_enable_show; in ufshcd_init_clk_gating()
1808 hba->clk_gating.enable_attr.store = ufshcd_clkgate_enable_store; in ufshcd_init_clk_gating()
1809 sysfs_attr_init(&hba->clk_gating.enable_attr.attr); in ufshcd_init_clk_gating()
1810 hba->clk_gating.enable_attr.attr.name = "clkgate_enable"; in ufshcd_init_clk_gating()
[all …]