HomeSort by: relevance | last modified time | path
    Searched refs:packet (Results 1 - 25 of 97) sorted by relevancy

1 2 3 4

  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_packet_manager_vi.c 49 struct pm4_mes_map_process *packet; local in function:pm_map_process_vi
51 packet = (struct pm4_mes_map_process *)buffer;
55 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS,
57 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0;
58 packet->bitfields2.process_quantum = 1;
59 packet->bitfields2.pasid = qpd->pqm->process->pasid;
60 packet->bitfields3.page_table_base = qpd->page_table_base;
61 packet->bitfields10.gds_size = qpd->gds_size;
62 packet->bitfields10.num_gws = qpd->num_gws;
63 packet->bitfields10.num_oac = qpd->num_oac
82 struct pm4_mes_runlist *packet; local in function:pm_runlist_vi
121 struct pm4_mes_set_resources *packet; local in function:pm_set_resources_vi
149 struct pm4_mes_map_queues *packet; local in function:pm_map_queues_vi
210 struct pm4_mes_unmap_queues *packet; local in function:pm_unmap_queues_vi
273 struct pm4_mes_query_status *packet; local in function:pm_query_status_vi
297 struct pm4_mec_release_mem *packet; local in function:pm_release_mem_vi
    [all...]
kfd_packet_manager_v9.c 38 struct pm4_mes_map_process *packet; local in function:pm_map_process_v9
41 packet = (struct pm4_mes_map_process *)buffer;
44 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS,
46 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0;
47 packet->bitfields2.process_quantum = 1;
48 packet->bitfields2.pasid = qpd->pqm->process->pasid;
49 packet->bitfields14.gds_size = qpd->gds_size & 0x3F;
50 packet->bitfields14.gds_size_hi = (qpd->gds_size >> 6) & 0xF;
51 packet->bitfields14.num_gws = qpd->num_gws;
52 packet->bitfields14.num_oac = qpd->num_oac
84 struct pm4_mes_runlist *packet; local in function:pm_runlist_v9
122 struct pm4_mes_set_resources *packet; local in function:pm_set_resources_v9
150 struct pm4_mes_map_queues *packet; local in function:pm_map_queues_v9
220 struct pm4_mes_unmap_queues *packet; local in function:pm_unmap_queues_v9
293 struct pm4_mes_query_status *packet; local in function:pm_query_status_v9
    [all...]
  /src/share/doc/psd/20.ipctut/
dgramread.c 78 perror("receiving datagram packet");
udgramread.c 74 perror("receiving datagram packet");
  /src/usr.bin/rump_dhcpclient/
