/linux-master/drivers/platform/surface/aggregator/ |
H A D | trace.h | 124 * ssam_trace_get_packet_seq() - Read the packet's sequence ID. 125 * @p: The packet. 127 * Return: Returns the packet's sequence ID (SEQ) field if present, or 128 * %SSAM_SEQ_NOT_APPLICABLE if not (e.g. flush packet). 139 * ssam_trace_get_request_id() - Read the packet's request ID. 140 * @p: The packet. 142 * Return: Returns the packet's request ID (RQID) field if the packet 144 * (e.g. flush request, control packet). 155 * ssam_trace_get_request_tid() - Read the packet' [all...] |
/linux-master/tools/perf/util/ |
H A D | cs-etm.c | 96 struct cs_etm_packet *packet; member in struct:cs_etm_traceid_queue 263 * update metadata trace ID from the value found in the AUX_HW_INFO packet. 365 pr_err("CS_ETM: map mismatch between HW_ID packet CPU and Trace ID\n"); 374 pr_err("CS_ETM: mismatch between CPU trace ID and HW_ID packet ID\n"); 392 * if we are picking up the association from the packet, need to plug 403 * When a timestamp packet is encountered the backend code 490 tidq->packet = zalloc(sizeof(struct cs_etm_packet)); 491 if (!tidq->packet) 521 zfree(&tidq->packet); 620 * the next incoming packet 1265 cs_etm__first_executed_instr(struct cs_etm_packet *packet) argument 1275 cs_etm__last_executed_instr(const struct cs_etm_packet *packet) argument 1284 cs_etm__instr_addr(struct cs_etm_queue *etmq, u64 trace_chan_id, const struct cs_etm_packet *packet, u64 offset) argument 1422 cs_etm__copy_insn(struct cs_etm_queue *etmq, u64 trace_chan_id, const struct cs_etm_packet *packet, struct perf_sample *sample) argument 1977 cs_etm__is_svc_instr(struct cs_etm_queue *etmq, u8 trace_chan_id, struct cs_etm_packet *packet, u64 end_addr) argument 2052 struct cs_etm_packet *packet = tidq->packet; local 2077 struct cs_etm_packet *packet = tidq->packet; local 2105 struct cs_etm_packet *packet = tidq->packet; local 2152 struct cs_etm_packet *packet = tidq->packet; local [all...] |
/linux-master/drivers/hwtracing/stm/ |
H A D | dummy_stm.c | 19 unsigned int channel, unsigned int packet, unsigned int flags, 31 packet, size, pl); 89 dummy_stm[i].packet = dummy_stm_packet; 18 dummy_stm_packet(struct stm_data *stm_data, unsigned int master, unsigned int channel, unsigned int packet, unsigned int flags, unsigned int size, const unsigned char *payload) argument
|
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | pio.h | 48 #define pio_txpacket_getindex(packet) ((int)((packet) - \ 49 (packet)->queue->tx_packets_cache)) 63 /* Used packet slots in the device internal TX buffer. */
|
/linux-master/drivers/net/hyperv/ |
H A D | netvsc.c | 774 struct hv_netvsc_packet *packet local 776 u32 send_index = packet->send_buf_index; 781 q_idx = packet->q_idx; 786 tx_stats->packets += packet->total_packets; 787 tx_stats->bytes += packet->total_bytes; 790 netvsc_dma_unmap(ndev_ctx->device_ctx, packet); 845 /* Ensure packet is big enough to read header fields */ 940 struct hv_netvsc_packet *packet, 950 u32 page_count = packet->cp_partial ? packet 937 netvsc_copy_to_send_buf(struct netvsc_device *net_device, unsigned int section_index, u32 pend_size, struct hv_netvsc_packet *packet, struct rndis_message *rndis_msg, struct hv_page_buffer *pb, bool xmit_more) argument 975 netvsc_dma_unmap(struct hv_device *hv_dev, struct hv_netvsc_packet *packet) argument 1012 netvsc_dma_map(struct hv_device *hv_dev, struct hv_netvsc_packet *packet, struct hv_page_buffer *pb) argument 1052 netvsc_send_pkt( struct hv_device *device, struct hv_netvsc_packet *packet, struct netvsc_device *net_device, struct hv_page_buffer *pb, struct sk_buff *skb) argument 1180 netvsc_send(struct net_device *ndev, struct hv_netvsc_packet *packet, struct rndis_message *rndis_msg, struct hv_page_buffer *pb, struct sk_buff *skb, bool xdp_tx) argument [all...] |
/linux-master/drivers/net/wireguard/ |
H A D | send.c | 23 struct message_handshake_initiation packet; local 34 if (wg_noise_handshake_create_initiation(&packet, &peer->handshake)) { 35 wg_cookie_add_mac_to_packet(&packet, sizeof(packet), peer); 40 wg_socket_send_buffer_to_peer(peer, &packet, sizeof(packet), 87 struct message_handshake_response packet; local 94 if (wg_noise_handshake_create_response(&packet, &peer->handshake)) { 95 wg_cookie_add_mac_to_packet(&packet, sizeof(packet), pee 114 struct message_handshake_cookie packet; local [all...] |
/linux-master/drivers/input/mouse/ |
H A D | cypress_ps2.c | 124 memcpy(param, psmouse->packet, pktsize); 446 unsigned char *packet = psmouse->packet; local 447 unsigned char header_byte = packet[0]; 456 ((packet[1] & 0x70) << 4) | packet[2]; 458 ((packet[1] & 0x07) << 8) | packet[3]; 460 report_data->contacts[0].z = packet[4]; 464 ((packet[ 562 unsigned char *packet = psmouse->packet; local [all...] |
H A D | hgpk.c | 61 "delay (ms) before recal after packet spew detected"); 66 "interval (ms) during which recal will be restarted if packet received"); 238 /* we're not spewing, but this packet might be the start */ 260 psmouse_warn(psmouse, "packet spew detected (%d,%d)\n", 306 static bool hgpk_is_byte_valid(struct psmouse *psmouse, unsigned char *packet) argument 314 valid = (packet[0] & 0x0C) == 0x08; 319 packet[0] == HGPK_GS : !(packet[pktcnt - 1] & 0x80); 324 packet[0] == HGPK_PT : !(packet[pktcn 344 unsigned char *packet = psmouse->packet; local 428 unsigned char *packet = psmouse->packet; local [all...] |
/linux-master/drivers/firewire/ |
H A D | core-transaction.c | 98 t->callback.with_tstamp(card, rcode, t->packet.timestamp, response_tstamp, 118 * Cancel the packet transmission if it's still queued. That 119 * will call the packet transmission callback which cancels 123 if (card->driver->cancel_packet(card, &transaction->packet) == 0) 127 * If the request packet has already been sent, we need to see 131 if (transaction->packet.ack == 0) { 133 tstamp = transaction->packet.timestamp; 163 t->callback.with_tstamp(card, RCODE_CANCELLED, t->packet.timestamp, 189 static void transmit_complete_callback(struct fw_packet *packet, argument 193 container_of(packet, struc 227 fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, int destination_id, int source_id, int generation, int speed, unsigned long long offset, void *payload, size_t length) argument 479 transmit_phy_packet_callback(struct fw_packet *packet, struct fw_card *card, int status) argument 682 free_response_callback(struct fw_packet *packet, struct fw_card *card, int status) argument [all...] |
H A D | ohci.c | 385 ", reset packet generation = " __stringify(QUIRK_RESET_PACKET) 511 [0xa] = "async stream packet", [0xb] = "Lk resp", 761 * We search for the buffer that contains the last AR packet DMA data written 786 * The exception is when the DMA data for one packet is 879 ar_context_abort(ctx, "invalid packet length"); 912 * write ack_complete status at PHY packet reception. 919 * The OHCI bus reset handler synthesizes a PHY packet with 989 * all packets up to the buffer end here. If the last packet 1323 struct fw_packet *packet; member in struct:driver_data 1327 * This function apppends a packet t 1331 at_context_queue_packet(struct context *ctx, struct fw_packet *packet) argument 1477 struct fw_packet *packet; local 1561 handle_local_rom(struct fw_ohci *ohci, struct fw_packet *packet, u32 csr) argument 1590 handle_local_lock(struct fw_ohci *ohci, struct fw_packet *packet, u32 csr) argument 1640 handle_local_request(struct context *ctx, struct fw_packet *packet) argument 1679 at_context_transmit(struct context *ctx, struct fw_packet *packet) argument 2591 ohci_send_request(struct fw_card *card, struct fw_packet *packet) argument 2598 ohci_send_response(struct fw_card *card, struct fw_packet *packet) argument 2605 ohci_cancel_packet(struct fw_card *card, struct fw_packet *packet) argument 3256 queue_iso_transmit(struct iso_context *ctx, struct fw_iso_packet *packet, struct fw_iso_buffer *buffer, unsigned long payload) argument 3360 queue_iso_packet_per_buffer(struct iso_context *ctx, struct fw_iso_packet *packet, struct fw_iso_buffer *buffer, unsigned long payload) argument 3441 queue_iso_buffer_fill(struct iso_context *ctx, struct fw_iso_packet *packet, struct fw_iso_buffer *buffer, unsigned long payload) argument 3497 ohci_queue_iso(struct fw_iso_context *base, struct fw_iso_packet *packet, struct fw_iso_buffer *buffer, unsigned long payload) argument [all...] |
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | verbs.c | 274 static inline opcode_handler qp_ok(struct hfi1_packet *packet) argument 276 if (!(ib_rvt_state_ops[packet->qp->state] & RVT_PROCESS_RECV_OK)) 278 if (((packet->opcode & RVT_OPCODE_QP_MASK) == 279 packet->qp->allowed_ops) || 280 (packet->opcode == IB_OPCODE_CNP)) 281 return opcode_handler_tbl[packet->opcode]; 293 * The packet will still be delivered 295 * KHdrHCRCErr (KDETH packet with a bad 297 * packet will not be delivered to the 306 * flag. The packet wil 317 tid_qp_ok(int opcode, struct hfi1_packet *packet) argument 327 hfi1_kdeth_eager_rcv(struct hfi1_packet *packet) argument 381 hfi1_kdeth_expected_rcv(struct hfi1_packet *packet) argument 435 hfi1_do_pkey_check(struct hfi1_packet *packet) argument 453 hfi1_handle_packet(struct hfi1_packet *packet, bool is_mcast) argument 535 hfi1_ib_rcv(struct hfi1_packet *packet) argument 543 hfi1_16B_rcv(struct hfi1_packet *packet) argument 1912 hfi1_cnp_rcv(struct hfi1_packet *packet) argument [all...] |
H A D | fault.h | 38 bool hfi1_dbg_should_fault_rx(struct hfi1_packet *packet); 49 static inline bool hfi1_dbg_should_fault_rx(struct hfi1_packet *packet) argument
|
/linux-master/drivers/net/usb/ |
H A D | lg-vl600.c | 28 * replaces the standard ethernet header in a packet so only actual 78 * packet depend only on whether it is on the IN or OUT endpoint. */ 99 struct vl600_pkt_hdr *packet; local 110 /* Allow a packet (or multiple packets batched together) to be 133 * otherwise we may run out of memory w/a bad packet */ 157 if (buf->len < sizeof(*packet)) { 162 packet = (struct vl600_pkt_hdr *) buf->data; 163 packet_len = sizeof(*packet) + le32_to_cpup(&packet->len); 166 "Bad packet lengt 235 struct vl600_pkt_hdr *packet; local [all...] |
/linux-master/tools/perf/util/cs-etm-decoder/ |
H A D | cs-etm-decoder.c | 97 struct cs_etm_packet *packet) 99 if (!packet_queue || !packet) 111 * value. Otherwise the first element of the packet queue is not 117 *packet = packet_queue->packet_buffer[packet_queue->head]; 221 * (packet/raw frame) we add later. 288 /* No timestamp packet has been received, nothing to do */ 314 /* First get the packet queue for this traceID */ 327 * We've seen a timestamp packet before - simply record the new value. 437 struct cs_etm_packet *packet; local 444 packet 96 cs_etm_decoder__get_packet(struct cs_etm_packet_queue *packet_queue, struct cs_etm_packet *packet) argument 516 struct cs_etm_packet *packet; local [all...] |
/linux-master/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-decoder.c | 183 struct intel_pt_pkt packet; member in struct:intel_pt_decoder 362 * A TSC packet can slip past MTC packets so that the timestamp appears 495 [INTEL_PT_ERR_BADPKT] = "Bad packet", 499 [INTEL_PT_ERR_OVR] = "Overflow packet", 514 static uint64_t intel_pt_calc_ip(const struct intel_pt_pkt *packet, argument 519 switch (packet->count) { 522 packet->payload; 526 packet->payload; 529 ip = packet->payload; 536 packet 721 struct intel_pt_pkt packet; member in struct:intel_pt_pkt_info 4176 struct intel_pt_pkt packet; local [all...] |
/linux-master/arch/powerpc/boot/dts/fsl/ |
H A D | pq3-etsec2-0.dtsi | 51 fsl,magic-packet;
|
H A D | pq3-etsec2-1.dtsi | 51 fsl,magic-packet;
|
H A D | pq3-etsec2-2.dtsi | 50 fsl,magic-packet;
|
/linux-master/tools/firewire/ |
H A D | decode-fcp.c | 50 /* negative means from end of packet. */ 148 (struct avc_frame *) t->request->packet.write_block.data; 177 (struct avc_frame *) t->request->packet.write_block.data; 179 ((unsigned long long) t->request->packet.common.offset_high << 32) | 180 t->request->packet.common.offset_low; 182 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST)
|
H A D | nosy-dump.c | 34 static void decode_link_packet(struct link_packet *packet, size_t length, 40 static char *option_view = "packet"; 68 .descrip = "Specify view of bus traffic: packet, transaction or stats.", 76 .descrip = "Print each packet in hex.", 95 .descrip = "Verbose packet view.", 139 sa = malloc(sizeof *sa - sizeof sa->packet + length); 144 memcpy(&sa->packet, data, length); 230 decode_link_packet(&t->request->packet, t->request->length, 233 decode_link_packet(&t->response->packet, t->request->length, 240 print_packet((uint32_t *) &sa->packet, s 644 get_bits(struct link_packet *packet, int offset, int width) argument 684 decode_link_packet(struct link_packet *packet, size_t length, int include_flags, int exclude_flags) argument 807 struct link_packet *packet = (struct link_packet *) data; local 842 struct link_packet *packet = (struct link_packet *) data; local [all...] |
/linux-master/drivers/w1/ |
H A D | w1_netlink.c | 200 } packet; local 201 memcpy(&packet.cn, cn, sizeof(packet.cn)); 202 memcpy(&packet.msg, msg, sizeof(packet.msg)); 203 packet.cn.len = sizeof(packet.msg); 204 packet.msg.len = 0; 205 packet.msg.status = (u8)-error; 206 cn_netlink_send(&packet 221 } packet; local [all...] |
/linux-master/drivers/net/wireless/marvell/libertas/ |
H A D | if_spi.c | 79 struct if_spi_packet *packet, *tmp; local 81 list_for_each_entry_safe(packet, tmp, &card->cmd_packet_list, list) { 82 list_del(&packet->list); 83 kfree(packet); 85 list_for_each_entry_safe(packet, tmp, &card->data_packet_list, list) { 86 list_del(&packet->list); 87 kfree(packet); 533 * Returns the length of the next packet the firmware expects us to send. 703 "%s: error: response packet too large: %d bytes, but maximum is %d\n", 785 struct if_spi_packet *packet, in 784 if_spi_h2c(struct if_spi_card *card, struct if_spi_packet *packet, int type) argument 852 struct if_spi_packet *packet; local 943 struct if_spi_packet *packet; local [all...] |
/linux-master/fs/udf/ |
H A D | partition.c | 114 uint32_t packet; local 119 packet = (block + offset) & ~(sdata->s_packet_len - 1); 135 else if (origLoc == packet) 139 else if (origLoc > packet) 152 uint32_t packet; local 165 packet = (old_block - map->s_partition_root) & 196 cpu_to_le32(packet); 211 } else if (origLoc == packet) { 219 } else if (origLoc > packet) 238 cpu_to_le32(packet); [all...] |
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-drv.c | 854 dev_dbg(pdata->dev, " Wake-up packet support : %s\n", 856 dev_dbg(pdata->dev, " Magic packet support : %s\n", 1554 /* PTP v2, UDP, any kind of event packet */ 1557 fallthrough; /* to PTP v1, UDP, any kind of event packet */ 1565 /* PTP v2, UDP, Sync packet */ 1568 fallthrough; /* to PTP v1, UDP, Sync packet */ 1576 /* PTP v2, UDP, Delay_req packet */ 1579 fallthrough; /* to PTP v1, UDP, Delay_req packet */ 1588 /* 802.AS1, Ethernet, any kind of event packet */ 1595 /* 802.AS1, Ethernet, Sync packet */ 1652 xgbe_prep_tx_tstamp(struct xgbe_prv_data *pdata, struct sk_buff *skb, struct xgbe_packet_data *packet) argument 1674 xgbe_prep_vlan(struct sk_buff *skb, struct xgbe_packet_data *packet) argument 1680 xgbe_prep_tso(struct sk_buff *skb, struct xgbe_packet_data *packet) argument 1761 xgbe_packet_info(struct xgbe_prv_data *pdata, struct xgbe_ring *ring, struct sk_buff *skb, struct xgbe_packet_data *packet) argument 1945 struct xgbe_packet_data *packet; local 2357 u8 *packet; local 2378 xgbe_rx_buf1_len(struct xgbe_ring_data *rdata, struct xgbe_packet_data *packet) argument 2401 xgbe_rx_buf2_len(struct xgbe_ring_data *rdata, struct xgbe_packet_data *packet, unsigned int len) argument 2492 struct xgbe_packet_data *packet; local [all...] |
/linux-master/drivers/input/touchscreen/ |
H A D | melfas_mip4.c | 430 static void mip4_report_keys(struct mip4_ts *ts, u8 *packet) argument 438 key = packet[0] & 0x0F; 439 down = packet[0] & 0x80; 444 key = packet[0] & 0x0F; 445 down = packet[1] & 0x01; 465 static void mip4_report_touch(struct mip4_ts *ts, u8 *packet) argument 482 state = packet[0] & BIT(7); 483 hover = packet[0] & BIT(5); 484 palm = packet[0] & BIT(4); 485 id = (packet[ 543 mip4_handle_packet(struct mip4_ts *ts, u8 *packet) argument [all...] |