Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/hyperv/
Dnetvsc.c341 struct nvsp_message *init_packet; in netvsc_init_buf() local
380 init_packet = &net_device->channel_init_pkt; in netvsc_init_buf()
381 memset(init_packet, 0, sizeof(struct nvsp_message)); in netvsc_init_buf()
382 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_RECV_BUF; in netvsc_init_buf()
383 init_packet->msg.v1_msg.send_recv_buf. in netvsc_init_buf()
385 init_packet->msg.v1_msg. in netvsc_init_buf()
388 trace_nvsp_send(ndev, init_packet); in netvsc_init_buf()
391 ret = vmbus_sendpacket(device->channel, init_packet, in netvsc_init_buf()
393 (unsigned long)init_packet, in netvsc_init_buf()
405 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.12.1/drivers/input/joystick/
Dxpad.c1204 const struct xboxone_init_packet *init_packet; in xpad_prepare_next_init_packet() local
1211 init_packet = &xboxone_init_packets[xpad->init_seq++]; in xpad_prepare_next_init_packet()
1213 if (init_packet->idVendor != 0 && in xpad_prepare_next_init_packet()
1214 init_packet->idVendor != xpad->dev->id.vendor) in xpad_prepare_next_init_packet()
1217 if (init_packet->idProduct != 0 && in xpad_prepare_next_init_packet()
1218 init_packet->idProduct != xpad->dev->id.product) in xpad_prepare_next_init_packet()
1222 memcpy(xpad->odata, init_packet->data, init_packet->len); in xpad_prepare_next_init_packet()
1223 xpad->irq_out->transfer_buffer_length = init_packet->len; in xpad_prepare_next_init_packet()
/linux-6.12.1/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.12.1/drivers/pci/controller/
Dpci-hyperv.c2468 struct pci_packet init_packet; in new_pcichild_device() member
2483 pkt.init_packet.compl_ctxt = &comp_pkt; in new_pcichild_device()
2484 pkt.init_packet.completion_func = q_resource_requirements; in new_pcichild_device()
2485 res_req = (struct pci_child_message *)&pkt.init_packet.message; in new_pcichild_device()
2491 (unsigned long)&pkt.init_packet, in new_pcichild_device()