Searched refs:command_size (Results 1 - 19 of 19) sorted by relevance

/linux-4.4.14/drivers/misc/ibmasm/
H A Ddot_command.h46 u8 command_size; member in struct:dot_command_header
56 return sizeof(struct dot_command_header) + cmd->command_size + cmd->data_size; get_dot_command_size()
66 if (header->command_size == 3) { get_dot_command_timeout()
69 } else if (header->command_size == 2) { get_dot_command_timeout()
H A Dlowlevel.c36 unsigned int command_size; ibmasm_send_i2o_message() local
44 command_size = get_dot_command_size(command->buffer); ibmasm_send_i2o_message()
45 header.message_size = outgoing_message_size(command_size); ibmasm_send_i2o_message()
50 memcpy_toio(&message->data, command->buffer, command_size); ibmasm_send_i2o_message()
H A Ddot_command.c82 header->command_size = 4; ibmasm_send_driver_vpd()
93 vpd_data = vpd_command + header->command_size; ibmasm_send_driver_vpd()
136 os_state_cmd->header.command_size = 3; ibmasm_send_os_state()
H A Dr_heartbeat.c41 .command_size = 3,
/linux-4.4.14/sound/firewire/
H A Dfcp.h28 const void *command, unsigned int command_size,
H A Dfcp.c205 * @command_size: the size of @command
224 const void *command, unsigned int command_size, fcp_avc_transaction()
246 tcode = command_size == 4 ? TCODE_WRITE_QUADLET_REQUEST fcp_avc_transaction()
250 (void *)command, command_size, 0); fcp_avc_transaction()
223 fcp_avc_transaction(struct fw_unit *unit, const void *command, unsigned int command_size, void *response, unsigned int response_size, unsigned int response_match_bytes) fcp_avc_transaction() argument
/linux-4.4.14/drivers/usb/misc/
H A Dftdi-elan.c373 int command_size = ftdi->command_next - ftdi_elan_flush_targets() local
375 if (command_size < COMMAND_SIZE) { ftdi_elan_flush_targets()
395 int command_size = ftdi->command_next - ftdi_elan_flush_targets() local
397 if (command_size < COMMAND_SIZE) { ftdi_elan_flush_targets()
431 int command_size = ftdi->command_next - ftdi_elan_cancel_targets() local
433 if (command_size < COMMAND_SIZE) { ftdi_elan_cancel_targets()
738 char *buf, int command_size, int total_size) fill_buffer_with_all_queued_commands()
742 int I = command_size; fill_buffer_with_all_queued_commands()
764 static int ftdi_elan_total_command_size(struct usb_ftdi *ftdi, int command_size) ftdi_elan_total_command_size() argument
767 int I = command_size; ftdi_elan_total_command_size()
783 int command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_command_engine() local
784 if (command_size == 0) ftdi_elan_command_engine()
786 total_size = ftdi_elan_total_command_size(ftdi, command_size); ftdi_elan_command_engine()
790 command_size, total_size); ftdi_elan_command_engine()
797 command_size, total_size); ftdi_elan_command_engine()
802 command_size, total_size); ftdi_elan_command_engine()
824 retval, urb, command_size, total_size); ftdi_elan_command_engine()
831 ftdi->command_head += command_size; ftdi_elan_command_engine()
1248 int command_size; ftdi_elan_write_reg() local
1250 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_write_reg()
1251 if (command_size < COMMAND_SIZE) { ftdi_elan_write_reg()
1280 int command_size; ftdi_elan_write_config() local
1282 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_write_config()
1283 if (command_size < COMMAND_SIZE) { ftdi_elan_write_config()
1312 int command_size; ftdi_elan_write_pcimem() local
1314 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_write_pcimem()
1315 if (command_size < COMMAND_SIZE) { ftdi_elan_write_pcimem()
1351 int command_size; ftdi_elan_read_reg() local
1354 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_read_reg()
1356 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) ftdi_elan_read_reg()
1394 int command_size; ftdi_elan_read_config() local
1397 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_read_config()
1399 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) ftdi_elan_read_config()
1438 int command_size; ftdi_elan_read_pcimem() local
1441 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_read_pcimem()
1443 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) ftdi_elan_read_pcimem()
1499 int command_size; ftdi_elan_edset_setup() local
1501 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_edset_setup()
1502 if (command_size < COMMAND_SIZE) { ftdi_elan_edset_setup()
1556 int command_size; ftdi_elan_edset_input() local
1558 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_edset_input()
1559 if (command_size < COMMAND_SIZE) { ftdi_elan_edset_input()
1621 int command_size; ftdi_elan_edset_empty() local
1623 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_edset_empty()
1624 if (command_size < COMMAND_SIZE) { ftdi_elan_edset_empty()
1678 int command_size; ftdi_elan_edset_output() local
1680 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_edset_output()
1681 if (command_size < COMMAND_SIZE) { ftdi_elan_edset_output()
1757 int command_size; ftdi_elan_edset_single() local
1759 command_size = ftdi->command_next - ftdi->command_head; ftdi_elan_edset_single()
1760 if (command_size < COMMAND_SIZE) { ftdi_elan_edset_single()
1827 int command_size = ftdi->command_next - ftdi_elan_edset_flush() local
1829 if (command_size < COMMAND_SIZE) { ftdi_elan_edset_flush()
737 fill_buffer_with_all_queued_commands(struct usb_ftdi *ftdi, char *buf, int command_size, int total_size) fill_buffer_with_all_queued_commands() argument
/linux-4.4.14/drivers/gpu/drm/qxl/
H A Dqxl_ioctl.c163 if (cmd->command_size > PAGE_SIZE - sizeof(union qxl_release_info)) qxl_process_single_command()
168 cmd->command_size)) qxl_process_single_command()
178 cmd->command_size, qxl_process_single_command()
187 unwritten = __copy_from_user_inatomic_nocache(fb_cmd + sizeof(union qxl_release_info) + (release->release_offset & ~PAGE_SIZE), (void *)(unsigned long)cmd->command, cmd->command_size); qxl_process_single_command()
/linux-4.4.14/drivers/target/
H A Dtarget_core_user.c379 size_t base_command_size, command_size; tcmu_queue_cmd_ring() local
402 command_size = base_command_size tcmu_queue_cmd_ring()
405 WARN_ON(command_size & (TCMU_OP_ALIGN_SIZE-1)); tcmu_queue_cmd_ring()
411 if ((command_size > (udev->cmdr_size / 2)) tcmu_queue_cmd_ring()
414 "cmd/data ring buffers\n", command_size, tcmu_cmd->data_length, tcmu_queue_cmd_ring()
417 while (!is_ring_space_avail(udev, command_size, tcmu_cmd->data_length)) { tcmu_queue_cmd_ring()
439 if (head_to_end(cmd_head, udev->cmdr_size) < command_size) { tcmu_queue_cmd_ring()
459 tcmu_hdr_set_len(&entry->hdr.len_op, command_size); tcmu_queue_cmd_ring()
488 UPDATE_HEAD(mb->cmd_head, command_size, udev->cmdr_size); tcmu_queue_cmd_ring()
H A Dtarget_core_transport.c1244 pr_err("Received SCSI CDB with command_size: %d that" target_setup_cmd_from_cdb()
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
H A Ddvbsky.c393 u8 command[4], respond[2], command_size, respond_size; dvbsky_ci_ctrl() local
399 command_size = 3; dvbsky_ci_ctrl()
404 command_size = 4; dvbsky_ci_ctrl()
407 ret = dvbsky_usb_generic_rw(d, command, command_size, dvbsky_ci_ctrl()
/linux-4.4.14/include/uapi/drm/
H A Dqxl_drm.h83 uint32_t command_size; member in struct:drm_qxl_command
H A Dvmwgfx_drm.h306 uint32_t command_size; member in struct:drm_vmw_execbuf_arg
/linux-4.4.14/tools/testing/nvdimm/test/
H A Dnfit.c823 dcr->command_size = 8; nfit_test0_setup()
839 dcr->command_size = 8; nfit_test0_setup()
855 dcr->command_size = 8; nfit_test0_setup()
871 dcr->command_size = 8; nfit_test0_setup()
967 dcr->command_size = 8; nfit_test0_setup()
1135 dcr->command_size = 0; nfit_test1_setup()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c3739 * @command_size: Size of the unpatched command batch.
3747 u32 command_size, vmw_execbuf_submit_fifo()
3753 cmd = vmw_fifo_reserve_dx(dev_priv, command_size, vmw_execbuf_submit_fifo()
3756 cmd = vmw_fifo_reserve(dev_priv, command_size); vmw_execbuf_submit_fifo()
3763 memcpy(cmd, kernel_commands, command_size); vmw_execbuf_submit_fifo()
3766 vmw_fifo_commit(dev_priv, command_size); vmw_execbuf_submit_fifo()
3777 * @command_size: Size of the unpatched command batch.
3785 u32 command_size, vmw_execbuf_submit_cmdbuf()
3790 void *cmd = vmw_cmdbuf_reserve(dev_priv->cman, command_size, vmw_execbuf_submit_cmdbuf()
3796 vmw_cmdbuf_commit(dev_priv->cman, command_size, header, false); vmw_execbuf_submit_cmdbuf()
3807 * @command_size: Size of the unpatched command batch.
3826 u32 command_size, vmw_execbuf_cmdbuf()
3836 if (command_size > SVGA_CB_MAX_SIZE) { vmw_execbuf_cmdbuf()
3842 cmdbuf_size = command_size + 512; vmw_execbuf_cmdbuf()
3850 command_size); vmw_execbuf_cmdbuf()
3896 uint32_t command_size, vmw_execbuf_process()
3920 kernel_commands, command_size, vmw_execbuf_process()
3933 ret = vmw_resize_cmd_bounce(sw_context, command_size); vmw_execbuf_process()
3939 user_commands, command_size); vmw_execbuf_process()
3983 command_size); vmw_execbuf_process()
4026 command_size, sw_context); vmw_execbuf_process()
4028 ret = vmw_execbuf_submit_cmdbuf(dev_priv, header, command_size, vmw_execbuf_process()
4316 NULL, arg.command_size, arg.throttle_us, vmw_execbuf_ioctl()
3745 vmw_execbuf_submit_fifo(struct vmw_private *dev_priv, void *kernel_commands, u32 command_size, struct vmw_sw_context *sw_context) vmw_execbuf_submit_fifo() argument
3783 vmw_execbuf_submit_cmdbuf(struct vmw_private *dev_priv, struct vmw_cmdbuf_header *header, u32 command_size, struct vmw_sw_context *sw_context) vmw_execbuf_submit_cmdbuf() argument
3823 vmw_execbuf_cmdbuf(struct vmw_private *dev_priv, void __user *user_commands, void *kernel_commands, u32 command_size, struct vmw_cmdbuf_header **header) vmw_execbuf_cmdbuf() argument
3892 vmw_execbuf_process(struct drm_file *file_priv, struct vmw_private *dev_priv, void __user *user_commands, void *kernel_commands, uint32_t command_size, uint64_t throttle_us, uint32_t dx_context_handle, struct drm_vmw_fence_rep __user *user_fence_rep, struct vmw_fence_obj **out_fence) vmw_execbuf_process() argument
H A Dvmwgfx_drv.h814 uint32_t command_size,
/linux-4.4.14/tools/perf/bench/
H A Dnuma.c1599 static int command_size(const char **argv) command_size() function
1644 int argc = command_size(argv); run_bench_numa()
/linux-4.4.14/include/acpi/
H A Dactbl1.h1055 u64 command_size; member in struct:acpi_nfit_control_region
/linux-4.4.14/drivers/vhost/
H A Dscsi.c1040 vq_err(vq, "Received SCSI CDB with command_size: %d that" vhost_scsi_handle_vq()

Completed in 633 milliseconds