Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 80) sorted by relevance

1234

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvUsbd.h214 #define ms_CalcBitTime(bytes) (7 * 8 * bytes / 6) /* with ��� truncation */ argument
223 #define HIGHSPEED_NS(bytes) ( ((55 * 8 * 2083) \ argument
224 + (2083UL * (3 + ms_CalcBitTime (bytes))))/1000 \
227 #define HIGHSPEED_NS_ISO(bytes) ( ((38 * 8 * 2083) \ argument
228 + (2083UL * (3 + ms_CalcBitTime (bytes))))/1000 \
231 #define HIGHSPEED_US(bytes) NS_2_US(HIGHSPEED_NS(bytes)) argument
232 #define HIGHSPEED_US_ISO(bytes) NS_2_US(HIGHSPEED_NS_ISO(bytes)) argument
234 extern int ms_usb_calc_bus_time (int speed, int is_input, int bytes);
/utopia/UTPA2-700.0.x/modules/msos/msos/ucos/
H A Ddlmalloc.c1054 void* mspace_malloc(mspace msp, size_t bytes);
1087 void* mspace_memalign(mspace msp, size_t alignment, size_t bytes);
3805 static void* internal_realloc(mstate m, void* oldmem, size_t bytes) { in internal_realloc() argument
3806 if (bytes >= MAX_REQUEST) { in internal_realloc()
3821 size_t nb = request2size(bytes); in internal_realloc()
3862 void* newmem = internal_malloc(m, bytes); in internal_realloc()
3865 memcpy(newmem, oldmem, (oc < bytes)? oc : bytes); in internal_realloc()
3876 static void* internal_memalign(mstate m, size_t alignment, size_t bytes) { in internal_memalign() argument
3878 return internal_malloc(m, bytes); in internal_memalign()
3887 if (bytes >= MAX_REQUEST - alignment) { in internal_memalign()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A Ddlmalloc.c1265 void* mstar_mspace_malloc(mspace msp, size_t bytes);
1298 void* mstar_mspace_memalign(mspace msp, size_t alignment, size_t bytes);
4401 static void* internal_realloc(mstate m, void* oldmem, size_t bytes) { in internal_realloc() argument
4402 if (bytes >= MAX_REQUEST) { in internal_realloc()
4417 size_t nb = request2size(bytes); in internal_realloc()
4462 void* newmem = internal_malloc(m, bytes); in internal_realloc()
4465 memcpy(newmem, oldmem, (oc < bytes)? oc : bytes); in internal_realloc()
4476 static void* internal_memalign(mstate m, size_t alignment, size_t bytes) { in internal_memalign() argument
4478 return internal_malloc(m, bytes); in internal_memalign()
4487 if (bytes >= MAX_REQUEST - alignment) { in internal_memalign()
[all …]
H A DdrvMPool.c1805 void * MsOS_MPool_AllocateMemory(mspace msp, size_t bytes) in MsOS_MPool_AllocateMemory() argument
1817 dlmalloc_alloc_free_info.alloc_size = bytes; in MsOS_MPool_AllocateMemory()
1877 …lmalloc_info[i].detail_dlmalloc_info[first_free_detail_dlmalloc_info_index].allocated_size = bytes; in MsOS_MPool_AllocateMemory()
1965 void * MsOS_MPool_ReallocateMemory(mspace msp, void *old_alloc_start_addr, size_t bytes) in MsOS_MPool_ReallocateMemory() argument
1980 dlmalloc_alloc_free_info.alloc_size = bytes; in MsOS_MPool_ReallocateMemory()
2024 mstar_dlmalloc_info[i].detail_dlmalloc_info[j].allocated_size = bytes; in MsOS_MPool_ReallocateMemory()
H A Ddlmalloc.h548 void* mstar_mspace_malloc(mspace msp, size_t bytes);
581 void* mstar_mspace_memalign(mspace msp, size_t alignment, size_t bytes);
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/netfilter_ipv4/
H A Dipt_sctp.h37 #define bytes(type) (sizeof(type) * 8) macro
41 chunkmap[type / bytes(u_int32_t)] |= \
42 1 << (type % bytes(u_int32_t)); \
47 chunkmap[type / bytes(u_int32_t)] &= \
48 ~(1 << (type % bytes(u_int32_t))); \
53 (chunkmap[type / bytes (u_int32_t)] & \
54 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/netfilter/
H A Dxt_sctp.h36 #define bytes(type) (sizeof(type) * 8) macro
40 (chunkmap)[type / bytes(u_int32_t)] |= \
41 1 << (type % bytes(u_int32_t)); \
46 (chunkmap)[type / bytes(u_int32_t)] &= \
47 ~(1 << (type % bytes(u_int32_t))); \
52 ((chunkmap)[type / bytes (u_int32_t)] & \
53 (1 << (type % bytes (u_int32_t)))) ? 1: 0; \
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvHCD.h505 #define HS_USECS(bytes) NS_TO_US ( ((55 * 8 * 2083)/1000) \ argument
506 + ((2083UL * (3167 + BitTime (bytes)))/1000) \
526 #define HS_USECS_ISO(bytes) NS_TO_US ( ((long)(38 * 8 * 2.083)) \ argument
527 + ((2083UL * (3167 + BitTime (bytes)))/1000) \
/utopia/UTPA2-700.0.x/projects/build/scripts/dtc/
H A Ddtc-lexer.lex.c_shipped205 /* Size of input buffer in bytes, not including room for EOB
312 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
1508 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1710 * @param size the size in bytes of the character buffer
1748 * @note If you want to scan bytes that may contain NUL values, then use
1757 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
1758 * scan from a @e copy of @a bytes.
1760 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
/utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/
H A Dlex.zconf.c_shipped223 /* Size of input buffer in bytes, not including room for EOB
330 YY_BUFFER_STATE zconf_scan_bytes (yyconst char *bytes,int len );
1825 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
2027 * @param size the size in bytes of the character buffer
2065 * @note If you want to scan bytes that may contain NUL values, then use
2074 /** Setup the input buffer state to scan the given bytes. The next call to zconflex() will
2075 * scan from a @e copy of @a bytes.
2077 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
/utopia/UTPA2-700.0.x/projects/build/scripts/genksyms/
H A Dlex.c_shipped250 /* Size of input buffer in bytes, not including room for EOB
374 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
1669 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
1922 * @param size the size in bytes of the character buffer
1962 * @note If you want to scan bytes that may contain NUL values, then use
1973 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
1974 * scan from a @e copy of @a bytes.
1975 * @param bytes the byte buffer to scan
1976 * @param len the number of bytes in the buffer pointed to by @a bytes.
/utopia/UTPA2-700.0.x/modules/audio/hal/manhattan/audio/
H A DhalAUDIO.h298 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes);
329 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes);
388 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes);
H A DhalAUDIO.c5414 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes) in HAL_AUDIO_DmaReader_WritePCM() argument
5448 if(level_cnt < (HW_DMA_RDR1_BUF_SIZE - bytes*2)/BYTES_IN_MIU_LINE) in HAL_AUDIO_DmaReader_WritePCM()
5450 for ( i = 0; i < (bytes/2); i++ ) in HAL_AUDIO_DmaReader_WritePCM()
5465 HAL_AUDIO_WriteMaskReg(0x2B82, 0xFFFF, bytes*2/BYTES_IN_MIU_LINE); in HAL_AUDIO_DmaReader_WritePCM()
6146 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes) in HAL_AUDIO_DmaWriter_Read() argument
6153 bytes = (bytes/BYTES_IN_MIU_LINE)*BYTES_IN_MIU_LINE; in HAL_AUDIO_DmaWriter_Read()
6161 if (DRAM_levelcnt < (bytes/BYTES_IN_MIU_LINE)) in HAL_AUDIO_DmaWriter_Read()
6166 DRAM_levelcnt_bytes = (DRAM_levelcnt_bytes > bytes) ? bytes : DRAM_levelcnt_bytes; in HAL_AUDIO_DmaWriter_Read()
6183 bytes -= DRAM_levelcnt_bytes; in HAL_AUDIO_DmaWriter_Read()
6536 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes) in HAL_AUDIO_PCMCapture_Read() argument
[all …]
/utopia/UTPA2-700.0.x/modules/audio/hal/maxim/audio/
H A DhalAUDIO.h314 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes);
345 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes);
404 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes);
/utopia/UTPA2-700.0.x/modules/audio/hal/k6/audio/
H A DhalAUDIO.h308 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes);
339 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes);
398 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes);
/utopia/UTPA2-700.0.x/modules/audio/hal/maserati/audio/
H A DhalAUDIO.h314 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes);
345 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes);
404 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes);
/utopia/UTPA2-700.0.x/modules/audio/hal/M7621/audio/
H A DhalAUDIO.h309 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes);
340 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes);
399 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes);
/utopia/UTPA2-700.0.x/modules/audio/hal/kano/audio/
H A DhalAUDIO.h308 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes);
339 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes);
398 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes);
/utopia/UTPA2-700.0.x/modules/audio/hal/M7821/audio/
H A DhalAUDIO.h309 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes);
340 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes);
399 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes);
/utopia/UTPA2-700.0.x/modules/audio/hal/k6lite/audio/
H A DhalAUDIO.h308 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes);
340 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes);
399 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes);
/utopia/UTPA2-700.0.x/modules/audio/hal/mustang/audio/
H A DhalAUDIO.h301 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes);
332 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void *buffer, const MS_U32 bytes);
396 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes);
/utopia/UTPA2-700.0.x/modules/audio/hal/macan/audio/
H A DhalAUDIO.h305 MS_BOOL HAL_AUDIO_DmaWriter_Read(void* buffer, MS_U32 bytes);
335 MS_BOOL HAL_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes);
394 MS_BOOL HAL_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes);
/utopia/UTPA2-700.0.x/modules/audio/drv/audio/
H A DdrvAUDIO.c1507 MS_BOOL MDrv_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes) in MDrv_AUDIO_DmaReader_WritePCM() argument
1509 return(HAL_AUDIO_DmaReader_WritePCM(buffer,bytes)); in MDrv_AUDIO_DmaReader_WritePCM()
1788 MS_BOOL MDrv_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void* buffer, const MS_U32 bytes) in MDrv_AUDIO_PCMCapture_Read() argument
1790 return HAL_AUDIO_PCMCapture_Read(eID, buffer, bytes); in MDrv_AUDIO_PCMCapture_Read()
/utopia/UTPA2-700.0.x/modules/audio/api/audio/
H A DapiAUDIO_v2.c6240 MS_BOOL MApi_AUDIO_DmaReader_WritePCM(void* buffer, MS_U32 bytes) in MApi_AUDIO_DmaReader_WritePCM() argument
6247 Status.bytes = bytes; in MApi_AUDIO_DmaReader_WritePCM()
6264 return _MApi_AUDIO_DmaReader_WritePCM(buffer, bytes); in MApi_AUDIO_DmaReader_WritePCM()
6482 MS_BOOL MApi_AUDIO_PCMCapture_Read(const AUDIO_DEVICE_TYPE eID, void *buffer, const MS_U32 bytes) in MApi_AUDIO_PCMCapture_Read() argument
6490 Status.bytes = bytes; in MApi_AUDIO_PCMCapture_Read()
6507 return _MApi_AUDIO_PCMCapture_Read(eID, buffer, bytes); in MApi_AUDIO_PCMCapture_Read()
/utopia/UTPA2-700.0.x/modules/dscmb/hal/curry/nsk2/
H A DhalNSK2.c2240 void endian_change(MS_U8* ptr, MS_U32 bytes) in endian_change() argument
2247 u32halve = bytes/2; in endian_change()
2251 ptr[i] = ptr[bytes-i-1]; in endian_change()
2252 ptr[bytes-i-1] = u32tmp; in endian_change()
2302 extern void endian_change(MS_U8* ptr, MS_U32 bytes); in HAL_NSK2_GetOTPProperties()

1234