Home
last modified time | relevance | path

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

/drivers/i3c/master/mipi-i3c-hci/
Dcore.c198 unsigned int nxfers = ccc->ndests + prefixed; in i3c_hci_send_ccc_cmd() local
205 xfer = hci_alloc_xfer(nxfers); in i3c_hci_send_ccc_cmd()
218 for (i = 0; i < nxfers - prefixed; i++) { in i3c_hci_send_ccc_cmd()
235 ret = hci->io->queue_xfer(hci, xfer, nxfers); in i3c_hci_send_ccc_cmd()
239 hci->io->dequeue_xfer(hci, xfer, nxfers)) { in i3c_hci_send_ccc_cmd()
243 for (i = prefixed; i < nxfers; i++) { in i3c_hci_send_ccc_cmd()
258 hci_free_xfer(xfer, nxfers); in i3c_hci_send_ccc_cmd()
273 int nxfers) in i3c_hci_priv_xfers() argument
282 DBG("nxfers = %d", nxfers); in i3c_hci_priv_xfers()
284 xfer = hci_alloc_xfer(nxfers); in i3c_hci_priv_xfers()
[all …]
/drivers/i3c/
Ddevice.c33 int nxfers) in i3c_device_do_priv_xfers() argument
37 if (nxfers < 1) in i3c_device_do_priv_xfers()
40 for (i = 0; i < nxfers; i++) { in i3c_device_do_priv_xfers()
46 ret = i3c_dev_do_priv_xfers_locked(dev->desc, xfers, nxfers); in i3c_device_do_priv_xfers()
Dinternals.h20 int nxfers);
Dmaster.c2135 struct i2c_msg *xfers, int nxfers) in i3c_master_i2c_adapter_xfer() argument
2142 if (!xfers || !master || nxfers <= 0) in i3c_master_i2c_adapter_xfer()
2150 for (i = 1; i < nxfers; i++) { in i3c_master_i2c_adapter_xfer()
2160 ret = master->ops->i2c_xfers(dev, xfers, nxfers); in i3c_master_i2c_adapter_xfer()
2163 return ret ? ret : nxfers; in i3c_master_i2c_adapter_xfer()
2715 int nxfers) in i3c_dev_do_priv_xfers_locked() argument
2729 return master->ops->priv_xfers(dev, xfers, nxfers); in i3c_dev_do_priv_xfers_locked()
/drivers/i3c/master/
Di3c-master-cdns.c737 int nxfers) in cdns_i3c_master_priv_xfers() argument
744 for (i = 0; i < nxfers; i++) { in cdns_i3c_master_priv_xfers()
749 if (!nxfers) in cdns_i3c_master_priv_xfers()
752 if (nxfers > master->caps.cmdfifodepth || in cdns_i3c_master_priv_xfers()
753 nxfers > master->caps.cmdrfifodepth) in cdns_i3c_master_priv_xfers()
760 for (i = 0; i < nxfers; i++) { in cdns_i3c_master_priv_xfers()
771 cdns_xfer = cdns_i3c_master_alloc_xfer(master, nxfers); in cdns_i3c_master_priv_xfers()
775 for (i = 0; i < nxfers; i++) { in cdns_i3c_master_priv_xfers()
794 if (i < nxfers - 1) in cdns_i3c_master_priv_xfers()
808 for (i = 0; i < nxfers; i++) in cdns_i3c_master_priv_xfers()
[all …]
Dsvc-i3c-master.c1325 int nxfers) in svc_i3c_master_priv_xfers() argument
1333 xfer = svc_i3c_master_alloc_xfer(master, nxfers); in svc_i3c_master_priv_xfers()
1339 for (i = 0; i < nxfers; i++) { in svc_i3c_master_priv_xfers()
1348 cmd->continued = (i + 1) < nxfers; in svc_i3c_master_priv_xfers()
1365 int nxfers) in svc_i3c_master_i2c_xfers() argument
1373 xfer = svc_i3c_master_alloc_xfer(master, nxfers); in svc_i3c_master_i2c_xfers()
1379 for (i = 0; i < nxfers; i++) { in svc_i3c_master_i2c_xfers()
1388 cmd->continued = (i + 1 < nxfers); in svc_i3c_master_i2c_xfers()