Lines Matching defs:status

619 	int i, status;
628 if ((status = ehc_start_pcf8584(ehcp, byteaddress)) != EHC_SUCCESS) {
629 if (status == EHC_NO_SLAVE_ACK) {
638 if ((status = ehc_write_pcf8584(ehcp, control)) != EHC_SUCCESS) {
639 if (status == EHC_NO_SLAVE_ACK) {
649 if ((status = ehc_write_pcf8584(ehcp, (buf[i] & 0x3f))) !=
651 if (status == EHC_NO_SLAVE_ACK)
671 int status;
680 if ((status = ehc_start_pcf8584(ehcp, EHC_BYTE_READ | byteaddress)) !=
682 if (status == EHC_NO_SLAVE_ACK) {
700 if ((status = ehc_read_pcf8584(ehcp, &buf[i])) != EHC_SUCCESS) {
726 int status;
734 if ((status = ehc_start_pcf8584(ehcp, byteaddress)) != EHC_SUCCESS) {
735 if (status == EHC_NO_SLAVE_ACK) {
748 if ((status = ehc_write_pcf8584(ehcp, buf[i])) != EHC_SUCCESS) {
749 if (status == EHC_NO_SLAVE_ACK)
773 int status;
782 if ((status = ehc_start_pcf8584(ehcp, EHC_BYTE_READ | byteaddress)) !=
784 if (status == EHC_NO_SLAVE_ACK) {
802 if ((status = ehc_read_pcf8584(ehcp, &buf[i])) != EHC_SUCCESS) {
828 int status;
836 if ((status = ehc_start_pcf8584(ehcp, byteaddress)) != EHC_SUCCESS) {
837 if (status == EHC_NO_SLAVE_ACK) {
850 if ((status = ehc_write_pcf8584(ehcp, buf[i])) != EHC_SUCCESS) {
851 if (status == EHC_NO_SLAVE_ACK)
874 int status;
883 if ((status = ehc_start_pcf8584(ehcp, EHC_BYTE_READ | byteaddress)) !=
885 if (status == EHC_NO_SLAVE_ACK) {
903 if ((status = ehc_read_pcf8584(ehcp, &buf[i])) != EHC_SUCCESS) {
928 int status;
933 if ((status = ehc_start_pcf8584(ehcp, byteaddress)) != EHC_SUCCESS) {
934 if (status == EHC_NO_SLAVE_ACK) {
947 if ((status = ehc_write_pcf8584(ehcp, buf[i])) != EHC_SUCCESS) {
948 if (status == EHC_NO_SLAVE_ACK)
971 int status;
989 if ((status = ehc_start_pcf8584(ehcp, byteaddress)) != EHC_SUCCESS) {
990 if (status == EHC_NO_SLAVE_ACK) {
996 if ((status = ehc_write_pcf8584(ehcp, control)) != EHC_SUCCESS) {
997 if (status == EHC_NO_SLAVE_ACK)
1018 status =
1021 } while ((status & EHC_S1_PIN) && i < EHC_MAX_WAIT);
1028 if (status & EHC_S1_BER) {
1034 if (status & EHC_S1_LAB) {
1040 if (status & EHC_S1_LRB) {
1060 if ((status = ehc_read_pcf8584(ehcp, &discard)) != EHC_SUCCESS) {
1065 if ((status = ehc_read_pcf8584(ehcp, &discard)) != EHC_SUCCESS) {
1070 if ((status = ehc_read_pcf8584(ehcp, &buf[i])) != EHC_SUCCESS) {
1090 int i, status;
1098 status = ehc_start_pcf8584(ehcp, byteaddress);
1099 if (status != EHC_SUCCESS) {
1100 if (status == EHC_NO_SLAVE_ACK) {
1109 if ((status = ehc_write_pcf8584(ehcp, control)) != EHC_SUCCESS) {
1110 if (status == EHC_NO_SLAVE_ACK)
1116 status = ehc_write_pcf8584(ehcp, buf[i]);
1117 if (status != EHC_SUCCESS) {
1118 if (status == EHC_NO_SLAVE_ACK)