rt5645.h (92243b6fc8fcb16bf401b055f7a0ba79f70a4115) rt5645.h (917536aeb88d34e06c1353b0dd144f0987bb66bd)
1/*
2 * rt5645.h -- RT5645 ALSA SoC audio driver
3 *
4 * Copyright 2013 Realtek Microelectronics
5 * Author: Bard Liao <bardliao@realtek.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 1612 unchanged lines hidden (view full) ---

1621#define RT5645_JD_P_SFT 11
1622#define RT5645_JD_P_NOR (0x0 << 11)
1623#define RT5645_JD_P_INV (0x1 << 11)
1624#define RT5645_OT_P_MASK (0x1 << 10)
1625#define RT5645_OT_P_SFT 10
1626#define RT5645_OT_P_NOR (0x0 << 10)
1627#define RT5645_OT_P_INV (0x1 << 10)
1628#define RT5645_IRQ_JD_1_1_EN (0x1 << 9)
1/*
2 * rt5645.h -- RT5645 ALSA SoC audio driver
3 *
4 * Copyright 2013 Realtek Microelectronics
5 * Author: Bard Liao <bardliao@realtek.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 1612 unchanged lines hidden (view full) ---

1621#define RT5645_JD_P_SFT 11
1622#define RT5645_JD_P_NOR (0x0 << 11)
1623#define RT5645_JD_P_INV (0x1 << 11)
1624#define RT5645_OT_P_MASK (0x1 << 10)
1625#define RT5645_OT_P_SFT 10
1626#define RT5645_OT_P_NOR (0x0 << 10)
1627#define RT5645_OT_P_INV (0x1 << 10)
1628#define RT5645_IRQ_JD_1_1_EN (0x1 << 9)
1629#define RT5645_JD_1_1_MASK (0x1 << 7)
1630#define RT5645_JD_1_1_SFT 7
1631#define RT5645_JD_1_1_NOR (0x0 << 7)
1632#define RT5645_JD_1_1_INV (0x1 << 7)
1629
1630/* IRQ Control 2 (0xbe) */
1631#define RT5645_IRQ_MB1_OC_MASK (0x1 << 15)
1632#define RT5645_IRQ_MB1_OC_SFT 15
1633#define RT5645_IRQ_MB1_OC_BP (0x0 << 15)
1634#define RT5645_IRQ_MB1_OC_NOR (0x1 << 15)
1635#define RT5645_IRQ_MB2_OC_MASK (0x1 << 14)
1636#define RT5645_IRQ_MB2_OC_SFT 14

--- 552 unchanged lines hidden ---
1633
1634/* IRQ Control 2 (0xbe) */
1635#define RT5645_IRQ_MB1_OC_MASK (0x1 << 15)
1636#define RT5645_IRQ_MB1_OC_SFT 15
1637#define RT5645_IRQ_MB1_OC_BP (0x0 << 15)
1638#define RT5645_IRQ_MB1_OC_NOR (0x1 << 15)
1639#define RT5645_IRQ_MB2_OC_MASK (0x1 << 14)
1640#define RT5645_IRQ_MB2_OC_SFT 14

--- 552 unchanged lines hidden ---