Lines Matching refs:status

18 	int	status;
50 status = efb_i2c_clk_stretch(efb_priv, port, fcns);
51 if (status != EFB_I2C_OK) {
52 return (status);
67 int status;
81 status = efb_i2c_clk_stretch(efb_priv, port, fcns);
82 if (status != EFB_I2C_OK) {
83 return (status);
100 int status;
104 if ((status = efb_read_bit(efb_priv, port, fcns, &b7)) != EFB_I2C_OK ||
105 (status = efb_read_bit(efb_priv, port, fcns, &b6)) != EFB_I2C_OK ||
106 (status = efb_read_bit(efb_priv, port, fcns, &b5)) != EFB_I2C_OK ||
107 (status = efb_read_bit(efb_priv, port, fcns, &b4)) != EFB_I2C_OK ||
108 (status = efb_read_bit(efb_priv, port, fcns, &b3)) != EFB_I2C_OK ||
109 (status = efb_read_bit(efb_priv, port, fcns, &b2)) != EFB_I2C_OK ||
110 (status = efb_read_bit(efb_priv, port, fcns, &b1)) != EFB_I2C_OK ||
111 (status = efb_read_bit(efb_priv, port, fcns, &b0)) != EFB_I2C_OK) {
112 return (status);
133 int status;
135 status = efb_read_byte_data(efb_priv, port, fcns, rval);
136 if (status != EFB_I2C_OK) {
137 return (status);
148 int status;
150 status = efb_read_byte_data(efb_priv, port, fcns, rval);
151 if (status != EFB_I2C_OK) {
152 return (status);
163 status = efb_i2c_clk_stretch(efb_priv, port, fcns);
164 if (status != EFB_I2C_OK) {
165 return (status);
170 status = fcns->get_sda(efb_priv, port); /* should float high */
173 return (status == 1 ? EFB_I2C_OK : EFB_I2C_READ_NOACK);
181 int status;
191 status = efb_i2c_clk_stretch(efb_priv, port, fcns);
192 if (status != EFB_I2C_OK) {
193 return (status);
209 int status;
218 status = efb_write_bit(efb_priv, port, fcns, bit);
219 if (status != EFB_I2C_OK) {
220 return (status);
232 int status;
255 status = efb_i2c_clk_stretch(efb_priv, port, fcns);
256 if (status != EFB_I2C_OK) {
257 return (status);
272 int status;
288 status = efb_i2c_clk_stretch(efb_priv, port, fcns);
289 if (status != EFB_I2C_OK) {
290 return (status);
295 status = fcns->get_sda(efb_priv, port);
298 return (status == 0 ? EFB_I2C_OK : EFB_I2C_NOACK);
319 int status = 0;
335 status = (count <= 0) ? EFB_I2C_STRETCH : EFB_I2C_OK;
337 return (status);