Lines Matching refs:ctrt
3843 gdth_ioctl_ctrtype ctrt; in gdth_ioctl() local
3845 if (copy_from_user(&ctrt, argp, sizeof(gdth_ioctl_ctrtype)) || in gdth_ioctl()
3846 (NULL == (ha = gdth_find_ha(ctrt.ionode)))) in gdth_ioctl()
3850 ctrt.type = (u8)((ha->stype<<4) + 6); in gdth_ioctl()
3852 ctrt.type = (ha->oem_id == OEM_ID_INTEL ? 0xfd : 0xfe); in gdth_ioctl()
3854 ctrt.ext_type = 0x6000 | ha->pdev->subsystem_device; in gdth_ioctl()
3856 ctrt.ext_type = 0x6000 | ha->stype; in gdth_ioctl()
3858 ctrt.device_id = ha->pdev->device; in gdth_ioctl()
3859 ctrt.sub_device_id = ha->pdev->subsystem_device; in gdth_ioctl()
3860 ctrt.info = ha->brd_phys; in gdth_ioctl()
3861 ctrt.oem_id = ha->oem_id; in gdth_ioctl()
3862 if (copy_to_user(argp, &ctrt, sizeof(gdth_ioctl_ctrtype))) in gdth_ioctl()