Home
last modified time | relevance | path

Searched refs:clk_delay (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/reset/
H A Dreset-lpc18xx.c35 struct clk *clk_delay; member
158 rc->clk_delay = devm_clk_get_enabled(&pdev->dev, "delay"); in lpc18xx_rgu_probe()
159 if (IS_ERR(rc->clk_delay)) in lpc18xx_rgu_probe()
160 return dev_err_probe(&pdev->dev, PTR_ERR(rc->clk_delay), in lpc18xx_rgu_probe()
164 firc = clk_get_rate(rc->clk_delay) / USEC_PER_SEC; in lpc18xx_rgu_probe()
/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c430 u8 clk_delay; in sun4i_tcon0_mode_set_lvds() local
448 clk_delay = sun4i_tcon_get_clk_delay(mode, 0); in sun4i_tcon0_mode_set_lvds()
451 SUN4I_TCON0_CTL_CLK_DELAY(clk_delay)); in sun4i_tcon0_mode_set_lvds()
512 u8 clk_delay; in sun4i_tcon0_mode_set_rgb() local
530 clk_delay = sun4i_tcon_get_clk_delay(mode, 0); in sun4i_tcon0_mode_set_rgb()
533 SUN4I_TCON0_CTL_CLK_DELAY(clk_delay)); in sun4i_tcon0_mode_set_rgb()
602 u8 clk_delay; in sun4i_tcon1_mode_set() local
611 clk_delay = sun4i_tcon_get_clk_delay(mode, 1); in sun4i_tcon1_mode_set()
614 SUN4I_TCON1_CTL_CLK_DELAY(clk_delay)); in sun4i_tcon1_mode_set()
/linux/drivers/bus/
H A Dsunxi-rsb.c654 u32 clk_delay, reg; in sunxi_rsb_hw_init() local
688 clk_delay = clk_div >> 1; in sunxi_rsb_hw_init()
689 if (!clk_delay) in sunxi_rsb_hw_init()
690 clk_delay = 1; in sunxi_rsb_hw_init()
693 writel(RSB_CCR_SDA_OUT_DELAY(clk_delay) | RSB_CCR_CLK_DIV(clk_div - 1), in sunxi_rsb_hw_init()
/linux/drivers/net/dsa/realtek/
H A Drealtek.h122 unsigned int clk_delay; member
H A Drealtek-smi.c49 ndelay(priv->variant->clk_delay); in realtek_smi_clk_delay()
H A Drtl8366rb.c2087 .clk_delay = 10,
H A Drtl8365mb.c2149 .clk_delay = 10,
/linux/drivers/media/i2c/
H A Dds90ub960.c1268 u8 clk_delay, data_delay; in ub960_rxport_get_strobe_pos() local
1274 clk_delay = (v & UB960_IR_RX_ANA_STROBE_SET_CLK_NO_EXTRA_DELAY) ? in ub960_rxport_get_strobe_pos()
1287 clk_delay += v & UB960_IR_RX_ANA_STROBE_SET_CLK_DELAY_MASK; in ub960_rxport_get_strobe_pos()
1295 *strobe_pos = data_delay - clk_delay; in ub960_rxport_get_strobe_pos()
1303 u8 clk_delay, data_delay; in ub960_rxport_set_strobe_pos() local
1305 clk_delay = UB960_IR_RX_ANA_STROBE_SET_CLK_NO_EXTRA_DELAY; in ub960_rxport_set_strobe_pos()
1309 clk_delay = abs(strobe_pos) - UB960_MANUAL_STROBE_EXTRA_DELAY; in ub960_rxport_set_strobe_pos()
1313 clk_delay = abs(strobe_pos) | UB960_IR_RX_ANA_STROBE_SET_CLK_NO_EXTRA_DELAY; in ub960_rxport_set_strobe_pos()
1318 UB960_IR_RX_ANA_STROBE_SET_CLK, clk_delay); in ub960_rxport_set_strobe_pos()