Home
last modified time | relevance | path

Searched refs:clock_num (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_csi2_bridge.c238 u8 clock_num; in atomisp_csi2_get_pmc_clk_nr_from_acpi_pr0() local
257 if (str_has_prefix(name, "CLK") && !kstrtou8(&name[3], 10, &clock_num) && in atomisp_csi2_get_pmc_clk_nr_from_acpi_pr0()
258 clock_num <= 4) { in atomisp_csi2_get_pmc_clk_nr_from_acpi_pr0()
259 ret = clock_num; in atomisp_csi2_get_pmc_clk_nr_from_acpi_pr0()
273 static int atomisp_csi2_set_pmc_clk_freq(struct acpi_device *adev, int clock_num) in atomisp_csi2_set_pmc_clk_freq() argument
279 if (clock_num < 0) in atomisp_csi2_set_pmc_clk_freq()
282 snprintf(name, sizeof(name), "pmc_plt_clk_%d", clock_num); in atomisp_csi2_set_pmc_clk_freq()
309 static int atomisp_csi2_get_port(struct acpi_device *adev, int clock_num) in atomisp_csi2_get_port() argument
318 port = clock_num == 4 ? 1 : 0; in atomisp_csi2_get_port()
320 port = clock_num == 0 ? 1 : 0; in atomisp_csi2_get_port()
[all …]
Datomisp_gmin_platform.c427 int clock_num = -1; in atomisp_get_acpi_power() local
456 clock_num = name[3] - '0'; in atomisp_get_acpi_power()
462 if (clock_num >= 0) in atomisp_get_acpi_power()
471 return clock_num; in atomisp_get_acpi_power()
515 int ret, default_val, clock_num = -1; in gmin_subdev_add() local
528 clock_num = atomisp_get_acpi_power(dev); in gmin_subdev_add()
532 default_val = clock_num == 4 ? 1 : 0; in gmin_subdev_add()
534 default_val = clock_num == 0 ? 1 : 0; in gmin_subdev_add()
618 if (clock_num < 0) in gmin_subdev_add()
619 clock_num = gmin_get_var_int(dev, false, "CamClk", 0); in gmin_subdev_add()
[all …]
/linux-6.12.1/drivers/phy/ti/
Dphy-am654-serdes.c643 const char *clock_name, int clock_num) in serdes_am654_clk_register() argument
697 mux->clk_id = clock_num; in serdes_am654_clk_register()
704 am654_phy->clks[clock_num] = clk; in serdes_am654_clk_register()
/linux-6.12.1/drivers/staging/vc04_services/vchiq-mmal/
Dmmal-msg.h118 u32 clock_num; /* Number of clock ports */ member
Dmmal-vchiq.c965 component->clocks = rmsg->u.component_create_reply.clock_num; in create_component()