Lines Matching refs:my_data

42     struct acdb_platform_data *my_data = NULL;  in acdb_init()  local
56 my_data = calloc(1, sizeof(struct acdb_platform_data)); in acdb_init()
57 if (!my_data) { in acdb_init()
62 list_init(&my_data->acdb_meta_key_list); in acdb_init()
64 my_data->acdb_handle = dlopen(LIB_ACDB_LOADER, RTLD_NOW); in acdb_init()
65 if (my_data->acdb_handle == NULL) { in acdb_init()
72 my_data->acdb_init_v3 = (acdb_init_v3_t)dlsym(my_data->acdb_handle, in acdb_init()
74 if (my_data->acdb_init_v3 == NULL) in acdb_init()
77 my_data->acdb_init_v2 = (acdb_init_v2_cvd_t)dlsym(my_data->acdb_handle, in acdb_init()
79 if (my_data->acdb_init_v2 == NULL) in acdb_init()
82 my_data->acdb_init = (acdb_init_t)dlsym(my_data->acdb_handle, in acdb_init()
84 if (my_data->acdb_init == NULL && my_data->acdb_init_v2 == NULL in acdb_init()
85 && my_data->acdb_init_v3 == NULL) { in acdb_init()
125 if (my_data->acdb_init_v3) in acdb_init()
126 result = my_data->acdb_init_v3(snd_card_name, cvd_version, in acdb_init()
127 &my_data->acdb_meta_key_list); in acdb_init()
128 else if (my_data->acdb_init_v2) in acdb_init()
129 result = my_data->acdb_init_v2(snd_card_name, cvd_version, 0); in acdb_init()
131 result = my_data->acdb_init(); in acdb_init()
134 if (NULL != my_data) { in acdb_init()
135 if (my_data->acdb_handle) in acdb_init()
136 dlclose(my_data->acdb_handle); in acdb_init()
140 list_for_each(node, &my_data->acdb_meta_key_list) { in acdb_init()
144 free(my_data); in acdb_init()
156 struct acdb_platform_data *my_data = (struct acdb_platform_data *)platform; in acdb_set_parameters() local
171 my_data->snd_card_name = strdup(value); in acdb_set_parameters()
172 ALOGV("%s: sound card name %s", __func__, my_data->snd_card_name); in acdb_set_parameters()