Searched refs:ncmds (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_vm.c | 918 unsigned nptes, ncmds, ndw; in radeon_vm_bo_update() local 971 ncmds = (nptes >> min(radeon_vm_block_size, 11)) + 1; in radeon_vm_bo_update() 979 ndw += ncmds * 7; in radeon_vm_bo_update() 983 ndw += ncmds * 4; in radeon_vm_bo_update() 990 ndw += ncmds * 10; in radeon_vm_bo_update()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/ |
D | nand-controller.c | 184 u8 ncmds; member 429 for (i = 0; i < nc->op.ncmds; i++) in atmel_nfc_exec_op() 438 if (nc->op.ncmds > 1) in atmel_nfc_exec_op() 645 nc->op.cmds[nc->op.ncmds++] = instr->ctx.cmd.opcode; in atmel_hsmc_exec_cmd_addr() 996 nc->op.ncmds = 1; in atmel_hsmc_nand_pmecc_write_pg() 1063 nc->op.cmds[nc->op.ncmds++] = NAND_CMD_READ0; in atmel_hsmc_nand_pmecc_read_pg() 1066 nc->op.cmds[nc->op.ncmds++] = NAND_CMD_READSTART; in atmel_hsmc_nand_pmecc_read_pg()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 4039 unsigned int ncmds; in adap_config_hma() local 4122 ncmds = DIV_ROUND_UP(sgt->nents, HMA_MAX_ADDR_IN_CMD); in adap_config_hma() 4124 for (i = 0, k = 0; i < ncmds; i++, k += HMA_MAX_ADDR_IN_CMD) { in adap_config_hma() 4131 eoc = (i == ncmds - 1) ? 1 : 0; in adap_config_hma() 4136 if (i == ncmds - 1) { in adap_config_hma()
|