File tree Expand file tree Collapse file tree
apollolake/include/platform
baytrail/include/platform
cannonlake/include/platform Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,8 +215,8 @@ int platform_ipc_init(struct ipc *ipc)
215215 iipc -> pm_prepare_D3 = 0 ;
216216
217217 /* configure interrupt */
218- interrupt_register (PLATFORM_IPC_INTERUPT , irq_handler , NULL );
219- interrupt_enable (PLATFORM_IPC_INTERUPT );
218+ interrupt_register (PLATFORM_IPC_INTERRUPT , irq_handler , NULL );
219+ interrupt_enable (PLATFORM_IPC_INTERRUPT );
220220
221221 /* enable IPC interrupts from host */
222222 ipc_write (IPC_DIPCCTL , IPC_DIPCCTL_IPCIDIE | IPC_DIPCCTL_IPCTBIE );
Original file line number Diff line number Diff line change @@ -99,15 +99,15 @@ static void irq_handler(void *arg)
9999
100100 /* Mask Done interrupt before return */
101101 shim_write (SHIM_IMRD , shim_read (SHIM_IMRD ) | SHIM_IMRD_DONE );
102- interrupt_clear (PLATFORM_IPC_INTERUPT );
102+ interrupt_clear (PLATFORM_IPC_INTERRUPT );
103103 do_notify ();
104104 }
105105
106106 if (isr & SHIM_ISRD_BUSY ) {
107107
108108 /* Mask Busy interrupt before return */
109109 shim_write (SHIM_IMRD , shim_read (SHIM_IMRD ) | SHIM_IMRD_BUSY );
110- interrupt_clear (PLATFORM_IPC_INTERUPT );
110+ interrupt_clear (PLATFORM_IPC_INTERRUPT );
111111
112112 /* TODO: place message in Q and process later */
113113 /* It's not Q ATM, may overwrite */
@@ -237,8 +237,8 @@ int platform_ipc_init(struct ipc *ipc)
237237 iipc -> pm_prepare_D3 = 0 ;
238238
239239 /* configure interrupt */
240- interrupt_register (PLATFORM_IPC_INTERUPT , irq_handler , NULL );
241- interrupt_enable (PLATFORM_IPC_INTERUPT );
240+ interrupt_register (PLATFORM_IPC_INTERRUPT , irq_handler , NULL );
241+ interrupt_enable (PLATFORM_IPC_INTERRUPT );
242242
243243 /* Unmask Busy and Done interrupts */
244244 imrd = shim_read (SHIM_IMRD );
Original file line number Diff line number Diff line change @@ -216,8 +216,8 @@ int platform_ipc_init(struct ipc *ipc)
216216 iipc -> pm_prepare_D3 = 0 ;
217217
218218 /* configure interrupt */
219- interrupt_register (PLATFORM_IPC_INTERUPT , irq_handler , NULL );
220- interrupt_enable (PLATFORM_IPC_INTERUPT );
219+ interrupt_register (PLATFORM_IPC_INTERRUPT , irq_handler , NULL );
220+ interrupt_enable (PLATFORM_IPC_INTERRUPT );
221221
222222 /* enable IPC interrupts from host */
223223 ipc_write (IPC_DIPCCTL , IPC_DIPCCTL_IPCIDIE | IPC_DIPCCTL_IPCTBIE );
Original file line number Diff line number Diff line change @@ -99,15 +99,15 @@ static void irq_handler(void *arg)
9999
100100 /* Mask Done interrupt before return */
101101 shim_write (SHIM_IMRD , shim_read (SHIM_IMRD ) | SHIM_IMRD_DONE );
102- interrupt_clear (PLATFORM_IPC_INTERUPT );
102+ interrupt_clear (PLATFORM_IPC_INTERRUPT );
103103 do_notify ();
104104 }
105105
106106 if (isr & SHIM_ISRD_BUSY ) {
107107
108108 /* Mask Busy interrupt before return */
109109 shim_write (SHIM_IMRD , shim_read (SHIM_IMRD ) | SHIM_IMRD_BUSY );
110- interrupt_clear (PLATFORM_IPC_INTERUPT );
110+ interrupt_clear (PLATFORM_IPC_INTERRUPT );
111111
112112 /* TODO: place message in Q and process later */
113113 /* It's not Q ATM, may overwrite */
@@ -232,8 +232,8 @@ int platform_ipc_init(struct ipc *ipc)
232232 iipc -> pm_prepare_D3 = 0 ;
233233
234234 /* configure interrupt */
235- interrupt_register (PLATFORM_IPC_INTERUPT , irq_handler , NULL );
236- interrupt_enable (PLATFORM_IPC_INTERUPT );
235+ interrupt_register (PLATFORM_IPC_INTERRUPT , irq_handler , NULL );
236+ interrupt_enable (PLATFORM_IPC_INTERRUPT );
237237
238238 /* Unmask Busy and Done interrupts */
239239 imrd = shim_read (SHIM_IMRD );
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ struct sof;
5252#define PLATFORM_IDC_INTERRUPT (x ) IRQ_EXT_IDC_LVL2(x)
5353
5454/* IPC Interrupt */
55- #define PLATFORM_IPC_INTERUPT IRQ_EXT_IPC_LVL2(0)
55+ #define PLATFORM_IPC_INTERRUPT IRQ_EXT_IPC_LVL2(0)
5656
5757/* pipeline IRQ */
5858#define PLATFORM_SCHEDULE_IRQ IRQ_NUM_SOFTWARE4
Original file line number Diff line number Diff line change 4141struct sof ;
4242
4343/* IPC Interrupt */
44- #define PLATFORM_IPC_INTERUPT IRQ_NUM_EXT_IA
44+ #define PLATFORM_IPC_INTERRUPT IRQ_NUM_EXT_IA
4545
4646/* Host page size */
4747#define HOST_PAGE_SIZE 4096
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ struct sof;
5858#define PLATFORM_IDC_INTERRUPT (x ) IRQ_EXT_IDC_LVL2(x)
5959
6060/* IPC Interrupt */
61- #define PLATFORM_IPC_INTERUPT IRQ_EXT_IPC_LVL2(0)
61+ #define PLATFORM_IPC_INTERRUPT IRQ_EXT_IPC_LVL2(0)
6262
6363/* pipeline IRQ */
6464#define PLATFORM_SCHEDULE_IRQ IRQ_NUM_SOFTWARE4
Original file line number Diff line number Diff line change 4040struct sof ;
4141
4242/* IPC Interrupt */
43- #define PLATFORM_IPC_INTERUPT IRQ_NUM_EXT_IA
43+ #define PLATFORM_IPC_INTERRUPT IRQ_NUM_EXT_IA
4444
4545/* Host page size */
4646#define HOST_PAGE_SIZE 4096
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ struct sof;
5858#define PLATFORM_IDC_INTERRUPT (x ) IRQ_EXT_IDC_LVL2(x)
5959
6060/* IPC Interrupt */
61- #define PLATFORM_IPC_INTERUPT IRQ_EXT_IPC_LVL2(0)
61+ #define PLATFORM_IPC_INTERRUPT IRQ_EXT_IPC_LVL2(0)
6262
6363/* pipeline IRQ */
6464#define PLATFORM_SCHEDULE_IRQ IRQ_NUM_SOFTWARE4
You can’t perform that action at this time.
0 commit comments