Searched refs:TW_New_Ioctl (Results 1 – 2 of 2) sorted by relevance
883 TW_New_Ioctl *tw_ioctl; in tw_chrdev_ioctl()912 …coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_New_Ioctl) - 1, &dma_hand… in tw_chrdev_ioctl()918 tw_ioctl = (TW_New_Ioctl *)cpu_addr; in tw_chrdev_ioctl()921 if (copy_from_user(tw_ioctl, argp, data_buffer_length + sizeof(TW_New_Ioctl) - 1)) in tw_chrdev_ioctl()966 tw_ioctl->firmware_command.byte8.param.sgl[0].address = dma_handle + sizeof(TW_New_Ioctl) - 1; in tw_chrdev_ioctl()970 tw_ioctl->firmware_command.byte8.io.sgl[0].address = dma_handle + sizeof(TW_New_Ioctl) - 1; in tw_chrdev_ioctl()974 passthru->sg_list[0].address = dma_handle + sizeof(TW_New_Ioctl) - 1; in tw_chrdev_ioctl()1017 if (copy_to_user(argp, tw_ioctl, sizeof(TW_New_Ioctl) + data_buffer_length - 1)) in tw_chrdev_ioctl()1022 …dma_free_coherent(&tw_dev->tw_pci_dev->dev, data_buffer_length_adjusted+sizeof(TW_New_Ioctl) - 1, … in tw_chrdev_ioctl()
343 } TW_New_Ioctl; typedef