gdtcmd 332 drivers/scsi/gdth.c int __gdth_execute(struct scsi_device *sdev, gdth_cmd_str *gdtcmd, char *cmnd, gdtcmd 359 drivers/scsi/gdth.c cmndinfo.internal_cmd_str = gdtcmd; gdtcmd 375 drivers/scsi/gdth.c int gdth_execute(struct Scsi_Host *shost, gdth_cmd_str *gdtcmd, char *cmnd, gdtcmd 379 drivers/scsi/gdth.c int rval = __gdth_execute(sdev, gdtcmd, cmnd, timeout, info); gdtcmd 4036 drivers/scsi/gdth.c gdth_cmd_str gdtcmd; gdtcmd 4044 drivers/scsi/gdth.c gdtcmd.BoardNode = LOCALBOARD; gdtcmd 4045 drivers/scsi/gdth.c gdtcmd.Service = CACHESERVICE; gdtcmd 4046 drivers/scsi/gdth.c gdtcmd.OpCode = GDT_FLUSH; gdtcmd 4048 drivers/scsi/gdth.c gdtcmd.u.cache64.DeviceNo = i; gdtcmd 4049 drivers/scsi/gdth.c gdtcmd.u.cache64.BlockNo = 1; gdtcmd 4050 drivers/scsi/gdth.c gdtcmd.u.cache64.sg_canz = 0; gdtcmd 4052 drivers/scsi/gdth.c gdtcmd.u.cache.DeviceNo = i; gdtcmd 4053 drivers/scsi/gdth.c gdtcmd.u.cache.BlockNo = 1; gdtcmd 4054 drivers/scsi/gdth.c gdtcmd.u.cache.sg_canz = 0; gdtcmd 4058 drivers/scsi/gdth.c gdth_execute(ha->shost, &gdtcmd, cmnd, 30, NULL); gdtcmd 32 drivers/scsi/gdth_proc.c gdth_cmd_str gdtcmd; gdtcmd 37 drivers/scsi/gdth_proc.c memset(&gdtcmd, 0, sizeof(gdth_cmd_str)); gdtcmd 64 drivers/scsi/gdth_proc.c gdtcmd.Service = CACHESERVICE; gdtcmd 65 drivers/scsi/gdth_proc.c gdtcmd.OpCode = GDT_FLUSH; gdtcmd 67 drivers/scsi/gdth_proc.c gdtcmd.u.cache64.DeviceNo = i; gdtcmd 68 drivers/scsi/gdth_proc.c gdtcmd.u.cache64.BlockNo = 1; gdtcmd 70 drivers/scsi/gdth_proc.c gdtcmd.u.cache.DeviceNo = i; gdtcmd 71 drivers/scsi/gdth_proc.c gdtcmd.u.cache.BlockNo = 1; gdtcmd 74 drivers/scsi/gdth_proc.c gdth_execute(host, &gdtcmd, cmnd, 30, NULL); gdtcmd 129 drivers/scsi/gdth_proc.c gdtcmd.Service = CACHESERVICE; gdtcmd 130 drivers/scsi/gdth_proc.c gdtcmd.OpCode = GDT_IOCTL; gdtcmd 131 drivers/scsi/gdth_proc.c gdtcmd.u.ioctl.p_param = ha->scratch_phys; gdtcmd 132 drivers/scsi/gdth_proc.c gdtcmd.u.ioctl.param_size = sizeof(gdth_cpar_str); gdtcmd 133 drivers/scsi/gdth_proc.c gdtcmd.u.ioctl.subfunc = CACHE_CONFIG; gdtcmd 134 drivers/scsi/gdth_proc.c gdtcmd.u.ioctl.channel = INVALID_CHANNEL; gdtcmd 137 drivers/scsi/gdth_proc.c gdth_execute(host, &gdtcmd, cmnd, 30, NULL); gdtcmd 161 drivers/scsi/gdth_proc.c gdth_cmd_str *gdtcmd; gdtcmd 174 drivers/scsi/gdth_proc.c gdtcmd = kmalloc(sizeof(*gdtcmd), GFP_KERNEL); gdtcmd 176 drivers/scsi/gdth_proc.c if (!gdtcmd || !estr) gdtcmd 180 drivers/scsi/gdth_proc.c memset(gdtcmd, 0, sizeof(gdth_cmd_str)); gdtcmd 246 drivers/scsi/gdth_proc.c gdtcmd->Service = CACHESERVICE; gdtcmd 247 drivers/scsi/gdth_proc.c gdtcmd->OpCode = GDT_IOCTL; gdtcmd 248 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr + GDTH_SCRATCH/4; gdtcmd 249 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = 3*GDTH_SCRATCH/4; gdtcmd 250 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = DSK_STATISTICS | L_CTRL_PATTERN; gdtcmd 251 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = ha->raw[i].address | INVALID_CHANNEL; gdtcmd 260 drivers/scsi/gdth_proc.c if (gdth_execute(host, gdtcmd, cmnd, 30, NULL) != S_OK) gdtcmd 269 drivers/scsi/gdth_proc.c gdtcmd->Service = CACHESERVICE; gdtcmd 270 drivers/scsi/gdth_proc.c gdtcmd->OpCode = GDT_IOCTL; gdtcmd 271 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr; gdtcmd 272 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = sizeof(gdth_diskinfo_str); gdtcmd 273 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = SCSI_DR_INFO | L_CTRL_PATTERN; gdtcmd 274 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = gdtcmd 277 drivers/scsi/gdth_proc.c if (gdth_execute(host, gdtcmd, cmnd, 30, NULL) == S_OK) { gdtcmd 315 drivers/scsi/gdth_proc.c gdtcmd->Service = CACHESERVICE; gdtcmd 316 drivers/scsi/gdth_proc.c gdtcmd->OpCode = GDT_IOCTL; gdtcmd 317 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr; gdtcmd 318 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = sizeof(gdth_defcnt_str); gdtcmd 319 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = SCSI_DEF_CNT | L_CTRL_PATTERN; gdtcmd 320 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = gdtcmd 324 drivers/scsi/gdth_proc.c if (gdth_execute(host, gdtcmd, cmnd, 30, NULL) == S_OK) { gdtcmd 350 drivers/scsi/gdth_proc.c gdtcmd->Service = CACHESERVICE; gdtcmd 351 drivers/scsi/gdth_proc.c gdtcmd->OpCode = GDT_IOCTL; gdtcmd 352 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr; gdtcmd 353 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = sizeof(gdth_cdrinfo_str); gdtcmd 354 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = CACHE_DRV_INFO; gdtcmd 355 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = drv_no; gdtcmd 356 drivers/scsi/gdth_proc.c if (gdth_execute(host, gdtcmd, cmnd, 30, NULL) != S_OK) gdtcmd 427 drivers/scsi/gdth_proc.c gdtcmd->Service = CACHESERVICE; gdtcmd 428 drivers/scsi/gdth_proc.c gdtcmd->OpCode = GDT_IOCTL; gdtcmd 429 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr; gdtcmd 430 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = sizeof(gdth_arrayinf_str); gdtcmd 431 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = ARRAY_INFO | LA_CTRL_PATTERN; gdtcmd 432 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = i; gdtcmd 433 drivers/scsi/gdth_proc.c if (gdth_execute(host, gdtcmd, cmnd, 30, NULL) == S_OK) { gdtcmd 484 drivers/scsi/gdth_proc.c gdtcmd->Service = CACHESERVICE; gdtcmd 485 drivers/scsi/gdth_proc.c gdtcmd->OpCode = GDT_IOCTL; gdtcmd 486 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.p_param = paddr; gdtcmd 487 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.param_size = sizeof(gdth_hget_str); gdtcmd 488 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.subfunc = HOST_GET | LA_CTRL_PATTERN; gdtcmd 489 drivers/scsi/gdth_proc.c gdtcmd->u.ioctl.channel = i; gdtcmd 492 drivers/scsi/gdth_proc.c if (gdth_execute(host, gdtcmd, cmnd, 30, NULL) == S_OK) { gdtcmd 555 drivers/scsi/gdth_proc.c kfree(gdtcmd); gdtcmd 9 drivers/scsi/gdth_proc.h int gdth_execute(struct Scsi_Host *shost, gdth_cmd_str *gdtcmd, char *cmnd,