Home
last modified time | relevance | path

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

1234

/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Doutp.c24 #include "outp.h"
37 struct nvkm_outp *outp; in nvkm_outp_route() local
41 if ((outp = ior->arm.outp) && ior->arm.outp != ior->asy.outp) { in nvkm_outp_route()
42 OUTP_DBG(outp, "release %s", ior->name); in nvkm_outp_route()
44 ior->func->route.set(outp, NULL); in nvkm_outp_route()
45 ior->arm.outp = NULL; in nvkm_outp_route()
50 if ((outp = ior->asy.outp)) { in nvkm_outp_route()
51 if (ior->asy.outp != ior->arm.outp) { in nvkm_outp_route()
52 OUTP_DBG(outp, "acquire %s", ior->name); in nvkm_outp_route()
54 ior->func->route.set(outp, ior); in nvkm_outp_route()
[all …]
H A Ddp.c45 nvkm_dp_mst_id_put(struct nvkm_outp *outp, u32 id) in nvkm_dp_mst_id_put() argument
51 nvkm_dp_mst_id_get(struct nvkm_outp *outp, u32 *pid) in nvkm_dp_mst_id_get() argument
53 *pid = BIT(outp->index); in nvkm_dp_mst_id_get()
58 nvkm_dp_aux_xfer(struct nvkm_outp *outp, u8 type, u32 addr, u8 *data, u8 *size) in nvkm_dp_aux_xfer() argument
60 int ret = nvkm_i2c_aux_acquire(outp->dp.aux); in nvkm_dp_aux_xfer()
65 ret = nvkm_i2c_aux_xfer(outp->dp.aux, false, type, addr, data, size); in nvkm_dp_aux_xfer()
66 nvkm_i2c_aux_release(outp->dp.aux); in nvkm_dp_aux_xfer()
71 nvkm_dp_aux_pwr(struct nvkm_outp *outp, bool pu) in nvkm_dp_aux_pwr() argument
73 outp->dp.enabled = pu; in nvkm_dp_aux_pwr()
74 nvkm_dp_enable(outp, outp->dp.enabled); in nvkm_dp_aux_pwr()
[all …]
H A Duoutp.c23 #include "outp.h"
33 nvkm_uoutp_mthd_dp_mst_vcpi(struct nvkm_outp *outp, void *argv, u32 argc) in nvkm_uoutp_mthd_dp_mst_vcpi() argument
35 struct nvkm_ior *ior = outp->ior; in nvkm_uoutp_mthd_dp_mst_vcpi()
40 if (!ior->func->dp || !ior->func->dp->vcpi || !nvkm_head_find(outp->disp, args->v0.head)) in nvkm_uoutp_mthd_dp_mst_vcpi()
49 nvkm_uoutp_mthd_dp_mst_id_put(struct nvkm_outp *outp, void *argv, u32 argc) in nvkm_uoutp_mthd_dp_mst_id_put() argument
55 if (!outp->func->dp.mst_id_put) in nvkm_uoutp_mthd_dp_mst_id_put()
58 return outp->func->dp.mst_id_put(outp, args->v0.id); in nvkm_uoutp_mthd_dp_mst_id_put()
62 nvkm_uoutp_mthd_dp_mst_id_get(struct nvkm_outp *outp, void *argv, u32 argc) in nvkm_uoutp_mthd_dp_mst_id_get() argument
68 if (!outp->func->dp.mst_id_get) in nvkm_uoutp_mthd_dp_mst_id_get()
71 return outp->func->dp.mst_id_get(outp, &args->v0.id); in nvkm_uoutp_mthd_dp_mst_id_get()
[all …]
H A Dr535.c28 #include "outp.h"
274 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_bl_set()
293 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_bl_get()
326 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_hda_eld()
351 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_hda_hpd()
374 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_dp_audio_mute()
393 ctrl->displayId = BIT(sor->asy.outp->index); in r535_sor_dp_audio()
473 struct nvkm_outp *outp = sor->asy.outp; in r535_sor_hdmi_scdc() local
474 struct nvkm_disp *disp = outp->disp; in r535_sor_hdmi_scdc()
482 ctrl->displayId = BIT(outp->index); in r535_sor_hdmi_scdc()
[all …]
H A Dbase.c28 #include "outp.h"
105 struct nvkm_outp *outp; in nvkm_disp_fini() local
110 list_for_each_entry(outp, &disp->outps, head) { in nvkm_disp_fini()
111 if (outp->func->fini) in nvkm_disp_fini()
112 outp->func->fini(outp); in nvkm_disp_fini()
122 struct nvkm_outp *outp; in nvkm_disp_init() local
125 list_for_each_entry(outp, &disp->outps, head) { in nvkm_disp_init()
126 if (outp->func->init) in nvkm_disp_init()
127 outp->func->init(outp); in nvkm_disp_init()
173 struct nvkm_outp *outp; in nvkm_disp_dtor() local
[all …]
H A Dnv50.c30 #include "outp.h"
1014 nv50_disp_super_iedt(struct nvkm_head *head, struct nvkm_outp *outp, in nv50_disp_super_iedt() argument
1019 const u8 l = ffs(outp->info.link); in nv50_disp_super_iedt()
1020 const u16 t = outp->info.hasht; in nv50_disp_super_iedt()
1021 const u16 m = (0x0100 << head->id) | (l << 6) | outp->info.or; in nv50_disp_super_iedt()
1024 OUTP_DBG(outp, "missing IEDT for %04x:%04x", t, m); in nv50_disp_super_iedt()
1034 struct nvkm_outp *outp = ior->asy.outp; in nv50_disp_super_ied_on() local
1040 if (!outp) { in nv50_disp_super_ied_on()
1046 data = nv50_disp_super_iedt(head, outp, &ver, &hdr, &cnt, &len, &iedt); in nv50_disp_super_ied_on()
1063 OUTP_DBG(outp, "missing IEDT RS for %02x:%02x", in nv50_disp_super_ied_on()
[all …]
H A Dgm200.c29 #include "outp.h"
99 gm200_sor_route_set(struct nvkm_outp *outp, struct nvkm_ior *ior) in gm200_sor_route_set() argument
101 struct nvkm_device *device = outp->disp->engine.subdev.device; in gm200_sor_route_set()
102 const u32 moff = __ffs(outp->info.or) * 0x100; in gm200_sor_route_set()
106 if (outp->info.sorconf.link & 1) { in gm200_sor_route_set()
111 if (outp->info.sorconf.link & 2) in gm200_sor_route_set()
116 gm200_sor_route_get(struct nvkm_outp *outp, int *link) in gm200_sor_route_get() argument
118 struct nvkm_device *device = outp->disp->engine.subdev.device; in gm200_sor_route_get()
119 const int sublinks = outp->info.sorconf.link; in gm200_sor_route_get()
122 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"
100 struct nvkm_outp *outp; in nvkm_uconn_uevent() local
113 list_for_each_entry(outp, &conn->disp->outps, head) { in nvkm_uconn_uevent()
114 if (outp->info.connector == conn->index) in nvkm_uconn_uevent()
118 if (&outp->head == &conn->disp->outps) in nvkm_uconn_uevent()
126 return nvkm_uevent_add(uevent, &disp->rm.event, outp->index, bits, in nvkm_uconn_uevent()
130 if (outp->dp.aux && !outp->info.location) { in nvkm_uconn_uevent()
135 return nvkm_uevent_add(uevent, &device->i2c->event, outp->dp.aux->id, bits, in nvkm_uconn_uevent()
143 if (!outp->info.location && !nvkm_connector_is_dp_dms(conn->info.type)) in nvkm_uconn_uevent()
/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()
46 nouveau_dp_probe_lttpr(struct nouveau_encoder *outp) in nouveau_dp_probe_lttpr() argument
51 ret = nvif_outp_dp_aux_xfer(&outp->outp, DP_AUX_NATIVE_READ, &size, in nouveau_dp_probe_lttpr()
62 struct nouveau_encoder *outp) in nouveau_dp_probe_dpcd() argument
69 u8 *dpcd = outp->dp.dpcd; in nouveau_dp_probe_dpcd()
71 outp->dp.lttpr.nr = 0; in nouveau_dp_probe_dpcd()
72 outp->dp.rate_nr = 0; in nouveau_dp_probe_dpcd()
73 outp->dp.link_nr = 0; in nouveau_dp_probe_dpcd()
74 outp->dp.link_bw = 0; in nouveau_dp_probe_dpcd()
[all …]
H A Dnouveau_encoder.h29 #include <nvif/outp.h>
49 struct nvif_outp outp; member
121 struct nouveau_encoder *outp; member
173 nv50_outp_get_new_connector(struct drm_atomic_state *state, struct nouveau_encoder *outp);
175 nv50_outp_get_old_connector(struct drm_atomic_state *state, struct nouveau_encoder *outp);
/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_mst_id_put(struct nvif_outp *outp, u32 id) in nvif_outp_dp_mst_id_put() argument
57 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_ID_PUT, &args, sizeof(args)); in nvif_outp_dp_mst_id_put()
58 NVIF_ERRON(ret, &outp->object, "[DP_MST_ID_PUT id:%08x]", args.id); in nvif_outp_dp_mst_id_put()
63 nvif_outp_dp_mst_id_get(struct nvif_outp *outp, u32 *id) in nvif_outp_dp_mst_id_get() argument
69 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_ID_GET, &args, sizeof(args)); in nvif_outp_dp_mst_id_get()
70 NVIF_ERRON(ret, &outp->object, "[DP_MST_ID_GET] id:%08x", args.id); in nvif_outp_dp_mst_id_get()
[all …]
/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 …]
/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()
504 if (!nvif_outp_acquired(&nv_encoder->outp)) in nv50_dac_atomic_enable()
[all …]
H A Dcrc.c27 [NV50_CRC_SOURCE_OUTP_ACTIVE] = "outp-active",
28 [NV50_CRC_SOURCE_OUTP_COMPLETE] = "outp-complete",
29 [NV50_CRC_SOURCE_OUTP_INACTIVE] = "outp-inactive",
395 struct nouveau_encoder *outp; in nv50_crc_atomic_check_outp() local
402 outp = nv50_real_outp(enc); in nv50_crc_atomic_check_outp()
403 if (!outp) in nv50_crc_atomic_check_outp()
406 encoder = &outp->base.base; in nv50_crc_atomic_check_outp()
415 list_for_each_entry(outp_atom, &atom->outp, head) { in nv50_crc_atomic_check_outp()
429 nv50_crc_source_type(struct nouveau_encoder *outp, in nv50_crc_source_type() argument
432 struct dcb_output *dcbe = outp->dcb; in nv50_crc_source_type()
[all …]
/linux/arch/x86/crypto/
H A Daesni-intel_asm.S44 #define OUTP %rsi macro
45 #define UKEYP OUTP
57 #define OUTP AREG macro
58 #define UKEYP OUTP
258 movl (FRAME_OFFSET+16)(%esp), OUTP # dst
264 movups STATE, (OUTP) # output
447 movl (FRAME_OFFSET+16)(%esp), OUTP # dst
454 movups STATE, (OUTP) #output
639 movl (FRAME_OFFSET+20)(%esp), OUTP # dst
657 movups STATE1, (OUTP)
[all …]
/linux/tools/power/x86/turbostat/
H A Dturbostat.c347 char *output_buffer, *outp; variable
2257 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header()
2259 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header()
2261 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header()
2263 outp += sprintf(outp, "%sDie", (printed++ ? delim : "")); in print_header()
2265 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header()
2267 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header()
2269 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header()
2271 outp += sprintf(outp, "%sAPIC", (printed++ ? delim : "")); in print_header()
2273 outp += sprintf(outp, "%sX2APIC", (printed++ ? delim : "")); in print_header()
[all …]
/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 …]
/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 …]
/linux/arch/riscv/crypto/
H A Daes-riscv64-zvkned.S55 #define OUTP a2 macro
62 vse32.v v16, (OUTP)
95 vse32.v v16, (OUTP)
97 add OUTP, OUTP, t1
131 vse32.v v16, (OUTP) // Store ciphertext block
133 addi OUTP, OUTP, 16
152 vse32.v v20, (OUTP) // Store plaintext blocks
156 add OUTP, OUTP, t1
197 vse32.v v16, (OUTP) // Store ciphertext block
198 addi OUTP, OUTP, 16
[all …]
/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()
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Doutp.h74 int nvif_outp_inherit_rgb_crt(struct nvif_outp *outp, u8 *proto_out);
75 int nvif_outp_inherit_lvds(struct nvif_outp *outp, u8 *proto_out);
76 int nvif_outp_inherit_tmds(struct nvif_outp *outp, u8 *proto_out);
77 int nvif_outp_inherit_dp(struct nvif_outp *outp, u8 *proto_out);
82 nvif_outp_acquired(struct nvif_outp *outp) in nvif_outp_acquired() argument
84 return outp->or.id >= 0; in nvif_outp_acquired()
/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()
/linux/fs/
H A Dselect.c513 unsigned long *rinp, *routp, *rexp, *inp, *outp, *exp; in do_select() local
516 inp = fds->in; outp = fds->out; exp = fds->ex; in do_select()
524 in = *inp++; out = *outp++; ex = *exp++; in do_select()
621 int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, in core_sys_select() argument
670 (ret = get_fd_set(n, outp, fds.out)) || in core_sys_select()
689 set_fd_set(n, outp, fds.res_out) || in core_sys_select()
700 static int kern_select(int n, fd_set __user *inp, fd_set __user *outp, in kern_select() argument
718 ret = core_sys_select(n, inp, outp, exp, to); in kern_select()
722 SYSCALL_DEFINE5(select, int, n, fd_set __user *, inp, fd_set __user *, outp, in SYSCALL_DEFINE5() argument
725 return kern_select(n, inp, outp, exp, tvp); in SYSCALL_DEFINE5()
[all …]
/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