Home
last modified time | relevance | path

Searched refs:tw_ioctl (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/scsi/
H A D3w-9xxx.c648 TW_Ioctl_Buf_Apache *tw_ioctl; in twa_chrdev_ioctl() local
688 tw_ioctl = (TW_Ioctl_Buf_Apache *)cpu_addr; in twa_chrdev_ioctl()
744 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
755 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
761 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
773 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
780 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
789 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
818 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
852 tw_ioctl->driver_command.status = 0; in twa_chrdev_ioctl()
[all …]
H A D3w-xxxx.c886 TW_New_Ioctl *tw_ioctl; in tw_chrdev_ioctl() local
921 tw_ioctl = (TW_New_Ioctl *)cpu_addr; in tw_chrdev_ioctl()
924 if (copy_from_user(tw_ioctl, argp, data_buffer_length + sizeof(TW_New_Ioctl))) in tw_chrdev_ioctl()
927 passthru = (TW_Passthru *)&tw_ioctl->firmware_command; in tw_chrdev_ioctl()
936 memset(tw_ioctl->data_buffer, 0, data_buffer_length); in tw_chrdev_ioctl()
950 memcpy(tw_ioctl->data_buffer, &tw_aen_code, sizeof(tw_aen_code)); in tw_chrdev_ioctl()
964 tw_ioctl->firmware_command.request_id = request_id; in tw_chrdev_ioctl()
967 switch (TW_SGL_OUT(tw_ioctl->firmware_command.opcode__sgloffset)) { in tw_chrdev_ioctl()
970 tw_ioctl->firmware_command.byte8.param.sgl[0].length = data_buffer_length_adjusted; in tw_chrdev_ioctl()
974 tw_ioctl->firmware_command.byte8.io.sgl[0].length = data_buffer_length_adjusted; in tw_chrdev_ioctl()
[all …]
H A D3w-sas.c723 TW_Ioctl_Buf_Apache *tw_ioctl; in twl_chrdev_ioctl() local
757 tw_ioctl = (TW_Ioctl_Buf_Apache *)cpu_addr; in twl_chrdev_ioctl()
760 if (copy_from_user(tw_ioctl, argp, driver_command.buffer_length + sizeof(TW_Ioctl_Buf_Apache))) in twl_chrdev_ioctl()
775 full_command_packet = (TW_Command_Full *)&tw_ioctl->firmware_command; in twl_chrdev_ioctl()
780 …memcpy(tw_dev->command_packet_virt[request_id], &(tw_ioctl->firmware_command), sizeof(TW_Command_F… in twl_chrdev_ioctl()
803 …memcpy(&(tw_ioctl->firmware_command), tw_dev->command_packet_virt[request_id], sizeof(TW_Command_F… in twl_chrdev_ioctl()
818 if (copy_to_user(argp, tw_ioctl, sizeof(TW_Ioctl_Buf_Apache) + driver_command.buffer_length) == 0) in twl_chrdev_ioctl()