Home
last modified time | relevance | path

Searched refs:xclk (Results 1 – 25 of 69) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Disp.c159 static void isp_xclk_update(struct isp_xclk *xclk, u32 divider) in isp_xclk_update() argument
161 switch (xclk->id) { in isp_xclk_update()
163 isp_reg_clr_set(xclk->isp, OMAP3_ISP_IOMEM_MAIN, ISP_TCTRL_CTRL, in isp_xclk_update()
168 isp_reg_clr_set(xclk->isp, OMAP3_ISP_IOMEM_MAIN, ISP_TCTRL_CTRL, in isp_xclk_update()
177 struct isp_xclk *xclk = to_isp_xclk(hw); in isp_xclk_prepare() local
179 omap3isp_get(xclk->isp); in isp_xclk_prepare()
186 struct isp_xclk *xclk = to_isp_xclk(hw); in isp_xclk_unprepare() local
188 omap3isp_put(xclk->isp); in isp_xclk_unprepare()
193 struct isp_xclk *xclk = to_isp_xclk(hw); in isp_xclk_enable() local
196 spin_lock_irqsave(&xclk->lock, flags); in isp_xclk_enable()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/i2c/
Dov7251.txt9 - clocks: Reference to the xclk clock.
10 - clock-names: Should be "xclk".
11 - clock-frequency: Frequency of the xclk clock.
37 clock-names = "xclk";
Dov5645.txt9 - clocks: Reference to the xclk clock.
10 - clock-names: Should be "xclk".
11 - clock-frequency: Frequency of the xclk clock.
39 clock-names = "xclk";
Dimx290.txt12 - clocks: Reference to the xclk clock.
13 - clock-names: Should be "xclk".
14 - clock-frequency: Frequency of the xclk clock in Hz.
43 clock-names = "xclk";
Dov7670.txt9 - clocks: reference to the xclk input clock.
10 - clock-names: should be "xclk".
40 clock-names = "xclk";
Dov5640.txt5 - clocks: reference to the xclk input clock.
6 - clock-names: should be "xclk".
52 clock-names = "xclk";
78 clock-names = "xclk";
Dov772x.txt11 - clocks: reference to the xclk input clock.
32 clocks = <&xclk>;
Dst,st-mipid02.txt15 - clocks: reference to the xclk input clock.
16 - clock-names: shall be "xclk".
57 clock-names = "xclk";
Dsony,imx214.txt18 - clocks: Reference to the xclk clock.
19 - clock-frequency: Frequency of the xclk clock.
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/
Dem28xx-camera.c338 dev->board.xclk = EM28XX_XCLK_FREQUENCY_4_3MHZ; in em28xx_init_camera()
339 em28xx_write_reg(dev, EM28XX_R0F_XCLK, dev->board.xclk); in em28xx_init_camera()
365 dev->board.xclk = EM28XX_XCLK_FREQUENCY_48MHZ; in em28xx_init_camera()
366 em28xx_write_reg(dev, EM28XX_R0F_XCLK, dev->board.xclk); in em28xx_init_camera()
408 dev->board.xclk = EM28XX_XCLK_FREQUENCY_24MHZ; in em28xx_init_camera()
409 em28xx_write_reg(dev, EM28XX_R0F_XCLK, dev->board.xclk); in em28xx_init_camera()
Dem28xx-input.c401 dev->board.xclk |= EM28XX_XCLK_IR_RC5_MODE; in em2860_ir_change_protocol()
405 dev->board.xclk &= ~EM28XX_XCLK_IR_RC5_MODE; in em2860_ir_change_protocol()
414 em28xx_write_reg_bits(dev, EM28XX_R0F_XCLK, dev->board.xclk, in em2860_ir_change_protocol()
430 dev->board.xclk |= EM28XX_XCLK_IR_RC5_MODE; in em2874_ir_change_protocol()
434 dev->board.xclk &= ~EM28XX_XCLK_IR_RC5_MODE; in em2874_ir_change_protocol()
439 dev->board.xclk |= EM28XX_XCLK_IR_RC5_MODE; in em2874_ir_change_protocol()
450 em28xx_write_reg_bits(dev, EM28XX_R0F_XCLK, dev->board.xclk, in em2874_ir_change_protocol()
Dem28xx-cards.c653 .xclk = EM28XX_XCLK_FREQUENCY_20MHZ,
689 .xclk = EM28XX_XCLK_FREQUENCY_12MHZ,
698 .xclk = EM28XX_XCLK_FREQUENCY_48MHZ,
1021 .xclk = EM28XX_XCLK_FREQUENCY_12MHZ,
1115 .xclk = EM28XX_XCLK_I2S_MSB_TIMING |
1148 .xclk = EM28XX_XCLK_IR_RC5_MODE |
1174 .xclk = EM28XX_XCLK_IR_RC5_MODE |
1449 .xclk = EM28XX_XCLK_FREQUENCY_12MHZ, /* NEC IR */
1705 .xclk = EM28XX_XCLK_FREQUENCY_10MHZ,
1813 .xclk = EM28XX_XCLK_FREQUENCY_12MHZ,
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dov5647.c88 struct clk *xclk; member
358 ret = clk_prepare_enable(ov5647->xclk); in ov5647_sensor_power()
367 clk_disable_unprepare(ov5647->xclk); in ov5647_sensor_power()
375 clk_disable_unprepare(ov5647->xclk); in ov5647_sensor_power()
394 clk_disable_unprepare(ov5647->xclk); in ov5647_sensor_power()
572 sensor->xclk = devm_clk_get(dev, NULL); in ov5647_probe()
573 if (IS_ERR(sensor->xclk)) { in ov5647_probe()
575 return PTR_ERR(sensor->xclk); in ov5647_probe()
578 xclk_freq = clk_get_rate(sensor->xclk); in ov5647_probe()
Dimx290.c67 struct clk *xclk; member
850 ret = clk_prepare_enable(imx290->xclk); in imx290_power_on()
859 clk_disable_unprepare(imx290->xclk); in imx290_power_on()
879 clk_disable_unprepare(imx290->xclk); in imx290_power_off()
998 imx290->xclk = devm_clk_get(dev, "xclk"); in imx290_probe()
999 if (IS_ERR(imx290->xclk)) { in imx290_probe()
1001 ret = PTR_ERR(imx290->xclk); in imx290_probe()
1020 ret = clk_set_rate(imx290->xclk, xclk_freq); in imx290_probe()
Dimx214.c38 struct clk *xclk; member
447 ret = clk_prepare_enable(imx214->xclk); in imx214_power_on()
468 clk_disable_unprepare(imx214->xclk); in imx214_power_off()
967 imx214->xclk = devm_clk_get(dev, NULL); in imx214_probe()
968 if (IS_ERR(imx214->xclk)) { in imx214_probe()
970 return PTR_ERR(imx214->xclk); in imx214_probe()
973 ret = clk_set_rate(imx214->xclk, IMX214_DEFAULT_CLK_FREQ); in imx214_probe()
Dov5645.c95 struct clk *xclk; member
646 ret = clk_prepare_enable(ov5645->xclk); in ov5645_set_power_on()
668 clk_disable_unprepare(ov5645->xclk); in ov5645_set_power_off()
1091 ov5645->xclk = devm_clk_get(dev, "xclk"); in ov5645_probe()
1092 if (IS_ERR(ov5645->xclk)) { in ov5645_probe()
1094 return PTR_ERR(ov5645->xclk); in ov5645_probe()
1110 ret = clk_set_rate(ov5645->xclk, xclk_freq); in ov5645_probe()
Dst-mipid02.c88 struct clk *xclk; member
301 ret = clk_prepare_enable(bridge->xclk); in mipid02_set_power_on()
326 clk_disable_unprepare(bridge->xclk); in mipid02_set_power_on()
333 clk_disable_unprepare(bridge->xclk); in mipid02_set_power_off()
958 bridge->xclk = devm_clk_get(dev, "xclk"); in mipid02_probe()
959 if (IS_ERR(bridge->xclk)) { in mipid02_probe()
961 return PTR_ERR(bridge->xclk); in mipid02_probe()
964 clk_freq = clk_get_rate(bridge->xclk); in mipid02_probe()
/kernel/linux/linux-5.10/drivers/clk/
Dclk-max9485.c78 struct clk *xclk; member
269 drvdata->xclk = devm_clk_get(dev, "xclk"); in max9485_i2c_probe()
270 if (IS_ERR(drvdata->xclk)) in max9485_i2c_probe()
271 return PTR_ERR(drvdata->xclk); in max9485_i2c_probe()
273 xclk_name = __clk_get_name(drvdata->xclk); in max9485_i2c_probe()
/kernel/linux/linux-5.10/arch/h8300/boot/dts/
Dh8300h_sim.dts18 xclk: oscillator { label
26 clocks = <&xclk>;
Dh8s_sim.dts18 xclk: oscillator { label
26 clocks = <&xclk>;
Dedosk2674.dts19 xclk: oscillator { label
27 clocks = <&xclk>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dmaxim,max9485.txt16 - clock-names: Must be set to "xclk"
44 clock-names = "xclk";
/kernel/linux/linux-5.10/drivers/gpu/drm/zte/
Dzx_hdmi.c47 struct clk *xclk; member
232 clk_prepare_enable(hdmi->xclk); in zx_hdmi_encoder_enable()
247 clk_disable_unprepare(hdmi->xclk); in zx_hdmi_encoder_disable()
683 hdmi->xclk = devm_clk_get(hdmi->dev, "xclk"); in zx_hdmi_bind()
684 if (IS_ERR(hdmi->xclk)) { in zx_hdmi_bind()
685 ret = PTR_ERR(hdmi->xclk); in zx_hdmi_bind()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dsumo_dpm.c123 u32 xclk = radeon_get_xclk(rdev); in sumo_program_git() local
126 xclk, 16, &p, &u); in sumo_program_git()
134 u32 xclk = radeon_get_xclk(rdev); in sumo_program_grsd() local
137 r600_calculate_u_and_p(1, xclk, 14, &p, &u); in sumo_program_grsd()
154 u32 xclk = radeon_get_xclk(rdev); in sumo_gfx_powergating_initialize() local
173 xclk, 16, &p, &u); in sumo_gfx_powergating_initialize()
179 xclk, 16, &p, &u); in sumo_gfx_powergating_initialize()
318 u32 xclk = radeon_get_xclk(rdev); in sumo_calculate_bsp() local
324 xclk, 16, &pi->bsp, &pi->bsu); in sumo_calculate_bsp()
327 xclk, 16, &pi->pbsp, &pi->pbsu); in sumo_calculate_bsp()
[all …]
Dsumo_smc.c147 u32 xclk = radeon_get_xclk(rdev); in sumo_enable_boost_timer() local
152 period = 100 * (xclk / 100 / sumo_power_of_4(unit)); in sumo_enable_boost_timer()

123