return NULL;
 }
 
-static void destruct(struct bios_parser *bp)
+static void bios_parser_destruct(struct bios_parser *bp)
 {
        kfree(bp->base.bios_local_image);
        kfree(bp->base.integrated_info);
                return;
        }
 
-       destruct(bp);
+       bios_parser_destruct(bp);
 
        kfree(bp);
        *dcb = NULL;
 
 
 #define DATA_TABLES(table) (bp->master_data_tbl->listOfdatatables.table)
 
-static void destruct(struct bios_parser *bp)
+static void bios_parser2_destruct(struct bios_parser *bp)
 {
        kfree(bp->base.bios_local_image);
        kfree(bp->base.integrated_info);
                return;
        }
 
-       destruct(bp);
+       bios_parser2_destruct(bp);
 
        kfree(bp);
        *dcb = NULL;
        .get_board_layout_info = bios_get_board_layout_info,
 };
 
-static bool bios_parser_construct(
+static bool bios_parser2_construct(
        struct bios_parser *bp,
        struct bp_init_data *init,
        enum dce_version dce_version)
        if (!bp)
                return NULL;
 
-       if (bios_parser_construct(bp, init, dce_version))
+       if (bios_parser2_construct(bp, init, dce_version))
                return &bp->base;
 
        kfree(bp);
 
        dc->hwss.set_static_screen_control(pipes_affected, num_pipes_affected, events);
 }
 
