diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-prph.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-prph.h | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-prph.h b/drivers/net/wireless/iwlwifi/iwl-prph.h index 5944de7a98a2..b1f101caf19d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-prph.h +++ b/drivers/net/wireless/iwlwifi/iwl-prph.h | |||
@@ -529,48 +529,48 @@ | |||
529 | #define IWL_SCD_TXFIFO_POS_RA (4) | 529 | #define IWL_SCD_TXFIFO_POS_RA (4) |
530 | #define IWL_SCD_QUEUE_RA_TID_MAP_RATID_MSK (0x01FF) | 530 | #define IWL_SCD_QUEUE_RA_TID_MAP_RATID_MSK (0x01FF) |
531 | 531 | ||
532 | /* 5000 SCD */ | 532 | /* agn SCD */ |
533 | #define IWL50_SCD_QUEUE_STTS_REG_POS_TXF (0) | 533 | #define IWLAGN_SCD_QUEUE_STTS_REG_POS_TXF (0) |
534 | #define IWL50_SCD_QUEUE_STTS_REG_POS_ACTIVE (3) | 534 | #define IWLAGN_SCD_QUEUE_STTS_REG_POS_ACTIVE (3) |
535 | #define IWL50_SCD_QUEUE_STTS_REG_POS_WSL (4) | 535 | #define IWLAGN_SCD_QUEUE_STTS_REG_POS_WSL (4) |
536 | #define IWL50_SCD_QUEUE_STTS_REG_POS_SCD_ACT_EN (19) | 536 | #define IWLAGN_SCD_QUEUE_STTS_REG_POS_SCD_ACT_EN (19) |
537 | #define IWL50_SCD_QUEUE_STTS_REG_MSK (0x00FF0000) | 537 | #define IWLAGN_SCD_QUEUE_STTS_REG_MSK (0x00FF0000) |
538 | 538 | ||
539 | #define IWL50_SCD_QUEUE_CTX_REG1_CREDIT_POS (8) | 539 | #define IWLAGN_SCD_QUEUE_CTX_REG1_CREDIT_POS (8) |
540 | #define IWL50_SCD_QUEUE_CTX_REG1_CREDIT_MSK (0x00FFFF00) | 540 | #define IWLAGN_SCD_QUEUE_CTX_REG1_CREDIT_MSK (0x00FFFF00) |
541 | #define IWL50_SCD_QUEUE_CTX_REG1_SUPER_CREDIT_POS (24) | 541 | #define IWLAGN_SCD_QUEUE_CTX_REG1_SUPER_CREDIT_POS (24) |
542 | #define IWL50_SCD_QUEUE_CTX_REG1_SUPER_CREDIT_MSK (0xFF000000) | 542 | #define IWLAGN_SCD_QUEUE_CTX_REG1_SUPER_CREDIT_MSK (0xFF000000) |
543 | #define IWL50_SCD_QUEUE_CTX_REG2_WIN_SIZE_POS (0) | 543 | #define IWLAGN_SCD_QUEUE_CTX_REG2_WIN_SIZE_POS (0) |
544 | #define IWL50_SCD_QUEUE_CTX_REG2_WIN_SIZE_MSK (0x0000007F) | 544 | #define IWLAGN_SCD_QUEUE_CTX_REG2_WIN_SIZE_MSK (0x0000007F) |
545 | #define IWL50_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_POS (16) | 545 | #define IWLAGN_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_POS (16) |
546 | #define IWL50_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_MSK (0x007F0000) | 546 | #define IWLAGN_SCD_QUEUE_CTX_REG2_FRAME_LIMIT_MSK (0x007F0000) |
547 | 547 | ||
548 | #define IWL50_SCD_CONTEXT_DATA_OFFSET (0x600) | 548 | #define IWLAGN_SCD_CONTEXT_DATA_OFFSET (0x600) |
549 | #define IWL50_SCD_TX_STTS_BITMAP_OFFSET (0x7B1) | 549 | #define IWLAGN_SCD_TX_STTS_BITMAP_OFFSET (0x7B1) |
550 | #define IWL50_SCD_TRANSLATE_TBL_OFFSET (0x7E0) | 550 | #define IWLAGN_SCD_TRANSLATE_TBL_OFFSET (0x7E0) |
551 | 551 | ||
552 | #define IWL50_SCD_CONTEXT_QUEUE_OFFSET(x)\ | 552 | #define IWLAGN_SCD_CONTEXT_QUEUE_OFFSET(x)\ |
553 | (IWL50_SCD_CONTEXT_DATA_OFFSET + ((x) * 8)) | 553 | (IWLAGN_SCD_CONTEXT_DATA_OFFSET + ((x) * 8)) |
554 | 554 | ||
555 | #define IWL50_SCD_TRANSLATE_TBL_OFFSET_QUEUE(x) \ | 555 | #define IWLAGN_SCD_TRANSLATE_TBL_OFFSET_QUEUE(x) \ |
556 | ((IWL50_SCD_TRANSLATE_TBL_OFFSET + ((x) * 2)) & 0xfffc) | 556 | ((IWLAGN_SCD_TRANSLATE_TBL_OFFSET + ((x) * 2)) & 0xfffc) |
557 | 557 | ||
558 | #define IWL50_SCD_QUEUECHAIN_SEL_ALL(x) (((1<<(x)) - 1) &\ | 558 | #define IWLAGN_SCD_QUEUECHAIN_SEL_ALL(x) (((1<<(x)) - 1) &\ |
559 | (~(1<<IWL_CMD_QUEUE_NUM))) | 559 | (~(1<<IWL_CMD_QUEUE_NUM))) |
560 | 560 | ||
561 | #define IWL50_SCD_BASE (PRPH_BASE + 0xa02c00) | 561 | #define IWLAGN_SCD_BASE (PRPH_BASE + 0xa02c00) |
562 | 562 | ||
563 | #define IWL50_SCD_SRAM_BASE_ADDR (IWL50_SCD_BASE + 0x0) | 563 | #define IWLAGN_SCD_SRAM_BASE_ADDR (IWLAGN_SCD_BASE + 0x0) |
564 | #define IWL50_SCD_DRAM_BASE_ADDR (IWL50_SCD_BASE + 0x8) | 564 | #define IWLAGN_SCD_DRAM_BASE_ADDR (IWLAGN_SCD_BASE + 0x8) |
565 | #define IWL50_SCD_AIT (IWL50_SCD_BASE + 0x0c) | 565 | #define IWLAGN_SCD_AIT (IWLAGN_SCD_BASE + 0x0c) |
566 | #define IWL50_SCD_TXFACT (IWL50_SCD_BASE + 0x10) | 566 | #define IWLAGN_SCD_TXFACT (IWLAGN_SCD_BASE + 0x10) |
567 | #define IWL50_SCD_ACTIVE (IWL50_SCD_BASE + 0x14) | 567 | #define IWLAGN_SCD_ACTIVE (IWLAGN_SCD_BASE + 0x14) |
568 | #define IWL50_SCD_QUEUE_WRPTR(x) (IWL50_SCD_BASE + 0x18 + (x) * 4) | 568 | #define IWLAGN_SCD_QUEUE_WRPTR(x) (IWLAGN_SCD_BASE + 0x18 + (x) * 4) |
569 | #define IWL50_SCD_QUEUE_RDPTR(x) (IWL50_SCD_BASE + 0x68 + (x) * 4) | 569 | #define IWLAGN_SCD_QUEUE_RDPTR(x) (IWLAGN_SCD_BASE + 0x68 + (x) * 4) |
570 | #define IWL50_SCD_QUEUECHAIN_SEL (IWL50_SCD_BASE + 0xe8) | 570 | #define IWLAGN_SCD_QUEUECHAIN_SEL (IWLAGN_SCD_BASE + 0xe8) |
571 | #define IWL50_SCD_AGGR_SEL (IWL50_SCD_BASE + 0x248) | 571 | #define IWLAGN_SCD_AGGR_SEL (IWLAGN_SCD_BASE + 0x248) |
572 | #define IWL50_SCD_INTERRUPT_MASK (IWL50_SCD_BASE + 0x108) | 572 | #define IWLAGN_SCD_INTERRUPT_MASK (IWLAGN_SCD_BASE + 0x108) |
573 | #define IWL50_SCD_QUEUE_STATUS_BITS(x) (IWL50_SCD_BASE + 0x10c + (x) * 4) | 573 | #define IWLAGN_SCD_QUEUE_STATUS_BITS(x) (IWLAGN_SCD_BASE + 0x10c + (x) * 4) |
574 | 574 | ||
575 | /*********************** END TX SCHEDULER *************************************/ | 575 | /*********************** END TX SCHEDULER *************************************/ |
576 | 576 | ||