Home
last modified time | relevance | path

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

/linux-6.15/drivers/media/platform/qcom/iris/
H A Diris_vpu_common.c112 u32 ctrl_init = BIT(0), ctrl_status = 0, count = 0, max_tries = 1000; in iris_vpu_boot_firmware() local
119 while (!ctrl_status && count < max_tries) { in iris_vpu_boot_firmware()
120 ctrl_status = readl(core->reg_base + CTRL_STATUS); in iris_vpu_boot_firmware()
121 if ((ctrl_status & CTRL_ERROR_STATUS__M) == 0x4) { in iris_vpu_boot_firmware()
174 u32 ctrl_status, val = 0; in iris_vpu_prepare_pc() local
177 ctrl_status = readl(core->reg_base + CTRL_STATUS); in iris_vpu_prepare_pc()
178 pc_ready = ctrl_status & CTRL_STATUS_PC_READY; in iris_vpu_prepare_pc()
179 idle_status = ctrl_status & BIT(30); in iris_vpu_prepare_pc()
205 ctrl_status = readl(core->reg_base + CTRL_STATUS); in iris_vpu_prepare_pc()
209 wfi_status, idle_status, pc_ready, ctrl_status); in iris_vpu_prepare_pc()
/linux-6.15/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()
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()
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()
830 readl(&ha->reg->ctrl_status); in qla4xxx_start_firmware()
832 &ha->reg->ctrl_status); in qla4xxx_start_firmware()
[all …]
H A Dql4_dbg.c56 (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()
H A Dql4_os.c4670 uint32_t ctrl_status; in qla4xxx_hw_reset() local
4684 ctrl_status = readw(&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 = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4732 readl(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4740 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4756 ctrl_status = readw(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4759 readl(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
4773 readl(&ha->reg->ctrl_status); in qla4xxx_soft_reset()
[all …]
H A 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()
H A Dql4_fw.h108 __le32 ctrl_status; member
/linux-6.15/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c166 struct virtio_crypto_inhdr *ctrl_status; in virtio_crypto_alg_akcipher_close_session() local
176 ctrl_status = &vc_ctrl_req->ctrl_status; in virtio_crypto_alg_akcipher_close_session()
177 ctrl_status->status = VIRTIO_CRYPTO_ERR; in virtio_crypto_alg_akcipher_close_session()
188 sg_init_one(&inhdr_sg, &ctrl_status->status, sizeof(ctrl_status->status)); in virtio_crypto_alg_akcipher_close_session()
195 if (ctrl_status->status != VIRTIO_CRYPTO_OK) { in virtio_crypto_alg_akcipher_close_session()
197 ctrl_status->status, destroy_session->session_id); in virtio_crypto_alg_akcipher_close_session()
H A Dvirtio_crypto_skcipher_algs.c200 struct virtio_crypto_inhdr *ctrl_status; in virtio_crypto_alg_skcipher_close_session() local
207 ctrl_status = &vc_ctrl_req->ctrl_status; in virtio_crypto_alg_skcipher_close_session()
208 ctrl_status->status = VIRTIO_CRYPTO_ERR; in virtio_crypto_alg_skcipher_close_session()
226 sg_init_one(&status_sg, &ctrl_status->status, sizeof(ctrl_status->status)); in virtio_crypto_alg_skcipher_close_session()
233 if (ctrl_status->status != VIRTIO_CRYPTO_OK) { in virtio_crypto_alg_skcipher_close_session()
235 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
/linux-6.15/drivers/scsi/qla2xxx/
H A Dqla_sup.c1217 wrt_reg_dword(&reg->ctrl_status, in qla24xx_unprotect_flash()
1260 wrt_reg_dword(&reg->ctrl_status, in qla24xx_protect_flash()
1486 wrt_reg_dword(&reg->ctrl_status, in qla24xx_write_nvram_data()
1510 wrt_reg_dword(&reg->ctrl_status, in qla24xx_write_nvram_data()
1990 data = rd_reg_word(&reg->ctrl_status); in qla2x00_flash_enable()
1992 wrt_reg_word(&reg->ctrl_status, data); in qla2x00_flash_enable()
2006 data = rd_reg_word(&reg->ctrl_status); in qla2x00_flash_disable()
2008 wrt_reg_word(&reg->ctrl_status, data); in qla2x00_flash_disable()
2028 bank_select = rd_reg_word(&reg->ctrl_status); in qla2x00_read_flash_byte()
2036 wrt_reg_word(&reg->ctrl_status, bank_select); in qla2x00_read_flash_byte()
[all …]
H A Dqla_dbg.c343 wrt_reg_dword(&reg->ctrl_status, in qla24xx_soft_reset()
351 if ((rd_reg_dword(&reg->ctrl_status) & 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, 0x10); in qla2300_fw_dump()
842 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2300_fw_dump()
845 wrt_reg_word(&reg->ctrl_status, 0x30); in qla2300_fw_dump()
851 if ((rd_reg_word(&reg->ctrl_status) & in qla2300_fw_dump()
954 wrt_reg_word(&reg->ctrl_status, 0x00); in qla2100_fw_dump()
[all …]
H A Dqla_init.c2960 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2300_pci_config()
2961 rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
2970 wrt_reg_word(&reg->ctrl_status, 0x0); in qla2300_pci_config()
2971 rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
3153 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2x00_reset_chip()
3167 wrt_reg_word(&reg->ctrl_status, 0x10); in qla2x00_reset_chip()
3186 wrt_reg_word(&reg->ctrl_status, 0); in qla2x00_reset_chip()
3350 rd_reg_dword(&reg->ctrl_status), in qla24xx_reset_risc()
3353 wrt_reg_dword(&reg->ctrl_status, in qla24xx_reset_risc()
3379 rd_reg_dword(&reg->ctrl_status); in qla24xx_reset_risc()
[all …]
H A Dqla_fw.h1172 __le32 ctrl_status; /* Control/Status. */ member
H A Dqla_def.h822 __le16 ctrl_status; /* Control/Status */ member
H A Dqla_mbx.c594 rd_reg_word(&reg->isp.ctrl_status), in qla2x00_mailbox_command()
/linux-6.15/drivers/media/platform/qcom/venus/
H A Dhfi_venus.c466 u32 ctrl_status = 0, mask_val = 0; in venus_boot_core() local
485 while (!ctrl_status && count < max_tries) { in venus_boot_core()
486 ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0); in venus_boot_core()
1474 u32 ctrl_status; in venus_suspend_1xx() local
1508 ctrl_status = readl(cpu_cs_base + CPU_CS_SCIACMDARG0); in venus_suspend_1xx()
1509 if (!(ctrl_status & CPU_CS_SCIACMDARG0_PC_READY)) { in venus_suspend_1xx()
1532 u32 ctrl_status, cpu_status; in venus_cpu_and_video_core_idle() local
1552 u32 ctrl_status, cpu_status; in venus_cpu_idle_and_pc_ready() local
1561 ctrl_status & CPU_CS_SCIACMDARG0_PC_READY) in venus_cpu_idle_and_pc_ready()
1572 u32 ctrl_status; in venus_suspend_3xx() local
[all …]
/linux-6.15/drivers/dma/
H A Dimg-mdc-dma.c95 u32 ctrl_status; member
224 ldesc->ctrl_status = MDC_CONTROL_AND_STATUS_LIST_EN | in mdc_list_desc_config()