Home
last modified time | relevance | path

Searched refs:bufSize (Results 1 – 11 of 11) sorted by relevance

/drivers/media/usb/pvrusb2/
Dpvrusb2-std.c107 unsigned int bufSize) in find_std_name() argument
113 if (strlen(p->name) != bufSize) continue; in find_std_name()
114 if (!memcmp(bufPtr,p->name,bufSize)) return p; in find_std_name()
121 unsigned int bufSize) in pvr2_std_str_to_id() argument
131 while (bufSize) { in pvr2_std_str_to_id()
134 while ((cnt < bufSize) && (bufPtr[cnt] != '-')) cnt++; in pvr2_std_str_to_id()
135 if (cnt >= bufSize) return 0; // No more characters in pvr2_std_str_to_id()
141 bufSize -= cnt; in pvr2_std_str_to_id()
147 while (cnt < bufSize) { in pvr2_std_str_to_id()
162 if (cnt < bufSize) cnt++; in pvr2_std_str_to_id()
[all …]
Dpvrusb2-std.h17 unsigned int bufSize);
23 unsigned int pvr2_std_id_to_str(char *bufPtr, unsigned int bufSize,
Dpvrusb2-hdw.c856 char *bufPtr,unsigned int bufSize, in ctrl_std_val_to_sym() argument
859 *len = pvr2_std_id_to_str(bufPtr,bufSize,msk & val); in ctrl_std_val_to_sym()
864 const char *bufPtr,unsigned int bufSize, in ctrl_std_sym_to_val() argument
868 if (!pvr2_std_str_to_id(&id, bufPtr, bufSize)) in ctrl_std_sym_to_val()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer_debug.c48 unsigned int snprintf_count(char *pBuf, unsigned int bufSize, char *fmt, ...) in snprintf_count() argument
56 ret_vsnprintf = vsnprintf(pBuf, bufSize, fmt, args); in snprintf_count()
61 if (ret_vsnprintf < bufSize) in snprintf_count()
64 chars_printed = bufSize - 1; in snprintf_count()
71 static unsigned int dcn10_get_hubbub_state(struct dc *dc, char *pBuf, unsigned int bufSize) in dcn10_get_hubbub_state() argument
78 unsigned int remaining_buffer = bufSize; in dcn10_get_hubbub_state()
106 return bufSize - remaining_buffer; in dcn10_get_hubbub_state()
109 static unsigned int dcn10_get_hubp_states(struct dc *dc, char *pBuf, unsigned int bufSize, bool inv… in dcn10_get_hubp_states() argument
116 unsigned int remaining_buffer = bufSize; in dcn10_get_hubp_states()
185 return bufSize - remaining_buffer; in dcn10_get_hubp_states()
[all …]
Ddcn10_hw_sequencer_debug.h40 unsigned int bufSize,
Ddcn10_hw_sequencer.h155 unsigned int bufSize,
/drivers/gpu/drm/amd/display/dc/inc/hw/
Dclk_mgr.h148 unsigned int bufSize; member
/drivers/gpu/drm/amd/display/dc/
Ddm_services.h145 unsigned int snprintf_count(char *pBuf, unsigned int bufSize, char *fmt, ...);
/drivers/gpu/drm/amd/display/dc/inc/
Dhw_sequencer.h206 unsigned int bufSize, unsigned int mask);
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c245 unsigned int remaining_buffer = log_info->bufSize; in vg_dump_clk_registers()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c311 unsigned int remaining_buffer = log_info->bufSize; in rn_dump_clk_registers()