/linux-4.1.27/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 | 707 struct sctp_packet *packet; in sctp_outq_flush() local 726 packet = NULL; in sctp_outq_flush() 809 packet = &transport->packet; in sctp_outq_flush() 810 sctp_packet_config(packet, vtag, in sctp_outq_flush() 834 packet->vtag = asoc->c.my_vtag; in sctp_outq_flush() 857 status = sctp_packet_transmit_chunk(packet, chunk, in sctp_outq_flush() 888 if (!packet || !packet->has_cookie_echo) in sctp_outq_flush() 919 packet = &transport->packet; in sctp_outq_flush() 920 sctp_packet_config(packet, vtag, in sctp_outq_flush() 923 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.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_packet_manager.c | 119 struct pm4_runlist *packet; in pm_create_runlist() local 123 packet = (struct pm4_runlist *)buffer; in pm_create_runlist() 126 packet->header.u32all = build_pm4_header(IT_RUN_LIST, in pm_create_runlist() 129 packet->bitfields4.ib_size = ib_size_in_dwords; in pm_create_runlist() 130 packet->bitfields4.chain = chain ? 1 : 0; in pm_create_runlist() 131 packet->bitfields4.offload_polling = 0; in pm_create_runlist() 132 packet->bitfields4.valid = 1; in pm_create_runlist() 133 packet->ordinal2 = lower_32_bits(ib); in pm_create_runlist() 134 packet->bitfields3.ib_base_hi = upper_32_bits(ib); in pm_create_runlist() 142 struct pm4_map_process *packet; in pm_create_map_process() local [all …]
|
/linux-4.1.27/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.1.27/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 | 149 unsigned char *packet) in focaltech_process_touch_packet() argument 153 unsigned char fingers = packet[1]; in focaltech_process_touch_packet() 156 state->pressed = (packet[0] >> 4) & 1; in focaltech_process_touch_packet() 173 unsigned char *packet) in focaltech_process_abs_packet() argument 179 finger = (packet[1] >> 4) - 1; in focaltech_process_abs_packet() 186 state->pressed = (packet[0] >> 4) & 1; in focaltech_process_abs_packet() 188 state->fingers[finger].x = ((packet[1] & 0xf) << 8) | packet[2]; in focaltech_process_abs_packet() 189 state->fingers[finger].y = (packet[3] << 8) | packet[4]; in focaltech_process_abs_packet() 194 unsigned char *packet) in focaltech_process_rel_packet() argument 200 state->pressed = packet[0] >> 7; in focaltech_process_rel_packet() [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 647 static void fsp_packet_debug(struct psmouse *psmouse, unsigned char packet[]) in fsp_packet_debug() argument 656 switch (packet[0] >> FSP_PKT_TYPE_SHIFT) { in fsp_packet_debug() 659 abs_x = GET_ABS_X(packet); in fsp_packet_debug() 660 abs_y = GET_ABS_Y(packet); in fsp_packet_debug() 679 packet[0], packet[1], packet[2], packet[3], abs_x, abs_y); in fsp_packet_debug() 688 static void fsp_packet_debug(struct psmouse *psmouse, unsigned char packet[]) in fsp_packet_debug() argument 708 unsigned char *packet = psmouse->packet; in fsp_process_byte() local 720 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.1.27/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.1.27/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.1.27/drivers/infiniband/core/ |
D | user_mad.c | 165 struct ib_umad_packet *packet) in queue_packet() argument 171 for (packet->mad.hdr.id = 0; in queue_packet() 172 packet->mad.hdr.id < IB_UMAD_MAX_AGENTS; in queue_packet() 173 packet->mad.hdr.id++) in queue_packet() 174 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet() 175 list_add_tail(&packet->list, &file->recv_list); in queue_packet() 187 struct ib_umad_packet *packet) in dequeue_send() argument 190 list_del(&packet->list); in dequeue_send() 198 struct ib_umad_packet *packet = send_wc->send_buf->context[0]; in send_handler() local 200 dequeue_send(file, packet); in send_handler() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/net/hyperv/ |
D | netvsc.c | 603 struct vmpacket_descriptor *packet) in netvsc_send_completion() argument 612 nvsp_packet = (struct nvsp_message *)((unsigned long)packet + in netvsc_send_completion() 613 (packet->offset8 << 3)); in netvsc_send_completion() 635 packet->trans_id; in netvsc_send_completion() 697 struct hv_netvsc_packet *packet) in netvsc_copy_to_send_buf() argument 705 u32 remain = packet->total_data_buflen % net_device->pkt_align; in netvsc_copy_to_send_buf() 706 u32 page_count = packet->cp_partial ? packet->rmsg_pgcnt : in netvsc_copy_to_send_buf() 707 packet->page_buf_cnt; in netvsc_copy_to_send_buf() 710 if (packet->is_data_pkt && packet->xmit_more && remain && in netvsc_copy_to_send_buf() 711 !packet->cp_partial) { in netvsc_copy_to_send_buf() [all …]
|
D | netvsc_drv.c | 237 struct hv_netvsc_packet *packet = (struct hv_netvsc_packet *)context; in netvsc_xmit_completion() local 239 (unsigned long)packet->send_completion_tid; in netvsc_xmit_completion() 280 struct hv_netvsc_packet *packet) in init_page_array() argument 282 struct hv_page_buffer *pb = packet->page_buf; in init_page_array() 298 packet->rmsg_size = len; in init_page_array() 299 packet->rmsg_pgcnt = slots_used; in init_page_array() 377 struct hv_netvsc_packet *packet = NULL; in netvsc_start_xmit() local 429 packet = (struct hv_netvsc_packet *)skb->head; in netvsc_start_xmit() 431 packet->status = 0; in netvsc_start_xmit() 432 packet->xmit_more = skb->xmit_more; in netvsc_start_xmit() [all …]
|
D | rndis_filter.c | 210 struct hv_netvsc_packet *packet; in rndis_filter_send_request() local 214 packet = &req->pkt; in rndis_filter_send_request() 216 packet->is_data_pkt = false; in rndis_filter_send_request() 217 packet->total_data_buflen = req->request_msg.msg_len; in rndis_filter_send_request() 218 packet->page_buf_cnt = 1; in rndis_filter_send_request() 219 packet->page_buf = page_buf; in rndis_filter_send_request() 221 packet->page_buf[0].pfn = virt_to_phys(&req->request_msg) >> in rndis_filter_send_request() 223 packet->page_buf[0].len = req->request_msg.msg_len; in rndis_filter_send_request() 224 packet->page_buf[0].offset = in rndis_filter_send_request() 228 if (packet->page_buf[0].offset + packet->page_buf[0].len > PAGE_SIZE) { in rndis_filter_send_request() [all …]
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | ads7846.c | 116 struct ads7846_packet *packet; member 695 struct ads7846_packet *packet = ts->packet; in ads7846_read_state() local 710 packet->tc.ignore = true; in ads7846_read_state() 728 packet->tc.ignore = true; in ads7846_read_state() 734 packet->tc.ignore = false; in ads7846_read_state() 749 struct ads7846_packet *packet = ts->packet; in ads7846_report_state() local 759 x = *(u16 *)packet->tc.x_buf; in ads7846_report_state() 760 y = *(u16 *)packet->tc.y_buf; in ads7846_report_state() 764 x = packet->tc.x; in ads7846_report_state() 765 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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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 …]
|
D | core-iso.c | 205 struct fw_iso_packet *packet, in fw_iso_context_queue() argument 209 return ctx->card->driver->queue_iso(ctx, packet, buffer, payload); in fw_iso_context_queue()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 1223 struct xgbe_packet_data *packet) in xgbe_prep_tx_tstamp() argument 1227 if (XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, PTP)) { in xgbe_prep_tx_tstamp() 1231 XGMAC_SET_BITS(packet->attributes, in xgbe_prep_tx_tstamp() 1240 if (!XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, PTP)) in xgbe_prep_tx_tstamp() 1244 static void xgbe_prep_vlan(struct sk_buff *skb, struct xgbe_packet_data *packet) in xgbe_prep_vlan() argument 1247 packet->vlan_ctag = skb_vlan_tag_get(skb); in xgbe_prep_vlan() 1250 static int xgbe_prep_tso(struct sk_buff *skb, struct xgbe_packet_data *packet) in xgbe_prep_tso() argument 1254 if (!XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_prep_tso() 1262 packet->header_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in xgbe_prep_tso() 1263 packet->tcp_header_len = tcp_hdrlen(skb); in xgbe_prep_tso() [all …]
|
D | xgbe-desc.c | 492 struct xgbe_packet_data *packet; in xgbe_map_tx_skb() local 505 packet = &ring->packet_data; in xgbe_map_tx_skb() 506 packet->rdesc_count = 0; in xgbe_map_tx_skb() 507 packet->length = 0; in xgbe_map_tx_skb() 509 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb() 511 vlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_map_tx_skb() 515 if ((tso && (packet->mss != ring->tx.cur_mss)) || in xgbe_map_tx_skb() 516 (vlan && (packet->vlan_ctag != ring->tx.cur_vlan_ctag))) in xgbe_map_tx_skb() 525 packet->header_len, DMA_TO_DEVICE); in xgbe_map_tx_skb() 531 rdata->skb_dma_len = packet->header_len; in xgbe_map_tx_skb() [all …]
|
D | xgbe-dev.c | 1253 static void xgbe_get_rx_tstamp(struct xgbe_packet_data *packet, in xgbe_get_rx_tstamp() argument 1264 packet->rx_tstamp = nsec; in xgbe_get_rx_tstamp() 1265 XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES, in xgbe_get_rx_tstamp() 1406 struct xgbe_packet_data *packet = &ring->packet_data; in xgbe_dev_xmit() local 1416 csum = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1418 tso = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1420 vlan = XGMAC_GET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, in xgbe_dev_xmit() 1423 if (tso && (packet->mss != ring->tx.cur_mss)) in xgbe_dev_xmit() 1428 if (vlan && (packet->vlan_ctag != ring->tx.cur_vlan_ctag)) in xgbe_dev_xmit() 1443 ring->coalesce_count += packet->tx_packets; in xgbe_dev_xmit() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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 | 844 struct hcp_packet *packet; in nfc_hci_recv_from_llc() local 852 packet = (struct hcp_packet *)skb->data; in nfc_hci_recv_from_llc() 853 if ((packet->header & ~NFC_HCI_FRAGMENT) == 0) { in nfc_hci_recv_from_llc() 860 pipe = packet->header & NFC_HCI_FRAGMENT; in nfc_hci_recv_from_llc() 887 packet->header &= NFC_HCI_FRAGMENT; in nfc_hci_recv_from_llc() 895 packet = (struct hcp_packet *)hcp_skb->data; in nfc_hci_recv_from_llc() 896 type = HCP_MSG_GET_TYPE(packet->message.header); in nfc_hci_recv_from_llc() 898 pipe = packet->header; in nfc_hci_recv_from_llc() 899 instruction = HCP_MSG_GET_CMD(packet->message.header); in nfc_hci_recv_from_llc()
|
/linux-4.1.27/Documentation/networking/ |
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. 15 2) If you munge any packet thou shalt call pskb_expand_head in the case 17 You must also tell us if it is ok to munge the packet (TC_OK2MUNGE), 18 this way any action downstream can stomp on the packet.
|
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 | 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 | 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 198 of a packet originating from a director is routed differently to a 199 packet being forwarded by the director.
|
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 | pktgen.txt | 3 HOWTO for the linux packet generator 100 pgset "clone_skb 1" sets the number of copies of the same packet 103 packet and update HW tx queue tail pointer once. 105 pgset "pkt_size 9014" sets packet size to 9014 106 pgset "frags 5" packet will consist of 5 fragments 149 pgset spi SPI_VALUE Set specific SA used to transform packet.
|
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 | iphase.txt | 23 including x575 (OC3, control memory 128K , 512K and packet memory 128K, 80 The (i)Chip boards have 3 different packet RAM size variants: 128K, 512K and 105 total adapter packet memory.
|
D | i40e.txt | 80 When a malicious driver attempts to send a spoofed packet, it is dropped by 84 When a spoofed packet is detected the PF driver will send the following
|
D | netdevices.txt | 39 must be able to receive at least the maximum size packet allowed by 83 o NETDEV_TX_BUSY Cannot transmit packet, try later
|
D | 3c509.txt | 92 failures will occur - at the very least, you'll see massive numbers of packet 151 field in /proc/net/dev increments as quickly as the Tx packet count, you 173 0x10 A complete Rx packet has arrived 174 0x20 A Rx packet has started to arrive
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/net/arcnet/ |
D | Kconfig | 28 tristate "Enable standard ARCNet packet format (RFC 1201)" 33 packet driver or most DOS/Windows ODI drivers. Please read the 38 tristate "Enable old ARCNet packet format (RFC 1051)" 43 arcnet.com packet driver, Amigas running AmiTCP, and some variants 46 packet driver or most DOS/Windows ODI drivers. RFC1201 is included 52 tristate "Enable raw mode packet interface" 54 ARCnet "raw mode" packet encapsulation, no soft headers. Unlikely 59 tristate "Enable CAP mode packet interface" 61 ARCnet "cap mode" packet encapsulation. Used to get the hardware 63 packet is stuffed with an extra 4 byte "cookie" which doesn't [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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()
|
D | ncp_fs.h | 76 return ncp_request2(server, function, server->packet, server->packet_size); in ncp_request()
|
/linux-4.1.27/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.1.27/net/ipv4/netfilter/ |
D | Kconfig | 52 chain type is used to force packet re-routing after mangling header 54 the packet mark. 71 tristate "ARP packet logging" 76 tristate "IPv4 packet logging" 81 tristate "IPv4 packet rejection" 102 packet transformations such as the source, destination address and 168 iptables is a general, extensible packet identification framework. 169 The packet filtering and full NAT (masquerading, port forwarding, 201 go out via the interface the packet came in. 221 rules for simple packet filtering at local input, forwarding and [all …]
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | Kconfig | 41 chain type is used to force packet re-routing after mangling header 43 the packet mark. 54 tristate "IPv6 packet rejection" 58 tristate "IPv6 packet logging" 80 packet transformations such as the source, destination address and 115 ip6tables is a general, extensible packet identification framework. 116 Currently only the packet filtering and packet mangling subsystem 148 header of the packet. 157 and destination options headers of a packet. 192 go out via the interface the packet came in. [all …]
|
/linux-4.1.27/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.1.27/net/batman-adv/ |
D | fragmentation.c | 233 struct batadv_frag_packet *packet; in batadv_frag_merge_packets() local 239 packet = (struct batadv_frag_packet *)skb->data; in batadv_frag_merge_packets() 240 size = ntohs(packet->total_size); in batadv_frag_merge_packets() 337 struct batadv_frag_packet *packet; in batadv_frag_skb_fwd() local 341 packet = (struct batadv_frag_packet *)skb->data; in batadv_frag_skb_fwd() 342 orig_node_dst = batadv_orig_hash_find(bat_priv, packet->dest); in batadv_frag_skb_fwd() 353 total_size = ntohs(packet->total_size); in batadv_frag_skb_fwd() 359 packet->ttl--; in batadv_frag_skb_fwd()
|
D | network-coding.c | 1471 struct batadv_unicast_packet *packet; in batadv_nc_skb_forward() local 1483 packet = (struct batadv_unicast_packet *)payload; in batadv_nc_skb_forward() 1484 if (packet->packet_type != BATADV_UNICAST) in batadv_nc_skb_forward() 1501 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet)); in batadv_nc_skb_forward() 1524 struct batadv_unicast_packet *packet; in batadv_nc_skb_store_for_decoding() local 1536 packet = (struct batadv_unicast_packet *)payload; in batadv_nc_skb_store_for_decoding() 1537 if (packet->packet_type != BATADV_UNICAST) in batadv_nc_skb_store_for_decoding() 1561 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet)); in batadv_nc_skb_store_for_decoding()
|
/linux-4.1.27/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.1.27/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
|
D | IRQ.txt | 4 Currently they can come in over a pin, or over a packet.
|
D | mailbox.txt | 107 /* Populate data packet */ 114 /* Populate data packet */
|
/linux-4.1.27/drivers/media/usb/ttusb-dec/ |
D | ttusb_dec.c | 131 u8 packet[MAX_PVA_LENGTH + 4]; member 518 static void ttusb_dec_process_filter(struct ttusb_dec *dec, u8 *packet, in ttusb_dec_process_filter() argument 527 sid = packet[1]; in ttusb_dec_process_filter() 540 filter->feed->cb.sec(&packet[2], length - 2, NULL, 0, in ttusb_dec_process_filter() 556 csum ^= ((dec->packet[i] << 8) + dec->packet[i + 1]); in ttusb_dec_process_packet() 563 packet_id = dec->packet[dec->packet_length - 4] << 8; in ttusb_dec_process_packet() 564 packet_id += dec->packet[dec->packet_length - 3]; in ttusb_dec_process_packet() 579 ttusb_dec_process_pva(dec, dec->packet, in ttusb_dec_process_packet() 585 ttusb_dec_process_filter(dec, dec->packet, in ttusb_dec_process_packet() 638 dec->packet[dec->packet_length++] = *b++; in ttusb_dec_process_urb_frame() [all …]
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/Documentation/blockdev/drbd/ |
D | node-states-8.dot | 7 Secondary -> Primary [ label = "recv state packet" ] 8 Primary -> Secondary [ label = "recv state packet" ]
|
/linux-4.1.27/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.1.27/Documentation/cdrom/ |
D | 00-INDEX | 9 packet-writing.txt 10 - Info on the CDRW packet writing module
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/tty/ |
D | pty.c | 51 tty->packet = 0; in pty_close() 175 if (!tty->packet) { in pty_set_pktmode() 178 tty->packet = 1; in pty_set_pktmode() 181 tty->packet = 0; in pty_set_pktmode() 190 int pktmode = tty->packet; in pty_get_pktmode() 224 if (to->packet) { in pty_flush_buffer() 258 if (tty->link && tty->link->packet) { in pty_set_termios() 339 if (tty->link && tty->link->packet) { in pty_start() 352 if (tty->link && tty->link->packet) { in pty_stop()
|
/linux-4.1.27/net/ |
D | Kconfig | 50 source "net/packet/Kconfig" 107 bool "Network packet filtering framework (Netfilter)" 112 The most common use of packet filtering is to run your Linux box as 114 firewall provided by this kernel support is called a "packet 120 protocols, which a packet filter lacks. Moreover, proxy-based 123 they are often combined with a packet filter, which only works if 148 a bridge with Network packet filtering enabled makes iptables "see" 154 masquerading (ipmasqadm), packet filtering (ipchains), transparent 162 bool "Network packet filtering debugging" 281 packet sniffing (libpcap/tcpdump). Note : Admin should enable [all …]
|
D | Makefile | 21 obj-$(CONFIG_PACKET) += packet/
|
/linux-4.1.27/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.1.27/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.1.27/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()
|
D | iforce.h | 162 int iforce_get_id_packet(struct iforce *iforce, char *packet);
|
/linux-4.1.27/net/nfc/nci/ |
D | hci.c | 421 struct nci_hcp_packet *packet; in nci_hci_data_received_cb() local 434 packet = (struct nci_hcp_packet *)skb->data; in nci_hci_data_received_cb() 435 if ((packet->header & ~NCI_HCI_FRAGMENT) == 0) { in nci_hci_data_received_cb() 442 pipe = NCI_HCP_MSG_GET_PIPE(packet->header); in nci_hci_data_received_cb() 468 packet->header &= NCI_HCI_FRAGMENT; in nci_hci_data_received_cb() 476 packet = (struct nci_hcp_packet *)hcp_skb->data; in nci_hci_data_received_cb() 477 type = NCI_HCP_MSG_GET_TYPE(packet->message.header); in nci_hci_data_received_cb() 479 pipe = NCI_HCP_MSG_GET_PIPE(packet->header); in nci_hci_data_received_cb()
|
/linux-4.1.27/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
|
D | usbmon.txt | 5 to a packet socket used by network monitoring tools such as tcpdump(1) 21 Unlike the packet socket, usbmon has an interface which provides traces 144 In case of a submission of a Control packet, this field contains a Setup Tag 148 If they find something else, like a letter, they read the setup packet before 151 - Setup packet, if present, consists of 5 words: one of each for bmRequestType, 154 packet was present, but not captured, and the fields contain filler. 345 if (hdr->type == '@') // Filler packet
|
/linux-4.1.27/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()
|
D | fhci-sched.c | 32 static void recycle_frame(struct fhci_usb *usb, struct packet *pkt) in recycle_frame() 44 void fhci_transaction_confirm(struct fhci_usb *usb, struct packet *pkt) in fhci_transaction_confirm() 47 struct packet *td_pkt; in fhci_transaction_confirm() 141 struct packet *pkt = td->pkt; in fhci_flush_all_transmissions() 162 struct packet *pkt; in add_packet()
|
/linux-4.1.27/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.
|
/linux-4.1.27/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.1.27/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.1.27/net/netfilter/ |
D | Kconfig | 44 Address Translation. It can also be used to enhance packet 363 information together with the packet is the enqueued via NFNETLINK. 430 nftables is the new packet classification framework that intends to 461 to set packet metainformation such as the packet mark. 486 include packet and byte counters in a rule. 522 typical Network Address Translation (NAT) packet transformations. 572 "nfmark" value in the packet. 574 the netfilter mark (nfmark) field associated with the packet. 589 ctmark), similarly to the packet mark (nfmark). Using this 627 a packet that lacks a checksum. This is particularly useful, [all …]
|
D | nf_conntrack_proto_udp.c | 314 .packet = udp_packet, 346 .packet = udp_packet,
|
D | nf_conntrack_proto_udplite.c | 279 .packet = udplite_packet, 311 .packet = udplite_packet,
|
/linux-4.1.27/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.1.27/include/uapi/linux/ |
D | pg.h | 49 char packet[12]; /* packet command */ member
|
/linux-4.1.27/drivers/isdn/sc/ |
D | Makefile | 9 sc-y := shmem.o init.o packet.o command.o event.o \
|
/linux-4.1.27/include/uapi/linux/netfilter/ |
D | xt_statistic.h | 29 __u32 packet; member
|
/linux-4.1.27/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()
|
D | structs.h | 728 static inline int sctp_packet_empty(struct sctp_packet *packet) in sctp_packet_empty() argument 730 return packet->size == packet->overhead; in sctp_packet_empty() 909 struct sctp_packet packet; member 992 void sctp_inq_push(struct sctp_inq *, struct sctp_chunk *packet);
|
/linux-4.1.27/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 970 struct mipi_dsi_packet packet; in dsi_cmd_dma_add() local 975 ret = mipi_dsi_create_packet(&packet, msg); in dsi_cmd_dma_add() 980 len = (packet.size + 3) & (~0x3); in dsi_cmd_dma_add() 996 data[0] = packet.header[1]; in dsi_cmd_dma_add() 997 data[1] = packet.header[2]; in dsi_cmd_dma_add() 998 data[2] = packet.header[0]; in dsi_cmd_dma_add() 1006 if (packet.payload && packet.payload_length) in dsi_cmd_dma_add() 1007 memcpy(data + 4, packet.payload, packet.payload_length); in dsi_cmd_dma_add() 1010 if (packet.size < len) in dsi_cmd_dma_add() 1011 memset(data + packet.size, 0xff, len - packet.size); in dsi_cmd_dma_add()
|
/linux-4.1.27/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.1.27/drivers/gpu/drm/i915/ |
D | intel_dsi.c | 97 struct mipi_dsi_packet packet; in intel_dsi_host_transfer() local 102 ret = mipi_dsi_create_packet(&packet, msg); in intel_dsi_host_transfer() 106 header = packet.header; in intel_dsi_host_transfer() 107 data = packet.payload; in intel_dsi_host_transfer() 122 if (packet.payload_length) { in intel_dsi_host_transfer() 127 write_data(dev_priv, data_reg, packet.payload, in intel_dsi_host_transfer() 128 packet.payload_length); in intel_dsi_host_transfer() 151 return 4 + packet.payload_length; in intel_dsi_host_transfer()
|
/linux-4.1.27/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.1.27/net/openvswitch/ |
D | datapath.c | 515 struct sk_buff *packet; in ovs_packet_cmd_execute() local 531 packet = __dev_alloc_skb(NET_IP_ALIGN + len, GFP_KERNEL); in ovs_packet_cmd_execute() 533 if (!packet) in ovs_packet_cmd_execute() 535 skb_reserve(packet, NET_IP_ALIGN); in ovs_packet_cmd_execute() 537 nla_memcpy(__skb_put(packet, len), a[OVS_PACKET_ATTR_PACKET], len); in ovs_packet_cmd_execute() 539 skb_reset_mac_header(packet); in ovs_packet_cmd_execute() 540 eth = eth_hdr(packet); in ovs_packet_cmd_execute() 546 packet->protocol = eth->h_proto; in ovs_packet_cmd_execute() 548 packet->protocol = htons(ETH_P_802_2); in ovs_packet_cmd_execute() 556 err = ovs_flow_key_extract_userspace(a[OVS_PACKET_ATTR_KEY], packet, in ovs_packet_cmd_execute() [all …]
|
D | Kconfig | 21 The Open vSwitch datapath provides an in-kernel fast path for packet 24 translate it into packet processing rules.
|
/linux-4.1.27/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.1.27/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 | hil_mlc.h | 96 hil_packet packet; /* Packet to send or to compare */ member
|
/linux-4.1.27/Documentation/ABI/testing/ |
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
|
D | sysfs-class-net-mesh | 41 packet size exceeds the outgoing interface MTU. 86 multicast packet with no optimizations.
|
D | sysfs-class-net-statistics | 33 that support packet compression (e.g: PPP). 51 packet processing. See the network driver for the exact 78 Indicates the number of received error packet with a length
|
/linux-4.1.27/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.1.27/drivers/staging/ft1000/ft1000-pcmcia/ |
D | ft1000_hw.c | 1604 static int ft1000_copy_down_pkt(struct net_device *dev, u16 *packet, u16 len) in ft1000_copy_down_pkt() argument 1683 htons(*packet)); in ft1000_copy_down_pkt() 1685 i + 8, htons(*packet)); in ft1000_copy_down_pkt() 1686 packet++; in ft1000_copy_down_pkt() 1692 htons(*packet)); in ft1000_copy_down_pkt() 1693 pr_debug("data MID = 0x%04x\n", htons(*packet)); in ft1000_copy_down_pkt() 1694 packet++; in ft1000_copy_down_pkt() 1696 htons(*packet)); in ft1000_copy_down_pkt() 1698 i + 8, htons(*packet)); in ft1000_copy_down_pkt() 1701 htons(*packet)); in ft1000_copy_down_pkt() [all …]
|
/linux-4.1.27/net/netlabel/ |
D | Kconfig | 10 NetLabel provides support for explicit network packet labeling
|
/linux-4.1.27/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.1.27/drivers/misc/ti-st/ |
D | Kconfig | 15 packet types.
|
/linux-4.1.27/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.1.27/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.1.27/net/phonet/ |
D | Kconfig | 8 The Phone Network protocol (PhoNet) is a packet-oriented
|
/linux-4.1.27/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
|
D | keystone-navigator-dma.txt | 3 This document explains the device tree bindings for the packet dma 9 an internal packet DMA module which is used as an infrastructure DMA
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | dsi.c | 1234 struct mipi_dsi_packet packet; in tegra_dsi_host_transfer() local 1240 err = mipi_dsi_create_packet(&packet, msg); in tegra_dsi_host_transfer() 1244 header = packet.header; in tegra_dsi_host_transfer() 1247 if (packet.size > dsi->video_fifo_depth * 4) in tegra_dsi_host_transfer() 1274 if (packet.size > dsi->host_fifo_depth * 4) in tegra_dsi_host_transfer() 1298 if (packet.payload_length > 0) in tegra_dsi_host_transfer() 1299 tegra_dsi_writesl(dsi, DSI_WR_DATA, packet.payload, in tegra_dsi_host_transfer() 1300 packet.payload_length); in tegra_dsi_host_transfer() 1352 count = 4 + packet.payload_length; in tegra_dsi_host_transfer()
|
/linux-4.1.27/drivers/net/ethernet/adi/ |
D | bfin_mac.h | 66 unsigned char packet[1560]; member
|
/linux-4.1.27/arch/m68k/hp300/ |
D | README.hp300 | 13 every packet. This doesn't make for very speedy operation.
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/soc/ti/ |
D | Kconfig | 15 is responsible for accelerating management of the packet queues.
|
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/ |
D | controlvmchannel.h | 240 struct controlvm_packet_device_create packet; member 245 struct controlvm_packet_device_configure packet; member
|
/linux-4.1.27/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 539 window. TCP Vegas should provide less packet loss, but it is [all …]
|
/linux-4.1.27/Documentation/filesystems/ |
D | udf.txt | 14 for packet mode using the utility cdrwtool, then the pktcdvd driver can 17 while providing the hardware with only full packet writes. While not
|
/linux-4.1.27/arch/arc/boot/dts/ |
D | abilis_tb10x.dtsi | 195 global-packet-delay = <0x21>; 196 port-packet-delay = <0>;
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | u_serial.c | 333 gs_send_packet(struct gs_port *port, char *packet, unsigned size) in gs_send_packet() argument 341 size = gs_buf_get(&port->port_write_buf, packet, size); in gs_send_packet() 521 char *packet = req->buf; in gs_rx_push() local 529 packet += n; in gs_rx_push() 533 count = tty_insert_flip_string(&port->port, packet, in gs_rx_push()
|