Lines Matching refs:sc_hw
94 const struct hid_device_info *sc_hw; member
215 sc->sc_hw = hid_get_device_info(self); in hidraw_attach()
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()
811 strlcpy(hdi->hdi_uniq, sc->sc_hw->serial, in hidraw_ioctl()
814 sc->sc_hw->idVersion >> 8, sc->sc_hw->idVersion & 0xff); in hidraw_ioctl()
818 *(int *)addr = sc->sc_hw->rdescsize; in hidraw_ioctl()
846 hd->bustype = sc->sc_hw->idBus; in hidraw_ioctl()
847 hd->vendor = sc->sc_hw->idVendor; in hidraw_ioctl()
848 hd->product = sc->sc_hw->idProduct; in hidraw_ioctl()
856 strlcpy(addr, sc->sc_hw->name, len); in hidraw_ioctl()
857 td->td_retval[0] = min(strlen(sc->sc_hw->name) + 1, len); in hidraw_ioctl()
931 strlcpy(addr, sc->sc_hw->serial, len); in hidraw_ioctl()
932 td->td_retval[0] = min(strlen(sc->sc_hw->serial) + 1, len); in hidraw_ioctl()