Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
/linux-6.6.21/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.h21 int nxfers);
Dmaster.c2152 struct i2c_msg *xfers, int nxfers) in i3c_master_i2c_adapter_xfer() argument
2159 if (!xfers || !master || nxfers <= 0) in i3c_master_i2c_adapter_xfer()
2167 for (i = 1; i < nxfers; i++) { in i3c_master_i2c_adapter_xfer()
2177 ret = master->ops->i2c_xfers(dev, xfers, nxfers); in i3c_master_i2c_adapter_xfer()
2180 return ret ? ret : nxfers; in i3c_master_i2c_adapter_xfer()
2747 int nxfers) in i3c_dev_do_priv_xfers_locked() argument
2761 return master->ops->priv_xfers(dev, xfers, nxfers); in i3c_dev_do_priv_xfers_locked()
/linux-6.6.21/include/linux/i3c/
Dmaster.h443 int nxfers);
447 const struct i2c_msg *xfers, int nxfers);
522 int nxfers);
Ddevice.h303 int nxfers);
/linux-6.6.21/drivers/i3c/master/
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 …]
Dsvc-i3c-master.c1332 int nxfers) in svc_i3c_master_priv_xfers() argument
1340 xfer = svc_i3c_master_alloc_xfer(master, nxfers); in svc_i3c_master_priv_xfers()
1346 for (i = 0; i < nxfers; i++) { in svc_i3c_master_priv_xfers()
1355 cmd->continued = (i + 1) < nxfers; in svc_i3c_master_priv_xfers()
1372 int nxfers) in svc_i3c_master_i2c_xfers() argument
1380 xfer = svc_i3c_master_alloc_xfer(master, nxfers); in svc_i3c_master_i2c_xfers()
1386 for (i = 0; i < nxfers; i++) { in svc_i3c_master_i2c_xfers()
1395 cmd->continued = (i + 1 < nxfers); in svc_i3c_master_i2c_xfers()