Home
last modified time | relevance | path

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

/Linux-v5.4/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()
711 writel(set_rmask(CSR_BOOT_ENABLE), &ha->reg->ctrl_status); in qla4xxx_start_firmware_from_flash()
712 readl(&ha->reg->ctrl_status); in qla4xxx_start_firmware_from_flash()
721 uint32_t ctrl_status; in qla4xxx_start_firmware_from_flash() local
724 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_start_firmware_from_flash()
728 if (ctrl_status & set_rmask(CSR_SCSI_PROCESSOR_INTR)) in qla4xxx_start_firmware_from_flash()
735 ha->host_no, __func__, ctrl_status, max_wait_time)); in qla4xxx_start_firmware_from_flash()
746 &ha->reg->ctrl_status); in qla4xxx_start_firmware_from_flash()
747 readl(&ha->reg->ctrl_status); in qla4xxx_start_firmware_from_flash()
829 &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.c1090 &ha->reg->ctrl_status); in qla4xxx_interrupt_service_routine()
1091 readl(&ha->reg->ctrl_status); in qla4xxx_interrupt_service_routine()
1151 intr_status = readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1172 if ((readl(&ha->reg->ctrl_status) & in qla4xxx_intr_handler()
1175 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1176 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1180 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1181 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1193 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1194 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
Dql4_os.c274 reg_val = readw(&ha->reg->ctrl_status); in qla4xxx_isp_check_reg()
4639 uint32_t ctrl_status; in qla4xxx_hw_reset() local
4653 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
4654 if ((ctrl_status & CSR_SCSI_RESET_INTR) != 0) in qla4xxx_hw_reset()
4655 writel(set_rmask(CSR_SCSI_RESET_INTR), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
4658 writel(set_rmask(CSR_SOFT_RESET), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
4659 readl(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
4674 uint32_t ctrl_status; in qla4xxx_soft_reset() local
4685 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4688 if ((ctrl_status & CSR_NET_RESET_INTR) == 0) in qla4xxx_soft_reset()
[all …]
Dql4_mbx.c27 writel(set_rmask(CSR_INTR_RISC), &ha->reg->ctrl_status); in qla4xxx_queue_mbox_cmd()
28 readl(&ha->reg->ctrl_status); in qla4xxx_queue_mbox_cmd()
35 intr_status = readl(&ha->reg->ctrl_status); in qla4xxx_process_mbox_intr()
Dql4_fw.h109 __le32 ctrl_status; member
/Linux-v5.4/drivers/tty/
Dpty.c189 tty->link->ctrl_status = 0; in pty_set_pktmode()
234 tty->ctrl_status |= TIOCPKT_FLUSHWRITE; in pty_flush_buffer()
277 tty->ctrl_status &= ~(TIOCPKT_DOSTOP | TIOCPKT_NOSTOP); in pty_set_termios()
279 tty->ctrl_status |= TIOCPKT_DOSTOP; in pty_set_termios()
281 tty->ctrl_status |= TIOCPKT_NOSTOP; in pty_set_termios()
284 tty->ctrl_status |= TIOCPKT_IOCTL; in pty_set_termios()
348 tty->ctrl_status &= ~TIOCPKT_STOP; in pty_start()
349 tty->ctrl_status |= TIOCPKT_START; in pty_start()
361 tty->ctrl_status &= ~TIOCPKT_START; in pty_stop()
362 tty->ctrl_status |= TIOCPKT_STOP; in pty_stop()
Dn_tty.c351 tty->ctrl_status |= TIOCPKT_FLUSHREAD; in n_tty_packet_mode_flush()
2180 if (packet && tty->link->ctrl_status) { in n_tty_read()
2185 cs = tty->link->ctrl_status; in n_tty_read()
2186 tty->link->ctrl_status = 0; in n_tty_read()
2416 if (tty->packet && tty->link->ctrl_status) in n_tty_poll()
Dtty_io.c633 tty->ctrl_status = 0; in __tty_hangup()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_sup.c1200 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_unprotect_flash()
1201 RD_REG_DWORD(&reg->ctrl_status) | CSRX_FLASH_ENABLE); in qla24xx_unprotect_flash()
1202 RD_REG_DWORD(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_unprotect_flash()
1243 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_protect_flash()
1244 RD_REG_DWORD(&reg->ctrl_status) & ~CSRX_FLASH_ENABLE); in qla24xx_protect_flash()
1469 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_write_nvram_data()
1470 RD_REG_DWORD(&reg->ctrl_status) | CSRX_FLASH_ENABLE); in qla24xx_write_nvram_data()
1471 RD_REG_DWORD(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_write_nvram_data()
1493 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_write_nvram_data()
1494 RD_REG_DWORD(&reg->ctrl_status) & ~CSRX_FLASH_ENABLE); in qla24xx_write_nvram_data()
[all …]
Dqla_dbg.c325 WRT_REG_DWORD(&reg->ctrl_status, CSRX_DMA_SHUTDOWN|MWB_4096_BYTES); in qla24xx_soft_reset()
327 if ((RD_REG_DWORD(&reg->ctrl_status) & CSRX_DMA_ACTIVE) == 0) in qla24xx_soft_reset()
332 if (!(RD_REG_DWORD(&reg->ctrl_status) & CSRX_DMA_ACTIVE)) in qla24xx_soft_reset()
335 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_soft_reset()
343 if ((RD_REG_DWORD(&reg->ctrl_status) & in qla24xx_soft_reset()
349 if (!(RD_REG_DWORD(&reg->ctrl_status) & CSRX_ISP_SOFT_RESET)) in qla24xx_soft_reset()
792 WRT_REG_WORD(&reg->ctrl_status, 0x40); in qla2300_fw_dump()
795 WRT_REG_WORD(&reg->ctrl_status, 0x50); in qla2300_fw_dump()
798 WRT_REG_WORD(&reg->ctrl_status, 0x00); in qla2300_fw_dump()
828 WRT_REG_WORD(&reg->ctrl_status, 0x10); in qla2300_fw_dump()
[all …]
Dqla_init.c2302 ha->pci_attr = RD_REG_WORD(&reg->ctrl_status); in qla2100_pci_config()
2353 WRT_REG_WORD(&reg->ctrl_status, 0x20); in qla2300_pci_config()
2354 RD_REG_WORD(&reg->ctrl_status); in qla2300_pci_config()
2363 WRT_REG_WORD(&reg->ctrl_status, 0x0); in qla2300_pci_config()
2364 RD_REG_WORD(&reg->ctrl_status); in qla2300_pci_config()
2384 ha->pci_attr = RD_REG_WORD(&reg->ctrl_status); in qla2300_pci_config()
2428 ha->pci_attr = RD_REG_DWORD(&reg->ctrl_status); in qla24xx_pci_config()
2546 WRT_REG_WORD(&reg->ctrl_status, 0x20); in qla2x00_reset_chip()
2547 RD_REG_WORD(&reg->ctrl_status); /* PCI Posting. */ in qla2x00_reset_chip()
2560 WRT_REG_WORD(&reg->ctrl_status, 0x10); in qla2x00_reset_chip()
[all …]
Dqla_fw.h1002 uint32_t ctrl_status; /* Control/Status. */ member
Dqla_def.h665 uint16_t ctrl_status; /* Control/Status */ member
Dqla_mbx.c583 RD_REG_WORD(&reg->isp.ctrl_status), in qla2x00_mailbox_command()
/Linux-v5.4/drivers/media/platform/qcom/venus/
Dhfi_venus.c442 u32 ctrl_status = 0; in venus_boot_core() local
450 while (!ctrl_status && count < max_tries) { in venus_boot_core()
451 ctrl_status = venus_readl(hdev, CPU_CS_SCIACMDARG0); in venus_boot_core()
452 if ((ctrl_status & CPU_CS_SCIACMDARG0_ERROR_STATUS_MASK) == 4) { in venus_boot_core()
1390 u32 ctrl_status; in venus_suspend_1xx() local
1424 ctrl_status = venus_readl(hdev, CPU_CS_SCIACMDARG0); in venus_suspend_1xx()
1425 if (!(ctrl_status & CPU_CS_SCIACMDARG0_PC_READY)) { in venus_suspend_1xx()
1445 u32 ctrl_status, cpu_status; in venus_cpu_and_video_core_idle() local
1448 ctrl_status = venus_readl(hdev, CPU_CS_SCIACMDARG0); in venus_cpu_and_video_core_idle()
1451 ctrl_status & CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK) in venus_cpu_and_video_core_idle()
[all …]
/Linux-v5.4/drivers/crypto/virtio/
Dvirtio_crypto_algs.c217 vcrypto->ctrl_status.status = VIRTIO_CRYPTO_ERR; in virtio_crypto_alg_ablkcipher_close_session()
237 sg_init_one(&status_sg, &vcrypto->ctrl_status.status, in virtio_crypto_alg_ablkcipher_close_session()
238 sizeof(vcrypto->ctrl_status.status)); in virtio_crypto_alg_ablkcipher_close_session()
253 if (vcrypto->ctrl_status.status != VIRTIO_CRYPTO_OK) { in virtio_crypto_alg_ablkcipher_close_session()
256 vcrypto->ctrl_status.status, in virtio_crypto_alg_ablkcipher_close_session()
Dvirtio_crypto_common.h70 struct virtio_crypto_inhdr ctrl_status; member
/Linux-v5.4/drivers/dma/
Dimg-mdc-dma.c96 u32 ctrl_status; member
225 ldesc->ctrl_status = MDC_CONTROL_AND_STATUS_LIST_EN | in mdc_list_desc_config()
/Linux-v5.4/include/linux/
Dtty.h315 unsigned long ctrl_status:8, /* ctrl_lock */ member