Home
last modified time | relevance | path

Searched refs:packet (Results 1 – 25 of 1108) sorted by relevance

12345678910>>...45

/linux/drivers/infiniband/hw/hfi1/
A Ddriver.c700 packet->rhqoff += packet->rsize; in skip_rcv_packet()
722 packet->ebuf = get_egrbuf(packet->rcd, packet->rhf, in process_rcv_packet_napi()
734 packet->rcd->rhf_rcv_function_map[packet->etype](packet); in process_rcv_packet_napi()
738 packet->rhqoff += packet->rsize; in process_rcv_packet_napi()
759 packet->ebuf = get_egrbuf(packet->rcd, packet->rhf, in process_rcv_packet()
780 packet->rcd->rhf_rcv_function_map[packet->etype](packet); in process_rcv_packet()
806 update_usrhead(packet->rcd, packet->rhqoff, packet->updegr, in process_rcv_update()
1447 packet->hlen = (u8 *)packet->rhf_addr - (u8 *)packet->hdr; in hfi1_setup_ib_header()
1550 packet->ohdr = packet->ebuf; in hfi1_setup_bypass_packet()
1563 packet->grh = packet->ebuf; in hfi1_setup_bypass_packet()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_packet_manager_v9.c118 struct pm4_mes_runlist *packet; in pm_runlist_v9() local
145 packet->bitfields4.valid = 1; in pm_runlist_v9()
164 packet->bitfields2.queue_type = in pm_set_resources_v9()
193 packet->bitfields2.queue_sel = in pm_map_queues_v9()
233 packet->mqd_addr_lo = in pm_map_queues_v9()
236 packet->mqd_addr_hi = in pm_map_queues_v9()
239 packet->wptr_addr_lo = in pm_map_queues_v9()
242 packet->wptr_addr_hi = in pm_map_queues_v9()
288 packet->bitfields2.action = in pm_unmap_queues_v9()
291 packet->bitfields2.action = in pm_unmap_queues_v9()
[all …]
A Dkfd_packet_manager_vi.c105 packet->bitfields4.valid = 1; in pm_runlist_vi()
184 packet->mqd_addr_lo = in pm_map_queues_vi()
187 packet->mqd_addr_hi = in pm_map_queues_vi()
190 packet->wptr_addr_lo = in pm_map_queues_vi()
193 packet->wptr_addr_hi = in pm_map_queues_vi()
229 packet->bitfields2.action = in pm_unmap_queues_vi()
232 packet->bitfields2.action = in pm_unmap_queues_vi()
279 packet->bitfields2.command = in pm_query_status_vi()
298 sizeof(*packet)); in pm_release_mem_vi()
305 packet->bitfields2.atc = 0; in pm_release_mem_vi()
[all …]
/linux/tools/perf/util/intel-pt-decoder/
A Dintel-pt-pkt-decoder.c92 packet->count = count; in intel_pt_get_long_tnt()
140 packet->count = count; in intel_pt_get_vmcs()
225 switch (packet->count) { in intel_pt_get_ptwrite()
395 packet->count = count; in intel_pt_get_short_tnt()
464 packet->type = type; in intel_pt_get_ip()
480 packet->payload = 16; in intel_pt_get_mode()
483 packet->payload = 64; in intel_pt_get_mode()
569 packet); in intel_pt_do_get_packet()
572 packet); in intel_pt_do_get_packet()
630 if (packet->count) in intel_pt_upd_pkt_ctx()
[all …]
/linux/net/sctp/
A Doutput.c60 packet->size = packet->overhead; in sctp_packet_reset()
63 packet->has_sack = 0; in sctp_packet_reset()
64 packet->has_data = 0; in sctp_packet_reset()
65 packet->has_auth = 0; in sctp_packet_reset()
67 packet->auth = NULL; in sctp_packet_reset()
82 packet->vtag = vtag; in sctp_packet_config()
96 packet->size = packet->overhead; in sctp_packet_config()
156 packet->vtag = 0; in sctp_packet_init()
186 packet, packet->size, chunk, chunk->skb ? chunk->skb->len : -1); in sctp_packet_transmit_chunk()
597 head = alloc_skb((gso ? packet->overhead : packet->size) + in sctp_packet_transmit()
[all …]
/linux/tools/perf/util/arm-spe-decoder/
A Darm-spe-pkt-decoder.c84 packet->type = ARM_SPE_PAD; in arm_spe_get_pad()
89 struct arm_spe_pkt *packet) in arm_spe_get_alignment() argument
96 packet->type = ARM_SPE_PAD; in arm_spe_get_alignment()
102 packet->type = ARM_SPE_END; in arm_spe_get_end()
107 struct arm_spe_pkt *packet) in arm_spe_get_timestamp() argument
116 packet->type = ARM_SPE_EVENTS; in arm_spe_get_events()
138 packet->type = ARM_SPE_CONTEXT; in arm_spe_get_context()
338 switch (packet->index) { in arm_spe_pkt_desc_op_type()
468 switch (packet->index) { in arm_spe_pkt_desc_counter()
488 int idx = packet->index; in arm_spe_pkt_desc()
[all …]
/linux/drivers/net/wireless/ath/ath6kl/
A Dhtc_mbox.c419 packet->status, packet->endpoint, packet->act_len, in htc_tx_comp_update()
484 packet = scat_req->scat_list[0].packet; in htc_async_tx_scat_complete()
841 packet->buf, packet->act_len); in ath6kl_htc_tx_bundle()
931 packet->completion(packet->context, packet); in ath6kl_htc_tx_from_queue()
1129 packet->endpoint, packet->buf, packet->act_len); in ath6kl_htc_mbox_tx()
1180 packet, packet->act_len, in ath6kl_htc_mbox_flush_txep()
1318 packet, packet->info.rx.exp_hdr, in ath6kl_htc_rx_packet()
1840 packet->act_len = min(packet->act_len, packet->buf_len); in ath6kl_htc_rx_process_hdr()
2298 packet->buf, packet->act_len); in htc_wait_for_ctrl_msg()
2401 packet, packet->buf_len, in ath6kl_htc_mbox_flush_rx_buf()
[all …]
A Dhtc_pipe.c221 skb = packet->skb; in htc_issue_packets()
504 skb = packet->skb; in destroy_htc_txctrl_packet()
506 kfree(packet); in destroy_htc_txctrl_packet()
521 kfree(packet); in build_htc_txctrl_packet()
526 return packet; in build_htc_txctrl_packet()
829 return packet; in alloc_htc_packet_container()
1117 packet, packet->buf_len, in htc_flush_rx_queue()
1297 packet = NULL; in ath6kl_htc_pipe_conn_service()
1469 kfree(packet); in ath6kl_htc_pipe_cleanup()
1546 __func__, packet->endpoint, packet->buf, in ath6kl_htc_pipe_tx()
[all …]
/linux/drivers/platform/surface/aggregator/
A Dssh_packet_layer.c336 packet); in __ssh_ptl_should_drop_ack_packet()
348 packet); in __ssh_ptl_should_drop_nak_packet()
361 packet); in __ssh_ptl_should_drop_dsq_packet()
369 if (!packet->data.ptr || !packet->data.len) in ssh_ptl_should_drop_packet()
408 if (!packet->data.ptr || !packet->data.len) in ssh_ptl_tx_inject_invalid_data()
421 packet); in ssh_ptl_tx_inject_invalid_data()
428 memset(packet->data.ptr, 0xb3, packet->data.len); in ssh_ptl_tx_inject_invalid_data()
531 if (packet) in ssh_packet_get()
549 if (packet) in ssh_packet_put()
947 packet = p; in ssh_ptl_tx_pop()
[all …]
/linux/drivers/media/test-drivers/vivid/
A Dvivid-vbi-gen.c204 packet[13] = calc_parity(0); in vivid_vbi_gen_set_time_of_day()
223 memset(packet + 2, 0x20, 40); in vivid_vbi_gen_teletext()
228 packet[4] = hamming[0]; in vivid_vbi_gen_teletext()
229 packet[5] = hamming[0]; in vivid_vbi_gen_teletext()
230 packet[6] = hamming[0]; in vivid_vbi_gen_teletext()
231 packet[7] = hamming[0]; in vivid_vbi_gen_teletext()
232 packet[8] = hamming[0]; in vivid_vbi_gen_teletext()
233 packet[9] = hamming[1]; in vivid_vbi_gen_teletext()
236 packet += offset; in vivid_vbi_gen_teletext()
238 packet[7] = '0' + frame / 10; in vivid_vbi_gen_teletext()
[all …]
/linux/tools/perf/arch/x86/tests/
A Dintel-pt-pkt-decoder-test.c24 struct intel_pt_pkt packet; member
209 if (packet->type != d->packet.type) in fail()
211 d->packet.type, packet->type); in fail()
213 if (packet->count != d->packet.count) in fail()
215 d->packet.count, packet->count); in fail()
217 if (packet->payload != d->packet.payload) in fail()
247 struct intel_pt_pkt packet; in test_one() local
251 memset(&packet, 0xff, sizeof(packet)); in test_one()
277 if (ret != d->len || packet.type != d->packet.type || in test_one()
278 packet.count != d->packet.count || in test_one()
[all …]
/linux/drivers/tty/hvc/
A Dhvsi.c161 if (hp->inbuf_end < (packet + len_packet(packet))) in got_packet()
181 #define dbg_dump_packet(packet) dump_packet(packet) argument
293 dbg_dump_hex((uint8_t*)&packet, packet.hdr.len); in hvsi_version_respond()
409 while ((packet < hp->inbuf_end) && got_packet(hp, packet)) { in hvsi_load_chunk()
415 while ((packet < hp->inbuf_end) && (!is_header(packet))) in hvsi_load_chunk()
416 packet++; in hvsi_load_chunk()
446 packet += len_packet(packet); in hvsi_load_chunk()
551 dbg_dump_hex((uint8_t*)&packet, packet.hdr.len); in hvsi_query()
598 dbg_dump_hex((uint8_t*)&packet, packet.hdr.len); in hvsi_set_mctrl()
694 dbg_dump_hex((uint8_t*)&packet, packet.hdr.len); in hvsi_close_protocol()
[all …]
/linux/drivers/input/mouse/
A Delantech.c324 unsigned char *packet = psmouse->packet; in elantech_report_absolute_v1() local
361 ((packet[1] & 0x0c) << 6) | packet[2]); in elantech_report_absolute_v1()
412 unsigned char *packet = psmouse->packet; in elantech_report_absolute_v2() local
509 unsigned char *packet = psmouse->packet; in elantech_report_trackpoint() local
527 packet[1] >> 7 == packet[4] >> 7 || in elantech_report_trackpoint()
528 packet[2] >> 7 == packet[5] >> 7) { in elantech_report_trackpoint()
563 unsigned char *packet = psmouse->packet; in elantech_report_absolute_v3() local
641 unsigned char *packet = psmouse->packet; in elantech_input_sync_v4() local
656 unsigned char *packet = psmouse->packet; in process_packet_status_v4() local
676 unsigned char *packet = psmouse->packet; in process_packet_head_v4() local
[all …]
A Dlifebook.c137 u8 *packet = psmouse->packet; in lifebook_process_byte() local
146 return (packet[0] & 0xf8) == 0x00 ? in lifebook_process_byte()
151 return ((packet[2] & 0x30) << 2) == (packet[2] & 0xc0) ? in lifebook_process_byte()
154 return (packet[3] & 0xf8) == 0xc0 ? in lifebook_process_byte()
157 return (packet[4] & 0xc0) == (packet[2] & 0xc0) ? in lifebook_process_byte()
160 if (((packet[5] & 0x30) << 2) != (packet[5] & 0xc0)) in lifebook_process_byte()
162 if ((packet[5] & 0xc0) != (packet[1] & 0xc0)) in lifebook_process_byte()
175 ((packet[1] & 0x3f) << 6) | (packet[2] & 0x3f)); in lifebook_process_byte()
177 4096 - (((packet[4] & 0x3f) << 6) | (packet[5] & 0x3f))); in lifebook_process_byte()
180 (packet[1] | ((packet[0] & 0x30) << 4))); in lifebook_process_byte()
[all …]
A Dfocaltech.c150 unsigned char *packet) in focaltech_process_touch_packet() argument
154 unsigned char fingers = packet[1]; in focaltech_process_touch_packet()
174 unsigned char *packet) in focaltech_process_abs_packet() argument
180 finger = (packet[1] >> 4) - 1; in focaltech_process_abs_packet()
189 state->fingers[finger].x = ((packet[1] & 0xf) << 8) | packet[2]; in focaltech_process_abs_packet()
190 state->fingers[finger].y = (packet[3] << 8) | packet[4]; in focaltech_process_abs_packet()
191 state->width = packet[5] >> 4; in focaltech_process_abs_packet()
196 unsigned char *packet) in focaltech_process_rel_packet() argument
202 state->pressed = packet[0] >> 7; in focaltech_process_rel_packet()
228 unsigned char *packet = psmouse->packet; in focaltech_process_packet() local
[all …]
A Dtouchkit_ps2.c36 #define TOUCHKIT_GET_TOUCHED(packet) (((packet)[0]) & 0x01) argument
37 #define TOUCHKIT_GET_X(packet) (((packet)[1] << 7) | (packet)[2]) argument
38 #define TOUCHKIT_GET_Y(packet) (((packet)[3] << 7) | (packet)[4]) argument
42 unsigned char *packet = psmouse->packet; in touchkit_ps2_process_byte() local
48 input_report_abs(dev, ABS_X, TOUCHKIT_GET_X(packet)); in touchkit_ps2_process_byte()
49 input_report_abs(dev, ABS_Y, TOUCHKIT_GET_Y(packet)); in touchkit_ps2_process_byte()
50 input_report_key(dev, BTN_TOUCH, TOUCHKIT_GET_TOUCHED(packet)); in touchkit_ps2_process_byte()
A Dalps.c251 unsigned char *packet = psmouse->packet; in alps_process_packet_v1_v2() local
261 x = packet[1] | ((packet[0] & 0x07) << 7); in alps_process_packet_v1_v2()
262 y = packet[4] | ((packet[3] & 0x07) << 7); in alps_process_packet_v1_v2()
558 unsigned char *packet = psmouse->packet; in alps_process_trackstick_packet_v3() local
579 if (packet[1] == 0x7f && packet[2] == 0x7f && packet[4] == 0x7f) in alps_process_trackstick_packet_v3()
728 unsigned char *packet = psmouse->packet; in alps_process_touchpad_packet_v3_v5() local
805 unsigned char *packet = psmouse->packet; in alps_process_packet_v3() local
826 unsigned char *packet = psmouse->packet; in alps_process_packet_v6() local
892 unsigned char *packet = psmouse->packet; in alps_process_packet_v4() local
1091 unsigned char *packet = psmouse->packet; in alps_process_trackstick_packet_v7() local
[all …]
A Dsentelic.c27 #define GET_ABS_X(packet) ((packet[1] << 2) | ((packet[3] >> 2) & 0x03)) argument
28 #define GET_ABS_Y(packet) ((packet[2] << 2) | (packet[3] & 0x03)) argument
668 packet[0], packet[1], packet[2], packet[3], abs_x, abs_y); in fsp_packet_debug()
697 unsigned char *packet = psmouse->packet; in fsp_process_byte() local
713 if ((packet[0] == 0x48 || packet[0] == 0x49) && in fsp_process_byte()
714 packet[1] == 0 && packet[2] == 0) { in fsp_process_byte()
720 packet[3] &= 0xf0; in fsp_process_byte()
802 if (packet[3] != 0) { in fsp_process_byte()
803 if (packet[3] & BIT(0)) in fsp_process_byte()
805 if (packet[3] & BIT(1)) in fsp_process_byte()
[all …]
/linux/drivers/usb/misc/sisusbvga/
A Dsisusb.c534 packet->data = 0; in sisusb_send_packet()
570 packet->data = 0; in sisusb_send_bridge_packet()
861 &packet, 0); in sisusb_write_mem_bulk()
866 &packet, 0); in sisusb_write_mem_bulk()
871 &packet, 0); in sisusb_write_mem_bulk()
902 &packet, 0); in sisusb_write_mem_bulk()
907 &packet, 0); in sisusb_write_mem_bulk()
973 CLEARPACKET(&packet); in sisusb_read_memio_byte()
1338 packet.data = data; in sisusb_write_pci_config()
1351 *data = packet.data; in sisusb_read_pci_config()
[all …]
/linux/drivers/infiniband/core/
A Duser_mad.c225 kfree(packet); in send_handler()
238 packet = kzalloc(sizeof *packet, GFP_KERNEL); in recv_handler()
239 if (!packet) in recv_handler()
287 kfree(packet); in recv_handler()
361 if (copy_to_user(buf, packet->mad.data, packet->length)) in copy_send_mad()
510 if (!packet) in ib_umad_write()
589 packet->msg->timeout_ms = packet->mad.hdr.timeout_ms; in ib_umad_write()
590 packet->msg->retries = packet->mad.hdr.retries; in ib_umad_write()
591 packet->msg->context[0] = packet; in ib_umad_write()
594 memcpy(packet->msg->mad, packet->mad.data, IB_MGMT_MAD_HDR); in ib_umad_write()
[all …]
/linux/drivers/tty/ipwireless/
A Dhardware.c462 unsigned short data_left = packet->length - packet->offset; in do_send_packet()
497 if (packet->offset == packet->length) in do_send_packet()
502 if (packet->offset < packet->length) { in do_send_packet()
515 packet->packet_callback(packet->callback_data, in do_send_packet()
560 if (!packet) { in pool_allocate()
582 if (!packet) in pool_allocate()
688 if (packet) { in queue_received_packet()
1259 if (!packet) in alloc_data_packet()
1282 if (!packet) in alloc_ctrl_packet()
1303 if (!packet) in ipwireless_send_packet()
[all …]
/linux/drivers/input/joystick/
A Dxpad.c1029 packet = pkt; in xpad_prepare_next_out_packet()
1034 if (packet) { in xpad_prepare_next_out_packet()
1035 memcpy(xpad->odata, packet->data, packet->len); in xpad_prepare_next_out_packet()
1191 packet->len = 12; in xpad_inquiry_pad_presence()
1236 memcpy(packet->data, mode_report_ack, packet->len); in xpadone_ack_mode_report()
1273 packet->len = 6; in xpad_play_effect()
1286 packet->len = 8; in xpad_play_effect()
1303 packet->len = 12; in xpad_play_effect()
1321 packet->len = 13; in xpad_play_effect()
1401 packet->len = 3; in xpad_send_led_command()
[all …]
A Dfsia6b.c57 struct ibus_packet packet; member
70 fsia6b->packet.ibuf = (data << 8) | ((fsia6b->packet.ibuf >> 8) & 0xFF); in fsia6b_serio_irq()
72 switch (fsia6b->packet.state) { in fsia6b_serio_irq()
83 fsia6b->packet.channel[fsia6b->packet.offset] = in fsia6b_serio_irq()
84 fsia6b->packet.ibuf; in fsia6b_serio_irq()
85 fsia6b->packet.offset++; in fsia6b_serio_irq()
88 fsia6b->packet.offset = 0; in fsia6b_serio_irq()
89 fsia6b->packet.state = SYNC; in fsia6b_serio_irq()
139 fsia6b->packet.ibuf = 0; in fsia6b_serio_connect()
140 fsia6b->packet.offset = 0; in fsia6b_serio_connect()
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
A Dpio.c43 const u8 *packet, in tx_get_next_word() argument
54 source = packet; in tx_get_next_word()
65 const u8 *packet, in tx_data() argument
207 if (packet->skb) { in free_txpacket()
229 free_txpacket(packet, 1); in pio_tx_packet()
249 free_txpacket(packet, 1); in pio_tx_packet()
308 packet->queue = queue; in setup_txqueues()
463 packet->skb = skb; in b43legacy_pio_tx()
485 if (!packet->skb) in b43legacy_pio_handle_txstatus()
525 packet->skb = NULL; in b43legacy_pio_handle_txstatus()
[all …]
/linux/drivers/media/platform/qcom/venus/
A Dhfi_msgs.c193 void *packet) in hfi_event_notify() argument
197 if (!packet) in hfi_event_notify()
221 void *packet) in hfi_sys_init_done() argument
277 struct venus_inst *inst, void *packet) in hfi_sys_property_info() argument
299 void *packet) in hfi_sys_rel_resource_done() argument
308 void *packet) in hfi_sys_ping_done() argument
321 void *packet) in hfi_sys_idle_done() argument
470 struct venus_inst *inst, void *packet) in hfi_session_etb_done() argument
480 struct venus_inst *inst, void *packet) in hfi_session_ftb_done() argument
504 packet; in hfi_session_ftb_done()
[all …]

Completed in 84 milliseconds

12345678910>>...45