Home
last modified time | relevance | path

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

12345678910>>...38

/openbmc/linux/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-pkt-decoder.c95 packet->count = count; in intel_pt_get_long_tnt()
143 packet->count = count; in intel_pt_get_vmcs()
227 switch (packet->count) { in intel_pt_get_ptwrite()
424 packet->count = count; in intel_pt_get_short_tnt()
493 packet->type = type; in intel_pt_get_ip()
510 packet->payload = 16; in intel_pt_get_mode()
599 packet); in intel_pt_do_get_packet()
602 packet); in intel_pt_do_get_packet()
663 if (packet->count) in intel_pt_upd_pkt_ctx()
731 if (!(packet->count)) in intel_pt_pkt_desc()
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Ddriver.c694 packet->rhqoff += packet->rsize; in skip_rcv_packet()
716 packet->ebuf = get_egrbuf(packet->rcd, packet->rhf, in process_rcv_packet_napi()
728 packet->rcd->rhf_rcv_function_map[packet->etype](packet); in process_rcv_packet_napi()
732 packet->rhqoff += packet->rsize; in process_rcv_packet_napi()
753 packet->ebuf = get_egrbuf(packet->rcd, packet->rhf, in process_rcv_packet()
774 packet->rcd->rhf_rcv_function_map[packet->etype](packet); in process_rcv_packet()
800 update_usrhead(packet->rcd, packet->rhqoff, packet->updegr, in process_rcv_update()
1441 packet->hlen = (u8 *)packet->rhf_addr - (u8 *)packet->hdr; in hfi1_setup_ib_header()
1544 packet->ohdr = packet->ebuf; in hfi1_setup_bypass_packet()
1557 packet->grh = packet->ebuf; in hfi1_setup_bypass_packet()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_packet_manager_vi.c106 packet->bitfields4.valid = 1; in pm_runlist_vi()
185 packet->mqd_addr_lo = in pm_map_queues_vi()
188 packet->mqd_addr_hi = in pm_map_queues_vi()
191 packet->wptr_addr_lo = in pm_map_queues_vi()
194 packet->wptr_addr_hi = in pm_map_queues_vi()
216 packet->bitfields2.action = in pm_unmap_queues_vi()
219 packet->bitfields2.action = in pm_unmap_queues_vi()
260 packet->bitfields2.command = in pm_query_status_vi()
279 sizeof(*packet)); in pm_release_mem_vi()
286 packet->bitfields2.atc = 0; in pm_release_mem_vi()
[all …]
H A Dkfd_packet_manager_v9.c143 struct pm4_mes_runlist *packet; in pm_runlist_v9() local
170 packet->bitfields4.valid = 1; in pm_runlist_v9()
223 packet->bitfields2.queue_sel = in pm_map_queues_v9()
274 packet->mqd_addr_lo = in pm_map_queues_v9()
277 packet->mqd_addr_hi = in pm_map_queues_v9()
280 packet->wptr_addr_lo = in pm_map_queues_v9()
283 packet->wptr_addr_hi = in pm_map_queues_v9()
319 packet->data = reg_data; in pm_set_grace_period_v9()
345 packet->bitfields2.action = in pm_unmap_queues_v9()
348 packet->bitfields2.action = in pm_unmap_queues_v9()
[all …]
/openbmc/linux/net/sctp/
H 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()
157 packet->vtag = 0; in sctp_packet_init()
187 packet, packet->size, chunk, chunk->skb ? chunk->skb->len : -1); in sctp_packet_transmit_chunk()
598 head = alloc_skb((gso ? packet->overhead : packet->size) + in sctp_packet_transmit()
[all …]
/openbmc/linux/tools/perf/util/arm-spe-decoder/
H 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()
479 switch (packet->index) { in arm_spe_pkt_desc_counter()
499 int idx = packet->index; in arm_spe_pkt_desc()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H 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()
2295 packet->buf, packet->act_len); in htc_wait_for_ctrl_msg()
2398 packet, packet->buf_len, in ath6kl_htc_mbox_flush_rx_buf()
[all …]
H 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 …]
/openbmc/linux/drivers/platform/surface/aggregator/
H 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 …]
/openbmc/qemu/net/
H A Dqueue.c87 g_free(packet); in qemu_del_net_queue()
100 NetPacket *packet; in qemu_net_queue_append() local
107 packet->flags = flags; in qemu_net_queue_append()
108 packet->size = size; in qemu_net_queue_append()
123 NetPacket *packet; in qemu_net_queue_append_iov() local
137 packet->flags = flags; in qemu_net_queue_append_iov()
138 packet->size = 0; in qemu_net_queue_append_iov()
143 memcpy(packet->data + packet->size, iov[i].iov_base, len); in qemu_net_queue_append_iov()
266 packet->sent_cb(packet->sender, 0); in qemu_net_queue_purge()
298 packet->sent_cb(packet->sender, ret); in qemu_net_queue_flush()
[all …]
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-vbi-gen.c203 packet[13] = calc_parity(0); in vivid_vbi_gen_set_time_of_day()
222 memset(packet + 2, 0x20, 40); in vivid_vbi_gen_teletext()
227 packet[4] = hamming[0]; in vivid_vbi_gen_teletext()
228 packet[5] = hamming[0]; in vivid_vbi_gen_teletext()
229 packet[6] = hamming[0]; in vivid_vbi_gen_teletext()
230 packet[7] = hamming[0]; in vivid_vbi_gen_teletext()
231 packet[8] = hamming[0]; in vivid_vbi_gen_teletext()
232 packet[9] = hamming[1]; in vivid_vbi_gen_teletext()
235 packet += offset; in vivid_vbi_gen_teletext()
237 packet[7] = '0' + frame / 10; in vivid_vbi_gen_teletext()
[all …]
/openbmc/qemu/hw/usb/
H A Dpcap.c115 header.orig_len = packet->length + sizeof(*packet); in do_usb_pcap_header()
117 fwrite(packet, sizeof(*packet), 1, fp); in do_usb_pcap_header()
146 packet.flag_data = '<'; in do_usb_pcap_ctrl()
147 packet.length = 0; in do_usb_pcap_ctrl()
151 packet.flag_data = '>'; in do_usb_pcap_ctrl()
152 packet.length = 0; in do_usb_pcap_ctrl()
156 packet.len_cap = data_len + sizeof(packet); in do_usb_pcap_ctrl()
198 packet.flag_data = '<'; in do_usb_pcap_data()
199 packet.length = 0; in do_usb_pcap_data()
204 packet.length = 0; in do_usb_pcap_data()
[all …]
/openbmc/u-boot/net/
H A Dfastboot.c55 uchar *packet; in fastboot_udp_send_info() local
67 packet_base = packet; in fastboot_udp_send_info()
75 packet += strlen(response); in fastboot_udp_send_info()
77 len = packet - packet_base; in fastboot_udp_send_info()
122 uchar *packet; in fastboot_send() local
138 packet_base = packet; in fastboot_send()
157 packet += sizeof(tmp); in fastboot_send()
162 packet += sizeof(tmp); in fastboot_send()
165 packet += sizeof(tmp); in fastboot_send()
207 len = packet - packet_base; in fastboot_send()
[all …]
/openbmc/linux/drivers/usb/misc/sisusbvga/
H A Dsisusbvga.c520 packet->data = 0; in sisusb_send_packet()
556 packet->data = 0; in sisusb_send_bridge_packet()
847 &packet, 0); in sisusb_write_mem_bulk()
852 &packet, 0); in sisusb_write_mem_bulk()
857 &packet, 0); in sisusb_write_mem_bulk()
888 &packet, 0); in sisusb_write_mem_bulk()
893 &packet, 0); in sisusb_write_mem_bulk()
959 CLEARPACKET(&packet); in sisusb_read_memio_byte()
1280 packet.data = data; in sisusb_write_pci_config()
1293 *data = packet.data; in sisusb_read_pci_config()
[all …]
/openbmc/linux/drivers/tty/hvc/
H 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 …]
/openbmc/linux/drivers/input/mouse/
H 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 …]
H 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()
H 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 …]
/openbmc/phosphor-net-ipmid/
H A Dmessage_parsers.cpp156 packet.insert(packet.end(), outMessage->payload.begin(), in flatten()
160 packet.resize(packet.size() + sizeof(SessionTrailer_t)); in flatten()
162 reinterpret_cast<SessionTrailer_t*>(packet.data() + packet.size()); in flatten()
165 return packet; in flatten()
286 packet.insert(packet.end(), outMessage->payload.begin(), in flatten()
297 return packet; in flatten()
381 packet.insert(packet.end(), paddingLen, 0xFF); in addIntegrityData()
383 packet.resize(packet.size() + sizeof(SessionTrailer_t)); in addIntegrityData()
386 packet.data() + packet.size() - sizeof(SessionTrailer_t)); in addIntegrityData()
394 packet.insert(packet.end(), integrityData.begin(), integrityData.end()); in addIntegrityData()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Duser_mad.c237 kfree(packet); in send_handler()
250 packet = kzalloc(sizeof *packet, GFP_KERNEL); in recv_handler()
251 if (!packet) in recv_handler()
299 kfree(packet); in recv_handler()
373 if (copy_to_user(buf, packet->mad.data, packet->length)) in copy_send_mad()
524 if (!packet) in ib_umad_write()
603 packet->msg->timeout_ms = packet->mad.hdr.timeout_ms; in ib_umad_write()
604 packet->msg->retries = packet->mad.hdr.retries; in ib_umad_write()
605 packet->msg->context[0] = packet; in ib_umad_write()
608 memcpy(packet->msg->mad, packet->mad.data, IB_MGMT_MAD_HDR); in ib_umad_write()
[all …]
/openbmc/linux/drivers/tty/ipwireless/
H 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 …]
/openbmc/phosphor-net-ipmid/test/
H A Dcipher.cpp118 auto packetSize = packet.size(); in TEST()
119 packet.insert(packet.end(), output.begin(), output.end()); in TEST()
134 integrityIter, packet.cend()); in TEST()
150 packet.insert(packet.end(), integrity.begin(), integrity.end()); in TEST()
170 packet, packet.size() - message::parser::RMCP_SESSION_HEADER_SIZE, in TEST()
171 integrityIter, packet.cend()); in TEST()
282 auto packetSize = packet.size(); in TEST()
283 packet.insert(packet.end(), output.begin(), output.end()); in TEST()
298 integrityIter, packet.cend()); in TEST()
314 packet.insert(packet.end(), integrity.begin(), integrity.end()); in TEST()
[all …]
/openbmc/linux/tools/perf/arch/x86/tests/
H A Dintel-pt-test.c29 struct intel_pt_pkt packet; member
225 if (packet->type != d->packet.type) in fail()
227 d->packet.type, packet->type); in fail()
229 if (packet->count != d->packet.count) in fail()
231 d->packet.count, packet->count); in fail()
233 if (packet->payload != d->packet.payload) in fail()
263 struct intel_pt_pkt packet; in test_one() local
267 memset(&packet, 0xff, sizeof(packet)); in test_one()
293 if (ret != d->len || packet.type != d->packet.type || in test_one()
294 packet.count != d->packet.count || in test_one()
[all …]
/openbmc/linux/drivers/input/joystick/
H 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 …]
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H 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 …]

12345678910>>...38