Lines Matching refs:negop

234 	struct icmsg_negotiate *negop;  in vmbus_prep_negotiate_resp()  local
243 negop = (struct icmsg_negotiate *)&buf[ICMSG_HDR]; in vmbus_prep_negotiate_resp()
245 icframe_major = negop->icframe_vercnt; in vmbus_prep_negotiate_resp()
248 icmsg_major = negop->icmsg_vercnt; in vmbus_prep_negotiate_resp()
269 for (j = 0; j < negop->icframe_vercnt; j++) { in vmbus_prep_negotiate_resp()
270 if ((negop->icversion_data[j].major == fw_major) && in vmbus_prep_negotiate_resp()
271 (negop->icversion_data[j].minor == fw_minor)) { in vmbus_prep_negotiate_resp()
272 icframe_major = negop->icversion_data[j].major; in vmbus_prep_negotiate_resp()
273 icframe_minor = negop->icversion_data[j].minor; in vmbus_prep_negotiate_resp()
292 for (j = negop->icframe_vercnt; in vmbus_prep_negotiate_resp()
293 (j < negop->icframe_vercnt + negop->icmsg_vercnt); in vmbus_prep_negotiate_resp()
296 if ((negop->icversion_data[j].major == srv_major) && in vmbus_prep_negotiate_resp()
297 (negop->icversion_data[j].minor == srv_minor)) { in vmbus_prep_negotiate_resp()
299 icmsg_major = negop->icversion_data[j].major; in vmbus_prep_negotiate_resp()
300 icmsg_minor = negop->icversion_data[j].minor; in vmbus_prep_negotiate_resp()
317 negop->icframe_vercnt = 0; in vmbus_prep_negotiate_resp()
318 negop->icmsg_vercnt = 0; in vmbus_prep_negotiate_resp()
320 negop->icframe_vercnt = 1; in vmbus_prep_negotiate_resp()
321 negop->icmsg_vercnt = 1; in vmbus_prep_negotiate_resp()
330 negop->icversion_data[0].major = icframe_major; in vmbus_prep_negotiate_resp()
331 negop->icversion_data[0].minor = icframe_minor; in vmbus_prep_negotiate_resp()
332 negop->icversion_data[1].major = icmsg_major; in vmbus_prep_negotiate_resp()
333 negop->icversion_data[1].minor = icmsg_minor; in vmbus_prep_negotiate_resp()