Searched refs:ldch_mem_info (Results 1 – 4 of 4) sorted by relevance
70 ldchCtx->ldch_mem_info = (rk_aiq_ldch_share_mem_info_t *) in get_ldch_buf()72 if (ldchCtx->ldch_mem_info == NULL || \ in get_ldch_buf()73 (ldchCtx->ldch_mem_info && \ in get_ldch_buf()74 ldchCtx->ldch_mem_info->state[0] != MESH_BUF_INIT)) { in get_ldch_buf()78 ldchCtx->ldch_mem_info->state[0] = MESH_BUF_WAIT2CHIP; //mark that this buf is using. in get_ldch_buf()81 ldchCtx->ldch_mem_info->fd, in get_ldch_buf()82 ldchCtx->ldch_mem_info->addr, in get_ldch_buf()83 ldchCtx->ldch_mem_info->size); in get_ldch_buf()90 if (ldchCtx->ldch_mem_info && ldchCtx->ldch_mem_info->state[0] == MESH_BUF_WAIT2CHIP) { in put_ldch_buf()91 ldchCtx->ldch_mem_info->state[0] = MESH_BUF_INIT; in put_ldch_buf()[all …]
77 if (ldchCtx->ldch_mem_info) in updateCalibConfig()78 hLDCH->ready_lut_mem_fd = ldchCtx->ldch_mem_info->fd; in updateCalibConfig()128 uint16_t *addr = (uint16_t *)ldchCtx->ldch_mem_info->addr; in update_custom_lut_from_file()136 if (ldchCtx->ldch_mem_info) { in update_custom_lut_from_file()137 ldchCtx->ready_lut_mem_fd = ldchCtx->ldch_mem_info->fd; in update_custom_lut_from_file()175 lut_size > (uint32_t)ldchCtx->ldch_mem_info->size) { in update_custom_lut_from_external_buffer()179 lut_size, ldchCtx->ldch_mem_info->size); in update_custom_lut_from_external_buffer()189 memcpy(ldchCtx->ldch_mem_info->addr, addr, ldchCtx->lut_mapxy_size); in update_custom_lut_from_external_buffer()199 if (ldchCtx->ldch_mem_info) { in update_custom_lut_from_external_buffer()200 ldchCtx->ready_lut_mem_fd = ldchCtx->ldch_mem_info->fd; in update_custom_lut_from_external_buffer()[all …]
275 if (!ldchCtx->ldch_mem_info) { in processing()276 LOGE_ALDCH("no available ldch buf, ldch_mem_info: %p", ldchCtx->ldch_mem_info); in processing()281 ldchPreOut->ldch_result->lut_mapxy_buf_fd = ldchCtx->ldch_mem_info->fd; in processing()
125 rk_aiq_ldch_share_mem_info_t *ldch_mem_info; member