Searched refs:packet (Results 1 - 25 of 72) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_scene_queue.c92 struct scene_packet packet; local in function:lp_scene_dequeue
95 packet.scene = NULL;
98 &packet.header,
99 sizeof packet / 4,
104 return packet.scene;
112 struct scene_packet packet; local in function:lp_scene_enqueue
114 packet.header.dwords = sizeof packet / 4;
115 packet.header.data24 = 0;
116 packet
[all...]
/xsrc/external/mit/xfs/dist/include/
H A Dmisc.h122 #define fsPack_XCharInfo(structure, packet) \
123 fsCat(packet,left) = (structure)->leftSideBearing; \
124 fsCat(packet,right) = (structure)->rightSideBearing; \
125 fsCat(packet,width) = (structure)->characterWidth; \
126 fsCat(packet,ascent) = (structure)->ascent; \
127 fsCat(packet,descent) = (structure)->descent; \
128 fsCat(packet,attributes) = (structure)->attributes
133 #define fsPack_XFontInfoHeader(structure, packet, clientversion) \
134 (packet)->font_header_flags = ((structure)->allExist) ? FontInfoAllCharsExist : 0; \
135 (packet)
[all...]
/xsrc/external/mit/libXfont/dist/src/fc/
H A Dfservestr.h146 #define fsUnpack_XCharInfo(packet, structure) \
147 (structure)->leftSideBearing = fsCat(packet,left); \
148 (structure)->rightSideBearing = fsCat(packet,right); \
149 (structure)->characterWidth = fsCat(packet,width); \
150 (structure)->ascent = fsCat(packet,ascent); \
151 (structure)->descent = fsCat(packet,descent); \
152 (structure)->attributes = fsCat(packet,attributes)
157 #define fsUnpack_XFontInfoHeader(packet, structure) \
158 (structure)->allExist = ((packet)->font_header_flags & FontInfoAllCharsExist) != 0; \
160 ((packet)
[all...]
/xsrc/external/mit/libXfont2/dist/src/fc/
H A Dfservestr.h146 #define fsUnpack_XCharInfo(packet, structure) \
147 (structure)->leftSideBearing = fsCat(packet,left); \
148 (structure)->rightSideBearing = fsCat(packet,right); \
149 (structure)->characterWidth = fsCat(packet,width); \
150 (structure)->ascent = fsCat(packet,ascent); \
151 (structure)->descent = fsCat(packet,descent); \
152 (structure)->attributes = fsCat(packet,attributes)
157 #define fsUnpack_XFontInfoHeader(packet, structure) \
158 (structure)->allExist = ((packet)->font_header_flags & FontInfoAllCharsExist) != 0; \
160 ((packet)
[all...]
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dv_cl.h152 #define cl_packet_header(packet) V3DX(packet ## _header)
153 #define cl_packet_length(packet) V3DX(packet ## _length)
154 #define cl_aligned_packet_length(packet, alignment) ALIGN(cl_packet_length(packet), alignment)
155 #define cl_packet_pack(packet) V3DX(packet ## _pack)
156 #define cl_packet_struct(packet) V3DX(packet)
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_ringbuffer.h22 const struct util_packet *packet );
25 struct util_packet *packet,
H A Du_ringbuffer.c73 const struct util_packet *packet )
83 assert(packet->dwords <= ring->mask);
87 while (util_ringbuffer_space(ring) < packet->dwords)
92 for (i = 0; i < packet->dwords; i++) {
94 /* Copy all dwords of the packet. Note we're abusing the
96 * something, but probably not an array of packet structs:
98 ring->buf[ring->head] = packet[i];
110 struct util_packet *packet,
149 packet[i] = ring->buf[ring->tail];
72 util_ringbuffer_enqueue(struct util_ringbuffer * ring,const struct util_packet * packet) argument
109 util_ringbuffer_dequeue(struct util_ringbuffer * ring,struct util_packet * packet,unsigned max_dwords,boolean wait) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/v3d/
H A Dv3d_cl.h188 #define cl_packet_header(packet) V3DX(packet ## _header)
189 #define cl_packet_length(packet) V3DX(packet ## _length)
190 #define cl_packet_pack(packet) V3DX(packet ## _pack)
191 #define cl_packet_struct(packet) V3DX(packet)
215 #define cl_emit(cl, packet, name) \
216 for (struct cl_packet_struct(packet) nam
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/v3d/
H A Dv3d_cl.h198 #define cl_packet_header(packet) V3DX(packet ## _header)
199 #define cl_packet_length(packet) V3DX(packet ## _length)
200 #define cl_packet_pack(packet) V3DX(packet ## _pack)
201 #define cl_packet_struct(packet) V3DX(packet)
225 #define cl_emit(cl, packet, name) \
226 for (struct cl_packet_struct(packet) nam
[all...]
/xsrc/external/mit/xf86-input-synaptics/dist/src/
H A Dalpscomm.c114 if (comm->protoBufTail == 3) { /* PS/2 packet received? */
121 if (comm->protoBufTail >= 6) { /* Full packet received */
125 while ((c = XisbRead(comm->buffer)) >= 0); /* If packet is invalid, re-sync */
150 ALPS_process_packet(unsigned char *packet, struct SynapticsHwState *hw) argument
158 x = (packet[1] & 0x7f) | ((packet[2] & 0x78) << (7 - 3));
159 y = (packet[4] & 0x7f) | ((packet[3] & 0x70) << (7 - 4));
160 z = packet[5];
163 hw->left = packet[
[all...]
/xsrc/external/mit/libFS/dist/src/
H A DFSlibint.h117 * GetReq - Get the next available FS request packet in the buffer and
250 #define FSUnpack_XCharInfo(packet, structure) \
251 (structure)->left = FSCat(packet,left); \
252 (structure)->right = FSCat(packet,right); \
253 (structure)->width = FSCat(packet,width); \
254 (structure)->ascent = FSCat(packet,ascent); \
255 (structure)->descent = FSCat(packet,descent); \
256 (structure)->attributes = FSCat(packet,attributes)
261 #define FSUnpack_XFontInfoHeader(packet, structure, serverversion) \
262 (structure)->flags = (packet)
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_cl.h221 #define cl_packet_header(packet) V3D21_ ## packet ## _header
222 #define cl_packet_length(packet) V3D21_ ## packet ## _length
223 #define cl_packet_pack(packet) V3D21_ ## packet ## _pack
224 #define cl_packet_struct(packet) V3D21_ ## packet
248 * uint8_t[cl_packet_length()] in the CL, not a cl_packet_struct(packet).
250 #define cl_emit(cl, packet, nam
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_cl.h221 #define cl_packet_header(packet) V3D21_ ## packet ## _header
222 #define cl_packet_length(packet) V3D21_ ## packet ## _length
223 #define cl_packet_pack(packet) V3D21_ ## packet ## _pack
224 #define cl_packet_struct(packet) V3D21_ ## packet
248 * uint8_t[cl_packet_length()] in the CL, not a cl_packet_struct(packet).
250 #define cl_emit(cl, packet, nam
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_perfetto.cc87 auto packet = ctx.NewTracePacket(); local in function:TuRenderpassDataSource::OnStop::__anon520b2bca0102
88 packet->Finalize();
102 auto packet = ctx.NewTracePacket(); local in function:send_descriptors
104 packet->set_timestamp(0);
106 auto event = packet->set_gpu_render_stage_event();
157 auto packet = tctx.NewTracePacket(); local in function:stage_end::__anon520b2bca0202
159 packet->set_timestamp(p->start_ts[stage]);
160 packet->set_timestamp_clock_id(gpu_clock_id);
162 auto event = packet->set_gpu_render_stage_event();
208 auto packet local in function:sync_timestamp::__anon520b2bca0302
237 auto packet = tctx.NewTracePacket(); local in function:emit_submit_id::__anon520b2bca0402
[all...]
/xsrc/external/mit/libdrm/dist/tests/amdgpu/
H A Dsecurity_tests.c152 static void amdgpu_sdma_lcopy(uint32_t *packet, argument
158 /* Set the packet to Linear copy with TMZ set.
160 packet[0] = htole32(secure << 18 | 1);
161 packet[1] = htole32(size-1);
162 packet[2] = htole32(0);
163 packet[3] = htole32((uint32_t)(src & 0xFFFFFFFFU));
164 packet[4] = htole32((uint32_t)(src >> 32));
165 packet[5] = htole32((uint32_t)(dst & 0xFFFFFFFFU));
166 packet[6] = htole32((uint32_t)(dst >> 32));
169 static void amdgpu_sdma_nop(uint32_t *packet, uint32_ argument
197 uint32_t packet[PACKET_LCOPY_SIZE]; local in function:amdgpu_bo_lcopy
234 uint32_t packet[PACKET_NOP_SIZE]; local in function:amdgpu_bo_move
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_perfetto.cc83 auto packet = ctx.NewTracePacket(); local in function:FdRenderpassDataSource::OnStop::__anon04bd15c30102
84 packet->Finalize();
98 auto packet = ctx.NewTracePacket(); local in function:send_descriptors
100 packet->set_timestamp(0);
101 // packet->set_timestamp(ts_ns);
102 // packet->set_timestamp_clock_id(gpu_clock_id);
104 auto event = packet->set_gpu_render_stage_event();
153 auto packet = tctx.NewTracePacket(); local in function:stage_end::__anon04bd15c30202
155 packet->set_timestamp(p->start_ts[stage]);
156 packet
271 auto packet = tctx.NewTracePacket(); local in function:sync_timestamp::__anon04bd15c30302
300 auto packet = tctx.NewTracePacket(); local in function:emit_submit_id::__anon04bd15c30402
[all...]
/xsrc/external/mit/xf86-input-elographics/dist/src/
H A Dxf86Elo.c108 #define ELO_SYNC_BYTE 'U' /* Sync byte. First of a packet. */
116 #define ELO_ACK 'A' /* Acknowledge packet */
208 * Read a packet from the port. Try to synchronize with start of
209 * packet and compute checksum.
210 * The packet structure read by this function is as follow:
214 * Byte 8 : packet data
217 * This function returns if a valid packet has been assembled in
220 * Returns Success if a packet is successfully assembled including
221 * testing checksum. If a packet checksum is incorrect, it is discarded.
224 * partially assembled packet i
463 xf86EloSendPacket(unsigned char * packet,int fd) argument
562 unsigned char packet[ELO_PACKET_SIZE]; local in function:xf86EloWaitAck
648 xf86EloPrintIdent(unsigned char * packet,EloPrivatePtr priv) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
H A Dr200_ioctl.h144 #define OUT_BATCH_PACKET3(packet, num_extra) do { \
146 OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
149 #define OUT_BATCH_PACKET3_CLIP(packet, num_extra) do { \
151 OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_ioctl.h159 #define OUT_BATCH_PACKET3(packet, num_extra) do { \
161 OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
164 #define OUT_BATCH_PACKET3_CLIP(packet, num_extra) do { \
166 OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_ioctl.h144 #define OUT_BATCH_PACKET3(packet, num_extra) do { \
146 OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
149 #define OUT_BATCH_PACKET3_CLIP(packet, num_extra) do { \
151 OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_ioctl.h159 #define OUT_BATCH_PACKET3(packet, num_extra) do { \
161 OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
164 #define OUT_BATCH_PACKET3_CLIP(packet, num_extra) do { \
166 OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
/xsrc/external/mit/MesaLib/dist/src/tool/pps/
H A Dpps_datasource.cc111 auto packet = ctx.NewTracePacket(); local in function:pps::close_callback
112 packet->Finalize();
242 auto packet = ctx.NewTracePacket(); local in function:pps::GpuDataSource::trace
243 packet->set_timestamp(perfetto::base::GetBootTimeNs().count());
244 packet->set_sequence_flags(TracePacket::SEQ_INCREMENTAL_STATE_CLEARED);
247 auto packet = ctx.NewTracePacket(); local in function:pps::GpuDataSource::trace
249 packet->set_timestamp(descriptor_timestamp);
251 auto event = packet->set_gpu_counter_event();
282 auto packet = ctx.NewTracePacket(); local in function:pps::GpuDataSource::trace
283 packet
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_cp_reg_shadowing.c35 unsigned packet, num_ranges, offset; local in function:si_build_load_reg
45 packet = PKT3_LOAD_UCONFIG_REG;
50 packet = PKT3_LOAD_CONTEXT_REG;
55 packet = PKT3_LOAD_SH_REG;
59 si_pm4_cmd_add(pm4, PKT3(packet, 1 + num_ranges * 2, 0));
/xsrc/external/mit/libdrm/dist/nouveau/
H A Dbufctx.c132 pref->base.packet = 0;
144 nouveau_bufctx_mthd(struct nouveau_bufctx *bctx, int bin, uint32_t packet, argument
152 bref->packet = packet;
/xsrc/external/mit/xf86-input-mouse/dist/src/
H A Dpnp.c633 unsigned char packet[] = { 0xF5 }; local in function:ps2DisableDataReporting
634 return ps2SendPacket(pInfo, packet, sizeof(packet));
640 unsigned char packet[] = { 0xF4 }; local in function:ps2EnableDataReporting
641 return ps2SendPacket(pInfo, packet, sizeof(packet));
648 unsigned char packet[] = { 0xf2 }; local in function:ps2GetDeviceID
652 if (!ps2SendPacket(pInfo, packet, sizeof(packet)))
670 unsigned char packet[] local in function:ps2Reset
[all...]

Completed in 18 milliseconds

123