Home
last modified time | relevance | path

Searched refs:vinfo (Results 1 – 25 of 58) sorted by relevance

123

/external/libnl/lib/idiag/
Didiag_vegasinfo_obj.c22 void idiagnl_vegasinfo_get(struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_get() argument
24 nl_object_get((struct nl_object *) vinfo); in idiagnl_vegasinfo_get()
27 void idiagnl_vegasinfo_put(struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_put() argument
29 nl_object_put((struct nl_object *) vinfo); in idiagnl_vegasinfo_put()
36 uint32_t idiagnl_vegasinfo_get_enabled(const struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_get_enabled() argument
38 return vinfo->tcpv_enabled; in idiagnl_vegasinfo_get_enabled()
41 void idiagnl_vegasinfo_set_enabled(struct idiagnl_vegasinfo *vinfo, uint32_t in idiagnl_vegasinfo_set_enabled() argument
44 vinfo->tcpv_enabled = enabled; in idiagnl_vegasinfo_set_enabled()
47 uint32_t idiagnl_vegasinfo_get_rttcnt(const struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_get_rttcnt() argument
49 return vinfo->tcpv_rttcnt; in idiagnl_vegasinfo_get_rttcnt()
[all …]
Didiag_msg_obj.c398 void idiagnl_msg_set_vegasinfo(struct idiagnl_msg *msg, struct idiagnl_vegasinfo *vinfo) in idiagnl_msg_set_vegasinfo() argument
403 idiagnl_vegasinfo_get(vinfo); in idiagnl_msg_set_vegasinfo()
404 msg->idiag_vegasinfo = vinfo; in idiagnl_msg_set_vegasinfo()
793 struct idiagnl_vegasinfo *vinfo = idiagnl_vegasinfo_alloc(); in idiagnl_msg_parse() local
796 if (!vinfo) in idiagnl_msg_parse()
802 idiagnl_vegasinfo_set_enabled(vinfo, raw_vinfo->tcpv_enabled); in idiagnl_msg_parse()
803 idiagnl_vegasinfo_set_rttcnt(vinfo, raw_vinfo->tcpv_rttcnt); in idiagnl_msg_parse()
804 idiagnl_vegasinfo_set_rtt(vinfo, raw_vinfo->tcpv_rtt); in idiagnl_msg_parse()
805 idiagnl_vegasinfo_set_minrtt(vinfo, raw_vinfo->tcpv_minrtt); in idiagnl_msg_parse()
807 msg->idiag_vegasinfo = vinfo; in idiagnl_msg_parse()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_derived.c60 struct vertex_info vinfo; in calculate_vertex_layout() local
67 memset(&vinfo, 0, sizeof(vinfo)); in calculate_vertex_layout()
109 draw_emit_vertex_attr(&vinfo, EMIT_4F, src); in calculate_vertex_layout()
110 vinfo.hwfmt[0] |= S4_VFMT_XYZW; in calculate_vertex_layout()
111 vinfo.attrib[0].emit = EMIT_4F; in calculate_vertex_layout()
114 draw_emit_vertex_attr(&vinfo, EMIT_3F, src); in calculate_vertex_layout()
115 vinfo.hwfmt[0] |= S4_VFMT_XYZ; in calculate_vertex_layout()
116 vinfo.attrib[0].emit = EMIT_3F; in calculate_vertex_layout()
125 draw_emit_vertex_attr(&vinfo, EMIT_4UB_BGRA, src); in calculate_vertex_layout()
126 vinfo.hwfmt[0] |= S4_VFMT_COLOR; in calculate_vertex_layout()
[all …]
Di915_prim_emit.c72 const struct vertex_info *vinfo = &i915->current.vertex_info; in emit_hw_vertex() local
78 for (i = 0; i < vinfo->num_attribs; i++) { in emit_hw_vertex()
79 const uint j = vinfo->attrib[i].src_index; in emit_hw_vertex()
81 switch (vinfo->attrib[i].emit) { in emit_hw_vertex()
122 assert(count == vinfo->size); in emit_hw_vertex()
/external/iproute2/bridge/
Dvlan.c47 struct bridge_vlan_info vinfo = {}; in vlan_modify() local
64 vinfo.flags |= BRIDGE_VLAN_INFO_RANGE_BEGIN; in vlan_modify()
73 vinfo.flags |= BRIDGE_VLAN_INFO_PVID; in vlan_modify()
75 vinfo.flags |= BRIDGE_VLAN_INFO_UNTAGGED; in vlan_modify()
99 if (vinfo.flags & BRIDGE_VLAN_INFO_RANGE_BEGIN) { in vlan_modify()
105 if (vinfo.flags & BRIDGE_VLAN_INFO_PVID) { in vlan_modify()
117 vinfo.vid = vid; in vlan_modify()
120 addattr_l(&req.n, sizeof(req), IFLA_BRIDGE_VLAN_INFO, &vinfo, in vlan_modify()
121 sizeof(vinfo)); in vlan_modify()
122 vinfo.flags &= ~BRIDGE_VLAN_INFO_RANGE_BEGIN; in vlan_modify()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_derived.c52 struct vertex_info *vinfo = &llvmpipe->vertex_info; in compute_vertex_info() local
78 vinfo->num_attribs = 0; in compute_vertex_info()
83 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info()
96 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; in compute_vertex_info()
100 llvmpipe->face_slot = (int)vinfo->num_attribs; in compute_vertex_info()
101 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info()
110 llvmpipe->viewport_index_slot = (int)vinfo->num_attribs; in compute_vertex_info()
111 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info()
113 llvmpipe->layer_slot = (int)vinfo->num_attribs; in compute_vertex_info()
114 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vertex.c46 draw_compute_vertex_size(struct vertex_info *vinfo) in draw_compute_vertex_size() argument
50 vinfo->size = 0; in draw_compute_vertex_size()
51 for (i = 0; i < vinfo->num_attribs; i++) in draw_compute_vertex_size()
52 vinfo->size += draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_compute_vertex_size()
54 assert(vinfo->size % 4 == 0); in draw_compute_vertex_size()
56 vinfo->size /= 4; in draw_compute_vertex_size()
61 draw_dump_emitted_vertex(const struct vertex_info *vinfo, const uint8_t *data) in draw_dump_emitted_vertex() argument
65 for (i = 0; i < vinfo->num_attribs; i++) { in draw_dump_emitted_vertex()
66 switch (vinfo->attrib[i].emit) { in draw_dump_emitted_vertex()
Ddraw_pt_emit.c46 const struct vertex_info *vinfo; member
59 const struct vertex_info *vinfo; in draw_pt_emit_prepare() local
77 emit->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in draw_pt_emit_prepare()
82 for (i = 0; i < vinfo->num_attribs; i++) { in draw_pt_emit_prepare()
86 unsigned src_offset = vinfo->attrib[i].src_index * 4 * sizeof(float); in draw_pt_emit_prepare()
88 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in draw_pt_emit_prepare()
89 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_pt_emit_prepare()
94 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in draw_pt_emit_prepare()
98 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) { in draw_pt_emit_prepare()
115 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare()
[all …]
Ddraw_pt_fetch_emit.c80 const struct vertex_info *vinfo; member
97 const struct vertex_info *vinfo; in fetch_emit_prepare() local
108 vinfo = feme->vinfo = draw->render->get_vertex_info(draw->render); in fetch_emit_prepare()
116 for (i = 0; i < vinfo->num_attribs; i++) { in fetch_emit_prepare()
117 const struct pipe_vertex_element *src = &draw->pt.vertex_element[vinfo->attrib[i].src_index]; in fetch_emit_prepare()
125 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in fetch_emit_prepare()
126 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in fetch_emit_prepare()
128 if (vinfo->attrib[i].emit == EMIT_OMIT) in fetch_emit_prepare()
131 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in fetch_emit_prepare()
148 key.nr_elements = vinfo->num_attribs; in fetch_emit_prepare()
[all …]
Ddraw_vertex.h113 draw_emit_vertex_attr(struct vertex_info *vinfo, in draw_emit_vertex_attr() argument
117 const uint n = vinfo->num_attribs; in draw_emit_vertex_attr()
125 assert(n < ARRAY_SIZE(vinfo->attrib)); in draw_emit_vertex_attr()
126 vinfo->attrib[n].emit = emit; in draw_emit_vertex_attr()
127 vinfo->attrib[n].src_index = src_index; in draw_emit_vertex_attr()
128 vinfo->num_attribs++; in draw_emit_vertex_attr()
133 extern void draw_compute_vertex_size(struct vertex_info *vinfo);
135 void draw_dump_emitted_vertex(const struct vertex_info *vinfo,
Ddraw_pt_fetch_shade_emit.c63 const struct vertex_info *vinfo; member
77 const struct vertex_info *vinfo; in fse_prepare() local
89 fse->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in fse_prepare()
91 fse->key.output_stride = vinfo->size * 4; in fse_prepare()
92 fse->key.nr_outputs = vinfo->num_attribs; in fse_prepare()
127 for (i = 0; i < vinfo->num_attribs; i++) { in fse_prepare()
128 unsigned emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in fse_prepare()
137 fse->key.element[i].out.format = vinfo->attrib[i].emit; in fse_prepare()
138 fse->key.element[i].out.vs_output = vinfo->attrib[i].src_index; in fse_prepare()
169 (vinfo->size * 4)); in fse_prepare()
[all …]
Ddraw_pipe_vbuf.c56 const struct vertex_info *vinfo; member
131 if (0) draw_dump_emitted_vertex(vbuf->vinfo, (uint8_t *)vbuf->vertex_ptr); in emit_vertex()
191 const struct vertex_info *vinfo; in vbuf_start_prim() local
201 vbuf->vinfo = vbuf->render->get_vertex_info(vbuf->render); in vbuf_start_prim()
202 vinfo = vbuf->vinfo; in vbuf_start_prim()
203 vbuf->vertex_size = vinfo->size * sizeof(float); in vbuf_start_prim()
209 for (i = 0; i < vinfo->num_attribs; i++) { in vbuf_start_prim()
213 unsigned src_offset = (vinfo->attrib[i].src_index * 4 * sizeof(float)); in vbuf_start_prim()
215 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in vbuf_start_prim()
216 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in vbuf_start_prim()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c69 struct vertex_info *vinfo = &softpipe->vertex_info; in softpipe_compute_vertex_info() local
92 vinfo->num_attribs = 0; in softpipe_compute_vertex_info()
100 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info()
171 softpipe->viewport_index_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
172 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info()
174 softpipe->layer_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
175 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info()
189 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info()
199 softpipe->psize_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
200 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info()
[all …]
/external/bcc/src/lua/bpf/
Dbpf.lua117 local vinfo = V[var]
118 assert(vinfo.reg, 'attempt to spill VAR that doesn\'t have an allocated register')
119 vinfo.spill = (var + 1) * ffi.sizeof('uint64_t') -- Index by (variable number) * (register width)
120 emit(BPF.MEM + BPF.STX + BPF.DW, 10, vinfo.reg, -vinfo.spill, 0)
121 vinfo.reg = nil
125 local vinfo = V[var]
127 assert(vinfo.spill, 'attempt to fill register with a VAR that isn\'t spilled')
128 emit(BPF.MEM + BPF.LDX + BPF.DW, reg, 10, -vinfo.spill, 0)
129 vinfo.reg = reg
130 vinfo.spill = nil
[all …]
Dbuiltins.lua102 local vinfo = e.V[a].const
103 assert(vinfo and vinfo.__dissector, 'xadd(a, b[, offset]) called on non-pointer')
104 local w = ffi.sizeof(vinfo.__dissector)
107 local ct, field = vinfo.__dissector, e.V[off].const
/external/cblas/src/
Dxerbla.c10 void F77_xerbla(F77_CHAR F77_srname, void *vinfo) in F77_xerbla() argument
12 void F77_xerbla(char *srname, void *vinfo) in F77_xerbla()
23 F77_INT *info=vinfo; in F77_xerbla()
26 int *info=vinfo; in F77_xerbla()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_state.c222 struct vertex_info *vinfo = &svga_render->vertex_info; in svga_swtnl_update_vdecl() local
233 memset(vinfo, 0, sizeof(*vinfo)); in svga_swtnl_update_vdecl()
240 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl()
241 vinfo->attrib[0].emit = EMIT_4F; in svga_swtnl_update_vdecl()
261 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl()
268 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl()
277 draw_emit_vertex_attr(vinfo, EMIT_1F, src); in svga_swtnl_update_vdecl()
293 draw_compute_vertex_size(vinfo); in svga_swtnl_update_vdecl()
/external/cblas/testing/
Dc_xerbla.c88 void F77_xerbla(F77_Char F77_srname, void *vinfo) in F77_xerbla() argument
90 void F77_xerbla(char *srname, void *vinfo) in F77_xerbla()
100 F77_Integer *info=vinfo; in F77_xerbla()
104 int *info=vinfo; in F77_xerbla()
/external/libnl/lib/route/link/
Dbridge.c180 struct bridge_vlan_info *vinfo = NULL; in bridge_parse_af_full() local
198 vinfo = nla_data(attr); in bridge_parse_af_full()
199 if (!vinfo->vid || vinfo->vid >= VLAN_VID_MASK) in bridge_parse_af_full()
203 if (vinfo->flags & BRIDGE_VLAN_INFO_RANGE_BEGIN) { in bridge_parse_af_full()
204 vid_range_start = vinfo->vid; in bridge_parse_af_full()
205 vid_range_flags = (vinfo->flags ^ BRIDGE_VLAN_INFO_RANGE_BEGIN); in bridge_parse_af_full()
209 if (vinfo->flags & BRIDGE_VLAN_INFO_RANGE_END) { in bridge_parse_af_full()
211 if (vid_range_flags != (vinfo->flags ^ BRIDGE_VLAN_INFO_RANGE_END)) { in bridge_parse_af_full()
216 vid_range_start = vinfo->vid; in bridge_parse_af_full()
219 for (; vid_range_start <= vinfo->vid; vid_range_start++) { in bridge_parse_af_full()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c63 struct vertex_info vinfo; in set_feedback_vertex_format()
66 memset(&vinfo, 0, sizeof(vinfo)); in set_feedback_vertex_format()
70 vinfo.num_attribs = 1; in set_feedback_vertex_format()
71 vinfo.format[0] = FORMAT_4F; in set_feedback_vertex_format()
72 vinfo.interp_mode[0] = INTERP_LINEAR; in set_feedback_vertex_format()
77 vinfo.num_attribs = st->state.vs->cso->state.num_outputs; in set_feedback_vertex_format()
78 for (i = 0; i < vinfo.num_attribs; i++) { in set_feedback_vertex_format()
79 vinfo.format[i] = FORMAT_4F; in set_feedback_vertex_format()
80 vinfo.interp_mode[i] = INTERP_LINEAR; in set_feedback_vertex_format()
84 draw_set_vertex_info(st->draw, &vinfo); in set_feedback_vertex_format()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_draw.c228 struct vertex_info *vinfo = &r->vertex_info; in vroute_add() local
249 draw_emit_vertex_attr(vinfo, emit, attrib); in vroute_add()
253 r->vtxptr[attrib] = vinfo->size; in vroute_add()
254 vinfo->size += draw_translate_vinfo_size(emit); in vroute_add()
286 struct vertex_info *vinfo = &r->vertex_info; in nv30_render_validate() local
306 vinfo->num_attribs = 0; in nv30_render_validate()
307 vinfo->size = 0; in nv30_render_validate()
340 r->vtxfmt[i] |= vinfo->size << 8; in nv30_render_validate()
374 vinfo->size /= 4; in nv30_render_validate()
/external/mesa3d/src/mesa/drivers/x11/
Dfakeglx.c129 is_usable_visual( XVisualInfo *vinfo ) in is_usable_visual() argument
131 switch (vinfo->CLASS) { in is_usable_visual()
208 level_of_visual( Display *dpy, XVisualInfo *vinfo ) in level_of_visual() argument
213 overlay_info = GetOverlayInfo(dpy, vinfo->screen, &numOverlaysPerScreen); in level_of_visual()
221 if (ov->overlay_visual == vinfo->visualid) { in level_of_visual()
248 save_glx_visual( Display *dpy, XVisualInfo *vinfo, in save_glx_visual() argument
303 if (v->visinfo->visualid == vinfo->visualid) { in save_glx_visual()
311 xmvis = XMesaCreateVisual( dpy, vinfo, GL_TRUE, alphaFlag, dbFlag, in save_glx_visual()
421 find_glx_visual( Display *dpy, XVisualInfo *vinfo ) in find_glx_visual() argument
428 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual()
[all …]
/external/lz4/tests/
Dtest-lz4-list.py142 for i, vinfo in enumerate(self.vinfo_list):
143 …self.assertRegex(vinfo.filename, f"^test_list_.*({i + 1}/{len(self.vinfo_list)})".format(i + 1, le…
146 for vinfo in self.vinfo_list:
147 for i, frame_info in enumerate(vinfo.frame_list):
/external/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_api.c149 is_usable_visual( XVisualInfo *vinfo ) in is_usable_visual() argument
151 switch (vinfo->CLASS) { in is_usable_visual()
159 if (vinfo->depth>=4) { in is_usable_visual()
181 save_glx_visual( Display *dpy, XVisualInfo *vinfo, in save_glx_visual() argument
250 if ((!comparePointers && v->visinfo->visualid == vinfo->visualid) in save_glx_visual()
251 || (comparePointers && v->vishandle == vinfo)) { in save_glx_visual()
259 xmvis = XMesaCreateVisual( dpy, vinfo, rgbFlag, alphaFlag, dbFlag, in save_glx_visual()
269 xmvis->vishandle = vinfo; in save_glx_visual()
369 find_glx_visual( Display *dpy, XVisualInfo *vinfo ) in find_glx_visual() argument
376 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c1031 struct nl80211_vendor_cmd_info *vinfo; in wiphy_info_handler() local
1032 if (nla_len(nl) != sizeof(*vinfo)) { in wiphy_info_handler()
1036 vinfo = nla_data(nl); in wiphy_info_handler()
1037 if (vinfo->vendor_id == OUI_QCA) { in wiphy_info_handler()
1038 switch (vinfo->subcmd) { in wiphy_info_handler()
1090 } else if (vinfo->vendor_id == OUI_BRCM) { in wiphy_info_handler()
1091 switch (vinfo->subcmd) { in wiphy_info_handler()
1110 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
1119 struct nl80211_vendor_cmd_info *vinfo; in wiphy_info_handler() local
1120 if (nla_len(nl) != sizeof(*vinfo)) { in wiphy_info_handler()
[all …]

123