/linux/drivers/gpu/drm/tegra/ |
A D | sor.c | 543 struct tegra_sor *sor = pad->sor; in tegra_clk_sor_pad_set_parent() local 567 struct tegra_sor *sor = pad->sor; in tegra_clk_sor_pad_get_parent() local 604 pad->sor = sor; in tegra_clk_sor_pad_register() 1696 sor->debugfs_files[i].data = sor; in tegra_sor_late_register() 3077 sor->link.aux = sor->aux; in tegra_sor_init() 3080 sor->output.dev = sor->dev; in tegra_sor_init() 3707 sor->ops->audio_enable(sor); in tegra_sor_irq() 3710 sor->ops->audio_disable(sor); in tegra_sor_irq() 3785 if (sor->ops && sor->ops->probe) { in tegra_sor_probe() 3786 err = sor->ops->probe(sor); in tegra_sor_probe() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
A D | sorg94.c | 32 const u32 loff = nv50_sor_link(sor); in g94_sor_dp_watermark() 41 const u32 loff = nv50_sor_link(sor); in g94_sor_dp_activesym() 52 const u32 soff = nv50_ior_base(sor); in g94_sor_dp_audio_sym() 112 if (sor->dp.ef) in g94_sor_dp_links() 114 if (sor->dp.bw > 0x06) in g94_sor_dp_links() 127 if (sor->asy.proto == TMDS) { in g94_sor_war_needed() 169 g94_sor_war_3(struct nvkm_ior *sor) in g94_sor_war_3() argument 175 if (!g94_sor_war_needed(sor)) in g94_sor_war_3() 211 g94_sor_war_2(struct nvkm_ior *sor) in g94_sor_war_2() argument 216 if (!g94_sor_war_needed(sor)) in g94_sor_war_2() [all …]
|
A D | sorgf119.c | 94 const u32 soff = nv50_ior_base(sor); in gf119_sor_dp_pattern() 102 const u32 soff = nv50_ior_base(sor); in gf119_sor_dp_links() 103 const u32 loff = nv50_sor_link(sor); in gf119_sor_dp_links() 107 clksor |= sor->dp.bw << 18; in gf119_sor_dp_links() 109 if (sor->dp.mst) in gf119_sor_dp_links() 111 if (sor->dp.ef) in gf119_sor_dp_links() 124 u32 div1 = sor->asy.link == 3; in gf119_sor_clock() 125 u32 div2 = sor->asy.link == 3; in gf119_sor_clock() 126 if (sor->asy.proto == TMDS) { in gf119_sor_clock() 129 if (sor->tmds.high_speed) in gf119_sor_clock() [all …]
|
A D | sorga102.c | 30 const u32 soff = nv50_ior_base(sor); in ga102_sor_dp_links() 31 const u32 loff = nv50_sor_link(sor); in ga102_sor_dp_links() 35 switch (sor->dp.bw) { in ga102_sor_dp_links() 45 dpctrl |= ((1 << sor->dp.nr) - 1) << 16; in ga102_sor_dp_links() 46 if (sor->dp.mst) in ga102_sor_dp_links() 48 if (sor->dp.ef) in ga102_sor_dp_links() 63 ga102_sor_clock(struct nvkm_ior *sor) in ga102_sor_clock() argument 67 if (sor->asy.proto == TMDS) { in ga102_sor_clock() 68 if (sor->tmds.high_speed) in ga102_sor_clock() 71 nvkm_wr32(device, 0x00ec08 + (sor->id * 0x10), 0x00000000); in ga102_sor_clock() [all …]
|
A 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()
|
A D | sorgm200.c | 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() 84 if (sor[0] != sor[1] || WARN_ON(lnk[0] || !lnk[1])) in gm200_sor_route_get() [all …]
|
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A 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 },
|
A D | nv50.h | 29 } sor; member 67 } wndw, head, dac, sor, pior; member
|
A 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 },
|
A D | gp100.c | 39 .sor = { .cnt = gf119_sor_cnt, .new = gp100_sor_new },
|
A D | ga102.c | 38 .sor = { .cnt = gv100_sor_cnt, .new = ga102_sor_new },
|
A D | gk104.c | 40 .sor = { .cnt = gf119_sor_cnt, .new = gk104_sor_new },
|
A D | gk110.c | 40 .sor = { .cnt = gf119_sor_cnt, .new = gk104_sor_new },
|
A D | gm107.c | 40 .sor = { .cnt = gf119_sor_cnt, .new = gm107_sor_new },
|
A D | gm200.c | 40 .sor = { .cnt = gf119_sor_cnt, .new = gm200_sor_new },
|
A D | gt200.c | 39 .sor = { .cnt = nv50_sor_cnt, .new = g84_sor_new },
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
A D | dcb.h | 38 struct sor_conf sor; member 47 struct sor_conf sor; member 52 struct sor_conf sor; member
|
/linux/arch/ia64/kernel/ |
A D | unaligned.c | 299 rotate_reg (unsigned long sor, unsigned long rrb, unsigned long reg) in rotate_reg() argument 302 if (reg >= sor) in rotate_reg() 303 reg -= sor; in rotate_reg() 316 long sor = 8 * ((regs->cr_ifs >> 14) & 0xf); in set_rse_reg() local 326 if (ridx < sor) in set_rse_reg() 327 ridx = rotate_reg(sor, rrb_gr, ridx); in set_rse_reg() 389 long sor = 8 * ((regs->cr_ifs >> 14) & 0xf); in get_rse_reg() local 399 if (ridx < sor) in get_rse_reg() 400 ridx = rotate_reg(sor, rrb_gr, ridx); in get_rse_reg()
|
/linux/arch/powerpc/sysdev/ |
A D | cpm2.c | 325 u32 dir, par, sor, odr, dat; member 347 setbits32(&iop[port].sor, pin); in cpm2_set_pin() 349 clrbits32(&iop[port].sor, pin); in cpm2_set_pin()
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
A D | core827d.c | 34 .sor = &sor507d,
|
A D | core917d.c | 37 .sor = &sor907d,
|