Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
pm8001_hwi.c File Reference
#include <linux/slab.h>
#include "pm8001_sas.h"
#include "pm8001_hwi.h"
#include "pm8001_chips.h"
#include "pm8001_ctl.h"

Go to the source code of this file.

Macros

#define SAS2_SETTINGS_LOCAL_PHY_0_3_SHIFT_ADDR   0x00030000
 
#define SAS2_SETTINGS_LOCAL_PHY_4_7_SHIFT_ADDR   0x00040000
 
#define SAS2_SETTINGS_LOCAL_PHY_0_3_OFFSET   0x1074
 
#define SAS2_SETTINGS_LOCAL_PHY_4_7_OFFSET   0x1074
 
#define PHY_G3_WITHOUT_SSC_BIT_SHIFT   12
 
#define PHY_G3_WITH_SSC_BIT_SHIFT   13
 
#define SNW3_PHY_CAPABILITIES_PARITY   31
 
#define OPEN_RETRY_INTERVAL_PHY_0_3_SHIFT_ADDR   0x00030000
 
#define OPEN_RETRY_INTERVAL_PHY_4_7_SHIFT_ADDR   0x00040000
 
#define OPEN_RETRY_INTERVAL_PHY_0_3_OFFSET   0x30B4
 
#define OPEN_RETRY_INTERVAL_PHY_4_7_OFFSET   0x30B4
 
#define OPEN_RETRY_INTERVAL_REG_MASK   0x0000FFFF
 

Functions

int pm8001_bar4_shift (struct pm8001_hba_info *pm8001_ha, u32 shiftValue)
 

Variables

struct pm8001_dispatch pm8001_8001_dispatch
 

Macro Definition Documentation

#define OPEN_RETRY_INTERVAL_PHY_0_3_OFFSET   0x30B4
#define OPEN_RETRY_INTERVAL_PHY_0_3_SHIFT_ADDR   0x00030000
#define OPEN_RETRY_INTERVAL_PHY_4_7_OFFSET   0x30B4
#define OPEN_RETRY_INTERVAL_PHY_4_7_SHIFT_ADDR   0x00040000
#define OPEN_RETRY_INTERVAL_REG_MASK   0x0000FFFF
#define PHY_G3_WITH_SSC_BIT_SHIFT   13
#define PHY_G3_WITHOUT_SSC_BIT_SHIFT   12
#define SAS2_SETTINGS_LOCAL_PHY_0_3_OFFSET   0x1074
#define SAS2_SETTINGS_LOCAL_PHY_0_3_SHIFT_ADDR   0x00030000
#define SAS2_SETTINGS_LOCAL_PHY_4_7_OFFSET   0x1074
#define SAS2_SETTINGS_LOCAL_PHY_4_7_SHIFT_ADDR   0x00040000
#define SNW3_PHY_CAPABILITIES_PARITY   31

Function Documentation

int pm8001_bar4_shift ( struct pm8001_hba_info pm8001_ha,
u32  shiftValue 
)

pm8001_bar4_shift - function is called to shift BAR base address : our hba card infomation : shifting value in memory bar.

Definition at line 345 of file pm8001_hwi.c.

Variable Documentation

struct pm8001_dispatch pm8001_8001_dispatch
Initial value:
= {
.name = "pmc8001",
.chip_init = pm8001_chip_init,
.chip_soft_rst = pm8001_chip_soft_rst,
.chip_rst = pm8001_hw_chip_rst,
.chip_iounmap = pm8001_chip_iounmap,
.isr = pm8001_chip_isr,
.is_our_interupt = pm8001_chip_is_our_interupt,
.isr_process_oq = process_oq,
.interrupt_enable = pm8001_chip_interrupt_enable,
.interrupt_disable = pm8001_chip_interrupt_disable,
.make_prd = pm8001_chip_make_sg,
.smp_req = pm8001_chip_smp_req,
.ssp_io_req = pm8001_chip_ssp_io_req,
.sata_req = pm8001_chip_sata_req,
.phy_start_req = pm8001_chip_phy_start_req,
.phy_stop_req = pm8001_chip_phy_stop_req,
.reg_dev_req = pm8001_chip_reg_dev_req,
.dereg_dev_req = pm8001_chip_dereg_dev_req,
.phy_ctl_req = pm8001_chip_phy_ctl_req,
.task_abort = pm8001_chip_abort_task,
.ssp_tm_req = pm8001_chip_ssp_tm_req,
.get_nvmd_req = pm8001_chip_get_nvmd_req,
.set_nvmd_req = pm8001_chip_set_nvmd_req,
.fw_flash_update_req = pm8001_chip_fw_flash_update_req,
.set_dev_state_req = pm8001_chip_set_dev_state_req,
.sas_re_init_req = pm8001_chip_sas_re_initialization,
}

Definition at line 4687 of file pm8001_hwi.c.