-static void destruct(struct dc *dc)
+static void dc_destruct(struct dc *dc)
 {
        if (dc->current_state) {
                dc_release_state(dc->current_state);
 
 }
 
-static bool construct(struct dc *dc,
+static bool dc_construct(struct dc *dc,
                const struct dc_init_data *init_params)
 {
        struct dc_context *dc_ctx;
 
 fail:
 
-       destruct(dc);
+       dc_destruct(dc);
        return false;
 }
 
        if (NULL == dc)
                goto alloc_fail;
 
-       if (false == construct(dc, init_params))
+       if (false == dc_construct(dc, init_params))
                goto construct_fail;
 
        full_pipe_count = dc->res_pool->pipe_count;
 
 void dc_destroy(struct dc **dc)
 {
-       destruct(*dc);
+       dc_destruct(*dc);
        kfree(*dc);
        *dc = NULL;
 }
 
 /*******************************************************************************
  * Private functions
  ******************************************************************************/
-static void destruct(struct dc_link *link)
+static void dc_link_destruct(struct dc_link *link)
 {
        int i;
 
        }
 }
 
-static bool construct(
+static bool dc_link_construct(
        struct dc_link *link,
        const struct link_init_data *init_params)
 {
        if (NULL == link)
                goto alloc_fail;
 
-       if (false == construct(link, init_params))
+       if (false == dc_link_construct(link, init_params))
                goto construct_fail;
 
        return link;
 
 void link_destroy(struct dc_link **link)
 {
-       destruct(*link);
+       dc_link_destruct(*link);
        kfree(*link);
        *link = NULL;
 }
 
 
 }
 
-static void construct(
+static void ddc_service_construct(
        struct ddc_service *ddc_service,
        struct ddc_service_init_data *init_data)
 {
        if (!ddc_service)
                return NULL;
 
-       construct(ddc_service, init_data);
+       ddc_service_construct(ddc_service, init_data);
        return ddc_service;
 }
 
-static void destruct(struct ddc_service *ddc)
+static void ddc_service_destruct(struct ddc_service *ddc)
 {
        if (ddc->ddc_pin)
                dal_gpio_destroy_ddc(&ddc->ddc_pin);
                BREAK_TO_DEBUGGER();
                return;
        }
-       destruct(*ddc);
+       ddc_service_destruct(*ddc);
        kfree(*ddc);
        *ddc = NULL;
 }
 
  * Private functions
  ******************************************************************************/
 
-static void destruct(struct dc_sink *sink)
+static void dc_sink_destruct(struct dc_sink *sink)
 {
        if (sink->dc_container_id) {
                kfree(sink->dc_container_id);
        }
 }
 
-static bool construct(struct dc_sink *sink, const struct dc_sink_init_data *init_params)
+static bool dc_sink_construct(struct dc_sink *sink, const struct dc_sink_init_data *init_params)
 {
 
        struct dc_link *link = init_params->link;
 static void dc_sink_free(struct kref *kref)
 {
        struct dc_sink *sink = container_of(kref, struct dc_sink, refcount);
-       destruct(sink);
+       dc_sink_destruct(sink);
        kfree(sink);
 }
 
        if (NULL == sink)
                goto alloc_fail;
 
-       if (false == construct(sink, init_params))
+       if (false == dc_sink_construct(sink, init_params))
                goto construct_fail;
 
        kref_init(&sink->refcount);
 
        }
 }
 
-static void construct(struct dc_stream_state *stream,
+static void dc_stream_construct(struct dc_stream_state *stream,
        struct dc_sink *dc_sink_data)
 {
        uint32_t i = 0;
        stream->ctx->dc_stream_id_count++;
 }
 
-static void destruct(struct dc_stream_state *stream)
+static void dc_stream_destruct(struct dc_stream_state *stream)
 {
        dc_sink_release(stream->sink);
        if (stream->out_transfer_func != NULL) {
 {
        struct dc_stream_state *stream = container_of(kref, struct dc_stream_state, refcount);
 
-       destruct(stream);
+       dc_stream_destruct(stream);
        kfree(stream);
 }
 
        if (stream == NULL)
                return NULL;
 
-       construct(stream, sink);
+       dc_stream_construct(stream, sink);
 
        kref_init(&stream->refcount);
 
 
 /*******************************************************************************
  * Private functions
  ******************************************************************************/
-static void construct(struct dc_context *ctx, struct dc_plane_state *plane_state)
+static void dc_plane_construct(struct dc_context *ctx, struct dc_plane_state *plane_state)
 {
        plane_state->ctx = ctx;
 
 
 }
 
-static void destruct(struct dc_plane_state *plane_state)
+static void dc_plane_destruct(struct dc_plane_state *plane_state)
 {
        if (plane_state->gamma_correction != NULL) {
                dc_gamma_release(&plane_state->gamma_correction);
                return NULL;
 
        kref_init(&plane_state->refcount);
-       construct(core_dc->ctx, plane_state);
+       dc_plane_construct(core_dc->ctx, plane_state);
 
        return plane_state;
 }
 static void dc_plane_state_free(struct kref *kref)
 {
        struct dc_plane_state *plane_state = container_of(kref, struct dc_plane_state, refcount);
-       destruct(plane_state);
+       dc_plane_destruct(plane_state);
        kvfree(plane_state);
 }
 
 
        *clk_src = NULL;
 }
 
-static void destruct(struct dce110_resource_pool *pool)
+static void dce100_resource_destruct(struct dce110_resource_pool *pool)
 {
        unsigned int i;
 
 {
        struct dce110_resource_pool *dce110_pool = TO_DCE110_RES_POOL(*pool);
 
-       destruct(dce110_pool);
+       dce100_resource_destruct(dce110_pool);
        kfree(dce110_pool);
        *pool = NULL;
 }
        .find_first_free_match_stream_enc_for_link = dce100_find_first_free_match_stream_enc_for_link
 };
 
-static bool construct(
+static bool dce100_resource_construct(
        uint8_t num_virtual_links,
        struct dc  *dc,
        struct dce110_resource_pool *pool)
        return true;
 
 res_create_fail:
-       destruct(pool);
+       dce100_resource_destruct(pool);
 
        return false;
 }
        if (!pool)
                return NULL;
 
-       if (construct(num_virtual_links, dc, pool))
+       if (dce100_resource_construct(num_virtual_links, dc, pool))
                return &pool->base;
 
        kfree(pool);
 
        *clk_src = NULL;
 }
 
-static void destruct(struct dce110_resource_pool *pool)
+static void dce110_resource_destruct(struct dce110_resource_pool *pool)
 {
        unsigned int i;
 
 {
        struct dce110_resource_pool *dce110_pool = TO_DCE110_RES_POOL(*pool);
 
-       destruct(dce110_pool);
+       dce110_resource_destruct(dce110_pool);
        kfree(dce110_pool);
        *pool = NULL;
 }
                return &carrizo_resource_cap;
 }
 
-static bool construct(
+static bool dce110_resource_construct(
        uint8_t num_virtual_links,
        struct dc *dc,
        struct dce110_resource_pool *pool,
        return true;
 
 res_create_fail:
-       destruct(pool);
+       dce110_resource_destruct(pool);
        return false;
 }
 
        if (!pool)
                return NULL;
 
-       if (construct(num_virtual_links, dc, pool, asic_id))
+       if (dce110_resource_construct(num_virtual_links, dc, pool, asic_id))
                return &pool->base;
 
        kfree(pool);
 
        *clk_src = NULL;
 }
 
-static void destruct(struct dce110_resource_pool *pool)
+static void dce112_resource_destruct(struct dce110_resource_pool *pool)
 {
        unsigned int i;
 
 {
        struct dce110_resource_pool *dce110_pool = TO_DCE110_RES_POOL(*pool);
 
-       destruct(dce110_pool);
+       dce112_resource_destruct(dce110_pool);
        kfree(dce110_pool);
        *pool = NULL;
 }
                return &polaris_10_resource_cap;
 }
 
-static bool construct(
+static bool dce112_resource_construct(
        uint8_t num_virtual_links,
        struct dc *dc,
        struct dce110_resource_pool *pool)
        return true;
 
 res_create_fail:
-       destruct(pool);
+       dce112_resource_destruct(pool);
        return false;
 }
 
        if (!pool)
                return NULL;
 
-       if (construct(num_virtual_links, dc, pool))
+       if (dce112_resource_construct(num_virtual_links, dc, pool))
                return &pool->base;
 
        kfree(pool);
 
        *xfm = NULL;
 }
 
-static void destruct(struct dce110_resource_pool *pool)
+static void dce120_resource_destruct(struct dce110_resource_pool *pool)
 {
        unsigned int i;
 
 {
        struct dce110_resource_pool *dce110_pool = TO_DCE110_RES_POOL(*pool);
 
-       destruct(dce110_pool);
+       dce120_resource_destruct(dce110_pool);
        kfree(dce110_pool);
        *pool = NULL;
 }
        return value;
 }
 
-static bool construct(
+static bool dce120_resource_construct(
        uint8_t num_virtual_links,
        struct dc *dc,
        struct dce110_resource_pool *pool)
 clk_src_create_fail:
 res_create_fail:
 
-       destruct(pool);
+       dce120_resource_destruct(pool);
 
        return false;
 }
        if (!pool)
                return NULL;
 
-       if (construct(num_virtual_links, dc, pool))
+       if (dce120_resource_construct(num_virtual_links, dc, pool))
                return &pool->base;
 
        kfree(pool);
 
        return &ipp->base;
 }
 
-static void destruct(struct dce110_resource_pool *pool)
+static void dce80_resource_destruct(struct dce110_resource_pool *pool)
 {
        unsigned int i;
 
 {
        struct dce110_resource_pool *dce110_pool = TO_DCE110_RES_POOL(*pool);
 
-       destruct(dce110_pool);
+       dce80_resource_destruct(dce110_pool);
        kfree(dce110_pool);
        *pool = NULL;
 }
        return true;
 
 res_create_fail:
-       destruct(pool);
+       dce80_resource_destruct(pool);
        return false;
 }
 
        return true;
 
 res_create_fail:
-       destruct(pool);
+       dce80_resource_destruct(pool);
        return false;
 }
 
        return true;
 
 res_create_fail:
