Searched refs:admp (Results 1 – 1 of 1) sorted by relevance
214 adm1031_unit_t *admp; in adm1031_resume() local217 admp = (adm1031_unit_t *) in adm1031_resume()220 if (admp == NULL) { in adm1031_resume()227 admp->adm1031_transfer->i2c_flags = I2C_WR; in adm1031_resume()228 admp->adm1031_transfer->i2c_wlen = 2; in adm1031_resume()229 admp->adm1031_transfer->i2c_rlen = 0; in adm1031_resume()231 admp->adm1031_transfer->i2c_wbuf[0] = ADM1031_CONFIG_REG_1; in adm1031_resume()232 admp->adm1031_transfer->i2c_wbuf[1] = in adm1031_resume()233 admp->adm1031_cpr_state.config_reg_1; in adm1031_resume()234 if (i2c_transfer(admp->adm1031_hdl, admp->adm1031_transfer) != in adm1031_resume()[all …]