Searched refs:data_buffer_length_adjusted (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 D3w-xxxx.c694 unsigned long data_buffer_length_adjusted = 0; local
724 data_buffer_length_adjusted = (data_buffer_length + 511) & ~511;
727 cpu_addr = dma_alloc_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_New_Ioctl) - 1, &dma_handle, GFP_KERNEL);
782 tw_ioctl->firmware_command.byte8.param.sgl[0].length = data_buffer_length_adjusted;
786 tw_ioctl->firmware_command.byte8.io.sgl[0].length = data_buffer_length_adjusted;
790 passthru->sg_list[0].length = data_buffer_length_adjusted;
837 dma_free_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_New_Ioctl) - 1, cpu_addr, dma_handle);
H A D3w-sas.c756 unsigned long *cpu_addr, data_buffer_length_adjusted = 0, flags = 0; local
786 data_buffer_length_adjusted = (driver_command.buffer_length + 511) & ~511;
789 cpu_addr = dma_alloc_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_Ioctl_Buf_Apache) - 1, &dma_handle, GFP_KERNEL);
816 twl_load_sgl(tw_dev, full_command_packet, request_id, dma_handle, data_buffer_length_adjusted);
860 dma_free_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_Ioctl_Buf_Apache) - 1, cpu_addr, dma_handle);
H A D3w-9xxx.c644 unsigned long *cpu_addr, data_buffer_length_adjusted = 0, flags = 0; local
680 data_buffer_length_adjusted = (driver_command.buffer_length + 511) & ~511;
683 cpu_addr = dma_alloc_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_Ioctl_Buf_Apache) - 1, &dma_handle, GFP_KERNEL);
710 twa_load_sgl(tw_dev, full_command_packet, request_id, dma_handle, data_buffer_length_adjusted);
878 dma_free_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_Ioctl_Buf_Apache) - 1, cpu_addr, dma_handle);

Completed in 48 milliseconds