Lines Matching refs:ctrt
5909 gdth_ioctl_ctrtype ctrt; in gdth_ioctl() local
5911 if (copy_from_user(&ctrt, (char *)arg, sizeof(gdth_ioctl_ctrtype)) || in gdth_ioctl()
5912 ctrt.ionode >= gdth_ctr_count) in gdth_ioctl()
5914 ha = HADATA(gdth_ctr_tab[ctrt.ionode]); in gdth_ioctl()
5916 ctrt.type = (unchar)((ha->stype>>20) - 0x10); in gdth_ioctl()
5919 ctrt.type = (unchar)((ha->stype<<4) + 6); in gdth_ioctl()
5921 ctrt.type = in gdth_ioctl()
5924 ctrt.ext_type = 0x6000 | ha->subdevice_id; in gdth_ioctl()
5926 ctrt.ext_type = 0x6000 | ha->stype; in gdth_ioctl()
5928 ctrt.device_id = ha->stype; in gdth_ioctl()
5929 ctrt.sub_device_id = ha->subdevice_id; in gdth_ioctl()
5931 ctrt.info = ha->brd_phys; in gdth_ioctl()
5932 ctrt.oem_id = ha->oem_id; in gdth_ioctl()
5933 if (copy_to_user((char *)arg, &ctrt, sizeof(gdth_ioctl_ctrtype))) in gdth_ioctl()