Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 20 of 20) sorted by relevance

/TwlSDK-5.1.0/build/libraries/snd/common/src/
Dsnd_util.c315 int shift = 0; // Shift amount in SND_CalcTimer() local
320 shift--; in SND_CalcTimer()
325 shift++; in SND_CalcTimer()
338 shift -= SND_PITCH_TABLE_SHIFT; in SND_CalcTimer()
339 if (shift <= 0) in SND_CalcTimer()
341 timer >>= -shift; in SND_CalcTimer()
343 else if (shift < 32) in SND_CalcTimer()
345 const u64 mask = (0xffffffffffffffff << (32 - shift)); in SND_CalcTimer()
353 timer <<= shift; in SND_CalcTimer()
385 SNDChannelDataShift shift; in SND_CalcChannelVolume() local
[all …]
Dsnd_work.c277 const SNDChannelDataShift shift = in SND_ReadChannelInfo() local
283 switch (shift) in SND_ReadChannelInfo()
311 const SNDChannelDataShift shift = (SNDChannelDataShift)(chp->volume >> 8); in SND_ReadChannelInfo() local
315 switch (shift) in SND_ReadChannelInfo()
Dsnd_command.c43 #define UNPACK_COMMAND( arg, shift, bit ) ( ( (arg) >> (shift) ) & ( ( 1 << (bit) ) - 1 ) ) argument
90 static void SetChannelVolume(u32 chBitMask, int volume, SNDChannelDataShift shift);
1041 static void SetChannelVolume(u32 chBitMask, int volume, SNDChannelDataShift shift) in SetChannelVolume() argument
1049 SND_SetChannelVolume(ch, volume, shift); in SetChannelVolume()
/TwlSDK-5.1.0/include/nitro/snd/common/
Dchannel.h234 int loopLen, int volume, SNDChannelDataShift shift, int timer, int pan);
237 int volume, SNDChannelDataShift shift, int timer, int pan);
238 void SND_SetupChannelNoise(int chNo, int volume, SNDChannelDataShift shift, int timer, int pan);
242 void SND_SetChannelVolume(int chNo, int volume, SNDChannelDataShift shift);
/TwlSDK-5.1.0/include/nitro/snd/ARM9/
Dinterface.h96 int loopLen, int volume, SNDChannelDataShift shift, int timer, int pan);
99 int volume, SNDChannelDataShift shift, int timer, int pan);
100 void SND_SetupChannelNoise(int chNo, int volume, SNDChannelDataShift shift, int timer, int pan);
102 void SND_SetChannelVolume(u32 chBitMask, int volume, SNDChannelDataShift shift);
/TwlSDK-5.1.0/build/libraries/snd/ARM9/src/
Dsnd_interface.c305 void SND_SetChannelVolume(u32 chBitMask, int volume, SNDChannelDataShift shift) in SND_SetChannelVolume() argument
307 PushCommand(SND_COMMAND_CHANNEL_VOLUME, chBitMask, volume, shift, 0); in SND_SetChannelVolume()
320 int loopLen, int volume, SNDChannelDataShift shift, int timer, int pan) in SND_SetupChannelPcm() argument
325 volume << 24 | shift << 22 | loopLen, in SND_SetupChannelPcm()
330 SNDDuty duty, int volume, SNDChannelDataShift shift, int timer, int pan) in SND_SetupChannelPsg() argument
332 PushCommand(SND_COMMAND_SETUP_CHANNEL_PSG, chNo, shift << 8 | volume, timer << 8 | pan, duty); in SND_SetupChannelPsg()
335 void SND_SetupChannelNoise(int chNo, int volume, SNDChannelDataShift shift, int timer, int pan) in SND_SetupChannelNoise() argument
337 PushCommand(SND_COMMAND_SETUP_CHANNEL_NOISE, chNo, shift << 8 | volume, timer << 8 | pan, 0); in SND_SetupChannelNoise()
/TwlSDK-5.1.0/include/twl/scfg/common/
Dscfg.h881 int shift = 2; in SCFG_GetCardDetectMode() local
882 return (SCFGCardDetectMode)((reg_MI_MC & (SCFG_CARD_DETECT_MODE_MASK << shift) ) >> shift); in SCFG_GetCardDetectMode()
899 int shift = 0; in SCFG_GetCardDetectForChattering() local
900 …rn (SCFGCardDetectChattering)((reg_MI_MC & (SCFG_CARD_DETECT_CHATTERING_MASK << shift) ) >> shift); in SCFG_GetCardDetectForChattering()
/TwlSDK-5.1.0/build/demos/os/tick-1/src/
Dmain.c26 inline int ObjChar(u32 cnt, int shift) in ObjChar() argument
28 u32 d = (cnt >> shift) & 0xf; in ObjChar()
/TwlSDK-5.1.0/build/demos/os/sleep-1/src/
Dmain.c27 inline int ObjChar(u32 cnt, int shift) in ObjChar() argument
29 u32 d = (cnt >> shift) & 0xf; in ObjChar()
/TwlSDK-5.1.0/build/libraries/math/common/src/
Dfft.c77 u32 shift = 32 - nShift - 1; // -1 is used to double j in MATHi_FFT() local
80 j = rev >> shift; // Logical shift in MATHi_FFT()
229 u32 shift = 32 - nShift - 1; // -1 is used to double j in MATHi_IFFT() local
232 j = rev >> shift; // Logical shift in MATHi_IFFT()
362 u32 shift = 32 - nShift - 1; // -1 is used to double j
365 j = rev >> shift; // Logical shift
Dnet_sha256.c106 inline static u32 NETRotateLeft32(int shift, u32 value) in NETRotateLeft32() argument
108 return (u32)((value << shift) | (value >> (u32)(32 - shift))); in NETRotateLeft32()
Ddgt_sha1.c77 inline static u32 NETRotateLeft32(int shift, u32 value) in NETRotateLeft32() argument
79 return (u32)((value << shift) | (value >> (u32)(32 - shift))); in NETRotateLeft32()
/TwlSDK-5.1.0/include/nitro/ctrdg/ARM9/
Dctrdg_flash.h39 …u16 shift; /* Value after converting the sector size into a shift number */ member
/TwlSDK-5.1.0/build/libraries/ctrdg/ARM9/src/
Dctrdg_flash_MX29L010.c171 adr = (u8 *)(CTRDG_AGB_FLASH_ADR + (secNo << AgbFlash->sector.shift)); in CTRDGi_EraseFlashSectorCoreMX()
260 tgt = (u8 *)(CTRDG_AGB_FLASH_ADR + (secNo << AgbFlash->sector.shift)); in CTRDGi_WriteFlashSectorCoreMX()
Dctrdg_flash_MX29L512.c97 tgt = (u8 *)(CTRDG_AGB_FLASH_ADR + (secNo << AgbFlash->sector.shift)); in CTRDGi_WriteFlashSectorCoreMX5()
Dctrdg_flash_LE39FW512.c179 adr = (u8 *)(CTRDG_AGB_FLASH_ADR + (secNo << AgbFlash->sector.shift)); in CTRDGi_EraseFlashSectorCoreLE()
234 tgt = (u8 *)(CTRDG_AGB_FLASH_ADR + (secNo << AgbFlash->sector.shift)); in CTRDGi_WriteFlashSectorCoreLE()
Dctrdg_flash_AT29LV512.c171 dst = (u8 *)(CTRDG_AGB_FLASH_ADR + (p_secNo << AT29LV512_org.type.sector.shift)); in CTRDGi_EraseFlashSectorCoreAT()
259 dst = (u8 *)(CTRDG_AGB_FLASH_ADR + (p_secNo << AT29LV512_org.type.sector.shift)); in CTRDGi_WriteFlashSectorCoreAT()
Dctrdg_flash_common.c271 src = (u8 *)(CTRDG_AGB_FLASH_ADR + (sec_num << AgbFlash->sector.shift) + offset); in CTRDGi_ReadAgbFlashCore()
320 tgt = (u8 *)(CTRDG_AGB_FLASH_ADR + (sec_num << AgbFlash->sector.shift)); in CTRDGi_VerifyAgbFlashCore()
/TwlSDK-5.1.0/build/buildsetup/ioreg/
Dio_register_list.csv1 #offset,condition,name,bit,rw,category,volatile/permanent,fieldname,shift,bit,,,,,,,,,,,,,,,,,,,,,,…
Dio_register_list.TWL.csv1 #offset,condition,name,bit,rw,category,volatile/permanent,fieldname,shift,bit,,,,,,,,,,,,,,,,,,,,,,…