/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * controlfb_hw.h: Constants of all sorts for controlfb * * Copyright (C) 1998 Daniel Jacobowitz <[email protected]> * * Based on an awful lot of code, including: * * control.c: Console support for PowerMac "control" display adaptor. * Copyright (C) 1996 Paul Mackerras. * * The so far unpublished platinumfb.c * Copyright (C) 1998 Jon Howell */ /* * Structure of the registers for the RADACAL colormap device. */ struct cmap_regs { … }; /* * Structure of the registers for the "control" display adaptor. */ #define PAD(x) … struct preg { … }; struct control_regs { … }; struct control_regints { … }; /* * Dot clock rate is * 3.9064MHz * 2**clock_params[2] * clock_params[1] / clock_params[0]. */ struct control_regvals { … }; #define CTRLFB_OFF … /* * Best cmode supported by control */ struct max_cmodes { … }; /* * Video modes supported by macmodes.c */ static struct max_cmodes control_mac_modes[] = …;