Lines Matching full:variant
73 struct raspberrypi_clk_variant *variant; member
245 struct raspberrypi_clk_variant *variant = data->variant; in raspberrypi_fw_dumb_determine_rate() local
260 if (variant->minimize && req->min_rate > 0) in raspberrypi_fw_dumb_determine_rate()
276 struct raspberrypi_clk_variant *variant) in raspberrypi_clk_register() argument
288 data->variant = variant; in raspberrypi_clk_register()
322 if (variant->clkdev) { in raspberrypi_clk_register()
324 NULL, variant->clkdev); in raspberrypi_clk_register()
331 if (variant->min_rate) { in raspberrypi_clk_register()
334 clk_hw_set_rate_range(&data->hw, variant->min_rate, max_rate); in raspberrypi_clk_register()
337 if (rate < variant->min_rate) { in raspberrypi_clk_register()
338 ret = raspberrypi_fw_set_rate(&data->hw, variant->min_rate, 0); in raspberrypi_clk_register()
376 struct raspberrypi_clk_variant *variant; in raspberrypi_discover_clocks() local
384 variant = &raspberrypi_clk_variants[clks->id]; in raspberrypi_discover_clocks()
385 if (variant->export) { in raspberrypi_discover_clocks()
389 clks->id, variant); in raspberrypi_discover_clocks()