Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/media/platform/ti/omap3isp/
A Disp.c161 switch (xclk->id) { in isp_xclk_update()
179 omap3isp_get(xclk->isp); in isp_xclk_prepare()
197 isp_xclk_update(xclk, xclk->divider); in isp_xclk_enable()
198 xclk->enabled = true; in isp_xclk_enable()
211 xclk->enabled = false; in isp_xclk_disable()
262 if (xclk->enabled) in isp_xclk_set_rate()
307 xclk->isp = isp; in isp_xclk_init()
309 xclk->divider = 1; in isp_xclk_init()
317 xclk->hw.init = &init; in isp_xclk_init()
324 xclk->clk = clk_register(NULL, &xclk->hw); in isp_xclk_init()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/media/i2c/
A 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";
A Dov7670.txt9 - clocks: reference to the xclk input clock.
10 - clock-names: should be "xclk".
40 clock-names = "xclk";
A Dovti,ov5640.yaml26 const: xclk
105 clock-names = "xclk";
135 clock-names = "xclk";
A Dsony,imx290.yaml34 - const: xclk
37 description: Frequency of the xclk clock in Hz
111 clock-names = "xclk";
A Dsony,imx214.yaml31 description: Reference to the xclk clock.
35 description: Frequency of the xclk clock in Hz.
A Dst,st-mipid02.yaml35 const: xclk
148 clock-names = "xclk";
A Dov9650.txt28 clocks = <&xclk>;
/linux-6.3-rc2/drivers/media/usb/em28xx/
A Dem28xx-camera.c328 dev->board.xclk = EM28XX_XCLK_FREQUENCY_4_3MHZ; in em28xx_init_camera()
329 em28xx_write_reg(dev, EM28XX_R0F_XCLK, dev->board.xclk); in em28xx_init_camera()
355 dev->board.xclk = EM28XX_XCLK_FREQUENCY_48MHZ; in em28xx_init_camera()
356 em28xx_write_reg(dev, EM28XX_R0F_XCLK, dev->board.xclk); in em28xx_init_camera()
398 dev->board.xclk = EM28XX_XCLK_FREQUENCY_24MHZ; in em28xx_init_camera()
399 em28xx_write_reg(dev, EM28XX_R0F_XCLK, dev->board.xclk); in em28xx_init_camera()
A Dem28xx-input.c391 dev->board.xclk |= EM28XX_XCLK_IR_RC5_MODE; in em2860_ir_change_protocol()
395 dev->board.xclk &= ~EM28XX_XCLK_IR_RC5_MODE; in em2860_ir_change_protocol()
404 em28xx_write_reg_bits(dev, EM28XX_R0F_XCLK, dev->board.xclk, in em2860_ir_change_protocol()
420 dev->board.xclk |= EM28XX_XCLK_IR_RC5_MODE; in em2874_ir_change_protocol()
424 dev->board.xclk &= ~EM28XX_XCLK_IR_RC5_MODE; in em2874_ir_change_protocol()
429 dev->board.xclk |= EM28XX_XCLK_IR_RC5_MODE; in em2874_ir_change_protocol()
440 em28xx_write_reg_bits(dev, EM28XX_R0F_XCLK, dev->board.xclk, in em2874_ir_change_protocol()
A Dem28xx-cards.c674 .xclk = EM28XX_XCLK_FREQUENCY_20MHZ,
710 .xclk = EM28XX_XCLK_FREQUENCY_12MHZ,
1042 .xclk = EM28XX_XCLK_FREQUENCY_12MHZ,
1136 .xclk = EM28XX_XCLK_I2S_MSB_TIMING |
1169 .xclk = EM28XX_XCLK_IR_RC5_MODE |
1195 .xclk = EM28XX_XCLK_IR_RC5_MODE |
1726 .xclk = EM28XX_XCLK_FREQUENCY_10MHZ,
1834 .xclk = EM28XX_XCLK_FREQUENCY_12MHZ,
2859 u8 xclk = board->xclk, i2c_speed = board->i2c_speed; in em28xx_set_xclk_i2c_speed() local
2865 if (!xclk) in em28xx_set_xclk_i2c_speed()
[all …]
/linux-6.3-rc2/drivers/clk/
A Dclk-max9485.c78 struct clk *xclk; member
268 drvdata->xclk = devm_clk_get(dev, "xclk"); in max9485_i2c_probe()
269 if (IS_ERR(drvdata->xclk)) in max9485_i2c_probe()
270 return PTR_ERR(drvdata->xclk); in max9485_i2c_probe()
272 xclk_name = __clk_get_name(drvdata->xclk); in max9485_i2c_probe()
/linux-6.3-rc2/drivers/media/i2c/
A 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()
968 imx214->xclk = devm_clk_get(dev, NULL); in imx214_probe()
969 if (IS_ERR(imx214->xclk)) { in imx214_probe()
971 return PTR_ERR(imx214->xclk); in imx214_probe()
974 ret = clk_set_rate(imx214->xclk, IMX214_DEFAULT_CLK_FREQ); in imx214_probe()
A Dov7251.c133 struct clk *xclk; member
918 ret = clk_prepare_enable(ov7251->xclk); in ov7251_set_power_on()
938 clk_disable_unprepare(ov7251->xclk); in ov7251_set_power_on()
952 clk_disable_unprepare(ov7251->xclk); in ov7251_set_power_off()
1621 ov7251->xclk = devm_clk_get_optional(dev, NULL); in ov7251_probe()
1622 if (IS_ERR(ov7251->xclk)) in ov7251_probe()
1623 return dev_err_probe(dev, PTR_ERR(ov7251->xclk), in ov7251_probe()
1633 if (ret && !ov7251->xclk) in ov7251_probe()
1636 clk_rate = clk_get_rate(ov7251->xclk); in ov7251_probe()
1642 if (!ret && ov7251->xclk) { in ov7251_probe()
[all …]
A Dov5645.c93 struct clk *xclk; member
643 clk_disable_unprepare(ov5645->xclk); in ov5645_set_power_off()
659 ret = clk_prepare_enable(ov5645->xclk); in ov5645_set_power_on()
1078 ov5645->xclk = devm_clk_get(dev, NULL); in ov5645_probe()
1079 if (IS_ERR(ov5645->xclk)) { in ov5645_probe()
1081 return PTR_ERR(ov5645->xclk); in ov5645_probe()
1097 ret = clk_set_rate(ov5645->xclk, xclk_freq); in ov5645_probe()
A Dov5647.c102 struct clk *xclk; member
765 ret = clk_prepare_enable(sensor->xclk); in ov5647_power_on()
788 clk_disable_unprepare(sensor->xclk); in ov5647_power_on()
818 clk_disable_unprepare(sensor->xclk); in ov5647_power_off()
1380 sensor->xclk = devm_clk_get(dev, NULL); in ov5647_probe()
1381 if (IS_ERR(sensor->xclk)) { in ov5647_probe()
1383 return PTR_ERR(sensor->xclk); in ov5647_probe()
1386 xclk_freq = clk_get_rate(sensor->xclk); in ov5647_probe()
A Dst-mipid02.c92 struct clk *xclk; member
324 ret = clk_prepare_enable(bridge->xclk); in mipid02_set_power_on()
349 clk_disable_unprepare(bridge->xclk); in mipid02_set_power_on()
356 clk_disable_unprepare(bridge->xclk); in mipid02_set_power_off()
982 bridge->xclk = devm_clk_get(dev, "xclk"); in mipid02_probe()
983 if (IS_ERR(bridge->xclk)) { in mipid02_probe()
985 return PTR_ERR(bridge->xclk); in mipid02_probe()
988 clk_freq = clk_get_rate(bridge->xclk); in mipid02_probe()
A Dimx290.c177 struct clk *xclk; member
1054 ret = clk_prepare_enable(imx290->xclk); in imx290_power_on()
1064 clk_disable_unprepare(imx290->xclk); in imx290_power_on()
1077 clk_disable_unprepare(imx290->xclk); in imx290_power_off()
1149 ret = clk_set_rate(imx290->xclk, xclk_freq); in imx290_init_clk()
1260 imx290->xclk = devm_clk_get(dev, "xclk"); in imx290_probe()
1261 if (IS_ERR(imx290->xclk)) in imx290_probe()
1262 return dev_err_probe(dev, PTR_ERR(imx290->xclk), in imx290_probe()
A Dov6650.c872 const struct ov6650_xclk *xclk = NULL; in ov6650_video_probe() local
889 xclk = &ov6650_xclk[i]; in ov6650_video_probe()
894 for (i = 0; !xclk && i < ARRAY_SIZE(ov6650_xclk); i++) { in ov6650_video_probe()
899 xclk = &ov6650_xclk[i]; in ov6650_video_probe()
901 xclk->rate / 1000); in ov6650_video_probe()
904 if (!xclk) { in ov6650_video_probe()
944 ret = ov6650_prog_dflt(client, xclk->clkrc); in ov6650_video_probe()
A Dimx219.c465 struct clk *xclk; /* system clock to IMX219 */ member
1128 ret = clk_prepare_enable(imx219->xclk); in imx219_power_on()
1154 clk_disable_unprepare(imx219->xclk); in imx219_power_off()
1452 imx219->xclk = devm_clk_get(dev, NULL); in imx219_probe()
1453 if (IS_ERR(imx219->xclk)) { in imx219_probe()
1455 return PTR_ERR(imx219->xclk); in imx219_probe()
1458 imx219->xclk_freq = clk_get_rate(imx219->xclk); in imx219_probe()
/linux-6.3-rc2/Documentation/devicetree/bindings/clock/
A Dmaxim,max9485.txt16 - clock-names: Must be set to "xclk"
44 clock-names = "xclk";
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A 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
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
465 u32 xclk = radeon_get_xclk(rdev); in sumo_program_sstp() local
468 xclk, 16, &p, &u); in sumo_program_sstp()
932 xclk, 16, &p, &u); in sumo_program_ttp()
[all …]
A Dsumo_smc.c145 u32 xclk = radeon_get_xclk(rdev); in sumo_enable_boost_timer() local
150 period = 100 * (xclk / 100 / sumo_power_of_4(unit)); in sumo_enable_boost_timer()
/linux-6.3-rc2/drivers/video/fbdev/aty/
A Datyfb_base.c327 static int xclk; variable
472 par->pll_limits.xclk = aty_chips[i].xclk; in correct_chipset()
518 par->pll_limits.xclk = 67; in correct_chipset()
526 par->pll_limits.xclk = 67; in correct_chipset()
538 par->pll_limits.xclk = 67; in correct_chipset()
546 par->pll_limits.xclk = 67; in correct_chipset()
2438 par->pll_limits.xclk = (par->pll_limits.xclk + 1) >> 1; in aty_init()
2457 if (xclk) in aty_init()
2458 par->pll_limits.xclk = xclk; in aty_init()
2589 par->pll_limits.xclk); in aty_init()
[all …]
/linux-6.3-rc2/arch/arm/boot/dts/
A Dr8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi21 clock-names = "xclk";

Completed in 72 milliseconds

123