Home
last modified time | relevance | path

Searched refs:init_packet (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/hyperv/
H A Dnetvsc.c303 struct nvsp_message *init_packet; in netvsc_init_buf() local
343 init_packet = &net_device->channel_init_pkt; in netvsc_init_buf()
344 memset(init_packet, 0, sizeof(struct nvsp_message)); in netvsc_init_buf()
345 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_RECV_BUF; in netvsc_init_buf()
346 init_packet->msg.v1_msg.send_recv_buf. in netvsc_init_buf()
348 init_packet->msg.v1_msg. in netvsc_init_buf()
351 trace_nvsp_send(ndev, init_packet); in netvsc_init_buf()
354 ret = vmbus_sendpacket(device->channel, init_packet, in netvsc_init_buf()
356 (unsigned long)init_packet, in netvsc_init_buf()
368 resp = &init_packet in netvsc_init_buf()
507 negotiate_nvsp_ver(struct hv_device *device, struct netvsc_device *net_device, struct nvsp_message *init_packet, u32 nvsp_ver) negotiate_nvsp_ver() argument
576 struct nvsp_message *init_packet; netvsc_connect_vsp() local
[all...]
H A Drndis_filter.c1193 struct nvsp_message *init_packet = &nvdev->channel_init_pkt; in rndis_set_subchannel() local
1201 memset(init_packet, 0, sizeof(struct nvsp_message)); in rndis_set_subchannel()
1202 init_packet->hdr.msg_type = NVSP_MSG5_TYPE_SUBCHANNEL; in rndis_set_subchannel()
1203 init_packet->msg.v5_msg.subchn_req.op = NVSP_SUBCHANNEL_ALLOCATE; in rndis_set_subchannel()
1204 init_packet->msg.v5_msg.subchn_req.num_subchannels = in rndis_set_subchannel()
1206 trace_nvsp_send(ndev, init_packet); in rndis_set_subchannel()
1208 ret = vmbus_sendpacket(hv_dev->channel, init_packet, in rndis_set_subchannel()
1210 (unsigned long)init_packet, in rndis_set_subchannel()
1219 if (init_packet->msg.v5_msg.subchn_comp.status != NVSP_STAT_SUCCESS) { in rndis_set_subchannel()
1225 init_packet in rndis_set_subchannel()
[all...]
/kernel/linux/linux-6.6/drivers/net/hyperv/
H A Dnetvsc.c338 struct nvsp_message *init_packet; in netvsc_init_buf() local
377 init_packet = &net_device->channel_init_pkt; in netvsc_init_buf()
378 memset(init_packet, 0, sizeof(struct nvsp_message)); in netvsc_init_buf()
379 init_packet->hdr.msg_type = NVSP_MSG1_TYPE_SEND_RECV_BUF; in netvsc_init_buf()
380 init_packet->msg.v1_msg.send_recv_buf. in netvsc_init_buf()
382 init_packet->msg.v1_msg. in netvsc_init_buf()
385 trace_nvsp_send(ndev, init_packet); in netvsc_init_buf()
388 ret = vmbus_sendpacket(device->channel, init_packet, in netvsc_init_buf()
390 (unsigned long)init_packet, in netvsc_init_buf()
402 resp = &init_packet in netvsc_init_buf()
551 negotiate_nvsp_ver(struct hv_device *device, struct netvsc_device *net_device, struct nvsp_message *init_packet, u32 nvsp_ver) negotiate_nvsp_ver() argument
623 struct nvsp_message *init_packet; netvsc_connect_vsp() local
[all...]
H A Drndis_filter.c1290 struct nvsp_message *init_packet = &nvdev->channel_init_pkt; in rndis_set_subchannel() local
1298 memset(init_packet, 0, sizeof(struct nvsp_message)); in rndis_set_subchannel()
1299 init_packet->hdr.msg_type = NVSP_MSG5_TYPE_SUBCHANNEL; in rndis_set_subchannel()
1300 init_packet->msg.v5_msg.subchn_req.op = NVSP_SUBCHANNEL_ALLOCATE; in rndis_set_subchannel()
1301 init_packet->msg.v5_msg.subchn_req.num_subchannels = in rndis_set_subchannel()
1303 trace_nvsp_send(ndev, init_packet); in rndis_set_subchannel()
1305 ret = vmbus_sendpacket(hv_dev->channel, init_packet, in rndis_set_subchannel()
1307 (unsigned long)init_packet, in rndis_set_subchannel()
1316 if (init_packet->msg.v5_msg.subchn_comp.status != NVSP_STAT_SUCCESS) { in rndis_set_subchannel()
1322 if (init_packet in rndis_set_subchannel()
[all...]
/kernel/linux/linux-5.10/drivers/input/joystick/
H A Dxpad.c1001 const struct xboxone_init_packet *init_packet; in xpad_prepare_next_init_packet() local
1008 init_packet = &xboxone_init_packets[xpad->init_seq++]; in xpad_prepare_next_init_packet()
1010 if (init_packet->idVendor != 0 && in xpad_prepare_next_init_packet()
1011 init_packet->idVendor != xpad->dev->id.vendor) in xpad_prepare_next_init_packet()
1014 if (init_packet->idProduct != 0 && in xpad_prepare_next_init_packet()
1015 init_packet->idProduct != xpad->dev->id.product) in xpad_prepare_next_init_packet()
1019 memcpy(xpad->odata, init_packet->data, init_packet->len); in xpad_prepare_next_init_packet()
1020 xpad->irq_out->transfer_buffer_length = init_packet->len; in xpad_prepare_next_init_packet()
/kernel/linux/linux-6.6/drivers/input/joystick/
H A Dxpad.c1182 const struct xboxone_init_packet *init_packet; in xpad_prepare_next_init_packet() local
1189 init_packet = &xboxone_init_packets[xpad->init_seq++]; in xpad_prepare_next_init_packet()
1191 if (init_packet->idVendor != 0 && in xpad_prepare_next_init_packet()
1192 init_packet->idVendor != xpad->dev->id.vendor) in xpad_prepare_next_init_packet()
1195 if (init_packet->idProduct != 0 && in xpad_prepare_next_init_packet()
1196 init_packet->idProduct != xpad->dev->id.product) in xpad_prepare_next_init_packet()
1200 memcpy(xpad->odata, init_packet->data, init_packet->len); in xpad_prepare_next_init_packet()
1201 xpad->irq_out->transfer_buffer_length = init_packet->len; in xpad_prepare_next_init_packet()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Ddriver.c415 static inline void init_packet(struct hfi1_ctxtdata *rcd, in init_packet() function
879 init_packet(rcd, &packet); in handle_receive_interrupt_napi_fp()
904 init_packet(rcd, &packet); in handle_receive_interrupt_nodma_rtail()
931 init_packet(rcd, &packet); in handle_receive_interrupt_dma_rtail()
1061 init_packet(rcd, &packet); in handle_receive_interrupt()
1161 init_packet(rcd, &packet); in handle_receive_interrupt_napi_sp()
1889 init_packet(rcd, &packet); in seqfile_dump_rcd()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A 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()
/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpci-hyperv.c2000 struct pci_packet init_packet; in new_pcichild_device() member
2015 pkt.init_packet.compl_ctxt = &comp_pkt; in new_pcichild_device()
2016 pkt.init_packet.completion_func = q_resource_requirements; in new_pcichild_device()
2017 res_req = (struct pci_child_message *)&pkt.init_packet.message; in new_pcichild_device()
2023 (unsigned long)&pkt.init_packet, in new_pcichild_device()
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dpci-hyperv.c2475 struct pci_packet init_packet; in new_pcichild_device() member
2490 pkt.init_packet.compl_ctxt = &comp_pkt; in new_pcichild_device()
2491 pkt.init_packet.completion_func = q_resource_requirements; in new_pcichild_device()
2492 res_req = (struct pci_child_message *)&pkt.init_packet.message; in new_pcichild_device()
2498 (unsigned long)&pkt.init_packet, in new_pcichild_device()

Completed in 25 milliseconds