Home
last modified time | relevance | path

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

/drivers/media/pci/pt3/
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()
Dpt3.h52 u32 num_cmds; member
/drivers/gpu/host1x/
Djob.c110 struct host1x_job_gather *gather = &job->cmds[job->num_cmds].gather; in host1x_job_add_gather()
116 job->num_cmds++; in host1x_job_add_gather()
123 struct host1x_job_cmd *cmd = &job->cmds[job->num_cmds]; in host1x_job_add_wait()
131 job->num_cmds++; in host1x_job_add_wait()
226 for (i = 0; i < job->num_cmds; i++) { in pin_job()
572 for (i = 0; i < job->num_cmds; i++) { in copy_gathers()
600 for (i = 0; i < job->num_cmds; i++) { in copy_gathers()
650 for (i = 0; i < job->num_cmds; i++) { in host1x_job_pin()
665 for (j = i + 1; j < job->num_cmds; j++) { in host1x_job_pin()
/drivers/soc/qcom/
Drpmh-rsc.c401 for (j = 0; j < req->num_cmds; j++) { in tcs_tx_done()
468 for (i = 0, j = cmd_id; i < msg->num_cmds; i++, j++) { in __tcs_buffer_write()
521 for (k = 0; k < msg->num_cmds; k++) { in check_for_req_inflight()
674 i, msg->num_cmds, 0); in find_slots()
678 } while (slot + msg->num_cmds - 1 >= i); in find_slots()
680 bitmap_set(tcs->slots, slot, msg->num_cmds); in find_slots()
Drpmh.c32 .num_cmds = 0, \
185 for (i = 0; i < rpm_msg->msg.num_cmds; i++) { in __rpmh_write()
213 req->msg.num_cmds = n; in __fill_rpmh_msg()
422 rpm_msg.msg.num_cmds = 1; in send_single()
/drivers/media/platform/vsp1/
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()
Dvsp1_dl.h45 unsigned int num_cmds; member
/drivers/gpu/drm/panel/
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()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov.h28 u8 num_cmds; member
36 u8 num_cmds;
Dqlcnic_83xx_hw.c3906 mbx->num_cmds--; in qlcnic_83xx_flush_mbx_queue()
3949 mbx->num_cmds--; in qlcnic_83xx_dequeue_mbx_cmd()
4019 mbx->num_cmds++; in qlcnic_83xx_enqueue_mbx_cmd()
4020 cmd->total_cmds = mbx->num_cmds; in qlcnic_83xx_enqueue_mbx_cmd()
Dqlcnic.h1096 u32 num_cmds; member
Dqlcnic_sriov_common.c807 hdr[i].num_cmds = 1; in qlcnic_sriov_prepare_bc_hdr()
/drivers/gpu/host1x/hw/
Dchannel_hw.c91 for (i = 0; i < job->num_cmds; i++) { in submit_gathers()
174 job->num_cmds, job->num_relocs, in channel_submit()
Ddebug_hw.c208 for (i = 0; i < job->num_cmds; i++) { in show_channel_gathers()
/drivers/gpu/drm/tegra/
Dsubmit.c381 cmds = alloc_copy_user_array(u64_to_user_ptr(args->cmds_ptr), args->num_cmds, in submit_create_job()
388 job = host1x_job_alloc(context->channel, args->num_cmds, 0, true); in submit_create_job()
403 for (i = 0; i < args->num_cmds; i++) { in submit_create_job()
/drivers/input/keyboard/
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()
/drivers/net/wireless/zydas/zd1211rw/
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()
/drivers/bluetooth/
Dbtintel.h110 __u8 num_cmds; member
/drivers/target/
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);
1150 CONFIGFS_ATTR_RO(target_stat_auth_, num_cmds);
Dtarget_core_device.c130 atomic_long_inc(&se_cmd->se_dev->num_cmds); in transport_lookup_cmd_lun()
/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h2560 uint32_t num_cmds, in dmub_rb_get_rptr_with_offset() argument
2563 *next_rptr = rb->rptr + DMUB_RB_CMD_SIZE * num_cmds; in dmub_rb_get_rptr_with_offset()
/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c3000 static long ibmvscsis_create_command_q(struct scsi_info *vscsi, int num_cmds) in ibmvscsis_create_command_q() argument