Home | History | Annotate | Download | only in src

Lines Matching refs:p_sfinfo

23 SFINFO *p_sfinfo)
26 CFG *p_cfg = &p_sfinfo->cfg;
33 p_sfinfo->ap_ac[ich] = (AC *)calloc_ldac(p_sfinfo, 1, sizeof(AC));
34 if (p_sfinfo->ap_ac[ich] != (AC *)NULL) {
35 p_sfinfo->ap_ac[ich]->p_acsub = (ACSUB *)calloc_ldac(p_sfinfo, 1, sizeof(ACSUB));
36 if (p_sfinfo->ap_ac[ich]->p_acsub == (ACSUB *)NULL) {
52 p_sfinfo->p_ab = (AB *)calloc_ldac(p_sfinfo, nbks, sizeof(AB));
53 if (p_sfinfo->p_ab == (AB *)NULL) {
64 SFINFO *p_sfinfo)
67 CFG *p_cfg = &p_sfinfo->cfg;
75 if (alloc_encode_ldac(p_sfinfo) == LDAC_E_FAIL) {
76 p_sfinfo->error_code = LDAC_ERR_ALLOC_MEMORY;
80 p_sfinfo->error_code = LDAC_ERR_NONE;
84 p_ab = p_sfinfo->p_ab;
89 p_ab->p_error_code = &p_sfinfo->error_code;
93 p_ab->ap_ac[ich] = p_sfinfo->ap_ac[ch_offset++];
102 calc_initial_bits_ldac(p_sfinfo);
111 SFINFO *p_sfinfo)
113 CFG *p_cfg = &p_sfinfo->cfg;
114 AB *p_ab = p_sfinfo->p_ab;
144 SFINFO *p_sfinfo)
147 int nchs = p_sfinfo->cfg.ch;
150 if (p_sfinfo->p_ab != (AB *)NULL) {
151 free(p_sfinfo->p_ab);
152 p_sfinfo->p_ab = (AB *)NULL;
157 if (p_sfinfo->ap_ac[ich] != (AC *)NULL) {
158 if (p_sfinfo->ap_ac[ich]->p_acsub != (ACSUB *)NULL) {
159 free(p_sfinfo->ap_ac[ich]->p_acsub);
160 p_sfinfo->ap_ac[ich]->p_acsub = (ACSUB *)NULL;
162 free(p_sfinfo->ap_ac[ich]);
163 p_sfinfo->ap_ac[ich] = (AC *)NULL;
205 SFINFO *p_sfinfo,
214 AB *p_ab = p_sfinfo->p_ab;
216 int nbks = gaa_block_setting_ldac[p_sfinfo->cfg.chconfig_id][1];