/drivers/gpu/drm/tegra/ |
D | sor.c | 391 int (*probe)(struct tegra_sor *sor); 392 int (*remove)(struct tegra_sor *sor); 474 static inline u32 tegra_sor_readl(struct tegra_sor *sor, unsigned int offset) in tegra_sor_readl() argument 476 u32 value = readl(sor->regs + (offset << 2)); in tegra_sor_readl() 478 trace_sor_readl(sor->dev, offset, value); in tegra_sor_readl() 483 static inline void tegra_sor_writel(struct tegra_sor *sor, u32 value, in tegra_sor_writel() argument 486 trace_sor_writel(sor->dev, offset, value); in tegra_sor_writel() 487 writel(value, sor->regs + (offset << 2)); in tegra_sor_writel() 490 static int tegra_sor_set_parent_clock(struct tegra_sor *sor, struct clk *parent) in tegra_sor_set_parent_clock() argument 494 clk_disable_unprepare(sor->clk); in tegra_sor_set_parent_clock() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | sorg94.c | 29 g94_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) in g94_sor_dp_watermark() argument 31 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_watermark() 32 const u32 loff = nv50_sor_link(sor); in g94_sor_dp_watermark() 37 g94_sor_dp_activesym(struct nvkm_ior *sor, int head, in g94_sor_dp_activesym() argument 40 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_activesym() 41 const u32 loff = nv50_sor_link(sor); in g94_sor_dp_activesym() 49 g94_sor_dp_audio_sym(struct nvkm_ior *sor, int head, u16 h, u32 v) in g94_sor_dp_audio_sym() argument 51 struct nvkm_device *device = sor->disp->engine.subdev.device; in g94_sor_dp_audio_sym() 52 const u32 soff = nv50_ior_base(sor); in g94_sor_dp_audio_sym() 58 g94_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in g94_sor_dp_drive() argument [all …]
|
D | sorgf119.c | 29 gf119_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) in gf119_sor_dp_watermark() argument 31 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_watermark() 37 gf119_sor_dp_audio_sym(struct nvkm_ior *sor, int head, u16 h, u32 v) in gf119_sor_dp_audio_sym() argument 39 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_audio_sym() 46 gf119_sor_dp_audio(struct nvkm_ior *sor, int head, bool enable) in gf119_sor_dp_audio() argument 48 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_audio() 60 gf119_sor_dp_vcpi(struct nvkm_ior *sor, int head, in gf119_sor_dp_vcpi() argument 63 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_vcpi() 71 gf119_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in gf119_sor_dp_drive() argument 73 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_drive() [all …]
|
D | sorgm200.c | 27 gm200_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in gm200_sor_dp_drive() argument 29 struct nvkm_device *device = sor->disp->engine.subdev.device; in gm200_sor_dp_drive() 30 const u32 loff = nv50_sor_link(sor); in gm200_sor_dp_drive() 31 const u32 shift = sor->func->dp.lanes[ln] * 8; in gm200_sor_dp_drive() 53 const u32 sor = ior ? ior->id + 1 : 0; in gm200_sor_route_set() local 57 nvkm_mask(device, 0x612308 + moff, 0x0000001f, link << 4 | sor); in gm200_sor_route_set() 62 nvkm_mask(device, 0x612388 + moff, 0x0000001f, link << 4 | sor); in gm200_sor_route_set() 70 int lnk[2], sor[2], m, s; in gm200_sor_route_get() local 76 sor[s] = (data & 0x0000000f); in gm200_sor_route_get() 77 if (!sor[s]) in gm200_sor_route_get() [all …]
|
D | sornv50.c | 29 nv50_sor_clock(struct nvkm_ior *sor) in nv50_sor_clock() argument 31 struct nvkm_device *device = sor->disp->engine.subdev.device; in nv50_sor_clock() 32 const int div = sor->asy.link == 3; in nv50_sor_clock() 33 const u32 soff = nv50_ior_base(sor); in nv50_sor_clock() 47 nv50_sor_power(struct nvkm_ior *sor, bool normal, bool pu, in nv50_sor_power() argument 50 struct nvkm_device *device = sor->disp->engine.subdev.device; in nv50_sor_power() 51 const u32 soff = nv50_ior_base(sor); in nv50_sor_power() 67 nv50_sor_state(struct nvkm_ior *sor, struct nvkm_ior_state *state) in nv50_sor_state() argument 69 struct nvkm_device *device = sor->disp->engine.subdev.device; in nv50_sor_state() 70 const u32 coff = sor->id * 8 + (state == &sor->arm) * 4; in nv50_sor_state()
|
D | sortu102.c | 27 tu102_sor_dp_vcpi(struct nvkm_ior *sor, int head, in tu102_sor_dp_vcpi() argument 30 struct nvkm_device *device = sor->disp->engine.subdev.device; in tu102_sor_dp_vcpi() 38 tu102_sor_dp_links(struct nvkm_ior *sor, struct nvkm_i2c_aux *aux) in tu102_sor_dp_links() argument 40 struct nvkm_device *device = sor->disp->engine.subdev.device; in tu102_sor_dp_links() 41 const u32 soff = nv50_ior_base(sor); in tu102_sor_dp_links() 42 const u32 loff = nv50_sor_link(sor); in tu102_sor_dp_links() 46 clksor |= sor->dp.bw << 18; in tu102_sor_dp_links() 47 dpctrl |= ((1 << sor->dp.nr) - 1) << 16; in tu102_sor_dp_links() 48 if (sor->dp.mst) in tu102_sor_dp_links() 50 if (sor->dp.ef) in tu102_sor_dp_links()
|
D | sorgv100.c | 27 gv100_sor_dp_watermark(struct nvkm_ior *sor, int head, u8 watermark) in gv100_sor_dp_watermark() argument 29 struct nvkm_device *device = sor->disp->engine.subdev.device; in gv100_sor_dp_watermark() 35 gv100_sor_dp_audio_sym(struct nvkm_ior *sor, int head, u16 h, u32 v) in gv100_sor_dp_audio_sym() argument 37 struct nvkm_device *device = sor->disp->engine.subdev.device; in gv100_sor_dp_audio_sym() 44 gv100_sor_dp_audio(struct nvkm_ior *sor, int head, bool enable) in gv100_sor_dp_audio() argument 46 struct nvkm_device *device = sor->disp->engine.subdev.device; in gv100_sor_dp_audio() 58 gv100_sor_state(struct nvkm_ior *sor, struct nvkm_ior_state *state) in gv100_sor_state() argument 60 struct nvkm_device *device = sor->disp->engine.subdev.device; in gv100_sor_state() 61 const u32 coff = (state == &sor->arm) * 0x8000 + sor->id * 0x20; in gv100_sor_state()
|
D | sorgm107.c | 27 gm107_sor_dp_pattern(struct nvkm_ior *sor, int pattern) in gm107_sor_dp_pattern() argument 29 struct nvkm_device *device = sor->disp->engine.subdev.device; in gm107_sor_dp_pattern() 30 const u32 soff = nv50_ior_base(sor); in gm107_sor_dp_pattern() 32 if (sor->asy.link & 1) in gm107_sor_dp_pattern()
|
D | sorgt215.c | 27 gt215_sor_dp_audio(struct nvkm_ior *sor, int head, bool enable) in gt215_sor_dp_audio() argument 29 struct nvkm_device *device = sor->disp->engine.subdev.device; in gt215_sor_dp_audio() 30 const u32 soff = nv50_ior_base(sor); in gt215_sor_dp_audio()
|
D | nv50.c | 127 disp->sor.nr = func->sor.cnt(&disp->base, &disp->sor.mask); in nv50_disp_oneinit_() 129 disp->sor.nr, disp->sor.mask); in nv50_disp_oneinit_() 130 for_each_set_bit(i, &disp->sor.mask, disp->sor.nr) { in nv50_disp_oneinit_() 131 ret = func->sor.new(&disp->base, i); in nv50_disp_oneinit_() 453 head->asy.or.depth = (disp->sor.lvdsconf & 0x0200) ? 24 : 18; in nv50_disp_super_2_2() 454 ior->asy.link = (disp->sor.lvdsconf & 0x0100) ? 3 : 1; in nv50_disp_super_2_2() 726 for (i = 0; i < disp->sor.nr; i++) { in nv50_disp_init() 767 .sor = { .cnt = nv50_sor_cnt, .new = nv50_sor_new },
|
D | nv50.h | 29 } sor; member 67 } wndw, head, dac, sor, pior; member
|
D | tu102.c | 54 for (i = 0; i < disp->sor.nr; i++) { in tu102_disp_init() 144 .sor = { .cnt = gv100_sor_cnt, .new = tu102_sor_new },
|
D | gp100.c | 39 .sor = { .cnt = gf119_sor_cnt, .new = gm200_sor_new },
|
D | gk110.c | 40 .sor = { .cnt = gf119_sor_cnt, .new = gk104_sor_new },
|
D | gm107.c | 40 .sor = { .cnt = gf119_sor_cnt, .new = gm107_sor_new },
|
D | gm200.c | 40 .sor = { .cnt = gf119_sor_cnt, .new = gm200_sor_new },
|
D | gk104.c | 40 .sor = { .cnt = gf119_sor_cnt, .new = gk104_sor_new },
|
D | mcp89.c | 37 .sor = { .cnt = g94_sor_cnt, .new = mcp89_sor_new },
|
D | gt200.c | 39 .sor = { .cnt = nv50_sor_cnt, .new = g84_sor_new },
|
D | mcp77.c | 37 .sor = { .cnt = g94_sor_cnt, .new = mcp77_sor_new },
|
D | gt215.c | 39 .sor = { .cnt = g94_sor_cnt, .new = gt215_sor_new },
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | dcb.h | 38 struct sor_conf sor; member 47 struct sor_conf sor; member 52 struct sor_conf sor; member
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | core917d.c | 33 .sor = &sor907d,
|
D | core907d.c | 33 .sor = &sor907d,
|
D | core827d.c | 33 .sor = &sor507d,
|