/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_packet_manager_vi.c | 45 struct pm4_mes_map_process *packet; local 47 packet = (struct pm4_mes_map_process *)buffer; 51 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, 53 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; 54 packet->bitfields2.process_quantum = 10; 55 packet->bitfields2.pasid = qpd->pqm->process->pasid; 56 packet->bitfields3.page_table_base = qpd->page_table_base; 57 packet->bitfields10.gds_size = qpd->gds_size; 58 packet->bitfields10.num_gws = qpd->num_gws; 59 packet 78 struct pm4_mes_runlist *packet; local 117 struct pm4_mes_set_resources *packet; local 145 struct pm4_mes_map_queues *packet; local 204 struct pm4_mes_unmap_queues *packet; local 249 struct pm4_mes_query_status *packet; local 273 struct pm4_mec_release_mem *packet; local [all...] |
H A D | kfd_packet_manager_v9.c | 35 struct pm4_mes_map_process *packet; local 41 packet = (struct pm4_mes_map_process *)buffer; 43 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, 45 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; 46 packet->bitfields2.process_quantum = 10; 47 packet->bitfields2.pasid = qpd->pqm->process->pasid; 48 packet->bitfields14.gds_size = qpd->gds_size & 0x3F; 49 packet->bitfields14.gds_size_hi = (qpd->gds_size >> 6) & 0xF; 50 packet->bitfields14.num_gws = (qpd->mapped_gws_queue) ? qpd->num_gws : 0; 51 packet 89 struct pm4_mes_map_process_aldebaran *packet; local 143 struct pm4_mes_runlist *packet; local 181 struct pm4_mes_set_resources *packet; local 215 struct pm4_mes_map_queues *packet; local 294 struct pm4_mec_write_data_mmio *packet; local 329 struct pm4_mes_unmap_queues *packet; local 379 struct pm4_mes_query_status *packet; local [all...] |
/linux-master/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-pkt-decoder.c | 74 struct intel_pt_pkt *packet) 90 packet->type = INTEL_PT_TNT; 91 packet->count = count; 92 packet->payload = payload << 1; 97 struct intel_pt_pkt *packet) 104 packet->type = INTEL_PT_PIP; 106 packet->payload = payload; 111 static int intel_pt_get_tracestop(struct intel_pt_pkt *packet) argument 113 packet->type = INTEL_PT_TRACESTOP; 118 struct intel_pt_pkt *packet) 73 intel_pt_get_long_tnt(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 96 intel_pt_get_pip(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 117 intel_pt_get_cbr(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 127 intel_pt_get_vmcs(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 140 intel_pt_get_ovf(struct intel_pt_pkt *packet) argument 146 intel_pt_get_psb(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 163 intel_pt_get_psbend(struct intel_pt_pkt *packet) argument 169 intel_pt_get_tma(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 181 intel_pt_get_pad(struct intel_pt_pkt *packet) argument 187 intel_pt_get_mnt(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 197 intel_pt_get_3byte(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 211 intel_pt_get_ptwrite(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 234 intel_pt_get_exstop(struct intel_pt_pkt *packet) argument 240 intel_pt_get_exstop_ip(struct intel_pt_pkt *packet) argument 246 intel_pt_get_mwait(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 256 intel_pt_get_pwre(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 266 intel_pt_get_pwrx(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 276 intel_pt_get_bbp(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 287 intel_pt_get_bip_4(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 298 intel_pt_get_bip_8(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 309 intel_pt_get_bep(size_t len, struct intel_pt_pkt *packet) argument 317 intel_pt_get_bep_ip(size_t len, struct intel_pt_pkt *packet) argument 325 intel_pt_get_cfe(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 336 intel_pt_get_evd(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 348 intel_pt_get_ext(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 403 intel_pt_get_short_tnt(unsigned int byte, struct intel_pt_pkt *packet) argument 421 intel_pt_get_cyc(unsigned int byte, const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 443 intel_pt_get_ip(enum intel_pt_pkt_type type, unsigned int byte, const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 489 intel_pt_get_mode(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 526 intel_pt_get_tsc(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 536 intel_pt_get_mtc(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet) argument 546 intel_pt_do_get_packet(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet, enum intel_pt_pkt_ctx ctx) argument 612 intel_pt_upd_pkt_ctx(const struct intel_pt_pkt *packet, enum intel_pt_pkt_ctx *ctx) argument 664 intel_pt_get_packet(const unsigned char *buf, size_t len, struct intel_pt_pkt *packet, enum intel_pt_pkt_ctx *ctx) argument 678 intel_pt_pkt_desc(const struct intel_pt_pkt *packet, char *buf, size_t buf_len) argument [all...] |
H A D | intel-pt-pkt-decoder.h | 73 * context must be recorded and passed to the packet decoder. 84 struct intel_pt_pkt *packet, 87 void intel_pt_upd_pkt_ctx(const struct intel_pt_pkt *packet, 90 int intel_pt_pkt_desc(const struct intel_pt_pkt *packet, char *buf, size_t len);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | driver.c | 208 struct hfi1_packet *packet) 210 struct ib_header *rhdr = packet->hdr; 211 u32 rte = rhf_rcv_type_err(packet->rhf); 218 if ((packet->rhf & RHF_DC_ERR) && 222 if (packet->rhf & RHF_ICRC_ERR) 225 if (packet->etype == RHF_RCV_TYPE_BYPASS) { 232 packet->ohdr = &rhdr->u.oth; 234 packet->ohdr = &rhdr->u.l.oth; 235 packet->grh = &rhdr->u.l.grh; 241 if (packet 207 rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, struct hfi1_packet *packet) argument 368 init_packet(struct hfi1_ctxtdata *rcd, struct hfi1_packet *packet) argument 501 init_ps_mdata(struct ps_mdata *mdata, struct hfi1_packet *packet) argument 570 __prescan_rxq(struct hfi1_packet *packet) argument 635 process_rcv_qp_work(struct hfi1_packet *packet) argument 665 max_packet_exceeded(struct hfi1_packet *packet, int thread) argument 679 check_max_packet(struct hfi1_packet *packet, int thread) argument 688 skip_rcv_packet(struct hfi1_packet *packet, int thread) argument 708 process_rcv_packet_napi(struct hfi1_packet *packet) argument 741 process_rcv_packet(struct hfi1_packet *packet, int thread) argument 791 process_rcv_update(int last, struct hfi1_packet *packet) argument 807 finish_packet(struct hfi1_packet *packet) argument 830 struct hfi1_packet packet; local 855 struct hfi1_packet packet; local 882 struct hfi1_packet packet; local 948 __set_armed_to_active(struct hfi1_packet *packet) argument 987 set_armed_to_active(struct hfi1_packet *packet) argument 1006 struct hfi1_packet packet; local 1112 struct hfi1_packet packet; local 1436 hfi1_setup_ib_header(struct hfi1_packet *packet) argument 1444 hfi1_bypass_ingress_pkt_check(struct hfi1_packet *packet) argument 1473 hfi1_setup_9B_packet(struct hfi1_packet *packet) argument 1522 hfi1_setup_bypass_packet(struct hfi1_packet *packet) argument 1605 show_eflags_errs(struct hfi1_packet *packet) argument 1623 handle_eflags(struct hfi1_packet *packet) argument 1632 hfi1_ipoib_ib_rcv(struct hfi1_packet *packet) argument 1710 process_receive_ib(struct hfi1_packet *packet) argument 1728 process_receive_bypass(struct hfi1_packet *packet) argument 1764 process_receive_error(struct hfi1_packet *packet) argument 1781 kdeth_process_expected(struct hfi1_packet *packet) argument 1797 kdeth_process_eager(struct hfi1_packet *packet) argument 1815 process_receive_invalid(struct hfi1_packet *packet) argument 1825 struct hfi1_packet packet; local [all...] |
H A D | trace_misc.h | 71 TP_PROTO(struct hfi1_packet *packet), 72 TP_ARGS(packet), 73 TP_STRUCT__entry(DD_DEV_ENTRY(packet->rcd->ppd->dd) 81 TP_fast_assign(DD_DEV_ASSIGN(packet->rcd->ppd->dd); 82 __entry->eflags = rhf_err_flags(packet->rhf); 83 __entry->ctxt = packet->rcd->ctxt; 84 __entry->hlen = packet->hlen; 85 __entry->tlen = packet->tlen; 86 __entry->updegr = packet->updegr; 87 __entry->etail = rhf_egr_index(packet [all...] |
/linux-master/tools/perf/util/arm-spe-decoder/ |
H A D | arm-spe-pkt-decoder.c | 62 struct arm_spe_pkt *packet) 72 case 1: packet->payload = *(uint8_t *)buf; break; 73 case 2: packet->payload = le16_to_cpu(*(uint16_t *)buf); break; 74 case 4: packet->payload = le32_to_cpu(*(uint32_t *)buf); break; 75 case 8: packet->payload = le64_to_cpu(*(uint64_t *)buf); break; 82 static int arm_spe_get_pad(struct arm_spe_pkt *packet) argument 84 packet->type = ARM_SPE_PAD; 89 struct arm_spe_pkt *packet) 96 packet->type = ARM_SPE_PAD; 100 static int arm_spe_get_end(struct arm_spe_pkt *packet) argument 60 arm_spe_get_payload(const unsigned char *buf, size_t len, unsigned char ext_hdr, struct arm_spe_pkt *packet) argument 88 arm_spe_get_alignment(const unsigned char *buf, size_t len, struct arm_spe_pkt *packet) argument 106 arm_spe_get_timestamp(const unsigned char *buf, size_t len, struct arm_spe_pkt *packet) argument 113 arm_spe_get_events(const unsigned char *buf, size_t len, struct arm_spe_pkt *packet) argument 128 arm_spe_get_data_source(const unsigned char *buf, size_t len, struct arm_spe_pkt *packet) argument 135 arm_spe_get_context(const unsigned char *buf, size_t len, struct arm_spe_pkt *packet) argument 143 arm_spe_get_op_type(const unsigned char *buf, size_t len, struct arm_spe_pkt *packet) argument 151 arm_spe_get_counter(const unsigned char *buf, size_t len, const unsigned char ext_hdr, struct arm_spe_pkt *packet) argument 164 arm_spe_get_addr(const unsigned char *buf, size_t len, const unsigned char ext_hdr, struct arm_spe_pkt *packet) argument 177 arm_spe_do_get_packet(const unsigned char *buf, size_t len, struct arm_spe_pkt *packet) argument 237 arm_spe_get_packet(const unsigned char *buf, size_t len, struct arm_spe_pkt *packet) argument 292 arm_spe_pkt_desc_event(const struct arm_spe_pkt *packet, char *buf, size_t buf_len) argument 332 arm_spe_pkt_desc_op_type(const struct arm_spe_pkt *packet, char *buf, size_t buf_len) argument 427 arm_spe_pkt_desc_addr(const struct arm_spe_pkt *packet, char *buf, size_t buf_len) argument 469 arm_spe_pkt_desc_counter(const struct arm_spe_pkt *packet, char *buf, size_t buf_len) argument 496 arm_spe_pkt_desc(const struct arm_spe_pkt *packet, char *buf, size_t buf_len) argument [all...] |
/linux-master/drivers/input/mouse/ |
H A D | touchkit_ps2.c | 36 #define TOUCHKIT_GET_TOUCHED(packet) (((packet)[0]) & 0x01) 37 #define TOUCHKIT_GET_X(packet) (((packet)[1] << 7) | (packet)[2]) 38 #define TOUCHKIT_GET_Y(packet) (((packet)[3] << 7) | (packet)[4]) 42 unsigned char *packet = psmouse->packet; local [all...] |
H A D | lifebook.c | 8 * TouchScreen detection, absolute mode setting and packet layout is taken from 137 u8 *packet = psmouse->packet; local 138 bool relative_packet = packet[0] & 0x08; 146 return (packet[0] & 0xf8) == 0x00 ? 151 return ((packet[2] & 0x30) << 2) == (packet[2] & 0xc0) ? 154 return (packet[3] & 0xf8) == 0xc0 ? 157 return (packet[4] & 0xc0) == (packet[ [all...] |
H A D | focaltech.c | 71 * following absolute position packet for the finger where the 150 unsigned char *packet) 154 unsigned char fingers = packet[1]; 157 state->pressed = (packet[0] >> 4) & 1; 174 unsigned char *packet) 180 finger = (packet[1] >> 4) - 1; 182 psmouse_err(psmouse, "Invalid finger in abs packet: %d\n", 187 state->pressed = (packet[0] >> 4) & 1; 189 state->fingers[finger].x = ((packet[1] & 0xf) << 8) | packet[ 149 focaltech_process_touch_packet(struct psmouse *psmouse, unsigned char *packet) argument 173 focaltech_process_abs_packet(struct psmouse *psmouse, unsigned char *packet) argument 195 focaltech_process_rel_packet(struct psmouse *psmouse, unsigned char *packet) argument 228 unsigned char *packet = psmouse->packet; local [all...] |
H A D | elantech.c | 262 * Dump a complete mouse movement packet to the syslog 266 psmouse_printk(KERN_DEBUG, psmouse, "PS/2 packet [%*ph]\n", 267 psmouse->pktsize, psmouse->packet); 324 unsigned char *packet = psmouse->packet; local 332 fingers = ((packet[1] & 0x80) >> 7) + 333 ((packet[1] & 0x30) >> 4); 339 fingers = (packet[0] & 0xc0) >> 6; 348 elantech_debug("discarding packet\n"); 361 ((packet[ 412 unsigned char *packet = psmouse->packet; local 509 unsigned char *packet = psmouse->packet; local 563 unsigned char *packet = psmouse->packet; local 641 unsigned char *packet = psmouse->packet; local 656 unsigned char *packet = psmouse->packet; local 676 unsigned char *packet = psmouse->packet; local 706 unsigned char *packet = psmouse->packet; local 769 unsigned char *packet = psmouse->packet; local 799 unsigned char *packet = psmouse->packet; local 807 unsigned char *packet = psmouse->packet; local 842 unsigned char *packet = psmouse->packet; local 877 unsigned char *packet = psmouse->packet; local [all...] |
H A D | logips2pp.c | 38 * Process a PS2++ or PS2T++ packet. 44 u8 *packet = psmouse->packet; local 50 * Full packet accumulated, process it 53 if ((packet[0] & 0x48) == 0x48 && (packet[1] & 0x02) == 0x02) { 55 /* Logitech extended packet */ 56 switch ((packet[1] >> 4) | (packet[0] & 0x30)) { 61 packet[ [all...] |
/linux-master/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_pipe.c | 25 struct htc_packet *packet); 29 static inline void restore_tx_packet(struct htc_packet *packet) argument 31 if (packet->info.tx.flags & HTC_FLAGS_TX_FIXUP_NETBUF) { 32 skb_pull(packet->skb, sizeof(struct htc_frame_hdr)); 33 packet->info.tx.flags &= ~HTC_FLAGS_TX_FIXUP_NETBUF; 40 struct htc_packet *packet; local 65 packet = list_first_entry(queue_to_indicate, 68 list_del(&packet->list); 70 "%s: calling ep %d send complete callback on packet 0x%p\n", 71 __func__, ep->eid, packet); 77 send_packet_completion(struct htc_target *target, struct htc_packet *packet) argument 98 struct htc_packet *packet; local 177 struct htc_packet *packet; local 211 struct htc_packet *packet; local 305 struct htc_packet *packet, *tmp_pkt; local 501 destroy_htc_txctrl_packet(struct htc_packet *packet) argument 511 struct htc_packet *packet = NULL; local 529 htc_free_txctrl_packet(struct htc_target *target, struct htc_packet *packet) argument 540 htc_txctrl_complete(struct htc_target *target, struct htc_packet *packet) argument 694 struct htc_packet *packet; local 717 struct htc_packet *packet, *tmp_pkt, *found_packet = NULL; local 747 struct htc_packet *packet; local 784 struct htc_packet *packet, *tmp_pkt; local 815 struct htc_packet *packet; local 832 free_htc_packet_container(struct htc_target *target, struct htc_packet *packet) argument 912 struct htc_packet *packet; local 930 recv_packet_completion(struct htc_target *target, struct htc_endpoint *ep, struct htc_packet *packet) argument 949 struct htc_packet *packet; local 1099 struct htc_packet *packet; local 1160 htc_rxctrl_complete(struct htc_target *context, struct htc_packet *packet) argument 1223 struct htc_packet *packet = NULL; local 1410 struct htc_packet *packet; local 1463 struct htc_packet *packet; local 1482 struct htc_packet *packet; local 1539 ath6kl_htc_pipe_tx(struct htc_target *target, struct htc_packet *packet) argument 1625 struct htc_packet *packet, *tmp_pkt, *first; local 1674 struct htc_packet *packet, *tmp_pkt; local [all...] |
H A D | htc_mbox.c | 359 static void ath6kl_htc_tx_prep_pkt(struct htc_packet *packet, u8 flags, argument 364 packet->buf -= HTC_HDR_LENGTH; 365 hdr = (struct htc_frame_hdr *)packet->buf; 368 put_unaligned((u16)packet->act_len, &hdr->payld_len); 370 hdr->eid = packet->endpoint; 386 struct htc_packet *packet = NULL; local 398 packet = list_first_entry(buf_list, struct htc_packet, list); 399 list_del(&packet->list); 403 packet->buf = packet 408 htc_tx_comp_update(struct htc_target *target, struct htc_endpoint *endpoint, struct htc_packet *packet) argument 451 htc_tx_comp_handler(struct htc_target *target, struct htc_packet *packet) argument 471 struct htc_packet *packet; local 507 ath6kl_htc_tx_issue(struct htc_target *target, struct htc_packet *packet) argument 605 struct htc_packet *packet; local 685 struct htc_packet *packet; local 762 struct htc_packet *packet; local 862 struct htc_packet *packet; local 1121 ath6kl_htc_mbox_tx(struct htc_target *target, struct htc_packet *packet) argument 1153 struct htc_packet *packet, *tmp_pkt; local 1269 htc_add_rxbuf(struct htc_target *target, struct htc_packet *packet) argument 1278 htc_reclaim_rxbuf(struct htc_target *target, struct htc_packet *packet, struct htc_endpoint *ep) argument 1292 reclaim_rx_ctrl_buf(struct htc_target *target, struct htc_packet *packet) argument 1300 ath6kl_htc_rx_packet(struct htc_target *target, struct htc_packet *packet, u32 rx_len) argument 1336 ath6kl_htc_rx_set_indicate(u32 lk_ahd, struct htc_endpoint *endpoint, struct htc_packet *packet) argument 1370 struct htc_packet *packet; local 1475 struct htc_packet *packet, *tmp_pkt; local 1803 ath6kl_htc_rx_process_hdr(struct htc_target *target, struct htc_packet *packet, u32 *next_lkahds, int *n_lkahds) argument 1900 ath6kl_htc_rx_complete(struct htc_endpoint *endpoint, struct htc_packet *packet) argument 1916 struct htc_packet *packet; local 2008 struct htc_packet *packet, *tmp_pkt; local 2061 struct htc_packet *packet, *tmp_pkt; local 2262 struct htc_packet *packet = NULL; local 2342 struct htc_packet *packet, *tmp_pkt; local 2382 struct htc_packet *packet, *tmp_pkt; local 2656 struct htc_packet *packet = NULL; local 2741 struct htc_packet *packet; local 2784 struct htc_packet *packet; local 2890 struct htc_packet *packet, *tmp_packet; local [all...] |
/linux-master/net/sctp/ |
H A 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) argument 60 packet->size = packet->overhead; 62 packet->has_cookie_echo = 0; 63 packet->has_sack = 0; 64 packet 73 sctp_packet_config(struct sctp_packet *packet, __u32 vtag, int ecn_capable) argument 144 sctp_packet_init(struct sctp_packet *packet, struct sctp_transport *transport, __u16 sport, __u16 dport) argument 161 sctp_packet_free(struct sctp_packet *packet) argument 180 sctp_packet_transmit_chunk(struct sctp_packet *packet, struct sctp_chunk *chunk, int one_packet, gfp_t gfp) argument 328 __sctp_packet_append_chunk(struct sctp_packet *packet, struct sctp_chunk *chunk) argument 383 sctp_packet_append_chunk(struct sctp_packet *packet, struct sctp_chunk *chunk) argument 436 sctp_packet_pack(struct sctp_packet *packet, struct sk_buff *head, int gso, gfp_t gfp) argument 569 sctp_packet_transmit(struct sctp_packet *packet, gfp_t gfp) argument 672 sctp_packet_can_append_data(struct sctp_packet *packet, struct sctp_chunk *chunk) argument 756 sctp_packet_append_data(struct sctp_packet *packet, struct sctp_chunk *chunk) argument 781 sctp_packet_will_fit(struct sctp_packet *packet, struct sctp_chunk *chunk, u16 chunk_len) argument [all...] |
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-vbi-gen.c | 176 static void vivid_vbi_gen_set_time_of_day(u8 *packet) argument 182 packet[0] = calc_parity(0x07); 183 packet[1] = calc_parity(0x01); 184 packet[2] = calc_parity(0x40 | tm.tm_min); 185 packet[3] = calc_parity(0x40 | tm.tm_hour); 186 packet[4] = calc_parity(0x40 | tm.tm_mday); 189 packet[4] = calc_parity(0x60 | tm.tm_mday); 190 packet[5] = calc_parity(0x40 | (1 + tm.tm_mon)); 191 packet[6] = calc_parity(0x40 | (1 + tm.tm_wday)); 192 packet[ 215 vivid_vbi_gen_teletext(u8 *packet, unsigned line, unsigned frame) argument [all...] |
/linux-master/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.c | 3 * SSH packet transport layer. 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 74 * by the transmitter thread is dropped. If the packet i 329 __ssh_ptl_should_drop_ack_packet(struct ssh_packet *packet) argument 341 __ssh_ptl_should_drop_nak_packet(struct ssh_packet *packet) argument 353 __ssh_ptl_should_drop_dsq_packet(struct ssh_packet *packet) argument 366 ssh_ptl_should_drop_packet(struct ssh_packet *packet) argument 387 ssh_ptl_write_buf(struct ssh_ptl *ptl, struct ssh_packet *packet, const unsigned char *buf, size_t count) argument 405 ssh_ptl_tx_inject_invalid_data(struct ssh_packet *packet) argument 481 ssh_ptl_should_drop_packet(struct ssh_packet *packet) argument 486 ssh_ptl_write_buf(struct ssh_ptl *ptl, struct ssh_packet *packet, const unsigned char *buf, size_t count) argument 494 ssh_ptl_tx_inject_invalid_data(struct ssh_packet *packet) argument 529 ssh_packet_get(struct ssh_packet *packet) argument 547 ssh_packet_put(struct ssh_packet *packet) argument 554 ssh_packet_get_seq(struct ssh_packet *packet) argument 572 ssh_packet_init(struct ssh_packet *packet, unsigned long type, u8 priority, const struct ssh_packet_ops *ops) argument 634 ssh_ctrl_packet_alloc(struct ssh_packet **packet, struct ssam_span *buffer, gfp_t flags) argument 739 __ssh_ptl_queue_push(struct ssh_packet *packet) argument 763 ssh_ptl_queue_push(struct ssh_packet *packet) argument 774 ssh_ptl_queue_remove(struct ssh_packet *packet) argument 831 ssh_ptl_pending_remove(struct ssh_packet *packet) argument 883 ssh_ptl_tx_can_process(struct ssh_packet *packet) argument 904 struct ssh_packet *packet = ERR_PTR(-ENOENT); local 973 ssh_ptl_tx_compl_success(struct ssh_packet *packet) argument 998 ssh_ptl_tx_compl_error(struct ssh_packet *packet, int status) argument 1051 ssh_ptl_tx_packet(struct ssh_ptl *ptl, struct ssh_packet *packet) argument 1104 struct ssh_packet *packet; local 1195 struct ssh_packet *packet = ERR_PTR(-ENOENT); local 1237 ssh_ptl_wait_until_transmitted(struct ssh_packet *packet) argument 1363 __ssh_ptl_resubmit(struct ssh_packet *packet) argument 1651 struct ssh_packet *packet; local 1675 struct ssh_packet *packet; local [all...] |
/linux-master/include/uapi/linux/ |
H A D | pg.h | 6 pg.h defines the user interface to the generic ATAPI packet 53 char packet[12]; /* packet command */ member in struct:pg_write_hdr
|
/linux-master/drivers/tty/hvc/ |
H A D | hvsi.c | 68 /* inbuf is for packet reassembly. leave a little room for leftovers. */ 75 atomic_t seqno; /* HVSI packet sequence number */ 145 static inline int len_packet(const uint8_t *packet) argument 147 return (int)((struct hvsi_header *)packet)->len; 150 static inline int is_header(const uint8_t *packet) argument 152 struct hvsi_header *header = (struct hvsi_header *)packet; 156 static inline int got_packet(const struct hvsi_struct *hp, uint8_t *packet) argument 158 if (hp->inbuf_end < packet + sizeof(struct hvsi_header)) 159 return 0; /* don't even have the packet header */ 161 if (hp->inbuf_end < (packet 206 dump_packet(uint8_t *packet) argument 225 hvsi_recv_control(struct hvsi_struct *hp, uint8_t *packet, struct tty_struct *tty, struct hvsi_struct **to_handshake) argument 254 hvsi_recv_response(struct hvsi_struct *hp, uint8_t *packet) argument 305 hvsi_recv_query(struct hvsi_struct *hp, uint8_t *packet) argument 350 hvsi_recv_data(struct hvsi_struct *hp, const uint8_t *packet) argument 391 uint8_t *packet = hp->inbuf; local [all...] |
/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | icmps-accept.c | 192 } packet = {}; local 199 packet_len = sizeof(packet); 200 set_ip4hdr(&packet.iph, packet_len, IPPROTO_ICMP, src, dst); 202 packet.icmph.type = type; 203 packet.icmph.code = code; 205 randomize_buffer(&packet.icmph.un.frag.mtu, 206 sizeof(packet.icmph.un.frag.mtu)); 209 packet_len = sizeof(packet.iphe) + sizeof(packet.tcph); 210 set_ip4hdr(&packet 307 } packet = {}; local [all...] |
H A D | icmps-discard.c | 192 } packet = {}; local 199 packet_len = sizeof(packet); 200 set_ip4hdr(&packet.iph, packet_len, IPPROTO_ICMP, src, dst); 202 packet.icmph.type = type; 203 packet.icmph.code = code; 205 randomize_buffer(&packet.icmph.un.frag.mtu, 206 sizeof(packet.icmph.un.frag.mtu)); 209 packet_len = sizeof(packet.iphe) + sizeof(packet.tcph); 210 set_ip4hdr(&packet 307 } packet = {}; local [all...] |
/linux-master/drivers/tty/ipwireless/ |
H A 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 */ 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) argument 555 pool_allocate(struct ipw_hardware *hw, struct ipw_rx_packet *packet, int minimum_free_space) argument 609 pool_free(struct ipw_hardware *hw, struct ipw_rx_packet *packet) argument 626 struct ipw_rx_packet *packet = NULL; local 711 struct ipw_rx_packet *packet = local 811 handle_received_packet(struct ipw_hardware *hw, const union nl_packet *packet, unsigned short len) argument 963 struct ipw_tx_packet *packet = NULL; local 1237 send_packet(struct ipw_hardware *hw, int priority, struct ipw_tx_packet *packet) argument 1255 struct ipw_tx_packet *packet = kzalloc( local 1280 struct ipw_control_packet *packet = kzalloc(header_size, GFP_ATOMIC); local 1299 struct ipw_tx_packet *packet; local 1317 struct ipw_control_packet *packet; local 1570 struct ipw_setup_reboot_msg_ack *packet; local [all...] |
/linux-master/drivers/input/joystick/ |
H A D | fsia6b.c | 57 struct ibus_packet packet; member in struct:fsia6b 70 fsia6b->packet.ibuf = (data << 8) | ((fsia6b->packet.ibuf >> 8) & 0xFF); 72 switch (fsia6b->packet.state) { 74 if (fsia6b->packet.ibuf == 0x4020) 75 fsia6b->packet.state = COLLECT; 79 fsia6b->packet.state = PROCESS; 83 fsia6b->packet.channel[fsia6b->packet.offset] = 84 fsia6b->packet [all...] |
/linux-master/drivers/usb/misc/sisusbvga/ |
H A D | sisusbvga.c | 513 struct sisusb_packet *packet) 520 packet->data = 0; 528 SISUSB_CORRECT_ENDIANNESS_PACKET(packet); 530 /* 1. send the packet */ 532 (char *)packet, NULL, 0, &bytes_transferred, 0, 0); 536 /* 2. if packet len == 6, it means we read, so wait for 32bit 537 * return value and write it to packet->data 542 packet->data = le32_to_cpu(tmp); 549 struct sisusb_packet *packet, unsigned int tflags) 556 packet 512 sisusb_send_packet(struct sisusb_usb_data *sisusb, int len, struct sisusb_packet *packet) argument 548 sisusb_send_bridge_packet(struct sisusb_usb_data *sisusb, int len, struct sisusb_packet *packet, unsigned int tflags) argument 599 struct sisusb_packet packet; local 610 struct sisusb_packet packet; local 647 struct sisusb_packet packet; local 688 struct sisusb_packet packet; local 744 struct sisusb_packet packet; local 956 struct sisusb_packet packet; local 970 struct sisusb_packet packet; local 1009 struct sisusb_packet packet; local 1050 struct sisusb_packet packet; local 1276 struct sisusb_packet packet; local 1287 struct sisusb_packet packet; local 2069 struct sisusb_packet packet; local [all...] |
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | pio.c | 43 const u8 *packet, 54 source = packet; 65 const u8 *packet, 72 data = tx_get_next_word(txhdr, packet, 80 data = tx_get_next_word(txhdr, packet, 85 tx_octet(queue, packet[octets - 104 struct b43legacy_pio_txpacket *packet) 111 * for the packet index (in the cache). 128 packetindex = pio_txpacket_getindex(packet); 138 struct b43legacy_pio_txpacket **packet) 42 tx_get_next_word(const u8 *txhdr, const u8 *packet, size_t txhdr_size, unsigned int *pos) argument 63 tx_data(struct b43legacy_pioqueue *queue, u8 *txhdr, const u8 *packet, unsigned int octets) argument 103 generate_cookie(struct b43legacy_pioqueue *queue, struct b43legacy_pio_txpacket *packet) argument 136 parse_cookie(struct b43legacy_wldev *dev, u16 cookie, struct b43legacy_pio_txpacket **packet) argument 172 pio_tx_write_fragment(struct b43legacy_pioqueue *queue, struct sk_buff *skb, struct b43legacy_pio_txpacket *packet, size_t txhdr_size) argument 202 free_txpacket(struct b43legacy_pio_txpacket *packet, int irq_context) argument 217 pio_tx_packet(struct b43legacy_pio_txpacket *packet) argument 272 struct b43legacy_pio_txpacket *packet, *tmp_packet; local 301 struct b43legacy_pio_txpacket *packet; local 369 struct b43legacy_pio_txpacket *packet, *tmp_packet; local 456 struct b43legacy_pio_txpacket *packet; local 478 struct b43legacy_pio_txpacket *packet; local [all...] |