Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 104) sorted by relevance

12345

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvConfig.c97 …dpoint(struct usb_device *dev, struct usb_host_endpoint *endpoint, unsigned char *buffer, int size) in usb_parse_endpoint() argument
103 header = (struct usb_descriptor_header *)buffer; in usb_parse_endpoint()
117 memcpy(&endpoint->desc, buffer, USB_DT_ENDPOINT_AUDIO_SIZE); in usb_parse_endpoint()
119 memcpy(&endpoint->desc, buffer, USB_DT_ENDPOINT_SIZE); in usb_parse_endpoint()
147 buffer += header->bLength; in usb_parse_endpoint()
151 begin = buffer; in usb_parse_endpoint()
154 header = (struct usb_descriptor_header *)buffer; in usb_parse_endpoint()
169 vdbg("OTG descriptor found, bmAttributes=0x%08X\n",buffer[2]); in usb_parse_endpoint()
170 OTG.otgd->desc.bLength = buffer[0]; in usb_parse_endpoint()
171 OTG.otgd->desc.bDescriptorType = buffer[1]; in usb_parse_endpoint()
[all …]
H A DdrvHub.c1692 hub->buffer = (char (*)[3]) usb_buffer_alloc(dev, sizeof(*hub->buffer), GFP_KERNEL, in hub_configure()
1694 if (!hub->buffer) { in hub_configure()
2588 if ((U32) maxp > sizeof(*hub->buffer)) in hub_configure()
2589 maxp = sizeof(*hub->buffer); in hub_configure()
2670 usb_fill_int_urb(hub->urb, dev, pipe, *hub->buffer, maxp, hub_irq, in hub_configure()
3013 if (hub->buffer) { in hub_disconnect()
3015 sizeof(*hub->buffer), hub->buffer, in hub_disconnect()
3017 hub->buffer = NULL; in hub_disconnect()
H A DdrvUSB.c2228 char *buffer, int buffer_size) in usb_hotplug() argument
2274 scratch = buffer; in usb_hotplug()
2481 int num_envp, char *buffer, int buffer_size) in usb_hotplug() argument
2948 int __usb_get_extra_descriptor(char *buffer, U32 size, U8 type, void **ptr) in __usb_get_extra_descriptor() argument
2953 header = (struct usb_descriptor_header *)buffer; in __usb_get_extra_descriptor()
2965 buffer += header->bLength; in __usb_get_extra_descriptor()
/utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/
H A Dlex.zconf.c_shipped161 /* Size of default input buffer. */
164 /* On IA-64, the buffer size is 16k, not 8k.
174 /* The state buf must be large enough to hold one state per character in the main buffer.
220 char *yy_ch_buf; /* input buffer */
221 char *yy_buf_pos; /* current position in input buffer */
223 /* Size of input buffer in bytes, not including room for EOB
233 /* Whether we "own" the buffer - i.e., we know we created it,
255 /* Whether to try to fill the input buffer when we reach the
265 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
284 /* We provide macros for accessing buffer states in case in the
[all …]
H A Dgconf.c397 GtkTextBuffer *buffer; in text_insert_help() local
404 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w)); in text_insert_help()
405 gtk_text_buffer_get_bounds(buffer, &start, &end); in text_insert_help()
406 gtk_text_buffer_delete(buffer, &start, &end); in text_insert_help()
409 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
410 gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1, in text_insert_help()
412 gtk_text_buffer_insert_at_cursor(buffer, "\n\n", 2); in text_insert_help()
413 gtk_text_buffer_get_end_iter(buffer, &end); in text_insert_help()
414 gtk_text_buffer_insert_with_tags(buffer, &end, str_get(&help), -1, tag2, in text_insert_help()
422 GtkTextBuffer *buffer; in text_insert_msg() local
[all …]
H A Dzconf.l30 struct buffer { struct
31 struct buffer *parent; argument
35 struct buffer *current_buf; argument
H A Dlex.zconf.c801 struct buffer { struct
802 struct buffer *parent; argument
806 struct buffer *current_buf; argument
2372 struct buffer *buf = malloc(sizeof(*buf)); in zconf_nextfile()
2412 struct buffer *parent; in zconf_endfile()
/utopia/UTPA2-700.0.x/projects/build/scripts/dtc/
H A Ddtc-lexer.lex.c_shipped143 /* Size of default input buffer. */
146 /* On IA-64, the buffer size is 16k, not 8k.
156 /* The state buf must be large enough to hold one state per character in the main buffer.
202 char *yy_ch_buf; /* input buffer */
203 char *yy_buf_pos; /* current position in input buffer */
205 /* Size of input buffer in bytes, not including room for EOB
215 /* Whether we "own" the buffer - i.e., we know we created it,
237 /* Whether to try to fill the input buffer when we reach the
247 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
266 /* We provide macros for accessing buffer states in case in the
[all …]
/utopia/UTPA2-700.0.x/projects/build/scripts/genksyms/
H A Dlex.c_shipped185 /* Size of default input buffer. */
190 /* The state buf must be large enough to hold one state per character in the main buffer.
247 char *yy_ch_buf; /* input buffer */
248 char *yy_buf_pos; /* current position in input buffer */
250 /* Size of input buffer in bytes, not including room for EOB
260 /* Whether we "own" the buffer - i.e., we know we created it,
282 /* Whether to try to fill the input buffer when we reach the
292 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
320 /* We provide macros for accessing buffer states in case in the
321 * future we want to put the buffer states in a more general
[all …]
H A Dgenksyms.c422 char buffer[256]; in read_node() local
424 .string = buffer, in read_node()
430 if (node.string == buffer) in read_node()
434 if (node.string == buffer) in read_node()
439 if (node.string >= buffer + sizeof(buffer) - 1) { in read_node()
445 if (node.string == buffer) in read_node()
448 node.string = buffer; in read_node()
/utopia/UTPA2-700.0.x/projects/build/scripts/
H A Dconmakehash.c83 char buffer[65536]; in main() local
117 while ( fgets(buffer, sizeof(buffer), ctbl) != NULL ) in main()
119 if ( (p = strchr(buffer, '\n')) != NULL ) in main()
124 p = buffer; in main()
145 fprintf(stderr, "Bad input line: %s\n", buffer); in main()
158 fprintf(stderr, "Bad input line: %s\n", buffer); in main()
/utopia/UTPA2-700.0.x/modules/vdec_lite/drv/hvd_lite/
H A DHVD_EX_Common.c345 static MS_U16 _HVD_EX_DemuxTS_GetBits(const MS_U8 *buffer, MS_U16 totbitoffset, MS_U32 *info, MS_U1… in _HVD_EX_DemuxTS_GetBits() argument
355 curbyte = &(buffer[byteoffset]); in _HVD_EX_DemuxTS_GetBits()
426 static MS_U32 _HVD_EX_DemuxTS_ReadSyntaxElement_FLC(MS_U16 u16ReadBits, const MS_U8* buffer, MS_U16… in _HVD_EX_DemuxTS_ReadSyntaxElement_FLC() argument
430 … u16readbitLen = _HVD_EX_DemuxTS_GetBits(buffer, *u16bitLen, &u32codeword, bufferLen, u16ReadBits); in _HVD_EX_DemuxTS_ReadSyntaxElement_FLC()
440 static MS_U16 _HVD_EX_DemuxTS_GetVLCSymbol(MS_U8 *buffer, MS_U16 totbitoffset, MS_U32 *info, MS_U16… in _HVD_EX_DemuxTS_GetVLCSymbol() argument
449 MS_U8 *current_byte = &(buffer[byte_off]); in _HVD_EX_DemuxTS_GetVLCSymbol()
490 static MS_U32 _HVD_EX_DemuxTS_ReadSyntaxElement_VLC(MS_U8* buffer, MS_U16 bufferLen, MS_U16* u16bit… in _HVD_EX_DemuxTS_ReadSyntaxElement_VLC() argument
494 u16readbitLen = _HVD_EX_DemuxTS_GetVLCSymbol(buffer, *u16bitLen, &u32codeword, bufferLen); in _HVD_EX_DemuxTS_ReadSyntaxElement_VLC()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvHub.c267 hub->buffer = (char (*)[3]) ms_usb_buffer_alloc(ms_dev, sizeof(*hub->buffer), GFP_KERNEL, in ms_hub_configure()
269 if (!hub->buffer) in ms_hub_configure()
402 if ((U32) maxp > sizeof(*hub->buffer)) in ms_hub_configure()
403 maxp = sizeof(*hub->buffer); in ms_hub_configure()
413 ms_usb_stuff_intr_urb(hub->urb, ms_dev, pipe, *hub->buffer, maxp, ms_hub_irq, in ms_hub_configure()
476 if (pHub->buffer) in ms_hub_disconnect()
479 sizeof(*pHub->buffer), pHub->buffer, pHub->buffer_dma); in ms_hub_disconnect()
480 pHub->buffer = NULL; in ms_hub_disconnect()
/utopia/UTPA2-700.0.x/projects/build/scripts/mod/
H A Dmodpost.h93 struct buffer { struct
100 buf_printf(struct buffer *buf, const char *fmt, ...); argument
103 buf_write(struct buffer *buf, const char *s, int len);
114 struct buffer dev_table_buf;
171 void add_moddevtable(struct buffer *buf, struct module *mod);
H A Dmodpost.c1747 void __attribute__((format(printf, 2, 3))) buf_printf(struct buffer *buf, in buf_printf()
1760 void buf_write(struct buffer *buf, const char *s, int len) in buf_write()
1834 static void add_header(struct buffer *b, struct module *mod) in add_header()
1855 static void add_staging_flag(struct buffer *b, const char *name) in add_staging_flag()
1866 static int add_versions(struct buffer *b, struct module *mod) in add_versions()
1915 static void add_depends(struct buffer *b, struct module *mod, in add_depends()
1950 static void add_srcversion(struct buffer *b, struct module *mod) in add_srcversion()
1959 static void write_if_changed(struct buffer *b, const char *fname) in write_if_changed()
2067 struct buffer buf = { }; in write_dump()
2093 struct buffer buf = { }; in main()
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/rpcsvc/
H A Dnislib.h152 extern nis_name nis_leaf_of_r (const_nis_name name, char *buffer,
155 extern nis_name nis_name_of_r (const_nis_name name, char *buffer,
158 extern nis_name nis_domain_of_r (const_nis_name name, char *buffer,
184 char *buffer, size_t buflen) __THROW;
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/
H A Dregexp.h132 __expr_ptr->buffer = expbuf + sizeof (regex_t); in compile()
133 __expr_ptr->allocated = endbuf - (char *) __expr_ptr->buffer; in compile()
201 RETURN ((char *) (__expr_ptr->buffer + __expr_ptr->used)); in compile()
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/bits/
H A Dlibc-lock.h385 extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *buffer,
387 extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *buffer,
389 extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *buffer,
391 extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer,
/utopia/UTPA2-700.0.x/modules/xc/drv/xc/
H A Dmdrv_sc_scaling.c.01189 …EL_SETWINDOW,"input source (Window:%d) must be disabled before set frame buffer address. Ex:when v…
1325 …EL_SETWINDOW,"input source (Window:%d) must be disabled before set frame buffer address. Ex:when v…
1425 …EL_SETWINDOW,"input source (Window:%d) must be disabled before set frame buffer address. Ex:when v…
2262 …// make sure at least 2 frame buffer can fit-in the mmap, specially for small xc buffer size, like…
2307 …XC_DBGLEVEL_SETWINDOW,"prescaling H to (%u), to make sure 2 frames can be fit in xc buffer size\n",
3267 …f we use 1280 pixel for Sub Win, Main win has 1280 pixels remain. (Total line buffer : 1920 + 960 )
3363 …// That means we only have 1920 pixels line buffer (the total length of 8 line UCNR line buffer is…
3371 // When Main-is-top set. Main Line buffer is blong to sub window.
3373 // When Main-is-top set. Sub Line buffer is blong to Main window.
3388 …// That means we only have 1920 pixels line buffer (the total length of 8 line UCNR line buffer is…
[all …]
/utopia/UTPA2-700.0.x/modules/mfe/api/mfe/
H A DTsMuxer.c188 MFE_U32 getCRC(const MFE_U8 *buffer, size_t length) in getCRC() argument
190 const MFE_U8 *end= buffer+length; in getCRC()
192 while(buffer<end) in getCRC()
193 crc = (crc >> 8) ^ gCRC32Table[(crc & 0xFF) ^ *buffer++]; in getCRC()
/utopia/UTPA2-700.0.x/modules/xc/hal/k6lite/xc/include/
H A Dmhal_xc_chip_config.h.0244 This is a feature in M10. M10 only needs one IPM buffer address. (Other chips need two or three
245 IPM buffer address). We show one of memory format for example at below.
661 #define REG_CKG_FICLK_F1 (REG_CHIPTOP_BASE + 0xA2 ) // scaling line buffer, set to fclk if p…
668 #define REG_CKG_FICLK_F2 (REG_CHIPTOP_BASE + 0xA3 ) // scaling line buffer, set to fclk if p…
675 #define REG_CKG_FICLK2_F2 (REG_CHIPTOP_BASE + 0xA3 ) // scaling line buffer, set to fclk if p…
810 #define REG_CKG_SC1_FECLK_F2 (REG_CHIPTOP_BASE + 0xD8 ) // SC1 feclk, scaling line buffer, s…
817 #define REG_CKG_SC1_FECLK2_F2 (REG_CHIPTOP_BASE + 0xD8 ) // SC1 feclk2, scaling line buffer,…
/utopia/UTPA2-700.0.x/modules/vdec_v3/api/vdec_v3/
H A DapiVDEC_EX.c.0567 MS_U32 u32ExInfo; //other information for this buffer
1475 vdec_op.params[0].tmpref.buffer = para;
3517 //Check buffer info was setted or not, and still had same setting.
3753 // register bitstream buffer info by pInitParam
3762 // register frame buffer info by pInitParam or CMA
3901 …ALLOCATOR_PRINTF_DBG("[ALLOC][DBG][%s][%d] Before find next buffer\n", __FUNCTION__, __…
3907 //Finx buffer candidate from stream type and which buffer we need to allocate(FB, BS, ....etc);
3915 //Get max count of allocatable buffer and buffer candidate for searching.
3941 // Search to the end of buffer candidate
3948 // This buffer type was not preset by presetControl
[all …]
/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);
/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);

12345