| /kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
| D | driver.c | 208 struct hfi1_packet *packet) in rcv_hdrerr() argument 210 struct ib_header *rhdr = packet->hdr; in rcv_hdrerr() 211 u32 rte = rhf_rcv_type_err(packet->rhf); in rcv_hdrerr() 218 if ((packet->rhf & RHF_DC_ERR) && in rcv_hdrerr() 222 if (packet->rhf & RHF_ICRC_ERR) in rcv_hdrerr() 225 if (packet->etype == RHF_RCV_TYPE_BYPASS) { in rcv_hdrerr() 232 packet->ohdr = &rhdr->u.oth; in rcv_hdrerr() 234 packet->ohdr = &rhdr->u.l.oth; in rcv_hdrerr() 235 packet->grh = &rhdr->u.l.grh; in rcv_hdrerr() 241 if (packet->rhf & RHF_TID_ERR) { in rcv_hdrerr() [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
| D | driver.c | 255 struct hfi1_packet *packet) in rcv_hdrerr() argument 257 struct ib_header *rhdr = packet->hdr; in rcv_hdrerr() 258 u32 rte = rhf_rcv_type_err(packet->rhf); in rcv_hdrerr() 265 if ((packet->rhf & RHF_DC_ERR) && in rcv_hdrerr() 269 if (packet->rhf & RHF_ICRC_ERR) in rcv_hdrerr() 272 if (packet->etype == RHF_RCV_TYPE_BYPASS) { in rcv_hdrerr() 279 packet->ohdr = &rhdr->u.oth; in rcv_hdrerr() 281 packet->ohdr = &rhdr->u.l.oth; in rcv_hdrerr() 282 packet->grh = &rhdr->u.l.grh; in rcv_hdrerr() 288 if (packet->rhf & RHF_TID_ERR) { in rcv_hdrerr() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_packet_manager_vi.c | 45 struct pm4_mes_map_process *packet; in pm_map_process_vi() local 47 packet = (struct pm4_mes_map_process *)buffer; in pm_map_process_vi() 51 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, in pm_map_process_vi() 53 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; in pm_map_process_vi() 54 packet->bitfields2.process_quantum = 10; in pm_map_process_vi() 55 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_map_process_vi() 56 packet->bitfields3.page_table_base = qpd->page_table_base; in pm_map_process_vi() 57 packet->bitfields10.gds_size = qpd->gds_size; in pm_map_process_vi() 58 packet->bitfields10.num_gws = qpd->num_gws; in pm_map_process_vi() 59 packet->bitfields10.num_oac = qpd->num_oac; in pm_map_process_vi() [all …]
|
| D | kfd_packet_manager_v9.c | 35 struct pm4_mes_map_process *packet; in pm_map_process_v9() local 41 packet = (struct pm4_mes_map_process *)buffer; in pm_map_process_v9() 43 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, in pm_map_process_v9() 45 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; in pm_map_process_v9() 46 packet->bitfields2.process_quantum = 10; in pm_map_process_v9() 47 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_map_process_v9() 48 packet->bitfields14.gds_size = qpd->gds_size & 0x3F; in pm_map_process_v9() 49 packet->bitfields14.gds_size_hi = (qpd->gds_size >> 6) & 0xF; in pm_map_process_v9() 50 packet->bitfields14.num_gws = (qpd->mapped_gws_queue) ? qpd->num_gws : 0; in pm_map_process_v9() 51 packet->bitfields14.num_oac = qpd->num_oac; in pm_map_process_v9() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_packet_manager_vi.c | 44 struct pm4_mes_map_process *packet; in pm_map_process_vi() local 46 packet = (struct pm4_mes_map_process *)buffer; in pm_map_process_vi() 50 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, in pm_map_process_vi() 52 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; in pm_map_process_vi() 53 packet->bitfields2.process_quantum = 10; in pm_map_process_vi() 54 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_map_process_vi() 55 packet->bitfields3.page_table_base = qpd->page_table_base; in pm_map_process_vi() 56 packet->bitfields10.gds_size = qpd->gds_size; in pm_map_process_vi() 57 packet->bitfields10.num_gws = qpd->num_gws; in pm_map_process_vi() 58 packet->bitfields10.num_oac = qpd->num_oac; in pm_map_process_vi() [all …]
|
| D | kfd_packet_manager_v9.c | 33 struct pm4_mes_map_process *packet; in pm_map_process_v9() local 36 packet = (struct pm4_mes_map_process *)buffer; in pm_map_process_v9() 39 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, in pm_map_process_v9() 41 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; in pm_map_process_v9() 42 packet->bitfields2.process_quantum = 10; in pm_map_process_v9() 43 packet->bitfields2.pasid = qpd->pqm->process->pasid; in pm_map_process_v9() 44 packet->bitfields14.gds_size = qpd->gds_size & 0x3F; in pm_map_process_v9() 45 packet->bitfields14.gds_size_hi = (qpd->gds_size >> 6) & 0xF; in pm_map_process_v9() 46 packet->bitfields14.num_gws = (qpd->mapped_gws_queue) ? qpd->num_gws : 0; in pm_map_process_v9() 47 packet->bitfields14.num_oac = qpd->num_oac; in pm_map_process_v9() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-pkt-decoder.c | 35 [INTEL_PT_BAD] = "Bad Packet!", 78 struct intel_pt_pkt *packet) in intel_pt_get_long_tnt() argument 94 packet->type = INTEL_PT_TNT; in intel_pt_get_long_tnt() 95 packet->count = count; in intel_pt_get_long_tnt() 96 packet->payload = payload << 1; in intel_pt_get_long_tnt() 101 struct intel_pt_pkt *packet) in intel_pt_get_pip() argument 108 packet->type = INTEL_PT_PIP; in intel_pt_get_pip() 110 packet->payload = payload; in intel_pt_get_pip() 115 static int intel_pt_get_tracestop(struct intel_pt_pkt *packet) in intel_pt_get_tracestop() argument 117 packet->type = INTEL_PT_TRACESTOP; in intel_pt_get_tracestop() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-pkt-decoder.c | 37 [INTEL_PT_BAD] = "Bad Packet!", 77 struct intel_pt_pkt *packet) in intel_pt_get_long_tnt() argument 93 packet->type = INTEL_PT_TNT; in intel_pt_get_long_tnt() 94 packet->count = count; in intel_pt_get_long_tnt() 95 packet->payload = payload << 1; in intel_pt_get_long_tnt() 100 struct intel_pt_pkt *packet) in intel_pt_get_pip() argument 107 packet->type = INTEL_PT_PIP; in intel_pt_get_pip() 109 packet->payload = payload >> 1; in intel_pt_get_pip() 111 packet->payload |= NR_FLAG; in intel_pt_get_pip() 116 static int intel_pt_get_tracestop(struct intel_pt_pkt *packet) in intel_pt_get_tracestop() argument [all …]
|
| /kernel/linux/linux-6.6/include/net/caif/ |
| D | cfpkt.h | 13 /* Create a CAIF packet. 14 * len: Length of packet to be created 15 * @return New packet. 20 * Destroy a CAIF Packet. 21 * pkt Packet to be destoyed. 26 * Extract header from packet. 28 * pkt Packet to extract header data from. 63 * Peek header from packet. 64 * Reads data from packet without changing packet. 66 * pkt Packet to extract header data from. [all …]
|
| /kernel/linux/linux-5.10/include/net/caif/ |
| D | cfpkt.h | 13 /* Create a CAIF packet. 14 * len: Length of packet to be created 15 * @return New packet. 20 * Destroy a CAIF Packet. 21 * pkt Packet to be destoyed. 26 * Extract header from packet. 28 * pkt Packet to extract header data from. 63 * Peek header from packet. 64 * Reads data from packet without changing packet. 66 * pkt Packet to extract header data from. [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
| D | ssh_packet_layer.c | 3 * SSH packet transport layer. 51 * >> Data Structures, Packet Ownership, General Overview << 53 * The code below employs two main data structures: The packet queue, 57 * Shared ownership of a packet is controlled via reference counting. Inside 58 * the transport system are a total of five packet owners: 60 * - the packet queue, 66 * Normal operation is as follows: The initial reference of the packet is 67 * obtained by submitting the packet and queuing it. The receiver thread takes 69 * but takes over the reference (removing it from the queue). If the packet is 71 * sets-up the timeout and adds the packet to the pending set before starting [all …]
|
| /kernel/linux/linux-6.6/net/sctp/ |
| D | output.c | 45 static enum sctp_xmit __sctp_packet_append_chunk(struct sctp_packet *packet, 47 static enum sctp_xmit sctp_packet_can_append_data(struct sctp_packet *packet, 49 static void sctp_packet_append_data(struct sctp_packet *packet, 51 static enum sctp_xmit sctp_packet_will_fit(struct sctp_packet *packet, 55 static void sctp_packet_reset(struct sctp_packet *packet) in sctp_packet_reset() argument 60 packet->size = packet->overhead; in sctp_packet_reset() 62 packet->has_cookie_echo = 0; in sctp_packet_reset() 63 packet->has_sack = 0; in sctp_packet_reset() 64 packet->has_data = 0; in sctp_packet_reset() 65 packet->has_auth = 0; in sctp_packet_reset() [all …]
|
| /kernel/linux/linux-5.10/net/sctp/ |
| D | output.c | 45 static enum sctp_xmit __sctp_packet_append_chunk(struct sctp_packet *packet, 47 static enum sctp_xmit sctp_packet_can_append_data(struct sctp_packet *packet, 49 static void sctp_packet_append_data(struct sctp_packet *packet, 51 static enum sctp_xmit sctp_packet_will_fit(struct sctp_packet *packet, 55 static void sctp_packet_reset(struct sctp_packet *packet) in sctp_packet_reset() argument 60 packet->size = packet->overhead; in sctp_packet_reset() 62 packet->has_cookie_echo = 0; in sctp_packet_reset() 63 packet->has_sack = 0; in sctp_packet_reset() 64 packet->has_data = 0; in sctp_packet_reset() 65 packet->has_auth = 0; in sctp_packet_reset() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/util/arm-spe-decoder/ |
| D | arm-spe-pkt-decoder.c | 62 struct arm_spe_pkt *packet) in arm_spe_get_payload() argument 72 case 1: packet->payload = *(uint8_t *)buf; break; in arm_spe_get_payload() 73 case 2: packet->payload = le16_to_cpu(*(uint16_t *)buf); break; in arm_spe_get_payload() 74 case 4: packet->payload = le32_to_cpu(*(uint32_t *)buf); break; in arm_spe_get_payload() 75 case 8: packet->payload = le64_to_cpu(*(uint64_t *)buf); break; in arm_spe_get_payload() 82 static int arm_spe_get_pad(struct arm_spe_pkt *packet) in arm_spe_get_pad() argument 84 packet->type = ARM_SPE_PAD; in arm_spe_get_pad() 89 struct arm_spe_pkt *packet) in arm_spe_get_alignment() argument 96 packet->type = ARM_SPE_PAD; in arm_spe_get_alignment() 100 static int arm_spe_get_end(struct arm_spe_pkt *packet) in arm_spe_get_end() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
| D | htc_pipe.c | 25 struct htc_packet *packet); 29 static inline void restore_tx_packet(struct htc_packet *packet) in restore_tx_packet() argument 31 if (packet->info.tx.flags & HTC_FLAGS_TX_FIXUP_NETBUF) { in restore_tx_packet() 32 skb_pull(packet->skb, sizeof(struct htc_frame_hdr)); in restore_tx_packet() 33 packet->info.tx.flags &= ~HTC_FLAGS_TX_FIXUP_NETBUF; in restore_tx_packet() 40 struct htc_packet *packet; in do_send_completion() local 65 packet = list_first_entry(queue_to_indicate, in do_send_completion() 68 list_del(&packet->list); in do_send_completion() 70 "%s: calling ep %d send complete callback on packet 0x%p\n", in do_send_completion() 71 __func__, ep->eid, packet); in do_send_completion() [all …]
|
| D | htc_mbox.c | 359 static void ath6kl_htc_tx_prep_pkt(struct htc_packet *packet, u8 flags, in ath6kl_htc_tx_prep_pkt() argument 364 packet->buf -= HTC_HDR_LENGTH; in ath6kl_htc_tx_prep_pkt() 365 hdr = (struct htc_frame_hdr *)packet->buf; in ath6kl_htc_tx_prep_pkt() 368 put_unaligned((u16)packet->act_len, &hdr->payld_len); in ath6kl_htc_tx_prep_pkt() 370 hdr->eid = packet->endpoint; in ath6kl_htc_tx_prep_pkt() 386 struct htc_packet *packet = NULL; in htc_get_control_buf() local 398 packet = list_first_entry(buf_list, struct htc_packet, list); in htc_get_control_buf() 399 list_del(&packet->list); in htc_get_control_buf() 403 packet->buf = packet->buf_start + HTC_HDR_LENGTH; in htc_get_control_buf() 405 return packet; in htc_get_control_buf() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
| D | htc_pipe.c | 25 struct htc_packet *packet); 29 static inline void restore_tx_packet(struct htc_packet *packet) in restore_tx_packet() argument 31 if (packet->info.tx.flags & HTC_FLAGS_TX_FIXUP_NETBUF) { in restore_tx_packet() 32 skb_pull(packet->skb, sizeof(struct htc_frame_hdr)); in restore_tx_packet() 33 packet->info.tx.flags &= ~HTC_FLAGS_TX_FIXUP_NETBUF; in restore_tx_packet() 40 struct htc_packet *packet; in do_send_completion() local 65 packet = list_first_entry(queue_to_indicate, in do_send_completion() 68 list_del(&packet->list); in do_send_completion() 70 "%s: calling ep %d send complete callback on packet 0x%p\n", in do_send_completion() 71 __func__, ep->eid, packet); in do_send_completion() [all …]
|
| D | htc_mbox.c | 359 static void ath6kl_htc_tx_prep_pkt(struct htc_packet *packet, u8 flags, in ath6kl_htc_tx_prep_pkt() argument 364 packet->buf -= HTC_HDR_LENGTH; in ath6kl_htc_tx_prep_pkt() 365 hdr = (struct htc_frame_hdr *)packet->buf; in ath6kl_htc_tx_prep_pkt() 368 put_unaligned((u16)packet->act_len, &hdr->payld_len); in ath6kl_htc_tx_prep_pkt() 370 hdr->eid = packet->endpoint; in ath6kl_htc_tx_prep_pkt() 386 struct htc_packet *packet = NULL; in htc_get_control_buf() local 398 packet = list_first_entry(buf_list, struct htc_packet, list); in htc_get_control_buf() 399 list_del(&packet->list); in htc_get_control_buf() 403 packet->buf = packet->buf_start + HTC_HDR_LENGTH; in htc_get_control_buf() 405 return packet; in htc_get_control_buf() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/arm-spe-decoder/ |
| D | arm-spe-pkt-decoder.c | 21 #define SPE_HEADER0_ADDRESS 0x30 /* address packet (short) */ 23 #define SPE_HEADER0_COUNTER 0x18 /* counter packet (short) */ 36 #define SPE_HEADER1_ADDRESS 0xb0 /* address packet (extended) */ 38 #define SPE_HEADER1_COUNTER 0x98 /* counter packet (extended) */ 86 struct arm_spe_pkt *packet) in arm_spe_get_payload() argument 96 case 1: packet->payload = *(uint8_t *)buf; break; in arm_spe_get_payload() 97 case 2: packet->payload = le16_to_cpu(*(uint16_t *)buf); break; in arm_spe_get_payload() 98 case 4: packet->payload = le32_to_cpu(*(uint32_t *)buf); break; in arm_spe_get_payload() 99 case 8: packet->payload = le64_to_cpu(*(uint64_t *)buf); break; in arm_spe_get_payload() 106 static int arm_spe_get_pad(struct arm_spe_pkt *packet) in arm_spe_get_pad() argument [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | batadv_packet.h | 29 * @BATADV_MCAST: multicast packet with multiple destination addresses 33 * payload packet 34 * @BATADV_UNICAST_4ADDR: unicast packet including the originator address of 36 * @BATADV_ICMP: unicast packet like IP ICMP used for ping or traceroute 37 * @BATADV_UNICAST_TVLV: unicast packet carrying TVLV containers 59 * enum batadv_subtype - packet subtype for unicast4addr 77 * @BATADV_NOT_BEST_NEXT_HOP: flag is set when the ogm packet is forwarded and 96 * @BATADV_TP: throughput meter packet 159 * @BATADV_CLAIM_TYPE_LOOPDETECT: mesh-traversing loop detect packet 198 * struct batadv_ogm_packet - ogm (routing protocol) packet [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/ipwireless/ |
| D | hardware.c | 127 /* Number of bytes in NL packet header (cannot do 131 /* Number of bytes in NL packet header (cannot do 155 /* Network packet header of the first packet (a special case) */ 157 /* Network packet header of the following packets (if any) */ 159 /* Complete network packet (header + data) */ 239 /* Flag if hw is ready to send next packet */ 291 * Packet info structure for tx packets. 305 /* Count of packet fragments, starting at 0 */ 308 /* Called after packet is sent and before is freed */ 459 static void do_send_packet(struct ipw_hardware *hw, struct ipw_tx_packet *packet) in do_send_packet() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/ipwireless/ |
| D | hardware.c | 127 /* Number of bytes in NL packet header (cannot do 131 /* Number of bytes in NL packet header (cannot do 155 /* Network packet header of the first packet (a special case) */ 157 /* Network packet header of the following packets (if any) */ 159 /* Complete network packet (header + data) */ 239 /* Flag if hw is ready to send next packet */ 291 * Packet info structure for tx packets. 305 /* Count of packet fragments, starting at 0 */ 308 /* Called after packet is sent and before is freed */ 459 static void do_send_packet(struct ipw_hardware *hw, struct ipw_tx_packet *packet) in do_send_packet() argument [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | batadv_packet.h | 32 * payload packet 33 * @BATADV_UNICAST_4ADDR: unicast packet including the originator address of 35 * @BATADV_ICMP: unicast packet like IP ICMP used for ping or traceroute 36 * @BATADV_UNICAST_TVLV: unicast packet carrying TVLV containers 57 * enum batadv_subtype - packet subtype for unicast4addr 75 * @BATADV_NOT_BEST_NEXT_HOP: flag is set when the ogm packet is forwarded and 94 * @BATADV_TP: throughput meter packet 157 * @BATADV_CLAIM_TYPE_LOOPDETECT: mesh-traversing loop detect packet 196 * struct batadv_ogm_packet - ogm (routing protocol) packet 197 * @packet_type: batman-adv packet type, part of the general header [all …]
|
| /kernel/linux/linux-5.10/include/linux/soc/mediatek/ |
| D | mtk-cmdq.h | 69 * cmdq_pkt_create() - create a CMDQ packet 73 * Return: CMDQ packet pointer 78 * cmdq_pkt_destroy() - destroy the CMDQ packet 79 * @pkt: the CMDQ packet 84 * cmdq_pkt_write() - append write command to the CMDQ packet 85 * @pkt: the CMDQ packet 95 * cmdq_pkt_write_mask() - append write command with mask to the CMDQ packet 96 * @pkt: the CMDQ packet 108 * cmdq_pkt_read_s() - append read_s command to the CMDQ packet 109 * @pkt: the CMDQ packet [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/surface_aggregator/ |
| D | internal.rst | 63 Lower-level packet transport is implemented in the *packet transport layer 66 the packet transport logic and handles things like packet validation, packet 67 acknowledgment (ACKing), packet (retransmission) timeouts, and relaying 68 packet payloads to higher-level layers. 71 around command-type packet payloads, i.e. requests (sent from host to EC), 97 Packet Transport Layer 100 The packet transport layer is represented via |ssh_ptl| and is structured 107 managed by the packet transport layer, which is essentially the lowest layer 113 This structure contains the required fields to manage the packet inside the 118 counter reaches zero, the ``release()`` callback provided to the packet via [all …]
|