-       destruct(pool);
+       dce80_resource_destruct(pool);
        return false;
 }
 
 
        return pp_smu;
 }
 
-static void destruct(struct dcn10_resource_pool *pool)
+static void dcn10_resource_destruct(struct dcn10_resource_pool *pool)
 {
        unsigned int i;
 
 {
        struct dcn10_resource_pool *dcn10_pool = TO_DCN10_RES_POOL(*pool);
 
-       destruct(dcn10_pool);
+       dcn10_resource_destruct(dcn10_pool);
        kfree(dcn10_pool);
        *pool = NULL;
 }
        return value;
 }
 
-static bool construct(
+static bool dcn10_resource_construct(
        uint8_t num_virtual_links,
        struct dc *dc,
        struct dcn10_resource_pool *pool)
 
 fail:
 
-       destruct(pool);
+       dcn10_resource_destruct(pool);
 
        return false;
 }
        if (!pool)
                return NULL;
 
-       if (construct(init_data->num_virtual_links, dc, pool))
+       if (dcn10_resource_construct(init_data->num_virtual_links, dc, pool))
                return &pool->base;
 
        kfree(pool);
 
 }
 
 
-static void destruct(struct dcn20_resource_pool *pool)
+static void dcn20_resource_destruct(struct dcn20_resource_pool *pool)
 {
        unsigned int i;
 
 {
        struct dcn20_resource_pool *dcn20_pool = TO_DCN20_RES_POOL(*pool);
 
-       destruct(dcn20_pool);
+       dcn20_resource_destruct(dcn20_pool);
        kfree(dcn20_pool);
        *pool = NULL;
 }
        return true;
 }
 