net.c 48 # include <netpacket/packet.h>
400 make_udp_packet(uint8_t **packet, const uint8_t *data, size_t length,
412 * We copy the data to our packet and then create a small part of the
415 * of the whole packet into the udp checksum.
442 *packet = (uint8_t *)udpp;
449 struct udp_dhcp_packet packet; local in function:get_udp_data
451 memcpy(&packet, udp, sizeof(packet));
453 return ntohs(packet.ip.ip_len) -
454 sizeof(packet.ip)
461 struct udp_dhcp_packet packet; local in function:valid_udp_packet
    [all...]
bpf.c 159 * So we pass the buffer in the API so we can loop on >1 packet. */
165 struct bpf_hdr packet; local in function:get_raw_packet
179 else if ((size_t)bytes < sizeof(packet))
185 memcpy(&packet, iface->buffer + iface->buffer_pos,
186 sizeof(packet));
187 if (packet.bh_caplen != packet.bh_datalen)
188 goto next; /* Incomplete packet, drop. */
189 if (iface->buffer_pos + packet.bh_caplen + packet.bh_hdrlen
    [all...]
  /src/usr.sbin/btpand/
Makefile 6 SRCS= btpand.c bnep.c channel.c client.c packet.c server.c tap.c
btpand.h 45 typedef struct packet packet_t;
110 /* packet data buffer */
111 struct packet { struct
130 /* packet header */
185 /* packet.c */
  /src/sys/dev/pckbport/
elantech.c 234 psc->packet[psc->inputstate++] = data & 0xff;
240 ep.ep_nfingers = (psc->packet[0] & 0xc0) >> 6;
242 ep.ep_buttons = psc->packet[0] & 1; /* left button */
243 ep.ep_buttons |= (psc->packet[0] & 2) << 1; /* right button */
252 ep.ep_x = ((int16_t)(psc->packet[1] & 0xf) << 8) | psc->packet[2];
253 ep.ep_y = ((int16_t)(psc->packet[4] & 0xf) << 8) | psc->packet[5];
261 psc->packet[0], psc->packet[1], psc->packet[2]
    [all...]
alps.c 828 x = (int8_t)((psc->packet[2] & 0xbf) |
829 ((psc->packet[3] & 0x10) << 2));
830 y = (int8_t)((psc->packet[3] & 0x07) | (psc->packet[4] & 0xb8) |
831 ((psc->packet[3] & 0x20) << 1));
832 z = (int8_t)((psc->packet[5] & 0x3f) |
833 ((psc->packet[3] & 0x80) >> 1));
839 left = psc->packet[1] & 0x01;
840 middle = (psc->packet[1] & 0x04) >> 2;
841 right = (psc->packet[1] & 0x02) >> 1
    [all...]
synaptics.c 86 u_char sp_primary; /* seen primary finger packet */
87 u_char sp_secondary; /* seen secondary finger packet */
88 u_char sp_finger_status; /* seen extended finger packet */
191 * This holds the processed packet data, it is global because multiple
195 static struct synaptics_packet packet; variable in typeref:struct:synaptics_packet
661 * the packet rate to maximum (80 packets per second). Enable
710 /* clear the packet decode structure */
711 memset(&packet, 0, sizeof(packet));
1192 * Extract the number of fingers from the current packet and retur
    [all...]
pms.c 506 /* Masks for the first byte of a packet */
564 if (sc->inputstate >= sizeof(sc->packet))
567 sc->packet[sc->inputstate++] = data & 0xff;
585 if (!(sc->packet[0] & 0x8)) {
587 "[0x%02x], resetting\n", sc->packet[0]));
597 if (sc->packet[0] == PMS_RSTDONE && sc->packet[1] == 0) {
609 dz = sc->packet[3];
615 dz = sc->packet[3] & 0xf;
618 if (sc->packet[3] & PMS_4BUTMASK
    [all...]
pmsvar.h 58 int inputstate; /* number of bytes received for this packet */
61 unsigned char packet[6]; member in struct:pms_softc
  /src/sys/arch/sgimips/dev/
zs_ms.c 72 /* 5-byte packet as described above */
78 int8_t packet[5]; member in struct:zsms_softc
228 * Here's the real action. Read a full packet and
237 sc->packet[ZSMS_PACKET_SYNC] = c;
243 sc->packet[ZSMS_PACKET_X1] = c;
248 sc->packet[ZSMS_PACKET_Y1] = c;
253 sc->packet[ZSMS_PACKET_X2] = c;
258 sc->packet[ZSMS_PACKET_Y2] = c;
281 btns = (uint8_t)sc->packet[ZSMS_PACKET_SYNC] & ZSMS_SYNC_BTN_MASK;
290 x = (int)sc->packet[ZSMS_PACKET_X1] + (int)sc->packet[ZSMS_PACKET_X2]
    [all...]
  /src/lib/libresolv/
res_update.c 61 * Create a dynamic update packet for each zone and send it to the
102 u_char *packet; local in function:res_nupdate
108 packet = malloc(NS_MAXMSG);
109 if (packet == NULL) {
164 packet, NS_MAXMSG);
175 n = res_nsendsigned(statp, packet, n, key,
178 n = res_nsend(statp, packet, n, answer,
204 free(packet);
  /src/sys/arch/hpcmips/dev/
optpoint.c 63 char packet[4]; member in struct:optpoint_softc
64 int index; /* number of bytes received for this packet */
159 memset(sc->packet, 0, 3);
170 sc->packet[sc->index++] = data;
172 u_int newbuttons = ((sc->packet[1] & LBUTMASK) ? 0x1 : 0)
173 | ((sc->packet[1] & RBUTMASK) ? 0x2 : 0);
174 int dx = sc->packet[2];
175 int dy = sc->packet[0];
188 memset(sc->packet, 0, 3);
210 sc->packet[0] = 0xf5; /* Disable *
    [all...]
  /src/sys/arch/mac68k/dev/
adb_direct.c 200 * the upper and lower halves, and the outgoing packet queue.
205 u_char data[ADB_MAX_MSG_LENGTH]; /* packet data only */
210 u_int unsol; /* 1 if packet was unsolicited */
271 int tickle_count = 0; /* how many tickles seen for this packet? */
272 int tickle_serial = 0; /* the last packet tickled */
273 int adb_cuda_serial = 0; /* the current packet */
408 struct adbCommand packet; local in function:adb_intr_cuda
420 * This is an unexpected packet, so grab the first (dummy)
422 * starting to receive the packet by setting the TIP bit.
458 * Are we waiting AND does this packet match what w
722 struct adbCommand packet; local in function:adb_intr_II
1252 struct adbCommand packet; local in function:adb_intr_IIsi
    [all...]
pm_direct.c 228 u_char data[ADB_MAX_MSG_LENGTH]; /* packet data only */
233 u_int unsol; /* 1 if packet was unsolicited */
1040 struct adbCommand packet; local in function:pm_adb_op
1077 packet.data[0] = 1 + pmdata.data[2];
1078 packet.data[1] = command;
1080 packet.data[i+2] = pmdata.data[i+3];
1081 packet.saveBuf = adbBuffer;
1082 packet.compRout = adbCompRout;
1083 packet.compData = adbCompData;
1084 packet.cmd = command
1162 struct adbCommand packet; local in function:pm_adb_get_TALK_result
1190 struct adbCommand packet; local in function:pm_adb_get_ADB_data
    [all...]
  /src/tests/net/net/
t_ip_reass.c 106 struct lopacket *packet; local in function:alloc_lopacket
109 pktlen = sizeof(*packet) + payloadlen;
110 packet = malloc(pktlen);
111 ATF_REQUIRE(packet != NULL);
113 memset(packet, 0, pktlen);
114 packet->family = AF_INET;
116 ip = &packet->hdr;
130 return (packet);
134 free_lopacket(struct lopacket *packet)
137 free(packet);
    [all...]
  /src/sys/arch/macppc/dev/
pm_direct.c 207 u_char data[ADB_MAX_MSG_LENGTH]; /* packet data only */
212 u_int unsol; /* 1 if packet was unsolicited */
654 struct adbCommand packet; local in function:pm_adb_op
692 packet.data[0] = 1 + pmdata.data[2];
693 packet.data[1] = command;
695 packet.data[i+2] = pmdata.data[i+3];
696 packet.saveBuf = adbBuffer;
697 packet.compRout = adbCompRout;
698 packet.compData = adbCompData;
699 packet.cmd = command
772 struct adbCommand packet; local in function:pm_adb_get_TALK_result
800 struct adbCommand packet; local in function:pm_adb_get_ADB_data
    [all...]
adb_direct.c 175 * the upper and lower halves, and the outgoing packet queue.
180 u_char data[ADB_MAX_MSG_LENGTH]; /* packet data only */
185 u_int unsol; /* 1 if packet was unsolicited */
220 int tickle_count = 0; /* how many tickles seen for this packet? */
221 int tickle_serial = 0; /* the last packet tickled */
222 int adb_cuda_serial = 0; /* the current packet */
333 struct adbCommand packet; local in function:adb_intr_cuda
353 * This is an unexpected packet, so grab the first (dummy)
355 * starting to receive the packet by setting the TIP bit.
391 * Are we waiting AND does this packet match what w
    [all...]
  /src/tests/lib/libc/sys/
t_sendrecv.c 50 union packet { union
67 union packet p;
84 union packet p;
  /src/sys/external/bsd/drm2/dist/drm/
drm_mipi_dsi.c 369 * mipi_dsi_packet_format_is_short - check if a packet is of the short format
370 * @type: MIPI DSI data type of the packet
372 * Return: true if the packet for the given data type is a short packet, false
407 * mipi_dsi_packet_format_is_long - check if a packet is of the long format
408 * @type: MIPI DSI data type of the packet
410 * Return: true if the packet for the given data type is a long packet, false
440 * mipi_dsi_create_packet - create a packet from a message according to the
442 * @packet: pointer to a DSI packet structur
    [all...]
  /src/usr.sbin/timed/timed/
measure.c 85 u_char packet[PACKET_IN]; local in function:measure
115 ret = recvfrom(sock_raw, (char *)packet, PACKET_IN, 0,
190 ret = recvfrom(sock_raw, (char *)packet, PACKET_IN, 0,
201 memcpy(&ip, packet, sizeof(ip));
207 memcpy(&icp, &packet[ip.ip_hl << 2],
  /src/sys/netinet/
dccp_tfrc.c 139 /* Calculate new t_ipi (inter packet interval) by
209 * args: s - packet size (in bytes)
227 * Function called by the send timer (to send packet)
528 TFRC_DEBUG((LOG_INFO, "TFRC - Sender is using packet size %u\n", ccb->s));
530 ccb->x.num = ccb->s; /* set transmissionrate to 1 packet per second */
542 /* init packet history */
578 /* Empty packet history */
594 * Ask TFRC whether one can send a packet or not
615 TFRC_DEBUG((LOG_INFO, "TFRC - Asked to send packet when terminating!\n"));
625 /* check to see if we have memory to add to packet history *
722 struct s_hist_entry *packet; local in function:tfrc_send_packet_sent
1693 struct r_hist_entry *packet; local in function:tfrc_recv_packet_recv
    [all...]

Completed in 22 milliseconds

1 2 3 4