Lines Matching refs:command
43 u8 command; member
93 static BOOL SendCommand (u8 command, u8 param);
94 static BOOL SendCommandEx (u8 command, u16 param);
97 static void SetSndexWork (SNDEXCallback cb, void* cbarg, void* dst, u8 command);
192 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_GetMuteAsync()
269 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_GetI2SFrequencyAsync()
347 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_GetDSPMixRateAsync()
427 if (FALSE == SendCommand(sndexWork.command, in SNDEXi_GetVolumeAsync()
591 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_GetDeviceAsync()
671 if (FALSE == SendCommand(sndexWork.command, (u8)mute)) in SNDEXi_SetMuteAsync()
757 if (FALSE == SendCommand(sndexWork.command, (u8)freq)) in SNDEXi_SetI2SFrequencyAsync()
845 if (FALSE == SendCommand(sndexWork.command, (u8)rate)) in SNDEXi_SetDSPMixRateAsync()
927 if (FALSE == SendCommand(sndexWork.command, in SNDEXi_SetVolumeAsync()
1060 if (FALSE == SendCommand(sndexWork.command, (u8)device)) in SNDEXi_SetDeviceAsync()
1150 if (FALSE == SendCommandEx(sndexWork.command, (u16)target)) in SNDEXi_SetIirFilterAsync()
1168 if (FALSE == SendCommandEx(sndexWork.command, pParam->n0)) in SNDEXi_SetIirFilterAsync()
1184 if (FALSE == SendCommandEx(sndexWork.command, pParam->n1)) in SNDEXi_SetIirFilterAsync()
1200 if (FALSE == SendCommandEx(sndexWork.command, pParam->n2)) in SNDEXi_SetIirFilterAsync()
1216 if (FALSE == SendCommandEx(sndexWork.command, pParam->d1)) in SNDEXi_SetIirFilterAsync()
1232 if (FALSE == SendCommandEx(sndexWork.command, pParam->d2)) in SNDEXi_SetIirFilterAsync()
1248 if (FALSE == SendCommandEx(sndexWork.command, 0)) in SNDEXi_SetIirFilterAsync()
1328 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_IsConnectedHeadphoneAsync()
1494 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_PreProcessForShutterSound()
1533 if (FALSE == SendCommand(sndexWork.command, 0)) in SNDEXi_PostProcessForShutterSound()
1555 u8 command = (u8)((data & SNDEX_PXI_COMMAND_MASK) >> SNDEX_PXI_COMMAND_SHIFT); in CommonCallback() local
1560 if (command == SNDEX_PXI_COMMAND_PRESS_VOLSWITCH) in CommonCallback()
1574 || (sndexWork.command != command)) in CommonCallback()
1587 switch (command) in CommonCallback()
1640 if (command == SNDEX_PXI_COMMAND_GET_VOLUME) in CommonCallback()
1690 SendCommand (u8 command, u8 param) in SendCommand() argument
1693 u32 packet = (u32)(((command << SNDEX_PXI_COMMAND_SHIFT) & SNDEX_PXI_COMMAND_MASK) in SendCommand()
1720 SendCommandEx (u8 command, u16 param) in SendCommandEx() argument
1723 u32 packet = (u32)(((command << SNDEX_PXI_COMMAND_SHIFT) & SNDEX_PXI_COMMAND_MASK) in SendCommandEx()
1734 if( command == SNDEX_PXI_COMMAND_SET_IIRFILTER ) in SendCommandEx()
1796 u8 command = sndexWork.command; in ReplyCallback() local
1799 if (sndexWork.command == SNDEX_PXI_COMMAND_SET_IIRFILTER) in ReplyCallback()
1808 if (command == SNDEX_PXI_COMMAND_PRE_PROC_SHUTTER) in ReplyCallback()
1840 SetSndexWork (SNDEXCallback cb, void* cbarg, void* dst, u8 command) in SetSndexWork() argument
1845 sndexWork.command = command; in SetSndexWork()