Searched refs:enable_attr (Results 1 – 5 of 5) sorted by relevance
363 struct device_attribute enable_attr; member397 struct device_attribute enable_attr; member
1531 hba->clk_scaling.enable_attr.show = ufshcd_clkscale_enable_show; in ufshcd_clkscaling_init_sysfs()1532 hba->clk_scaling.enable_attr.store = ufshcd_clkscale_enable_store; in ufshcd_clkscaling_init_sysfs()1533 sysfs_attr_init(&hba->clk_scaling.enable_attr.attr); in ufshcd_clkscaling_init_sysfs()1534 hba->clk_scaling.enable_attr.attr.name = "clkscale_enable"; in ufshcd_clkscaling_init_sysfs()1535 hba->clk_scaling.enable_attr.attr.mode = 0644; in ufshcd_clkscaling_init_sysfs()1536 if (device_create_file(hba->dev, &hba->clk_scaling.enable_attr)) in ufshcd_clkscaling_init_sysfs()1884 hba->clk_gating.enable_attr.show = ufshcd_clkgate_enable_show; in ufshcd_init_clk_gating()1885 hba->clk_gating.enable_attr.store = ufshcd_clkgate_enable_store; in ufshcd_init_clk_gating()1886 sysfs_attr_init(&hba->clk_gating.enable_attr.attr); in ufshcd_init_clk_gating()1887 hba->clk_gating.enable_attr.attr.name = "clkgate_enable"; in ufshcd_init_clk_gating()[all …]
1535 static struct kobj_attribute enable_attr = __ATTR_RO(enabled); variable1540 &enable_attr.attr,
53833 device_remove_file(hba->dev, &hba->clk_scaling.enable_attr);
356041 device_remove_file(hba->dev, &hba->clk_scaling.enable_attr);