brintos

brintos / linux-shallow public Read only

0
0
Text · 920 B · 2818255 Raw
35 lines · c
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */2/*3 * Definitions for talking to the CUDA.  The CUDA is a microcontroller4 * which controls the ADB, system power, RTC, and various other things.5 *6 * Copyright (C) 1996 Paul Mackerras.7 */8 9#ifndef _UAPI_LINUX_CUDA_H10#define _UAPI_LINUX_CUDA_H11 12/* CUDA commands (2nd byte) */13#define CUDA_WARM_START		014#define CUDA_AUTOPOLL		115#define CUDA_GET_6805_ADDR	216#define CUDA_GET_TIME		317#define CUDA_GET_PRAM		718#define CUDA_SET_6805_ADDR	819#define CUDA_SET_TIME		920#define CUDA_POWERDOWN		0xa21#define CUDA_POWERUP_TIME	0xb22#define CUDA_SET_PRAM		0xc23#define CUDA_MS_RESET		0xd24#define CUDA_SEND_DFAC		0xe25#define CUDA_RESET_SYSTEM	0x1126#define CUDA_SET_IPL		0x1227#define CUDA_SET_AUTO_RATE	0x1428#define CUDA_GET_AUTO_RATE	0x1629#define CUDA_SET_DEVICE_LIST	0x1930#define CUDA_GET_DEVICE_LIST	0x1a31#define CUDA_GET_SET_IIC	0x2232 33 34#endif /* _UAPI_LINUX_CUDA_H */35