Lines Matching refs:slv_cfg
383 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()
436 uint8_t slv_cfg[3]; in lsm6dsl_shub_set_data_channel() local
440 slv_cfg[0] = LSM6DSL_EMBEDDED_SLV0_WRITE_IDLE; in lsm6dsl_shub_set_data_channel()
441 slv_cfg[1] = lsm6dsl_shub_sens_list[0].wai_addr; in lsm6dsl_shub_set_data_channel()
442 slv_cfg[2] = LSM6DSL_EMBEDDED_SLVX_THREE_SENS; in lsm6dsl_shub_set_data_channel()
445 slv_cfg, 3) < 0) { in lsm6dsl_shub_set_data_channel()
451 slv_cfg[0] = (slv_i2c_addr << 1) | LSM6DSL_EMBEDDED_SLVX_READ; in lsm6dsl_shub_set_data_channel()
452 slv_cfg[1] = lsm6dsl_shub_sens_list[0].out_data_addr; in lsm6dsl_shub_set_data_channel()
453 slv_cfg[2] = lsm6dsl_shub_sens_list[0].out_data_len; in lsm6dsl_shub_set_data_channel()
456 slv_cfg, 3) < 0) { in lsm6dsl_shub_set_data_channel()