Lines Matching refs:smcd_version

1027 		ini->smcd_version = 0;  in smc_find_ism_v2_device_clnt()
1047 if (!(ini->smcd_version & SMC_V1) || in smc_find_proposal_devices()
1050 ini->smcd_version &= ~SMC_V1; in smc_find_proposal_devices()
1059 ini->smc_type_v1 = smc_indicated_type(ini->smcd_version & SMC_V1, in smc_find_proposal_devices()
1063 if (!(ini->smcd_version & SMC_V2) || in smc_find_proposal_devices()
1066 ini->smcd_version &= ~SMC_V2; in smc_find_proposal_devices()
1078 ini->smc_type_v2 = smc_indicated_type(ini->smcd_version & SMC_V2, in smc_find_proposal_devices()
1450 ini->smcd_version = SMC_V1 | SMC_V2; in __smc_connect()
1457 ini->smcd_version &= ~SMC_V1; in __smc_connect()
1460 if (!ini->smcd_version) { in __smc_connect()
1500 ini->smcd_version = version; in __smc_connect()
1913 ini->smcd_version = smcd_indicated(ini->smc_type_v1) ? SMC_V1 : 0; in smc_listen_v2_check()
1917 ini->smcd_version |= SMC_V2; in smc_listen_v2_check()
1921 if (!(ini->smcd_version & SMC_V2) && !(ini->smcr_version & SMC_V2)) { in smc_listen_v2_check()
1927 ini->smcd_version &= ~SMC_V2; in smc_listen_v2_check()
1933 if (ini->smcd_version & SMC_V2) { in smc_listen_v2_check()
1935 ini->smcd_version &= ~SMC_V2; in smc_listen_v2_check()
1938 ini->smcd_version &= ~SMC_V2; in smc_listen_v2_check()
1942 ini->smcd_version &= ~SMC_V2; in smc_listen_v2_check()
1954 if (!ini->smcd_version && !ini->smcr_version) in smc_listen_v2_check()
2064 u8 smcd_version; in smc_find_ism_v2_device_serv() local
2068 if (!(ini->smcd_version & SMC_V2) || !smcd_indicated(ini->smc_type_v2)) in smc_find_ism_v2_device_serv()
2102 smcd_version = ini->smcd_version; in smc_find_ism_v2_device_serv()
2104 ini->smcd_version = SMC_V2; in smc_find_ism_v2_device_serv()
2116 ini->smcd_version = smcd_version; /* restore original value */ in smc_find_ism_v2_device_serv()
2120 ini->smcd_version &= ~SMC_V2; in smc_find_ism_v2_device_serv()
2133 if (!(ini->smcd_version & SMC_V1) || !smcd_indicated(ini->smc_type_v1)) in smc_find_ism_v1_device_serv()
2147 ini->smcd_version &= ~SMC_V1; in smc_find_ism_v1_device_serv()
2393 accept_version = ini->is_smcd ? ini->smcd_version : ini->smcr_version; in smc_listen_work()