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
1536 hba->clk_scaling.enable_attr.show = ufshcd_clkscale_enable_show; in ufshcd_clkscaling_init_sysfs()1537 hba->clk_scaling.enable_attr.store = ufshcd_clkscale_enable_store; in ufshcd_clkscaling_init_sysfs()1538 sysfs_attr_init(&hba->clk_scaling.enable_attr.attr); in ufshcd_clkscaling_init_sysfs()1539 hba->clk_scaling.enable_attr.attr.name = "clkscale_enable"; in ufshcd_clkscaling_init_sysfs()1540 hba->clk_scaling.enable_attr.attr.mode = 0644; in ufshcd_clkscaling_init_sysfs()1541 if (device_create_file(hba->dev, &hba->clk_scaling.enable_attr)) in ufshcd_clkscaling_init_sysfs()1889 hba->clk_gating.enable_attr.show = ufshcd_clkgate_enable_show; in ufshcd_init_clk_gating()1890 hba->clk_gating.enable_attr.store = ufshcd_clkgate_enable_store; in ufshcd_init_clk_gating()1891 sysfs_attr_init(&hba->clk_gating.enable_attr.attr); in ufshcd_init_clk_gating()1892 hba->clk_gating.enable_attr.attr.name = "clkgate_enable"; in ufshcd_init_clk_gating()[all …]
1539 static struct kobj_attribute enable_attr = __ATTR_RO(enabled); variable1544 &enable_attr.attr,
53826 device_remove_file(hba->dev, &hba->clk_scaling.enable_attr);
356041 device_remove_file(hba->dev, &hba->clk_scaling.enable_attr);