Home
last modified time | relevance | path

Searched refs:asd_ha_struct (Results 1 – 16 of 16) sorted by relevance

/drivers/scsi/aic94xx/
Daic94xx_reg.h64 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 …]
Daic94xx_hwi.h132 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 …]
Daic94xx_reg.c35 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 …]
Daic94xx_hwi.c42 static int asd_get_user_sas_addr(struct asd_ha_struct *asd_ha) in asd_get_user_sas_addr()
52 static void asd_propagate_sas_addr(struct asd_ha_struct *asd_ha) in asd_propagate_sas_addr()
88 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; in asd_init_phy()
114 static void asd_init_ports(struct asd_ha_struct *asd_ha) in asd_init_ports()
129 static int asd_init_phys(struct asd_ha_struct *asd_ha) in asd_init_phys()
160 static int asd_init_sw(struct asd_ha_struct *asd_ha) in asd_init_sw()
215 static int asd_init_scbs(struct asd_ha_struct *asd_ha) in asd_init_scbs()
253 static void asd_get_max_scb_ddb(struct asd_ha_struct *asd_ha) in asd_get_max_scb_ddb()
266 static int asd_init_dl(struct asd_ha_struct *asd_ha) in asd_init_dl()
285 static int asd_alloc_edbs(struct asd_ha_struct *asd_ha, gfp_t gfp_flags) in asd_alloc_edbs()
[all …]
Daic94xx_init.c89 static int __devinit asd_map_memio(struct asd_ha_struct *asd_ha) in asd_map_memio()
137 static void asd_unmap_memio(struct asd_ha_struct *asd_ha) in asd_unmap_memio()
150 static int __devinit asd_map_ioport(struct asd_ha_struct *asd_ha) in asd_map_ioport()
174 static void asd_unmap_ioport(struct asd_ha_struct *asd_ha) in asd_unmap_ioport()
179 static int __devinit asd_map_ha(struct asd_ha_struct *asd_ha) in asd_map_ha()
211 static void asd_unmap_ha(struct asd_ha_struct *asd_ha) in asd_unmap_ha()
225 static int __devinit asd_common_setup(struct asd_ha_struct *asd_ha) in asd_common_setup()
261 static int __devinit asd_aic9410_setup(struct asd_ha_struct *asd_ha) in asd_aic9410_setup()
276 static int __devinit asd_aic9405_setup(struct asd_ha_struct *asd_ha) in asd_aic9405_setup()
294 struct asd_ha_struct *asd_ha = dev_to_asd_ha(dev); in asd_show_dev_rev()
[all …]
Daic94xx_sds.h112 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,
Daic94xx_seq.c63 static int asd_pause_cseq(struct asd_ha_struct *asd_ha) in asd_pause_cseq()
90 static int asd_unpause_cseq(struct asd_ha_struct *asd_ha) in asd_unpause_cseq()
118 static int asd_seq_pause_lseq(struct asd_ha_struct *asd_ha, int lseq) in asd_seq_pause_lseq()
146 static int asd_pause_lseq(struct asd_ha_struct *asd_ha, u8 lseq_mask) in asd_pause_lseq()
167 static int asd_seq_unpause_lseq(struct asd_ha_struct *asd_ha, int lseq) in asd_seq_unpause_lseq()
191 static int asd_verify_cseq(struct asd_ha_struct *asd_ha, const u8 *_prog, in asd_verify_cseq()
225 static int asd_verify_lseq(struct asd_ha_struct *asd_ha, const u8 *_prog, in asd_verify_lseq()
266 static int asd_verify_seq(struct asd_ha_struct *asd_ha, const u8 *prog, in asd_verify_seq()
287 static int asd_download_seq(struct asd_ha_struct *asd_ha, in asd_download_seq()
358 static int asd_download_seq(struct asd_ha_struct *asd_ha, const u8 *_prog, in asd_download_seq()
[all …]
Daic94xx_sds.c133 static int asd_read_ocm_seg(struct asd_ha_struct *asd_ha, void *buffer, in asd_read_ocm_seg()
146 static int asd_read_ocm_dir(struct asd_ha_struct *asd_ha, in asd_read_ocm_dir()
178 static void asd_write_ocm_seg(struct asd_ha_struct *asd_ha, void *buffer, in asd_write_ocm_seg()
214 static int asd_get_bios_chim(struct asd_ha_struct *asd_ha, in asd_get_bios_chim()
289 asd_hwi_initialize_ocm_dir (struct asd_ha_struct *asd_ha) in asd_hwi_initialize_ocm_dir()
311 asd_hwi_check_ocm_access (struct asd_ha_struct *asd_ha) in asd_hwi_check_ocm_access()
353 int asd_read_ocm(struct asd_ha_struct *asd_ha) in asd_read_ocm()
565 static int asd_poll_flash(struct asd_ha_struct *asd_ha) in asd_poll_flash()
580 static int asd_reset_flash(struct asd_ha_struct *asd_ha) in asd_reset_flash()
593 static int asd_read_flash_seg(struct asd_ha_struct *asd_ha, in asd_read_flash_seg()
[all …]
Daic94xx_dev.c38 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_init_sata()
147 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_target_ddb()
227 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_pm_table_ddb()
257 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_pm_port_ddb()
317 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_dev_found()
342 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_dev_gone()
Daic94xx_seq.h61 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);
Daic94xx.h70 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);
Daic94xx_tmf.c135 struct asd_ha_struct *asd_ha = sas_ha->lldd_ha; in asd_clear_nexus_ha()
144 struct asd_ha_struct *asd_ha = port->ha->lldd_ha; in asd_clear_nexus_port()
161 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_clear_nexus_I_T()
218 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_clear_nexus_I_T_L()
231 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_tag()
246 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_index()
273 struct asd_ha_struct *asd_ha = ascb->ha; in asd_get_tmf_resp_tasklet()
404 struct asd_ha_struct *asd_ha = tascb->ha; in asd_abort_task()
574 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_initiate_ssp_tmf()
Daic94xx_scb.c87 struct asd_ha_struct *asd_ha = ascb->ha; in asd_phy_event_tasklet()
128 static unsigned ord_phy(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in ord_phy()
157 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; in asd_get_attached_sas_addr()
170 static void asd_form_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_form_port()
219 static void asd_deform_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_deform_port()
261 struct asd_ha_struct *asd_ha = ascb->ha; in asd_link_reset_err_tasklet()
317 struct asd_ha_struct *asd_ha = ascb->ha; in asd_primitive_rcvd_tasklet()
417 struct asd_ha_struct *asd_ha = ascb->ha; in escb_tasklet_complete()
612 int asd_init_post_escbs(struct asd_ha_struct *asd_ha) in asd_init_post_escbs()
644 struct asd_ha_struct *asd_ha = ascb->ha; in control_phy_tasklet_complete()
[all …]
Daic94xx_dump.h32 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()
Daic94xx_task.c36 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()
Daic94xx_dump.c283 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()