Lines Matching refs:dat_idx
176 unsigned int dat_idx = 0; in hci_cmd_v1_prep_ccc() local
191 dat_idx = ret; in hci_cmd_v1_prep_ccc()
202 CMD_I0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_ccc()
212 CMD_R0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_ccc()
227 unsigned int dat_idx = dev_data->dat_idx; in hci_cmd_v1_prep_i3c_xfer() local
240 CMD_I0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_i3c_xfer()
249 CMD_R0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_i3c_xfer()
262 unsigned int dat_idx = dev_data->dat_idx; in hci_cmd_v1_prep_i2c_xfer() local
275 CMD_I0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_i2c_xfer()
284 CMD_R0_DEV_INDEX(dat_idx) | in hci_cmd_v1_prep_i2c_xfer()
295 int ret, dat_idx = -1; in hci_cmd_v1_daa() local
316 dat_idx = ret; in hci_cmd_v1_daa()
322 DBG("next_addr = 0x%02x, DAA using DAT %d", next_addr, dat_idx); in hci_cmd_v1_daa()
323 mipi_i3c_hci_dat_v1.set_dynamic_addr(hci, dat_idx, next_addr); in hci_cmd_v1_daa()
331 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()