-static bool construct(
+static bool dcn20_resource_construct(
        uint8_t num_virtual_links,
        struct dc *dc,
        struct dcn20_resource_pool *pool)
 
 create_fail:
 
-       destruct(pool);
+       dcn20_resource_destruct(pool);
 
        return false;
 }
        if (!pool)
                return NULL;
 
-       if (construct(init_data->num_virtual_links, dc, pool))
+       if (dcn20_resource_construct(init_data->num_virtual_links, dc, pool))
                return &pool->base;
 
        BREAK_TO_DEBUGGER();
 
        DCN20_CLK_SRC_TOTAL_DCN21
 };
 
-static void destruct(struct dcn21_resource_pool *pool)
+static void dcn21_resource_destruct(struct dcn21_resource_pool *pool)
 {
        unsigned int i;
 
 {
        struct dcn21_resource_pool *dcn21_pool = TO_DCN21_RES_POOL(*pool);
 
-       destruct(dcn21_pool);
+       dcn21_resource_destruct(dcn21_pool);
        kfree(dcn21_pool);
        *pool = NULL;
 }
        .update_bw_bounding_box = update_bw_bounding_box
 };
 
-static bool construct(
+static bool dcn21_resource_construct(
        uint8_t num_virtual_links,
        struct dc *dc,
        struct dcn21_resource_pool *pool)
 
 create_fail:
 
-       destruct(pool);
+       dcn21_resource_destruct(pool);
 
        return false;
 }
        if (!pool)
                return NULL;
 
-       if (construct(init_data->num_virtual_links, dc, pool))
+       if (dcn21_resource_construct(init_data->num_virtual_links, dc, pool))
                return &pool->base;
 
        BREAK_TO_DEBUGGER();
 
 
 struct gpio;
 
