|
@@ -314,7 +314,7 @@ irqreturn_t hif_pci_legacy_ce_interrupt_handler(int irq, void *arg)
|
|
|
}
|
|
|
|
|
|
/* Clear Legacy PCI line interrupts
|
|
|
- * IMPORTANT: INTR_CLR regiser has to be set
|
|
|
+ * IMPORTANT: INTR_CLR register has to be set
|
|
|
* after INTR_ENABLE is set to 0,
|
|
|
* otherwise interrupt can not be really cleared
|
|
|
*/
|
|
@@ -442,7 +442,7 @@ int hif_get_irq_num(struct hif_opaque_softc *scn, int *irq, uint32_t size)
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * hif_pci_cancel_deferred_target_sleep() - cancels the defered target sleep
|
|
|
+ * hif_pci_cancel_deferred_target_sleep() - cancels the deferred target sleep
|
|
|
* @scn: hif_softc
|
|
|
*
|
|
|
* Return: void
|
|
@@ -582,7 +582,7 @@ static void hif_pci_device_reset(struct hif_pci_softc *sc)
|
|
|
/* CPU warm reset function
|
|
|
* Steps:
|
|
|
* 1. Disable all pending interrupts - so no pending interrupts on WARM reset
|
|
|
- * 2. Clear the FW_INDICATOR_ADDRESS -so Traget CPU initializes FW
|
|
|
+ * 2. Clear the FW_INDICATOR_ADDRESS -so Target CPU initializes FW
|
|
|
* correctly on WARM reset
|
|
|
* 3. Clear TARGET CPU LF timer interrupt
|
|
|
* 4. Reset all CEs to clear any pending CE tarnsactions
|
|
@@ -755,14 +755,14 @@ int hif_check_soc_status(struct hif_opaque_softc *hif_ctx)
|
|
|
RTC_STATE_ADDRESS);
|
|
|
hif_debug("RTC_STATE_ADDRESS is %08x", val);
|
|
|
|
|
|
- /* Try to wake up taget if it sleeps */
|
|
|
+ /* Try to wake up target if it sleeps */
|
|
|
hif_write32_mb(sc, sc->mem + PCIE_LOCAL_BASE_ADDRESS +
|
|
|
PCIE_SOC_WAKE_ADDRESS, PCIE_SOC_WAKE_V_MASK);
|
|
|
hif_debug("PCIE_SOC_WAKE_ADDRESS is %08x",
|
|
|
hif_read32_mb(sc, sc->mem + PCIE_LOCAL_BASE_ADDRESS +
|
|
|
PCIE_SOC_WAKE_ADDRESS));
|
|
|
|
|
|
- /* Check if taget can be woken up */
|
|
|
+ /* Check if target can be woken up */
|
|
|
while (!hif_targ_is_awake(scn, sc->mem)) {
|
|
|
if (timeout_count >= PCIE_WAKE_TIMEOUT) {
|
|
|
hif_err("wake up timeout, %08x, %08x",
|
|
@@ -795,7 +795,7 @@ int hif_check_soc_status(struct hif_opaque_softc *hif_ctx)
|
|
|
* __hif_pci_dump_registers(): dump other PCI debug registers
|
|
|
* @scn: struct hif_softc
|
|
|
*
|
|
|
- * This function dumps pci debug registers. The parrent function
|
|
|
+ * This function dumps pci debug registers. The parent function
|
|
|
* dumps the copy engine registers before calling this function.
|
|
|
*
|
|
|
* Return: void
|
|
@@ -1189,7 +1189,7 @@ static void hif_wake_target_cpu(struct hif_softc *scn)
|
|
|
* @scn: hif_softc
|
|
|
*
|
|
|
* Clear the force wake register. This is done by
|
|
|
- * hif_sleep_entry and cancel defered timer sleep.
|
|
|
+ * hif_sleep_entry and cancel deferred timer sleep.
|
|
|
*/
|
|
|
static void soc_wake_reset(struct hif_softc *scn)
|
|
|
{
|
|
@@ -1836,7 +1836,7 @@ static int hif_enable_pci_nopld(struct hif_pci_softc *sc,
|
|
|
hif_err(
|
|
|
"dev id mismatch, config id = 0x%x, probing id = 0x%x",
|
|
|
device_id, id->device);
|
|
|
- /* pci link is down, so returing with error code */
|
|
|
+ /* pci link is down, so returning with error code */
|
|
|
return -EIO;
|
|
|
}
|
|
|
|
|
@@ -2498,7 +2498,7 @@ int hif_pci_bus_resume(struct hif_softc *scn)
|
|
|
* @scn: hif context
|
|
|
*
|
|
|
* Ensure that if we received the wakeup message before the irq
|
|
|
- * was disabled that the message is pocessed before suspending.
|
|
|
+ * was disabled that the message is processed before suspending.
|
|
|
*
|
|
|
* Return: -EBUSY if we fail to flush the tasklets.
|
|
|
*/
|
|
@@ -2515,7 +2515,7 @@ int hif_pci_bus_suspend_noirq(struct hif_softc *scn)
|
|
|
* @scn: hif context
|
|
|
*
|
|
|
* Ensure that if we received the wakeup message before the irq
|
|
|
- * was disabled that the message is pocessed before suspending.
|
|
|
+ * was disabled that the message is processed before suspending.
|
|
|
*
|
|
|
* Return: -EBUSY if we fail to flush the tasklets.
|
|
|
*/
|
|
@@ -3596,7 +3596,7 @@ static void hif_trigger_timer_irq(struct hif_softc *scn)
|
|
|
* hif_target_sync() : ensure the target is ready
|
|
|
* @scn: hif control structure
|
|
|
*
|
|
|
- * Informs fw that we plan to use legacy interupts so that
|
|
|
+ * Informs fw that we plan to use legacy interrupts so that
|
|
|
* it can begin booting. Ensures that the fw finishes booting
|
|
|
* before continuing. Should be called before trying to write
|
|
|
* to the targets other registers for the first time.
|