Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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.c2134 struct i2c_msg *xfers, int nxfers) in i3c_master_i2c_adapter_xfer() argument
2141 if (!xfers || !master || nxfers <= 0) in i3c_master_i2c_adapter_xfer()
2149 for (i = 1; i < nxfers; i++) { in i3c_master_i2c_adapter_xfer()
2159 ret = master->ops->i2c_xfers(dev, xfers, nxfers); in i3c_master_i2c_adapter_xfer()
2162 return ret ? ret : nxfers; in i3c_master_i2c_adapter_xfer()
2714 int nxfers) in i3c_dev_do_priv_xfers_locked() argument
2728 return master->ops->priv_xfers(dev, xfers, nxfers); in i3c_dev_do_priv_xfers_locked()
/linux-5.19.10/include/linux/i3c/
Dmaster.h442 int nxfers);
446 const struct i2c_msg *xfers, int nxfers);
521 int nxfers);
Ddevice.h294 int nxfers);
/linux-5.19.10/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.c1262 int nxfers) in svc_i3c_master_priv_xfers() argument
1270 xfer = svc_i3c_master_alloc_xfer(master, nxfers); in svc_i3c_master_priv_xfers()
1276 for (i = 0; i < nxfers; i++) { in svc_i3c_master_priv_xfers()
1285 cmd->continued = (i + 1) < nxfers; in svc_i3c_master_priv_xfers()
1300 int nxfers) in svc_i3c_master_i2c_xfers() argument
1308 xfer = svc_i3c_master_alloc_xfer(master, nxfers); in svc_i3c_master_i2c_xfers()
1314 for (i = 0; i < nxfers; i++) { in svc_i3c_master_i2c_xfers()
1323 cmd->continued = (i + 1 < nxfers); in svc_i3c_master_i2c_xfers()