Home
last modified time | relevance | path

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

12345678910

/drivers/infiniband/hw/hfi1/
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()
1442 packet->hlen = (u8 *)packet->rhf_addr - (u8 *)packet->hdr; in hfi1_setup_ib_header()
1545 packet->ohdr = packet->ebuf; in hfi1_setup_bypass_packet()
1558 packet->grh = packet->ebuf; in hfi1_setup_bypass_packet()
[all …]
/drivers/gpu/drm/amd/amdkfd/
A Dkfd_packet_manager_vi.c107 packet->bitfields4.valid = 1; in pm_runlist_vi()
186 packet->mqd_addr_lo = in pm_map_queues_vi()
189 packet->mqd_addr_hi = in pm_map_queues_vi()
192 packet->wptr_addr_lo = in pm_map_queues_vi()
195 packet->wptr_addr_hi = in pm_map_queues_vi()
217 packet->bitfields2.action = in pm_unmap_queues_vi()
220 packet->bitfields2.action = in pm_unmap_queues_vi()
261 packet->bitfields2.command = in pm_query_status_vi()
280 sizeof(*packet)); in pm_release_mem_vi()
287 packet->bitfields2.atc = 0; in pm_release_mem_vi()
[all …]
A Dkfd_packet_manager_v9.c151 struct pm4_mes_runlist *packet; in pm_runlist_v9() local
183 packet->bitfields4.valid = 1; in pm_runlist_v9()
238 packet->bitfields2.queue_sel = in pm_map_queues_v9()
288 packet->mqd_addr_lo = in pm_map_queues_v9()
291 packet->mqd_addr_hi = in pm_map_queues_v9()
294 packet->wptr_addr_lo = in pm_map_queues_v9()
297 packet->wptr_addr_hi = in pm_map_queues_v9()
389 packet->data = reg_data; in pm_config_dequeue_wait_counts_v9()
415 packet->bitfields2.action = in pm_unmap_queues_v9()
418 packet->bitfields2.action = in pm_unmap_queues_v9()
[all …]
/drivers/net/wireless/ath/ath6kl/
A Dhtc_mbox.c418 packet->status, packet->endpoint, packet->act_len, in htc_tx_comp_update()
483 packet = scat_req->scat_list[0].packet; in htc_async_tx_scat_complete()
840 packet->buf, packet->act_len); in ath6kl_htc_tx_bundle()
930 packet->completion(packet->context, packet); in ath6kl_htc_tx_from_queue()
1128 packet->endpoint, packet->buf, packet->act_len); in ath6kl_htc_mbox_tx()
1179 packet, packet->act_len, in ath6kl_htc_mbox_flush_txep()
1317 packet, packet->info.rx.exp_hdr, in ath6kl_htc_rx_packet()
1839 packet->act_len = min(packet->act_len, packet->buf_len); in ath6kl_htc_rx_process_hdr()
2294 packet->buf, packet->act_len); in htc_wait_for_ctrl_msg()
2397 packet, packet->buf_len, in ath6kl_htc_mbox_flush_rx_buf()
[all …]
A Dhtc_pipe.c221 skb = packet->skb; in htc_issue_packets()
503 skb = packet->skb; in destroy_htc_txctrl_packet()
505 kfree(packet); in destroy_htc_txctrl_packet()
520 kfree(packet); in build_htc_txctrl_packet()
525 return packet; in build_htc_txctrl_packet()
828 return packet; in alloc_htc_packet_container()
1116 packet, packet->buf_len, in htc_flush_rx_queue()
1296 packet = NULL; in ath6kl_htc_pipe_conn_service()
1468 kfree(packet); in ath6kl_htc_pipe_cleanup()
1545 __func__, packet->endpoint, packet->buf, in ath6kl_htc_pipe_tx()
[all …]
/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 …]
/drivers/media/test-drivers/vivid/
A Dvivid-vbi-gen.c199 packet[13] = calc_parity(0); in vivid_vbi_gen_set_time_of_day()
218 memset(packet + 2, 0x20, 40); in vivid_vbi_gen_teletext()
223 packet[4] = hamming[0]; in vivid_vbi_gen_teletext()
224 packet[5] = hamming[0]; in vivid_vbi_gen_teletext()
225 packet[6] = hamming[0]; in vivid_vbi_gen_teletext()
226 packet[7] = hamming[0]; in vivid_vbi_gen_teletext()
227 packet[8] = hamming[0]; in vivid_vbi_gen_teletext()
228 packet[9] = hamming[1]; in vivid_vbi_gen_teletext()
231 packet += offset; in vivid_vbi_gen_teletext()
233 packet[7] = '0' + frame / 10; in vivid_vbi_gen_teletext()
[all …]
/drivers/usb/misc/sisusbvga/
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 …]
/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 …]
/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 …]
A Dlogips2pp.c44 u8 *packet = psmouse->packet; in ps2pp_process_byte() local
53 if ((packet[0] & 0x48) == 0x48 && (packet[1] & 0x02) == 0x02) { in ps2pp_process_byte()
56 switch ((packet[1] >> 4) | (packet[0] & 0x30)) { in ps2pp_process_byte()
61 packet[2] & 0x80 ? REL_HWHEEL : REL_WHEEL, in ps2pp_process_byte()
62 -sign_extend32(packet[2], 3)); in ps2pp_process_byte()
81 packet[2] & 0x08 ? REL_HWHEEL : REL_WHEEL, in ps2pp_process_byte()
82 -sign_extend32(packet[2] >> 4, 3)); in ps2pp_process_byte()
83 packet[0] = packet[2] | BIT(3); in ps2pp_process_byte()
89 (packet[1] >> 4) | (packet[0] & 0x30)); in ps2pp_process_byte()
93 psmouse_report_standard_buttons(dev, packet[0]); in ps2pp_process_byte()
[all …]
/drivers/infiniband/core/
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 …]
/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 …]
/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 …]
/drivers/input/joystick/
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 …]
A Dxpad.c1325 packet = pkt; in xpad_prepare_next_out_packet()
1330 if (packet) { in xpad_prepare_next_out_packet()
1331 memcpy(xpad->odata, packet->data, packet->len); in xpad_prepare_next_out_packet()
1483 packet->len = 12; in xpad_inquiry_pad_presence()
1533 memcpy(packet->data, mode_report_ack, packet->len); in xpadone_ack_mode_report()
1566 packet->len = 6; in xpad_play_effect()
1579 packet->len = 8; in xpad_play_effect()
1596 packet->len = 12; in xpad_play_effect()
1614 packet->len = 13; in xpad_play_effect()
1688 packet->len = 3; in xpad_send_led_command()
[all …]
/drivers/media/platform/qcom/iris/
A Diris_hfi_gen1_command.c44 packet.hdr.size = sizeof(packet); in iris_hfi_gen1_sys_image_version()
46 packet.num_properties = 1; in iris_hfi_gen1_sys_image_version()
49 return iris_hfi_queue_cmd_write_locked(core, &packet, packet.hdr.size); in iris_hfi_gen1_sys_image_version()
117 ret = iris_hfi_queue_cmd_write(inst->core, &packet, packet.shdr.hdr.size); in iris_hfi_gen1_session_open()
128 packet->shdr.hdr.size = sizeof(*packet); in iris_hfi_gen1_packet_session_cmd()
139 return iris_hfi_queue_cmd_write(inst->core, &packet, packet.shdr.hdr.size); in iris_hfi_gen1_session_close()
157 ret = iris_hfi_queue_cmd_write(core, &packet, packet.shdr.hdr.size); in iris_hfi_gen1_session_start()
168 ret = iris_hfi_queue_cmd_write(core, &packet, packet.shdr.hdr.size); in iris_hfi_gen1_session_start()
239 return iris_hfi_queue_cmd_write(inst->core, &packet, packet.shdr.hdr.size); in iris_hfi_gen1_session_continue()
416 packet->shdr.hdr.size = sizeof(*packet); in iris_hfi_gen1_packet_session_set_property()
[all …]
/drivers/gpio/
A Dgpio-ljca.c85 packet->num = 1; in ljca_gpio_config()
86 packet->item[0].index = gpio_id; in ljca_gpio_config()
90 struct_size(packet, item, packet->num), NULL, 0); in ljca_gpio_config()
105 packet->num = 1; in ljca_gpio_read()
108 struct_size(packet, item, packet->num), in ljca_gpio_read()
129 packet->num = 1; in ljca_gpio_write()
134 struct_size(packet, item, packet->num), NULL, 0); in ljca_gpio_write()
257 packet->num = 1; in ljca_enable_irq()
259 packet->item[0].value = 0; in ljca_enable_irq()
263 (u8 *)packet, struct_size(packet, item, packet->num), in ljca_enable_irq()
[all …]
/drivers/firewire/
A Dcore-transaction.c154 container_of(packet, struct fw_transaction, packet); in transmit_complete_callback()
157 packet->speed, status, packet->timestamp); in transmit_complete_callback()
203 packet->header_length = 4; in fw_fill_request()
204 packet->payload = payload; in fw_fill_request()
226 packet->header_length = 16; in fw_fill_request()
227 packet->payload_length = 0; in fw_fill_request()
235 packet->payload = payload; in fw_fill_request()
255 packet->speed = speed; in fw_fill_request()
257 packet->ack = 0; in fw_fill_request()
447 packet->timestamp); in transmit_phy_packet_callback()
[all …]
/drivers/media/rc/
A Diguanair.c39 struct send_packet *packet; member
64 struct packet { struct
71 struct packet header; argument
214 ir->packet->header.start = 0; in iguanair_get_features()
216 ir->packet->header.cmd = CMD_NOP; in iguanair_get_features()
260 ir->packet->header.start = 0; in iguanair_receiver()
305 ir->packet->busy4 = 110 - fours; in iguanair_set_tx_carrier()
318 ir->packet->channels = mask << 4; in iguanair_set_tx_mask()
343 ir->packet->header.start = 0; in iguanair_tx()
345 ir->packet->header.cmd = CMD_SEND; in iguanair_tx()
[all …]

Completed in 124 milliseconds

12345678910