Home
last modified time | relevance | path

Searched refs:num_cmds (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/drivers/media/pci/pt3/
H A Dpt3_i2c.c49 if ((cbuf->num_cmds % 2) == 0) in cmdbuf_add()
53 buf_idx = cbuf->num_cmds / 2; in cmdbuf_add()
57 cbuf->num_cmds++; in cmdbuf_add()
63 if (cbuf->num_cmds % 2) in put_end()
109 cbuf->num_cmds = 0; in translate()
212 cbuf->data, cbuf->num_cmds); in pt3_i2c_master_xfer()
H A Dpt3.h52 u32 num_cmds; member
/openbmc/linux/drivers/gpu/host1x/
H A Djob.c116 struct host1x_job_gather *gather = &job->cmds[job->num_cmds].gather; in host1x_job_add_gather()
122 job->num_cmds++; in host1x_job_add_gather()
129 struct host1x_job_cmd *cmd = &job->cmds[job->num_cmds]; in host1x_job_add_wait()
137 job->num_cmds++; in host1x_job_add_wait()
212 for (i = 0; i < job->num_cmds; i++) { in pin_job()
538 for (i = 0; i < job->num_cmds; i++) { in copy_gathers()
566 for (i = 0; i < job->num_cmds; i++) { in copy_gathers()
616 for (i = 0; i < job->num_cmds; i++) { in host1x_job_pin()
631 for (j = i + 1; j < job->num_cmds; j++) { in host1x_job_pin()
/openbmc/linux/fs/smb/client/
H A Dsmb2inode.c175 int *cmds, int num_cmds, struct cifsFileInfo *cfile, in smb2_compound_op() argument
268 for (i = 0; i < num_cmds; i++) { in smb2_compound_op()
641 for (i = 0; i < num_cmds; i++) { in smb2_compound_op()
815 num_cmds += 2; in smb2_compound_op()
817 memcpy(out_iov, rsp_iov, num_cmds * sizeof(*out_iov)); in smb2_compound_op()
819 num_cmds * sizeof(*out_buftype)); in smb2_compound_op()
821 for (i = 0; i < num_cmds; i++) in smb2_compound_op()
824 num_cmds -= 2; /* correct num_cmds as there could be a retry */ in smb2_compound_op()
870 static bool ea_unsupported(int *cmds, int num_cmds, in ea_unsupported() argument
875 if (cmds[num_cmds - 1] != SMB2_OP_QUERY_WSL_EA) in ea_unsupported()
[all …]
H A Dcifs_debug.c673 atomic_set(&server->num_cmds[i], 0); in cifs_stats_proc_write()
748 atomic_read(&server->num_cmds[j]), in cifs_stats_proc_show()
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_dl.c424 unsigned int num_cmds) in vsp1_dl_cmd_pool_create() argument
439 pool->cmds = kcalloc(num_cmds, sizeof(*pool->cmds), GFP_KERNEL); in vsp1_dl_cmd_pool_create()
449 pool->size = cmd_size * num_cmds; in vsp1_dl_cmd_pool_create()
458 for (i = 0; i < num_cmds; ++i) { in vsp1_dl_cmd_pool_create()
472 cmd->num_cmds = 1; in vsp1_dl_cmd_pool_create()
822 dl->extension->pre_ext_dl_num_cmd = dl->pre_cmd->num_cmds; in vsp1_dl_list_fill_header()
830 dl->extension->post_ext_dl_num_cmd = dl->post_cmd->num_cmds; in vsp1_dl_list_fill_header()
H A Dvsp1_dl.h45 unsigned int num_cmds; member
/openbmc/linux/drivers/soc/qcom/
H A Drpmh.c32 .num_cmds = 0, \
179 for (i = 0; i < rpm_msg->msg.num_cmds; i++) { in __rpmh_write()
206 req->msg.num_cmds = n; in __fill_rpmh_msg()
415 rpm_msg.msg.num_cmds = 1; in send_single()
H A Drpmh-rsc.c507 for (i = 0, j = cmd_id; i < msg->num_cmds; i++, j++) { in __tcs_buffer_write()
560 for (k = 0; k < msg->num_cmds; k++) { in check_for_req_inflight()
714 i, msg->num_cmds, 0); in find_slots()
718 } while (slot + msg->num_cmds - 1 >= i); in find_slots()
720 bitmap_set(tcs->slots, slot, msg->num_cmds); in find_slots()
/openbmc/linux/include/soc/qcom/
H A Dtcs.h59 u32 num_cmds; member
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-truly-nt35597.c368 u32 num_cmds; in truly_nt35597_prepare() local
382 num_cmds = config->num_on_cmds; in truly_nt35597_prepare()
384 for (i = 0; i < num_cmds; i++) { in truly_nt35597_prepare()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov.h28 u8 num_cmds; member
36 u8 num_cmds;
/openbmc/linux/drivers/gpu/host1x/hw/
H A Dchannel_hw.c122 for (i = 0; i < job->num_cmds; i++) { in submit_gathers()
297 job->num_cmds, job->num_relocs, in channel_submit()
H A Ddebug_hw.c208 for (i = 0; i < job->num_cmds; i++) { in show_channel_gathers()
/openbmc/openbmc/poky/meta/classes-global/
H A Dbuildstats.bbclass119 num_cmds = 0
147 num_cmds += 1
149 if num_cmds == 0:
158 limit = interval / num_cmds
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dsubmit.c405 cmds = alloc_copy_user_array(u64_to_user_ptr(args->cmds_ptr), args->num_cmds, in submit_create_job()
412 job = host1x_job_alloc(context->channel, args->num_cmds, 0, true); in submit_create_job()
427 for (i = 0; i < args->num_cmds; i++) { in submit_create_job()
/openbmc/linux/drivers/soc/aspeed/
H A Daspeed-xdma.c429 static int aspeed_xdma_start(struct aspeed_xdma *ctx, unsigned int num_cmds, in aspeed_xdma_start() argument
453 for (i = 0; i < num_cmds; ++i) { in aspeed_xdma_start()
574 unsigned int num_cmds; in aspeed_xdma_write() local
590 num_cmds = ctx->chip->set_cmd(ctx, cmds, &op, client->phys); in aspeed_xdma_write()
592 rc = aspeed_xdma_start(ctx, num_cmds, cmds, !!op.direction, in aspeed_xdma_write()
/openbmc/linux/drivers/input/keyboard/
H A Dlm8323.c446 int num_cmds = 0; in lm8323_pwm_work() local
486 pwm_cmds[num_cmds++] = PWM_RAMP(div512, perstep, s, up); in lm8323_pwm_work()
490 lm8323_write_pwm(pwm, kill, num_cmds, pwm_cmds); in lm8323_pwm_work()
/openbmc/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_mac.c704 int r, ret, num_cmds, req_pos = 0; in zd_mac_config_beacon() local
720 num_cmds = 1 + zd_chip_is_zd1211b(&mac->chip) + full_len; in zd_mac_config_beacon()
721 ioreqs = kmalloc_array(num_cmds, sizeof(struct zd_ioreq32), in zd_mac_config_beacon()
780 BUG_ON(req_pos != num_cmds); in zd_mac_config_beacon()
782 r = zd_iowrite32a_locked(&mac->chip, ioreqs, num_cmds); in zd_mac_config_beacon()
/openbmc/linux/include/uapi/drm/
H A Dtegra_drm.h939 __u32 num_cmds; member
/openbmc/linux/drivers/bluetooth/
H A Dbtintel.h110 __u8 num_cmds; member
/openbmc/linux/drivers/target/
H A Dtarget_core_stat.c286 atomic_long_read(&dev->num_cmds)); in target_stat_lu_num_cmds_show()
353 CONFIGFS_ATTR_RO(target_stat_lu_, num_cmds);
1149 CONFIGFS_ATTR_RO(target_stat_auth_, num_cmds);
/openbmc/linux/include/linux/
H A Dhost1x.h277 unsigned int num_cmds; member
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h4335 uint32_t num_cmds, in dmub_rb_get_rptr_with_offset() argument
4338 *next_rptr = rb->rptr + DMUB_RB_CMD_SIZE * num_cmds; in dmub_rb_get_rptr_with_offset()
/openbmc/linux/include/target/
H A Dtarget_core_base.h814 atomic_long_t num_cmds; member

12