/Linux-v5.4/drivers/scsi/aic94xx/ |
D | aic94xx_hwi.c | 25 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() local 97 static void asd_init_ports(struct asd_ha_struct *asd_ha) in asd_init_ports() 112 static int asd_init_phys(struct asd_ha_struct *asd_ha) in asd_init_phys() 143 static int asd_init_sw(struct asd_ha_struct *asd_ha) in asd_init_sw() 198 static int asd_init_scbs(struct asd_ha_struct *asd_ha) in asd_init_scbs() 240 static void asd_get_max_scb_ddb(struct asd_ha_struct *asd_ha) in asd_get_max_scb_ddb() 253 static int asd_init_dl(struct asd_ha_struct *asd_ha) in asd_init_dl() 272 static int asd_alloc_edbs(struct asd_ha_struct *asd_ha, gfp_t gfp_flags) in asd_alloc_edbs() [all …]
|
D | aic94xx_seq.c | 46 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 …]
|
D | aic94xx_init.c | 60 static int asd_map_memio(struct asd_ha_struct *asd_ha) in asd_map_memio() 104 static void asd_unmap_memio(struct asd_ha_struct *asd_ha) in asd_unmap_memio() 117 static int asd_map_ioport(struct asd_ha_struct *asd_ha) in asd_map_ioport() 141 static void asd_unmap_ioport(struct asd_ha_struct *asd_ha) in asd_unmap_ioport() 146 static int asd_map_ha(struct asd_ha_struct *asd_ha) in asd_map_ha() 178 static void asd_unmap_ha(struct asd_ha_struct *asd_ha) in asd_unmap_ha() 192 static int asd_common_setup(struct asd_ha_struct *asd_ha) in asd_common_setup() 228 static int asd_aic9410_setup(struct asd_ha_struct *asd_ha) in asd_aic9410_setup() 243 static int asd_aic9405_setup(struct asd_ha_struct *asd_ha) in asd_aic9405_setup() 261 struct asd_ha_struct *asd_ha = dev_to_asd_ha(dev); in asd_show_dev_rev() local [all …]
|
D | aic94xx_reg.c | 17 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() 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() 225 static u8 __asd_read_reg_byte(struct asd_ha_struct *asd_ha, u32 reg) in __asd_read_reg_byte() 284 void asd_read_reg_string(struct asd_ha_struct *asd_ha, void *dst, in asd_read_reg_string() [all …]
|
D | aic94xx_dev.c | 21 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() local 80 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_tag_ddb() local 97 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_set_dmamode() local 122 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata() local 140 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_target_ddb() local 218 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_pm_table_ddb() local 248 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_init_sata_pm_port_ddb() local 308 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_dev_found() local [all …]
|
D | aic94xx_reg.h | 99 static inline u8 asd_ddbsite_read_byte(struct asd_ha_struct *asd_ha, in asd_ddbsite_read_byte() 125 static inline void asd_ddbsite_write_byte(struct asd_ha_struct *asd_ha, in asd_ddbsite_write_byte() 152 static inline u8 asd_scbsite_read_byte(struct asd_ha_struct *asd_ha, in asd_scbsite_read_byte() 178 static inline void asd_scbsite_write_byte(struct asd_ha_struct *asd_ha, in asd_scbsite_write_byte() 206 static inline int asd_ddbsite_update_word(struct asd_ha_struct *asd_ha, in asd_ddbsite_update_word() 227 static inline int asd_ddbsite_update_byte(struct asd_ha_struct *asd_ha, in asd_ddbsite_update_byte() 248 static inline void asd_write_reg_addr(struct asd_ha_struct *asd_ha, u32 reg, in asd_write_reg_addr() 255 static inline u32 asd_get_cmdctx_size(struct asd_ha_struct *asd_ha) in asd_get_cmdctx_size() 262 static inline u32 asd_get_devctx_size(struct asd_ha_struct *asd_ha) in asd_get_devctx_size() 268 static inline void asd_disable_ints(struct asd_ha_struct *asd_ha) in asd_disable_ints() [all …]
|
D | aic94xx_scb.c | 70 struct asd_ha_struct *asd_ha = ascb->ha; in asd_phy_event_tasklet() local 111 static unsigned ord_phy(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in ord_phy() 140 struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha; in asd_get_attached_sas_addr() local 153 static void asd_form_port(struct asd_ha_struct *asd_ha, struct asd_phy *phy) in asd_form_port() 202 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() local 300 struct asd_ha_struct *asd_ha = ascb->ha; in asd_primitive_rcvd_tasklet() local 400 struct asd_ha_struct *asd_ha = ascb->ha; in escb_tasklet_complete() local 595 int asd_init_post_escbs(struct asd_ha_struct *asd_ha) in asd_init_post_escbs() 627 struct asd_ha_struct *asd_ha = ascb->ha; in control_phy_tasklet_complete() local [all …]
|
D | aic94xx_tmf.c | 117 struct asd_ha_struct *asd_ha = sas_ha->lldd_ha; in asd_clear_nexus_ha() local 126 struct asd_ha_struct *asd_ha = port->ha->lldd_ha; in asd_clear_nexus_port() local 143 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_clear_nexus_I_T() local 203 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_clear_nexus_I_T_L() local 216 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_tag() local 231 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_clear_nexus_index() local 258 struct asd_ha_struct *asd_ha = ascb->ha; in asd_get_tmf_resp_tasklet() local 389 struct asd_ha_struct *asd_ha = tascb->ha; in asd_abort_task() local 559 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_initiate_ssp_tmf() local
|
D | aic94xx_sds.c | 116 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() 548 static int asd_poll_flash(struct asd_ha_struct *asd_ha) in asd_poll_flash() 563 static int asd_reset_flash(struct asd_ha_struct *asd_ha) in asd_reset_flash() 576 static int asd_read_flash_seg(struct asd_ha_struct *asd_ha, in asd_read_flash_seg() [all …]
|
D | aic94xx_task.c | 18 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() local 118 struct asd_ha_struct *asd_ha = ascb->ha; in asd_unmap_scatterlist() local 143 struct asd_ha_struct *asd_ha = ascb->ha; in asd_get_response_tasklet() local 417 struct asd_ha_struct *asd_ha = ascb->ha; in asd_build_smp_ascb() local 513 static int asd_can_queue(struct asd_ha_struct *asd_ha, int num) in asd_can_queue() 534 struct asd_ha_struct *asd_ha = task->dev->port->ha->lldd_ha; in asd_execute_task() local
|
D | aic94xx_dump.c | 265 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() 874 void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask) in asd_dump_seq_state()
|
D | aic94xx_dump.h | 19 static inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha, in asd_dump_seq_state()
|
D | aic94xx_hwi.h | 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() local
|