Searched refs:i2c_cmd_status (Results 1 – 2 of 2) sorted by relevance
486 int i2c_cmd_status = I2C_FAILURE; in todds1307_read_rtc() local518 if ((i2c_cmd_status = i2c_transfer(statep->ds1307_i2c_hdl, in todds1307_read_rtc()533 if ((i2c_cmd_status = i2c_transfer(statep->ds1307_i2c_hdl, in todds1307_read_rtc()569 return (i2c_cmd_status); in todds1307_read_rtc()578 int i2c_cmd_status = I2C_SUCCESS; in todds1307_write_rtc() local590 if ((i2c_cmd_status = i2c_transfer_alloc(statep->ds1307_i2c_hdl, in todds1307_write_rtc()592 return (i2c_cmd_status); in todds1307_write_rtc()607 if ((i2c_cmd_status = i2c_transfer(statep->ds1307_i2c_hdl, in todds1307_write_rtc()612 return (i2c_cmd_status); in todds1307_write_rtc()619 return (i2c_cmd_status); in todds1307_write_rtc()
737 int i2c_cmd_status = I2C_FAILURE; in todds1337_read_rtc() local769 if ((i2c_cmd_status = i2c_transfer(statep->ds1337_i2c_hdl, in todds1337_read_rtc()783 if ((i2c_cmd_status = i2c_transfer(statep->ds1337_i2c_hdl, in todds1337_read_rtc()818 return (i2c_cmd_status); in todds1337_read_rtc()827 int i2c_cmd_status = I2C_SUCCESS; in todds1337_write_rtc() local839 if ((i2c_cmd_status = i2c_transfer_alloc(statep->ds1337_i2c_hdl, in todds1337_write_rtc()841 return (i2c_cmd_status); in todds1337_write_rtc()856 if ((i2c_cmd_status = i2c_transfer(statep->ds1337_i2c_hdl, in todds1337_write_rtc()859 return (i2c_cmd_status); in todds1337_write_rtc()866 return (i2c_cmd_status); in todds1337_write_rtc()