Lines Matching refs:api_version
27 uint16_t api_version; member
31 static int pnic_api_check ( uint16_t api_version );
107 if ( priv->api_version ) pnic_api_check(priv->api_version); in pnic_command()
112 static int pnic_api_check ( uint16_t api_version ) { in pnic_api_check() argument
113 if ( api_version != PNIC_API_VERSION ) { in pnic_api_check()
116 api_version >> 8, api_version & 0xff, in pnic_api_check()
119 if ( api_version < PNIC_API_VERSION ) { in pnic_api_check()
122 return ( api_version == PNIC_API_VERSION ); in pnic_api_check()
233 &priv.api_version, in pnic_probe()
234 sizeof(priv.api_version), NULL ); in pnic_probe()
240 pnic_api_check(priv.api_version); in pnic_probe()
244 nic->node_addr, priv.api_version>>8, priv.api_version&0xff, in pnic_probe()