Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/usb/gspca/
Dsq930x.c481 int ncmds) in i2c_write() argument
501 while (--ncmds > 0) { in i2c_write()
526 int ncmds, in ucbus_write() argument
543 len = ncmds; in ucbus_write()
546 ncmds -= len; in ucbus_write()
578 if (ncmds <= 0) in ucbus_write()
Dsunplus.c319 const struct cmd *data, int ncmds) in write_vector() argument
321 while (--ncmds >= 0) { in write_vector()
/linux-6.6.21/drivers/i3c/master/
Ddw-i3c-master.c235 unsigned int ncmds; member
364 dw_i3c_master_alloc_xfer(struct dw_i3c_master *master, unsigned int ncmds) in dw_i3c_master_alloc_xfer() argument
368 xfer = kzalloc(struct_size(xfer, cmds, ncmds), GFP_KERNEL); in dw_i3c_master_alloc_xfer()
373 xfer->ncmds = ncmds; in dw_i3c_master_alloc_xfer()
393 for (i = 0; i < xfer->ncmds; i++) { in dw_i3c_master_start_xfer_locked()
401 thld_ctrl |= QUEUE_THLD_CTRL_RESP_BUF(xfer->ncmds); in dw_i3c_master_start_xfer_locked()
404 for (i = 0; i < xfer->ncmds; i++) { in dw_i3c_master_start_xfer_locked()
Di3c-master-cdns.c390 unsigned int ncmds; member
508 cdns_i3c_master_alloc_xfer(struct cdns_i3c_master *master, unsigned int ncmds) in cdns_i3c_master_alloc_xfer() argument
512 xfer = kzalloc(struct_size(xfer, cmds, ncmds), GFP_KERNEL); in cdns_i3c_master_alloc_xfer()
517 xfer->ncmds = ncmds; in cdns_i3c_master_alloc_xfer()
537 for (i = 0; i < xfer->ncmds; i++) { in cdns_i3c_master_start_xfer_locked()
544 for (i = 0; i < xfer->ncmds; i++) { in cdns_i3c_master_start_xfer_locked()
582 WARN_ON(id >= xfer->ncmds)) in cdns_i3c_master_end_xfer_locked()
591 for (i = 0; i < xfer->ncmds; i++) { in cdns_i3c_master_end_xfer_locked()
Dsvc-i3c-master.c146 unsigned int ncmds; member
1105 svc_i3c_master_alloc_xfer(struct svc_i3c_master *master, unsigned int ncmds) in svc_i3c_master_alloc_xfer() argument
1109 xfer = kzalloc(struct_size(xfer, cmds, ncmds), GFP_KERNEL); in svc_i3c_master_alloc_xfer()
1114 xfer->ncmds = ncmds; in svc_i3c_master_alloc_xfer()
1155 for (i = 0; i < xfer->ncmds; i++) { in svc_i3c_master_start_xfer_locked()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_vm.c917 unsigned nptes, ncmds, ndw; in radeon_vm_bo_update() local
970 ncmds = (nptes >> min(radeon_vm_block_size, 11)) + 1; in radeon_vm_bo_update()
978 ndw += ncmds * 7; in radeon_vm_bo_update()
982 ndw += ncmds * 4; in radeon_vm_bo_update()
989 ndw += ncmds * 10; in radeon_vm_bo_update()
/linux-6.6.21/drivers/mtd/nand/raw/atmel/
Dnand-controller.c184 u8 ncmds; member
430 for (i = 0; i < nc->op.ncmds; i++) in atmel_nfc_exec_op()
439 if (nc->op.ncmds > 1) in atmel_nfc_exec_op()
646 nc->op.cmds[nc->op.ncmds++] = instr->ctx.cmd.opcode; in atmel_hsmc_exec_cmd_addr()
997 nc->op.ncmds = 1; in atmel_hsmc_nand_pmecc_write_pg()
1064 nc->op.cmds[nc->op.ncmds++] = NAND_CMD_READ0; in atmel_hsmc_nand_pmecc_read_pg()
1067 nc->op.cmds[nc->op.ncmds++] = NAND_CMD_READSTART; in atmel_hsmc_nand_pmecc_read_pg()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c4034 unsigned int ncmds; in adap_config_hma() local
4117 ncmds = DIV_ROUND_UP(sgt->nents, HMA_MAX_ADDR_IN_CMD); in adap_config_hma()
4119 for (i = 0, k = 0; i < ncmds; i++, k += HMA_MAX_ADDR_IN_CMD) { in adap_config_hma()
4126 eoc = (i == ncmds - 1) ? 1 : 0; in adap_config_hma()
4131 if (i == ncmds - 1) { in adap_config_hma()