Home
last modified time | relevance | path

Searched refs:slv_cfg (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/sensor/st/lsm6dsl/
Dlsm6dsl_shub.c383 uint8_t slv_cfg[3]; in lsm6dsl_shub_write_slave_reg() local
387 slv_cfg[0] = (slv_addr << 1) & ~LSM6DSL_EMBEDDED_SLVX_READ; in lsm6dsl_shub_write_slave_reg()
388 slv_cfg[1] = slv_reg + cnt; in lsm6dsl_shub_write_slave_reg()
392 slv_cfg, 2) < 0) { in lsm6dsl_shub_write_slave_reg()
397 slv_cfg[0] = value[cnt]; in lsm6dsl_shub_write_slave_reg()
400 slv_cfg, 1) < 0) { in lsm6dsl_shub_write_slave_reg()
414 slv_cfg[0] = LSM6DSL_EMBEDDED_SLV0_WRITE_IDLE; in lsm6dsl_shub_write_slave_reg()
415 slv_cfg[1] = lsm6dsl_shub_sens_list[0].wai_addr; in lsm6dsl_shub_write_slave_reg()
416 slv_cfg[2] = LSM6DSL_EMBEDDED_SLVX_THREE_SENS; in lsm6dsl_shub_write_slave_reg()
419 slv_cfg, 3) < 0) { in lsm6dsl_shub_write_slave_reg()
[all …]
/Zephyr-latest/drivers/sensor/st/iis2iclx/
Diis2iclx_shub.c572 uint8_t slv_cfg[3]; in iis2iclx_shub_write_slave_reg() local
576 slv_cfg[0] = (slv_addr << 1) & ~IIS2ICLX_SHUB_SLVX_READ; in iis2iclx_shub_write_slave_reg()
577 slv_cfg[1] = slv_reg + cnt; in iis2iclx_shub_write_slave_reg()
581 slv_cfg, 2) < 0) { in iis2iclx_shub_write_slave_reg()
586 slv_cfg[0] = value[cnt]; in iis2iclx_shub_write_slave_reg()
589 slv_cfg, 1) < 0) { in iis2iclx_shub_write_slave_reg()
609 slv_cfg[0] = 0x7; in iis2iclx_shub_write_slave_reg()
610 slv_cfg[1] = 0x0; in iis2iclx_shub_write_slave_reg()
611 slv_cfg[2] = 0x0; in iis2iclx_shub_write_slave_reg()
613 slv_cfg, 3) < 0) { in iis2iclx_shub_write_slave_reg()
[all …]
/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx_shub.c550 uint8_t slv_cfg[3]; in ism330dhcx_shub_write_slave_reg() local
554 slv_cfg[0] = (slv_addr << 1) & ~ISM330DHCX_SHUB_SLVX_READ; in ism330dhcx_shub_write_slave_reg()
555 slv_cfg[1] = slv_reg + cnt; in ism330dhcx_shub_write_slave_reg()
557 if (ism330dhcx_shub_write_embedded_regs(dev, ISM330DHCX_SHUB_SLV0_ADDR, slv_cfg, in ism330dhcx_shub_write_slave_reg()
563 slv_cfg[0] = value[cnt]; in ism330dhcx_shub_write_slave_reg()
565 slv_cfg, 1) < 0) { in ism330dhcx_shub_write_slave_reg()
585 slv_cfg[0] = 0x7; in ism330dhcx_shub_write_slave_reg()
586 slv_cfg[1] = 0x0; in ism330dhcx_shub_write_slave_reg()
587 slv_cfg[2] = 0x0; in ism330dhcx_shub_write_slave_reg()
588 if (ism330dhcx_shub_write_embedded_regs(dev, ISM330DHCX_SHUB_SLV0_ADDR, slv_cfg, 3) < 0) { in ism330dhcx_shub_write_slave_reg()
[all …]