Searched refs:sel_clk (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/armada/ |
D | armada_510.c | 17 struct clk *sel_clk; member 125 v->sel_clk = res.clk; in armada510_crtc_compute_clock() 147 if (!dcrtc->clk && v->sel_clk) { in armada510_crtc_enable() 148 if (!WARN_ON(clk_prepare_enable(v->sel_clk))) in armada510_crtc_enable() 149 dcrtc->clk = v->sel_clk; in armada510_crtc_enable()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/dispnv04/ |
D | dfp.c | 218 state->sel_clk |= bits1618; in nv04_dfp_prepare_sel_clk() 220 state->sel_clk &= ~bits1618; in nv04_dfp_prepare_sel_clk() 237 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS && nv04_display(dev)->saved_reg.sel_clk & 0xf0) { in nv04_dfp_prepare_sel_clk() 238 int shift = (nv04_display(dev)->saved_reg.sel_clk & 0x50) ? 0 : 1; in nv04_dfp_prepare_sel_clk() 240 state->sel_clk &= ~0xf0; in nv04_dfp_prepare_sel_clk() 241 state->sel_clk |= (head ? 0x40 : 0x10) << shift; in nv04_dfp_prepare_sel_clk() 556 nv04_display(dev)->mode_reg.sel_clk = NVReadRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK); in nv04_lvds_dpms() 557 nv04_display(dev)->mode_reg.sel_clk &= ~0xf0; in nv04_lvds_dpms() 559 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, nv04_display(dev)->mode_reg.sel_clk); in nv04_lvds_dpms()
|
D | disp.h | 80 uint32_t sel_clk; member
|
D | crtc.c | 659 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, nv04_display(dev)->mode_reg.sel_clk); in nv_crtc_mode_set() 680 state->sel_clk = saved->sel_clk & ~(0x5 << 16); in nv_crtc_save()
|
D | hw.c | 407 state->sel_clk = NVReadRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK); in nv_save_state_ramdac() 484 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, state->sel_clk); in nv_load_state_ramdac()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | pll.c | 389 u32 sel_clk = nvkm_rd32(device, 0x680524); in nvbios_pll_parse() local 390 if ((info->reg == 0x680508 && sel_clk & 0x20) || in nvbios_pll_parse() 391 (info->reg == 0x680520 && sel_clk & 0x80)) { in nvbios_pll_parse()
|
/Linux-v6.6/drivers/spi/ |
D | spi-mt65xx.c | 161 struct clk *parent_clk, *sel_clk, *spi_clk, *spi_hclk; member 1201 mdata->sel_clk = devm_clk_get(dev, "sel-clk"); in mtk_spi_probe() 1202 if (IS_ERR(mdata->sel_clk)) in mtk_spi_probe() 1203 return dev_err_probe(dev, PTR_ERR(mdata->sel_clk), "failed to get sel-clk\n"); in mtk_spi_probe() 1213 ret = clk_set_parent(mdata->sel_clk, mdata->parent_clk); in mtk_spi_probe()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 222 uint32_t sel_clk_binding, sel_clk; in call_lvds_script() local 251 sel_clk = NVReadRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK) & ~0x50000; in call_lvds_script() 252 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, sel_clk | sel_clk_binding); in call_lvds_script() 643 uint32_t sel_clk_binding, sel_clk; in run_tmds_table() local 675 sel_clk = NVReadRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK) & ~0x50000; in run_tmds_table() 676 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, sel_clk | sel_clk_binding); in run_tmds_table()
|
/Linux-v6.6/drivers/gpu/drm/i2c/ |
D | tda998x_drv.c | 1446 u8 reg, div, rep, sel_clk; in tda998x_bridge_mode_set() local 1524 sel_clk = SEL_CLK_ENA_SC_CLK | SEL_CLK_SEL_CLK1 | in tda998x_bridge_mode_set() 1569 reg_write(priv, REG_SEL_CLK, sel_clk); in tda998x_bridge_mode_set()
|