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