Lines Matching refs:ctrt
3920 gdth_ioctl_ctrtype ctrt; in gdth_ioctl() local
3922 if (copy_from_user(&ctrt, argp, sizeof(gdth_ioctl_ctrtype)) || in gdth_ioctl()
3923 (NULL == (ha = gdth_find_ha(ctrt.ionode)))) in gdth_ioctl()
3927 ctrt.type = (u8)((ha->stype<<4) + 6); in gdth_ioctl()
3929 ctrt.type = (ha->oem_id == OEM_ID_INTEL ? 0xfd : 0xfe); in gdth_ioctl()
3931 ctrt.ext_type = 0x6000 | ha->pdev->subsystem_device; in gdth_ioctl()
3933 ctrt.ext_type = 0x6000 | ha->stype; in gdth_ioctl()
3935 ctrt.device_id = ha->pdev->device; in gdth_ioctl()
3936 ctrt.sub_device_id = ha->pdev->subsystem_device; in gdth_ioctl()
3937 ctrt.info = ha->brd_phys; in gdth_ioctl()
3938 ctrt.oem_id = ha->oem_id; in gdth_ioctl()
3939 if (copy_to_user(argp, &ctrt, sizeof(gdth_ioctl_ctrtype))) in gdth_ioctl()