Home
last modified time | relevance | path

Searched full:outp (Results 1 – 25 of 96) sorted by relevance

1234

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Doutp.c24 #include "outp.h"
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()
[all …]
H A Ddp.c45 struct nvkm_outp *outp; member
60 struct nvkm_outp *outp = lt->outp; in nvkm_dp_train_sense() local
71 ret = nvkm_rdaux(outp->dp.aux, addr, &lt->stat[0], 3); in nvkm_dp_train_sense()
80 ret = nvkm_rdaux(outp->dp.aux, addr, &lt->stat[4], 2); in nvkm_dp_train_sense()
85 ret = nvkm_rdaux(outp->dp.aux, DPCD_LS0C, &lt->pc2stat, 1); in nvkm_dp_train_sense()
89 OUTP_TRACE(outp, "status %6ph pc2 %02x", lt->stat, lt->pc2stat); in nvkm_dp_train_sense()
91 OUTP_TRACE(outp, "status %6ph", lt->stat); in nvkm_dp_train_sense()
100 struct nvkm_outp *outp = lt->outp; in nvkm_dp_train_drive() local
101 struct nvkm_ior *ior = outp->ior; in nvkm_dp_train_drive()
132 OUTP_TRACE(outp, "config lane %d %02x %02x", i, lt->conf[i], lpc2); in nvkm_dp_train_drive()
[all …]
H A Duoutp.c23 #include "outp.h"
31 nvkm_uoutp_mthd_dp_mst_vcpi(struct nvkm_outp *outp, void *argv, u32 argc) in nvkm_uoutp_mthd_dp_mst_vcpi() argument
33 struct nvkm_ior *ior = outp->ior; in nvkm_uoutp_mthd_dp_mst_vcpi()
38 if (!ior->func->dp || !ior->func->dp->vcpi || !nvkm_head_find(outp->disp, args->v0.head)) in nvkm_uoutp_mthd_dp_mst_vcpi()
47 nvkm_uoutp_mthd_dp_retrain(struct nvkm_outp *outp, void *argv, u32 argc) in nvkm_uoutp_mthd_dp_retrain() argument
54 if (!atomic_read(&outp->dp.lt.done)) in nvkm_uoutp_mthd_dp_retrain()
57 return outp->func->acquire(outp); in nvkm_uoutp_mthd_dp_retrain()
61 nvkm_uoutp_mthd_dp_aux_pwr(struct nvkm_outp *outp, void *argv, u32 argc) in nvkm_uoutp_mthd_dp_aux_pwr() argument
68 outp->dp.enabled = !!args->v0.state; in nvkm_uoutp_mthd_dp_aux_pwr()
69 nvkm_dp_enable(outp, outp->dp.enabled); in nvkm_uoutp_mthd_dp_aux_pwr()
[all …]
H A Dbase.c29 #include "outp.h"
109 struct nvkm_outp *outp; in nvkm_disp_fini() local
114 list_for_each_entry(outp, &disp->outps, head) { in nvkm_disp_fini()
115 nvkm_outp_fini(outp); in nvkm_disp_fini()
130 struct nvkm_outp *outp; in nvkm_disp_init() local
137 list_for_each_entry(outp, &disp->outps, head) { in nvkm_disp_init()
138 nvkm_outp_init(outp); in nvkm_disp_init()
163 struct nvkm_outp *outp, *outt, *pair; in nvkm_disp_oneinit() local
182 outp = NULL; in nvkm_disp_oneinit()
189 ret = nvkm_outp_new(disp, i, &dcbE, &outp); in nvkm_disp_oneinit()
[all …]
H A Dgm200.c29 #include "outp.h"
91 gm200_sor_route_set(struct nvkm_outp *outp, struct nvkm_ior *ior) in gm200_sor_route_set() argument
93 struct nvkm_device *device = outp->disp->engine.subdev.device; in gm200_sor_route_set()
94 const u32 moff = __ffs(outp->info.or) * 0x100; in gm200_sor_route_set()
98 if (outp->info.sorconf.link & 1) { in gm200_sor_route_set()
103 if (outp->info.sorconf.link & 2) in gm200_sor_route_set()
108 gm200_sor_route_get(struct nvkm_outp *outp, int *link) in gm200_sor_route_get() argument
110 struct nvkm_device *device = outp->disp->engine.subdev.device; in gm200_sor_route_get()
111 const int sublinks = outp->info.sorconf.link; in gm200_sor_route_get()
114 for (*link = 0, m = __ffs(outp->info.or) * 2, s = 0; s < 2; m++, s++) { in gm200_sor_route_get()
H A Duconn.c24 #include "outp.h"
82 struct nvkm_outp *outp; in nvkm_uconn_uevent() local
95 list_for_each_entry(outp, &conn->disp->outps, head) { in nvkm_uconn_uevent()
96 if (outp->info.connector == conn->index) in nvkm_uconn_uevent()
100 if (&outp->head == &conn->disp->outps) in nvkm_uconn_uevent()
103 if (outp->dp.aux && !outp->info.location) { in nvkm_uconn_uevent()
108 return nvkm_uevent_add(uevent, &device->i2c->event, outp->dp.aux->id, bits, in nvkm_uconn_uevent()
116 if (!outp->info.location && !nvkm_connector_is_dp_dms(conn->info.type)) in nvkm_uconn_uevent()
H A Dnv50.c28 #include "outp.h"
980 nv50_disp_super_iedt(struct nvkm_head *head, struct nvkm_outp *outp, in nv50_disp_super_iedt() argument
985 const u8 l = ffs(outp->info.link); in nv50_disp_super_iedt()
986 const u16 t = outp->info.hasht; in nv50_disp_super_iedt()
987 const u16 m = (0x0100 << head->id) | (l << 6) | outp->info.or; in nv50_disp_super_iedt()
990 OUTP_DBG(outp, "missing IEDT for %04x:%04x", t, m); in nv50_disp_super_iedt()
1000 struct nvkm_outp *outp = ior->asy.outp; in nv50_disp_super_ied_on() local
1006 if (!outp) { in nv50_disp_super_ied_on()
1012 data = nv50_disp_super_iedt(head, outp, &ver, &hdr, &cnt, &len, &iedt); in nv50_disp_super_ied_on()
1029 OUTP_DBG(outp, "missing IEDT RS for %02x:%02x", in nv50_disp_super_ied_on()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Ddcb.c109 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 …]
H A Ddp.c65 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 …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvif/
H A Doutp.c22 #include <nvif/outp.h>
29 nvif_outp_dp_mst_vcpi(struct nvif_outp *outp, int head, in nvif_outp_dp_mst_vcpi() argument
42 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_VCPI, &args, sizeof(args)); in nvif_outp_dp_mst_vcpi()
43 NVIF_ERRON(ret, &outp->object, in nvif_outp_dp_mst_vcpi()
50 nvif_outp_dp_retrain(struct nvif_outp *outp) in nvif_outp_dp_retrain() argument
52 int ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_RETRAIN, NULL, 0); in nvif_outp_dp_retrain()
53 NVIF_ERRON(ret, &outp->object, "[DP_RETRAIN]"); in nvif_outp_dp_retrain()
58 nvif_outp_dp_aux_pwr(struct nvif_outp *outp, bool enable) in nvif_outp_dp_aux_pwr() argument
66 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_AUX_PWR, &args, sizeof(args)); in nvif_outp_dp_aux_pwr()
67 NVIF_ERRON(ret, &outp->object, "[DP_AUX_PWR state:%d]", args.state); in nvif_outp_dp_aux_pwr()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_dp.c40 struct nouveau_encoder *outp) in nouveau_dp_has_sink_count() argument
42 return drm_dp_read_sink_count_cap(connector, outp->dp.dpcd, &outp->dp.desc); in nouveau_dp_has_sink_count()
47 struct nouveau_encoder *outp) in nouveau_dp_probe_dpcd() argument
54 u8 *dpcd = outp->dp.dpcd; in nouveau_dp_probe_dpcd()
60 ret = drm_dp_read_desc(aux, &outp->dp.desc, drm_dp_is_branch(dpcd)); in nouveau_dp_probe_dpcd()
65 mstm = outp->dp.mstm; in nouveau_dp_probe_dpcd()
70 if (nouveau_dp_has_sink_count(connector, outp)) { in nouveau_dp_probe_dpcd()
75 outp->dp.sink_count = ret; in nouveau_dp_probe_dpcd()
81 if (!outp->dp.sink_count) in nouveau_dp_probe_dpcd()
86 outp->dp.downstream_ports); in nouveau_dp_probe_dpcd()
[all …]
H A Dnouveau_encoder.h29 #include <nvif/outp.h>
49 struct nvif_outp outp; member
101 struct nouveau_encoder *outp; member
151 nv50_outp_get_new_connector(struct drm_atomic_state *state, struct nouveau_encoder *outp);
153 nv50_outp_get_old_connector(struct drm_atomic_state *state, struct nouveau_encoder *outp);
/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c254 char *output_buffer, *outp; variable
838 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header()
840 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header()
842 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header()
844 outp += sprintf(outp, "%sDie", (printed++ ? delim : "")); in print_header()
846 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header()
848 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header()
850 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header()
852 outp += sprintf(outp, "%sAPIC", (printed++ ? delim : "")); in print_header()
854 outp += sprintf(outp, "%sX2APIC", (printed++ ? delim : "")); in print_header()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c314 struct nouveau_encoder *outp) in nv50_outp_dump_caps() argument
317 outp->base.base.name, outp->caps.dp_interlace); in nv50_outp_dump_caps()
421 nv50_outp_get_new_connector(struct drm_atomic_state *state, struct nouveau_encoder *outp) in nv50_outp_get_new_connector() argument
425 struct drm_encoder *encoder = to_drm_encoder(outp); in nv50_outp_get_new_connector()
437 nv50_outp_get_old_connector(struct drm_atomic_state *state, struct nouveau_encoder *outp) in nv50_outp_get_old_connector() argument
441 struct drm_encoder *encoder = to_drm_encoder(outp); in nv50_outp_get_old_connector()
453 nv50_outp_get_new_crtc(const struct drm_atomic_state *state, const struct nouveau_encoder *outp) in nv50_outp_get_new_crtc() argument
457 const u32 mask = drm_encoder_mask(&outp->base.base); in nv50_outp_get_new_crtc()
478 core->func->dac->ctrl(core, nv_encoder->outp.or.id, ctrl, NULL); in nv50_dac_atomic_disable()
480 nvif_outp_release(&nv_encoder->outp); in nv50_dac_atomic_disable()
[all …]
H A Dcrc.c25 [NV50_CRC_SOURCE_OUTP_ACTIVE] = "outp-active",
26 [NV50_CRC_SOURCE_OUTP_COMPLETE] = "outp-complete",
27 [NV50_CRC_SOURCE_OUTP_INACTIVE] = "outp-inactive",
393 struct nouveau_encoder *outp; in nv50_crc_atomic_check_outp() local
400 outp = nv50_real_outp(enc); in nv50_crc_atomic_check_outp()
401 if (!outp) in nv50_crc_atomic_check_outp()
404 encoder = &outp->base.base; in nv50_crc_atomic_check_outp()
413 list_for_each_entry(outp_atom, &atom->outp, head) { in nv50_crc_atomic_check_outp()
427 nv50_crc_source_type(struct nouveau_encoder *outp, in nv50_crc_source_type() argument
430 struct dcb_output *dcbe = outp->dcb; in nv50_crc_source_type()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dnv50.c32 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 …]
/openbmc/linux/fs/coda/
H A Dupcall.c65 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 …]
/openbmc/linux/drivers/hwtracing/intel_th/
H A Dsth.c73 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 …]
/openbmc/linux/lib/
H A Ddecompress_unlz4.c42 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()
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dtps65132-regulator.txt8 Device supports two regulators OUTP and OUTN. A sub node within the
11 -For regulator outp, the sub node name should be "outp".
32 outp {
33 regulator-name = "outp";
/openbmc/linux/arch/x86/crypto/
H A Daesni-intel_asm.S150 #define OUTP %rsi macro
151 #define UKEYP OUTP
163 #define OUTP AREG macro
164 #define UKEYP OUTP
1946 movl (FRAME_OFFSET+16)(%esp), OUTP # dst
1952 movups STATE, (OUTP) # output
2135 movl (FRAME_OFFSET+16)(%esp), OUTP # dst
2142 movups STATE, (OUTP) #output
2327 movl (FRAME_OFFSET+20)(%esp), OUTP # dst
2345 movups STATE1, (OUTP)
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv50.c126 struct dcb_output outp; in nv50_devinit_init() local
134 while (init->base.post && dcb_outp_parse(bios, i, &ver, &hdr, &outp)) { in nv50_devinit_init()
135 if (nvbios_outp_match(bios, outp.hasht, outp.hashm, in nv50_devinit_init()
138 init.outp = &outp; in nv50_devinit_init()
139 init.or = ffs(outp.or) - 1; in nv50_devinit_init()
140 init.link = outp.sorconf.link == 2; in nv50_devinit_init()
/openbmc/u-boot/drivers/core/
H A Dread.c14 int dev_read_u32(struct udevice *dev, const char *propname, u32 *outp) in dev_read_u32() argument
16 return ofnode_read_u32(dev_ofnode(dev), propname, outp); in dev_read_u32()
24 int dev_read_s32(struct udevice *dev, const char *propname, s32 *outp) in dev_read_s32() argument
26 return ofnode_read_u32(dev_ofnode(dev), propname, (u32 *)outp); in dev_read_s32()
34 int dev_read_u32u(struct udevice *dev, const char *propname, uint *outp) in dev_read_u32u() argument
42 *outp = val; in dev_read_u32u()
150 const char **outp) in dev_read_string_index() argument
152 return ofnode_read_string_index(dev_ofnode(dev), propname, index, outp); in dev_read_string_index()
/openbmc/linux/fs/
H A Dselect.c509 unsigned long *rinp, *routp, *rexp, *inp, *outp, *exp; in do_select() local
512 inp = fds->in; outp = fds->out; exp = fds->ex; in do_select()
520 in = *inp++; out = *outp++; ex = *exp++; in do_select()
625 int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, in core_sys_select() argument
674 (ret = get_fd_set(n, outp, fds.out)) || in core_sys_select()
693 set_fd_set(n, outp, fds.res_out) || in core_sys_select()
704 static int kern_select(int n, fd_set __user *inp, fd_set __user *outp, in kern_select() argument
722 ret = core_sys_select(n, inp, outp, exp, to); in kern_select()
726 SYSCALL_DEFINE5(select, int, n, fd_set __user *, inp, fd_set __user *, outp, in SYSCALL_DEFINE5() argument
729 return kern_select(n, inp, outp, exp, tvp); in SYSCALL_DEFINE5()
[all …]
/openbmc/linux/drivers/net/fddi/skfp/
H A Ddrvfbi.c96 outp(ADDR(B0_CTRL), CTRL_HPI_SET) ; in card_start()
101 outp(ADDR(B0_CTRL),CTRL_RST_SET) ; /* reset for all chips */ in card_start()
104 outp(ADDR(B0_CTRL), CTRL_RST_CLR) ; in card_start()
109 outp(ADDR(B0_TST_CTRL), TST_CFG_WRITE_ON) ; /* enable for writes */ in card_start()
112 outp(ADDR(B0_TST_CTRL), TST_CFG_WRITE_OFF) ; /* disable writes */ in card_start()
119 outp(ADDR(B0_CTRL), CTRL_MRST_CLR|CTRL_HPI_CLR) ; in card_start()
143 outp(ADDR(B0_CTRL),CTRL_RST_CLR) ; /* clear the reset chips */ in card_start()
144 outp(ADDR(B0_LED),LED_GA_OFF|LED_MY_ON|LED_GB_OFF) ; /* ye LED on */ in card_start()
166 outp(ADDR(B0_CTRL), CTRL_HPI_SET) ; in card_stop()
171 outp(ADDR(B0_CTRL),CTRL_RST_SET) ; /* reset for all chips */ in card_stop()
[all …]

1234