Lines Matching refs:major
46 static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) in send_version() argument
54 pkt.major = major; in send_version()
59 major, minor, vio->dev_class); in send_version()
73 vio->ver_table[0].major, in start_handshake()
229 u16 major) in find_by_major() argument
236 if (v->major <= major) { in find_by_major()
251 pkt->major, pkt->minor, pkt->dev_class); in process_ver_info()
259 vap = find_by_major(vio, pkt->major); in process_ver_info()
265 pkt->major = 0; in process_ver_info()
269 } else if (vap->major != pkt->major) { in process_ver_info()
271 pkt->major = vap->major; in process_ver_info()
274 pkt->major, pkt->minor); in process_ver_info()
278 .major = pkt->major, in process_ver_info()
286 pkt->major, pkt->minor); in process_ver_info()
303 pkt->major, pkt->minor, pkt->dev_class); in process_ver_ack()
306 if (vio->ver.major != pkt->major || in process_ver_ack()
313 vio->ver.major = pkt->major; in process_ver_ack()
338 pkt->major, pkt->minor, pkt->dev_class); in process_ver_nack()
340 if (pkt->major == 0 && pkt->minor == 0) in process_ver_nack()
342 nver = find_by_major(vio, pkt->major); in process_ver_nack()
346 if (send_version(vio, nver->major, nver->minor) < 0) in process_ver_nack()