Home
last modified time | relevance | path

Searched refs:init_packet (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/hyperv/
Dnetvsc.c347 struct nvsp_message *init_packet; in netvsc_init_buf() local
398 init_packet = &net_device->channel_init_pkt; in netvsc_init_buf()
399 memset(init_packet, 0, sizeof(struct nvsp_message)); in netvsc_init_buf()
400 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_RECV_BUF; in netvsc_init_buf()
401 init_packet->msg.v1_msg.send_recv_buf. in netvsc_init_buf()
403 init_packet->msg.v1_msg. in netvsc_init_buf()
406 trace_nvsp_send(ndev, init_packet); in netvsc_init_buf()
409 ret = vmbus_sendpacket(device->channel, init_packet, in netvsc_init_buf()
411 (unsigned long)init_packet, in netvsc_init_buf()
423 resp = &init_packet->msg.v1_msg.send_recv_buf_complete; in netvsc_init_buf()
[all …]
Drndis_filter.c1289 struct nvsp_message *init_packet = &nvdev->channel_init_pkt; in rndis_set_subchannel() local
1297 memset(init_packet, 0, sizeof(struct nvsp_message)); in rndis_set_subchannel()
1298 init_packet->hdr.msg_type = NVSP_MSG5_TYPE_SUBCHANNEL; in rndis_set_subchannel()
1299 init_packet->msg.v5_msg.subchn_req.op = NVSP_SUBCHANNEL_ALLOCATE; in rndis_set_subchannel()
1300 init_packet->msg.v5_msg.subchn_req.num_subchannels = in rndis_set_subchannel()
1302 trace_nvsp_send(ndev, init_packet); in rndis_set_subchannel()
1304 ret = vmbus_sendpacket(hv_dev->channel, init_packet, in rndis_set_subchannel()
1306 (unsigned long)init_packet, in rndis_set_subchannel()
1315 if (init_packet->msg.v5_msg.subchn_comp.status != NVSP_STAT_SUCCESS) { in rndis_set_subchannel()
1321 if (init_packet->msg.v5_msg.subchn_comp.num_subchannels > nvdev->num_chn - 1) { in rndis_set_subchannel()
[all …]
/linux-6.1.9/drivers/input/joystick/
Dxpad.c1165 const struct xboxone_init_packet *init_packet; in xpad_prepare_next_init_packet() local
1172 init_packet = &xboxone_init_packets[xpad->init_seq++]; in xpad_prepare_next_init_packet()
1174 if (init_packet->idVendor != 0 && in xpad_prepare_next_init_packet()
1175 init_packet->idVendor != xpad->dev->id.vendor) in xpad_prepare_next_init_packet()
1178 if (init_packet->idProduct != 0 && in xpad_prepare_next_init_packet()
1179 init_packet->idProduct != xpad->dev->id.product) in xpad_prepare_next_init_packet()
1183 memcpy(xpad->odata, init_packet->data, init_packet->len); in xpad_prepare_next_init_packet()
1184 xpad->irq_out->transfer_buffer_length = init_packet->len; in xpad_prepare_next_init_packet()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Ddriver.c368 static inline void init_packet(struct hfi1_ctxtdata *rcd, in init_packet() function
832 init_packet(rcd, &packet); in handle_receive_interrupt_napi_fp()
857 init_packet(rcd, &packet); in handle_receive_interrupt_nodma_rtail()
884 init_packet(rcd, &packet); in handle_receive_interrupt_dma_rtail()
1014 init_packet(rcd, &packet); in handle_receive_interrupt()
1114 init_packet(rcd, &packet); in handle_receive_interrupt_napi_sp()
1840 init_packet(rcd, &packet); in seqfile_dump_rcd()
/linux-6.1.9/drivers/pci/controller/
Dpci-hyperv.c2401 struct pci_packet init_packet; in new_pcichild_device() member
2416 pkt.init_packet.compl_ctxt = &comp_pkt; in new_pcichild_device()
2417 pkt.init_packet.completion_func = q_resource_requirements; in new_pcichild_device()
2418 res_req = (struct pci_child_message *)&pkt.init_packet.message; in new_pcichild_device()
2424 (unsigned long)&pkt.init_packet, in new_pcichild_device()