Searched refs:ncmds (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/media/usb/gspca/ |
D | sq930x.c | 481 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()
|
D | sunplus.c | 319 const struct cmd *data, int ncmds) in write_vector() argument 321 while (--ncmds >= 0) { in write_vector()
|
/linux-6.1.9/drivers/i3c/master/ |
D | dw-i3c-master.c | 223 unsigned int ncmds; member 358 dw_i3c_master_alloc_xfer(struct dw_i3c_master *master, unsigned int ncmds) in dw_i3c_master_alloc_xfer() argument 362 xfer = kzalloc(struct_size(xfer, cmds, ncmds), GFP_KERNEL); in dw_i3c_master_alloc_xfer() 367 xfer->ncmds = ncmds; in dw_i3c_master_alloc_xfer() 387 for (i = 0; i < xfer->ncmds; i++) { in dw_i3c_master_start_xfer_locked() 395 thld_ctrl |= QUEUE_THLD_CTRL_RESP_BUF(xfer->ncmds); in dw_i3c_master_start_xfer_locked() 398 for (i = 0; i < xfer->ncmds; i++) { in dw_i3c_master_start_xfer_locked()
|
D | i3c-master-cdns.c | 390 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()
|
D | svc-i3c-master.c | 144 unsigned int ncmds; member 1046 svc_i3c_master_alloc_xfer(struct svc_i3c_master *master, unsigned int ncmds) in svc_i3c_master_alloc_xfer() argument 1050 xfer = kzalloc(struct_size(xfer, cmds, ncmds), GFP_KERNEL); in svc_i3c_master_alloc_xfer() 1055 xfer->ncmds = ncmds; in svc_i3c_master_alloc_xfer() 1102 for (i = 0; i < xfer->ncmds; i++) { in svc_i3c_master_start_xfer_locked()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_vm.c | 917 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.1.9/drivers/mtd/nand/raw/atmel/ |
D | nand-controller.c | 184 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.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 4035 unsigned int ncmds; in adap_config_hma() local 4118 ncmds = DIV_ROUND_UP(sgt->nents, HMA_MAX_ADDR_IN_CMD); in adap_config_hma() 4120 for (i = 0, k = 0; i < ncmds; i++, k += HMA_MAX_ADDR_IN_CMD) { in adap_config_hma() 4127 eoc = (i == ncmds - 1) ? 1 : 0; in adap_config_hma() 4132 if (i == ncmds - 1) { in adap_config_hma()
|