-static void destruct(
+static void dal_hw_ddc_destruct(
        struct hw_ddc *pin)
 {
        dal_hw_gpio_destruct(&pin->base);
 }
 
-static void destroy(
+static void dal_hw_ddc_destroy(
        struct hw_gpio_pin **ptr)
 {
        struct hw_ddc *pin = HW_DDC_FROM_BASE(*ptr);
 
-       destruct(pin);
+       dal_hw_ddc_destruct(pin);
 
        kfree(pin);
 
 }
 
 static const struct hw_gpio_pin_funcs funcs = {
-       .destroy = destroy,
+       .destroy = dal_hw_ddc_destroy,
        .open = dal_hw_gpio_open,
        .get_value = dal_hw_gpio_get_value,
        .set_value = dal_hw_gpio_set_value,
        .close = dal_hw_gpio_close,
 };
 
-static void construct(
+static void dal_hw_ddc_construct(
        struct hw_ddc *ddc,
        enum gpio_id id,
        uint32_t en,
                return;
        }
 
-       construct(*hw_ddc, id, en, ctx);
+       dal_hw_ddc_construct(*hw_ddc, id, en, ctx);
 }
 
 struct hw_gpio_pin *dal_hw_ddc_get_pin(struct gpio *gpio)
 
 
 struct gpio;
 
-static void dal_hw_generic_construct(
-       struct hw_generic *pin,
-       enum gpio_id id,
-       uint32_t en,
-       struct dc_context *ctx)
-{
-       dal_hw_gpio_construct(&pin->base, id, en, ctx);
-}
-
 static void dal_hw_generic_destruct(
        struct hw_generic *pin)
 {
        dal_hw_gpio_destruct(&pin->base);
 }
 
-static void destroy(
+static void dal_hw_generic_destroy(
        struct hw_gpio_pin **ptr)
 {
        struct hw_generic *generic = HW_GENERIC_FROM_BASE(*ptr);
 }
 
 static const struct hw_gpio_pin_funcs funcs = {
-       .destroy = destroy,
+       .destroy = dal_hw_generic_destroy,
        .open = dal_hw_gpio_open,
        .get_value = dal_hw_gpio_get_value,
        .set_value = dal_hw_gpio_set_value,
        .close = dal_hw_gpio_close,
 };
 
-static void construct(
-       struct hw_generic *generic,
+static void dal_hw_generic_construct(
+       struct hw_generic *pin,
        enum gpio_id id,
        uint32_t en,
        struct dc_context *ctx)
 {
-       dal_hw_generic_construct(generic, id, en, ctx);
-       generic->base.base.funcs = &funcs;
+       dal_hw_gpio_construct(&pin->base, id, en, ctx);
+       pin->base.base.funcs = &funcs;
 }
 
 void dal_hw_generic_init(
                return;
        }
 
-       construct(*hw_generic, id, en, ctx);
+       dal_hw_generic_construct(*hw_generic, id, en, ctx);
 }
 
 
 
 
 struct gpio;
 
-static void dal_hw_hpd_construct(
-       struct hw_hpd *pin,
-       enum gpio_id id,
-       uint32_t en,
-       struct dc_context *ctx)
-{
-       dal_hw_gpio_construct(&pin->base, id, en, ctx);
-}
-
 static void dal_hw_hpd_destruct(
        struct hw_hpd *pin)
 {
        dal_hw_gpio_destruct(&pin->base);
 }
 
-
-static void destruct(
-       struct hw_hpd *hpd)
-{
-       dal_hw_hpd_destruct(hpd);
-}
-
-static void destroy(
+static void dal_hw_hpd_destroy(
        struct hw_gpio_pin **ptr)
 {
        struct hw_hpd *hpd = HW_HPD_FROM_BASE(*ptr);
 
-       destruct(hpd);
+       dal_hw_hpd_destruct(hpd);
 
        kfree(hpd);
 
 }
 
 static const struct hw_gpio_pin_funcs funcs = {
-       .destroy = destroy,
+       .destroy = dal_hw_hpd_destroy,
        .open = dal_hw_gpio_open,
        .get_value = get_value,
        .set_value = dal_hw_gpio_set_value,
        .close = dal_hw_gpio_close,
 };
 
-static void construct(
-       struct hw_hpd *hpd,
+static void dal_hw_hpd_construct(
+       struct hw_hpd *pin,
        enum gpio_id id,
        uint32_t en,
        struct dc_context *ctx)
 {
-       dal_hw_hpd_construct(hpd, id, en, ctx);
-       hpd->base.base.funcs = &funcs;
+       dal_hw_gpio_construct(&pin->base, id, en, ctx);
+       pin->base.base.funcs = &funcs;
 }
 
 void dal_hw_hpd_init(
                return;
        }
 
-       construct(*hw_hpd, id, en, ctx);
+       dal_hw_hpd_construct(*hw_hpd, id, en, ctx);
 }
 
 struct hw_gpio_pin *dal_hw_hpd_get_pin(struct gpio *gpio)
 
                .to_dal_irq_source = to_dal_irq_source_dce110
 };
 
-static void construct(struct irq_service *irq_service,
+static void dce110_irq_construct(struct irq_service *irq_service,
                      struct irq_service_init_data *init_data)
 {
        dal_irq_service_construct(irq_service, init_data);
        if (!irq_service)
                return NULL;
 
-       construct(irq_service, init_data);
+       dce110_irq_construct(irq_service, init_data);
        return irq_service;
 }
 
                .to_dal_irq_source = to_dal_irq_source_dce110
 };
 
-static void construct(
+static void dce120_irq_construct(
        struct irq_service *irq_service,
        struct irq_service_init_data *init_data)
 {
        if (!irq_service)
                return NULL;
 
-       construct(irq_service, init_data);
+       dce120_irq_construct(irq_service, init_data);
        return irq_service;
 }
 
                .to_dal_irq_source = to_dal_irq_source_dce110
 };
 
-static void construct(
+static void dce80_irq_construct(
        struct irq_service *irq_service,
        struct irq_service_init_data *init_data)
 {
        if (!irq_service)
                return NULL;
 
-       construct(irq_service, init_data);
+       dce80_irq_construct(irq_service, init_data);
        return irq_service;
 }
 
 
                .to_dal_irq_source = to_dal_irq_source_dcn10
 };
 
-static void construct(
+static void dcn10_irq_construct(
        struct irq_service *irq_service,
        struct irq_service_init_data *init_data)
 {
        if (!irq_service)
                return NULL;
 
-       construct(irq_service, init_data);
+       dcn10_irq_construct(irq_service, init_data);
        return irq_service;
 }
 
                .to_dal_irq_source = to_dal_irq_source_dcn20
 };
 
-static void construct(
+static void dcn20_irq_construct(
        struct irq_service *irq_service,
        struct irq_service_init_data *init_data)
 {
        if (!irq_service)
                return NULL;
 
-       construct(irq_service, init_data);
+       dcn20_irq_construct(irq_service, init_data);
        return irq_service;
 }
 
                .to_dal_irq_source = to_dal_irq_source_dcn21
 };
 
-static void construct(
+static void dcn21_irq_construct(
        struct irq_service *irq_service,
        struct irq_service_init_data *init_data)
 {
        if (!irq_service)
                return NULL;
 
-       construct(irq_service, init_data);
+       dcn21_irq_construct(irq_service, init_data);
        return irq_service;
 }