/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-pkt-decoder.c | 74 struct intel_pt_pkt *packet) in intel_pt_get_long_tnt() argument 90 packet->type = INTEL_PT_TNT; in intel_pt_get_long_tnt() 91 packet->count = count; in intel_pt_get_long_tnt() 92 packet->payload = payload << 1; in intel_pt_get_long_tnt() 97 struct intel_pt_pkt *packet) in intel_pt_get_pip() argument 104 packet->type = INTEL_PT_PIP; in intel_pt_get_pip() 106 packet->payload = payload >> 1; in intel_pt_get_pip() 108 packet->payload |= NR_FLAG; in intel_pt_get_pip() 113 static int intel_pt_get_tracestop(struct intel_pt_pkt *packet) in intel_pt_get_tracestop() argument 115 packet->type = INTEL_PT_TRACESTOP; in intel_pt_get_tracestop() [all …]
|
D | intel-pt-decoder.c | 113 struct intel_pt_pkt packet; member 366 const struct intel_pt_pkt *packet, in intel_pt_calc_ip() argument 371 switch (packet->count) { in intel_pt_calc_ip() 374 packet->payload; in intel_pt_calc_ip() 378 packet->payload; in intel_pt_calc_ip() 381 ip = packet->payload; in intel_pt_calc_ip() 395 decoder->last_ip = intel_pt_calc_ip(decoder, &decoder->packet, in intel_pt_set_last_ip() 407 intel_pt_log_packet(&decoder->packet, decoder->pkt_len, decoder->pos, in intel_pt_decoder_log_packet() 425 decoder->tx_flags = decoder->packet.payload & INTEL_PT_IN_TX; in intel_pt_update_in_tx() 508 ret = intel_pt_get_packet(buf, len, &decoder->packet); in intel_pt_get_split_packet() [all …]
|
D | intel-pt-pkt-decoder.h | 66 struct intel_pt_pkt *packet); 68 int intel_pt_pkt_desc(const struct intel_pt_pkt *packet, char *buf, size_t len);
|
D | intel-pt-log.c | 101 void __intel_pt_log_packet(const struct intel_pt_pkt *packet, int pkt_len, in __intel_pt_log_packet() argument 110 intel_pt_pkt_desc(packet, desc, INTEL_PT_PKT_DESC_MAX); in __intel_pt_log_packet()
|
D | intel-pt-log.h | 28 void __intel_pt_log_packet(const struct intel_pt_pkt *packet, int pkt_len,
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | driver.c | 262 struct hfi1_packet *packet) in rcv_hdrerr() argument 264 struct hfi1_message_header *rhdr = packet->hdr; in rcv_hdrerr() 265 u32 rte = rhf_rcv_type_err(packet->rhf); in rcv_hdrerr() 269 if (packet->rhf & (RHF_VCRC_ERR | RHF_ICRC_ERR)) in rcv_hdrerr() 272 if (packet->rhf & RHF_TID_ERR) { in rcv_hdrerr() 276 u32 tlen = rhf_pkt_len(packet->rhf); /* in bytes */ in rcv_hdrerr() 352 if (rhf_use_egr_bfr(packet->rhf)) in rcv_hdrerr() 353 ebuf = packet->ebuf; in rcv_hdrerr() 379 if (rhf_dc_info(packet->rhf)) in rcv_hdrerr() 410 packet->rhf &= ~RHF_RCV_TYPE_ERR_SMASK; in rcv_hdrerr() [all …]
|
D | diag.c | 305 struct snoop_packet *packet; in drain_snoop_list() local 308 packet = list_entry(pos, struct snoop_packet, list); in drain_snoop_list() 310 kfree(packet); in drain_snoop_list() 919 struct snoop_packet *packet = NULL; in hfi1_snoop_read() local 943 packet = list_entry(dd->hfi1_snoop.queue.next, in hfi1_snoop_read() 945 list_del(&packet->list); in hfi1_snoop_read() 947 if (pkt_len >= packet->total_len) { in hfi1_snoop_read() 948 if (copy_to_user(data, packet->data, in hfi1_snoop_read() 949 packet->total_len)) in hfi1_snoop_read() 952 ret = packet->total_len; in hfi1_snoop_read() [all …]
|
D | verbs.c | 584 static inline int qp_ok(int opcode, struct hfi1_packet *packet) in qp_ok() argument 588 if (!(ib_hfi1_state_ops[packet->qp->state] & HFI1_PROCESS_RECV_OK)) in qp_ok() 590 if (((opcode & OPCODE_QP_MASK) == packet->qp->allowed_ops) || in qp_ok() 594 ibp = &packet->rcd->ppd->ibport_data; in qp_ok() 608 void hfi1_ib_rcv(struct hfi1_packet *packet) in hfi1_ib_rcv() argument 610 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_ib_rcv() 611 struct hfi1_ib_header *hdr = packet->hdr; in hfi1_ib_rcv() 612 u32 tlen = packet->tlen; in hfi1_ib_rcv() 624 packet->ohdr = &hdr->u.oth; in hfi1_ib_rcv() 628 packet->ohdr = &hdr->u.l.oth; in hfi1_ib_rcv() [all …]
|
D | uc.c | 262 void hfi1_uc_rcv(struct hfi1_packet *packet) in hfi1_uc_rcv() argument 264 struct hfi1_ibport *ibp = &packet->rcd->ppd->ibport_data; in hfi1_uc_rcv() 265 struct hfi1_ib_header *hdr = packet->hdr; in hfi1_uc_rcv() 266 u32 rcv_flags = packet->rcv_flags; in hfi1_uc_rcv() 267 void *data = packet->ebuf; in hfi1_uc_rcv() 268 u32 tlen = packet->tlen; in hfi1_uc_rcv() 269 struct hfi1_qp *qp = packet->qp; in hfi1_uc_rcv() 270 struct hfi1_other_headers *ohdr = packet->ohdr; in hfi1_uc_rcv() 272 u32 hdrsize = packet->hlen; in hfi1_uc_rcv()
|
D | ud.c | 641 void hfi1_ud_rcv(struct hfi1_packet *packet) in hfi1_ud_rcv() argument 643 struct hfi1_other_headers *ohdr = packet->ohdr; in hfi1_ud_rcv() 645 u32 hdrsize = packet->hlen; in hfi1_ud_rcv() 652 struct hfi1_ibport *ibp = &packet->rcd->ppd->ibport_data; in hfi1_ud_rcv() 653 struct hfi1_ib_header *hdr = packet->hdr; in hfi1_ud_rcv() 654 u32 rcv_flags = packet->rcv_flags; in hfi1_ud_rcv() 655 void *data = packet->ebuf; in hfi1_ud_rcv() 656 u32 tlen = packet->tlen; in hfi1_ud_rcv() 657 struct hfi1_qp *qp = packet->qp; in hfi1_ud_rcv() 659 bool sc4_bit = has_sc4_bit(packet); in hfi1_ud_rcv()
|
D | hfi.h | 724 typedef int (*rhf_rcv_function_ptr)(struct hfi1_packet *packet); 726 typedef void (*opcode_handler)(struct hfi1_packet *packet); 1416 int snoop_recv_handler(struct hfi1_packet *packet); 1636 void handle_eflags(struct hfi1_packet *packet); 1637 int process_receive_ib(struct hfi1_packet *packet); 1638 int process_receive_bypass(struct hfi1_packet *packet); 1639 int process_receive_error(struct hfi1_packet *packet); 1640 int kdeth_process_expected(struct hfi1_packet *packet); 1641 int kdeth_process_eager(struct hfi1_packet *packet); 1642 int process_receive_invalid(struct hfi1_packet *packet);
|
/linux-4.4.14/net/sctp/ |
D | output.c | 60 static sctp_xmit_t __sctp_packet_append_chunk(struct sctp_packet *packet, 62 static sctp_xmit_t sctp_packet_can_append_data(struct sctp_packet *packet, 64 static void sctp_packet_append_data(struct sctp_packet *packet, 66 static sctp_xmit_t sctp_packet_will_fit(struct sctp_packet *packet, 70 static void sctp_packet_reset(struct sctp_packet *packet) in sctp_packet_reset() argument 72 packet->size = packet->overhead; in sctp_packet_reset() 73 packet->has_cookie_echo = 0; in sctp_packet_reset() 74 packet->has_sack = 0; in sctp_packet_reset() 75 packet->has_data = 0; in sctp_packet_reset() 76 packet->has_auth = 0; in sctp_packet_reset() [all …]
|
D | outqueue.c | 708 struct sctp_packet *packet; in sctp_outq_flush() local 727 packet = NULL; in sctp_outq_flush() 810 packet = &transport->packet; in sctp_outq_flush() 811 sctp_packet_config(packet, vtag, in sctp_outq_flush() 835 packet->vtag = asoc->c.my_vtag; in sctp_outq_flush() 858 status = sctp_packet_transmit_chunk(packet, chunk, in sctp_outq_flush() 889 if (!packet || !packet->has_cookie_echo) in sctp_outq_flush() 920 packet = &transport->packet; in sctp_outq_flush() 921 sctp_packet_config(packet, vtag, in sctp_outq_flush() 924 error = sctp_outq_flush_rtx(q, packet, in sctp_outq_flush() [all …]
|
D | sm_statefuns.c | 314 struct sctp_packet *packet; in sctp_sf_do_5_1B_init() local 370 packet = sctp_abort_pkt_new(net, ep, asoc, arg, in sctp_sf_do_5_1B_init() 378 if (packet) { in sctp_sf_do_5_1B_init() 380 SCTP_PACKET(packet)); in sctp_sf_do_5_1B_init() 509 struct sctp_packet *packet; in sctp_sf_do_5_1C_ack() local 542 packet = sctp_abort_pkt_new(net, ep, asoc, arg, in sctp_sf_do_5_1C_ack() 550 if (packet) { in sctp_sf_do_5_1C_ack() 552 SCTP_PACKET(packet)); in sctp_sf_do_5_1C_ack() 1399 struct sctp_packet *packet; in sctp_sf_do_unexpected_init() local 1443 packet = sctp_abort_pkt_new(net, ep, asoc, arg, in sctp_sf_do_unexpected_init() [all …]
|
D | Kconfig | 19 connectionless packet network such as IP. It offers the following 28 packet, and
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_packet_manager.c | 125 struct pm4_runlist *packet; in pm_create_runlist() local 129 packet = (struct pm4_runlist *)buffer; in pm_create_runlist() 132 packet->header.u32all = build_pm4_header(IT_RUN_LIST, in pm_create_runlist() 135 packet->bitfields4.ib_size = ib_size_in_dwords; in pm_create_runlist() 136 packet->bitfields4.chain = chain ? 1 : 0; in pm_create_runlist() 137 packet->bitfields4.offload_polling = 0; in pm_create_runlist() 138 packet->bitfields4.valid = 1; in pm_create_runlist() 139 packet->ordinal2 = lower_32_bits(ib); in pm_create_runlist() 140 packet->bitfields3.ib_base_hi = upper_32_bits(ib); in pm_create_runlist() 148 struct pm4_map_process *packet; in pm_create_map_process() local [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
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 …]
|
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() 71 __func__, ep->eid, packet); in do_send_completion() 72 ep->ep_cb.tx_complete(ep->target, packet); in do_send_completion() [all …]
|
D | htc.h | 534 struct htc_packet packet; member 555 int (*tx)(struct htc_target *target, struct htc_packet *packet); 635 static inline void set_htc_pkt_info(struct htc_packet *packet, void *context, in set_htc_pkt_info() argument 639 packet->pkt_cntxt = context; in set_htc_pkt_info() 640 packet->buf = buf; in set_htc_pkt_info() 641 packet->act_len = len; in set_htc_pkt_info() 642 packet->endpoint = eid; in set_htc_pkt_info() 643 packet->info.tx.tag = tag; in set_htc_pkt_info() 646 static inline void htc_rxpkt_reset(struct htc_packet *packet) in htc_rxpkt_reset() argument 648 packet->buf = packet->buf_start; in htc_rxpkt_reset() [all …]
|
D | txrx.c | 592 struct htc_packet *packet) in ath6kl_tx_queue_full() argument 596 enum htc_endpoint_id endpoint = packet->endpoint; in ath6kl_tx_queue_full() 612 if (packet->info.tx.tag == ATH6KL_CONTROL_PKT_TAG) in ath6kl_tx_queue_full() 690 struct htc_packet *packet; in ath6kl_tx_complete() local 708 packet = list_first_entry(packet_queue, struct htc_packet, in ath6kl_tx_complete() 710 list_del(&packet->list); in ath6kl_tx_complete() 712 if (WARN_ON_ONCE(packet->endpoint == ENDPOINT_UNUSED || in ath6kl_tx_complete() 713 packet->endpoint >= ENDPOINT_MAX)) in ath6kl_tx_complete() 716 ath6kl_cookie = (struct ath6kl_cookie *)packet->pkt_cntxt; in ath6kl_tx_complete() 720 status = packet->status; in ath6kl_tx_complete() [all …]
|
D | hif.c | 55 struct htc_packet *packet = context; in ath6kl_hif_rw_comp_handler() local 58 packet, status); in ath6kl_hif_rw_comp_handler() 60 packet->status = status; in ath6kl_hif_rw_comp_handler() 61 packet->completion(packet->context, packet); in ath6kl_hif_rw_comp_handler()
|
D | hif.h | 85 struct htc_packet *packet; member 174 struct htc_packet *packet; member 238 u32 length, u32 request, struct htc_packet *packet);
|
D | htc-ops.h | 46 struct htc_packet *packet) in ath6kl_htc_tx() argument 48 return target->dev->ar->htc_ops->tx(target, packet); in ath6kl_htc_tx()
|
D | hif-ops.h | 37 struct htc_packet *packet) in hif_write_async() argument 44 request, packet); in hif_write_async()
|
/linux-4.4.14/drivers/input/mouse/ |
D | elantech.c | 229 printk("%s0x%02x ", i ? ", " : " ", psmouse->packet[i]); in elantech_packet_dump() 241 unsigned char *packet = psmouse->packet; in elantech_report_absolute_v1() local 249 fingers = ((packet[1] & 0x80) >> 7) + in elantech_report_absolute_v1() 250 ((packet[1] & 0x30) >> 4); in elantech_report_absolute_v1() 256 fingers = (packet[0] & 0xc0) >> 6; in elantech_report_absolute_v1() 278 ((packet[1] & 0x0c) << 6) | packet[2]); in elantech_report_absolute_v1() 280 etd->y_max - (((packet[1] & 0x03) << 8) | packet[3])); in elantech_report_absolute_v1() 286 input_report_key(dev, BTN_LEFT, packet[0] & 0x01); in elantech_report_absolute_v1() 287 input_report_key(dev, BTN_RIGHT, packet[0] & 0x02); in elantech_report_absolute_v1() 292 input_report_key(dev, BTN_FORWARD, packet[0] & 0x40); in elantech_report_absolute_v1() [all …]
|
D | lifebook.c | 139 unsigned char *packet = psmouse->packet; in lifebook_process_byte() local 140 bool relative_packet = packet[0] & 0x08; in lifebook_process_byte() 148 return (packet[0] & 0xf8) == 0x00 ? in lifebook_process_byte() 153 return ((packet[2] & 0x30) << 2) == (packet[2] & 0xc0) ? in lifebook_process_byte() 156 return (packet[3] & 0xf8) == 0xc0 ? in lifebook_process_byte() 159 return (packet[4] & 0xc0) == (packet[2] & 0xc0) ? in lifebook_process_byte() 162 if (((packet[5] & 0x30) << 2) != (packet[5] & 0xc0)) in lifebook_process_byte() 164 if ((packet[5] & 0xc0) != (packet[1] & 0xc0)) in lifebook_process_byte() 177 ((packet[1] & 0x3f) << 6) | (packet[2] & 0x3f)); in lifebook_process_byte() 179 4096 - (((packet[4] & 0x3f) << 6) | (packet[5] & 0x3f))); in lifebook_process_byte() [all …]
|
D | logips2pp.c | 45 unsigned char *packet = psmouse->packet; in ps2pp_process_byte() local 54 if ((packet[0] & 0x48) == 0x48 && (packet[1] & 0x02) == 0x02) { in ps2pp_process_byte() 57 switch ((packet[1] >> 4) | (packet[0] & 0x30)) { in ps2pp_process_byte() 61 input_report_rel(dev, packet[2] & 0x80 ? REL_HWHEEL : REL_WHEEL, in ps2pp_process_byte() 62 (int) (packet[2] & 8) - (int) (packet[2] & 7)); in ps2pp_process_byte() 63 input_report_key(dev, BTN_SIDE, (packet[2] >> 4) & 1); in ps2pp_process_byte() 64 input_report_key(dev, BTN_EXTRA, (packet[2] >> 5) & 1); in ps2pp_process_byte() 70 input_report_key(dev, BTN_SIDE, (packet[2]) & 1); in ps2pp_process_byte() 71 input_report_key(dev, BTN_EXTRA, (packet[2] >> 1) & 1); in ps2pp_process_byte() 72 input_report_key(dev, BTN_BACK, (packet[2] >> 3) & 1); in ps2pp_process_byte() [all …]
|
D | touchkit_ps2.c | 49 #define TOUCHKIT_GET_TOUCHED(packet) (((packet)[0]) & 0x01) argument 50 #define TOUCHKIT_GET_X(packet) (((packet)[1] << 7) | (packet)[2]) argument 51 #define TOUCHKIT_GET_Y(packet) (((packet)[3] << 7) | (packet)[4]) argument 55 unsigned char *packet = psmouse->packet; in touchkit_ps2_process_byte() local 61 input_report_abs(dev, ABS_X, TOUCHKIT_GET_X(packet)); in touchkit_ps2_process_byte() 62 input_report_abs(dev, ABS_Y, TOUCHKIT_GET_Y(packet)); in touchkit_ps2_process_byte() 63 input_report_key(dev, BTN_TOUCH, TOUCHKIT_GET_TOUCHED(packet)); in touchkit_ps2_process_byte()
|
D | focaltech.c | 160 unsigned char *packet) in focaltech_process_touch_packet() argument 164 unsigned char fingers = packet[1]; in focaltech_process_touch_packet() 167 state->pressed = (packet[0] >> 4) & 1; in focaltech_process_touch_packet() 184 unsigned char *packet) in focaltech_process_abs_packet() argument 190 finger = (packet[1] >> 4) - 1; in focaltech_process_abs_packet() 197 state->pressed = (packet[0] >> 4) & 1; in focaltech_process_abs_packet() 199 state->fingers[finger].x = ((packet[1] & 0xf) << 8) | packet[2]; in focaltech_process_abs_packet() 200 state->fingers[finger].y = (packet[3] << 8) | packet[4]; in focaltech_process_abs_packet() 201 state->width = packet[5] >> 4; in focaltech_process_abs_packet() 206 unsigned char *packet) in focaltech_process_rel_packet() argument [all …]
|
D | sentelic.c | 40 #define GET_ABS_X(packet) ((packet[1] << 2) | ((packet[3] >> 2) & 0x03)) argument 41 #define GET_ABS_Y(packet) ((packet[2] << 2) | (packet[3] & 0x03)) argument 649 static void fsp_packet_debug(struct psmouse *psmouse, unsigned char packet[]) in fsp_packet_debug() argument 658 switch (packet[0] >> FSP_PKT_TYPE_SHIFT) { in fsp_packet_debug() 661 abs_x = GET_ABS_X(packet); in fsp_packet_debug() 662 abs_y = GET_ABS_Y(packet); in fsp_packet_debug() 681 packet[0], packet[1], packet[2], packet[3], abs_x, abs_y); in fsp_packet_debug() 690 static void fsp_packet_debug(struct psmouse *psmouse, unsigned char packet[]) in fsp_packet_debug() argument 710 unsigned char *packet = psmouse->packet; in fsp_process_byte() local 722 fsp_packet_debug(psmouse, packet); in fsp_process_byte() [all …]
|
D | alps.c | 246 unsigned char *packet = psmouse->packet; in alps_process_packet_v1_v2() local 253 left = packet[2] & 0x10; in alps_process_packet_v1_v2() 254 right = packet[2] & 0x08; in alps_process_packet_v1_v2() 256 x = packet[1] | ((packet[0] & 0x07) << 7); in alps_process_packet_v1_v2() 257 y = packet[4] | ((packet[3] & 0x07) << 7); in alps_process_packet_v1_v2() 258 z = packet[5]; in alps_process_packet_v1_v2() 260 left = packet[3] & 1; in alps_process_packet_v1_v2() 261 right = packet[3] & 2; in alps_process_packet_v1_v2() 262 middle = packet[3] & 4; in alps_process_packet_v1_v2() 263 x = packet[1] | ((packet[2] & 0x78) << (7 - 3)); in alps_process_packet_v1_v2() [all …]
|
D | hgpk.c | 309 static bool hgpk_is_byte_valid(struct psmouse *psmouse, unsigned char *packet) in hgpk_is_byte_valid() argument 317 valid = (packet[0] & 0x0C) == 0x08; in hgpk_is_byte_valid() 322 packet[0] == HGPK_GS : !(packet[pktcnt - 1] & 0x80); in hgpk_is_byte_valid() 327 packet[0] == HGPK_PT : !(packet[pktcnt - 1] & 0x80); in hgpk_is_byte_valid() 338 priv->mode, pktcnt, 6, psmouse->packet); in hgpk_is_byte_valid() 347 unsigned char *packet = psmouse->packet; in hgpk_process_advanced_packet() local 348 int down = !!(packet[2] & 2); in hgpk_process_advanced_packet() 349 int left = !!(packet[3] & 1); in hgpk_process_advanced_packet() 350 int right = !!(packet[3] & 2); in hgpk_process_advanced_packet() 351 int x = packet[1] | ((packet[2] & 0x78) << 4); in hgpk_process_advanced_packet() [all …]
|
D | cypress_ps2.c | 127 memcpy(param, psmouse->packet, pktsize); in cypress_ps2_read_cmd_status() 451 unsigned char *packet = psmouse->packet; in cypress_parse_packet() local 452 unsigned char header_byte = packet[0]; in cypress_parse_packet() 461 ((packet[1] & 0x70) << 4) | packet[2]; in cypress_parse_packet() 463 ((packet[1] & 0x07) << 8) | packet[3]; in cypress_parse_packet() 465 report_data->contacts[0].z = packet[4]; in cypress_parse_packet() 469 ((packet[1] & 0x70) << 4) | packet[2]; in cypress_parse_packet() 471 ((packet[1] & 0x07) << 8) | packet[3]; in cypress_parse_packet() 473 report_data->contacts[0].z = packet[4]; in cypress_parse_packet() 476 ((packet[5] & 0xf0) << 4) | packet[6]; in cypress_parse_packet() [all …]
|
D | psmouse-base.c | 136 unsigned char *packet = psmouse->packet; in psmouse_process_byte() local 150 input_report_rel(dev, REL_WHEEL, -(signed char) packet[3]); in psmouse_process_byte() 157 switch (packet[3] & 0xC0) { in psmouse_process_byte() 159 input_report_rel(dev, REL_WHEEL, (int) (packet[3] & 32) - (int) (packet[3] & 31)); in psmouse_process_byte() 162 input_report_rel(dev, REL_HWHEEL, (int) (packet[3] & 32) - (int) (packet[3] & 31)); in psmouse_process_byte() 166 input_report_rel(dev, REL_WHEEL, (int) (packet[3] & 8) - (int) (packet[3] & 7)); in psmouse_process_byte() 167 input_report_key(dev, BTN_SIDE, (packet[3] >> 4) & 1); in psmouse_process_byte() 168 input_report_key(dev, BTN_EXTRA, (packet[3] >> 5) & 1); in psmouse_process_byte() 178 input_report_key(dev, BTN_SIDE, (packet[0] >> 6) & 1); in psmouse_process_byte() 179 input_report_key(dev, BTN_EXTRA, (packet[0] >> 7) & 1); in psmouse_process_byte() [all …]
|
D | synaptics.c | 602 unsigned char *packet) in synaptics_pass_pt_packet() argument 608 serio_interrupt(ptport, packet[1] | priv->pt_buttons, 0); in synaptics_pass_pt_packet() 609 serio_interrupt(ptport, packet[4], 0); in synaptics_pass_pt_packet() 610 serio_interrupt(ptport, packet[5], 0); in synaptics_pass_pt_packet() 612 serio_interrupt(ptport, packet[2], 0); in synaptics_pass_pt_packet() 614 serio_interrupt(ptport, packet[1], 0); in synaptics_pass_pt_packet() 868 !((psmouse->packet[0] ^ psmouse->packet[3]) & 0x02)) in synaptics_report_ext_buttons() 992 if (synaptics_parse_hw_state(psmouse->packet, priv, &hw)) in synaptics_process_packet() 1088 const char *packet = psmouse->packet; in synaptics_validate_byte() local 1097 return (packet[idx] & newabs_rel_mask[idx]) == newabs_rslt[idx]; in synaptics_validate_byte() [all …]
|
D | vmmouse.c | 228 unsigned char *packet = psmouse->packet; in vmmouse_process_byte() local 232 return (packet[0] & 0x8) == 0x8 ? in vmmouse_process_byte()
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-vbi-gen.c | 188 static void vivid_vbi_gen_set_time_of_day(u8 *packet) in vivid_vbi_gen_set_time_of_day() argument 194 packet[0] = calc_parity(0x07); in vivid_vbi_gen_set_time_of_day() 195 packet[1] = calc_parity(0x01); in vivid_vbi_gen_set_time_of_day() 196 packet[2] = calc_parity(0x40 | tm.tm_min); in vivid_vbi_gen_set_time_of_day() 197 packet[3] = calc_parity(0x40 | tm.tm_hour); in vivid_vbi_gen_set_time_of_day() 198 packet[4] = calc_parity(0x40 | tm.tm_mday); in vivid_vbi_gen_set_time_of_day() 201 packet[4] = calc_parity(0x60 | tm.tm_mday); in vivid_vbi_gen_set_time_of_day() 202 packet[5] = calc_parity(0x40 | (1 + tm.tm_mon)); in vivid_vbi_gen_set_time_of_day() 203 packet[6] = calc_parity(0x40 | (1 + tm.tm_wday)); in vivid_vbi_gen_set_time_of_day() 204 packet[7] = calc_parity(0x40 | ((tm.tm_year - 90) & 0x3f)); in vivid_vbi_gen_set_time_of_day() [all …]
|
D | vivid-vbi-cap.h | 23 void vivid_fill_time_of_day_packet(u8 *packet);
|
/linux-4.4.14/drivers/tty/hvc/ |
D | hvsi.c | 158 static inline int len_packet(const uint8_t *packet) in len_packet() argument 160 return (int)((struct hvsi_header *)packet)->len; in len_packet() 163 static inline int is_header(const uint8_t *packet) in is_header() argument 165 struct hvsi_header *header = (struct hvsi_header *)packet; in is_header() 169 static inline int got_packet(const struct hvsi_struct *hp, uint8_t *packet) in got_packet() argument 171 if (hp->inbuf_end < packet + sizeof(struct hvsi_header)) in got_packet() 174 if (hp->inbuf_end < (packet + len_packet(packet))) in got_packet() 194 #define dbg_dump_packet(packet) dump_packet(packet) argument 197 #define dbg_dump_packet(packet) do { } while (0) argument 219 static void dump_packet(uint8_t *packet) in dump_packet() argument [all …]
|
D | hvsi_lib.c | 9 static int hvsi_send_packet(struct hvsi_priv *pv, struct hvsi_header *packet) in hvsi_send_packet() argument 11 packet->seqno = cpu_to_be16(atomic_inc_return(&pv->seqno)); in hvsi_send_packet() 14 return pv->put_chars(pv->termno, (char *)packet, packet->len); in hvsi_send_packet()
|
/linux-4.4.14/drivers/infiniband/core/ |
D | user_mad.c | 164 struct ib_umad_packet *packet) in queue_packet() argument 170 for (packet->mad.hdr.id = 0; in queue_packet() 171 packet->mad.hdr.id < IB_UMAD_MAX_AGENTS; in queue_packet() 172 packet->mad.hdr.id++) in queue_packet() 173 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet() 174 list_add_tail(&packet->list, &file->recv_list); in queue_packet() 186 struct ib_umad_packet *packet) in dequeue_send() argument 189 list_del(&packet->list); in dequeue_send() 197 struct ib_umad_packet *packet = send_wc->send_buf->context[0]; in send_handler() local 199 dequeue_send(file, packet); in send_handler() [all …]
|
/linux-4.4.14/drivers/usb/misc/sisusbvga/ |
D | sisusb.c | 552 struct sisusb_packet *packet) in sisusb_send_packet() argument 559 packet->data = 0; in sisusb_send_packet() 567 SISUSB_CORRECT_ENDIANNESS_PACKET(packet); in sisusb_send_packet() 571 (char *)packet, NULL, 0, &bytes_transferred, 0, 0); in sisusb_send_packet() 581 packet->data = le32_to_cpu(tmp); in sisusb_send_packet() 588 struct sisusb_packet *packet, in sisusb_send_bridge_packet() argument 596 packet->data = 0; in sisusb_send_bridge_packet() 604 SISUSB_CORRECT_ENDIANNESS_PACKET(packet); in sisusb_send_bridge_packet() 608 (char *)packet, NULL, 0, &bytes_transferred, tflags, 0); in sisusb_send_bridge_packet() 618 packet->data = le32_to_cpu(tmp); in sisusb_send_bridge_packet() [all …]
|
D | sisusb.h | 195 #define CLEARPACKET(packet) memset(packet, 0, 10) argument
|
/linux-4.4.14/drivers/tty/ipwireless/ |
D | hardware.c | 458 static void do_send_packet(struct ipw_hardware *hw, struct ipw_tx_packet *packet) in do_send_packet() argument 461 unsigned short data_left = packet->length - packet->offset; in do_send_packet() 466 (packet->fragment_count == 0) in do_send_packet() 477 pkt.hdr_first.protocol = packet->protocol; in do_send_packet() 478 pkt.hdr_first.address = packet->dest_addr; in do_send_packet() 482 if (packet->fragment_count == 0) { in do_send_packet() 484 pkt.hdr_first.length_lsb = (unsigned char) packet->length; in do_send_packet() 486 (unsigned char) (packet->length >> 8); in do_send_packet() 490 ((unsigned char *) packet) + sizeof(struct ipw_tx_packet) + in do_send_packet() 491 packet->offset, fragment_data_len); in do_send_packet() [all …]
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | pio.c | 56 const u8 *packet, in tx_get_next_word() argument 67 source = packet; in tx_get_next_word() 78 const u8 *packet, in tx_data() argument 85 data = tx_get_next_word(txhdr, packet, in tx_data() 93 data = tx_get_next_word(txhdr, packet, in tx_data() 98 tx_octet(queue, packet[octets - in tx_data() 117 struct b43legacy_pio_txpacket *packet) in generate_cookie() argument 141 packetindex = pio_txpacket_getindex(packet); in generate_cookie() 151 struct b43legacy_pio_txpacket **packet) in parse_cookie() argument 176 *packet = &(queue->tx_packets_cache[packetindex]); in parse_cookie() [all …]
|
D | pio.h | 47 #define pio_txpacket_getindex(packet) ((int)((packet) - \ argument 48 (packet)->queue->tx_packets_cache))
|
/linux-4.4.14/drivers/net/hyperv/ |
D | netvsc.c | 614 struct vmpacket_descriptor *packet) in netvsc_send_completion() argument 623 nvsp_packet = (struct nvsp_message *)((unsigned long)packet + in netvsc_send_completion() 624 (packet->offset8 << 3)); in netvsc_send_completion() 646 packet->trans_id; in netvsc_send_completion() 708 struct hv_netvsc_packet *packet) in netvsc_copy_to_send_buf() argument 716 u32 remain = packet->total_data_buflen % net_device->pkt_align; in netvsc_copy_to_send_buf() 717 u32 page_count = packet->cp_partial ? packet->rmsg_pgcnt : in netvsc_copy_to_send_buf() 718 packet->page_buf_cnt; in netvsc_copy_to_send_buf() 721 if (packet->is_data_pkt && packet->xmit_more && remain && in netvsc_copy_to_send_buf() 722 !packet->cp_partial) { in netvsc_copy_to_send_buf() [all …]
|
D | netvsc_drv.c | 280 struct hv_netvsc_packet *packet = (struct hv_netvsc_packet *)context; in netvsc_xmit_completion() local 282 (unsigned long)packet->send_completion_tid; in netvsc_xmit_completion() 323 struct hv_netvsc_packet *packet) in init_page_array() argument 325 struct hv_page_buffer *pb = packet->page_buf; in init_page_array() 341 packet->rmsg_size = len; in init_page_array() 342 packet->rmsg_pgcnt = slots_used; in init_page_array() 420 struct hv_netvsc_packet *packet = NULL; in netvsc_start_xmit() local 472 packet = (struct hv_netvsc_packet *)skb->head; in netvsc_start_xmit() 474 packet->status = 0; in netvsc_start_xmit() 475 packet->xmit_more = skb->xmit_more; in netvsc_start_xmit() [all …]
|
D | rndis_filter.c | 211 struct hv_netvsc_packet *packet; in rndis_filter_send_request() local 215 packet = &req->pkt; in rndis_filter_send_request() 217 packet->is_data_pkt = false; in rndis_filter_send_request() 218 packet->total_data_buflen = req->request_msg.msg_len; in rndis_filter_send_request() 219 packet->page_buf_cnt = 1; in rndis_filter_send_request() 220 packet->page_buf = page_buf; in rndis_filter_send_request() 222 packet->page_buf[0].pfn = virt_to_phys(&req->request_msg) >> in rndis_filter_send_request() 224 packet->page_buf[0].len = req->request_msg.msg_len; in rndis_filter_send_request() 225 packet->page_buf[0].offset = in rndis_filter_send_request() 229 if (packet->page_buf[0].offset + packet->page_buf[0].len > PAGE_SIZE) { in rndis_filter_send_request() [all …]
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | ads7846.c | 116 struct ads7846_packet *packet; member 697 struct ads7846_packet *packet = ts->packet; in ads7846_read_state() local 712 packet->tc.ignore = true; in ads7846_read_state() 730 packet->tc.ignore = true; in ads7846_read_state() 736 packet->tc.ignore = false; in ads7846_read_state() 751 struct ads7846_packet *packet = ts->packet; in ads7846_report_state() local 761 x = *(u16 *)packet->tc.x_buf; in ads7846_report_state() 762 y = *(u16 *)packet->tc.y_buf; in ads7846_report_state() 766 x = packet->tc.x; in ads7846_report_state() 767 y = packet->tc.y; in ads7846_report_state() [all …]
|
D | elo.c | 224 static int elo_command_10(struct elo *elo, unsigned char *packet) in elo_command_10() argument 233 elo->expected_packet = toupper(packet[0]); in elo_command_10() 241 csum += packet[i]; in elo_command_10() 242 if (serio_write(elo->serio, packet[i])) in elo_command_10() 253 memcpy(packet, elo->response, ELO10_PACKET_LEN); in elo_command_10() 266 unsigned char packet[ELO10_PACKET_LEN] = { ELO10_ID_CMD }; in elo_setup_10() local 268 if (elo_command_10(elo, packet)) in elo_setup_10() 271 dev->id.version = (packet[5] << 8) | packet[4]; in elo_setup_10() 275 if (packet[3] & ELO10_PRESSURE) in elo_setup_10() 280 elo_types[(packet[1] -'0') & 0x03], in elo_setup_10() [all …]
|
D | penmount.c | 92 static bool pm_checkpacket(unsigned char *packet) in pm_checkpacket() argument 98 total += packet[i]; in pm_checkpacket() 100 return packet[5] == (unsigned char)~(total & 0xff); in pm_checkpacket()
|
D | usbtouchscreen.c | 969 struct nexio_touch_packet *packet = (void *) pkt; in nexio_read_data() local 971 unsigned int data_len = be16_to_cpu(packet->data_len); in nexio_read_data() 972 unsigned int x_len = be16_to_cpu(packet->x_len); in nexio_read_data() 973 unsigned int y_len = be16_to_cpu(packet->y_len); in nexio_read_data() 1005 if (begin_x == -1 && packet->data[x] > NEXIO_THRESHOLD) { in nexio_read_data() 1009 if (end_x == -1 && begin_x != -1 && packet->data[x] < NEXIO_THRESHOLD) { in nexio_read_data() 1012 if (begin_y == -1 && packet->data[y] > NEXIO_THRESHOLD) { in nexio_read_data() 1017 begin_y != -1 && packet->data[y] < NEXIO_THRESHOLD) { in nexio_read_data() 1038 usbtouch->touch = packet->flags & 0x01; in nexio_read_data()
|
/linux-4.4.14/drivers/media/rc/ |
D | iguanair.c | 55 struct send_packet *packet; member 80 struct packet { struct 87 struct packet header; argument 202 if (urb->status == 0 && ir->packet->header.cmd == CMD_NOP) in iguanair_irq_out() 232 ir->packet->header.start = 0; in iguanair_get_features() 233 ir->packet->header.direction = DIR_OUT; in iguanair_get_features() 234 ir->packet->header.cmd = CMD_NOP; in iguanair_get_features() 235 iguanair_send(ir, sizeof(ir->packet->header)); in iguanair_get_features() 237 ir->packet->header.cmd = CMD_GET_VERSION; in iguanair_get_features() 238 rc = iguanair_send(ir, sizeof(ir->packet->header)); in iguanair_get_features() [all …]
|
/linux-4.4.14/arch/um/drivers/ |
D | mconsole_user.c | 182 struct mconsole_notify packet; in mconsole_notify() local 202 packet.magic = MCONSOLE_MAGIC; in mconsole_notify() 203 packet.version = MCONSOLE_VERSION; in mconsole_notify() 204 packet.type = type; in mconsole_notify() 205 len = (len > sizeof(packet.data)) ? sizeof(packet.data) : len; in mconsole_notify() 206 packet.len = len; in mconsole_notify() 207 memcpy(packet.data, data, len); in mconsole_notify() 210 len = sizeof(packet) + packet.len - sizeof(packet.data); in mconsole_notify() 211 n = sendto(notify_sock, &packet, len, 0, (struct sockaddr *) &target, in mconsole_notify()
|
D | pcap_user.c | 99 const u_char *packet) in handler() argument 106 memcpy(hdata->buffer, packet, len); in handler()
|
/linux-4.4.14/drivers/input/ |
D | mousedev.c | 74 struct mousedev_hw_data packet; member 144 mousedev->packet.dx = tmp / FRACTION_DENOM; in mousedev_touchpad_event() 146 tmp - mousedev->packet.dx * FRACTION_DENOM; in mousedev_touchpad_event() 161 mousedev->packet.dy = tmp / FRACTION_DENOM; in mousedev_touchpad_event() 163 mousedev->packet.dy * FRACTION_DENOM; in mousedev_touchpad_event() 186 mousedev->packet.x = ((value - min) * xres) / size; in mousedev_abs_event() 187 mousedev->packet.abs_event = 1; in mousedev_abs_event() 200 mousedev->packet.y = yres - ((value - min) * yres) / size; in mousedev_abs_event() 201 mousedev->packet.abs_event = 1; in mousedev_abs_event() 211 mousedev->packet.dx += value; in mousedev_rel_event() [all …]
|
/linux-4.4.14/Documentation/input/ |
D | elantech.txt | 22 4.2 Native relative mode 4 byte packet format 23 4.3 Native absolute mode 4 byte packet format 26 5.2 Native absolute mode 6 byte packet format 27 5.2.1 Parity checking and packet re-synchronization 32 6.2 Native absolute mode 6 byte packet format 37 7.2 Native absolute mode 6 byte packet format 38 7.2.1 Status packet 39 7.2.2 Head packet 40 7.2.3 Motion packet 43 8.2 Native relative mode 6 byte packet format [all …]
|
D | sentelic.txt | 72 If PACKET NUMBER is 0, the packet is Packet 1. 73 If PACKET NUMBER is 1, the packet is Packet 2. 76 # MSID6 special packet will be enable at the same time when enable MSID 7. 90 Byte 1: Bit7~Bit6 => 00, Normal data packet 91 => 01, Absolute coordination packet 92 => 10, Notify packet 114 Byte 1: Bit7~Bit6 => 00, Normal data packet 115 => 01, Absolute coordination packet 116 => 10, Notify packet 123 Byte 2: Message Type => 0x5A (Enable/Disable status packet) [all …]
|
D | alps.txt | 88 PS/2 packet format 127 Dualpoint device -- interleaved packet format 142 touchpad, switching to the interleaved packet format when both the stick and 148 ALPS protocol version 3 has three different packet formats. The first two are 152 The first type is the touchpad position packet. 161 Note that for some devices the trackstick buttons are reported in this packet, 164 The second packet type contains bitmaps representing the x and y axes. In the 166 given axis. Thus the bitmap packet can be used for low-resolution multi-touch 167 data, although finger tracking is not possible. This packet also encodes the 177 This packet only appears after a position packet with the mt bit set, and [all …]
|
D | iforce-protocol.txt | 18 ** General form of a packet ** 31 This packet is used to indicate the state of each button and the value of each 152 The general format of this packet is: 160 The device should reply with the same packet plus two additional bytes
|
/linux-4.4.14/tools/firewire/ |
D | nosy-dump.c | 47 static void decode_link_packet(struct link_packet *packet, size_t length, 152 sa = malloc(sizeof *sa - sizeof sa->packet + length); in subaction_create() 157 memcpy(&sa->packet, data, length); in subaction_create() 243 decode_link_packet(&t->request->packet, t->request->length, in handle_transaction() 246 decode_link_packet(&t->response->packet, t->request->length, in handle_transaction() 253 print_packet((uint32_t *) &sa->packet, sa->length); in handle_transaction() 255 print_packet((uint32_t *) &sa->packet, sa->length); in handle_transaction() 519 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_request_packet() 520 prev->packet.common.tlabel != sa->packet.common.tlabel) { in handle_request_packet() 585 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_response_packet() [all …]
|
D | decode-fcp.c | 147 (struct avc_frame *) t->request->packet.write_block.data; in decode_avc() 176 (struct avc_frame *) t->request->packet.write_block.data; in decode_fcp() 178 ((unsigned long long) t->request->packet.common.offset_high << 32) | in decode_fcp() 179 t->request->packet.common.offset_low; in decode_fcp() 181 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST) in decode_fcp()
|
/linux-4.4.14/drivers/firewire/ |
D | ohci.c | 1289 struct fw_packet *packet; member 1298 struct fw_packet *packet) in at_context_queue_packet() argument 1309 packet->ack = RCODE_SEND_ERROR; in at_context_queue_packet() 1314 d[0].res_count = cpu_to_le16(packet->timestamp); in at_context_queue_packet() 1322 tcode = (packet->header[0] >> 4) & 0x0f; in at_context_queue_packet() 1334 header[0] = cpu_to_le32((packet->header[0] & 0xffff) | in at_context_queue_packet() 1335 (packet->speed << 16)); in at_context_queue_packet() 1336 header[1] = cpu_to_le32((packet->header[1] & 0xffff) | in at_context_queue_packet() 1337 (packet->header[0] & 0xffff0000)); in at_context_queue_packet() 1338 header[2] = cpu_to_le32(packet->header[2]); in at_context_queue_packet() [all …]
|
D | core-transaction.c | 128 if (card->driver->cancel_packet(card, &transaction->packet) == 0) in fw_cancel_transaction() 177 static void transmit_complete_callback(struct fw_packet *packet, in transmit_complete_callback() argument 181 container_of(packet, struct fw_transaction, packet); in transmit_complete_callback() 211 static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, in fw_fill_request() argument 218 packet->header[0] = in fw_fill_request() 222 packet->header_length = 4; in fw_fill_request() 223 packet->payload = payload; in fw_fill_request() 224 packet->payload_length = length; in fw_fill_request() 235 packet->header[0] = in fw_fill_request() 240 packet->header[1] = in fw_fill_request() [all …]
|
D | core.h | 74 void (*send_request)(struct fw_card *card, struct fw_packet *packet); 75 void (*send_response)(struct fw_card *card, struct fw_packet *packet); 77 int (*cancel_packet)(struct fw_card *card, struct fw_packet *packet); 104 struct fw_iso_packet *packet, 243 void fw_core_handle_response(struct fw_card *card, struct fw_packet *packet);
|
D | nosy.c | 65 struct packet { struct 75 struct packet *head, *tail; argument 132 buffer->head = (struct packet *) buffer->data; in packet_buffer_init() 133 buffer->tail = (struct packet *) buffer->data; in packet_buffer_init() 171 buffer->head = (struct packet *) &buffer->head->data[length]; in packet_buffer_get() 179 buffer->head = (struct packet *) &buffer->data[length - split]; in packet_buffer_get() 187 atomic_sub(sizeof(struct packet) + length, &buffer->size); in packet_buffer_get() 200 atomic_read(&buffer->size) + sizeof(struct packet) + length) { in packet_buffer_put() 210 buffer->tail = (struct packet *) &buffer->tail->data[length]; in packet_buffer_put() 216 buffer->tail = (struct packet *) &buffer->data[length - split]; in packet_buffer_put() [all …]
|
D | core-cdev.c | 1069 struct fw_iso_packet packet; in ioctl_queue_iso() member 1105 u.packet.payload_length = GET_PAYLOAD_LENGTH(control); in ioctl_queue_iso() 1106 u.packet.interrupt = GET_INTERRUPT(control); in ioctl_queue_iso() 1107 u.packet.skip = GET_SKIP(control); in ioctl_queue_iso() 1108 u.packet.tag = GET_TAG(control); in ioctl_queue_iso() 1109 u.packet.sy = GET_SY(control); in ioctl_queue_iso() 1110 u.packet.header_length = GET_HEADER_LENGTH(control); in ioctl_queue_iso() 1114 if (u.packet.header_length & 3) in ioctl_queue_iso() 1116 transmit_header_bytes = u.packet.header_length; in ioctl_queue_iso() 1120 if (u.packet.header_length == 0 || in ioctl_queue_iso() [all …]
|
D | core-card.c | 605 static void dummy_send_request(struct fw_card *card, struct fw_packet *packet) in dummy_send_request() argument 607 packet->callback(packet, card, RCODE_CANCELLED); in dummy_send_request() 610 static void dummy_send_response(struct fw_card *card, struct fw_packet *packet) in dummy_send_response() argument 612 packet->callback(packet, card, RCODE_CANCELLED); in dummy_send_response() 615 static int dummy_cancel_packet(struct fw_card *card, struct fw_packet *packet) in dummy_cancel_packet() argument
|
D | net.c | 729 struct fw_iso_packet packet; in fwnet_receive_broadcast() local 770 packet.payload_length = dev->rcv_buffer_size; in fwnet_receive_broadcast() 771 packet.interrupt = 1; in fwnet_receive_broadcast() 772 packet.skip = 0; in fwnet_receive_broadcast() 773 packet.tag = 3; in fwnet_receive_broadcast() 774 packet.sy = 0; in fwnet_receive_broadcast() 775 packet.header_length = IEEE1394_GASP_HDR_SIZE; in fwnet_receive_broadcast() 779 retval = fw_iso_context_queue(dev->broadcast_rcv_context, &packet, in fwnet_receive_broadcast() 1096 struct fw_iso_packet packet; in fwnet_broadcast_start() local 1140 packet.payload_length = max_receive; in fwnet_broadcast_start() [all …]
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 1155 struct xgbe_packet_data *packet) in xgbe_prep_tx_tstamp() argument 1159 if (XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, PTP)) { in xgbe_prep_tx_tstamp() 1163 XGMAC_SET_BITS(packet->attributes, in xgbe_prep_tx_tstamp() 1172 if (!XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, PTP)) in xgbe_prep_tx_tstamp() 1176 static void xgbe_prep_vlan(struct sk_buff *skb, struct xgbe_packet_data *packet) in xgbe_prep_vlan() argument 1179 packet->vlan_ctag = skb_vlan_tag_get(skb); in xgbe_prep_vlan() 1182 static int xgbe_prep_tso(struct sk_buff *skb, struct xgbe_packet_data *packet) in xgbe_prep_tso() argument 1186 if (!XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_prep_tso() 1194 packet->header_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in xgbe_prep_tso() 1195 packet->tcp_header_len = tcp_hdrlen(skb); in xgbe_prep_tso() [all …]
|
D | xgbe-desc.c | 496 struct xgbe_packet_data *packet; in xgbe_map_tx_skb() local 509 packet = &ring->packet_data; in xgbe_map_tx_skb() 510 packet->rdesc_count = 0; in xgbe_map_tx_skb() 511 packet->length = 0; in xgbe_map_tx_skb() 513 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb() 515 vlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb() 519 if ((tso && (packet->mss != ring->tx.cur_mss)) || in xgbe_map_tx_skb() 520 (vlan && (packet->vlan_ctag != ring->tx.cur_vlan_ctag))) in xgbe_map_tx_skb() 527 packet->header_len, DMA_TO_DEVICE); in xgbe_map_tx_skb() 533 rdata->skb_dma_len = packet->header_len; in xgbe_map_tx_skb() [all …]
|
D | xgbe-dev.c | 1242 static void xgbe_get_rx_tstamp(struct xgbe_packet_data *packet, in xgbe_get_rx_tstamp() argument 1253 packet->rx_tstamp = nsec; in xgbe_get_rx_tstamp() 1254 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES, in xgbe_get_rx_tstamp() 1398 struct xgbe_packet_data *packet = &ring->packet_data; in xgbe_dev_xmit() local 1408 csum = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1410 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1412 vlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1415 if (tso && (packet->mss != ring->tx.cur_mss)) in xgbe_dev_xmit() 1420 if (vlan && (packet->vlan_ctag != ring->tx.cur_vlan_ctag)) in xgbe_dev_xmit() 1435 ring->coalesce_count += packet->tx_packets; in xgbe_dev_xmit() [all …]
|
/linux-4.4.14/drivers/input/joystick/ |
D | grip_mp.c | 163 static int mp_io(struct gameport* gameport, int sendflags, int sendcode, u32 *packet) in mp_io() argument 174 *packet = 0; in mp_io() 258 *packet = pkt; in mp_io() 300 static int multiport_io(struct gameport* gameport, int sendflags, int sendcode, u32 *packet) in multiport_io() argument 306 status = mp_io(gameport, sendflags, sendcode, packet); in multiport_io() 318 static int dig_mode_start(struct gameport *gameport, u32 *packet) in dig_mode_start() argument 334 flags = multiport_io(gameport, IO_RESET, 0x27, packet); in dig_mode_start() 360 u32 packet; in get_and_decode_packet() local 367 flags = multiport_io(grip->gameport, flags, 0, &packet); in get_and_decode_packet() 370 if (packet & PACKET_MP_DONE) in get_and_decode_packet() [all …]
|
/linux-4.4.14/arch/alpha/kernel/ |
D | err_ev7.c | 236 struct ev7_pal_subpacket *packet; in ev7_process_pal_subpacket() local 245 packet = (struct ev7_pal_subpacket *)header->by_type.raw.data_start; in ev7_process_pal_subpacket() 251 packet->by_type.logout.whami, in ev7_process_pal_subpacket() 252 packet->by_type.logout.rbox_whami); in ev7_process_pal_subpacket() 253 el_print_timestamp(&packet->by_type.logout.timestamp); in ev7_process_pal_subpacket() 257 packet->by_type.logout.exc_addr, in ev7_process_pal_subpacket() 258 packet->by_type.logout.halt_code); in ev7_process_pal_subpacket() 260 packet->by_type.logout.subpacket_count); in ev7_process_pal_subpacket()
|
/linux-4.4.14/net/nfc/hci/ |
D | hcp.c | 60 struct hcp_packet *packet; in nfc_hci_hcp_message_tx() local 83 packet = (struct hcp_packet *)skb->data; in nfc_hci_hcp_message_tx() 84 packet->header = pipe; in nfc_hci_hcp_message_tx() 87 packet->message.header = HCP_HEADER(type, instruction); in nfc_hci_hcp_message_tx() 89 memcpy(packet->message.data, ptr, in nfc_hci_hcp_message_tx() 94 memcpy(&packet->message, ptr, data_link_len); in nfc_hci_hcp_message_tx() 100 packet->header |= ~NFC_HCI_FRAGMENT; in nfc_hci_hcp_message_tx()
|
D | core.c | 845 struct hcp_packet *packet; in nfc_hci_recv_from_llc() local 853 packet = (struct hcp_packet *)skb->data; in nfc_hci_recv_from_llc() 854 if ((packet->header & ~NFC_HCI_FRAGMENT) == 0) { in nfc_hci_recv_from_llc() 861 pipe = packet->header & NFC_HCI_FRAGMENT; in nfc_hci_recv_from_llc() 888 packet->header &= NFC_HCI_FRAGMENT; in nfc_hci_recv_from_llc() 896 packet = (struct hcp_packet *)hcp_skb->data; in nfc_hci_recv_from_llc() 897 type = HCP_MSG_GET_TYPE(packet->message.header); in nfc_hci_recv_from_llc() 899 pipe = packet->header; in nfc_hci_recv_from_llc() 900 instruction = HCP_MSG_GET_CMD(packet->message.header); in nfc_hci_recv_from_llc()
|
/linux-4.4.14/Documentation/networking/ |
D | ipsec.txt | 5 1. IPcomp: Small IP packet won't get compressed at sender, and failed on 28 when sending non-compressed packet to the peer(whether or not packet len 30 packet len), the packet is dropped when checking the policy as this packet 32 security path. Such naked packet will not eventually make it to upper layer. 37 above scenario. The consequence of doing so is small packet(uncompressed)
|
D | tc-actions-env-rules.txt | 4 1) If you stealeth or borroweth any packet thou shalt be branching 7 For example if your action queues a packet to be processed later, 8 or intentionally branches by redirecting a packet, then you need to 9 clone the packet. 11 2) If you munge any packet thou shalt call pskb_expand_head in the case
|
D | openvswitch.txt | 5 flow-level packet processing on selected network devices. It can be 14 on packet headers and metadata to sets of actions. The most common 15 action forwards the packet to another vport; other actions are also 18 When a packet arrives on a vport, the kernel module processes it by 21 no match, it queues the packet to userspace for processing (as part of 39 kernel module passes a packet to userspace, it also passes along the 40 flow key that it parsed from the packet. Userspace then extracts its 41 own notion of a flow key from the packet and compares it against the 44 - If userspace's notion of the flow key for the packet matches the 57 forward the packet manually, without setting up a flow in the [all …]
|
D | udplite.txt | 65 Of each packet only the first 20 bytes (plus the pseudo-header) will be 117 assumes full coverage, transmits a packet with coverage length of 0 120 if the specified coverage length exceeds the packet length, the packet 127 always wants the whole of the packet covered. In this case, all 166 UDP-Lite packet is split into several IP packets, of which only the 180 The coverage packet covers the UDP-Lite header and 848 bytes of the 181 payload in the first packet, the second packet is fully covered. Note 182 that for the second packet, the coverage length exceeds the packet 183 length. The kernel always re-adjusts the coverage length to the packet 186 As an example of what happens when one UDP-Lite packet is split into [all …]
|
D | timestamping.txt | 7 Generates a timestamp for each incoming packet in (not necessarily 17 reading the looped packet receive timestamp. 70 are generated just after a device driver hands a packet to the 79 prior to, passing the packet to the network interface. Hence, they 83 Request tx timestamps prior to entering the packet scheduler. Kernel 90 machines with virtual devices where a transmitted packet travels 91 through multiple devices and, hence, multiple packet schedulers, 129 Generate a unique identifier along with each packet. A process can 131 can be reordered in the transmit path, for instance in the packet 137 This option associates each packet at send() with a unique [all …]
|
D | scaling.txt | 26 applying a filter to each packet that assigns it to one of a small number 36 IP addresses and TCP ports of a packet. The most common hardware 38 stores a queue number. The receive queue for a packet is determined 40 packet (usually a Toeplitz hash), taking this number as a key into the 73 an IRQ may be handled on any CPU. Because a non-negligible part of packet 106 above the interrupt handler. This is accomplished by placing the packet 114 a driver sends a packet up the network stack with netif_rx() or 116 selects the queue that should process a packet. 119 flow hash over the packet’s addresses or ports (2-tuple or 4-tuple hash 121 associated flow of the packet. The hash is either provided by hardware [all …]
|
D | x25-iface.txt | 73 The X.25 packet layer protocol depends on a reliable datalink service. 77 - With Linux 2.4.x (and above) SMP kernels, packet ordering is not 84 The X.25 packet layer protocol will detect this and reset the virtual 96 The probability of packet loss due to backlog congestion can be 103 This will reliably suppress packet loss. The LAPB protocol will 104 automatically cause the peer to re-transmit the dropped packet 117 This will not reliably avoid packet loss, but the probability 118 of packet loss in netif_rx() path will be significantly reduced.
|
D | ip_dynaddr.txt | 4 dynamically changing packet source address (and socket's if local procs). 8 1) Socket (and packet) source address is rewritten ON RETRANSMISSIONS 11 internal host does retransmission) until a packet from outside is
|
D | secid.txt | 8 the incoming packet this flow is being generated as a response to (e.g. tcp 14 associations, if any, used by the packet.
|
D | mac80211-injection.txt | 1 How to use packet injection with mac80211 5 interface from userland. The packet you inject needs to be composed in the 54 After composing the packet contents, it is sent by send()-ing it to a logical
|
D | policy-routing.txt | 43 translate packet source address. 45 masquerade packet as sourced by us. 46 RTP_DROP - silently drop the packet. 47 RTP_REJECT - drop the packet and send ICMP NET UNREACHABLE. 48 RTP_PROHIBIT - drop the packet and send ICMP COMM. ADM. PROHIBITED.
|
D | packet_mmap.txt | 26 capture each packet, it requires two if you want to get packet's timestamp 35 also has the benefit of minimizing packet copies. 388 - Gap, chosen so that packet data (Start+tp_net) aligns to 450 larger than tp_frame_size. This packet can be 461 TP_STATUS_LOSING : indicates there were packet drops from last time 467 reading the packet we should not try to check the 471 header checksum of the packet has been already 482 receives a packet it puts in the buffer and updates the status with 483 at least the TP_STATUS_USER flag. Then the user can read the packet, 484 once the packet is read the user must zero the status field, so the kernel [all …]
|
D | tuntap.txt | 13 TUN/TAP provides packet reception and transmission for user space programs. 88 * IFF_NO_PI - Do not provide packet information 136 * IFF_NO_PI - Do not provide packet information 208 the kernel sends an IPX packet to tap0, it is passed to the application 211 and decrypts the data received and writes the packet to the TAP device, 212 the kernel handles the packet like it came from real physical device. 221 BPF is an advanced packet filter. It can be attached to existing
|
D | ipvs-sysctl.txt | 23 in backup mode to avoid packet loops for DR/TUN methods. 83 10 - IPVS packet transmission 84 11 - IPVS packet handling (ip_vs_in/ip_vs_out) 85 12 or more - packet traversal 138 connection immediately when a packet arrives and its 208 of a packet originating from a director is routed differently to a 209 packet being forwarded by the director.
|
D | pktgen.txt | 3 HOWTO for the linux packet generator 119 pgset "clone_skb 1" sets the number of copies of the same packet 122 packet and update HW tx queue tail pointer once. 124 pgset "pkt_size 9014" sets packet size to 9014 125 pgset "frags 5" packet will consist of 5 fragments 169 pgset spi SPI_VALUE Set specific SA used to transform packet. 231 -s : ($PKT_SIZE) packet size
|
D | xfrm_sync.txt | 18 Because the above items change for every packet the SA receives, 30 is not driven by packet arrival. 117 in incremental packet count. The default is two packets. 165 The first packet arrival after a timer expiry will trigger a timeout 166 aevent; i.e we dont wait for a timeout period or a packet threshold
|
D | rxrpc.txt | 131 flag in the packet. The number of packets of data making up one blob may 138 initiated by the first data packet on it arriving. If security is 155 (*) Reception of a reply data packet implicitly hard-ACK's all the data 159 received and the final hard-ACK on the last packet of the reply has 275 in the keyring and then sends a challenge packet to the client and 276 receives a response packet. The kernel then checks the authorisation of 277 the packet and either aborts the connection or sets up the security. 428 Encrypted checksum plus packet padded and first eight bytes of packet 429 encrypted - which includes the actual packet length. 433 Encrypted checksum plus entire packet padded and encrypted, including [all …]
|
D | dccp.txt | 56 a higher packet priority (similar to SO_PRIORITY). This ancillary data needs to 67 lowest-priority packet first. The default value for this parameter is 78 DCCP_SOCKOPT_GET_CUR_MPS is read-only and retrieves the current maximum packet 109 always cover the entire packet and that only fully covered application data is 134 via shutdown (SHUT_WR or SHUT_RD): this will reduce per-packet processing costs. 156 The number of times a general DCCP packet is retransmitted. This has
|
D | ppp_generic.txt | 16 * packet compression and decompression 19 * simple packet filtering 151 transmit queue for the unit will contain at most one packet; the 156 The start_xmit function always accepts and queues the packet which it 160 then subjected to TCP/IP header compression and packet compression 166 If multilink is not in use, this packet is then passed to the attached 168 the packet, the generic layer saves it for later transmission. The 175 If multilink is in use, the generic layer divides the packet into one 177 decides how many fragments to use based on the length of the packet 359 * PPPIOCSCOMPRESS sets the parameters for packet compression or [all …]
|
D | 00-INDEX | 140 - HOWTO use packet injection with mac80211 164 - User guide to memory mapped packet socket rings (PACKET_[RT]X_RING). 166 - The Phonet packet protocol used in Nokia cellular modems. 170 - User guide to the kernel packet generator (pktgen.ko). 206 - overview of network packet timestamping variants.
|
D | netif-msg.txt | 26 5 Tx packet queue information, interrupt events. 27 6 Status on each completed Tx packet and received Rx packets
|
D | ixgbe.txt | 109 frames are generated when the receive packet buffer crosses a predefined 175 Flow Director allocated packet buffer size. 182 Software ATR Tx packet sample rate. For example, when set to 20, every 20th 183 packet, looks to see if the packet will create a new flow. 289 When a malicious driver attempts to send a spoofed packet, it is dropped by 293 When a spoofed packet is detected the PF driver will send the following
|
D | switchdev.txt | 267 update ingress packet filter list for the port. For example, if port is 272 so packet filters should be applied consistently across untagged and tagged 281 vlan L2 domain, can program the switch device for flooding. The packet may 283 bridge should not reflood the packet to the same ports the device flooded, 286 To avoid duplicate packets, the device/driver should mark a packet as already 291 understanding that the device already forwarded the packet on same egress port. 316 forwards the packet to the matching FIB entry's nexthop(s) egress ports. 365 the switch device to forward the packet with the correct dst mac address, the
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
D | if_spi.c | 84 struct if_spi_packet *packet; in free_if_spi_card() local 87 packet = container_of(cursor, struct if_spi_packet, list); in free_if_spi_card() 88 list_del(&packet->list); in free_if_spi_card() 89 kfree(packet); in free_if_spi_card() 92 packet = container_of(cursor, struct if_spi_packet, list); in free_if_spi_card() 93 list_del(&packet->list); in free_if_spi_card() 94 kfree(packet); in free_if_spi_card() 803 struct if_spi_packet *packet, int type) in if_spi_h2c() argument 826 err = spu_write(card, port_reg, packet->buffer, packet->blen); in if_spi_h2c() 831 kfree(packet); in if_spi_h2c() [all …]
|
D | if_sdio.c | 421 struct if_sdio_packet *packet; in if_sdio_host_to_card_worker() local 431 packet = card->packets; in if_sdio_host_to_card_worker() 432 if (packet) in if_sdio_host_to_card_worker() 433 card->packets = packet->next; in if_sdio_host_to_card_worker() 436 if (!packet) in if_sdio_host_to_card_worker() 444 packet->buffer, packet->nb); in if_sdio_host_to_card_worker() 452 kfree(packet); in if_sdio_host_to_card_worker() 947 struct if_sdio_packet *packet, *cur; in if_sdio_host_to_card() local 967 packet = kzalloc(sizeof(struct if_sdio_packet) + size, in if_sdio_host_to_card() 969 if (!packet) { in if_sdio_host_to_card() [all …]
|
/linux-4.4.14/drivers/net/usb/ |
D | lg-vl600.c | 113 struct vl600_pkt_hdr *packet; in vl600_rx_fixup() local 175 if (buf->len < sizeof(*packet)) { in vl600_rx_fixup() 180 packet = (struct vl600_pkt_hdr *) buf->data; in vl600_rx_fixup() 181 packet_len = sizeof(*packet) + le32_to_cpup(&packet->len); in vl600_rx_fixup() 253 struct vl600_pkt_hdr *packet; in vl600_tx_fixup() local 298 packet = (struct vl600_pkt_hdr *) skb->data; in vl600_tx_fixup() 303 packet->h_proto = htons(ETH_P_IP); in vl600_tx_fixup() 304 memset(&packet->dummy, 0, sizeof(packet->dummy)); in vl600_tx_fixup() 305 packet->len = cpu_to_le32(orig_len); in vl600_tx_fixup()
|
D | gl620a.c | 82 struct gl_packet *packet; in genelink_rx_fixup() local 103 packet = &header->packets; in genelink_rx_fixup() 110 size = le32_to_cpu(packet->packet_length); in genelink_rx_fixup() 125 packet->packet_data, size); in genelink_rx_fixup() 130 packet = (struct gl_packet *)&packet->packet_data[size]; in genelink_rx_fixup()
|
/linux-4.4.14/Documentation/netlabel/ |
D | lsm_interface.txt | 11 use of a common code base for several different packet labeling protocols. 17 Since NetLabel supports multiple different packet labeling protocols and LSMs 18 it uses the concept of security attributes to refer to the packet's security 22 low-level packet label depending on the NetLabel build time and run time 37 Depending on the exact configuration, translation between the network packet 41 LSM has received a packet, used NetLabel to decode its security attributes, 44 identifier with the network packet's label. This means that in the future 45 when a incoming packet matches a cached value not only are the internal
|
D | cipso_ipv4.txt | 23 configured to use CIPSO for packet labeling then a CIPSO IP option will be 30 to decode and translate the CIPSO label on the packet the LSM must use the 31 NetLabel security module API to extract the security attributes of the packet.
|
/linux-4.4.14/drivers/w1/ |
D | w1_netlink.c | 217 } packet; in w1_netlink_send_error() local 218 memcpy(&packet.cn, cn, sizeof(packet.cn)); in w1_netlink_send_error() 219 memcpy(&packet.msg, msg, sizeof(packet.msg)); in w1_netlink_send_error() 220 packet.cn.len = sizeof(packet.msg); in w1_netlink_send_error() 221 packet.msg.len = 0; in w1_netlink_send_error() 222 packet.msg.status = (u8)-error; in w1_netlink_send_error() 223 cn_netlink_send(&packet.cn, portid, 0, GFP_KERNEL); in w1_netlink_send_error() 238 } packet; in w1_netlink_send() local 239 memset(&packet, 0, sizeof(packet)); in w1_netlink_send() 241 packet.cn.id.idx = CN_W1_IDX; in w1_netlink_send() [all …]
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | Kconfig | 41 chain type is used to force packet re-routing after mangling header 43 the packet mark. 51 tristate "IPv6 nf_tables packet duplication support" 55 This module enables IPv6 packet duplication support for nf_tables. 61 tristate "Netfilter IPv6 packet duplication to alternate destination" 65 packet to be rerouted to another destination. 68 tristate "IPv6 packet rejection" 72 tristate "IPv6 packet logging" 94 packet transformations such as the source, destination address and 129 ip6tables is a general, extensible packet identification framework. [all …]
|
/linux-4.4.14/drivers/net/arcnet/ |
D | Kconfig | 24 tristate "Enable standard ARCNet packet format (RFC 1201)" 29 packet driver or most DOS/Windows ODI drivers. Please read the 34 tristate "Enable old ARCNet packet format (RFC 1051)" 39 arcnet.com packet driver, Amigas running AmiTCP, and some variants 42 packet driver or most DOS/Windows ODI drivers. RFC1201 is included 48 tristate "Enable raw mode packet interface" 50 ARCnet "raw mode" packet encapsulation, no soft headers. Unlikely 55 tristate "Enable CAP mode packet interface" 57 ARCnet "cap mode" packet encapsulation. Used to get the hardware 59 packet is stuffed with an extra 4 byte "cookie" which doesn't [all …]
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | Kconfig | 52 chain type is used to force packet re-routing after mangling header 54 the packet mark. 62 tristate "IPv4 nf_tables packet duplication support" 66 This module enables IPv4 packet duplication support for nf_tables. 78 tristate "Netfilter IPv4 packet duplication to alternate destination" 82 packet to be rerouted to another destination. 85 tristate "ARP packet logging" 90 tristate "IPv4 packet logging" 95 tristate "IPv4 packet rejection" 116 packet transformations such as the source, destination address and [all …]
|
/linux-4.4.14/fs/udf/ |
D | partition.c | 119 uint32_t packet; in udf_get_pblock_spar15() local 124 packet = (block + offset) & ~(sdata->s_packet_len - 1); in udf_get_pblock_spar15() 140 else if (origLoc == packet) in udf_get_pblock_spar15() 144 else if (origLoc > packet) in udf_get_pblock_spar15() 157 uint32_t packet; in udf_relocate_blocks() local 170 packet = (old_block - map->s_partition_root) & in udf_relocate_blocks() 201 cpu_to_le32(packet); in udf_relocate_blocks() 216 } else if (origLoc == packet) { in udf_relocate_blocks() 224 } else if (origLoc > packet) in udf_relocate_blocks() 243 cpu_to_le32(packet); in udf_relocate_blocks()
|
D | Kconfig | 9 written in packet mode, or if you want to use UDF for removable USB
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_mipi_dsi.c | 323 int mipi_dsi_create_packet(struct mipi_dsi_packet *packet, in mipi_dsi_create_packet() argument 326 if (!packet || !msg) in mipi_dsi_create_packet() 337 memset(packet, 0, sizeof(*packet)); in mipi_dsi_create_packet() 338 packet->header[0] = ((msg->channel & 0x3) << 6) | (msg->type & 0x3f); in mipi_dsi_create_packet() 350 packet->header[1] = (msg->tx_len >> 0) & 0xff; in mipi_dsi_create_packet() 351 packet->header[2] = (msg->tx_len >> 8) & 0xff; in mipi_dsi_create_packet() 353 packet->payload_length = msg->tx_len; in mipi_dsi_create_packet() 354 packet->payload = msg->tx_buf; in mipi_dsi_create_packet() 358 packet->header[1] = (msg->tx_len > 0) ? tx[0] : 0; in mipi_dsi_create_packet() 359 packet->header[2] = (msg->tx_len > 1) ? tx[1] : 0; in mipi_dsi_create_packet() [all …]
|
/linux-4.4.14/drivers/hwtracing/stm/ |
D | dummy_stm.c | 26 unsigned int channel, unsigned int packet, unsigned int flags, in dummy_stm_packet() argument 38 packet, size, pl); in dummy_stm_packet() 48 .packet = dummy_stm_packet,
|
/linux-4.4.14/fs/ncpfs/ |
D | ncpsign_kernel.c | 95 void __sign_packet(struct ncp_server *server, const char *packet, size_t size, __u32 totalsize, voi… in __sign_packet() argument 101 memcpy(data + 12, packet, size); in __sign_packet() 104 memcpy(data + 12, packet, 52); in __sign_packet() 110 int sign_verify_reply(struct ncp_server *server, const char *packet, size_t size, __u32 totalsize, … in sign_verify_reply() argument 117 memcpy(data + 12, packet, size); in sign_verify_reply() 120 memcpy(data + 12, packet, 52); in sign_verify_reply()
|
D | sock.c | 712 req->tx_iov[1].iov_base = server->packet; in do_ncp_rpc_call() 716 req->tx_type = *(u_int16_t*)server->packet; in do_ncp_rpc_call() 801 h = (struct ncp_request_header *) (server->packet); in ncp_request2() 839 h = (struct ncp_request_header *) (server->packet); in ncp_connect() 844 result = ncp_do_request(server, sizeof(*h), server->packet, server->packet_size); in ncp_connect() 857 h = (struct ncp_request_header *) (server->packet); in ncp_disconnect() 862 return ncp_do_request(server, sizeof(*h), server->packet, server->packet_size); in ncp_disconnect()
|
D | ncplib_kernel.c | 26 *(__u8 *) (&(server->packet[server->current_size])) = x; in ncp_add_byte() 34 put_unaligned(x, (__le16 *) (&(server->packet[server->current_size]))); in ncp_add_word() 42 put_unaligned(cpu_to_be16(x), (__be16 *) (&(server->packet[server->current_size]))); in ncp_add_be16() 49 put_unaligned(x, (__le32 *) (&(server->packet[server->current_size]))); in ncp_add_dword() 57 put_unaligned(cpu_to_be32(x), (__be32 *)(&(server->packet[server->current_size]))); in ncp_add_be32() 68 memcpy(&(server->packet[server->current_size]), source, size); in ncp_add_mem() 107 return &(server->packet[sizeof(struct ncp_reply_header) + offset]); in ncp_reply_data()
|
/linux-4.4.14/fs/autofs4/ |
D | waitq.c | 148 struct autofs_v5_packet *packet = &pkt.v5_pkt.v5_packet; in autofs4_notify_daemon() local 151 pktsz = sizeof(*packet); in autofs4_notify_daemon() 153 packet->wait_queue_token = wq->wait_queue_token; in autofs4_notify_daemon() 154 packet->len = wq->name.len; in autofs4_notify_daemon() 155 memcpy(packet->name, wq->name.name, wq->name.len); in autofs4_notify_daemon() 156 packet->name[wq->name.len] = '\0'; in autofs4_notify_daemon() 157 packet->dev = wq->dev; in autofs4_notify_daemon() 158 packet->ino = wq->ino; in autofs4_notify_daemon() 159 packet->uid = from_kuid_munged(user_ns, wq->uid); in autofs4_notify_daemon() 160 packet->gid = from_kgid_munged(user_ns, wq->gid); in autofs4_notify_daemon() [all …]
|
/linux-4.4.14/drivers/usb/serial/ |
D | ssu100.c | 504 char *packet = (char *)urb->transfer_buffer; in ssu100_process_read_urb() local 511 (packet[0] == 0x1b) && (packet[1] == 0x1b) && in ssu100_process_read_urb() 512 ((packet[2] == 0x00) || (packet[2] == 0x01))) { in ssu100_process_read_urb() 513 if (packet[2] == 0x00) in ssu100_process_read_urb() 514 ssu100_update_lsr(port, packet[3], &flag); in ssu100_process_read_urb() 515 if (packet[2] == 0x01) in ssu100_process_read_urb() 516 ssu100_update_msr(port, packet[3]); in ssu100_process_read_urb() 519 ch = packet + 4; in ssu100_process_read_urb() 521 ch = packet; in ssu100_process_read_urb()
|
D | aircable.c | 123 int has_headers, char *packet, int len) in aircable_process_packet() argument 127 packet += HCI_HEADER_LENGTH; in aircable_process_packet() 134 tty_insert_flip_string(&port->port, packet, len); in aircable_process_packet()
|
/linux-4.4.14/net/batman-adv/ |
D | fragmentation.c | 255 struct batadv_frag_packet *packet; in batadv_frag_merge_packets() local 268 packet = (struct batadv_frag_packet *)skb_out->data; in batadv_frag_merge_packets() 269 size = ntohs(packet->total_size); in batadv_frag_merge_packets() 356 struct batadv_frag_packet *packet; in batadv_frag_skb_fwd() local 360 packet = (struct batadv_frag_packet *)skb->data; in batadv_frag_skb_fwd() 361 orig_node_dst = batadv_orig_hash_find(bat_priv, packet->dest); in batadv_frag_skb_fwd() 372 total_size = ntohs(packet->total_size); in batadv_frag_skb_fwd() 378 packet->ttl--; in batadv_frag_skb_fwd()
|
D | network-coding.c | 1497 struct batadv_unicast_packet *packet; in batadv_nc_skb_forward() local 1509 packet = (struct batadv_unicast_packet *)payload; in batadv_nc_skb_forward() 1510 if (packet->packet_type != BATADV_UNICAST) in batadv_nc_skb_forward() 1527 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet)); in batadv_nc_skb_forward() 1550 struct batadv_unicast_packet *packet; in batadv_nc_skb_store_for_decoding() local 1562 packet = (struct batadv_unicast_packet *)payload; in batadv_nc_skb_store_for_decoding() 1563 if (packet->packet_type != BATADV_UNICAST) in batadv_nc_skb_store_for_decoding() 1587 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet)); in batadv_nc_skb_store_for_decoding()
|
/linux-4.4.14/Documentation/ |
D | dell_rbu.txt | 23 would place each packet in contiguous physical memory. The driver also 44 In case of packet mechanism the single memory can be broken in smaller chunks 49 parameter image_type=packet. This can also be changed later as below 50 echo packet > /sys/devices/platform/dell_rbu/image_type 52 In packet update mode the packet size has to be given before any packets can 55 In the packet update mechanism, the user needs to create a new file having 60 packet, the user needs to create more such packets out of the entire BIOS 81 Also echoing either mono, packet or init in to image_type will free up the
|
D | IRQ-affinity.txt | 32 6029 packets transmitted, 6027 packets received, 0% packet loss 49 2779 packets transmitted, 2777 packets received, 0% packet loss
|
/linux-4.4.14/drivers/media/usb/ttusb-dec/ |
D | ttusb_dec.c | 131 u8 packet[MAX_PVA_LENGTH + 4]; member 516 static void ttusb_dec_process_filter(struct ttusb_dec *dec, u8 *packet, in ttusb_dec_process_filter() argument 525 sid = packet[1]; in ttusb_dec_process_filter() 538 filter->feed->cb.sec(&packet[2], length - 2, NULL, 0, in ttusb_dec_process_filter() 554 csum ^= ((dec->packet[i] << 8) + dec->packet[i + 1]); in ttusb_dec_process_packet() 561 packet_id = dec->packet[dec->packet_length - 4] << 8; in ttusb_dec_process_packet() 562 packet_id += dec->packet[dec->packet_length - 3]; in ttusb_dec_process_packet() 577 ttusb_dec_process_pva(dec, dec->packet, in ttusb_dec_process_packet() 583 ttusb_dec_process_filter(dec, dec->packet, in ttusb_dec_process_packet() 631 dec->packet[dec->packet_length++] = *b++; in ttusb_dec_process_urb_frame() [all …]
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | tv8532.c | 33 __u8 packet; member 251 sd->packet = 0; /* ignore the first packets */ in sd_start() 271 sd->packet = gspca_dev->pixfmt.height / 2; in sd_pkt_scan() 273 } else if (sd->packet == 0) in sd_pkt_scan() 275 sd->packet--; in sd_pkt_scan() 276 if (sd->packet == 0) in sd_pkt_scan()
|
D | se401.c | 66 u8 packet[PACKET_SIZE]; member 502 memcpy(&sd->packet[sd->packet_read], &data[i], count); in sd_pkt_scan_janggu() 508 bits = sd->packet[3] + (sd->packet[2] << 8); in sd_pkt_scan_janggu() 509 pixels = sd->packet[1] + ((sd->packet[0] & 0x3f) << 8); in sd_pkt_scan_janggu() 510 info = (sd->packet[0] & 0xc0) >> 6; in sd_pkt_scan_janggu() 527 memcpy(&sd->packet[sd->packet_read], &data[i], count); in sd_pkt_scan_janggu() 538 gspca_frame_add(gspca_dev, INTER_PACKET, sd->packet, in sd_pkt_scan_janggu() 547 sd_complete_frame(gspca_dev, sd->packet, plen); in sd_pkt_scan_janggu() 550 gspca_frame_add(gspca_dev, FIRST_PACKET, sd->packet, in sd_pkt_scan_janggu()
|
/linux-4.4.14/net/sched/ |
D | Kconfig | 15 If you say N here, you will get the standard packet scheduler, which 37 to read status information about packet schedulers from the file 50 Say Y here if you want to use the Class-Based Queueing (CBQ) packet 68 packet scheduling algorithm. See 82 (HFSC) packet scheduling algorithm. 104 Say Y here if you want to use an n-band priority queue packet 113 Say Y here if you want to use an n-band queue packet scheduler 123 packet scheduling algorithm. 134 packet scheduling algorithm. 145 packet scheduling algorithm. [all …]
|
/linux-4.4.14/drivers/gpu/drm/i2c/ |
D | adv7511.c | 196 static int adv7511_packet_enable(struct adv7511 *adv7511, unsigned int packet) in adv7511_packet_enable() argument 198 if (packet & 0xff) in adv7511_packet_enable() 200 packet, 0xff); in adv7511_packet_enable() 202 if (packet & 0xff00) { in adv7511_packet_enable() 203 packet >>= 8; in adv7511_packet_enable() 205 packet, 0xff); in adv7511_packet_enable() 211 static int adv7511_packet_disable(struct adv7511 *adv7511, unsigned int packet) in adv7511_packet_disable() argument 213 if (packet & 0xff) in adv7511_packet_disable() 215 packet, 0x00); in adv7511_packet_disable() 217 if (packet & 0xff00) { in adv7511_packet_disable() [all …]
|
/linux-4.4.14/sound/pci/oxygen/ |
D | xonar_dg.c | 70 unsigned int packet; in cs4245_write_spi() local 72 packet = reg << 8; in cs4245_write_spi() 73 packet |= (CS4245_SPI_ADDRESS | CS4245_SPI_WRITE) << 16; in cs4245_write_spi() 74 packet |= data->cs4245_shadow[reg]; in cs4245_write_spi() 81 packet); in cs4245_write_spi()
|
/linux-4.4.14/Documentation/blockdev/drbd/ |
D | node-states-8.dot | 7 Secondary -> Primary [ label = "recv state packet" ] 8 Primary -> Secondary [ label = "recv state packet" ]
|
/linux-4.4.14/fs/ocfs2/dlm/ |
D | dlmdomain.c | 789 static void dlm_query_join_packet_to_wire(struct dlm_query_join_packet *packet, in dlm_query_join_packet_to_wire() argument 794 response.packet = *packet; in dlm_query_join_packet_to_wire() 799 struct dlm_query_join_packet *packet) in dlm_query_join_wire_to_packet() argument 804 *packet = response.packet; in dlm_query_join_wire_to_packet() 811 struct dlm_query_join_packet packet = { in dlm_query_join_handler() local 832 packet.code = JOIN_DISALLOW; in dlm_query_join_handler() 836 packet.code = JOIN_OK_NO_MAP; in dlm_query_join_handler() 855 packet.code = JOIN_DISALLOW; in dlm_query_join_handler() 875 packet.code = JOIN_OK_NO_MAP; in dlm_query_join_handler() 878 packet.code = JOIN_DISALLOW; in dlm_query_join_handler() [all …]
|
/linux-4.4.14/drivers/input/serio/ |
D | hil_mlc.c | 447 { HILSE_OUT, { .packet = pack }, 0, HILSEN_NEXT, HILSEN_DOZE, 0 }, 449 { HILSE_CTS, { .packet = 0 }, 0, HILSEN_NEXT | HILSEN_SCHED | HILSEN_BREAK, HILSEN_DOZE, 0 }, 451 { HILSE_EXPECT, { .packet = comp }, to, got, got_wrong, timed_out }, 453 { HILSE_EXPECT_LAST, { .packet = comp }, to, got, got_wrong, timed_out }, 455 { HILSE_EXPECT_DISC, { .packet = comp }, to, got, got_wrong, timed_out }, 457 { HILSE_IN, { .packet = 0 }, to, got, got_error, timed_out }, 459 { HILSE_OUT_DISC, { .packet = pack }, 0, 0, 0, 0 }, 461 { HILSE_OUT_LAST, { .packet = pack }, 0, 0, 0, 0 }, 590 mlc->imatch = node->object.packet; in hilse_setup_input() 594 mlc->imatch = node->object.packet; in hilse_setup_input() [all …]
|
/linux-4.4.14/Documentation/cdrom/ |
D | 00-INDEX | 9 packet-writing.txt 10 - Info on the CDRW packet writing module
|
/linux-4.4.14/drivers/firmware/ |
D | raspberrypi.c | 169 u32 packet; in rpi_firmware_print_firmware_revision() local 172 &packet, sizeof(packet)); in rpi_firmware_print_firmware_revision() 177 time_to_tm(packet, 0, &tm); in rpi_firmware_print_firmware_revision()
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
D | ipw2100.c | 733 struct ipw2100_tx_packet *packet; in ipw2100_hw_send_command() local 776 packet = list_entry(element, struct ipw2100_tx_packet, list); in ipw2100_hw_send_command() 777 packet->jiffy_start = jiffies; in ipw2100_hw_send_command() 780 packet->info.c_struct.cmd->host_command_reg = cmd->host_command; in ipw2100_hw_send_command() 781 packet->info.c_struct.cmd->host_command_reg1 = cmd->host_command1; in ipw2100_hw_send_command() 782 packet->info.c_struct.cmd->host_command_len_reg = in ipw2100_hw_send_command() 784 packet->info.c_struct.cmd->sequence = cmd->host_command_sequence; in ipw2100_hw_send_command() 786 memcpy(packet->info.c_struct.cmd->host_command_params_reg, in ipw2100_hw_send_command() 788 sizeof(packet->info.c_struct.cmd->host_command_params_reg)); in ipw2100_hw_send_command() 2304 struct ipw2100_rx_packet *packet) in ipw2100_alloc_skb() argument [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
D | memx.fuc | 80 // $r4 - packet length 124 // $r4 - packet length 167 // $r4 - packet length 205 // $r4 - packet length 218 // $r4 - packet length 235 // $r4 - packet length 255 // $r4 - packet length 268 // $r4 - packet length 375 // fetch the packet header
|
/linux-4.4.14/net/decnet/ |
D | Kconfig | 9 packet communications over which run a variety of services similar 35 network link driver", "Routing messages" and "Network packet 38 from <ftp://ftp.tux.org/pub/net/ip-routing/>). The "Network packet
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_selftest.c | 53 unsigned char *packet; in mlx4_en_test_loopback_xmit() local 67 packet = (unsigned char *)skb_put(skb, packet_size); in mlx4_en_test_loopback_xmit() 73 packet[i] = (unsigned char)(i & 0xff); in mlx4_en_test_loopback_xmit()
|
/linux-4.4.14/Documentation/ABI/stable/ |
D | firewire-cdev | 27 - PHY packet transmission and reception 48 - PHY packet transmission and reception 73 request reception, or PHY packet reception. Always use a read 83 size, i.e. number of packets times size of largest packet, 88 Isochronous reception works in packet-per-buffer fashion except
|
/linux-4.4.14/drivers/input/keyboard/ |
D | hil_kbd.c | 278 hil_packet packet; in hil_dev_interrupt() local 292 packet = dev->data[idx]; in hil_dev_interrupt() 293 packet |= ((hil_packet)data) << ((3 - (dev->idx4 % 4)) * 8); in hil_dev_interrupt() 294 dev->data[idx] = packet; in hil_dev_interrupt() 298 if ((packet & 0xffff0000) != HIL_ERR_INT) { in hil_dev_interrupt() 300 } else if (packet & HIL_PKT_CMD) { in hil_dev_interrupt() 301 if (hil_dev_is_command_response(packet)) in hil_dev_interrupt()
|
/linux-4.4.14/drivers/tty/ |
D | pty.c | 56 tty->packet = 0; in pty_close() 180 if (!tty->packet) { in pty_set_pktmode() 183 tty->packet = 1; in pty_set_pktmode() 186 tty->packet = 0; in pty_set_pktmode() 195 int pktmode = tty->packet; in pty_get_pktmode() 229 if (to->packet) { in pty_flush_buffer() 263 if (tty->link && tty->link->packet) { in pty_set_termios() 344 if (tty->link && tty->link->packet) { in pty_start() 357 if (tty->link && tty->link->packet) { in pty_stop()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-pko.h | 423 union cvmx_buf_ptr packet, in cvmx_pko_send_packet_finish() argument 431 pko_command.u64, packet.u64); in cvmx_pko_send_packet_finish() 466 union cvmx_buf_ptr packet, in cvmx_pko_send_packet_finish3() argument 475 pko_command.u64, packet.u64, addr); in cvmx_pko_send_packet_finish3()
|
/linux-4.4.14/drivers/input/joystick/iforce/ |
D | iforce-packets.c | 247 int iforce_get_id_packet(struct iforce *iforce, char *packet) in iforce_get_id_packet() argument 255 iforce->cr.bRequest = packet[0]; in iforce_get_id_packet() 285 iforce_send_packet(iforce, FF_CMD_QUERY, packet); in iforce_get_id_packet() 307 return -(iforce->edata[0] != packet[0]); in iforce_get_id_packet()
|
/linux-4.4.14/net/ |
D | Kconfig | 53 source "net/packet/Kconfig" 110 bool "Network packet filtering framework (Netfilter)" 115 The most common use of packet filtering is to run your Linux box as 117 firewall provided by this kernel support is called a "packet 123 protocols, which a packet filter lacks. Moreover, proxy-based 126 they are often combined with a packet filter, which only works if 151 a bridge with Network packet filtering enabled makes iptables "see" 157 masquerading (ipmasqadm), packet filtering (ipchains), transparent 165 bool "Network packet filtering debugging" 285 packet sniffing (libpcap/tcpdump). Note : Admin should enable [all …]
|
/linux-4.4.14/Documentation/usb/ |
D | error-codes.txt | 50 (b) ISO packet is larger than the endpoint maxpacket. 64 -ENOEXEC A control URB doesn't contain a Setup packet. 96 b) no response packet received within the 101 b) no response packet received within the 111 -ETIME (**) No response packet received within the prescribed 131 greater than either the max packet size of the
|
/linux-4.4.14/drivers/net/wireless/ |
D | at76c50x-usb.h | 162 #define AT76_RX_HDRLEN offsetof(struct at76_rx_buffer, packet) 173 u8 packet[IEEE80211_MAX_FRAG_THRESHOLD]; member 177 #define AT76_TX_HDRLEN offsetof(struct at76_tx_buffer, packet) 184 u8 packet[IEEE80211_MAX_FRAG_THRESHOLD]; member
|
/linux-4.4.14/drivers/usb/host/ |
D | ehci-sched.c | 1225 struct ehci_iso_packet *uframe = &iso_sched->packet [i]; in itd_sched_init() 1715 struct ehci_iso_packet *uf = &iso_sched->packet [index]; in itd_patch() 1772 int packet; in itd_link_urb() local 1791 for (packet = iso_sched->first_packet, itd = NULL; in itd_link_urb() 1792 packet < urb->number_of_packets;) { in itd_link_urb() 1810 itd_patch(ehci, itd, iso_sched, packet, uframe); in itd_link_urb() 1814 packet++; in itd_link_urb() 1818 || packet == urb->number_of_packets) { in itd_link_urb() 2025 struct ehci_iso_packet *packet = &iso_sched->packet [i]; in sitd_sched_init() local 2038 packet->transaction = cpu_to_hc32(ehci, trans); in sitd_sched_init() [all …]
|
D | fhci.h | 361 struct packet *pkt; 367 struct packet { struct 543 u32 fhci_host_transaction(struct fhci_usb *usb, struct packet *pkt, 559 void fhci_transaction_confirm(struct fhci_usb *usb, struct packet *pkt);
|
D | fhci-tds.c | 112 struct packet *pkt = cq_get(&ep->conf_frame_Q); in fhci_ep0_free() 122 struct packet *pkt = cq_get(&ep->empty_frame_Q); in fhci_ep0_free() 187 struct packet *pkt; in fhci_create_ep() 284 struct packet *pkt; in fhci_td_transaction_confirm() 382 struct packet *pkt, in fhci_host_transaction()
|
/linux-4.4.14/net/nfc/nci/ |
D | hci.c | 438 struct nci_hcp_packet *packet; in nci_hci_data_received_cb() local 451 packet = (struct nci_hcp_packet *)skb->data; in nci_hci_data_received_cb() 452 if ((packet->header & ~NCI_HCI_FRAGMENT) == 0) { in nci_hci_data_received_cb() 459 pipe = NCI_HCP_MSG_GET_PIPE(packet->header); in nci_hci_data_received_cb() 485 packet->header &= NCI_HCI_FRAGMENT; in nci_hci_data_received_cb() 493 packet = (struct nci_hcp_packet *)hcp_skb->data; in nci_hci_data_received_cb() 494 type = NCI_HCP_MSG_GET_TYPE(packet->message.header); in nci_hci_data_received_cb() 496 pipe = NCI_HCP_MSG_GET_PIPE(packet->header); in nci_hci_data_received_cb()
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
D | sth.c | 71 unsigned int channel, unsigned int packet, in sth_stm_packet() argument 88 switch (packet) { in sth_stm_packet() 217 sth->stm.packet = sth_stm_packet; in intel_th_sth_probe()
|
/linux-4.4.14/tools/testing/selftests/net/ |
D | psock_tpacket.c | 357 char packet[1024]; in walk_v1_v2_tx() local 388 create_payload(packet, &packet_len); in walk_v1_v2_tx() 402 sizeof(struct sockaddr_ll), packet, in walk_v1_v2_tx() 412 sizeof(struct sockaddr_ll), packet, in walk_v1_v2_tx() 437 while ((ret = recvfrom(rcv_sock, packet, sizeof(packet), in walk_v1_v2_tx() 441 test_payload(packet, ret); in walk_v1_v2_tx()
|
/linux-4.4.14/Documentation/devicetree/bindings/net/ |
D | keystone-netcp.txt | 6 switch sub-module to send and receive packets. NetCP also includes a packet 7 accelerator (PA) module to perform packet classification operations such as 8 header matching, and packet modification operations such as checksum 51 - dma-id: Navigator packet dma instance id. 92 - tx-channel: the navigator packet dma channel name for tx. 118 - rx-channel: the navigator packet dma channel name for rx.
|
D | fsl-fec.txt | 25 - fsl,magic-packet : If present, indicates that the hardware supports waking 26 up via magic packet.
|
D | opencores-ethoc.txt | 7 second is for the device packet memory.
|
D | fsl-tsec-phy.txt | 58 - fsl,magic-packet : If present, indicates that the hardware supports 59 waking up via magic packet. 63 certain packet types (user) defined by filer rules to wake up the system.
|
/linux-4.4.14/samples/pktgen/ |
D | README.rst | 1 Sample and benchmark scripts for pktgen (packet generator) 20 -s : ($PKT_SIZE) packet size
|
/linux-4.4.14/net/netfilter/ |
D | Kconfig | 52 Address Translation. It can also be used to enhance packet 371 Connection Tracking information together with the packet is 439 nftables is the new packet classification framework that intends to 475 to set packet metainformation such as the packet mark. 500 include packet and byte counters in a rule. 536 typical Network Address Translation (NAT) packet transformations. 586 "nfmark" value in the packet. 588 the netfilter mark (nfmark) field associated with the packet. 603 ctmark), similarly to the packet mark (nfmark). Using this 641 a packet that lacks a checksum. This is particularly useful, [all …]
|
/linux-4.4.14/net/openvswitch/ |
D | datapath.c | 549 struct sk_buff *packet; in ovs_packet_cmd_execute() local 566 packet = __dev_alloc_skb(NET_IP_ALIGN + len, GFP_KERNEL); in ovs_packet_cmd_execute() 568 if (!packet) in ovs_packet_cmd_execute() 570 skb_reserve(packet, NET_IP_ALIGN); in ovs_packet_cmd_execute() 572 nla_memcpy(__skb_put(packet, len), a[OVS_PACKET_ATTR_PACKET], len); in ovs_packet_cmd_execute() 574 skb_reset_mac_header(packet); in ovs_packet_cmd_execute() 575 eth = eth_hdr(packet); in ovs_packet_cmd_execute() 581 packet->protocol = eth->h_proto; in ovs_packet_cmd_execute() 583 packet->protocol = htons(ETH_P_802_2); in ovs_packet_cmd_execute() 588 packet->ignore_df = 1; in ovs_packet_cmd_execute() [all …]
|
D | Kconfig | 23 The Open vSwitch datapath provides an in-kernel fast path for packet 26 translate it into packet processing rules.
|
/linux-4.4.14/Documentation/scsi/ |
D | megaraid.txt | 59 The lower level drivers now understand only a new improved ioctl packet called 64 As new applications evolve and replace the old ones, the old packet format 67 Common module dedicates one uioc_t packet to each controller registered. This
|
D | hptiop.txt | 85 A request packet can be allocated in either IOP or host memory. 89 - Get a free request packet by reading the inbound queue port or 97 - Fill the packet. 99 - Post the packet to IOP by writing it to inbound queue. For requests
|
/linux-4.4.14/include/uapi/linux/ |
D | pg.h | 49 char packet[12]; /* packet command */ member
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-bus-intel_th-devices-gth | 29 Description: (RW) STP NULL packet generation: enabled (1) or disabled (0). 48 Description: (RW) STP sync packet frequency for the port. Specifies the
|
D | debugfs-pktcdvd | 10 The pktcdvd module (packet writing driver) creates
|
D | sysfs-class-net-queues | 7 Receive Packet Steering packet processing flow for this 41 Transmit Packet Steering packet processing flow for this
|
D | sysfs-class-net-cdc_ncm | 9 packet. NTBs shorter than this limit are transmitted 11 short USB packet. 15 packets. This reduces the number of short packet
|
/linux-4.4.14/drivers/isdn/sc/ |
D | Makefile | 9 sc-y := shmem.o init.o packet.o command.o event.o \
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
D | xt_statistic.h | 29 __u32 packet; member
|
/linux-4.4.14/include/net/sctp/ |
D | command.h | 137 struct sctp_packet *packet; member 178 SCTP_ARG_CONSTRUCTOR(PACKET, struct sctp_packet *, packet) in SCTP_ARG_CONSTRUCTOR()
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 885 struct mipi_dsi_packet packet; in dsi_cmd_dma_add() local 890 ret = mipi_dsi_create_packet(&packet, msg); in dsi_cmd_dma_add() 895 len = (packet.size + 3) & (~0x3); in dsi_cmd_dma_add() 911 data[0] = packet.header[1]; in dsi_cmd_dma_add() 912 data[1] = packet.header[2]; in dsi_cmd_dma_add() 913 data[2] = packet.header[0]; in dsi_cmd_dma_add() 921 if (packet.payload && packet.payload_length) in dsi_cmd_dma_add() 922 memcpy(data + 4, packet.payload, packet.payload_length); in dsi_cmd_dma_add() 925 if (packet.size < len) in dsi_cmd_dma_add() 926 memset(data + packet.size, 0xff, len - packet.size); in dsi_cmd_dma_add()
|
/linux-4.4.14/net/packet/ |
D | diag.c | 200 mutex_lock(&net->packet.sklist_lock); in packet_diag_dump() 201 sk_for_each(sk, &net->packet.sklist) { in packet_diag_dump() 218 mutex_unlock(&net->packet.sklist_lock); in packet_diag_dump()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | Kconfig | 24 tristate "Bridge packet logging" 32 ebtables is a general, extensible frame/packet identification 133 tristate "ebt: packet type filter support" 135 This option adds the packet type match, which allows matching on the 136 type of packet based on its Ethernet "class" (as determined by
|
/linux-4.4.14/net/xfrm/ |
D | Kconfig | 28 one, two policies can be applied to the same packet at once. 50 at packet processing for developer.
|
/linux-4.4.14/include/linux/ |
D | firewire.h | 265 typedef void (*fw_packet_callback_t)(struct fw_packet *packet, 323 struct fw_packet packet; member 457 struct fw_iso_packet *packet,
|
D | stm.h | 78 ssize_t (*packet)(struct stm_data *, unsigned int, member
|
D | hil_mlc.h | 96 hil_packet packet; /* Packet to send or to compare */ member
|
/linux-4.4.14/sound/usb/6fire/ |
D | pcm.c | 160 struct usb_iso_packet_descriptor *packet; in usb6fire_pcm_stream_start() local 168 packet = &rt->in_urbs[i].packets[k]; in usb6fire_pcm_stream_start() 169 packet->offset = k * rt->in_packet_size; in usb6fire_pcm_stream_start() 170 packet->length = rt->in_packet_size; in usb6fire_pcm_stream_start() 171 packet->actual_length = 0; in usb6fire_pcm_stream_start() 172 packet->status = 0; in usb6fire_pcm_stream_start()
|
/linux-4.4.14/tools/perf/Documentation/ |
D | intel-pt.txt | 20 the trace data packets. For example a TNT packet only tells whether a 21 conditional branch was taken or not taken, so to make use of that packet the 229 noretcomp Always supported. Disables "return compression" so a TIP packet 237 The PSB packet is a synchronization packet that provides a 274 Because a TSC packet is produced with PSB, the PSB period can 282 clock (CTC) which is related to TSC packets using a TMA packet. 325 MTC and TSC packets. A CYC packet contains the number of CPU 326 cycles since the last CYC packet. Unlike MTC and TSC packets, 327 CYC packets are only sent when another packet is also sent. 350 that must have passed before a CYC packet can be sent. The [all …]
|
/linux-4.4.14/net/netlabel/ |
D | Kconfig | 10 NetLabel provides support for explicit network packet labeling
|
/linux-4.4.14/drivers/media/usb/tm6000/ |
D | tm6000-dvb.c | 48 int packet, int status) in print_err_status() argument 78 if (packet < 0) { in print_err_status() 83 packet, status, errmsg); in print_err_status()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_dsi.c | 98 struct mipi_dsi_packet packet; in intel_dsi_host_transfer() local 103 ret = mipi_dsi_create_packet(&packet, msg); in intel_dsi_host_transfer() 107 header = packet.header; in intel_dsi_host_transfer() 108 data = packet.payload; in intel_dsi_host_transfer() 123 if (packet.payload_length) { in intel_dsi_host_transfer() 128 write_data(dev_priv, data_reg, packet.payload, in intel_dsi_host_transfer() 129 packet.payload_length); in intel_dsi_host_transfer() 152 return 4 + packet.payload_length; in intel_dsi_host_transfer()
|
/linux-4.4.14/drivers/misc/ti-st/ |
D | Kconfig | 15 packet types.
|
/linux-4.4.14/drivers/net/ethernet/realtek/ |
D | atp.c | 197 static void write_packet(long ioaddr, int length, unsigned char *packet, int pad, int mode); 497 static void write_packet(long ioaddr, int length, unsigned char *packet, int pad_len, int data_mode) in write_packet() argument 510 write_byte_mode0(ioaddr, *packet++); in write_packet() 517 unsigned char outbyte = *packet++; in write_packet() 528 write_byte_mode1(ioaddr, *packet++); in write_packet()
|
/linux-4.4.14/Documentation/isdn/ |
D | README.x25 | 68 access to PSPDN [packet switched public data network]). 71 circuit / packet mode service). The latter mode (which in theory 73 It should however be possible to establish such packet mode connections 94 Once encap is set like this, the device can be used by the X.25 packet layer. 101 initiated when the upper (X.25 packet) layer requests the lapb datalink to
|
/linux-4.4.14/net/phonet/ |
D | Kconfig | 8 The Phone Network protocol (PhoNet) is a packet-oriented
|
/linux-4.4.14/Documentation/devicetree/bindings/soc/ti/ |
D | keystone-navigator-qmss.txt | 9 management of the packet queues. Packets are queued/de-queued by writing or 78 2 : Time delay since first new packet 79 3 : Time delay since last new packet 85 navigator packet DMA descriptors. The memory for
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | dsi.c | 1235 struct mipi_dsi_packet packet; in tegra_dsi_host_transfer() local 1241 err = mipi_dsi_create_packet(&packet, msg); in tegra_dsi_host_transfer() 1245 header = packet.header; in tegra_dsi_host_transfer() 1248 if (packet.size > dsi->video_fifo_depth * 4) in tegra_dsi_host_transfer() 1275 if (packet.size > dsi->host_fifo_depth * 4) in tegra_dsi_host_transfer() 1299 if (packet.payload_length > 0) in tegra_dsi_host_transfer() 1300 tegra_dsi_writesl(dsi, DSI_WR_DATA, packet.payload, in tegra_dsi_host_transfer() 1301 packet.payload_length); in tegra_dsi_host_transfer() 1353 count = 4 + packet.payload_length; in tegra_dsi_host_transfer()
|
/linux-4.4.14/drivers/net/ethernet/adi/ |
D | bfin_mac.h | 66 unsigned char packet[1560]; member
|
/linux-4.4.14/arch/m68k/hp300/ |
D | README.hp300 | 13 every packet. This doesn't make for very speedy operation.
|
/linux-4.4.14/drivers/media/usb/stk1160/ |
D | stk1160-video.c | 35 int packet, int status) in print_err_status() argument 66 if (packet < 0) in print_err_status() 71 packet, status, errmsg); in print_err_status()
|
/linux-4.4.14/drivers/hid/ |
D | hid-hyperv.c | 254 struct vmpacket_descriptor *packet) in mousevsc_on_receive() argument 262 pipe_msg = (struct pipe_prt_msg *)((unsigned long)packet + in mousevsc_on_receive() 263 (packet->offset8 << 3)); in mousevsc_on_receive()
|
/linux-4.4.14/Documentation/ide/ |
D | ChangeLog.ide-cd.1994-2004 | 8 * 2.00 Nov 27, 1994 -- Generalize packet command interface; 10 * 2.01 Dec 3, 1994 -- Rework packet command interface to handle devices 52 * request sense commands for failed packet commands 68 * packet command is transferred. 209 * packet interface to cdrom.c. 264 * - Bump timeout for packet commands, matches sr
|
/linux-4.4.14/Documentation/DocBook/ |
D | sh.xml.db | 24 API-maple-add-packet
|
/linux-4.4.14/net/ipv4/ |
D | Kconfig | 67 Normally, a router decides what to do with a received packet based 68 solely on the packet's final destination address. If you say Y here, 69 the Linux router will also be able to take the packet's source 71 of the packet can be used for routing decisions as well. 86 a deterministic manner for a given packet. If you say Y here 87 however, it becomes possible to attach several actions to a packet 91 if a matching packet arrives. 232 what to do with a multicast packet based on the source and 234 will also be able to take interfaces and packet marks into 525 window. TCP Vegas should provide less packet loss, but it is [all …]
|
/linux-4.4.14/drivers/staging/unisys/visorbus/ |
D | controlvmchannel.h | 242 struct controlvm_packet_device_create packet; member 247 struct controlvm_packet_device_configure packet; member
|
/linux-4.4.14/Documentation/networking/dsa/ |
D | bcm_sf2.txt | 45 which gets inserted by the switch for every packet forwarded to the CPU 82 gets loaded onto the MoCA processor(s) for packet processing. The switch 100 - disabling packet processing logic
|
/linux-4.4.14/Documentation/networking/caif/ |
D | Linux-CAIF.txt | 151 layer->up->receive(layer->up, packet); 153 layer->dn->transmit(layer->dn, packet); 173 retransmission. This implies that packet drops must not happen.
|
/linux-4.4.14/drivers/soc/ti/ |
D | Kconfig | 15 is responsible for accelerating management of the packet queues.
|