/linux-6.3-rc2/drivers/media/platform/ti/omap3isp/ |
A D | isp.c | 161 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 D | ov7251.txt | 9 - 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 D | ov7670.txt | 9 - clocks: reference to the xclk input clock. 10 - clock-names: should be "xclk". 40 clock-names = "xclk";
|
A D | ovti,ov5640.yaml | 26 const: xclk 105 clock-names = "xclk"; 135 clock-names = "xclk";
|
A D | sony,imx290.yaml | 34 - const: xclk 37 description: Frequency of the xclk clock in Hz 111 clock-names = "xclk";
|
A D | sony,imx214.yaml | 31 description: Reference to the xclk clock. 35 description: Frequency of the xclk clock in Hz.
|
A D | st,st-mipid02.yaml | 35 const: xclk 148 clock-names = "xclk";
|
A D | ov9650.txt | 28 clocks = <&xclk>;
|
/linux-6.3-rc2/drivers/media/usb/em28xx/ |
A D | em28xx-camera.c | 328 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 D | em28xx-input.c | 391 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 D | em28xx-cards.c | 674 .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 D | clk-max9485.c | 78 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 D | imx214.c | 38 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 D | ov7251.c | 133 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 D | ov5645.c | 93 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 D | ov5647.c | 102 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 D | st-mipid02.c | 92 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 D | imx290.c | 177 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 D | ov6650.c | 872 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 D | imx219.c | 465 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 D | maxim,max9485.txt | 16 - clock-names: Must be set to "xclk" 44 clock-names = "xclk";
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | sumo_dpm.c | 123 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 D | sumo_smc.c | 145 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 D | atyfb_base.c | 327 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 D | r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi | 21 clock-names = "xclk";
|