Lines Matching full:registers

110 		status = readl(&ctrl_info->registers->sis_firmware_status);  in sis_wait_for_ctrl_ready_with_timeout()
116 &ctrl_info->registers->sis_mailbox[7])); in sis_wait_for_ctrl_ready_with_timeout()
151 status = readl(&ctrl_info->registers->sis_firmware_status); in sis_is_firmware_running()
161 readl(&ctrl_info->registers->sis_mailbox[7])); in sis_is_firmware_running()
168 return readl(&ctrl_info->registers->sis_firmware_status) & in sis_is_kernel_up()
174 return readl(&ctrl_info->registers->sis_product_identifier); in sis_get_product_id()
185 struct pqi_ctrl_registers __iomem *registers; in sis_send_sync_cmd() local
191 registers = ctrl_info->registers; in sis_send_sync_cmd()
194 writel(cmd, &registers->sis_mailbox[0]); in sis_send_sync_cmd()
201 writel(params->mailbox[i], &registers->sis_mailbox[i]); in sis_send_sync_cmd()
205 &registers->sis_ctrl_to_host_doorbell_clear); in sis_send_sync_cmd()
208 writel(~0, &registers->sis_interrupt_mask); in sis_send_sync_cmd()
215 readl(&registers->sis_interrupt_mask); in sis_send_sync_cmd()
218 writel(SIS_CMD_READY, &registers->sis_host_to_ctrl_doorbell); in sis_send_sync_cmd()
228 doorbell = readl(&registers->sis_ctrl_to_host_doorbell); in sis_send_sync_cmd()
236 cmd_status = readl(&registers->sis_mailbox[0]); in sis_send_sync_cmd()
250 params->mailbox[i] = readl(&registers->sis_mailbox[i]); in sis_send_sync_cmd()
375 readl(&ctrl_info->registers->sis_host_to_ctrl_doorbell); in sis_wait_for_doorbell_bit_to_clear()
378 if (readl(&ctrl_info->registers->sis_firmware_status) & in sis_wait_for_doorbell_bit_to_clear()
398 writel(bit, &ctrl_info->registers->sis_host_to_ctrl_doorbell); in sis_set_doorbell_bit()
417 if (readl(&ctrl_info->registers->sis_firmware_status) & in sis_shutdown_ctrl()
422 writel(ctrl_shutdown_reason, &ctrl_info->registers->sis_ctrl_shutdown_reason_code); in sis_shutdown_ctrl()
424 writel(SIS_TRIGGER_SHUTDOWN, &ctrl_info->registers->sis_host_to_ctrl_doorbell); in sis_shutdown_ctrl()
439 writel(value, &ctrl_info->registers->sis_driver_scratch); in sis_write_driver_scratch()
445 return readl(&ctrl_info->registers->sis_driver_scratch); in sis_read_driver_scratch()
451 return ((enum sis_fw_triage_status)(readl(&ctrl_info->registers->sis_firmware_status) & in sis_read_firmware_triage_status()
457 return readl(&ctrl_info->registers->sis_firmware_status) & SIS_CTRL_KERNEL_CTRL_LOGGING; in sis_is_ctrl_logging_supported()
467 …return ((enum sis_ctrl_logging_status)((readl(&ctrl_info->registers->sis_firmware_status) & SIS_CT… in sis_read_ctrl_logging_status()
473 &ctrl_info->registers->sis_host_to_ctrl_doorbell); in sis_soft_reset()