Home
last modified time | relevance | path

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

/drivers/scsi/qla4xxx/
Dql4_inline.h46 writel(set_rmask(CSR_SCSI_INTR_ENABLE), &ha->reg->ctrl_status); in __qla4xxx_enable_intrs()
47 readl(&ha->reg->ctrl_status); in __qla4xxx_enable_intrs()
60 writel(clr_rmask(CSR_SCSI_INTR_ENABLE), &ha->reg->ctrl_status); in __qla4xxx_disable_intrs()
61 readl(&ha->reg->ctrl_status); in __qla4xxx_disable_intrs()
Dql4_init.c22 value = readw(&ha->reg->ctrl_status); in ql4xxx_set_mac_number()
680 writel(set_rmask(CSR_BOOT_ENABLE), &ha->reg->ctrl_status); in qla4xxx_start_firmware_from_flash()
681 readl(&ha->reg->ctrl_status); in qla4xxx_start_firmware_from_flash()
690 uint32_t ctrl_status; in qla4xxx_start_firmware_from_flash() local
693 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_start_firmware_from_flash()
697 if (ctrl_status & set_rmask(CSR_SCSI_PROCESSOR_INTR)) in qla4xxx_start_firmware_from_flash()
704 ha->host_no, __func__, ctrl_status, max_wait_time)); in qla4xxx_start_firmware_from_flash()
715 &ha->reg->ctrl_status); in qla4xxx_start_firmware_from_flash()
716 readl(&ha->reg->ctrl_status); in qla4xxx_start_firmware_from_flash()
800 &ha->reg->ctrl_status); in qla4xxx_start_firmware()
[all …]
Dql4_dbg.c57 (uint8_t) offsetof(struct isp_reg, ctrl_status), in qla4xxx_dump_registers()
58 readw(&ha->reg->ctrl_status)); in qla4xxx_dump_registers()
126 &ha->reg->ctrl_status); in qla4xxx_dump_registers()
131 &ha->reg->ctrl_status); in qla4xxx_dump_registers()
Dql4_isr.c991 &ha->reg->ctrl_status); in qla4xxx_interrupt_service_routine()
992 readl(&ha->reg->ctrl_status); in qla4xxx_interrupt_service_routine()
1052 intr_status = readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1073 if ((readl(&ha->reg->ctrl_status) & in qla4xxx_intr_handler()
1076 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1077 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1081 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1082 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1094 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1095 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
Dql4_os.c3100 uint32_t ctrl_status; in qla4xxx_hw_reset() local
3114 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
3115 if ((ctrl_status & CSR_SCSI_RESET_INTR) != 0) in qla4xxx_hw_reset()
3116 writel(set_rmask(CSR_SCSI_RESET_INTR), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
3119 writel(set_rmask(CSR_SOFT_RESET), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
3120 readl(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
3135 uint32_t ctrl_status; in qla4xxx_soft_reset() local
3146 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
3149 if ((ctrl_status & CSR_NET_RESET_INTR) == 0) in qla4xxx_soft_reset()
3155 if ((ctrl_status & CSR_NET_RESET_INTR) != 0) { in qla4xxx_soft_reset()
[all …]
Dql4_mbx.c26 writel(set_rmask(CSR_INTR_RISC), &ha->reg->ctrl_status); in qla4xxx_queue_mbox_cmd()
27 readl(&ha->reg->ctrl_status); in qla4xxx_queue_mbox_cmd()
34 intr_status = readl(&ha->reg->ctrl_status); in qla4xxx_process_mbox_intr()
Dql4_fw.h109 __le32 ctrl_status; member
/drivers/scsi/qla2xxx/
Dqla_sup.c1101 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_unprotect_flash()
1102 RD_REG_DWORD(&reg->ctrl_status) | CSRX_FLASH_ENABLE); in qla24xx_unprotect_flash()
1103 RD_REG_DWORD(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_unprotect_flash()
1140 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_protect_flash()
1141 RD_REG_DWORD(&reg->ctrl_status) & ~CSRX_FLASH_ENABLE); in qla24xx_protect_flash()
1142 RD_REG_DWORD(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_protect_flash()
1367 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_write_nvram_data()
1368 RD_REG_DWORD(&reg->ctrl_status) | CSRX_FLASH_ENABLE); in qla24xx_write_nvram_data()
1369 RD_REG_DWORD(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_write_nvram_data()
1392 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_write_nvram_data()
[all …]
Dqla_dbg.c221 WRT_REG_DWORD(&reg->ctrl_status, CSRX_DMA_SHUTDOWN|MWB_4096_BYTES); in qla24xx_soft_reset()
223 if ((RD_REG_DWORD(&reg->ctrl_status) & CSRX_DMA_ACTIVE) == 0) in qla24xx_soft_reset()
229 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_soft_reset()
244 if ((RD_REG_DWORD(&reg->ctrl_status) & in qla24xx_soft_reset()
635 WRT_REG_WORD(&reg->ctrl_status, 0x40); in qla2300_fw_dump()
638 WRT_REG_WORD(&reg->ctrl_status, 0x50); in qla2300_fw_dump()
641 WRT_REG_WORD(&reg->ctrl_status, 0x00); in qla2300_fw_dump()
670 WRT_REG_WORD(&reg->ctrl_status, 0x10); in qla2300_fw_dump()
673 WRT_REG_WORD(&reg->ctrl_status, 0x20); in qla2300_fw_dump()
676 WRT_REG_WORD(&reg->ctrl_status, 0x30); in qla2300_fw_dump()
[all …]
Dqla_init.c651 ha->pci_attr = RD_REG_WORD(&reg->ctrl_status); in qla2100_pci_config()
702 WRT_REG_WORD(&reg->ctrl_status, 0x20); in qla2300_pci_config()
703 RD_REG_WORD(&reg->ctrl_status); in qla2300_pci_config()
712 WRT_REG_WORD(&reg->ctrl_status, 0x0); in qla2300_pci_config()
713 RD_REG_WORD(&reg->ctrl_status); in qla2300_pci_config()
733 ha->pci_attr = RD_REG_WORD(&reg->ctrl_status); in qla2300_pci_config()
777 ha->pci_attr = RD_REG_DWORD(&reg->ctrl_status); in qla24xx_pci_config()
894 WRT_REG_WORD(&reg->ctrl_status, 0x20); in qla2x00_reset_chip()
895 RD_REG_WORD(&reg->ctrl_status); /* PCI Posting. */ in qla2x00_reset_chip()
908 WRT_REG_WORD(&reg->ctrl_status, 0x10); in qla2x00_reset_chip()
[all …]
Dqla_fw.h946 uint32_t ctrl_status; /* Control/Status. */ member
Dqla_def.h430 uint16_t ctrl_status; /* Control/Status */ member
/drivers/tty/
Dtty_ioctl.c565 tty->ctrl_status &= ~(TIOCPKT_DOSTOP | TIOCPKT_NOSTOP); in tty_set_termios()
567 tty->ctrl_status |= TIOCPKT_DOSTOP; in tty_set_termios()
569 tty->ctrl_status |= TIOCPKT_NOSTOP; in tty_set_termios()
572 tty->ctrl_status |= TIOCPKT_IOCTL; in tty_set_termios()
Dn_tty.c229 tty->ctrl_status |= TIOCPKT_FLUSHREAD; in n_tty_packet_mode_flush()
1842 if (packet && tty->link->ctrl_status) { in n_tty_read()
1847 cs = tty->link->ctrl_status; in n_tty_read()
1848 tty->link->ctrl_status = 0; in n_tty_read()
2124 if (tty->packet && tty->link->ctrl_status) in n_tty_poll()
Dpty.c196 tty->link->ctrl_status = 0; in pty_set_pktmode()
239 tty->ctrl_status |= TIOCPKT_FLUSHWRITE; in pty_flush_buffer()
Dtty_io.c673 tty->ctrl_status = 0; in __tty_hangup()
944 tty->ctrl_status &= ~TIOCPKT_START; in stop_tty()
945 tty->ctrl_status |= TIOCPKT_STOP; in stop_tty()
978 tty->ctrl_status &= ~TIOCPKT_STOP; in start_tty()
979 tty->ctrl_status |= TIOCPKT_START; in start_tty()