Searched refs:asd_printk (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/drivers/scsi/aic94xx/
H A Daic94xx_dump.c220 #define PRINT_REG_8bit(_ha, _n, _r) asd_printk(STR_8BIT, #_n, _n, \
222 #define PRINT_REG_16bit(_ha, _n, _r) asd_printk(STR_16BIT, #_n, _n, \
224 #define PRINT_REG_32bit(_ha, _n, _r) asd_printk(STR_32BIT, #_n, _n, \
227 #define PRINT_CREG_8bit(_ha, _n) asd_printk(STR_8BIT, #_n, _n, \
229 #define PRINT_CREG_16bit(_ha, _n) asd_printk(STR_16BIT, #_n, _n, \
231 #define PRINT_CREG_32bit(_ha, _n) asd_printk(STR_32BIT, #_n, _n, \
238 #define PRINT_MREG_8bit(_ha, _m, _n, _r) asd_printk(MSTR_8BIT, _m, #_n, _n, \
240 #define PRINT_MREG_16bit(_ha, _m, _n, _r) asd_printk(MSTR_16BIT, _m, #_n, _n, \
242 #define PRINT_MREG_32bit(_ha, _m, _n, _r) asd_printk(MSTR_32BIT, _m, #_n, _n, \
246 #define PRINT_MIS_byte(_ha, _n) asd_printk(STR_8BIT, #_n,CSEQ_##_n-CMAPPEDSCR,\
248 #define PRINT_MIS_word(_ha, _n) asd_printk(STR_16BIT,#_n,CSEQ_##_n-CMAPPEDSCR,\
251 asd_printk(STR_32BIT,#_n,CSEQ_##_n-CMAPPEDSCR,\
254 asd_printk(STR_64BIT, #_n,CSEQ_##_n-CMAPPEDSCR, \
260 asd_printk("%20s 0x%04x 0x%04x 0x%04x 0x%04x 0x%04x 0x%04x 0x%04x 0x%04x\n", \
272 asd_printk("%20s 0x%04x 0x%04x 0x%04x 0x%04x 0x%04x 0x%04x 0x%04x 0x%04x\n", \
287 asd_printk("CSEQ STATE\n"); asd_dump_cseq_state()
289 asd_printk("ARP2 REGISTERS\n"); asd_dump_cseq_state()
311 asd_printk("IOP REGISTERS\n"); asd_dump_cseq_state()
316 asd_printk("CIO REGISTERS\n"); asd_dump_cseq_state()
347 asd_printk("SCRATCH MEMORY\n"); asd_dump_cseq_state()
349 asd_printk("MIP 4 >>>>>\n"); asd_dump_cseq_state()
367 asd_printk("MIP 5 >>>>\n"); asd_dump_cseq_state()
377 asd_printk("MIP 6 >>>>\n"); asd_dump_cseq_state()
393 asd_printk("MIP 7 >>>>\n"); asd_dump_cseq_state()
405 asd_printk("MDP 0 >>>>\n"); asd_dump_cseq_state()
406 asd_printk("%-20s %6s %6s %6s %6s %6s %6s %6s %6s\n", asd_dump_cseq_state()
414 asd_printk("MDP 0 Mode 8 >>>>\n"); asd_dump_cseq_state()
430 asd_printk("MDP 1 Mode 8 >>>>\n"); asd_dump_cseq_state()
434 asd_printk("MDP 2 Mode 8 >>>>\n"); asd_dump_cseq_state()
442 asd_printk(STR_8BIT, #_n, _n, asd_read_reg_byte(_h, Lm##_n(_lseq)))
444 asd_printk(STR_16BIT, #_n, _n, asd_read_reg_word(_h, Lm##_n(_lseq)))
446 asd_printk(STR_32BIT, #_n, _n, asd_read_reg_dword(_h, Lm##_n(_lseq)))
449 asd_printk(STR_8BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \
452 asd_printk(STR_16BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \
455 asd_printk(STR_32BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \
458 asd_printk(STR_64BIT, #_n, LmSEQ_##_n(_lseq)-LmSCRATCH(_lseq), \
469 asd_printk("%20s[0x%x]: 0x%02x\n", LSEQmCIOREGS[i].name, asd_print_lseq_cio_reg()
476 asd_printk("%20s[0x%x]: 0x%04x\n", LSEQmCIOREGS[i].name, asd_print_lseq_cio_reg()
483 asd_printk("%20s[0x%x]: 0x%08x\n", LSEQmCIOREGS[i].name, asd_print_lseq_cio_reg()
496 asd_printk("LSEQ %d STATE\n", lseq); asd_dump_lseq_state()
498 asd_printk("LSEQ%d: ARP2 REGISTERS\n", lseq); asd_dump_lseq_state()
519 asd_printk("LSEQ%d: IOP REGISTERS\n", lseq); asd_dump_lseq_state()
527 asd_printk("LSEQ%d: CIO REGISTERS\n", lseq); asd_dump_lseq_state()
528 asd_printk("Mode common:\n"); asd_dump_lseq_state()
539 asd_printk("Mode unique:\n"); asd_dump_lseq_state()
544 asd_printk("Mode %d\n", mode); asd_dump_lseq_state()
552 asd_printk("SCRATCH MEMORY\n"); asd_dump_lseq_state()
554 asd_printk("LSEQ%d MIP 0 >>>>\n", lseq); asd_dump_lseq_state()
568 asd_printk("LSEQ%d MIP 1 >>>>\n", lseq); asd_dump_lseq_state()
584 asd_printk("LSEQ%d MIP 2 >>>>\n", lseq); asd_dump_lseq_state()
597 asd_printk("LSEQ%d MIP 3 >>>>\n", lseq); asd_dump_lseq_state()
607 asd_printk("LSEQ%d MDP 0 MODE %d >>>>\n", lseq, mode); asd_dump_lseq_state()
610 asd_printk(STR_16BIT, "RET_ADDR", 0, asd_dump_lseq_state()
613 asd_printk(STR_16BIT, "REG0_MODE", 2, asd_dump_lseq_state()
616 asd_printk(STR_16BIT, "MODE_FLAGS", 4, asd_dump_lseq_state()
619 asd_printk(STR_16BIT, "RET_ADDR2", 0x6, asd_dump_lseq_state()
622 asd_printk(STR_16BIT, "RET_ADDR1", 0x8, asd_dump_lseq_state()
625 asd_printk(STR_8BIT, "OPCODE_TO_CSEQ", 0xB, asd_dump_lseq_state()
628 asd_printk(STR_16BIT, "DATA_TO_CSEQ", 0xC, asd_dump_lseq_state()
633 asd_printk("LSEQ%d MDP 0 MODE 5 >>>>\n", lseq); asd_dump_lseq_state()
635 asd_printk(STR_16BIT, "RET_ADDR", 0, asd_dump_lseq_state()
637 asd_printk(STR_16BIT, "REG0_MODE", 2, asd_dump_lseq_state()
639 asd_printk(STR_16BIT, "MODE_FLAGS", 4, asd_dump_lseq_state()
641 asd_printk(STR_16BIT, "RET_ADDR2", 0x6, asd_dump_lseq_state()
643 asd_printk(STR_16BIT, "RET_ADDR1", 0x8, asd_dump_lseq_state()
645 asd_printk(STR_8BIT, "OPCODE_TO_CSEQ", 0xB, asd_dump_lseq_state()
647 asd_printk(STR_16BIT, "DATA_TO_CSEQ", 0xC, asd_dump_lseq_state()
650 asd_printk("LSEQ%d MDP 0 MODE 0 >>>>\n", lseq); asd_dump_lseq_state()
662 asd_printk("LSEQ%d MDP 0 MODE 1 >>>>\n", lseq); asd_dump_lseq_state()
672 asd_printk("LSEQ%d MDP 0 MODE 2 >>>>\n", lseq); asd_dump_lseq_state()
680 asd_printk("LSEQ%d MDP 0 MODE 4/5 >>>>\n", lseq); asd_dump_lseq_state()
693 asd_printk("LSEQ%d MDP 1 MODE 0 >>>>\n", lseq); asd_dump_lseq_state()
697 asd_printk("LSEQ%d MDP 1 MODE 1 >>>>\n", lseq); asd_dump_lseq_state()
701 asd_printk("LSEQ%d MDP 1 MODE 2 >>>>\n", lseq); asd_dump_lseq_state()
706 asd_printk("LSEQ%d MDP 1 MODE 4/5 >>>>\n", lseq); asd_dump_lseq_state()
714 asd_printk("LSEQ%d MDP 2 MODE 0 >>>>\n", lseq); asd_dump_lseq_state()
721 asd_printk("LSEQ%d MDP 2 MODE 1 >>>>\n", lseq); asd_dump_lseq_state()
727 asd_printk("LSEQ%d MDP 2 MODE 2 >>>>\n", lseq); asd_dump_lseq_state()
734 asd_printk("LSEQ%d MDP 2 MODE 4/5 >>>>\n", lseq); asd_dump_lseq_state()
767 asd_printk("DDB: 0x%02x\n", site_no);
768 asd_printk("conn_type: 0x%02x\n", DDB_FIELDB(conn_type));
769 asd_printk("conn_rate: 0x%02x\n", DDB_FIELDB(conn_rate));
770 asd_printk("init_conn_tag: 0x%04x\n", be16_to_cpu(DDB_FIELDW(init_conn_tag)));
771 asd_printk("send_queue_head: 0x%04x\n", be16_to_cpu(DDB_FIELDW(send_queue_head)));
772 asd_printk("sq_suspended: 0x%02x\n", DDB_FIELDB(sq_suspended));
773 asd_printk("DDB Type: 0x%02x\n", DDB_FIELDB(ddb_type));
774 asd_printk("AWT Default: 0x%04x\n", DDB_FIELDW(awt_def));
775 asd_printk("compat_features: 0x%02x\n", DDB_FIELDB(compat_features));
776 asd_printk("Pathway Blocked Count: 0x%02x\n",
778 asd_printk("arb_wait_time: 0x%04x\n", DDB_FIELDW(arb_wait_time));
779 asd_printk("more_compat_features: 0x%08x\n",
781 asd_printk("Conn Mask: 0x%02x\n", DDB_FIELDB(conn_mask));
782 asd_printk("flags: 0x%02x\n", DDB_FIELDB(flags));
783 asd_printk("flags2: 0x%02x\n", DDB2_FIELDB(flags2));
784 asd_printk("ExecQ Tail: 0x%04x\n",DDB_FIELDW(exec_queue_tail));
785 asd_printk("SendQ Tail: 0x%04x\n",DDB_FIELDW(send_queue_tail));
786 asd_printk("Active Task Count: 0x%04x\n",
788 asd_printk("ITNL Reason: 0x%02x\n", DDB_FIELDB(itnl_reason));
789 asd_printk("ITNL Timeout Const: 0x%04x\n", DDB_FIELDW(itnl_timeout));
790 asd_printk("ITNL timestamp: 0x%08x\n", DDB_FIELDD(itnl_timestamp));
811 asd_printk("DDB: 0\n");
812 asd_printk("q_free_ddb_head:%04x\n", DDB0_FIELDW(q_free_ddb_head));
813 asd_printk("q_free_ddb_tail:%04x\n", DDB0_FIELDW(q_free_ddb_tail));
814 asd_printk("q_free_ddb_cnt:%04x\n", DDB0_FIELDW(q_free_ddb_cnt));
815 asd_printk("q_used_ddb_head:%04x\n", DDB0_FIELDW(q_used_ddb_head));
816 asd_printk("q_used_ddb_tail:%04x\n", DDB0_FIELDW(q_used_ddb_tail));
817 asd_printk("shared_mem_lock:%04x\n", DDB0_FIELDW(shared_mem_lock));
818 asd_printk("smp_conn_tag:%04x\n", DDB0_FIELDW(smp_conn_tag));
819 asd_printk("est_nexus_buf_cnt:%04x\n", DDB0_FIELDW(est_nexus_buf_cnt));
820 asd_printk("est_nexus_buf_thresh:%04x\n",
822 asd_printk("conn_not_active:%02x\n", DDB0_FIELDB(conn_not_active));
823 asd_printk("phy_is_up:%02x\n", DDB0_FIELDB(phy_is_up));
824 asd_printk("port_map_by_links:%02x %02x %02x %02x "
849 asd_printk("Total Xfer Len: 0x%08x.\n", SCB_FIELDD(total_xfer_len));
850 asd_printk("Frame Type: 0x%02x.\n", SCB_FIELDB(ssp_frame.frame_type));
851 asd_printk("Tag: 0x%04x.\n", SCB_FIELDW(ssp_frame.tag));
852 asd_printk("Target Port Xfer Tag: 0x%04x.\n",
854 asd_printk("Data Offset: 0x%08x.\n", SCB_FIELDW(ssp_frame.data_offs));
855 asd_printk("Retry Count: 0x%02x.\n", SCB_FIELDB(retry_count));
880 asd_printk("\nSCB: 0x%x\n", site_no);
933 asd_printk("scb%d: vaddr: 0x%p, dma_handle: 0x%llx, next: 0x%llx, "
947 asd_printk("dumping %d scbs:\n", num);
H A Daic94xx_hwi.c105 asd_printk("no mem for IDENTIFY for phy%d\n", sas_phy->id); asd_init_phy()
170 asd_printk("couldn't access conf. space of %s\n", asd_init_sw()
177 asd_printk("couldn't write to MBAR_KEY of %s\n", asd_init_sw()
331 asd_printk("couldn't allocate list of escbs\n"); asd_alloc_escbs()
396 asd_printk("couldn't allocate edbs\n"); asd_init_escbs()
402 asd_printk("couldn't allocate escbs\n"); asd_init_escbs()
464 asd_printk("couldn't hard reset %s\n", asd_init_chip()
473 asd_printk("couldn't init seqs for %s\n", asd_init_chip()
480 asd_printk("coudln't start seqs for %s\n", asd_init_chip()
534 asd_printk("couldn't allocate memory for %d devices\n", asd_extend_devctx()
570 asd_printk("couldn't allocate memory for %d commands\n", asd_extend_cmdctx()
631 asd_printk("couldn't read PCIC_HSTPCIX_CNTRL of %s\n", asd_init_hw()
638 asd_printk("couldn't disable split completion timer of %s\n", asd_init_hw()
645 asd_printk("couldn't read ocm(%d)\n", err); asd_init_hw()
652 asd_printk("couldn't read flash(%d)\n", err); asd_init_hw()
661 asd_printk("No SAS Address provided for %s\n", asd_init_hw()
671 asd_printk("couldn't initialize phys for %s\n", asd_init_hw()
680 asd_printk("couldn't initialize scbs for %s\n", asd_init_hw()
687 asd_printk("couldn't initialize the done list:%d\n", asd_init_hw()
694 asd_printk("couldn't initialize escbs\n"); asd_init_hw()
700 asd_printk("couldn't init the chip\n"); asd_init_hw()
792 asd_printk("%s: command/status buffer dma parity error\n", asd_com_sas_isr()
798 asd_printk("%s: command/status dma error, DMAERR: 0x%02x, " asd_com_sas_isr()
804 asd_printk("CSBUFFER:\n"); asd_com_sas_isr()
806 asd_printk("%08x %08x %08x %08x\n", asd_com_sas_isr()
816 asd_printk("%s: overlay dma error:0x%x\n", asd_com_sas_isr()
868 asd_printk("%s: CSEQ arp2int:0x%x\n", asd_arp2_err()
872 asd_printk("%s: CSEQ halted: %s\n", asd_arp2_err()
876 asd_printk("%s: CARP2INT:0x%x\n", asd_arp2_err()
889 asd_printk("%s: LSEQ%d arp2int:0x%x\n", for_each_sequencer()
894 asd_printk("%s: LSEQ%d halted: %s\n", for_each_sequencer()
898 asd_printk("%s: LSEQ%d ARP2INT:0x%x\n", for_each_sequencer()
915 asd_printk("%s: CFIFTOERR\n", pci_name(asd_ha->pcidev)); asd_dch_sas_isr()
930 asd_printk("hmm, EXSI interrupted but no error?\n"); asd_rbi_exsi_isr()
935 asd_printk("ASI SEEPROM format error for %s\n", asd_rbi_exsi_isr()
939 asd_printk("ASI SEEPROM checksum 0x%x error for %s\n", asd_rbi_exsi_isr()
952 asd_printk("%s: CPI2 xfer err: addr: 0x%x, wdata: 0x%x, " asd_rbi_exsi_isr()
984 asd_printk("parity error for %s\n", pci_name(asd_ha->pcidev)); asd_hst_pcix_isr()
986 asd_printk("master abort for %s\n", pci_name(asd_ha->pcidev)); asd_hst_pcix_isr()
988 asd_printk("target abort for %s\n", pci_name(asd_ha->pcidev)); asd_hst_pcix_isr()
990 asd_printk("data parity for %s\n", pci_name(asd_ha->pcidev)); asd_hst_pcix_isr()
992 asd_printk("received split completion error for %s\n", asd_hst_pcix_isr()
998 asd_printk("unexpected split completion for %s\n", asd_hst_pcix_isr()
1004 asd_printk("split completion discarded for %s\n", asd_hst_pcix_isr()
1007 asd_printk("uncorrectable ECC error for %s\n", asd_hst_pcix_isr()
1221 asd_printk("%s: scb queue full\n", pci_name(asd_ha->pcidev)); asd_post_ascb_list()
1362 asd_printk("%s called with phy_mask of 0!?\n", __func__); asd_enable_phys()
1374 asd_printk("no memory for control phy ascb list\n");
H A Daic94xx_init.c94 asd_printk("MBAR%d start or length for %s is 0.\n", asd_map_memio()
100 asd_printk("couldn't reserve memory region for %s\n", asd_map_memio()
111 asd_printk("couldn't map MBAR%d of %s\n", i==0?0:1, asd_map_memio()
153 asd_printk("couldn't get IO ports for %s\n", asd_map_ioport()
159 asd_printk("couldn't reserve io space for %s\n", asd_map_ioport()
178 asd_printk("couldn't read command register of %s\n", asd_map_ha()
190 asd_printk("%s ioport mapped -- upgrade your hardware\n", asd_map_ha()
193 asd_printk("no proper device access to %s\n", asd_map_ha()
225 asd_printk("%s is revision %s (%X), which is not supported\n", asd_common_setup()
393 asd_printk("Failed to load bios image file %s, error %d\n", asd_store_update_bios()
547 asd_printk("couldn't create scb pool\n"); asd_create_ha_caches()
643 asd_printk("couldn't create dma token cache\n"); asd_create_global_caches()
655 asd_printk("couldn't create ascb cache\n"); asd_create_global_caches()
733 asd_printk("wrong driver_data in PCI table\n"); asd_pci_probe()
738 asd_printk("couldn't enable device %s\n", pci_name(dev)); asd_pci_probe()
754 asd_printk("out of memory\n"); asd_pci_probe()
763 asd_printk("found %s, device %s\n", asd_ha->name, pci_name(dev)); asd_pci_probe()
788 asd_printk("no suitable DMA mask for %s\n", pci_name(dev)); asd_pci_probe()
806 asd_printk("device %s: SAS addr %llx, PCBA SN %s, %d phys, %d enabled " asd_pci_probe()
823 asd_printk("couldn't get irq %d for %s\n", asd_pci_probe()
831 asd_printk("couldn't post escbs for %s\n", asd_pci_probe()
952 asd_printk("Couldn't enable phys, err:%d\n", err); asd_scan_start()
1031 asd_printk("%s version %s loaded\n", ASD_DRIVER_DESCRIPTION, aic94xx_init()
1070 asd_printk("%s version %s unloaded\n", ASD_DRIVER_DESCRIPTION, aic94xx_exit()
H A Daic94xx.h38 #define asd_printk(fmt, ...) printk(KERN_NOTICE ASD_DRIVER_NAME ": " fmt, ## __VA_ARGS__) macro
51 #define ASD_DPRINTK asd_printk
H A Daic94xx_seq.c203 asd_printk("%s: cseq verify failed at %u " asd_verify_cseq()
245 asd_printk("%s: LSEQ%d verify failed " asd_verify_lseq()
299 asd_printk("sequencer program not multiple of 4\n"); asd_download_seq()
316 asd_printk("out of memory for dma SEQ download\n"); asd_download_seq()
347 asd_printk("%s: error DMA-ing sequencer code\n", asd_download_seq()
367 asd_printk("sequencer program not multiple of 4\n"); asd_download_seq()
404 asd_printk("%s: no enabled phys!\n", pci_name(asd_ha->pcidev)); asd_seq_download_seqs()
412 asd_printk("CSEQ download failed:%d\n", err); asd_seq_download_seqs()
435 asd_printk("LSEQs download failed:%d\n", err);
1274 asd_printk("Firmware file checksum mismatch\n"); asd_request_firmware()
1280 asd_printk("Firmware file table size mismatch\n"); asd_request_firmware()
1284 asd_printk("Found sequencer Firmware version %d.%d (%s)\n", asd_request_firmware()
1288 asd_printk("Firmware Major Version Mismatch;" asd_request_firmware()
1321 asd_printk("Failed to load sequencer firmware file %s, error %d\n", asd_init_seqs()
1328 asd_printk("couldn't download sequencers for %s\n", asd_init_seqs()
1346 asd_printk("couldn't start CSEQ for %s\n", asd_start_seqs()
1355 asd_printk("coudln't start LSEQ %d for %s\n", lseq, for_each_sequencer()
1405 asd_printk("phy_is_up: parity error in DDB 0\n"); for_each_phy()
1412 asd_printk("couldn't update DDB 0:error:%d\n", err);
H A Daic94xx_sds.c162 asd_printk("unsupported major version of ocm dir:0x%x\n", asd_read_ocm_dir()
230 asd_printk("no memory for bios_chim struct\n"); asd_get_bios_chim()
248 asd_printk("BIOS_CHIM unsupported major version:0x%x\n", asd_get_bios_chim()
325 asd_printk("couldn't access PCIC_INTRPT_STAT of %s\n", asd_hwi_check_ocm_access()
338 asd_printk("couldn't write PCIC_INTRPT_STAT of %s\n", asd_hwi_check_ocm_access()
364 asd_printk("no memory for ocm dir\n"); asd_read_ocm()
637 asd_printk("couldn't read PCI_CONF_FLSH_BAR of %s\n", asd_flash_getid()
691 asd_printk("unsupported manuf. sector. major version:%x\n", asd_validate_ms()
700 asd_printk("failed manuf sector checksum\n"); asd_validate_ms()
803 asd_printk("unsupported manuf. phy param major version:0x%x\n", asd_ms_get_phy_params()
1067 asd_printk("unsupported flash dir version:0x%x\n", asd_read_flash()
H A Daic94xx_scb.c298 asd_printk("%s: out of memory\n", __func__); asd_link_reset_err_tasklet()
411 asd_printk("couldn't post escb, err:%d\n", i); asd_invalidate_edb()
833 asd_printk("phy%d: link adm task 0x%x completed with error "
H A Daic94xx_task.c589 asd_printk("unknown sas_task proto: 0x%x\n", asd_execute_task()

Completed in 210 milliseconds