Lines Matching refs:hci
66 static unsigned int get_i3c_rate_idx(struct i3c_hci *hci) in get_i3c_rate_idx() argument
68 struct i3c_bus *bus = i3c_master_get_bus(&hci->master); in get_i3c_rate_idx()
83 static unsigned int get_i2c_rate_idx(struct i3c_hci *hci) in get_i2c_rate_idx() argument
85 struct i3c_bus *bus = i3c_master_get_bus(&hci->master); in get_i2c_rate_idx()
92 static void hci_cmd_v2_prep_private_xfer(struct i3c_hci *hci, in hci_cmd_v2_prep_private_xfer() argument
151 static int hci_cmd_v2_prep_ccc(struct i3c_hci *hci, struct hci_xfer *xfer, in hci_cmd_v2_prep_ccc() argument
155 unsigned int rate = get_i3c_rate_idx(hci); in hci_cmd_v2_prep_ccc()
161 hci_cmd_v2_prep_private_xfer(hci, xfer, ccc_addr, mode, rate); in hci_cmd_v2_prep_ccc()
217 static void hci_cmd_v2_prep_i3c_xfer(struct i3c_hci *hci, in hci_cmd_v2_prep_i3c_xfer() argument
222 unsigned int rate = get_i3c_rate_idx(hci); in hci_cmd_v2_prep_i3c_xfer()
225 hci_cmd_v2_prep_private_xfer(hci, xfer, addr, mode, rate); in hci_cmd_v2_prep_i3c_xfer()
228 static void hci_cmd_v2_prep_i2c_xfer(struct i3c_hci *hci, in hci_cmd_v2_prep_i2c_xfer() argument
233 unsigned int rate = get_i2c_rate_idx(hci); in hci_cmd_v2_prep_i2c_xfer()
236 hci_cmd_v2_prep_private_xfer(hci, xfer, addr, mode, rate); in hci_cmd_v2_prep_i2c_xfer()
239 static int hci_cmd_v2_daa(struct i3c_hci *hci) in hci_cmd_v2_daa() argument
260 ret = i3c_master_get_free_addr(&hci->master, next_addr); in hci_cmd_v2_daa()
277 hci->io->queue_xfer(hci, xfer, 2); in hci_cmd_v2_daa()
279 hci->io->dequeue_xfer(hci, xfer, 2)) { in hci_cmd_v2_daa()
302 ret = i3c_master_add_i3c_dev_locked(&hci->master, next_addr); in hci_cmd_v2_daa()