Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/
H A DdrvIPAPool.c169 MS_U64 length; member
197 void (*polling_callback)(MS_U32 pool_handle_id,MS_U64 start,MS_U64 length);
475 …lx\n",__FUNCTION__,__LINE__, get_param->pool_handle_id, (long long unsigned int)get_param->length); in MApi_IPA_Pool_GetMem()
487 ipa_alloc_args.length = get_param->length; in MApi_IPA_Pool_GetMem()
496 …(long long unsigned int)get_param->offset_in_pool, (long long unsigned int)get_param->length,ipa_a… in MApi_IPA_Pool_GetMem()
523 …put_param->pool_handle_id, (long long unsigned int)put_param->length, (long long unsigned int)put_… in MApi_IPA_Pool_PutMem()
535 ipa_free_args.length = put_param->length; in MApi_IPA_Pool_PutMem()
542 …_id, (long long unsigned int)put_param->offset_in_pool, (long long unsigned int)put_param->length); in MApi_IPA_Pool_PutMem()
589 && (0 != IPAPool_Info[idx].map_info[i].length)) in MApi_IPA_Pool_Release()
592 unmap_args.length = IPAPool_Info[idx].map_info[i].length; in MApi_IPA_Pool_Release()
[all …]
H A DdrvCMAPool.c367 alloc_args.length = alloc_param->length; in MApi_CMA_Pool_GetMem()
375 …E__,alloc_param->pool_handle_id,alloc_param->offset_in_pool,alloc_param->length,alloc_param->flags… in MApi_CMA_Pool_GetMem()
383 …(unsigned long long)alloc_args.offset_in_heap, (unsigned long)alloc_args.length, (ptrdiff_t)alloc_… in MApi_CMA_Pool_GetMem()
416 free_args.length = free_param->length; in MApi_CMA_Pool_PutMem()
418 …n",__FUNCTION__,__LINE__,free_param->pool_handle_id,free_param->offset_in_pool,free_param->length); in MApi_CMA_Pool_PutMem()
426 (unsigned long)free_args.offset_in_heap, (unsigned long)free_args.length); in MApi_CMA_Pool_PutMem()
516 alloc_param.length = Init_Param.heap_length-Init_Param.heap_length/4;
530 for(i = 0; i < 1*MILLION/PAGE && i< alloc_param.length/PAGE; ++i)
542 for(i = 0; i < 1*MILLION/PAGE && i< alloc_param.length/PAGE&& i<32; ++i)
565 alloc_param2.length = Init_Param.heap_length/4;
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A DdrvIPAPool.c155 MS_U64 length; member
183 void (*polling_callback)(MS_U32 pool_handle_id,MS_U64 start,MS_U64 length);
560 ipa_alloc_args.length = get_param->length; in MApi_IPA_Pool_GetMem()
563 …pool_handle_id,(unsigned long)ipa_alloc_args.offset_in_pool, (unsigned long)ipa_alloc_args.length); in MApi_IPA_Pool_GetMem()
568 …(unsigned long)get_param->offset_in_pool, (unsigned long)get_param->length,ipa_alloc_args.error_co… in MApi_IPA_Pool_GetMem()
595 ipa_free_args.length = put_param->length; in MApi_IPA_Pool_PutMem()
597 ….pool_handle_id, (unsigned long)ipa_free_args.offset_in_pool, (unsigned long)ipa_free_args.length); in MApi_IPA_Pool_PutMem()
602 …_param->pool_handle_id, (unsigned long)put_param->offset_in_pool,(unsigned long)put_param->length); in MApi_IPA_Pool_PutMem()
641 && (0 != IPAPool_Info[idx].map_info[i].length)) in MApi_IPA_Pool_Release()
644 unmap_args.length = IPAPool_Info[idx].map_info[i].length; in MApi_IPA_Pool_Release()
[all …]
H A DMsOSmm.c99 static MS_BOOL _findId_InMM_Pool_Table(MS_PHY phyaddr,char* pool_name,MS_U64 length ,MS_U32 *index) in _findId_InMM_Pool_Table() argument
106 …if((Msosmm_MM_Info[i].phyaddr == phyaddr) && (Msosmm_MM_Info[i].len == length) && (strcmp(Msosmm_M… in _findId_InMM_Pool_Table()
268 IPA_get_param.length = get_param->chunk.length; in MSOS_MMPool_GetMem()
303 IPA_get_param.length = get_param->chunk.length; in MSOS_MMPool_GetMem_Timeout()
331 IPA_put_param.length = put_param->chunk.length; in MSOS_MMPool_PutMem()
362 IPA_map_param.length = map_param->chunk.length ; in MSOS_MMPool_MapVA()
395 IPA_unmap_param.length = unmap_param->length; in MSOS_MMPool_UnmapVA()
657 alloc_param.length = get_param->chunk.length; in MSOS_MMPool_GetMem()
707 free_param.length = put_param->chunk.length; in MSOS_MMPool_PutMem()
774 …mmaping_info_ptr->start_pa == offset_phyaddr && mmaping_info_ptr->len == map_param->chunk.length) in MSOS_MMPool_MapVA()
[all …]
H A Dmdrv_ipa_pool_uapi.h56 MS_U64 length; //in alloc length member
65 MS_U64 length; //in alloc length member
75 MS_U64 length; //in free length member
82 MS_U64 length; //in free length member
91 MS_U64 length; //in mapping length member
101 MS_U64 length; //in: unmap length member
128 MS_U64 length; //in: flush length member
156 MS_U64 length;//out member
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/
H A Dobstack.h276 # define obstack_make_room(OBSTACK,length) \ argument
279 int __len = (length); \
292 # define obstack_grow(OBSTACK,where,length) \ argument
295 int __len = (length); \
302 # define obstack_grow0(OBSTACK,where,length) \ argument
305 int __len = (length); \
353 # define obstack_blank(OBSTACK,length) \ argument
356 int __len = (length); \
362 # define obstack_alloc(OBSTACK,length) \ argument
365 obstack_blank (__h, (length)); \
[all …]
/utopia/UTPA2-700.0.x/modules/dscmb/drv/nds/
H A Dnds_nsk.c338 unsigned long length, in HDIHAL_WriteNSKReg() argument
353 for (i = 0; i < length ; i++) in HDIHAL_WriteNSKReg()
377 unsigned long length, in HDIHAL_ReadNSKReg() argument
392 for (i = 0; i < length ; i++) in HDIHAL_ReadNSKReg()
423 unsigned long length, in HDIHAL_WriteNSKData() argument
438 while (length) in HDIHAL_WriteNSKData()
440 if (length >= 4) in HDIHAL_WriteNSKData()
444 length -= 4; in HDIHAL_WriteNSKData()
449 while (length) in HDIHAL_WriteNSKData()
451 tmp |= ((MS_U32)*(data_out)) << ((3-length)<<3); in HDIHAL_WriteNSKData()
[all …]
/utopia/UTPA2-700.0.x/modules/vd/drv/vbi/
H A DdrvVBI.c231 MS_U32 length = _pStoreInfo._cbBufferLength; in _MDrv_VBI_ISR() local
236 if(_MDrv_VBI_TTX_GetPackets(_pStoreInfo._cbBufferAddr, &length)==TRUE) in _MDrv_VBI_ISR()
240 (*_pFN)(_pStoreInfo._pCbVABuff, length); in _MDrv_VBI_ISR()
452 void _MDrv_VBI_RegisterCB(VBI_CB_FN pFN, MS_PHY bufferAddr, MS_U32 length) in _MDrv_VBI_RegisterCB() argument
456 _pStoreInfo._cbBufferLength = (length/VBI_TTX_DATA_LENGTH)*VBI_TTX_DATA_LENGTH; in _MDrv_VBI_RegisterCB()
653 MS_BOOL _MDrv_VBI_TTX_GetPackets(MS_PHY dataAddr, MS_U32 *length) in _MDrv_VBI_TTX_GetPackets() argument
658 if((*length)==0) in _MDrv_VBI_TTX_GetPackets()
680 if(data_length > (*length)) in _MDrv_VBI_TTX_GetPackets()
682 data_length = (*length); in _MDrv_VBI_TTX_GetPackets()
688 if((*length)==data_length) in _MDrv_VBI_TTX_GetPackets()
[all …]
H A DdrvDMX_TTX.c297 MS_BOOL _MDrv_DMX_TTX_GetPackets(MS_PHY dataAddr, MS_U32 *length) in _MDrv_DMX_TTX_GetPackets() argument
302 if((*length)==0) in _MDrv_DMX_TTX_GetPackets()
322 if(data_length > (*length)) in _MDrv_DMX_TTX_GetPackets()
323 data_length = (*length); in _MDrv_DMX_TTX_GetPackets()
328 if((*length)==data_length) in _MDrv_DMX_TTX_GetPackets()
339 if(data_length2 > ((*length) - data_length)) in _MDrv_DMX_TTX_GetPackets()
340 data_length2 = ((*length) - data_length); in _MDrv_DMX_TTX_GetPackets()
345 (*length) = data_length + data_length2; in _MDrv_DMX_TTX_GetPackets()
356 if(data_length > (*length)) in _MDrv_DMX_TTX_GetPackets()
357 data_length = (*length); in _MDrv_DMX_TTX_GetPackets()
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvUSB.c2234 int length = 0; in usb_hotplug() local
2316 length += LIB_StringPrintFormatN (scratch, buffer_size - length, in usb_hotplug()
2319 if ((buffer_size - length <= 0) || (i >= num_envp)) in usb_hotplug()
2321 ++length; in usb_hotplug()
2322 scratch += length; in usb_hotplug()
2327 length += LIB_StringPrintFormatN (scratch, buffer_size - length, "PRODUCT=%x/%x/%x", in usb_hotplug()
2331 if ((buffer_size - length <= 0) || (i >= num_envp)) in usb_hotplug()
2333 ++length; in usb_hotplug()
2334 scratch += length; in usb_hotplug()
2385 length += LIB_StringPrintFormatN (scratch, buffer_size - length, "TYPE=%d/%d/%d", in usb_hotplug()
[all …]
H A DdrvTransport.c445 U32 length, int result, U32 partial) in interpret_urb_result() argument
448 result, partial, length); in interpret_urb_result()
453 if (partial != length) { in interpret_urb_result()
538 int usb_stor_intr_transfer(struct us_data *us, void *buf, U32 length) in usb_stor_intr_transfer() argument
544 US_DEBUGP("%s: xfer %u bytes\n", __FUNCTION__, length); in usb_stor_intr_transfer()
548 if (maxp > length) in usb_stor_intr_transfer()
549 maxp = length; in usb_stor_intr_transfer()
554 length, usb_stor_blocking_completion, NULL); in usb_stor_intr_transfer()
564 return interpret_urb_result(us, pipe, length, result, in usb_stor_intr_transfer()
590 void *buf, U32 length, U32 *act_len) in usb_stor_bulk_transfer_buf() argument
[all …]
H A DdrvHCD.c637 int length = 0; in rh_report_status() local
656 length = hcd->driver->hub_status_data (hcd, (char*) urb->transfer_buffer); in rh_report_status()
659 length = hcd->driver->hub_status_data (hcd, urb->transfer_buffer); in rh_report_status()
663 if (length > 0) { in rh_report_status()
665 urb->actual_length = length; in rh_report_status()
675 if (length > 0) in rh_report_status()
758 int length; in usb_hcd_poll_rh_status() local
767 length = hcd->driver->hub_status_data(hcd, buffer); in usb_hcd_poll_rh_status()
768 if (length > 0) { in usb_hcd_poll_rh_status()
776 urb->actual_length = length; in usb_hcd_poll_rh_status()
[all …]
H A DdrvConfig.c551 U32 cfgno, length; in usb_get_configuration() local
605 length = LE16ToCPU(desc->wTotalLength); in usb_get_configuration()
606 bigbuffer = (unsigned char*) kmalloc(length, GFP_KERNEL); in usb_get_configuration()
610 length = LE16ToCPU(desc->wTotalLength); in usb_get_configuration()
612 }while(length == 0 ); in usb_get_configuration()
613 usb_err("unable to allocate (len=%d) memory for configuration descriptors, i=%d",length,i); in usb_get_configuration()
618 result = usb_get_descriptor(dev, USB_DT_CONFIG, cfgno, bigbuffer, length); in usb_get_configuration()
625 if ((U32)result < length) { in usb_get_configuration()
626 usb_err("config descriptor too short (expected %i, got %i)", length, result); in usb_get_configuration()
/utopia/UTPA2-700.0.x/modules/gpd/drv/gpd/
H A Dpng.h1702 png_bytep chunk_name, png_bytep data, png_size_t length));
1706 png_bytep chunk_name, png_uint_32 length));
1710 png_bytep data, png_size_t length));
3239 png_bytep data, png_size_t length));
3243 png_bytep buffer, png_size_t length));
3247 png_bytep data, png_size_t length));
3257 png_bytep buffer, png_size_t length));
3266 png_size_t length));
3270 png_size_t length));
3274 png_size_t length));
[all …]
H A Dpngprocess.c710 void handle_PLTE(MS_U8 *addr,MS_U32 length) in handle_PLTE() argument
714 infoptr->palette_num=length/3; in handle_PLTE()
718 void handle_tRNS(MS_U8 *addr,MS_U32 length) in handle_tRNS() argument
722 infoptr->num_trans=length; in handle_tRNS()
727 void handle_first_IDAT(MS_U8 **addr,MS_U32 length) in handle_first_IDAT() argument
730 this_ichk_len=length; in handle_first_IDAT()
732 *addr=*addr+length+4; in handle_first_IDAT()
741 MS_U32 length; in parse_header() local
751 length = get_length(cur_addr); in parse_header()
758 cur_addr += length; //data in parse_header()
[all …]
/utopia/UTPA2-700.0.x/modules/hsl/api/hsl/
H A Dfrhsl_ringbuffer.h127 #define PUTCS(dataptr, length, port, hsl) CmdSend(hsl, dataptr, length) argument
130 #define PUTCS(dataptr, length, port, hsl) \ argument
141 write(fd, (dataptr), (length)); \
183 #define PUTCS(dataptr, length, port) \
186 for( i=0 ; i<length ; i++) \
188 write(port, dataptr, length); \
/utopia/UTPA2-700.0.x/modules/vdec_v2/hal/mustang/vpu_ex/
H A Dms_decompress.c144 register MS_U32 offset,length; in ms_VDECDecompress() local
170 length = (offset & 0x0F) + 2; in ms_VDECDecompress()
172 if ((u32NextChar+length) < WINDOW_SIZE) in ms_VDECDecompress()
174 for (i = 0; i < length; i++) in ms_VDECDecompress()
182 for (i = 0; i < length; i++) in ms_VDECDecompress()
188 u32NextChar+=length; in ms_VDECDecompress()
/utopia/UTPA2-700.0.x/modules/vdec_v3/hal/k6lite/vpu_v3/
H A Dms_decompress.c149 register MS_U32 offset,length; in ms_VDECDecompress() local
175 length = (offset & 0x0F) + 2; in ms_VDECDecompress()
177 if ((u32NextChar+length) < WINDOW_SIZE) in ms_VDECDecompress()
179 for (i = 0; i < length; i++) in ms_VDECDecompress()
187 for (i = 0; i < length; i++) in ms_VDECDecompress()
193 u32NextChar+=length; in ms_VDECDecompress()
/utopia/UTPA2-700.0.x/modules/vdec_v3/hal/manhattan/vpu_v3/
H A Dms_decompress.c149 register MS_U32 offset,length; in ms_VDECDecompress() local
175 length = (offset & 0x0F) + 2; in ms_VDECDecompress()
177 if ((u32NextChar+length) < WINDOW_SIZE) in ms_VDECDecompress()
179 for (i = 0; i < length; i++) in ms_VDECDecompress()
187 for (i = 0; i < length; i++) in ms_VDECDecompress()
193 u32NextChar+=length; in ms_VDECDecompress()
/utopia/UTPA2-700.0.x/modules/vdec_v2/hal/manhattan/vpu_ex/
H A Dms_decompress.c144 register MS_U32 offset,length; in ms_VDECDecompress() local
170 length = (offset & 0x0F) + 2; in ms_VDECDecompress()
172 if ((u32NextChar+length) < WINDOW_SIZE) in ms_VDECDecompress()
174 for (i = 0; i < length; i++) in ms_VDECDecompress()
182 for (i = 0; i < length; i++) in ms_VDECDecompress()
188 u32NextChar+=length; in ms_VDECDecompress()
/utopia/UTPA2-700.0.x/modules/vdec_v3/hal/k6/vpu_v3/
H A Dms_decompress.c149 register MS_U32 offset,length; in ms_VDECDecompress() local
175 length = (offset & 0x0F) + 2; in ms_VDECDecompress()
177 if ((u32NextChar+length) < WINDOW_SIZE) in ms_VDECDecompress()
179 for (i = 0; i < length; i++) in ms_VDECDecompress()
187 for (i = 0; i < length; i++) in ms_VDECDecompress()
193 u32NextChar+=length; in ms_VDECDecompress()
/utopia/UTPA2-700.0.x/modules/vdec_v2/hal/maxim/vpu_ex/
H A Dms_decompress.c144 register MS_U32 offset,length; in ms_VDECDecompress() local
170 length = (offset & 0x0F) + 2; in ms_VDECDecompress()
172 if ((u32NextChar+length) < WINDOW_SIZE) in ms_VDECDecompress()
174 for (i = 0; i < length; i++) in ms_VDECDecompress()
182 for (i = 0; i < length; i++) in ms_VDECDecompress()
188 u32NextChar+=length; in ms_VDECDecompress()
/utopia/UTPA2-700.0.x/modules/vdec_v3/hal/maldives/vpu_v3/
H A Dms_decompress.c144 register MS_U32 offset,length; in ms_VDECDecompress() local
170 length = (offset & 0x0F) + 2; in ms_VDECDecompress()
172 if ((u32NextChar+length) < WINDOW_SIZE) in ms_VDECDecompress()
174 for (i = 0; i < length; i++) in ms_VDECDecompress()
182 for (i = 0; i < length; i++) in ms_VDECDecompress()
188 u32NextChar+=length; in ms_VDECDecompress()
/utopia/UTPA2-700.0.x/modules/vdec_v3/hal/mooney/vpu_v3/
H A Dms_decompress.c149 register MS_U32 offset,length; in ms_VDECDecompress() local
175 length = (offset & 0x0F) + 2; in ms_VDECDecompress()
177 if ((u32NextChar+length) < WINDOW_SIZE) in ms_VDECDecompress()
179 for (i = 0; i < length; i++) in ms_VDECDecompress()
187 for (i = 0; i < length; i++) in ms_VDECDecompress()
193 u32NextChar+=length; in ms_VDECDecompress()
/utopia/UTPA2-700.0.x/modules/vdec_v3/hal/M7621/vpu_v3/
H A Dms_decompress.c149 register MS_U32 offset,length; in ms_VDECDecompress() local
175 length = (offset & 0x0F) + 2; in ms_VDECDecompress()
177 if ((u32NextChar+length) < WINDOW_SIZE) in ms_VDECDecompress()
179 for (i = 0; i < length; i++) in ms_VDECDecompress()
187 for (i = 0; i < length; i++) in ms_VDECDecompress()
193 u32NextChar+=length; in ms_VDECDecompress()

12345678910>>...12