Lines Matching refs:dat_idx
174 unsigned int dat_idx = 0; in hci_cmd_v1_prep_ccc() local
189 dat_idx = ret; in hci_cmd_v1_prep_ccc()
200 CMD_I0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_ccc()
210 CMD_R0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_ccc()
225 unsigned int dat_idx = dev_data->dat_idx; in hci_cmd_v1_prep_i3c_xfer() local
238 CMD_I0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_i3c_xfer()
247 CMD_R0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_i3c_xfer()
260 unsigned int dat_idx = dev_data->dat_idx; in hci_cmd_v1_prep_i2c_xfer() local
273 CMD_I0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_i2c_xfer()
282 CMD_R0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_i2c_xfer()
293 int ret, dat_idx = -1; in hci_cmd_v1_daa() local
314 dat_idx = ret; in hci_cmd_v1_daa()
320 DBG("next_addr = 0x%02x, DAA using DAT %d", next_addr, dat_idx); in hci_cmd_v1_daa()
321 mipi_i3c_hci_dat_v1.set_dynamic_addr(hci, dat_idx, next_addr); in hci_cmd_v1_daa()
329 CMD_A0_DEV_INDEX(dat_idx) | in hci_cmd_v1_daa()
355 mipi_i3c_hci_dat_v1.free_entry(hci, dat_idx); in hci_cmd_v1_daa()
356 dat_idx = -1; in hci_cmd_v1_daa()
367 if (dat_idx >= 0) in hci_cmd_v1_daa()
368 mipi_i3c_hci_dat_v1.free_entry(hci, dat_idx); in hci_cmd_v1_daa()