TW_Command_Full
sizeof(TW_Command_Full) * TW_Q_LENGTH,
TW_Command_Full *full_command_packet;
memset(full_command_packet, 0, sizeof(TW_Command_Full));
TW_Command_Full *full_command_packet;
memset(full_command_packet, 0, sizeof(TW_Command_Full));
if (twa_allocate_memory(tw_dev, sizeof(TW_Command_Full), 0)) {
TW_Command_Full *full_command_packet;
static void twa_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int request_id, dma_addr_t dma_handle, int length)
static void twa_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int request_id, dma_addr_t dma_handle, int length);
TW_Command_Full *full_command_packet = tw_dev->command_packet_virt[request_id];
TW_Command_Full *full_command_packet;
TW_Command_Full *full_command_packet;
TW_Command_Full *full_command_packet;
memset(full_command_packet, 0, sizeof(TW_Command_Full));
TW_Command_Full *full_command_packet;
memset(full_command_packet, 0, sizeof(TW_Command_Full));
TW_Command_Full *full_command_packet;
memset(full_command_packet, 0, sizeof(TW_Command_Full));
tw_dev->command_packet_virt[i] = (TW_Command_Full *)((unsigned char *)cpu_addr + (i*size));
TW_Command_Full *full_command_packet;
memcpy(tw_dev->command_packet_virt[request_id], &(tw_ioctl->firmware_command), sizeof(TW_Command_Full));
memcpy(&(tw_ioctl->firmware_command), tw_dev->command_packet_virt[request_id], sizeof(TW_Command_Full));
TW_Command_Full *full_command_packet;
TW_Command_Full firmware_command;
TW_Command_Full *command_packet_virt[TW_Q_LENGTH];
if (twl_allocate_memory(tw_dev, sizeof(TW_Command_Full), 0)) {
TW_Command_Full *full_command_packet;
TW_Command_Full *full_command_packet;
TW_Command_Full *full_command_packet;
memset(full_command_packet, 0, sizeof(TW_Command_Full));
TW_Command_Full *full_command_packet;
memset(full_command_packet, 0, sizeof(TW_Command_Full));
TW_Command_Full *full_command_packet;
TW_Command_Full *full_command_packet;
memset(full_command_packet, 0, sizeof(TW_Command_Full));
tw_dev->command_packet_virt[i] = (TW_Command_Full *)((unsigned char *)cpu_addr + (i*size));
static void twl_load_sgl(TW_Device_Extension *tw_dev, TW_Command_Full *full_command_packet, int request_id, dma_addr_t dma_handle, int length)
TW_Command_Full *full_command_packet;
full_command_packet = (TW_Command_Full *)&tw_ioctl->firmware_command;
memcpy(tw_dev->command_packet_virt[request_id], &(tw_ioctl->firmware_command), sizeof(TW_Command_Full));
memcpy(&(tw_ioctl->firmware_command), tw_dev->command_packet_virt[request_id], sizeof(TW_Command_Full));
TW_Command_Full *full_command_packet;
sizeof(TW_Command_Full)*TW_Q_LENGTH,
TW_Command_Full *full_command_packet;
memset(full_command_packet, 0, sizeof(TW_Command_Full));
TW_Command_Full *full_command_packet;
memset(full_command_packet, 0, sizeof(TW_Command_Full));
TW_Command_Full firmware_command;
TW_Command_Full *command_packet_virt[TW_Q_LENGTH];