468
468
#define CIS_WINDOW_DATA_SET(x) (((x) << CIS_WINDOW_DATA_LSB) & CIS_WINDOW_DATA_MASK)
471
#ifndef __ASSEMBLER__
473
typedef struct mbox_wlan_host_reg_reg_s {
474
unsigned char pad0[1024]; /* pad to 0x400 */
475
volatile unsigned char host_int_status;
476
volatile unsigned char cpu_int_status;
477
volatile unsigned char error_int_status;
478
volatile unsigned char counter_int_status;
479
volatile unsigned char mbox_frame;
480
volatile unsigned char rx_lookahead_valid;
481
volatile unsigned char host_int_status2;
482
volatile unsigned char gmbox_rx_avail;
483
volatile unsigned char rx_lookahead0[4];
484
volatile unsigned char rx_lookahead1[4];
485
volatile unsigned char rx_lookahead2[4];
486
volatile unsigned char rx_lookahead3[4];
487
volatile unsigned char int_status_enable;
488
volatile unsigned char cpu_int_status_enable;
489
volatile unsigned char error_status_enable;
490
volatile unsigned char counter_int_status_enable;
491
unsigned char pad1[4]; /* pad to 0x420 */
492
volatile unsigned char count[8];
493
unsigned char pad2[24]; /* pad to 0x440 */
494
volatile unsigned char count_dec[32];
495
volatile unsigned char scratch[8];
496
volatile unsigned char fifo_timeout;
497
volatile unsigned char fifo_timeout_enable;
498
volatile unsigned char disable_sleep;
499
unsigned char pad3[5]; /* pad to 0x470 */
500
volatile unsigned char local_bus;
501
unsigned char pad4[1]; /* pad to 0x472 */
502
volatile unsigned char int_wlan;
503
unsigned char pad5[1]; /* pad to 0x474 */
504
volatile unsigned char window_data[4];
505
volatile unsigned char window_write_addr[4];
506
volatile unsigned char window_read_addr[4];
507
volatile unsigned char host_ctrl_spi_config;
508
volatile unsigned char host_ctrl_spi_status;
509
volatile unsigned char non_assoc_sleep_en;
510
volatile unsigned char cpu_dbg_sel;
511
volatile unsigned char cpu_dbg[4];
512
volatile unsigned char int_status2_enable;
513
unsigned char pad6[7]; /* pad to 0x490 */
514
volatile unsigned char gmbox_rx_lookahead[8];
515
volatile unsigned char gmbox_rx_lookahead_mux;
516
unsigned char pad7[359]; /* pad to 0x600 */
517
volatile unsigned char cis_window[512];
518
} mbox_wlan_host_reg_reg_t;
520
#endif /* __ASSEMBLER__ */
522
471
#endif /* _MBOX_WLAN_HOST_REG_H_ */