Home
last modified time | relevance | path

Searched refs:ctrl_status (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
H A Dql4_inline.h45 writel(set_rmask(CSR_SCSI_INTR_ENABLE), &ha->reg->ctrl_status); in __qla4xxx_enable_intrs()
46 readl(&ha->reg->ctrl_status); in __qla4xxx_enable_intrs()
59 writel(clr_rmask(CSR_SCSI_INTR_ENABLE), &ha->reg->ctrl_status); in __qla4xxx_disable_intrs()
60 readl(&ha->reg->ctrl_status); in __qla4xxx_disable_intrs()
H A Dql4_init.c20 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()
[all...]
H A Dql4_dbg.c55 printk(KERN_INFO "0x%02X ctrl_status = 0x%08X\n", in qla4xxx_dump_registers()
56 (uint8_t) offsetof(struct isp_reg, ctrl_status), in qla4xxx_dump_registers()
57 readw(&ha->reg->ctrl_status)); in qla4xxx_dump_registers()
125 &ha->reg->ctrl_status); in qla4xxx_dump_registers()
130 &ha->reg->ctrl_status); in qla4xxx_dump_registers()
H A Dql4_isr.c1091 &ha->reg->ctrl_status); in qla4xxx_interrupt_service_routine()
1092 readl(&ha->reg->ctrl_status); in qla4xxx_interrupt_service_routine()
1152 intr_status = readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1173 if ((readl(&ha->reg->ctrl_status) & in qla4xxx_intr_handler()
1176 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1177 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1181 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1182 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1194 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1195 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
[all...]
H A Dql4_os.c308 reg_val = readw(&ha->reg->ctrl_status); in qla4xxx_isp_check_reg()
4679 uint32_t ctrl_status; in qla4xxx_hw_reset() local
4693 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
4694 if ((ctrl_status & CSR_SCSI_RESET_INTR) != 0) in qla4xxx_hw_reset()
4695 writel(set_rmask(CSR_SCSI_RESET_INTR), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
4698 writel(set_rmask(CSR_SOFT_RESET), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
4699 readl(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
4714 uint32_t ctrl_status; in qla4xxx_soft_reset() local
4725 ctrl_status in qla4xxx_soft_reset()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla4xxx/
H A Dql4_inline.h45 writel(set_rmask(CSR_SCSI_INTR_ENABLE), &ha->reg->ctrl_status); in __qla4xxx_enable_intrs()
46 readl(&ha->reg->ctrl_status); in __qla4xxx_enable_intrs()
59 writel(clr_rmask(CSR_SCSI_INTR_ENABLE), &ha->reg->ctrl_status); in __qla4xxx_disable_intrs()
60 readl(&ha->reg->ctrl_status); in __qla4xxx_disable_intrs()
H A Dql4_init.c20 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()
[all...]
H A Dql4_dbg.c55 printk(KERN_INFO "0x%02X ctrl_status = 0x%08X\n", in qla4xxx_dump_registers()
56 (uint8_t) offsetof(struct isp_reg, ctrl_status), in qla4xxx_dump_registers()
57 readw(&ha->reg->ctrl_status)); in qla4xxx_dump_registers()
125 &ha->reg->ctrl_status); in qla4xxx_dump_registers()
130 &ha->reg->ctrl_status); in qla4xxx_dump_registers()
H A Dql4_isr.c1089 &ha->reg->ctrl_status); in qla4xxx_interrupt_service_routine()
1090 readl(&ha->reg->ctrl_status); in qla4xxx_interrupt_service_routine()
1150 intr_status = readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1171 if ((readl(&ha->reg->ctrl_status) & in qla4xxx_intr_handler()
1174 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1175 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1179 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1180 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
1192 &ha->reg->ctrl_status); in qla4xxx_intr_handler()
1193 readl(&ha->reg->ctrl_status); in qla4xxx_intr_handler()
[all...]
H A Dql4_os.c309 reg_val = readw(&ha->reg->ctrl_status); in qla4xxx_isp_check_reg()
4670 uint32_t ctrl_status; in qla4xxx_hw_reset() local
4684 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
4685 if ((ctrl_status & CSR_SCSI_RESET_INTR) != 0) in qla4xxx_hw_reset()
4686 writel(set_rmask(CSR_SCSI_RESET_INTR), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
4689 writel(set_rmask(CSR_SOFT_RESET), &ha->reg->ctrl_status); in qla4xxx_hw_reset()
4690 readl(&ha->reg->ctrl_status); in qla4xxx_hw_reset()
4705 uint32_t ctrl_status; in qla4xxx_soft_reset() local
4716 ctrl_status in qla4xxx_soft_reset()
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dhfi_venus.c444 u32 ctrl_status = 0, mask_val; in venus_boot_core() local
461 while (!ctrl_status && count < max_tries) { in venus_boot_core()
462 ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0); in venus_boot_core()
463 if ((ctrl_status & CPU_CS_SCIACMDARG0_ERROR_STATUS_MASK) == 4) { in venus_boot_core()
1404 u32 ctrl_status; in venus_suspend_1xx() local
1438 ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0); in venus_suspend_1xx()
1439 if (!(ctrl_status & CPU_CS_SCIACMDARG0_PC_READY)) { in venus_suspend_1xx()
1461 u32 ctrl_status, cpu_status; in venus_cpu_and_video_core_idle() local
1464 ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0); in venus_cpu_and_video_core_idle()
1467 ctrl_status in venus_cpu_and_video_core_idle()
1477 u32 ctrl_status, cpu_status; venus_cpu_idle_and_pc_ready() local
1494 u32 ctrl_status; venus_suspend_3xx() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c171 struct virtio_crypto_inhdr *ctrl_status; in virtio_crypto_alg_akcipher_close_session() local
181 ctrl_status = &vc_ctrl_req->ctrl_status; in virtio_crypto_alg_akcipher_close_session()
182 ctrl_status->status = VIRTIO_CRYPTO_ERR; in virtio_crypto_alg_akcipher_close_session()
193 sg_init_one(&inhdr_sg, &ctrl_status->status, sizeof(ctrl_status->status)); in virtio_crypto_alg_akcipher_close_session()
200 if (ctrl_status->status != VIRTIO_CRYPTO_OK) { in virtio_crypto_alg_akcipher_close_session()
202 ctrl_status->status, destroy_session->session_id); in virtio_crypto_alg_akcipher_close_session()
H A Dvirtio_crypto_algs.c205 struct virtio_crypto_inhdr *ctrl_status; in virtio_crypto_alg_skcipher_close_session() local
212 ctrl_status = &vc_ctrl_req->ctrl_status; in virtio_crypto_alg_skcipher_close_session()
213 ctrl_status->status = VIRTIO_CRYPTO_ERR; in virtio_crypto_alg_skcipher_close_session()
231 sg_init_one(&status_sg, &ctrl_status->status, sizeof(ctrl_status->status)); in virtio_crypto_alg_skcipher_close_session()
238 if (ctrl_status->status != VIRTIO_CRYPTO_OK) { in virtio_crypto_alg_skcipher_close_session()
240 ctrl_status->status, destroy_session->session_id); in virtio_crypto_alg_skcipher_close_session()
H A Dvirtio_crypto_common.h94 struct virtio_crypto_inhdr ctrl_status; member
/kernel/linux/linux-6.6/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c175 struct virtio_crypto_inhdr *ctrl_status; in virtio_crypto_alg_akcipher_close_session() local
185 ctrl_status = &vc_ctrl_req->ctrl_status; in virtio_crypto_alg_akcipher_close_session()
186 ctrl_status->status = VIRTIO_CRYPTO_ERR; in virtio_crypto_alg_akcipher_close_session()
197 sg_init_one(&inhdr_sg, &ctrl_status->status, sizeof(ctrl_status->status)); in virtio_crypto_alg_akcipher_close_session()
204 if (ctrl_status->status != VIRTIO_CRYPTO_OK) { in virtio_crypto_alg_akcipher_close_session()
206 ctrl_status->status, destroy_session->session_id); in virtio_crypto_alg_akcipher_close_session()
H A Dvirtio_crypto_skcipher_algs.c202 struct virtio_crypto_inhdr *ctrl_status; in virtio_crypto_alg_skcipher_close_session() local
209 ctrl_status = &vc_ctrl_req->ctrl_status; in virtio_crypto_alg_skcipher_close_session()
210 ctrl_status->status = VIRTIO_CRYPTO_ERR; in virtio_crypto_alg_skcipher_close_session()
228 sg_init_one(&status_sg, &ctrl_status->status, sizeof(ctrl_status->status)); in virtio_crypto_alg_skcipher_close_session()
235 if (ctrl_status->status != VIRTIO_CRYPTO_OK) { in virtio_crypto_alg_skcipher_close_session()
237 ctrl_status->status, destroy_session->session_id); in virtio_crypto_alg_skcipher_close_session()
H A Dvirtio_crypto_common.h97 struct virtio_crypto_inhdr ctrl_status; member
/kernel/linux/linux-5.10/drivers/tty/
H A Dpty.c180 tty->link->ctrl_status = 0; in pty_set_pktmode()
225 tty->ctrl_status |= TIOCPKT_FLUSHWRITE; in pty_flush_buffer()
268 tty->ctrl_status &= ~(TIOCPKT_DOSTOP | TIOCPKT_NOSTOP); in pty_set_termios()
270 tty->ctrl_status |= TIOCPKT_DOSTOP; in pty_set_termios()
272 tty->ctrl_status |= TIOCPKT_NOSTOP; in pty_set_termios()
275 tty->ctrl_status |= TIOCPKT_IOCTL; in pty_set_termios()
339 tty->ctrl_status &= ~TIOCPKT_STOP; in pty_start()
340 tty->ctrl_status |= TIOCPKT_START; in pty_start()
352 tty->ctrl_status &= ~TIOCPKT_START; in pty_stop()
353 tty->ctrl_status | in pty_stop()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_sup.c1201 wrt_reg_dword(&reg->ctrl_status, in qla24xx_unprotect_flash()
1202 rd_reg_dword(&reg->ctrl_status) | CSRX_FLASH_ENABLE); in qla24xx_unprotect_flash()
1203 rd_reg_dword(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_unprotect_flash()
1244 wrt_reg_dword(&reg->ctrl_status, in qla24xx_protect_flash()
1245 rd_reg_dword(&reg->ctrl_status) & ~CSRX_FLASH_ENABLE); in qla24xx_protect_flash()
1470 wrt_reg_dword(&reg->ctrl_status, in qla24xx_write_nvram_data()
1471 rd_reg_dword(&reg->ctrl_status) | CSRX_FLASH_ENABLE); in qla24xx_write_nvram_data()
1472 rd_reg_dword(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_write_nvram_data()
1494 wrt_reg_dword(&reg->ctrl_status, in qla24xx_write_nvram_data()
1495 rd_reg_dword(&reg->ctrl_status) in qla24xx_write_nvram_data()
[all...]
H A Dqla_dbg.c334 wrt_reg_dword(&reg->ctrl_status, CSRX_DMA_SHUTDOWN|MWB_4096_BYTES); in qla24xx_soft_reset()
336 if ((rd_reg_dword(&reg->ctrl_status) & CSRX_DMA_ACTIVE) == 0) in qla24xx_soft_reset()
341 if (!(rd_reg_dword(&reg->ctrl_status) & CSRX_DMA_ACTIVE)) in qla24xx_soft_reset()
344 wrt_reg_dword(&reg->ctrl_status, in qla24xx_soft_reset()
352 if ((rd_reg_dword(&reg->ctrl_status) & in qla24xx_soft_reset()
358 if (!(rd_reg_dword(&reg->ctrl_status) & CSRX_ISP_SOFT_RESET)) in qla24xx_soft_reset()
804 wrt_reg_word(&reg->ctrl_status, 0x40); in qla2300_fw_dump()
807 wrt_reg_word(&reg->ctrl_status, 0x50); in qla2300_fw_dump()
810 wrt_reg_word(&reg->ctrl_status, 0x00); in qla2300_fw_dump()
840 wrt_reg_word(&reg->ctrl_status, in qla2300_fw_dump()
[all...]
H A Dqla_init.c2474 ha->pci_attr = rd_reg_word(&reg->ctrl_status); in qla2100_pci_config()
2525 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2300_pci_config()
2526 rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
2535 wrt_reg_word(&reg->ctrl_status, 0x0); in qla2300_pci_config()
2536 rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
2556 ha->pci_attr = rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
2600 ha->pci_attr = rd_reg_dword(&reg->ctrl_status); in qla24xx_pci_config()
2718 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2x00_reset_chip()
2719 rd_reg_word(&reg->ctrl_status); /* PCI Posting. */ in qla2x00_reset_chip()
2732 wrt_reg_word(&reg->ctrl_status, in qla2x00_reset_chip()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_sup.c1201 wrt_reg_dword(&reg->ctrl_status, in qla24xx_unprotect_flash()
1202 rd_reg_dword(&reg->ctrl_status) | CSRX_FLASH_ENABLE); in qla24xx_unprotect_flash()
1203 rd_reg_dword(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_unprotect_flash()
1244 wrt_reg_dword(&reg->ctrl_status, in qla24xx_protect_flash()
1245 rd_reg_dword(&reg->ctrl_status) & ~CSRX_FLASH_ENABLE); in qla24xx_protect_flash()
1470 wrt_reg_dword(&reg->ctrl_status, in qla24xx_write_nvram_data()
1471 rd_reg_dword(&reg->ctrl_status) | CSRX_FLASH_ENABLE); in qla24xx_write_nvram_data()
1472 rd_reg_dword(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_write_nvram_data()
1494 wrt_reg_dword(&reg->ctrl_status, in qla24xx_write_nvram_data()
1495 rd_reg_dword(&reg->ctrl_status) in qla24xx_write_nvram_data()
[all...]
H A Dqla_dbg.c333 wrt_reg_dword(&reg->ctrl_status, CSRX_DMA_SHUTDOWN|MWB_4096_BYTES); in qla24xx_soft_reset()
335 if ((rd_reg_dword(&reg->ctrl_status) & CSRX_DMA_ACTIVE) == 0) in qla24xx_soft_reset()
340 if (!(rd_reg_dword(&reg->ctrl_status) & CSRX_DMA_ACTIVE)) in qla24xx_soft_reset()
343 wrt_reg_dword(&reg->ctrl_status, in qla24xx_soft_reset()
351 if ((rd_reg_dword(&reg->ctrl_status) & in qla24xx_soft_reset()
357 if (!(rd_reg_dword(&reg->ctrl_status) & CSRX_ISP_SOFT_RESET)) in qla24xx_soft_reset()
803 wrt_reg_word(&reg->ctrl_status, 0x40); in qla2300_fw_dump()
806 wrt_reg_word(&reg->ctrl_status, 0x50); in qla2300_fw_dump()
809 wrt_reg_word(&reg->ctrl_status, 0x00); in qla2300_fw_dump()
839 wrt_reg_word(&reg->ctrl_status, in qla2300_fw_dump()
[all...]
H A Dqla_init.c2859 ha->pci_attr = rd_reg_word(&reg->ctrl_status); in qla2100_pci_config()
2910 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2300_pci_config()
2911 rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
2920 wrt_reg_word(&reg->ctrl_status, 0x0); in qla2300_pci_config()
2921 rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
2941 ha->pci_attr = rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
2985 ha->pci_attr = rd_reg_dword(&reg->ctrl_status); in qla24xx_pci_config()
3103 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2x00_reset_chip()
3104 rd_reg_word(&reg->ctrl_status); /* PCI Posting. */ in qla2x00_reset_chip()
3117 wrt_reg_word(&reg->ctrl_status, in qla2x00_reset_chip()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dhfi_venus.c460 u32 ctrl_status = 0, mask_val = 0; in venus_boot_core() local
479 while (!ctrl_status && count < max_tries) { in venus_boot_core()
480 ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0); in venus_boot_core()
481 if ((ctrl_status & CPU_CS_SCIACMDARG0_ERROR_STATUS_MASK) == 4) { in venus_boot_core()
1470 u32 ctrl_status; in venus_suspend_1xx() local
1504 ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0); in venus_suspend_1xx()
1505 if (!(ctrl_status & CPU_CS_SCIACMDARG0_PC_READY)) { in venus_suspend_1xx()
1528 u32 ctrl_status, cpu_status; in venus_cpu_and_video_core_idle() local
1534 ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0); in venus_cpu_and_video_core_idle()
1537 ctrl_status in venus_cpu_and_video_core_idle()
1548 u32 ctrl_status, cpu_status; venus_cpu_idle_and_pc_ready() local
1568 u32 ctrl_status; venus_suspend_3xx() local
[all...]

Completed in 46 milliseconds

12