/linux-3.4.99/drivers/scsi/aic94xx/ |
D | aic94xx_reg.h | 64 u8 asd_read_reg_byte(struct asd_ha_struct *asd_ha, u32 reg); 65 u16 asd_read_reg_word(struct asd_ha_struct *asd_ha, u32 reg); 66 u32 asd_read_reg_dword(struct asd_ha_struct *asd_ha, u32 reg); 68 void asd_write_reg_byte(struct asd_ha_struct *asd_ha, u32 reg, u8 val); 69 void asd_write_reg_word(struct asd_ha_struct *asd_ha, u32 reg, u16 val); 70 void asd_write_reg_dword(struct asd_ha_struct *asd_ha, u32 reg, u32 val); 72 void asd_read_reg_string(struct asd_ha_struct *asd_ha, void *dst, 74 void asd_write_reg_string(struct asd_ha_struct *asd_ha, void *src, 78 static inline type asd_read_ocm_##ord (struct asd_ha_struct *asd_ha, \ 92 static inline void asd_write_ocm_##ord (struct asd_ha_struct *asd_ha, \ [all …]
|
D | aic94xx_hwi.h | 132 struct asd_ha_struct *ha; 198 struct asd_ha_struct { struct 259 static inline struct asd_dma_tok *asd_alloc_coherent(struct asd_ha_struct * in asd_alloc_coherent() 278 static inline void asd_free_coherent(struct asd_ha_struct *asd_ha, in asd_free_coherent() 288 static inline void asd_init_ascb(struct asd_ha_struct *asd_ha, in asd_init_ascb() 341 struct asd_ha_struct *asd_ha = ascb->ha; in asd_ascb_free() 376 int asd_init_hw(struct asd_ha_struct *asd_ha); 380 struct asd_ascb *asd_ascb_alloc_list(struct asd_ha_struct 384 int asd_post_ascb_list(struct asd_ha_struct *asd_ha, struct asd_ascb *ascb, 386 int asd_post_escb_list(struct asd_ha_struct *asd_ha, struct asd_ascb *ascb, [all …]
|
D | aic94xx_reg.c | 35 static void asd_write_byte(struct asd_ha_struct *asd_ha, in asd_write_byte() 46 static void asd_write_word(struct asd_ha_struct *asd_ha, in asd_write_word() 57 static void asd_write_dword(struct asd_ha_struct *asd_ha, in asd_write_dword() 70 static u8 asd_read_byte(struct asd_ha_struct *asd_ha, unsigned long offs) in asd_read_byte() 82 static u16 asd_read_word(struct asd_ha_struct *asd_ha, in asd_read_word() 95 static u32 asd_read_dword(struct asd_ha_struct *asd_ha, in asd_read_dword() 127 static type asd_read_##ww##_##ord(struct asd_ha_struct *asd_ha, \ 136 static void asd_write_##ww##_##ord(struct asd_ha_struct *asd_ha, \ 188 static void asd_move_swb(struct asd_ha_struct *asd_ha, u32 reg) in asd_move_swb() 195 static void __asd_write_reg_byte(struct asd_ha_struct *asd_ha, u32 reg, u8 val) in __asd_write_reg_byte() [all …]
|
D | aic94xx_hwi.c | 43 static int asd_get_user_sas_addr(struct asd_ha_struct *asd_ha) in asd_get_user_sas_addr() 53 static void asd_propagate_sas_addr(struct asd_ha_struct *asd_ha) in asd_propagate_sas_addr() 89 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; in asd_init_phy() 115 static void asd_init_ports(struct asd_ha_struct *asd_ha) in asd_init_ports() 130 static int asd_init_phys(struct asd_ha_struct *asd_ha) in asd_init_phys() 161 static int asd_init_sw(struct asd_ha_struct *asd_ha) in asd_init_sw() 216 static int asd_init_scbs(struct asd_ha_struct *asd_ha) in asd_init_scbs() 254 static void asd_get_max_scb_ddb(struct asd_ha_struct *asd_ha) in asd_get_max_scb_ddb() 267 static int asd_init_dl(struct asd_ha_struct *asd_ha) in asd_init_dl() 286 static int asd_alloc_edbs(struct asd_ha_struct *asd_ha, gfp_t gfp_flags) in asd_alloc_edbs() [all …]
|
D | aic94xx_sds.h | 112 int asd_verify_flash_seg(struct asd_ha_struct *asd_ha, 114 int asd_write_flash_seg(struct asd_ha_struct *asd_ha, 116 int asd_chk_write_status(struct asd_ha_struct *asd_ha, 118 int asd_check_flash_type(struct asd_ha_struct *asd_ha); 119 int asd_erase_nv_sector(struct asd_ha_struct *asd_ha,
|
D | aic94xx_init.c | 88 static int __devinit asd_map_memio(struct asd_ha_struct *asd_ha) in asd_map_memio() 136 static void asd_unmap_memio(struct asd_ha_struct *asd_ha) in asd_unmap_memio() 149 static int __devinit asd_map_ioport(struct asd_ha_struct *asd_ha) in asd_map_ioport() 173 static void asd_unmap_ioport(struct asd_ha_struct *asd_ha) in asd_unmap_ioport() 178 static int __devinit asd_map_ha(struct asd_ha_struct *asd_ha) in asd_map_ha() 210 static void asd_unmap_ha(struct asd_ha_struct *asd_ha) in asd_unmap_ha() 224 static int __devinit asd_common_setup(struct asd_ha_struct *asd_ha) in asd_common_setup() 260 static int __devinit asd_aic9410_setup(struct asd_ha_struct *asd_ha) in asd_aic9410_setup() 275 static int __devinit asd_aic9405_setup(struct asd_ha_struct *asd_ha) in asd_aic9405_setup() 293 struct asd_ha_struct *asd_ha = dev_to_asd_ha(dev); in asd_show_dev_rev() [all …]
|
D | aic94xx_dev.c | 38 static int asd_get_ddb(struct asd_ha_struct *asd_ha) in asd_get_ddb() 74 static void asd_free_ddb(struct asd_ha_struct *asd_ha, int ddb) in asd_free_ddb() 84 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_set_ddb_type() 97 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_tag_ddb() 114 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_set_dmamode() 139 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata() 157 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_target_ddb() 237 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_pm_table_ddb() 267 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_pm_port_ddb() 327 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_dev_found() [all …]
|
D | aic94xx_seq.h | 61 int asd_init_seqs(struct asd_ha_struct *asd_ha); 62 int asd_start_seqs(struct asd_ha_struct *asd_ha); 65 void asd_update_port_links(struct asd_ha_struct *asd_ha, struct asd_phy *phy);
|
D | aic94xx_seq.c | 64 static int asd_pause_cseq(struct asd_ha_struct *asd_ha) in asd_pause_cseq() 91 static int asd_unpause_cseq(struct asd_ha_struct *asd_ha) in asd_unpause_cseq() 119 static int asd_seq_pause_lseq(struct asd_ha_struct *asd_ha, int lseq) in asd_seq_pause_lseq() 147 static int asd_pause_lseq(struct asd_ha_struct *asd_ha, u8 lseq_mask) in asd_pause_lseq() 168 static int asd_seq_unpause_lseq(struct asd_ha_struct *asd_ha, int lseq) in asd_seq_unpause_lseq() 192 static int asd_verify_cseq(struct asd_ha_struct *asd_ha, const u8 *_prog, in asd_verify_cseq() 226 static int asd_verify_lseq(struct asd_ha_struct *asd_ha, const u8 *_prog, in asd_verify_lseq() 267 static int asd_verify_seq(struct asd_ha_struct *asd_ha, const u8 *prog, in asd_verify_seq() 288 static int asd_download_seq(struct asd_ha_struct *asd_ha, in asd_download_seq() 359 static int asd_download_seq(struct asd_ha_struct *asd_ha, const u8 *_prog, in asd_download_seq() [all …]
|
D | aic94xx_sds.c | 134 static int asd_read_ocm_seg(struct asd_ha_struct *asd_ha, void *buffer, in asd_read_ocm_seg() 147 static int asd_read_ocm_dir(struct asd_ha_struct *asd_ha, in asd_read_ocm_dir() 179 static void asd_write_ocm_seg(struct asd_ha_struct *asd_ha, void *buffer, in asd_write_ocm_seg() 215 static int asd_get_bios_chim(struct asd_ha_struct *asd_ha, in asd_get_bios_chim() 290 asd_hwi_initialize_ocm_dir (struct asd_ha_struct *asd_ha) in asd_hwi_initialize_ocm_dir() 312 asd_hwi_check_ocm_access (struct asd_ha_struct *asd_ha) in asd_hwi_check_ocm_access() 354 int asd_read_ocm(struct asd_ha_struct *asd_ha) in asd_read_ocm() 566 static int asd_poll_flash(struct asd_ha_struct *asd_ha) in asd_poll_flash() 581 static int asd_reset_flash(struct asd_ha_struct *asd_ha) in asd_reset_flash() 594 static int asd_read_flash_seg(struct asd_ha_struct *asd_ha, in asd_read_flash_seg() [all …]
|
D | aic94xx.h | 70 struct asd_ha_struct; 73 int asd_read_ocm(struct asd_ha_struct *asd_ha); 74 int asd_read_flash(struct asd_ha_struct *asd_ha);
|
D | aic94xx_dump.h | 32 void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask); 37 static inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha, in asd_dump_seq_state()
|
D | aic94xx_tmf.c | 136 struct asd_ha_struct *asd_ha = sas_ha->lldd_ha; in asd_clear_nexus_ha() 145 struct asd_ha_struct *asd_ha = port->ha->lldd_ha; in asd_clear_nexus_port() 162 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_clear_nexus_I_T() 222 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_clear_nexus_I_T_L() 235 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_tag() 250 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_index() 277 struct asd_ha_struct *asd_ha = ascb->ha; in asd_get_tmf_resp_tasklet() 408 struct asd_ha_struct *asd_ha = tascb->ha; in asd_abort_task() 578 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_initiate_ssp_tmf()
|
D | aic94xx_scb.c | 88 struct asd_ha_struct *asd_ha = ascb->ha; in asd_phy_event_tasklet() 129 static unsigned ord_phy(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in ord_phy() 158 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; in asd_get_attached_sas_addr() 171 static void asd_form_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_form_port() 220 static void asd_deform_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_deform_port() 262 struct asd_ha_struct *asd_ha = ascb->ha; in asd_link_reset_err_tasklet() 318 struct asd_ha_struct *asd_ha = ascb->ha; in asd_primitive_rcvd_tasklet() 418 struct asd_ha_struct *asd_ha = ascb->ha; in escb_tasklet_complete() 613 int asd_init_post_escbs(struct asd_ha_struct *asd_ha) in asd_init_post_escbs() 645 struct asd_ha_struct *asd_ha = ascb->ha; in control_phy_tasklet_complete() [all …]
|
D | aic94xx_task.c | 36 static void asd_can_dequeue(struct asd_ha_struct *asd_ha, int num) in asd_can_dequeue() 59 struct asd_ha_struct *asd_ha = ascb->ha; in asd_map_scatterlist() 136 struct asd_ha_struct *asd_ha = ascb->ha; in asd_unmap_scatterlist() 161 struct asd_ha_struct *asd_ha = ascb->ha; in asd_get_response_tasklet() 435 struct asd_ha_struct *asd_ha = ascb->ha; in asd_build_smp_ascb() 530 static int asd_can_queue(struct asd_ha_struct *asd_ha, int num) in asd_can_queue() 552 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_execute_task()
|
D | aic94xx_dump.c | 283 static void asd_dump_cseq_state(struct asd_ha_struct *asd_ha) in asd_dump_cseq_state() 464 static void asd_print_lseq_cio_reg(struct asd_ha_struct *asd_ha, in asd_print_lseq_cio_reg() 491 static void asd_dump_lseq_state(struct asd_ha_struct *asd_ha, int lseq) in asd_dump_lseq_state() 748 void asd_dump_target_ddb(struct asd_ha_struct *asd_ha, u16 site_no) 793 void asd_dump_ddb_0(struct asd_ha_struct *asd_ha) 836 static void asd_dump_scb_site(struct asd_ha_struct *asd_ha, u16 site_no) 862 void asd_dump_scb_sites(struct asd_ha_struct *asd_ha) 892 void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask) in asd_dump_seq_state()
|