Home
last modified time | relevance | path

Searched refs:i2c_cmd_status (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/sun4u/snowbird/io/todds1307/
H A Dtodds1307.c486 int i2c_cmd_status = I2C_FAILURE; in todds1307_read_rtc() local
518 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() local
590 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()
/titanic_50/usr/src/uts/sun4u/io/
H A Dtodds1337.c737 int i2c_cmd_status = I2C_FAILURE; in todds1337_read_rtc() local
769 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() local
839 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()