Home
last modified time | relevance | path

Searched refs:dat_idx (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/i3c/master/mipi-i3c-hci/
A Ddat_v1.c54 unsigned int dat_idx; in hci_dat_v1_init() local
73 for (dat_idx = 0; dat_idx < hci->DAT_entries; dat_idx++) { in hci_dat_v1_init()
74 dat_w0_write(dat_idx, 0); in hci_dat_v1_init()
75 dat_w1_write(dat_idx, 0); in hci_dat_v1_init()
89 unsigned int dat_idx; in hci_dat_v1_alloc_entry() local
99 return dat_idx; in hci_dat_v1_alloc_entry()
104 dat_w0_write(dat_idx, 0); in hci_dat_v1_free_entry()
105 dat_w1_write(dat_idx, 0); in hci_dat_v1_free_entry()
160 unsigned int dat_idx; in hci_dat_v1_get_index() local
165 dat_idx = find_next_bit(hci->DAT_data, hci->DAT_entries, dat_idx)) { in hci_dat_v1_get_index()
[all …]
A Dcmd_v1.c176 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()
262 unsigned int dat_idx = dev_data->dat_idx; in hci_cmd_v1_prep_i2c_xfer() local
295 int ret, dat_idx = -1; in hci_cmd_v1_daa() local
316 dat_idx = ret; in hci_cmd_v1_daa()
356 dat_idx = -1; in hci_cmd_v1_daa()
[all …]
A Ddat.h22 void (*free_entry)(struct i3c_hci *hci, unsigned int dat_idx);
23 void (*set_dynamic_addr)(struct i3c_hci *hci, unsigned int dat_idx, u8 addr);
24 void (*set_static_addr)(struct i3c_hci *hci, unsigned int dat_idx, u8 addr);
25 void (*set_flags)(struct i3c_hci *hci, unsigned int dat_idx, u32 w0, u32 w1);
26 void (*clear_flags)(struct i3c_hci *hci, unsigned int dat_idx, u32 w0, u32 w1);
A Dcore.c396 dev_data->dat_idx = ret; in i3c_hci_attach_i3c_dev()
411 mipi_i3c_hci_dat_v1.set_dynamic_addr(hci, dev_data->dat_idx, in i3c_hci_reattach_i3c_dev()
426 mipi_i3c_hci_dat_v1.free_entry(hci, dev_data->dat_idx); in i3c_hci_detach_i3c_dev()
451 dev_data->dat_idx = ret; in i3c_hci_attach_i2c_dev()
467 mipi_i3c_hci_dat_v1.free_entry(hci, dev_data->dat_idx); in i3c_hci_detach_i2c_dev()
478 unsigned int dat_idx = dev_data->dat_idx; in i3c_hci_request_ibi() local
481 mipi_i3c_hci_dat_v1.set_flags(hci, dat_idx, DAT_0_IBI_PAYLOAD, 0); in i3c_hci_request_ibi()
483 mipi_i3c_hci_dat_v1.clear_flags(hci, dat_idx, DAT_0_IBI_PAYLOAD, 0); in i3c_hci_request_ibi()
501 mipi_i3c_hci_dat_v1.clear_flags(hci, dev_data->dat_idx, DAT_0_SIR_REJECT, 0); in i3c_hci_enable_ibi()
511 mipi_i3c_hci_dat_v1.set_flags(hci, dev_data->dat_idx, DAT_0_SIR_REJECT, 0); in i3c_hci_disable_ibi()
A Dhci.h130 int dat_idx; member

Completed in 10 milliseconds