Lines Matching refs:aifcmd

1027 static inline int aac_aif_data(struct aac_aifcmd *aifcmd, uint32_t index)  in aac_aif_data()  argument
1029 return le32_to_cpu(((__le32 *)aifcmd->data)[index]); in aac_aif_data()
1033 static void aac_handle_aif_bu(struct aac_dev *dev, struct aac_aifcmd *aifcmd) in aac_handle_aif_bu() argument
1035 switch (aac_aif_data(aifcmd, 1)) { in aac_handle_aif_bu()
1037 if (aac_aif_data(aifcmd, 2)) in aac_handle_aif_bu()
1039 aac_aif_data(aifcmd, 2)); in aac_handle_aif_bu()
1044 if (aac_aif_data(aifcmd, 2)) in aac_handle_aif_bu()
1046 aac_aif_data(aifcmd, 2)); in aac_handle_aif_bu()
1065 struct aac_aifcmd * aifcmd = (struct aac_aifcmd *)hw_fib->data; in aac_handle_aif() local
1087 switch (le32_to_cpu(aifcmd->command)) { in aac_handle_aif()
1089 switch (le32_to_cpu(((__le32 *)aifcmd->data)[0])) { in aac_handle_aif()
1091 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1117 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1150 le32_to_cpu(*(__le32 *)aifcmd->data)) && in aac_handle_aif()
1156 le32_to_cpu(*(__le32 *)aifcmd->data)) && in aac_handle_aif()
1163 switch (le32_to_cpu(((__le32 *)aifcmd->data)[0])) { in aac_handle_aif()
1166 (((__le32 *)aifcmd->data)[1] == cpu_to_le32(3)); in aac_handle_aif()
1172 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1185 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1199 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1216 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1235 (((__le32 *)aifcmd->data)[0] == in aac_handle_aif()
1256 switch (le32_to_cpu(((__le32 *)aifcmd->data)[3])) { in aac_handle_aif()
1262 ((__le32 *)aifcmd->data)[2]); in aac_handle_aif()
1286 ((((__le32 *)aifcmd->data)[3] in aac_handle_aif()
1288 (((__le32 *)aifcmd->data)[3] in aac_handle_aif()
1295 aac_handle_aif_bu(dev, aifcmd); in aac_handle_aif()
1307 le32_to_cpu(*(__le32 *)aifcmd->data)) && in aac_handle_aif()
1313 le32_to_cpu(*(__le32 *)aifcmd->data)) && in aac_handle_aif()
1328 if (((__le32 *)aifcmd->data)[1] == cpu_to_le32(AifJobCtrZero) && in aac_handle_aif()
1329 (((__le32 *)aifcmd->data)[6] == ((__le32 *)aifcmd->data)[5] || in aac_handle_aif()
1330 ((__le32 *)aifcmd->data)[4] == cpu_to_le32(AifJobStsSuccess))) { in aac_handle_aif()
1345 if (((__le32 *)aifcmd->data)[1] == cpu_to_le32(AifJobCtrZero) && in aac_handle_aif()
1346 ((__le32 *)aifcmd->data)[6] == 0 && in aac_handle_aif()
1347 ((__le32 *)aifcmd->data)[4] == cpu_to_le32(AifJobStsRunning)) { in aac_handle_aif()
2170 struct aac_aifcmd *aifcmd; in aac_process_events() local
2207 aifcmd = (struct aac_aifcmd *) hw_fib->data; in aac_process_events()
2208 if (aifcmd->command == cpu_to_le32(AifCmdDriverNotify)) { in aac_process_events()
2221 if (aifcmd->command == cpu_to_le32(AifCmdEventNotify) in aac_process_events()
2222 || aifcmd->command == cpu_to_le32(AifCmdJobProgress)) { in aac_process_events()