Lines Matching refs:ctrt
4511 gdth_ioctl_ctrtype ctrt; in gdth_ioctl() local
4513 if (copy_from_user(&ctrt, argp, sizeof(gdth_ioctl_ctrtype)) || in gdth_ioctl()
4514 (NULL == (ha = gdth_find_ha(ctrt.ionode)))) in gdth_ioctl()
4518 ctrt.type = (u8)((ha->stype>>20) - 0x10); in gdth_ioctl()
4521 ctrt.type = (u8)((ha->stype<<4) + 6); in gdth_ioctl()
4523 ctrt.type = in gdth_ioctl()
4526 ctrt.ext_type = 0x6000 | ha->pdev->subsystem_device; in gdth_ioctl()
4528 ctrt.ext_type = 0x6000 | ha->stype; in gdth_ioctl()
4530 ctrt.device_id = ha->pdev->device; in gdth_ioctl()
4531 ctrt.sub_device_id = ha->pdev->subsystem_device; in gdth_ioctl()
4533 ctrt.info = ha->brd_phys; in gdth_ioctl()
4534 ctrt.oem_id = ha->oem_id; in gdth_ioctl()
4535 if (copy_to_user(argp, &ctrt, sizeof(gdth_ioctl_ctrtype))) in gdth_ioctl()