81 for (i = 0; i <
count; i++) {
88 }
else if (table[i].
type ==
SIO) {
113 .and =
AndMask32((g % 4) * 8, (g % 4) * 8),
114 .or = (
LPC & 0x01) << ((g % 4) * 8)
121 .and =
AndMask32((g % 4) * 8, (g % 4) * 8),
122 .or = (
LPC & 0x02) << ((g % 4) * 8)
166 .and =
AndMask32((((g % 4) + 1) * 8) - 1, (g % 4) * 8),
167 .or = 0xFF << ((g % 4) * 8)
544 switch (dev & 0xff) {
#define UART1_TXD1_EN_BIT
#define I_J_K_L_CMD_SOURCE0_REG
#define MUL_FUNC_PIN_CTL9_REG
#define U_V_W_X_CMD_SOURCE1_REG
#define UART3_TXD3_EN_BIT
#define U_V_W_X_CMD_SOURCE0_REG
#define MUL_FUNC_PIN_CTL5_REG
#define MUL_FUNC_PIN_CTL1_REG
#define UART4_TXD4_EN_BIT
#define PORT80_GPIO_SEL_REG
#define UART2_RXD2_EN_BIT
#define UART2_TXD2_EN_BIT
#define UART4_RXD4_EN_BIT
#define MUL_FUNC_PIN_CTL2_REG
#define Y_Z_AA_AB_DIRECTION_REG
#define SNOOP_ADDR_PORT80
#define UART1_RXD1_EN_BIT
#define I_J_K_L_DIRECTION_REG
#define M_N_O_P_DIRECTION_REG
#define A_B_C_D_DIRECTION_REG
#define M_N_O_P_CMD_SOURCE1_REG
#define E_F_G_H_CMD_SOURCE0_REG
#define Y_Z_AA_AB_CMD_SOURCE1_REG
#define E_F_G_H_CMD_SOURCE1_REG
#define E_F_G_H_DIRECTION_REG
#define MUL_FUNC_PIN_CTL4_REG
#define MUL_FUNC_PIN_CTL6_REG
#define MUL_FUNC_PIN_CTL8_REG
#define I_J_K_L_CMD_SOURCE1_REG
#define AndMask32(HighBit, LowBit)
#define Y_Z_AA_AB_CMD_SOURCE0_REG
#define U_V_W_X_DIRECTION_REG
#define UART3_RXD3_EN_BIT
#define M_N_O_P_CMD_SOURCE0_REG
#define A_B_C_D_CMD_SOURCE0_REG
#define Q_R_S_T_DIRECTION_REG
#define A_B_C_D_CMD_SOURCE1_REG
#define DIGI_VIDEO_OUT_PINS_DIS
#define Q_R_S_T_CMD_SOURCE0_REG
#define MUL_FUNC_PIN_CTL7_REG
#define MUL_FUNC_PIN_CTL3_REG
#define Q_R_S_T_CMD_SOURCE1_REG
void outb(u8 val, u16 port)
void aspeed_early_config(pnp_devfn_t dev, config_data *table, uint8_t count)
void aspeed_enable_uart_pin(pnp_devfn_t dev)
void lpc_read(uint8_t port, uint32_t addr, uint32_t *value)
void lpc_write(uint8_t port, uint32_t addr, uint32_t data)
void aspeed_enable_port80_direct_gpio(pnp_devfn_t dev, gpio_group_sel g)
static void pnp_enter_conf_state(pnp_devfn_t dev)
static void pnp_exit_conf_state(pnp_devfn_t dev)
void pnp_set_logical_device(struct device *dev)
void pnp_set_enable(struct device *dev, int enable)
u8 pnp_read_config(struct device *dev, u8 reg)
void pnp_write_config(struct device *dev, u8 reg, u8 value)
#define PNP_DEV(PORT, FUNC)