Lines Matching refs:status
889 u_int status; in i365_get_status() local
891 status = i365_get(sock, I365_STATUS); in i365_get_status()
892 *value = ((status & I365_CS_DETECT) == I365_CS_DETECT) in i365_get_status()
896 *value |= (status & I365_CS_STSCHG) ? 0 : SS_STSCHG; in i365_get_status()
898 *value |= (status & I365_CS_BVD1) ? 0 : SS_BATDEAD; in i365_get_status()
899 *value |= (status & I365_CS_BVD2) ? 0 : SS_BATWARN; in i365_get_status()
901 *value |= (status & I365_CS_WRPROT) ? SS_WRPROT : 0; in i365_get_status()
902 *value |= (status & I365_CS_READY) ? SS_READY : 0; in i365_get_status()
903 *value |= (status & I365_CS_POWERON) ? SS_POWERON : 0; in i365_get_status()
906 status = i365_get(sock, VG469_VSENSE); in i365_get_status()
908 *value |= (status & VG469_VSENSE_B_VS1) ? 0 : SS_3VCARD; in i365_get_status()
909 *value |= (status & VG469_VSENSE_B_VS2) ? 0 : SS_XVCARD; in i365_get_status()
911 *value |= (status & VG469_VSENSE_A_VS1) ? 0 : SS_3VCARD; in i365_get_status()
912 *value |= (status & VG469_VSENSE_A_VS2) ? 0 : SS_XVCARD; in i365_get_status()