Searched refs:tw_ioctl (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/ |
H A D | 3w-9xxx.c | 650 TW_Ioctl_Buf_Apache *tw_ioctl; local 689 tw_ioctl = (TW_Ioctl_Buf_Apache *)cpu_addr; 692 if (copy_from_user(tw_ioctl, argp, driver_command.buffer_length + sizeof(TW_Ioctl_Buf_Apache) - 1)) 707 full_command_packet = &tw_ioctl->firmware_command; 712 memcpy(tw_dev->command_packet_virt[request_id], &(tw_ioctl->firmware_command), sizeof(TW_Command_Full)); 735 memcpy(&(tw_ioctl->firmware_command), tw_dev->command_packet_virt[request_id], sizeof(TW_Command_Full)); 745 tw_ioctl->driver_command.status = 0; 747 tw_compat_info = (TW_Compatibility_Info *)tw_ioctl->data_buffer; 753 tw_ioctl->driver_command.status = TW_IOCTL_ERROR_STATUS_AEN_CLOBBER; 756 tw_ioctl [all...] |
H A D | 3w-xxxx.c | 698 TW_New_Ioctl *tw_ioctl; local 733 tw_ioctl = (TW_New_Ioctl *)cpu_addr; 736 if (copy_from_user(tw_ioctl, argp, data_buffer_length + sizeof(TW_New_Ioctl) - 1)) 739 passthru = (TW_Passthru *)&tw_ioctl->firmware_command; 748 memset(tw_ioctl->data_buffer, 0, data_buffer_length); 762 memcpy(tw_ioctl->data_buffer, &tw_aen_code, sizeof(tw_aen_code)); 776 tw_ioctl->firmware_command.request_id = request_id; 779 switch (TW_SGL_OUT(tw_ioctl->firmware_command.opcode__sgloffset)) { 781 tw_ioctl->firmware_command.byte8.param.sgl[0].address = dma_handle + sizeof(TW_New_Ioctl) - 1; 782 tw_ioctl [all...] |
H A D | 3w-sas.c | 761 TW_Ioctl_Buf_Apache *tw_ioctl; local 795 tw_ioctl = (TW_Ioctl_Buf_Apache *)cpu_addr; 798 if (copy_from_user(tw_ioctl, argp, driver_command.buffer_length + sizeof(TW_Ioctl_Buf_Apache) - 1)) 813 full_command_packet = (TW_Command_Full *)&tw_ioctl->firmware_command; 818 memcpy(tw_dev->command_packet_virt[request_id], &(tw_ioctl->firmware_command), sizeof(TW_Command_Full)); 841 memcpy(&(tw_ioctl->firmware_command), tw_dev->command_packet_virt[request_id], sizeof(TW_Command_Full)); 856 if (copy_to_user(argp, tw_ioctl, sizeof(TW_Ioctl_Buf_Apache) + driver_command.buffer_length - 1) == 0)
|
Completed in 65 milliseconds