/fuchsia/zircon/system/ulib/ddktl/include/ddktl/ |
H A D | i2c-channel.h | 24 i2c_.ops = other.i2c_.ops; 25 i2c_.ctx = other.i2c_.ctx; 34 i2c_.ops = other.i2c_.ops; 35 i2c_.ctx = other.i2c_.ctx; 42 i2c_ = {0, 0}; 47 return (i2c_ 84 i2c_protocol_t i2c_ = {0, 0}; member in class:ddk::I2cChannel [all...] |
/fuchsia/zircon/system/dev/display/astro-display/ |
H A D | backlight.h | 25 i2c_protocol_t i2c_ = {}; member in class:astro_display::Backlight
|
H A D | backlight.cpp | 45 status = device_get_protocol(parent, ZX_PROTOCOL_I2C, &i2c_); 75 if (i2c_write_sync(&i2c_, &kBacklightInitTable[i], 2) != ZX_OK) {
|
/fuchsia/zircon/system/dev/audio/astro-tdm-output/ |
H A D | tas27xx.cpp | 26 ptr->i2c_ = fbl::move(i2c); 106 i2c_.Read(reg, &val, 1); 114 return i2c_.Write(write_buf, 2);
|
H A D | tas27xx.h | 61 ddk::I2cChannel i2c_; member in class:audio::astro::Tas27xx
|
/fuchsia/zircon/system/dev/audio/gauss-tdm/ |
H A D | tas57xx.h | 36 i2c_protocol_t i2c_; member in class:audio::gauss::Tas57xx
|
H A D | tas57xx.cpp | 27 memcpy(&ptr->i2c_, i2c, sizeof(*i2c)); 85 return i2c_write_read(&i2c_, write_buf, 2, 0, NULL, NULL);
|
/fuchsia/zircon/system/dev/ethernet/aml-ethernet-s912/ |
H A D | aml-ethernet.h | 52 i2c_protocol_t i2c_; member in class:eth::AmlEthernet
|
H A D | aml-ethernet.cpp | 55 status = device_get_protocol(parent, ZX_PROTOCOL_I2C, &i2c_); 157 status = i2c_write_sync(ð_device->i2c_, write_buf, sizeof(write_buf));
|
/fuchsia/zircon/system/dev/bus/platform/ |
H A D | platform-i2c.h | 42 ddk::I2cImplProtocolProxy i2c_; member in class:platform_bus::PlatformI2cBus
|
H A D | platform-bus.h | 77 inline ddk::I2cImplProtocolProxy* i2c() const { return i2c_.get(); } 121 fbl::unique_ptr<ddk::I2cImplProtocolProxy> i2c_; member in class:platform_bus::PlatformBus
|
H A D | platform-i2c.cpp | 20 : i2c_(i2c), bus_id_(bus_id) { 28 auto status = i2c_.GetMaxTransferSize(bus_id_, &max_transfer_); 98 auto status = i2c_.Transact(bus_id_, ops, txn->cnt);
|
H A D | platform-bus.cpp | 78 i2c_.reset(new (&ac) ddk::I2cImplProtocolProxy(proto)); 231 if (i2c_ != nullptr) { 232 i2c_->GetProto(static_cast<i2c_impl_protocol_t*>(out));
|
/fuchsia/zircon/system/dev/codec/alc5514/ |
H A D | alc5514.h | 44 i2c_protocol_t i2c_; member in class:audio::alc5514::Alc5514Device
|
H A D | alc5514.cpp | 23 zx_status_t status = i2c_write_read_sync(&i2c_, &buf, sizeof(buf), &val, sizeof(val)); 37 zx_status_t status = i2c_write_sync(&i2c_, buf, sizeof(buf)); 222 zx_status_t st = device_get_protocol(parent(), ZX_PROTOCOL_I2C, &i2c_);
|
/fuchsia/zircon/system/dev/codec/max98927/ |
H A D | max98927.cpp | 21 zx_status_t status = i2c_write_read_sync(&i2c_, &buf, sizeof(buf), &val, sizeof(val)); 36 zx_status_t status = i2c_write_sync(&i2c_, buf, sizeof(buf)); 53 zx_status_t status = i2c_write_read_sync(&i2c_, &buf, sizeof(buf), out, sizeof(out)); 213 zx_status_t st = device_get_protocol(parent(), ZX_PROTOCOL_I2C, &i2c_);
|
H A D | max98927.h | 53 i2c_protocol_t i2c_; member in class:audio::max98927::Max98927Device
|
/fuchsia/zircon/system/dev/light/ams-light/ |
H A D | tcs3400.cpp | 60 status = i2c_write_read_sync(&i2c_, &i.reg_l, 1, &buf_l, 1); 66 status = i2c_write_read_sync(&i2c_, &i.reg_h, 1, &buf_h, 1); 132 status = i2c_write_sync(&i2c_, &i.cmd, sizeof(setup[0])); 172 status = i2c_write_sync(&i2c_, &cmd, sizeof(cmd)); 217 status = i2c_write_read_sync(&i2c_, &addr, 1, count == 1 ? p : p + 1, 1); 228 status = i2c_write_read_sync(&i2c_, &addr, 1, p, 1); 339 if (device_get_protocol(parent(), ZX_PROTOCOL_I2C, &i2c_) != ZX_OK) {
|
H A D | tcs3400.h | 61 i2c_protocol_t i2c_ TA_GUARDED(i2c_lock_);
|
/fuchsia/zircon/system/dev/input/goodix/ |
H A D | gt92xx.h | 47 i2c_(fbl::move(i2c)), int_gpio_(fbl::move(intr)), 92 const ddk::I2cChannel i2c_; member in class:goodix::Gt92xxDevice
|
H A D | gt92xx.cpp | 161 zx_status_t status = i2c_.Transact(conf_data, sizeof(conf_data), NULL, 0); 290 return i2c_.Transact(tbuf, 2, buf, len); 298 return i2c_.Transact(tbuf, 3, NULL, 0);
|
/fuchsia/zircon/system/dev/input/focaltech/ |
H A D | ft3x27.cpp | 74 status = device_get_protocol(parent_, ZX_PROTOCOL_I2C, &i2c_); 231 i2c_write_read_sync(&i2c_, &addr, 1, &rbuf, 1); 237 zx_status_t status = i2c_write_read_sync(&i2c_, &addr, 1, buf, len);
|
H A D | ft3x27.h | 111 i2c_protocol_t i2c_; member in class:ft::Ft3x27Device
|
/fuchsia/zircon/system/dev/misc/tpm/ |
H A D | i2c-cr50.cpp | 20 : i2c_(i2c_dev), irq_(fbl::move(irq)) { 119 status = device_read(i2c_, val, len, 0, &actual); 140 status = device_write(i2c_, val, len, 0, &actual);
|
H A D | i2c-cr50.h | 116 zx_device_t* i2c_ TA_GUARDED(lock_) = nullptr;
|