/linux-master/include/linux/ |
H A D | firewire.h | 259 typedef void (*fw_packet_callback_t)(struct fw_packet *packet, 304 * This callback is called when the packet transmission has completed. 326 struct fw_packet packet; member in struct:fw_transaction 366 * fw_send_request() - submit a request packet for transmission to generate callback for response 396 * fw_send_request_with_tstamp() - submit a request packet for transmission to generate callback for 451 * The iso packet format allows for an immediate header/payload part 452 * stored in 'header' immediately after the packet info plus an 460 u32 interrupt:1; /* Generate interrupt on this packet */ 461 u32 skip:1; /* tx: Set to not send packet at all */ 463 u32 tag:2; /* tx: Tag in packet heade [all...] |
/linux-master/drivers/media/usb/stk1160/ |
H A D | stk1160-video.c | 25 int packet, int status) 56 if (packet < 0) 60 printk_ratelimited(KERN_INFO "URB packet %d, status %d [%s].\n", 61 packet, status, errmsg); 214 * Controls the isoc copy of each urb packet 227 /* Print status and drop current packet (or field?) */ 239 /* Get packet actual length and pointer to data */ 243 /* Empty packet */ 248 * An 8-byte packet sequence means end of field. 249 * So if we don't have any packet, w 24 print_err_status(struct stk1160 *dev, int packet, int status) argument [all...] |
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_selftests.c | 238 struct stmmac_packet_attrs *packet; member in struct:stmmac_test_priv 252 const unsigned char *dst = tpriv->packet->dst; 253 unsigned char *src = tpriv->packet->src; 274 if (tpriv->packet->sarc) { 286 if (tpriv->packet->tcp) { 291 if (thdr->dest != htons(tpriv->packet->dport)) 300 if (uhdr->dest != htons(tpriv->packet->dport)) 308 if (tpriv->packet->exp_hash && !skb->hash) 310 if (tpriv->packet->id != shdr->id) 338 tpriv->packet [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_debugfs.c | 2203 str = (prof->lmode == 0) ? "byte" : "packet"; 2810 seq_printf(s, "%pM ", rule->packet.dmac); 2814 seq_printf(s, "%pM ", rule->packet.smac); 2818 seq_printf(s, "0x%x ", ntohs(rule->packet.etype)); 2822 seq_printf(s, "0x%x ", ntohs(rule->packet.vlan_tci)); 2827 seq_printf(s, "0x%x ", ntohs(rule->packet.vlan_itci)); 2832 seq_printf(s, "%d ", rule->packet.tos); 2836 seq_printf(s, "%pI4 ", &rule->packet.ip4src); 2840 seq_printf(s, "%pI4 ", &rule->packet.ip4dst); 2844 seq_printf(s, "%pI6 ", rule->packet [all...] |
H A D | rvu_switch.c | 37 ether_addr_copy(req.packet.dmac, pfvf->mac_addr); 69 ether_addr_copy(req.packet.dmac, pfvf->mac_addr);
|
H A D | rvu_npc_fs.c | 503 * packet header fields below. 744 * masks for the field of interest. Maximum 16 bytes of a packet 841 struct flow_msg *opkt = &output->packet; 846 /* For an ipv6 address fe80::2c68:63ff:fe5e:2d0a the packet 913 struct flow_msg *opkt = &output->packet; 1277 npc_update_flow(rvu, entry, features, &req->packet, &req->mask, &dummy, 1306 &def_ucast_rule->packet, 1351 memcpy(&rule->packet, &dummy.packet, sizeof(rule->packet)); [all...] |
/linux-master/tools/firewire/ |
H A D | nosy-dump.h | 162 struct link_packet packet; member in struct:subaction
|
/linux-master/drivers/usb/host/ |
H A D | fhci.h | 50 #define PKT_SET_HOST_LAST 0x04000000 /* Last data packet */ 51 #define PKT_HOST_DATA 0x02000000 /* Data packet */ 52 #define PKT_FIRST_IN_FRAME 0x01000000 /* First packet in the frame */ 53 #define PKT_TOKEN_FRAME 0x00800000 /* Token packet */ 54 #define PKT_ZLP 0x00400000 /* Zero length packet */ 55 #define PKT_IN_TOKEN_FRAME 0x00200000 /* IN token packet */ 56 #define PKT_OUT_TOKEN_FRAME 0x00100000 /* OUT token packet */ 57 #define PKT_SETUP_TOKEN_FRAME 0x00080000 /* SETUP token packet */ 58 #define PKT_STALL_FRAME 0x00040000 /* STALL packet */ 59 #define PKT_NACK_FRAME 0x00020000 /* NACK packet */ 361 struct packet { struct [all...] |
H A D | fhci-sched.c | 28 static void recycle_frame(struct fhci_usb *usb, struct packet *pkt) 39 /* confirm submitted packet */ 40 void fhci_transaction_confirm(struct fhci_usb *usb, struct packet *pkt) 43 struct packet *td_pkt; 137 struct packet *pkt = td->pkt; 152 * This function forms the packet and transmit the packet. This function 158 struct packet *pkt;
|
/linux-master/drivers/input/touchscreen/ |
H A D | zinitix.c | 171 __le16 packet[2] = {cpu_to_le16(reg), cpu_to_le16(value)}; local 174 ret = i2c_master_send(client, (u8 *)packet, sizeof(packet)); 175 if (ret != sizeof(packet))
|
H A D | usbtouchscreen.c | 74 * used to get the packet len. possible return values: 75 * > 0: packet len 300 * An eGalax diagnostic packet kicks the device into using the right 301 * protocol. We send a "check active" packet. The response will be 1048 struct nexio_touch_packet *packet = (void *) pkt; local 1050 unsigned int data_len = be16_to_cpu(packet->data_len); 1051 unsigned int x_len = be16_to_cpu(packet->x_len); 1052 unsigned int y_len = be16_to_cpu(packet->y_len); 1086 if (begin_x == -1 && packet->data[x] > NEXIO_THRESHOLD) { 1090 if (end_x == -1 && begin_x != -1 && packet [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | selftest.c | 39 * Loopback test packet structure 46 struct_group_attr(packet, __packed, 55 sizeof_field(struct efx_loopback_payload, packet) 81 * @rx_good: RX good packet count 82 * @rx_bad: RX bad packet count 284 * This is called for each received packet during loopback testing. 295 /* If we are just flushing, then drop the packet */ 301 memcpy(&received.packet, buf_ptr, 310 "saw runt RX packet (length %d) in %s loopback " 318 "saw non-loopback RX packet i [all...] |
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | selftest.c | 36 * Loopback test packet structure 43 struct_group_attr(packet, __packed, 52 sizeof_field(struct ef4_loopback_payload, packet) 78 * @rx_good: RX good packet count 79 * @rx_bad: RX bad packet count 286 * This is called for each received packet during loopback testing. 297 /* If we are just flushing, then drop the packet */ 303 memcpy(&received.packet, buf_ptr, 312 "saw runt RX packet (length %d) in %s loopback " 320 "saw non-loopback RX packet i [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | selftest.c | 39 * Loopback test packet structure 45 struct_group_attr(packet, __packed, 54 sizeof_field(struct efx_loopback_payload, packet) 80 * @rx_good: RX good packet count 81 * @rx_bad: RX bad packet count 283 * This is called for each received packet during loopback testing. 294 /* If we are just flushing, then drop the packet */ 300 memcpy(&received.packet, buf_ptr, 309 "saw runt RX packet (length %d) in %s loopback " 317 "saw non-loopback RX packet i [all...] |
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | trace.c | 45 u8 hfi1_trace_packet_hdr_len(struct hfi1_packet *packet) argument 47 if (packet->etype != RHF_RCV_TYPE_BYPASS) 48 return __get_ib_hdr_len(packet->hdr); 50 return __get_16b_hdr_len(packet->hdr); 501 trace_seq_printf(p, "packet[%lu]", packet_count);
|
/linux-master/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.h | 3 * SSH packet transport layer. 28 * Indicates that the packet transport layer has been shut down or is 36 * struct ssh_ptl_ops - Callback operations for packet transport layer. 37 * @data_received: Function called when a data-packet has been received. Both, 38 * the packet layer on which the packet has been received and 39 * the packet's payload data are provided to this function. 46 * struct ssh_ptl - SSH packet transport layer. 50 * @queue.lock: Lock for modifying the packet submission queue. 51 * @queue.head: List-head of the packet submissio [all...] |
/linux-master/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_buffer.c | 44 ssize_t inv_icm42600_fifo_decode_packet(const void *packet, const void **accel, argument 48 const struct inv_icm42600_fifo_1sensor_packet *pack1 = packet; 49 const struct inv_icm42600_fifo_2sensors_packet *pack2 = packet; 50 uint8_t header = *((const uint8_t *)packet); 97 /* invalid packet if here */
|
/linux-master/drivers/gpu/drm/vc4/ |
H A D | vc4_dsi.c | 51 /* Command packet control. */ 61 /* Short, trigger, BTA, or a long packet that fits all in CMDFIFO. */ 93 /* Command packet header. */ 149 /* Transmit blanking packet only during vblank, instead of allowing LP-STOP. */ 151 /* Transmit blanking packet only during HFP, instead of allowing LP-STOP. */ 153 /* Transmit blanking packet only during HBP, instead of allowing LP-STOP. */ 263 /* Signaled after receiving an error packet from the display in 267 /* Signaled after receiving a packet. The header and optional short 1175 struct mipi_dsi_packet packet; local 1181 mipi_dsi_create_packet(&packet, ms [all...] |
/linux-master/drivers/firewire/ |
H A D | core-iso.c | 174 struct fw_iso_packet *packet, 178 return ctx->card->driver->queue_iso(ctx, packet, buffer, payload); 173 fw_iso_context_queue(struct fw_iso_context *ctx, struct fw_iso_packet *packet, struct fw_iso_buffer *buffer, unsigned long payload) argument
|
/linux-master/net/batman-adv/ |
H A D | network-coding.c | 61 /* Register our packet type */ 252 * batadv_nc_packet_free() - frees nc packet 253 * @nc_packet: the nc packet to free 254 * @dropped: whether the packet is freed because is dropped 570 * batadv_nc_send_packet() - send non-coded packet and free nc_packet struct 571 * @nc_packet: the nc packet to send 583 * @nc_path: the nc path the packet belongs to 584 * @nc_packet: the nc packet to be checked 587 * timeout. If so, the packet is no longer kept and the entry deleted from the 609 /* purge nc packet */ 1500 struct batadv_unicast_packet *packet; local 1553 struct batadv_unicast_packet *packet; local [all...] |
/linux-master/net/openvswitch/ |
H A D | datapath.c | 543 /* Add OVS_PACKET_ATTR_LEN when packet is truncated */ 563 /* Only reserve room for attribute header, packet data is added 597 struct sk_buff *packet; local 614 packet = __dev_alloc_skb(NET_IP_ALIGN + len, GFP_KERNEL); 616 if (!packet) 618 skb_reserve(packet, NET_IP_ALIGN); 620 nla_memcpy(__skb_put(packet, len), a[OVS_PACKET_ATTR_PACKET], len); 622 /* Set packet's mru */ 625 packet->ignore_df = 1; 627 OVS_CB(packet) [all...] |
/linux-master/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_host.c | 877 if (is_cmd_mode) /* packet data type */ 1237 struct mipi_dsi_packet packet; local 1242 ret = mipi_dsi_create_packet(&packet, msg); 1244 pr_err("%s: create packet failed, %d\n", __func__, ret); 1247 len = (packet.size + 3) & (~0x3); 1250 pr_err("%s: packet size is too big\n", __func__); 1262 data[0] = packet.header[1]; 1263 data[1] = packet.header[2]; 1264 data[2] = packet.header[0]; 1265 data[3] = BIT(7); /* Last packet */ [all...] |
/linux-master/sound/usb/ |
H A D | endpoint.c | 157 * Return the number of samples to be sent in the next packet 160 * This won't be used for implicit feedback which takes the packet size 186 * Return the number of samples to be sent in the next packet 214 * in the next packet 223 unsigned int packet; local 225 packet = ctx->packet_size[idx]; 226 if (packet) { 227 if (avail && packet >= avail) 229 return packet; 290 /* For tx_length_quirk, put packet lengt 466 struct snd_usb_packet_info *packet; local [all...] |
/linux-master/drivers/gpu/drm/tegra/ |
H A D | dsi.c | 554 /* subtract packet overhead */ 1223 /* read and parse packet header */ 1336 struct mipi_dsi_packet packet; local 1342 err = mipi_dsi_create_packet(&packet, msg); 1346 header = packet.header; 1349 if (packet.size > dsi->video_fifo_depth * 4) 1376 if (packet.size > dsi->host_fifo_depth * 4) 1383 * BTA sequence after the transmission of the packet. 1395 /* write packet header, ECC is generated by hardware */ 1400 if (packet [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | icl_dsi.c | 141 const struct mipi_dsi_packet *packet) 146 const u8 *data = packet->payload; 147 u32 len = packet->payload_length; 172 const struct mipi_dsi_packet *packet, 185 if (packet->payload) 198 tmp |= ((packet->header[0] & VC_MASK) << VC_SHIFT); 199 tmp |= ((packet->header[0] & DT_MASK) << DT_SHIFT); 200 tmp |= (packet->header[1] << PARAM_WC_LOWER_SHIFT); 201 tmp |= (packet->header[2] << PARAM_WC_UPPER_SHIFT); 1138 /* set maximum return packet siz 140 dsi_send_pkt_payld(struct intel_dsi_host *host, const struct mipi_dsi_packet *packet) argument 171 dsi_send_pkt_hdr(struct intel_dsi_host *host, const struct mipi_dsi_packet *packet, bool enable_lpdt) argument [all...] |