Searched refs:data_buffer_length_adjusted (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A D3w-9xxx.c643 unsigned long *cpu_addr, data_buffer_length_adjusted = 0, flags = 0; twa_chrdev_ioctl() local
679 data_buffer_length_adjusted = (driver_command.buffer_length + 511) & ~511; twa_chrdev_ioctl()
682 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); twa_chrdev_ioctl()
709 twa_load_sgl(tw_dev, full_command_packet, request_id, dma_handle, data_buffer_length_adjusted); twa_chrdev_ioctl()
877 dma_free_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_Ioctl_Buf_Apache) - 1, cpu_addr, dma_handle); twa_chrdev_ioctl()
H A D3w-sas.c722 unsigned long *cpu_addr, data_buffer_length_adjusted = 0, flags = 0; twl_chrdev_ioctl() local
752 data_buffer_length_adjusted = (driver_command.buffer_length + 511) & ~511; twl_chrdev_ioctl()
755 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); twl_chrdev_ioctl()
782 twl_load_sgl(tw_dev, full_command_packet, request_id, dma_handle, data_buffer_length_adjusted); twl_chrdev_ioctl()
826 dma_free_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_Ioctl_Buf_Apache) - 1, cpu_addr, dma_handle); twl_chrdev_ioctl()
H A D3w-xxxx.c879 unsigned long data_buffer_length_adjusted = 0; tw_chrdev_ioctl() local
909 data_buffer_length_adjusted = (data_buffer_length + 511) & ~511; tw_chrdev_ioctl()
912 cpu_addr = dma_alloc_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_New_Ioctl) - 1, &dma_handle, GFP_KERNEL); tw_chrdev_ioctl()
967 tw_ioctl->firmware_command.byte8.param.sgl[0].length = data_buffer_length_adjusted; tw_chrdev_ioctl()
971 tw_ioctl->firmware_command.byte8.io.sgl[0].length = data_buffer_length_adjusted; tw_chrdev_ioctl()
975 passthru->sg_list[0].length = data_buffer_length_adjusted; tw_chrdev_ioctl()
1022 dma_free_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_New_Ioctl) - 1, cpu_addr, dma_handle); tw_chrdev_ioctl()

Completed in 116 milliseconds