Searched refs:sel_clk (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | dfp.c | 217 state->sel_clk |= bits1618; nv04_dfp_prepare_sel_clk() 219 state->sel_clk &= ~bits1618; nv04_dfp_prepare_sel_clk() 236 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS && nv04_display(dev)->saved_reg.sel_clk & 0xf0) { nv04_dfp_prepare_sel_clk() 237 int shift = (nv04_display(dev)->saved_reg.sel_clk & 0x50) ? 0 : 1; nv04_dfp_prepare_sel_clk() 239 state->sel_clk &= ~0xf0; nv04_dfp_prepare_sel_clk() 240 state->sel_clk |= (head ? 0x40 : 0x10) << shift; nv04_dfp_prepare_sel_clk() 553 nv04_display(dev)->mode_reg.sel_clk = NVReadRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK); nv04_lvds_dpms() 554 nv04_display(dev)->mode_reg.sel_clk &= ~0xf0; nv04_lvds_dpms() 556 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, nv04_display(dev)->mode_reg.sel_clk); nv04_lvds_dpms()
|
H A D | disp.h | 75 uint32_t sel_clk; member in struct:nv04_mode_state
|
H A D | crtc.c | 658 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, nv04_display(dev)->mode_reg.sel_clk); nv_crtc_mode_set() 679 state->sel_clk = saved->sel_clk & ~(0x5 << 16); nv_crtc_save()
|
H A D | hw.c | 400 state->sel_clk = NVReadRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK); nv_save_state_ramdac() 477 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, state->sel_clk); nv_load_state_ramdac()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | pll.c | 368 u32 sel_clk = nvkm_rd32(device, 0x680524); nvbios_pll_parse() local 369 if ((info->reg == 0x680508 && sel_clk & 0x20) || nvbios_pll_parse() 370 (info->reg == 0x680520 && sel_clk & 0x80)) { nvbios_pll_parse()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-mt65xx.c | 90 struct clk *parent_clk, *sel_clk, *spi_clk; member in struct:mtk_spi 590 mdata->sel_clk = devm_clk_get(&pdev->dev, "sel-clk"); mtk_spi_probe() 591 if (IS_ERR(mdata->sel_clk)) { mtk_spi_probe() 592 ret = PTR_ERR(mdata->sel_clk); mtk_spi_probe() 610 ret = clk_set_parent(mdata->sel_clk, mdata->parent_clk); mtk_spi_probe()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.c | 221 uint32_t sel_clk_binding, sel_clk; call_lvds_script() local 250 sel_clk = NVReadRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK) & ~0x50000; call_lvds_script() 251 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, sel_clk | sel_clk_binding); call_lvds_script() 642 uint32_t sel_clk_binding, sel_clk; run_tmds_table() local 674 sel_clk = NVReadRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK) & ~0x50000; run_tmds_table() 675 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_SEL_CLK, sel_clk | sel_clk_binding); run_tmds_table()
|
Completed in 228 milliseconds