Lines Matching refs:hdi
567 struct hidraw_device_info *hdi; in hidraw_ioctl() local
801 hdi = (struct hidraw_device_info *)addr; in hidraw_ioctl()
802 bzero(hdi, sizeof(struct hidraw_device_info)); in hidraw_ioctl()
803 hdi->hdi_product = sc->sc_hw->idProduct; in hidraw_ioctl()
804 hdi->hdi_vendor = sc->sc_hw->idVendor; in hidraw_ioctl()
805 hdi->hdi_version = sc->sc_hw->idVersion; in hidraw_ioctl()
806 hdi->hdi_bustype = sc->sc_hw->idBus; in hidraw_ioctl()
807 strlcpy(hdi->hdi_name, sc->sc_hw->name, in hidraw_ioctl()
808 sizeof(hdi->hdi_name)); in hidraw_ioctl()
809 strlcpy(hdi->hdi_phys, device_get_nameunit(sc->sc_dev), in hidraw_ioctl()
810 sizeof(hdi->hdi_phys)); in hidraw_ioctl()
811 strlcpy(hdi->hdi_uniq, sc->sc_hw->serial, in hidraw_ioctl()
812 sizeof(hdi->hdi_uniq)); in hidraw_ioctl()
813 snprintf(hdi->hdi_release, sizeof(hdi->hdi_release), "%x.%02x", in hidraw_ioctl()