Home
last modified time | relevance | path

Searched refs:nxfers (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dcore.c197 unsigned int nxfers = ccc->ndests + prefixed; in i3c_hci_send_ccc_cmd() local
204 xfer = hci_alloc_xfer(nxfers); in i3c_hci_send_ccc_cmd()
217 for (i = 0; i < nxfers - prefixed; i++) { in i3c_hci_send_ccc_cmd()
234 ret = hci->io->queue_xfer(hci, xfer, nxfers); in i3c_hci_send_ccc_cmd()
238 hci->io->dequeue_xfer(hci, xfer, nxfers)) { in i3c_hci_send_ccc_cmd()
242 for (i = prefixed; i < nxfers; i++) { in i3c_hci_send_ccc_cmd()
264 hci_free_xfer(xfer, nxfers); in i3c_hci_send_ccc_cmd()
307 int nxfers) in i3c_hci_priv_xfers() argument
316 DBG("nxfers = %d", nxfers); in i3c_hci_priv_xfers()
318 xfer = hci_alloc_xfer(nxfers); in i3c_hci_priv_xfers()
[all …]
/linux/include/linux/i3c/
H A Dmaster.h468 int nxfers);
472 const struct i2c_msg *xfers, int nxfers);
552 int nxfers);
H A Ddevice.h302 int nxfers);
/linux/drivers/i3c/master/
H A Di3c-master-cdns.c736 int nxfers) in cdns_i3c_master_priv_xfers() argument
743 for (i = 0; i < nxfers; i++) { in cdns_i3c_master_priv_xfers()
748 if (!nxfers) in cdns_i3c_master_priv_xfers()
751 if (nxfers > master->caps.cmdfifodepth || in cdns_i3c_master_priv_xfers()
752 nxfers > master->caps.cmdrfifodepth) in cdns_i3c_master_priv_xfers()
759 for (i = 0; i < nxfers; i++) { in cdns_i3c_master_priv_xfers()
770 cdns_xfer = cdns_i3c_master_alloc_xfer(master, nxfers); in cdns_i3c_master_priv_xfers()
774 for (i = 0; i < nxfers; i++) { in cdns_i3c_master_priv_xfers()
793 if (i < nxfers - 1) in cdns_i3c_master_priv_xfers()
807 for (i = 0; i < nxfers; i++) in cdns_i3c_master_priv_xfers()
[all …]
H A Dsvc-i3c-master.c1483 int nxfers) in svc_i3c_master_priv_xfers() argument
1491 xfer = svc_i3c_master_alloc_xfer(master, nxfers); in svc_i3c_master_priv_xfers()
1497 for (i = 0; i < nxfers; i++) { in svc_i3c_master_priv_xfers()
1507 cmd->continued = (i + 1) < nxfers; in svc_i3c_master_priv_xfers()
1524 int nxfers) in svc_i3c_master_i2c_xfers() argument
1532 xfer = svc_i3c_master_alloc_xfer(master, nxfers); in svc_i3c_master_i2c_xfers()
1538 for (i = 0; i < nxfers; i++) { in svc_i3c_master_i2c_xfers()
1547 cmd->continued = (i + 1 < nxfers); in svc_i3c_master_i2c_xfers()
/linux/drivers/i3c/
H A Dinternals.h19 int nxfers);
H A Dmaster.c2288 struct i2c_msg *xfers, int nxfers) in i3c_master_i2c_adapter_xfer() argument
2295 if (!xfers || !master || nxfers <= 0) in i3c_master_i2c_adapter_xfer()
2303 for (i = 1; i < nxfers; i++) { in i3c_master_i2c_adapter_xfer()
2313 ret = master->ops->i2c_xfers(dev, xfers, nxfers); in i3c_master_i2c_adapter_xfer()
2316 return ret ? ret : nxfers; in i3c_master_i2c_adapter_xfer()
2896 int nxfers) in i3c_dev_do_priv_xfers_locked() argument
2910 return master->ops->priv_xfers(dev, xfers, nxfers); in i3c_dev_do_priv_xfers_locked()