type
stringclasses
5 values
content
stringlengths
9
163k
functions
void protobuf_kvp__init (ProtobufKVP *message) { static ProtobufKVP init_value = PROTOBUF_KVP__INIT; *message = init_value; }
functions
size_t protobuf_kvp__get_packed_size (const ProtobufKVP *message) { assert(message->base.descriptor == &protobuf_kvp__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }
functions
size_t protobuf_kvp__pack (const ProtobufKVP *message, uint8_t *out) { assert(message->base.descriptor == &protobuf_kvp__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }
functions
size_t protobuf_kvp__pack_to_buffer (const ProtobufKVP *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &protobuf_kvp__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }
functions
void protobuf_kvp__free_unpacked (ProtobufKVP *message, ProtobufCAllocator *allocator) { assert(message->base.descriptor == &protobuf_kvp__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }
functions
void gg110_options__init (GG110Options *message) { static GG110Options init_value = GG110_OPTIONS__INIT; *message = init_value; }
functions
size_t gg110_options__get_packed_size (const GG110Options *message) { assert(message->base.descriptor == &gg110_options__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }
functions
size_t gg110_options__pack (const GG110Options *message, uint8_t *out) { assert(message->base.descriptor == &gg110_options__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }
functions
size_t gg110_options__pack_to_buffer (const GG110Options *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &gg110_options__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }
functions
void gg110_options__free_unpacked (GG110Options *message, ProtobufCAllocator *allocator) { assert(message->base.descriptor == &gg110_options__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }
functions
void gg110_access_info__init (GG110AccessInfo *message) { static GG110AccessInfo init_value = GG110_ACCESS_INFO__INIT; *message = init_value; }
functions
size_t gg110_access_info__get_packed_size (const GG110AccessInfo *message) { assert(message->base.descriptor == &gg110_access_info__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }
functions
size_t gg110_access_info__pack (const GG110AccessInfo *message, uint8_t *out) { assert(message->base.descriptor == &gg110_access_info__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }
functions
size_t gg110_access_info__pack_to_buffer (const GG110AccessInfo *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &gg110_access_info__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }
functions
void gg110_access_info__free_unpacked (GG110AccessInfo *message, ProtobufCAllocator *allocator) { assert(message->base.descriptor == &gg110_access_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }
functions
void gg112_transfer_info_uin__init (GG112TransferInfoUin *message) { static GG112TransferInfoUin init_value = GG112_TRANSFER_INFO_UIN__INIT; *message = init_value; }
functions
size_t gg112_transfer_info_uin__get_packed_size (const GG112TransferInfoUin *message) { assert(message->base.descriptor == &gg112_transfer_info_uin__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }
functions
size_t gg112_transfer_info_uin__pack (const GG112TransferInfoUin *message, uint8_t *out) { assert(message->base.descriptor == &gg112_transfer_info_uin__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }
functions
size_t gg112_transfer_info_uin__pack_to_buffer (const GG112TransferInfoUin *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &gg112_transfer_info_uin__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }
functions
void gg112_transfer_info_uin__free_unpacked (GG112TransferInfoUin *message, ProtobufCAllocator *allocator) { assert(message->base.descriptor == &gg112_transfer_info_uin__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }
functions
void gg112_transfer_info_file__init (GG112TransferInfoFile *message) { static GG112TransferInfoFile init_value = GG112_TRANSFER_INFO_FILE__INIT; *message = init_value; }
functions
size_t gg112_transfer_info_file__get_packed_size (const GG112TransferInfoFile *message) { assert(message->base.descriptor == &gg112_transfer_info_file__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }
functions
size_t gg112_transfer_info_file__pack (const GG112TransferInfoFile *message, uint8_t *out) { assert(message->base.descriptor == &gg112_transfer_info_file__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }
functions
size_t gg112_transfer_info_file__pack_to_buffer (const GG112TransferInfoFile *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &gg112_transfer_info_file__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);...
functions
void gg112_transfer_info_file__free_unpacked (GG112TransferInfoFile *message, ProtobufCAllocator *allocator) { assert(message->base.descriptor == &gg112_transfer_info_file__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }
functions
void gg112_transfer_info__init (GG112TransferInfo *message) { static GG112TransferInfo init_value = GG112_TRANSFER_INFO__INIT; *message = init_value; }
functions
size_t gg112_transfer_info__get_packed_size (const GG112TransferInfo *message) { assert(message->base.descriptor == &gg112_transfer_info__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }
functions
size_t gg112_transfer_info__pack (const GG112TransferInfo *message, uint8_t *out) { assert(message->base.descriptor == &gg112_transfer_info__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }
functions
size_t gg112_transfer_info__pack_to_buffer (const GG112TransferInfo *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &gg112_transfer_info__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }
functions
void gg112_transfer_info__free_unpacked (GG112TransferInfo *message, ProtobufCAllocator *allocator) { assert(message->base.descriptor == &gg112_transfer_info__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }
functions
void gg110_magic_notification__init (GG110MagicNotification *message) { static GG110MagicNotification init_value = GG110_MAGIC_NOTIFICATION__INIT; *message = init_value; }
functions
size_t gg110_magic_notification__get_packed_size (const GG110MagicNotification *message) { assert(message->base.descriptor == &gg110_magic_notification__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }
functions
size_t gg110_magic_notification__pack (const GG110MagicNotification *message, uint8_t *out) { assert(message->base.descriptor == &gg110_magic_notification__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }
functions
size_t gg110_magic_notification__pack_to_buffer (const GG110MagicNotification *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &gg110_magic_notification__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer)...
functions
void gg110_magic_notification__free_unpacked (GG110MagicNotification *message, ProtobufCAllocator *allocator) { assert(message->base.descriptor == &gg110_magic_notification__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }
defines
#define DEV_TTY "/dev/tty"
defines
#define ALL_OBJFILE_PSYMTABS_REQUIRED(objfile, p) \
defines
#define ALL_PSYMTABS(objfile, p) \
structs
struct psymbol_bcache { struct bcache *bcache; };
structs
struct psymtab_state { /* The objfile where psymtabs are discarded. */ struct objfile *objfile; /* The first psymtab to save. */ struct partial_symtab *save; };
structs
struct dump_psymtab_addrmap_data { struct objfile *objfile; struct partial_symtab *psymtab; struct ui_file *outfile; /* Non-zero if the previously printed addrmap entry was for PSYMTAB. If so, we want to print the next one as well (since the next addrmap entry defines the end of the range). */ int...
functions
void fixup_psymbol_section (struct partial_symbol *psym, struct objfile *objfile) { CORE_ADDR addr; if (psym == NULL) return; if (SYMBOL_SECTION (psym) >= 0) return; gdb_assert (objfile); switch (PSYMBOL_CLASS (psym)) { case LOC_STATIC: case LOC_LABEL: case LOC_BLOCK: addr = ...
functions
void psym_relocate (struct objfile *objfile, const struct section_offsets *new_offsets, const struct section_offsets *delta) { struct partial_symbol **psym; struct partial_symtab *p; ALL_OBJFILE_PSYMTABS_REQUIRED (objfile, p) { p->textlow += ANOFFSET (delta, SECT_OFF_TEXT (objfile)); ...
functions
void psym_forget_cached_source_info (struct objfile *objfile) { struct partial_symtab *pst; ALL_OBJFILE_PSYMTABS_REQUIRED (objfile, pst) { if (pst->fullname != NULL) { xfree (pst->fullname); pst->fullname = NULL; }
functions
void print_partial_symbols (struct gdbarch *gdbarch, struct partial_symbol **p, int count, char *what, struct ui_file *outfile) { fprintf_filtered (outfile, " %s partial symbols:\n", what); while (count-- > 0) { QUIT; fprintf_filtered (outfile, " `%s'", SYMBOL_LINKAGE_NAME (*p)...
functions
void dump_psymtab (struct objfile *objfile, struct partial_symtab *psymtab, struct ui_file *outfile) { struct gdbarch *gdbarch = get_objfile_arch (objfile); int i; if (psymtab->anonymous) { fprintf_filtered (outfile, "\nAnonymous partial symtab (%s) ", psymtab->filename); }
functions
void psym_print_stats (struct objfile *objfile) { int i; struct partial_symtab *ps; i = 0; ALL_OBJFILE_PSYMTABS_REQUIRED (objfile, ps) { if (ps->readin == 0) i++; }
functions
void psym_dump (struct objfile *objfile) { struct partial_symtab *psymtab; if (objfile->psymtabs) { printf_filtered ("Psymtabs:\n"); for (psymtab = objfile->psymtabs; psymtab != NULL; psymtab = psymtab->next) { printf_filtered ("%s at ", psymtab->filename); gdb_print_host_addre...
functions
void psym_expand_symtabs_for_function (struct objfile *objfile, const char *func_name) { struct partial_symtab *ps; ALL_OBJFILE_PSYMTABS_REQUIRED (objfile, ps) { if (ps->readin) continue; if ((lookup_partial_symbol (objfile, ps, func_name, 1, VAR_DOMAIN) != NULL) || (lookup_partial_symbol...
functions
void psym_expand_all_symtabs (struct objfile *objfile) { struct partial_symtab *psymtab; ALL_OBJFILE_PSYMTABS_REQUIRED (objfile, psymtab) { psymtab_to_symtab (objfile, psymtab); }
functions
void psym_expand_symtabs_with_fullname (struct objfile *objfile, const char *fullname) { struct partial_symtab *p; ALL_OBJFILE_PSYMTABS_REQUIRED (objfile, p) { /* Anonymous psymtabs don't have a name of a source file. */ if (p->anonymous) continue; /* psymtab_to_fullname tries to op...
functions
void psym_map_symbol_filenames (struct objfile *objfile, symbol_filename_ftype *fun, void *data, int need_fullname) { struct partial_symtab *ps; ALL_OBJFILE_PSYMTABS_REQUIRED (objfile, ps) { const char *fullname; if (ps->readin) continue; /* We can skip shared psymtabs here, be...
functions
int recursively_search_psymtabs (struct partial_symtab *ps, struct objfile *objfile, enum search_domain kind, expand_symtabs_symbol_matcher_ftype *sym_matcher, void *data) { struct partial_symbol **psym; struct partial_symbol **bound, **gbound, **sbound; int keep_going = 1; enum ...
functions
void psym_expand_symtabs_matching (struct objfile *objfile, expand_symtabs_file_matcher_ftype *file_matcher, expand_symtabs_symbol_matcher_ftype *symbol_matcher, expand_symtabs_exp_notify_ftype *expansion_notify, enum search_domain kind, void *data) { struct partial_symtab *ps; /* Clear the search...
functions
int psym_has_symbols (struct objfile *objfile) { return objfile->psymtabs != NULL; }
functions
int compare_psymbols (const void *s1p, const void *s2p) { struct partial_symbol *const *s1 = (struct partial_symbol * const*) s1p; struct partial_symbol *const *s2 = (struct partial_symbol * const*) s2p; return strcmp_iw_ordered (SYMBOL_SEARCH_NAME (*s1), SYMBOL_SEARCH_NAME (*s2)); }
functions
void sort_pst_symbols (struct objfile *objfile, struct partial_symtab *pst) { /* Sort the global list; don't sort the static list. */ qsort (objfile->global_psymbols.list + pst->globals_offset, pst->n_global_syms, sizeof (struct partial_symbol *), compare_psymbols); }
functions
void end_psymtab_common (struct objfile *objfile, struct partial_symtab *pst) { pst->n_global_syms = objfile->global_psymbols.next - (objfile->global_psymbols.list + pst->globals_offset); pst->n_static_syms = objfile->static_psymbols.next - (objfile->static_psymbols.list + pst->statics...
functions
long psymbol_hash (const void *addr, int length) { unsigned long h = 0; struct partial_symbol *psymbol = (struct partial_symbol *) addr; unsigned int lang = psymbol->ginfo.language; unsigned int domain = PSYMBOL_DOMAIN (psymbol); unsigned int theclass = PSYMBOL_CLASS (psymbol); h = hash_continue (&psymbol-...
functions
int psymbol_compare (const void *addr1, const void *addr2, int length) { struct partial_symbol *sym1 = (struct partial_symbol *) addr1; struct partial_symbol *sym2 = (struct partial_symbol *) addr2; return (memcmp (&sym1->ginfo.value, &sym1->ginfo.value, sizeof (sym1->ginfo.value)) == 0 && s...
functions
void psymbol_bcache_free (struct psymbol_bcache *bcache) { if (bcache == NULL) return; bcache_xfree (bcache->bcache); xfree (bcache); }
functions
void extend_psymbol_list (struct psymbol_allocation_list *listp, struct objfile *objfile) { int new_size; if (listp->size == 0) { new_size = 255; listp->list = XNEWVEC (struct partial_symbol *, new_size); }
functions
void append_psymbol_to_list (struct psymbol_allocation_list *list, const struct partial_symbol *psym, struct objfile *objfile) { if (list->next >= list->list + list->size) extend_psymbol_list (list, objfile); *list->next++ = (struct partial_symbol *) psym; OBJSTAT (objfile, n_psyms++); }
functions
void add_psymbol_to_list (const char *name, int namelength, int copy_name, domain_enum domain, enum address_class theclass, struct psymbol_allocation_list *list, CORE_ADDR coreaddr, enum language language, struct objfile *objfile) { const struct partial_symbol *psym; int added; ...
functions
void init_psymbol_list (struct objfile *objfile, int total_symbols) { /* Free any previously allocated psymbol lists. */ if (objfile->global_psymbols.list) xfree (objfile->global_psymbols.list); if (objfile->static_psymbols.list) xfree (objfile->static_psymbols.list); /* Current best guess is that ap...
functions
void discard_psymtab (struct objfile *objfile, struct partial_symtab *pst) { struct partial_symtab **prev_pst; /* From dbxread.c: Empty psymtabs happen as a result of header files which don't have any symbols in them. There can be a lot of them. But this check is wrong, in that a psymtab with N_SL...
functions
void discard_psymtabs_upto (void *arg) { struct psymtab_state *state = (struct psymtab_state *) arg; while (state->objfile->psymtabs != state->save) discard_psymtab (state->objfile, state->objfile->psymtabs); }
functions
int dump_psymtab_addrmap_1 (void *datap, CORE_ADDR start_addr, void *obj) { struct dump_psymtab_addrmap_data *data = (struct dump_psymtab_addrmap_data *) datap; struct gdbarch *gdbarch = get_objfile_arch (data->objfile); struct partial_symtab *addrmap_psymtab = (struct partial_symtab *) obj; const char *psy...
functions
void dump_psymtab_addrmap (struct objfile *objfile, struct partial_symtab *psymtab, struct ui_file *outfile) { struct dump_psymtab_addrmap_data addrmap_dump_data; if (psymtab == NULL || psymtab->psymtabs_addrmap_supported) { addrmap_dump_data.objfile = objfile; addrmap_dump_data.psymt...
functions
void maintenance_print_psymbols (char *args, int from_tty) { char **argv; struct ui_file *outfile; struct cleanup *cleanups; char *symname = NULL; char *filename = DEV_TTY; struct objfile *objfile; struct partial_symtab *ps; dont_repeat (); if (args == NULL) { error (_("\ print-psymbols ta...
functions
void maintenance_info_psymtabs (char *regexp, int from_tty) { struct program_space *pspace; struct objfile *objfile; if (regexp) re_comp (regexp); ALL_PSPACES (pspace) ALL_PSPACE_OBJFILES (pspace, objfile) { struct gdbarch *gdbarch = get_objfile_arch (objfile); struct partial_symtab *p...
functions
void maintenance_check_psymtabs (char *ignore, int from_tty) { struct symbol *sym; struct partial_symbol **psym; struct compunit_symtab *cust = NULL; struct partial_symtab *ps; const struct blockvector *bv; struct objfile *objfile; struct block *b; int length; ALL_PSYMTABS (objfile, ps) { struc...
functions
void _initialize_psymtab (void) { add_cmd ("psymbols", class_maintenance, maintenance_print_psymbols, _("\ Print dump of current partial symbol definitions.\n\ Entries in the partial symbol table are dumped to file OUTFILE.\n\ If a SOURCE file is specified, dump only that file's partial symbols."), &maintenancepr...
includes
#include <linux/dma-mapping.h>
includes
#include <mach/upmu_common.h>
includes
#include <mach/upmu_sw.h>
includes
#include <mach/upmu_hw.h>
includes
#include <mach/mt_pmic_wrap.h>
includes
#include <mach/mt_gpio.h>
includes
#include <linux/time.h>
includes
#include <mach/upmu_common.h>
includes
#include <cust_battery_meter.h>
includes
#include <mach/mt_clkmgr.h>
includes
#include <mach/mt_pm_ldo.h>
includes
#include <mach/mt_gpio.h>
includes
#include <cust_gpio_usage.h>
defines
#define AUXADC_HP_L_CHANNEL 15
defines
#define AUXADC_HP_R_CHANNEL 14
functions
int Get_Audio_Mode(void) { return mAudio_Mode; }
functions
int Audio_SideGen_Get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { printk("Audio_AmpR_Get = %d\n", mDac_Sinegen); ucontrol->value.integer.value[0] = mDac_Sinegen; return 0; }
functions
int Audio_SideGen_Set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { int index = 0; printk("%s()\n", __func__); if (ucontrol->value.enumerated.item[0] > ARRAY_SIZE(DAC_DL_SIDEGEN)) { printk("return -EINVAL\n"); return -EINVAL; }
functions
int Audio_SideGen_SampleRate_Get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { printk("%s\n", __func__); ucontrol->value.integer.value[0] = mDac_SampleRate; return 0; }
functions
int Audio_SideGen_SampleRate_Set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { int index = 0; printk("%s()\n", __func__); if (ucontrol->value.enumerated.item[0] > ARRAY_SIZE(DAC_DL_SIDEGEN_SAMEPLRATE)) { printk("return -EINVAL\n"); return -EINVAL; }
functions
int Audio_SideGen_Amplitude_Get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { printk("Audio_AmpR_Get = %d\n", mDac_Sidegen_Amplitude); return 0; }
functions
int Audio_SideGen_Amplitude_Set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { int index = 0; printk("%s()\n", __func__); if (ucontrol->value.enumerated.item[0] > ARRAY_SIZE(DAC_DL_SIDEGEN_AMPLITUE)) { printk("return -EINVAL\n"); return -EINVAL; }
functions
int Audio_SideTone_Get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { printk("Audio_SideTone_Get = %d\n", mEnableSidetone); ucontrol->value.integer.value[0] = mEnableSidetone; return 0; }
functions
int Audio_SideTone_Set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { int index = 0; printk("%s()\n", __func__); if (ucontrol->value.enumerated.item[0] > ARRAY_SIZE(ENABLESIDETONE)) { printk("return -EINVAL\n"); return -EINVAL; }
functions
int Audio_ModemPcm_ASRC_Get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { printk("%s(), mModemPcm_ASRC_on=%d\n", __func__, mModemPcm_ASRC_on); ucontrol->value.integer.value[0] = mModemPcm_ASRC_on; return 0; }
functions
int AudioDebug_Setting_Set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) { printk("%s()\n", __func__); if (ucontrol->value.enumerated.item[0] > ARRAY_SIZE(Audio_Debug_Setting)) { printk("return -EINVAL\n"); return -EINVAL; }
functions
void Auddrv_I2S1GpioSet(void) { #ifdef CONFIG_MTK_EXT_DAC // I2S1 #ifdef CONFIG_OF int ret; ret = GetGPIO_Info(6, &pin_i2s1clk, &pin_mode_i2s1clk); if (ret < 0) { printk("Auddrv_I2S1GpioSet GetGPIO_Info FAIL1!!! \n"); return; }