Lines Matching refs:slv_cfg
572 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()
633 uint8_t n, i, slv_cfg[6]; in iis2iclx_shub_set_data_channel() local
641 slv_cfg[i] = (sp->ext_i2c_addr << 1) | IIS2ICLX_SHUB_SLVX_READ; in iis2iclx_shub_set_data_channel()
642 slv_cfg[i + 1] = sp->out_data_addr; in iis2iclx_shub_set_data_channel()
643 slv_cfg[i + 2] = sp->out_data_len; in iis2iclx_shub_set_data_channel()
648 slv_cfg, n*3) < 0) { in iis2iclx_shub_set_data_channel()