Home
last modified time | relevance | path

Searched refs:link_nr (Results 1 – 22 of 22) sorted by relevance

/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_dp.c73 outp->dp.link_nr = 0; in nouveau_dp_probe_dpcd()
103 outp->dp.link_nr = dpcd[DP_MAX_LANE_COUNT] & DP_MAX_LANE_COUNT_MASK; in nouveau_dp_probe_dpcd()
104 if (outp->dcb->dpconf.link_nr < outp->dp.link_nr) in nouveau_dp_probe_dpcd()
105 outp->dp.link_nr = outp->dcb->dpconf.link_nr; in nouveau_dp_probe_dpcd()
110 if (links && links < outp->dp.link_nr) in nouveau_dp_probe_dpcd()
111 outp->dp.link_nr = links; in nouveau_dp_probe_dpcd()
281 NV_DEBUG(drm, "encoder: %dx%d\n", nv_encoder->dcb->dpconf.link_nr, in nouveau_dp_detect()
283 NV_DEBUG(drm, "maximum: %dx%d\n", nv_encoder->dp.link_nr, in nouveau_dp_detect()
427 min_rate = outp->dp.link_nr * outp->dp.rate[0].rate; in nouveau_dp_train()
444 for (int nr = outp->dp.link_nr; nr; nr >>= 1) { in nouveau_dp_train()
[all …]
H A Dnouveau_encoder.h89 int link_nr; member
H A Dnouveau_bios.c1491 entry->dpconf.link_nr = 4; in parse_dcb20_entry()
1495 entry->dpconf.link_nr = 2; in parse_dcb20_entry()
1498 entry->dpconf.link_nr = 1; in parse_dcb20_entry()
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Doutp.h46 u8 link_nr; member
108 u8 lttprs, u8 link_nr, u32 link_bw, bool mst, bool post_lt_adj,
110 int nvif_outp_dp_drive(struct nvif_outp *, u8 link_nr, u8 pe[4], u8 vs[4]);
H A Dif0012.h37 __u8 link_nr; member
241 __u8 link_nr; member
/linux/drivers/gpu/drm/nouveau/nvif/
H A Doutp.c97 nvif_outp_dp_drive(struct nvif_outp *outp, u8 link_nr, u8 pe[4], u8 vs[4]) in nvif_outp_dp_drive() argument
103 args.lanes = link_nr; in nvif_outp_dp_drive()
114 u8 link_nr, u32 link_bw, bool mst, bool post_lt_adj, bool retrain) in nvif_outp_dp_train() argument
124 args.link_nr = link_nr; in nvif_outp_dp_train()
131 args.retrain, args.mst, args.lttprs, args.post_lt_adj, args.link_nr, in nvif_outp_dp_train()
544 outp->info.dp.link_nr = args.dp.link_nr; in nvif_outp_ctor()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Ddcb.c164 outp->dpconf.link_nr = 4; in dcb_outp_parse()
168 outp->dpconf.link_nr = 2; in dcb_outp_parse()
172 outp->dpconf.link_nr = 1; in dcb_outp_parse()
/linux/drivers/thunderbolt/
H A Dpath.c239 struct tb_port *dst, int dst_hopid, int link_nr, in tb_path_alloc() argument
288 in_port->link_nr != link_nr) in tb_path_alloc()
306 out_port->link_nr) { in tb_path_alloc()
313 out_port->link_nr != link_nr) { in tb_path_alloc()
H A Deeprom.c262 u8 link_nr:1; member
394 port->link_nr = entry->link_nr; in tb_drom_parse_entry_port()
H A Dtunnel.h88 struct tb_port *out, int link_nr,
H A Dtb.h289 u8 link_nr:1; member
619 if (port->dual_link_port && port->link_nr) in tb_port_has_remote()
1166 struct tb_port *dst, int dst_hopid, int link_nr,
H A Dtb.c1282 if (port->dual_link_port && port->link_nr) in tb_scan_port()
1870 int available_up, available_down, ret, link_nr; in tb_tunnel_one_dp() local
1881 link_nr = 1; in tb_tunnel_one_dp()
1884 link_nr = 0; in tb_tunnel_one_dp()
1923 tunnel = tb_tunnel_alloc_dp(tb, in, out, link_nr, available_up, in tb_tunnel_one_dp()
H A Dtest.c100 sw->ports[2].link_nr = 1; in alloc_host()
115 sw->ports[4].link_nr = 1; in alloc_host()
221 sw->ports[2].link_nr = 1; in alloc_dev_default()
236 sw->ports[4].link_nr = 1; in alloc_dev_default()
251 sw->ports[6].link_nr = 1; in alloc_dev_default()
266 sw->ports[8].link_nr = 1; in alloc_dev_default()
H A Dswitch.c884 next->link_nr != prev->link_nr) { in tb_next_port_on_path()
2796 port->link_nr = 0; in tb_switch_default_link_ports()
2798 subordinate->link_nr = 1; in tb_switch_default_link_ports()
H A Dusb4.c949 if (!p->link_nr) { in usb4_port_idx()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Danx9805.c193 int link_nr, int link_bw, bool enh) in anx9805_aux_lnk_ctl() argument
201 link_nr, link_bw, enh); in anx9805_aux_lnk_ctl()
204 nvkm_wri2cr(adap, aux->addr, 0xa1, link_nr | (enh ? 0x80 : 0x00)); in anx9805_aux_lnk_ctl()
H A Daux.h17 int (*lnk_ctl)(struct nvkm_i2c_aux *, int link_nr, int link_bw,
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Ddcb.h48 int link_nr; member
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Duoutp.c120 outp->dp.lt.nr = args->v0.link_nr; in nvkm_uoutp_mthd_dp_train()
641 args->v0.dp.link_nr = outp->info.dpconf.link_nr; in nvkm_uoutp_new()
H A Dr535.c956 r535_dp_train_target(struct nvkm_outp *outp, u8 target, bool mst, u8 link_nr, u8 link_bw) in r535_dp_train_target() argument
966 data = NVVAL(NV0073_CTRL, DP_DATA, SET_LANE_COUNT, link_nr) | in r535_dp_train_target()
1311 dcbE.dpconf.link_nr = 4; in r535_outp_new()
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Di2c.h57 int nvkm_i2c_aux_lnk_ctl(struct nvkm_i2c_aux *, int link_nr, int link_bw,
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c377 max_rate = nv_encoder->dp.link_nr * nv_encoder->dp.link_bw; in nv50_outp_atomic_fix_depth()
996 outp->dp.link_bw, outp->dp.link_nr); in nv50_msto_atomic_check()
1623 u32 numLanesPerLink = outp->dp.link_nr; in nv50_sor_dp_watermark_sst()
1636 if ((pixelClockHz * depth) >= (8 * minRate * outp->dp.link_nr * DSC_FACTOR)) in nv50_sor_dp_watermark_sst()
1646 ((pixelClockHz * depth) < div_u64(8 * minRate * outp->dp.link_nr * DSC_FACTOR, 64))) in nv50_sor_dp_watermark_sst()
1658 ratioF = div_u64(ratioF, 8 * (u64) minRate * outp->dp.link_nr); in nv50_sor_dp_watermark_sst()
1669 numSymbolsPerLine = div_u64(surfaceWidth * depth, 8 * outp->dp.link_nr * DSC_FACTOR); in nv50_sor_dp_watermark_sst()
2950 outp->dcb->dpconf.link_nr = outp->outp.info.dp.link_nr; in nv50_display_create()