Home
last modified time | relevance | path

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

12

/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
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_dmub_srv.c1693 uint8_t num_cmds = 1; in dc_dmub_srv_fams2_update_config() local
1737 num_cmds += context->bw_ctx.bw.dcn.fams2_global_config.num_streams; in dc_dmub_srv_fams2_update_config()
1740 dm_execute_dmub_cmd_list(dc->ctx, num_cmds, cmd, DM_DMUB_WAIT_TYPE_WAIT); in dc_dmub_srv_fams2_update_config()
1778 int num_cmds = 0; in dc_dmub_srv_fams2_passthrough_flip() local
1796 cmds[num_cmds].fams2_flip.header.type = DMUB_CMD__FW_ASSISTED_MCLK_SWITCH; in dc_dmub_srv_fams2_passthrough_flip()
1797 cmds[num_cmds].fams2_flip.header.sub_type = DMUB_CMD__FAMS2_FLIP; in dc_dmub_srv_fams2_passthrough_flip()
1798 cmds[num_cmds].fams2_flip.header.payload_bytes = sizeof(struct dmub_rb_cmd_fams2_flip); in dc_dmub_srv_fams2_passthrough_flip()
1801 cmds[num_cmds].fams2_flip.header.multi_cmd_pending = 1; in dc_dmub_srv_fams2_passthrough_flip()
1804 cmds[num_cmds].fams2_flip.flip_info.pipe_mask = dc_plane_get_pipe_mask(state, plane_state); in dc_dmub_srv_fams2_passthrough_flip()
1806 cmds[num_cmds].fams2_flip.flip_info.otg_inst = stream_status->primary_otg_inst; in dc_dmub_srv_fams2_passthrough_flip()
[all …]
/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()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_ccb.c32 ctrl->wrap_mask = pvr_ccb->num_cmds - 1; in ccb_ctrl_init()
51 u32 num_cmds = 1 << num_cmds_log2; in pvr_ccb_init() local
52 u32 ccb_size = num_cmds * cmd_size; in pvr_ccb_init()
55 pvr_ccb->num_cmds = num_cmds; in pvr_ccb_init()
85 WRITE_ONCE(pvr_ccb->ctrl->wrap_mask, num_cmds - 1); in pvr_ccb_init()
H A Dpvr_ccb.h30 u32 num_cmds; member
/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()
640 for (i = 0; i < num_cmds; i++) { in smb2_compound_op()
807 num_cmds += 2; in smb2_compound_op()
809 memcpy(out_iov, rsp_iov, num_cmds * sizeof(*out_iov)); in smb2_compound_op()
811 num_cmds * sizeof(*out_buftype)); in smb2_compound_op()
813 for (i = 0; i < num_cmds; i++) in smb2_compound_op()
816 num_cmds -= 2; /* correct num_cmds as there could be a retry */ in smb2_compound_op()
874 int i, num_cmds = 0; in smb2_query_path_info() local
907 cmds[num_cmds++] = SMB2_OP_QUERY_INFO; in smb2_query_path_info()
[all …]
/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
/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()
/linux/drivers/vdpa/mlx5/core/
H A Dresources.c368 int num_cmds) in mlx5_vdpa_exec_async_cmds() argument
374 for (int i = 0; i < num_cmds; i++) in mlx5_vdpa_exec_async_cmds()
377 while (issued < num_cmds) { in mlx5_vdpa_exec_async_cmds()
382 issued, num_cmds, err); in mlx5_vdpa_exec_async_cmds()
H A Dmlx5_vdpa.h168 int num_cmds);
/linux/include/soc/qcom/
H A Dtcs.h59 u32 num_cmds; member
/linux/drivers/gpu/drm/panel/
H A Dpanel-truly-nt35597.c358 u32 num_cmds; in truly_nt35597_prepare() local
369 num_cmds = config->num_on_cmds; in truly_nt35597_prepare()
371 for (i = 0; i < num_cmds; i++) { in truly_nt35597_prepare()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov.h28 u8 num_cmds; member
36 u8 num_cmds;
/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()
/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()
/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()
/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()
/linux/include/uapi/drm/
H A Dtegra_drm.h939 __u32 num_cmds; member
/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);
/linux/drivers/bluetooth/
H A Dbtintel.h122 __u8 num_cmds; member
/linux/include/linux/
H A Dhost1x.h277 unsigned int num_cmds; member

12