Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/gspca/
H A 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()
H A Dsunplus.c319 const struct cmd *data, int ncmds) in write_vector() argument
321 while (--ncmds >= 0) { in write_vector()
/openbmc/linux/drivers/i3c/master/
H A 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()
H A 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()
H A Dsvc-i3c-master.c147 unsigned int ncmds; member
1118 svc_i3c_master_alloc_xfer(struct svc_i3c_master *master, unsigned int ncmds) in svc_i3c_master_alloc_xfer() argument
1122 xfer = kzalloc(struct_size(xfer, cmds, ncmds), GFP_KERNEL); in svc_i3c_master_alloc_xfer()
1127 xfer->ncmds = ncmds; in svc_i3c_master_alloc_xfer()
1168 for (i = 0; i < xfer->ncmds; i++) { in svc_i3c_master_start_xfer_locked()
/openbmc/linux/drivers/gpu/drm/radeon/
H A 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()
/openbmc/qemu/
H A Dqemu-io-cmds.c31 static int ncmds; variable
48 cmdtab = g_renew(cmdinfo_t, cmdtab, ++ncmds); in qemuio_add_command()
49 cmdtab[ncmds - 1] = *ci; in qemuio_add_command()
50 qsort(cmdtab, ncmds, sizeof(*cmdtab), compare_cmdname); in qemuio_add_command()
136 for (ct = cmdtab; ct < &cmdtab[ncmds]; ct++) { in find_command()
154 for (ct = cmdtab; ct < &cmdtab[ncmds]; ct++) { in qemuio_complete_command()
2670 for (ct = cmdtab; ct < &cmdtab[ncmds]; ct++) { in help_all()
/openbmc/linux/drivers/mtd/nand/raw/atmel/
H A 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
/openbmc/qemu/migration/
H A Dtrace-events274 postcopy_discard_send_finish(const char *ramblock, int nwords, int ncmds) "%s mask words sent=%d in…