Lines Matching refs:byteaddress

195 ehc_start_pcf8584(struct ehc_envcunit *ehcp, uint8_t byteaddress)  in ehc_start_pcf8584()  argument
303 ddi_put8(ehcp->ctlr_handle, &ehcp->bus_ctl_regs->s0, byteaddress); in ehc_start_pcf8584()
344 if (byteaddress & EHC_BYTE_READ) { in ehc_start_pcf8584()
615 ehc_write_tda8444(struct ehc_envcunit *ehcp, int byteaddress, int instruction, in ehc_write_tda8444() argument
621 ASSERT((byteaddress & 0x1) == 0); in ehc_write_tda8444()
628 if ((status = ehc_start_pcf8584(ehcp, byteaddress)) != EHC_SUCCESS) { in ehc_write_tda8444()
667 ehc_read_pcf8574a(struct ehc_envcunit *ehcp, int byteaddress, uint8_t *buf, in ehc_read_pcf8574a() argument
674 ASSERT((byteaddress & 0x1) == 0); in ehc_read_pcf8574a()
680 if ((status = ehc_start_pcf8584(ehcp, EHC_BYTE_READ | byteaddress)) != in ehc_read_pcf8574a()
722 ehc_write_pcf8574a(struct ehc_envcunit *ehcp, int byteaddress, uint8_t *buf, in ehc_write_pcf8574a() argument
728 ASSERT((byteaddress & 0x1) == 0); in ehc_write_pcf8574a()
734 if ((status = ehc_start_pcf8584(ehcp, byteaddress)) != EHC_SUCCESS) { in ehc_write_pcf8574a()
769 ehc_read_pcf8574(struct ehc_envcunit *ehcp, int byteaddress, uint8_t *buf, in ehc_read_pcf8574() argument
776 ASSERT((byteaddress & 0x1) == 0); in ehc_read_pcf8574()
782 if ((status = ehc_start_pcf8584(ehcp, EHC_BYTE_READ | byteaddress)) != in ehc_read_pcf8574()
824 ehc_write_pcf8574(struct ehc_envcunit *ehcp, int byteaddress, uint8_t *buf, in ehc_write_pcf8574() argument
830 ASSERT((byteaddress & 0x1) == 0); in ehc_write_pcf8574()
836 if ((status = ehc_start_pcf8584(ehcp, byteaddress)) != EHC_SUCCESS) { in ehc_write_pcf8574()
870 ehc_read_lm75(struct ehc_envcunit *ehcp, int byteaddress, uint8_t *buf, in ehc_read_lm75() argument
877 ASSERT((byteaddress & 0x1) == 0); in ehc_read_lm75()
883 if ((status = ehc_start_pcf8584(ehcp, EHC_BYTE_READ | byteaddress)) != in ehc_read_lm75()
924 ehc_write_pcf8583(struct ehc_envcunit *ehcp, int byteaddress, uint8_t *buf, in ehc_write_pcf8583() argument
930 ASSERT((byteaddress & 0x1) == 0); in ehc_write_pcf8583()
933 if ((status = ehc_start_pcf8584(ehcp, byteaddress)) != EHC_SUCCESS) { in ehc_write_pcf8583()
967 ehc_read_pcf8591(struct ehc_envcunit *ehcp, int byteaddress, int channel, in ehc_read_pcf8591() argument
975 ASSERT((byteaddress & 0x1) == 0); in ehc_read_pcf8591()
989 if ((status = ehc_start_pcf8584(ehcp, byteaddress)) != EHC_SUCCESS) { in ehc_read_pcf8591()
1012 EHC_BYTE_READ | byteaddress); in ehc_read_pcf8591()
1087 ehc_write_pcf8591(struct ehc_envcunit *ehcp, int byteaddress, int channel, in ehc_write_pcf8591() argument
1093 ASSERT((byteaddress & 0x1) == 0); in ehc_write_pcf8591()
1098 status = ehc_start_pcf8584(ehcp, byteaddress); in ehc_write_pcf8591()