Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/aic94xx/
Daic94xx_reg.h46 u8 asd_read_reg_byte(struct asd_ha_struct *asd_ha, u32 reg);
47 u16 asd_read_reg_word(struct asd_ha_struct *asd_ha, u32 reg);
48 u32 asd_read_reg_dword(struct asd_ha_struct *asd_ha, u32 reg);
50 void asd_write_reg_byte(struct asd_ha_struct *asd_ha, u32 reg, u8 val);
51 void asd_write_reg_word(struct asd_ha_struct *asd_ha, u32 reg, u16 val);
52 void asd_write_reg_dword(struct asd_ha_struct *asd_ha, u32 reg, u32 val);
54 void asd_read_reg_string(struct asd_ha_struct *asd_ha, void *dst,
56 void asd_write_reg_string(struct asd_ha_struct *asd_ha, void *src,
60 static inline type asd_read_ocm_##ord (struct asd_ha_struct *asd_ha, \
74 static inline void asd_write_ocm_##ord (struct asd_ha_struct *asd_ha, \
[all …]
Daic94xx_hwi.h114 struct asd_ha_struct *ha;
180 struct asd_ha_struct { struct
241 static inline struct asd_dma_tok *asd_alloc_coherent(struct asd_ha_struct * in asd_alloc_coherent()
260 static inline void asd_free_coherent(struct asd_ha_struct *asd_ha, in asd_free_coherent()
270 static inline void asd_init_ascb(struct asd_ha_struct *asd_ha, in asd_init_ascb()
322 struct asd_ha_struct *asd_ha = ascb->ha; in asd_ascb_free()
357 int asd_init_hw(struct asd_ha_struct *asd_ha);
361 struct asd_ascb *asd_ascb_alloc_list(struct asd_ha_struct
365 int asd_post_ascb_list(struct asd_ha_struct *asd_ha, struct asd_ascb *ascb,
367 int asd_post_escb_list(struct asd_ha_struct *asd_ha, struct asd_ascb *ascb,
[all …]
Daic94xx_reg.c17 static void asd_write_byte(struct asd_ha_struct *asd_ha, in asd_write_byte()
28 static void asd_write_word(struct asd_ha_struct *asd_ha, in asd_write_word()
39 static void asd_write_dword(struct asd_ha_struct *asd_ha, in asd_write_dword()
52 static u8 asd_read_byte(struct asd_ha_struct *asd_ha, unsigned long offs) in asd_read_byte()
64 static u16 asd_read_word(struct asd_ha_struct *asd_ha, in asd_read_word()
77 static u32 asd_read_dword(struct asd_ha_struct *asd_ha, in asd_read_dword()
109 static type asd_read_##ww##_##ord(struct asd_ha_struct *asd_ha, \
118 static void asd_write_##ww##_##ord(struct asd_ha_struct *asd_ha, \
170 static void asd_move_swb(struct asd_ha_struct *asd_ha, u32 reg) in asd_move_swb()
177 static void __asd_write_reg_byte(struct asd_ha_struct *asd_ha, u32 reg, u8 val) in __asd_write_reg_byte()
[all …]
Daic94xx_hwi.c25 static int asd_get_user_sas_addr(struct asd_ha_struct *asd_ha) in asd_get_user_sas_addr()
35 static void asd_propagate_sas_addr(struct asd_ha_struct *asd_ha) in asd_propagate_sas_addr()
71 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; in asd_init_phy()
95 static void asd_init_ports(struct asd_ha_struct *asd_ha) in asd_init_ports()
110 static int asd_init_phys(struct asd_ha_struct *asd_ha) in asd_init_phys()
141 static int asd_init_sw(struct asd_ha_struct *asd_ha) in asd_init_sw()
196 static int asd_init_scbs(struct asd_ha_struct *asd_ha) in asd_init_scbs()
238 static void asd_get_max_scb_ddb(struct asd_ha_struct *asd_ha) in asd_get_max_scb_ddb()
251 static int asd_init_dl(struct asd_ha_struct *asd_ha) in asd_init_dl()
270 static int asd_alloc_edbs(struct asd_ha_struct *asd_ha, gfp_t gfp_flags) in asd_alloc_edbs()
[all …]
Daic94xx_init.c65 static int asd_map_memio(struct asd_ha_struct *asd_ha) in asd_map_memio()
109 static void asd_unmap_memio(struct asd_ha_struct *asd_ha) in asd_unmap_memio()
122 static int asd_map_ioport(struct asd_ha_struct *asd_ha) in asd_map_ioport()
146 static void asd_unmap_ioport(struct asd_ha_struct *asd_ha) in asd_unmap_ioport()
151 static int asd_map_ha(struct asd_ha_struct *asd_ha) in asd_map_ha()
183 static void asd_unmap_ha(struct asd_ha_struct *asd_ha) in asd_unmap_ha()
197 static int asd_common_setup(struct asd_ha_struct *asd_ha) in asd_common_setup()
233 static int asd_aic9410_setup(struct asd_ha_struct *asd_ha) in asd_aic9410_setup()
248 static int asd_aic9405_setup(struct asd_ha_struct *asd_ha) in asd_aic9405_setup()
266 struct asd_ha_struct *asd_ha = dev_to_asd_ha(dev); in asd_show_dev_rev()
[all …]
Daic94xx_sds.h94 int asd_verify_flash_seg(struct asd_ha_struct *asd_ha,
96 int asd_write_flash_seg(struct asd_ha_struct *asd_ha,
98 int asd_chk_write_status(struct asd_ha_struct *asd_ha,
100 int asd_check_flash_type(struct asd_ha_struct *asd_ha);
101 int asd_erase_nv_sector(struct asd_ha_struct *asd_ha,
Daic94xx_dev.c21 static int asd_get_ddb(struct asd_ha_struct *asd_ha) in asd_get_ddb()
57 static void asd_free_ddb(struct asd_ha_struct *asd_ha, int ddb) in asd_free_ddb()
67 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_set_ddb_type()
80 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_tag_ddb()
97 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_set_dmamode()
122 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata()
140 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_target_ddb()
218 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_pm_table_ddb()
248 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_pm_port_ddb()
308 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_dev_found()
[all …]
Daic94xx_seq.c46 static int asd_pause_cseq(struct asd_ha_struct *asd_ha) in asd_pause_cseq()
73 static int asd_unpause_cseq(struct asd_ha_struct *asd_ha) in asd_unpause_cseq()
101 static int asd_seq_pause_lseq(struct asd_ha_struct *asd_ha, int lseq) in asd_seq_pause_lseq()
129 static int asd_pause_lseq(struct asd_ha_struct *asd_ha, u8 lseq_mask) in asd_pause_lseq()
150 static int asd_seq_unpause_lseq(struct asd_ha_struct *asd_ha, int lseq) in asd_seq_unpause_lseq()
174 static int asd_verify_cseq(struct asd_ha_struct *asd_ha, const u8 *_prog, in asd_verify_cseq()
208 static int asd_verify_lseq(struct asd_ha_struct *asd_ha, const u8 *_prog, in asd_verify_lseq()
249 static int asd_verify_seq(struct asd_ha_struct *asd_ha, const u8 *prog, in asd_verify_seq()
270 static int asd_download_seq(struct asd_ha_struct *asd_ha, in asd_download_seq()
341 static int asd_download_seq(struct asd_ha_struct *asd_ha, const u8 *_prog, in asd_download_seq()
[all …]
Daic94xx_seq.h43 int asd_init_seqs(struct asd_ha_struct *asd_ha);
44 int asd_start_seqs(struct asd_ha_struct *asd_ha);
47 void asd_update_port_links(struct asd_ha_struct *asd_ha, struct asd_phy *phy);
Daic94xx_sds.c116 static int asd_read_ocm_seg(struct asd_ha_struct *asd_ha, void *buffer, in asd_read_ocm_seg()
129 static int asd_read_ocm_dir(struct asd_ha_struct *asd_ha, in asd_read_ocm_dir()
161 static void asd_write_ocm_seg(struct asd_ha_struct *asd_ha, void *buffer, in asd_write_ocm_seg()
197 static int asd_get_bios_chim(struct asd_ha_struct *asd_ha, in asd_get_bios_chim()
272 asd_hwi_initialize_ocm_dir (struct asd_ha_struct *asd_ha) in asd_hwi_initialize_ocm_dir()
294 asd_hwi_check_ocm_access (struct asd_ha_struct *asd_ha) in asd_hwi_check_ocm_access()
336 int asd_read_ocm(struct asd_ha_struct *asd_ha) in asd_read_ocm()
550 static int asd_poll_flash(struct asd_ha_struct *asd_ha) in asd_poll_flash()
565 static int asd_reset_flash(struct asd_ha_struct *asd_ha) in asd_reset_flash()
578 static int asd_read_flash_seg(struct asd_ha_struct *asd_ha, in asd_read_flash_seg()
[all …]
Daic94xx.h45 struct asd_ha_struct;
48 int asd_read_ocm(struct asd_ha_struct *asd_ha);
49 int asd_read_flash(struct asd_ha_struct *asd_ha);
Daic94xx_dump.h14 void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask);
19 static inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha, in asd_dump_seq_state()
Daic94xx_tmf.c117 struct asd_ha_struct *asd_ha = sas_ha->lldd_ha; in asd_clear_nexus_ha()
126 struct asd_ha_struct *asd_ha = port->ha->lldd_ha; in asd_clear_nexus_port()
143 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_clear_nexus_I_T()
203 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_clear_nexus_I_T_L()
216 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_tag()
231 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_index()
258 struct asd_ha_struct *asd_ha = ascb->ha; in asd_get_tmf_resp_tasklet()
389 struct asd_ha_struct *asd_ha = tascb->ha; in asd_abort_task()
559 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_initiate_ssp_tmf()
Daic94xx_scb.c70 struct asd_ha_struct *asd_ha = ascb->ha; in asd_phy_event_tasklet()
112 static unsigned ord_phy(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in ord_phy()
141 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; in asd_get_attached_sas_addr()
154 static void asd_form_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_form_port()
203 static void asd_deform_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_deform_port()
244 struct asd_ha_struct *asd_ha = ascb->ha; in asd_link_reset_err_tasklet()
300 struct asd_ha_struct *asd_ha = ascb->ha; in asd_primitive_rcvd_tasklet()
402 struct asd_ha_struct *asd_ha = ascb->ha; in escb_tasklet_complete()
597 int asd_init_post_escbs(struct asd_ha_struct *asd_ha) in asd_init_post_escbs()
629 struct asd_ha_struct *asd_ha = ascb->ha; in control_phy_tasklet_complete()
[all …]
Daic94xx_task.c18 static void asd_can_dequeue(struct asd_ha_struct *asd_ha, int num) in asd_can_dequeue()
41 struct asd_ha_struct *asd_ha = ascb->ha; in asd_map_scatterlist()
121 struct asd_ha_struct *asd_ha = ascb->ha; in asd_unmap_scatterlist()
146 struct asd_ha_struct *asd_ha = ascb->ha; in asd_get_response_tasklet()
414 struct asd_ha_struct *asd_ha = ascb->ha; in asd_build_smp_ascb()
507 static int asd_can_queue(struct asd_ha_struct *asd_ha, int num) in asd_can_queue()
528 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_execute_task()
Daic94xx_dump.c265 static void asd_dump_cseq_state(struct asd_ha_struct *asd_ha) in asd_dump_cseq_state()
446 static void asd_print_lseq_cio_reg(struct asd_ha_struct *asd_ha, in asd_print_lseq_cio_reg()
473 static void asd_dump_lseq_state(struct asd_ha_struct *asd_ha, int lseq) in asd_dump_lseq_state()
728 void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask) in asd_dump_seq_state()