Lines Matching refs:major
48 static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) in send_version() argument
56 pkt.major = major; in send_version()
61 major, minor, vio->dev_class); in send_version()
75 vio->ver_table[0].major, in start_handshake()
240 u16 major) in find_by_major() argument
247 if (v->major <= major) { in find_by_major()
262 pkt->major, pkt->minor, pkt->dev_class); in process_ver_info()
270 vap = find_by_major(vio, pkt->major); in process_ver_info()
276 pkt->major = 0; in process_ver_info()
280 } else if (vap->major != pkt->major) { in process_ver_info()
282 pkt->major = vap->major; in process_ver_info()
285 pkt->major, pkt->minor); in process_ver_info()
289 .major = pkt->major, in process_ver_info()
298 pkt->major, pkt->minor); in process_ver_info()
315 pkt->major, pkt->minor, pkt->dev_class); in process_ver_ack()
318 if (vio->ver.major != pkt->major || in process_ver_ack()
325 vio->ver.major = pkt->major; in process_ver_ack()
350 pkt->major, pkt->minor, pkt->dev_class); in process_ver_nack()
352 if (pkt->major == 0 && pkt->minor == 0) in process_ver_nack()
354 nver = find_by_major(vio, pkt->major); in process_ver_nack()
358 if (send_version(vio, nver->major, nver->minor) < 0) in process_ver_nack()