Home
last modified time | relevance | path

Searched refs:outp (Results 1 – 25 of 56) sorted by relevance

123

/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Doutp.c37 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()
55 ior->arm.outp = ior->asy.outp; 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.c33 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()
75 nvkm_uoutp_mthd_dp_sst(struct nvkm_outp *outp, void *argv, u32 argc) in nvkm_uoutp_mthd_dp_sst() argument
[all …]
H A Dbase.c105 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
197 outp = list_first_entry(&disp->outps, typeof(*outp), head); in nvkm_disp_dtor()
[all …]
H A Dnv50.c1014 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()
1071 OUTP_DBG(outp, "missing IEDT RSS %d for %02x:%02x %d khz", in nv50_disp_super_ied_on()
[all …]
H A Dgm200.c99 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.c100 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()
H A Dudisp.c85 struct nvkm_outp *outp; in nvkm_udisp_new() local
106 list_for_each_entry(outp, &disp->outps, head) in nvkm_udisp_new()
107 args->v0.outp_mask |= BIT(outp->index); in nvkm_udisp_new()
/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 …]
H A Ddisp.c130 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()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c324 struct nouveau_encoder *outp) in nv50_outp_dump_caps() argument
327 outp->base.base.name, outp->caps.dp_interlace); in nv50_outp_dump_caps()
431 nv50_outp_get_new_connector(struct drm_atomic_state *state, struct nouveau_encoder *outp) in nv50_outp_get_new_connector() argument
435 struct drm_encoder *encoder = to_drm_encoder(outp); in nv50_outp_get_new_connector()
447 nv50_outp_get_old_connector(struct drm_atomic_state *state, struct nouveau_encoder *outp) in nv50_outp_get_old_connector() argument
451 struct drm_encoder *encoder = to_drm_encoder(outp); in nv50_outp_get_old_connector()
463 nv50_outp_get_new_crtc(const struct drm_atomic_state *state, const struct nouveau_encoder *outp) in nv50_outp_get_new_crtc() argument
467 const u32 mask = drm_encoder_mask(&outp->base.base); in nv50_outp_get_new_crtc()
488 core->func->dac->ctrl(core, nv_encoder->outp.or.id, ctrl, NULL); in nv50_dac_atomic_disable()
514 if (!nvif_outp_acquired(&nv_encoder->outp)) in nv50_dac_atomic_enable()
[all …]
H A Dsorc37d.c43 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()
H A Dsor907d.c46 sor907d_get_caps(struct nv50_disp *disp, struct nouveau_encoder *outp, int or) in sor907d_get_caps() argument
50 outp->caps.dp_interlace = in sor907d_get_caps()
H A Dsor507d.c50 sor507d_get_caps(struct nv50_disp *core, struct nouveau_encoder *outp, int or) in sor507d_get_caps() argument
52 outp->caps.dp_interlace = true; in sor507d_get_caps()
H A Dpior507d.c50 pior507d_get_caps(struct nv50_disp *disp, struct nouveau_encoder *outp, in pior507d_get_caps() argument
53 outp->caps.dp_interlace = true; in pior507d_get_caps()
/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/tools/power/x86/turbostat/
H A Dturbostat.c518 char *output_buffer, *outp; variable
2735 return (sprintf(outp, "%s%-8s", (*printed++ ? delim : ""), name)); in print_name()
2737 return (sprintf(outp, "%s%s", (*printed++ ? delim : ""), name)); in print_name()
2743 return (sprintf(outp, "%s%08x", (*printed++ ? delim : ""), (unsigned int)value)); in print_hex_value()
2745 return (sprintf(outp, "%s%016llx", (*printed++ ? delim : ""), value)); in print_hex_value()
2751 return (sprintf(outp, "%s%d", (*printed++ ? delim : ""), (unsigned int)value)); in print_decimal_value()
2753 return (sprintf(outp, "%s%-8lld", (*printed++ ? delim : ""), value)); in print_decimal_value()
2758 return (sprintf(outp, "%s%0.2f", (*printed++ ? delim : ""), value)); in print_float_value()
2769 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header()
2771 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (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/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/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 …]
/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/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/include/nvkm/subdev/bios/
H A Ddisp.h34 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,
/linux/drivers/scsi/lpfc/
H A Dlpfc_ct.c587 struct lpfc_dmabuf *inp, struct lpfc_dmabuf *outp, in lpfc_gen_req() argument
611 geniocb->rsp_dmabuf = outp; in lpfc_gen_req()
913 struct lpfc_dmabuf *outp; in lpfc_cmpl_ct_cmd_gid_ft() local
928 outp = cmdiocb->rsp_dmabuf; in lpfc_cmpl_ct_cmd_gid_ft()
1020 CTrsp = (struct lpfc_sli_ct_request *) outp->virt; in lpfc_cmpl_ct_cmd_gid_ft()
1033 outp, in lpfc_cmpl_ct_cmd_gid_ft()
1128 struct lpfc_dmabuf *outp; in lpfc_cmpl_ct_cmd_gid_pt() local
1143 outp = cmdiocb->rsp_dmabuf; in lpfc_cmpl_ct_cmd_gid_pt()
1232 CTrsp = (struct lpfc_sli_ct_request *)outp->virt; in lpfc_cmpl_ct_cmd_gid_pt()
1245 outp, in lpfc_cmpl_ct_cmd_gid_pt()
[all …]

123