fermentord/vendor/github.com/warthog618/gpiod/uapi/ioctl_mips32.go
Søren Rasmussen 07a23c1845
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Upgrade to go 1.20 and add vendor catalog
2023-04-22 10:37:23 +02:00

23 lines
569 B
Go

// SPDX-FileCopyrightText: 2020 Kent Gibson <warthog618@gmail.com>
//
// SPDX-License-Identifier: MIT
//go:build mips || mipsle || mips64 || mips64le || ppc64 || ppc64le || sparc || sparc64
// +build mips mipsle mips64 mips64le ppc64 ppc64le sparc sparc64
package uapi
// ioctl constants
const (
iocNRBits = 8
iocTypeBits = 8
iocDirBits = 3
iocSizeBits = 13
iocNRShift = 0
iocTypeShift = iocNRShift + iocNRBits
iocSizeShift = iocTypeShift + iocTypeBits
iocDirShift = iocSizeShift + iocSizeBits
iocWrite = 4
iocRead = 2
// iocNone = 1
)