Lines Matching refs:enable_attr
1463 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()
1811 hba->clk_gating.enable_attr.attr.mode = 0644; in ufshcd_init_clk_gating()
1812 if (device_create_file(hba->dev, &hba->clk_gating.enable_attr)) in ufshcd_init_clk_gating()
1821 device_remove_file(hba->dev, &hba->clk_gating.enable_attr); in ufshcd_exit_clk_gating()
8184 device_remove_file(hba->dev, &hba->clk_scaling.enable_attr); in ufshcd_remove()