/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | outp.c | 35 struct nvkm_outp *outp; in nvkm_outp_route() local 39 if ((outp = ior->arm.outp) && ior->arm.outp != ior->asy.outp) { in nvkm_outp_route() 40 OUTP_DBG(outp, "release %s", ior->name); in nvkm_outp_route() 42 ior->func->route.set(outp, NULL); in nvkm_outp_route() 43 ior->arm.outp = NULL; in nvkm_outp_route() 48 if ((outp = ior->asy.outp)) { in nvkm_outp_route() 49 OUTP_DBG(outp, "acquire %s", ior->name); in nvkm_outp_route() 50 if (ior->asy.outp != ior->arm.outp) { in nvkm_outp_route() 52 ior->func->route.set(outp, ior); in nvkm_outp_route() 53 ior->arm.outp = ior->asy.outp; in nvkm_outp_route() [all …]
|
D | dp.c | 64 OUTP_TRACE(&dp->outp, "status %6ph pc2 %02x", in nvkm_dp_train_sense() 67 OUTP_TRACE(&dp->outp, "status %6ph", lt->stat); in nvkm_dp_train_sense() 77 struct nvkm_ior *ior = dp->outp.ior; in nvkm_dp_train_drive() 107 OUTP_TRACE(&dp->outp, "config lane %d %02x %02x", in nvkm_dp_train_drive() 110 data = nvbios_dpout_match(bios, dp->outp.info.hasht, in nvkm_dp_train_drive() 111 dp->outp.info.hashm, in nvkm_dp_train_drive() 145 OUTP_TRACE(&dp->outp, "training pattern %d", pattern); in nvkm_dp_train_pattern() 146 dp->outp.ior->func->dp.pattern(dp->outp.ior, pattern); in nvkm_dp_train_pattern() 172 for (i = 0; i < lt->dp->outp.ior->dp.nr && eq_done; i++) { in nvkm_dp_train_eq() 200 for (i = 0; i < lt->dp->outp.ior->dp.nr; i++) { in nvkm_dp_train_cr() [all …]
|
D | base.c | 106 struct nvkm_outp *outp; in nvkm_disp_hpd_ctor() local 111 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_hpd_ctor() 112 if (ret = -ENXIO, outp->conn->index == req->v0.conn) { in nvkm_disp_hpd_ctor() 113 if (ret = -ENODEV, outp->conn->hpd.event) { in nvkm_disp_hpd_ctor() 221 struct nvkm_outp *outp; in nvkm_disp_fini() local 226 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_fini() 227 nvkm_outp_fini(outp); in nvkm_disp_fini() 242 struct nvkm_outp *outp; in nvkm_disp_init() local 249 list_for_each_entry(outp, &disp->outp, head) { in nvkm_disp_init() 250 nvkm_outp_init(outp); in nvkm_disp_init() [all …]
|
D | rootnv50.c | 45 struct nvkm_outp *temp, *outp = NULL; in nv50_disp_root_mthd_() local 76 list_for_each_entry(temp, &disp->base.outp, head) { in nv50_disp_root_mthd_() 79 outp = temp; in nv50_disp_root_mthd_() 83 if (outp == NULL) in nv50_disp_root_mthd_() 95 switch (mthd * !!outp) { in nv50_disp_root_mthd_() 102 ret = nvkm_outp_acquire(outp, NVKM_OUTP_USER, args->v0.hda); in nv50_disp_root_mthd_() 104 args->v0.or = outp->ior->id; in nv50_disp_root_mthd_() 105 args->v0.link = outp->ior->asy.link; in nv50_disp_root_mthd_() 112 nvkm_outp_release(outp, NVKM_OUTP_USER); in nv50_disp_root_mthd_() 122 ret = nvkm_outp_acquire(outp, NVKM_OUTP_PRIV, false); in nv50_disp_root_mthd_() [all …]
|
D | nv50.c | 182 nv50_disp_super_iedt(struct nvkm_head *head, struct nvkm_outp *outp, in nv50_disp_super_iedt() argument 187 const u8 l = ffs(outp->info.link); in nv50_disp_super_iedt() 188 const u16 t = outp->info.hasht; in nv50_disp_super_iedt() 189 const u16 m = (0x0100 << head->id) | (l << 6) | outp->info.or; in nv50_disp_super_iedt() 192 OUTP_DBG(outp, "missing IEDT for %04x:%04x", t, m); in nv50_disp_super_iedt() 202 struct nvkm_outp *outp = ior->asy.outp; in nv50_disp_super_ied_on() local 208 if (!outp) { in nv50_disp_super_ied_on() 214 data = nv50_disp_super_iedt(head, outp, &ver, &hdr, &cnt, &len, &iedt); in nv50_disp_super_ied_on() 231 OUTP_DBG(outp, "missing IEDT RS for %02x:%02x", in nv50_disp_super_ied_on() 239 OUTP_DBG(outp, "missing IEDT RSS %d for %02x:%02x %d khz", in nv50_disp_super_ied_on() [all …]
|
D | sorgm200.c | 49 gm200_sor_route_set(struct nvkm_outp *outp, struct nvkm_ior *ior) in gm200_sor_route_set() argument 51 struct nvkm_device *device = outp->disp->engine.subdev.device; in gm200_sor_route_set() 52 const u32 moff = __ffs(outp->info.or) * 0x100; in gm200_sor_route_set() 56 if (outp->info.sorconf.link & 1) { in gm200_sor_route_set() 61 if (outp->info.sorconf.link & 2) in gm200_sor_route_set() 66 gm200_sor_route_get(struct nvkm_outp *outp, int *link) in gm200_sor_route_get() argument 68 struct nvkm_device *device = outp->disp->engine.subdev.device; in gm200_sor_route_get() 69 const int sublinks = outp->info.sorconf.link; in gm200_sor_route_get() 72 for (*link = 0, m = __ffs(outp->info.or) * 2, s = 0; s < 2; m++, s++) { in gm200_sor_route_get()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | dcb.c | 109 dcb_outp_hasht(struct dcb_output *outp) in dcb_outp_hasht() argument 111 return (outp->extdev << 8) | (outp->location << 4) | outp->type; in dcb_outp_hasht() 115 dcb_outp_hashm(struct dcb_output *outp) in dcb_outp_hashm() argument 117 return (outp->heads << 8) | (outp->link << 6) | outp->or; in dcb_outp_hashm() 122 struct dcb_output *outp) in dcb_outp_parse() argument 125 memset(outp, 0x00, sizeof(*outp)); in dcb_outp_parse() 129 outp->or = (conn & 0x0f000000) >> 24; in dcb_outp_parse() 130 outp->location = (conn & 0x00300000) >> 20; in dcb_outp_parse() 131 outp->bus = (conn & 0x000f0000) >> 16; in dcb_outp_parse() 132 outp->connector = (conn & 0x0000f000) >> 12; in dcb_outp_parse() [all …]
|
D | dp.c | 65 u16 outp = nvbios_rd16(bios, data + *hdr + idx * *len); in nvbios_dpout_entry() local 66 switch (*ver * !!outp) { in nvbios_dpout_entry() 72 *cnt = nvbios_rd08(bios, outp + 0x04); in nvbios_dpout_entry() 84 return outp; in nvbios_dpout_entry() 153 nvbios_dpcfg_entry(struct nvkm_bios *bios, u16 outp, u8 idx, in nvbios_dpcfg_entry() argument 157 outp = nvbios_dp_table(bios, ver, hdr, cnt, len); in nvbios_dpcfg_entry() 159 *len = nvbios_rd08(bios, outp + 0x06); in nvbios_dpcfg_entry() 160 *cnt = nvbios_rd08(bios, outp + 0x07) * in nvbios_dpcfg_entry() 161 nvbios_rd08(bios, outp + 0x05); in nvbios_dpcfg_entry() 165 return outp + *hdr + (idx * *len); in nvbios_dpcfg_entry() [all …]
|
D | disp.c | 130 nvbios_ocfg_entry(struct nvkm_bios *bios, u16 outp, u8 idx, in nvbios_ocfg_entry() argument 134 return outp + *hdr + (idx * *len); in nvbios_ocfg_entry() 139 nvbios_ocfg_parse(struct nvkm_bios *bios, u16 outp, u8 idx, in nvbios_ocfg_parse() argument 142 u16 data = nvbios_ocfg_entry(bios, outp, idx, ver, hdr, cnt, len); in nvbios_ocfg_parse() 153 nvbios_ocfg_match(struct nvkm_bios *bios, u16 outp, u8 proto, u8 flags, in nvbios_ocfg_match() argument 157 while ((data = nvbios_ocfg_parse(bios, outp, idx++, ver, hdr, cnt, len, info))) { in nvbios_ocfg_match()
|
/kernel/linux/linux-5.10/tools/power/x86/turbostat/ |
D | turbostat.c | 74 char *output_buffer, *outp; variable 745 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header() 747 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header() 749 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header() 751 outp += sprintf(outp, "%sDie", (printed++ ? delim : "")); in print_header() 753 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header() 755 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header() 757 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header() 759 outp += sprintf(outp, "%sAPIC", (printed++ ? delim : "")); in print_header() 761 outp += sprintf(outp, "%sX2APIC", (printed++ ? delim : "")); in print_header() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_dp.c | 41 struct nouveau_encoder *outp) in nouveau_dp_has_sink_count() argument 43 return drm_dp_read_sink_count_cap(connector, outp->dp.dpcd, &outp->dp.desc); in nouveau_dp_has_sink_count() 48 struct nouveau_encoder *outp) in nouveau_dp_probe_dpcd() argument 55 u8 *dpcd = outp->dp.dpcd; in nouveau_dp_probe_dpcd() 61 ret = drm_dp_read_desc(aux, &outp->dp.desc, drm_dp_is_branch(dpcd)); in nouveau_dp_probe_dpcd() 66 mstm = outp->dp.mstm; in nouveau_dp_probe_dpcd() 71 if (nouveau_dp_has_sink_count(connector, outp)) { in nouveau_dp_probe_dpcd() 76 outp->dp.sink_count = ret; in nouveau_dp_probe_dpcd() 82 if (!outp->dp.sink_count) in nouveau_dp_probe_dpcd() 87 outp->dp.downstream_ports); in nouveau_dp_probe_dpcd() [all …]
|
D | nouveau_encoder.h | 93 struct nouveau_encoder *outp; member 144 nv50_outp_get_new_connector(struct nouveau_encoder *outp, 147 nv50_outp_get_old_connector(struct nouveau_encoder *outp,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
D | nv50.c | 32 u32 *outp; member 59 if ((ctx->outp[0] & 0x0000000f) != ctx->desc.outp_type) in mxm_match_dcb() 69 if ((ctx->outp[0] & 0x0f000000) != (link & 0x0f) << 24) in mxm_match_dcb() 74 if ((link & ((ctx->outp[1] & 0x00000030) >> 4)) != link) in mxm_match_dcb() 98 struct context ctx = { .outp = (u32 *)(bios->data + pdcb) }; in mxm_dcb_sanitise_entry() 107 idx, ctx.outp[0], ctx.outp[1]); in mxm_dcb_sanitise_entry() 108 ctx.outp[0] |= 0x0000000f; in mxm_dcb_sanitise_entry() 117 if ((ctx.outp[0] & 0x0000000f) != DCB_OUTPUT_DP) in mxm_dcb_sanitise_entry() 123 ctx.outp[0] &= ~0x000000f0; in mxm_dcb_sanitise_entry() 124 ctx.outp[0] |= i2cidx; in mxm_dcb_sanitise_entry() [all …]
|
/kernel/linux/linux-5.10/fs/coda/ |
D | upcall.c | 65 outp = (union outputArgs *)(inp); \ 78 union outputArgs *outp; in venus_rootfid() local 86 *fidp = outp->coda_root.VFid; in venus_rootfid() 96 union outputArgs *outp; in venus_getattr() local 105 *attr = outp->coda_getattr.attr; in venus_getattr() 115 union outputArgs *outp; in venus_setattr() local 135 union outputArgs *outp; in venus_lookup() local 152 *resfid = outp->coda_lookup.VFid; in venus_lookup() 153 *type = outp->coda_lookup.vtype; in venus_lookup() 164 union outputArgs *outp; in venus_close() local [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | decompress_unlz4.c | 42 u8 *outp; in unlz4() local 51 outp = output; in unlz4() 56 outp = large_malloc(uncomp_chunksize); in unlz4() 57 if (!outp) { in unlz4() 160 ret = LZ4_decompress_fast(inp, outp, dest_len); in unlz4() 165 ret = LZ4_decompress_safe(inp, outp, chunksize, dest_len); in unlz4() 174 if (flush && flush(outp, dest_len) != dest_len) in unlz4() 177 outp += dest_len; in unlz4() 201 large_free(outp); in unlz4()
|
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/ |
D | sth.c | 73 u64 __iomem *outp = &out->Dn; in sth_stm_packet() local 108 outp = (u64 __iomem *)&out->FLAG_TS; in sth_stm_packet() 110 outp = (u64 __iomem *)&out->FLAG; in sth_stm_packet() 113 writeb_relaxed(0, outp); in sth_stm_packet() 118 outp = &out->USER_TS; in sth_stm_packet() 120 outp = &out->USER; in sth_stm_packet() 121 sth_iowrite(outp, payload, size); in sth_stm_packet() 125 outp = &out->Dn; in sth_stm_packet() 128 outp += 2; in sth_stm_packet() 130 outp++; in sth_stm_packet() [all …]
|
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
D | drvfbi.c | 100 outp(ADDR(B0_CTRL), CTRL_HPI_SET) ; in card_start() 105 outp(ADDR(B0_CTRL),CTRL_RST_SET) ; /* reset for all chips */ in card_start() 108 outp(ADDR(B0_CTRL), CTRL_RST_CLR) ; in card_start() 113 outp(ADDR(B0_TST_CTRL), TST_CFG_WRITE_ON) ; /* enable for writes */ in card_start() 116 outp(ADDR(B0_TST_CTRL), TST_CFG_WRITE_OFF) ; /* disable writes */ in card_start() 123 outp(ADDR(B0_CTRL), CTRL_MRST_CLR|CTRL_HPI_CLR) ; in card_start() 147 outp(ADDR(B0_CTRL),CTRL_RST_CLR) ; /* clear the reset chips */ in card_start() 148 outp(ADDR(B0_LED),LED_GA_OFF|LED_MY_ON|LED_GB_OFF) ; /* ye LED on */ in card_start() 170 outp(ADDR(B0_CTRL), CTRL_HPI_SET) ; in card_stop() 175 outp(ADDR(B0_CTRL),CTRL_RST_SET) ; /* reset for all chips */ in card_stop() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
D | disp.c | 421 nv50_outp_get_new_connector(struct nouveau_encoder *outp, in nv50_outp_get_new_connector() argument 426 struct drm_encoder *encoder = to_drm_encoder(outp); in nv50_outp_get_new_connector() 438 nv50_outp_get_old_connector(struct nouveau_encoder *outp, in nv50_outp_get_old_connector() argument 443 struct drm_encoder *encoder = to_drm_encoder(outp); in nv50_outp_get_old_connector() 915 return msto->mstc->mstm->outp; in nv50_real_outp() 932 mstm->outp->base.base.name, i, payload->vcpi, in nv50_msto_payload() 975 .base.hasht = mstm->outp->dcb->hasht, in nv50_msto_prepare() 976 .base.hashm = (0xf0ff & mstm->outp->dcb->hashm) | in nv50_msto_prepare() 1089 nv50_outp_acquire(mstm->outp, false /*XXX: MST audio.*/); in nv50_msto_enable() 1091 if (mstm->outp->link & 1) in nv50_msto_enable() [all …]
|
D | crc.c | 414 struct nouveau_encoder *outp; in nv50_crc_atomic_check_outp() local 421 outp = nv50_real_outp(enc); in nv50_crc_atomic_check_outp() 422 if (!outp) in nv50_crc_atomic_check_outp() 425 encoder = &outp->base.base; in nv50_crc_atomic_check_outp() 434 list_for_each_entry(outp_atom, &atom->outp, head) { in nv50_crc_atomic_check_outp() 448 nv50_crc_source_type(struct nouveau_encoder *outp, in nv50_crc_source_type() argument 451 struct dcb_output *dcbe = outp->dcb; in nv50_crc_source_type() 476 struct nouveau_encoder *outp; in nv50_crc_atomic_set() local 483 outp = nv50_real_outp(encoder); in nv50_crc_atomic_set() 484 if (!outp) in nv50_crc_atomic_set() [all …]
|
D | sorc37d.c | 43 sorc37d_get_caps(struct nv50_disp *disp, struct nouveau_encoder *outp, int or) in sorc37d_get_caps() argument 47 outp->caps.dp_interlace = !!(tmp & 0x04000000); in sorc37d_get_caps()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | nv50.c | 129 struct dcb_output outp; in nv50_devinit_init() local 137 while (init->base.post && dcb_outp_parse(bios, i, &ver, &hdr, &outp)) { in nv50_devinit_init() 138 if (nvbios_outp_match(bios, outp.hasht, outp.hashm, in nv50_devinit_init() 141 init.outp = &outp; in nv50_devinit_init() 142 init.or = ffs(outp.or) - 1; in nv50_devinit_init() 143 init.link = outp.sorconf.link == 2; in nv50_devinit_init()
|
/kernel/linux/linux-5.10/fs/ |
D | select.c | 508 unsigned long *rinp, *routp, *rexp, *inp, *outp, *exp; in do_select() local 511 inp = fds->in; outp = fds->out; exp = fds->ex; in do_select() 519 in = *inp++; out = *outp++; ex = *exp++; in do_select() 624 int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, in core_sys_select() argument 673 (ret = get_fd_set(n, outp, fds.out)) || in core_sys_select() 692 set_fd_set(n, outp, fds.res_out) || in core_sys_select() 703 static int kern_select(int n, fd_set __user *inp, fd_set __user *outp, in kern_select() argument 721 ret = core_sys_select(n, inp, outp, exp, to); in kern_select() 725 SYSCALL_DEFINE5(select, int, n, fd_set __user *, inp, fd_set __user *, outp, in SYSCALL_DEFINE5() argument 728 return kern_select(n, inp, outp, exp, tvp); in SYSCALL_DEFINE5() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
D | tps65132-regulator.txt | 11 -For regulator outp, the sub node name should be "outp". 32 outp { 33 regulator-name = "outp";
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | disp.h | 34 u16 nvbios_ocfg_entry(struct nvkm_bios *, u16 outp, u8 idx, 36 u16 nvbios_ocfg_parse(struct nvkm_bios *, u16 outp, u8 idx, 38 u16 nvbios_ocfg_match(struct nvkm_bios *, u16 outp, u8 proto, u8 flags,
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | syscalls.c | 82 ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct __kernel_old_… in ppc_select() argument 90 || __get_user(outp, ((fd_set __user * __user *)(buffer+2))) in ppc_select() 95 return sys_select(n, inp, outp, exp, tvp); in ppc_select()
|