Lines Matching refs:ctrt
4513 gdth_ioctl_ctrtype ctrt; in gdth_ioctl() local
4515 if (copy_from_user(&ctrt, argp, sizeof(gdth_ioctl_ctrtype)) || in gdth_ioctl()
4516 (NULL == (ha = gdth_find_ha(ctrt.ionode)))) in gdth_ioctl()
4520 ctrt.type = (u8)((ha->stype>>20) - 0x10); in gdth_ioctl()
4523 ctrt.type = (u8)((ha->stype<<4) + 6); in gdth_ioctl()
4525 ctrt.type = in gdth_ioctl()
4528 ctrt.ext_type = 0x6000 | ha->pdev->subsystem_device; in gdth_ioctl()
4530 ctrt.ext_type = 0x6000 | ha->stype; in gdth_ioctl()
4532 ctrt.device_id = ha->pdev->device; in gdth_ioctl()
4533 ctrt.sub_device_id = ha->pdev->subsystem_device; in gdth_ioctl()
4535 ctrt.info = ha->brd_phys; in gdth_ioctl()
4536 ctrt.oem_id = ha->oem_id; in gdth_ioctl()
4537 if (copy_to_user(argp, &ctrt, sizeof(gdth_ioctl_ctrtype))) in gdth_ioctl()