Home
last modified time | relevance | path

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

/drivers/misc/ibmasm/
Ddot_command.h46 u8 command_size; member
56 return sizeof(struct dot_command_header) + cmd->command_size + cmd->data_size; in get_dot_command_size()
66 if (header->command_size == 3) { in get_dot_command_timeout()
69 } else if (header->command_size == 2) { in get_dot_command_timeout()
Dlowlevel.c36 unsigned int command_size; in ibmasm_send_i2o_message() local
44 command_size = get_dot_command_size(command->buffer); in ibmasm_send_i2o_message()
45 header.message_size = outgoing_message_size(command_size); in ibmasm_send_i2o_message()
50 memcpy_toio(&message->data, command->buffer, command_size); in ibmasm_send_i2o_message()
Ddot_command.c82 header->command_size = 4; in ibmasm_send_driver_vpd()
93 vpd_data = vpd_command + header->command_size; in ibmasm_send_driver_vpd()
136 os_state_cmd->header.command_size = 3; in ibmasm_send_os_state()
Dr_heartbeat.c41 .command_size = 3,
/drivers/usb/misc/
Dftdi-elan.c374 int command_size = ftdi->command_next - in ftdi_elan_flush_targets() local
376 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()
396 int command_size = ftdi->command_next - in ftdi_elan_flush_targets() local
398 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()
432 int command_size = ftdi->command_next - in ftdi_elan_cancel_targets() local
434 if (command_size < COMMAND_SIZE) { in ftdi_elan_cancel_targets()
739 char *buf, int command_size, int total_size) in fill_buffer_with_all_queued_commands() argument
743 int I = command_size; in fill_buffer_with_all_queued_commands()
765 static int ftdi_elan_total_command_size(struct usb_ftdi *ftdi, int command_size) in ftdi_elan_total_command_size() argument
768 int I = command_size; in ftdi_elan_total_command_size()
[all …]
/drivers/target/
Dtarget_core_user.c379 size_t base_command_size, command_size; in tcmu_queue_cmd_ring() local
402 command_size = base_command_size in tcmu_queue_cmd_ring()
405 WARN_ON(command_size & (TCMU_OP_ALIGN_SIZE-1)); in tcmu_queue_cmd_ring()
411 if ((command_size > (udev->cmdr_size / 2)) in tcmu_queue_cmd_ring()
414 "cmd/data ring buffers\n", command_size, tcmu_cmd->data_length, in tcmu_queue_cmd_ring()
417 while (!is_ring_space_avail(udev, command_size, tcmu_cmd->data_length)) { in tcmu_queue_cmd_ring()
439 if (head_to_end(cmd_head, udev->cmdr_size) < command_size) { in tcmu_queue_cmd_ring()
459 tcmu_hdr_set_len(&entry->hdr.len_op, command_size); in tcmu_queue_cmd_ring()
488 UPDATE_HEAD(mb->cmd_head, command_size, udev->cmdr_size); in tcmu_queue_cmd_ring()
/drivers/gpu/drm/qxl/
Dqxl_ioctl.c163 if (cmd->command_size > PAGE_SIZE - sizeof(union qxl_release_info)) in qxl_process_single_command()
168 cmd->command_size)) in qxl_process_single_command()
178 cmd->command_size, in qxl_process_single_command()
187 … + (release->release_offset & ~PAGE_SIZE), (void *)(unsigned long)cmd->command, cmd->command_size); in qxl_process_single_command()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_execbuf.c3754 u32 command_size, in vmw_execbuf_submit_fifo() argument
3760 cmd = vmw_fifo_reserve_dx(dev_priv, command_size, in vmw_execbuf_submit_fifo()
3763 cmd = vmw_fifo_reserve(dev_priv, command_size); in vmw_execbuf_submit_fifo()
3770 memcpy(cmd, kernel_commands, command_size); in vmw_execbuf_submit_fifo()
3773 vmw_fifo_commit(dev_priv, command_size); in vmw_execbuf_submit_fifo()
3792 u32 command_size, in vmw_execbuf_submit_cmdbuf() argument
3797 void *cmd = vmw_cmdbuf_reserve(dev_priv->cman, command_size, in vmw_execbuf_submit_cmdbuf()
3803 vmw_cmdbuf_commit(dev_priv->cman, command_size, header, false); in vmw_execbuf_submit_cmdbuf()
3833 u32 command_size, in vmw_execbuf_cmdbuf() argument
3840 if (command_size > SVGA_CB_MAX_SIZE) { in vmw_execbuf_cmdbuf()
[all …]
Dvmwgfx_drv.h815 uint32_t command_size,
/drivers/media/usb/dvb-usb-v2/
Ddvbsky.c393 u8 command[4], respond[2], command_size, respond_size; in dvbsky_ci_ctrl() local
399 command_size = 3; in dvbsky_ci_ctrl()
404 command_size = 4; in dvbsky_ci_ctrl()
407 ret = dvbsky_usb_generic_rw(d, command, command_size, in dvbsky_ci_ctrl()