Lines Matching refs:vi
747 struct brlvger_info vi; in brlvger_ioctl() local
749 memset(&vi, 0, sizeof(vi)); in brlvger_ioctl()
750 strncpy(vi.driver_version, DRIVER_VERSION, in brlvger_ioctl()
751 sizeof(vi.driver_version)); in brlvger_ioctl()
752 vi.driver_version[sizeof(vi.driver_version)-1] = 0; in brlvger_ioctl()
753 strncpy(vi.driver_banner, longbanner, in brlvger_ioctl()
754 sizeof(vi.driver_banner)); in brlvger_ioctl()
755 vi.driver_banner[sizeof(vi.driver_banner)-1] = 0; in brlvger_ioctl()
757 vi.display_length = priv->plength; in brlvger_ioctl()
759 memcpy(&vi.hwver, priv->hwver, BRLVGER_HWVER_SIZE); in brlvger_ioctl()
760 memcpy(&vi.fwver, priv->fwver, BRLVGER_FWVER_SIZE); in brlvger_ioctl()
761 memcpy(&vi.serialnum, priv->serialnum, BRLVGER_SERIAL_SIZE); in brlvger_ioctl()
763 if(copy_to_user((void *)arg, &vi, sizeof(vi))) in brlvger_ioctl()