Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / net / wireless / marvell / libertas / if_sdio.h
bloba78fde1f90bbf5a9d960741493dc8adde9770e84
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * linux/drivers/net/wireless/libertas/if_sdio.h
5 * Copyright 2007 Pierre Ossman
6 */
8 #ifndef _LBS_IF_SDIO_H
9 #define _LBS_IF_SDIO_H
11 #define IF_SDIO_IOPORT 0x00
13 #define IF_SDIO_H_INT_MASK 0x04
14 #define IF_SDIO_H_INT_OFLOW 0x08
15 #define IF_SDIO_H_INT_UFLOW 0x04
16 #define IF_SDIO_H_INT_DNLD 0x02
17 #define IF_SDIO_H_INT_UPLD 0x01
19 #define IF_SDIO_H_INT_STATUS 0x05
20 #define IF_SDIO_H_INT_RSR 0x06
21 #define IF_SDIO_H_INT_STATUS2 0x07
23 #define IF_SDIO_RD_BASE 0x10
25 #define IF_SDIO_STATUS 0x20
26 #define IF_SDIO_IO_RDY 0x08
27 #define IF_SDIO_CIS_RDY 0x04
28 #define IF_SDIO_UL_RDY 0x02
29 #define IF_SDIO_DL_RDY 0x01
31 #define IF_SDIO_C_INT_MASK 0x24
32 #define IF_SDIO_C_INT_STATUS 0x28
33 #define IF_SDIO_C_INT_RSR 0x2C
35 #define IF_SDIO_SCRATCH 0x34
36 #define IF_SDIO_SCRATCH_OLD 0x80fe
37 #define IF_SDIO_FW_STATUS 0x40
38 #define IF_SDIO_FIRMWARE_OK 0xfedc
40 #define IF_SDIO_RX_LEN 0x42
41 #define IF_SDIO_RX_UNIT 0x43
43 #define IF_SDIO_EVENT 0x80fc
45 #define IF_SDIO_BLOCK_SIZE 256
46 #define CONFIGURATION_REG 0x03
47 #define HOST_POWER_UP (0x1U << 1)
48 #endif