factory 171 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c void dal_hw_factory_dce110_init(struct hw_factory *factory) factory 174 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; factory 175 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; factory 176 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c factory->number_of_pins[GPIO_ID_GENERIC] = 7; factory 177 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c factory->number_of_pins[GPIO_ID_HPD] = 6; factory 178 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; factory 179 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; factory 180 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c factory->number_of_pins[GPIO_ID_SYNC] = 2; factory 181 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c factory->number_of_pins[GPIO_ID_GSL] = 4; factory 183 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.c factory->funcs = &funcs; factory 30 drivers/gpu/drm/amd/display/dc/gpio/dce110/hw_factory_dce110.h void dal_hw_factory_dce110_init(struct hw_factory *factory); factory 185 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c void dal_hw_factory_dce120_init(struct hw_factory *factory) factory 188 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; factory 189 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; factory 190 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c factory->number_of_pins[GPIO_ID_GENERIC] = 7; factory 191 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c factory->number_of_pins[GPIO_ID_HPD] = 6; factory 192 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; factory 193 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; factory 194 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c factory->number_of_pins[GPIO_ID_SYNC] = 2; factory 195 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c factory->number_of_pins[GPIO_ID_GSL] = 4; factory 197 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.c factory->funcs = &funcs; factory 30 drivers/gpu/drm/amd/display/dc/gpio/dce120/hw_factory_dce120.h void dal_hw_factory_dce120_init(struct hw_factory *factory); factory 163 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c struct hw_factory *factory) factory 165 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; factory 166 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; factory 167 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c factory->number_of_pins[GPIO_ID_GENERIC] = 7; factory 168 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c factory->number_of_pins[GPIO_ID_HPD] = 6; factory 169 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; factory 170 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; factory 171 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c factory->number_of_pins[GPIO_ID_SYNC] = 2; factory 172 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c factory->number_of_pins[GPIO_ID_GSL] = 4; factory 174 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.c factory->funcs = &funcs; factory 30 drivers/gpu/drm/amd/display/dc/gpio/dce80/hw_factory_dce80.h struct hw_factory *factory); factory 218 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c void dal_hw_factory_dcn10_init(struct hw_factory *factory) factory 221 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; factory 222 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; factory 223 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c factory->number_of_pins[GPIO_ID_GENERIC] = 7; factory 224 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c factory->number_of_pins[GPIO_ID_HPD] = 6; factory 225 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; factory 226 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; factory 227 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c factory->number_of_pins[GPIO_ID_SYNC] = 2; factory 228 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c factory->number_of_pins[GPIO_ID_GSL] = 4; factory 230 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.c factory->funcs = &funcs; factory 30 drivers/gpu/drm/amd/display/dc/gpio/dcn10/hw_factory_dcn10.h void dal_hw_factory_dcn10_init(struct hw_factory *factory); factory 234 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c void dal_hw_factory_dcn20_init(struct hw_factory *factory) factory 237 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; factory 238 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; factory 239 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c factory->number_of_pins[GPIO_ID_GENERIC] = 4; factory 240 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c factory->number_of_pins[GPIO_ID_HPD] = 6; factory 241 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; factory 242 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; factory 243 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c factory->number_of_pins[GPIO_ID_SYNC] = 0; factory 244 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c factory->number_of_pins[GPIO_ID_GSL] = 0;/*add this*/ factory 246 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.c factory->funcs = &funcs; factory 30 drivers/gpu/drm/amd/display/dc/gpio/dcn20/hw_factory_dcn20.h void dal_hw_factory_dcn20_init(struct hw_factory *factory); factory 227 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c void dal_hw_factory_dcn21_init(struct hw_factory *factory) factory 230 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; factory 231 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; factory 232 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c factory->number_of_pins[GPIO_ID_GENERIC] = 4; factory 233 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c factory->number_of_pins[GPIO_ID_HPD] = 6; factory 234 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; factory 235 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; factory 236 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c factory->number_of_pins[GPIO_ID_SYNC] = 0; factory 237 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c factory->number_of_pins[GPIO_ID_GSL] = 0;/*add this*/ factory 239 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.c factory->funcs = &funcs; factory 30 drivers/gpu/drm/amd/display/dc/gpio/dcn21/hw_factory_dcn21.h void dal_hw_factory_dcn21_init(struct hw_factory *factory); factory 50 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c void dal_hw_factory_diag_fpga_init(struct hw_factory *factory) factory 52 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; factory 53 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; factory 54 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c factory->number_of_pins[GPIO_ID_GENERIC] = 7; factory 55 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c factory->number_of_pins[GPIO_ID_HPD] = 6; factory 56 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; factory 57 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; factory 58 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c factory->number_of_pins[GPIO_ID_SYNC] = 2; factory 59 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c factory->number_of_pins[GPIO_ID_GSL] = 4; factory 60 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c factory->funcs = &funcs; factory 30 drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.h void dal_hw_factory_diag_fpga_init(struct hw_factory *factory); factory 292 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); factory 295 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); factory 298 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c gpio->service->factory.funcs->init_generic(&gpio->hw_container.generic, service->ctx, id, en); factory 301 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c gpio->service->factory.funcs->init_hpd(&gpio->hw_container.hpd, service->ctx, id, en); factory 76 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c if (!dal_hw_factory_init(&service->factory, dce_version_major, factory 89 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c service->factory.number_of_pins[index_of_id]; factory 315 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c *pin = service->factory.funcs->get_ddc_pin(gpio); factory 316 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c service->factory.funcs->define_ddc_registers(*pin, en); factory 319 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c *pin = service->factory.funcs->get_ddc_pin(gpio); factory 320 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c service->factory.funcs->define_ddc_registers(*pin, en); factory 323 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c *pin = service->factory.funcs->get_generic_pin(gpio); factory 324 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c service->factory.funcs->define_generic_registers(*pin, en); factory 327 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c *pin = service->factory.funcs->get_hpd_pin(gpio); factory 328 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c service->factory.funcs->define_hpd_registers(*pin, en); factory 35 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.h struct hw_factory factory; factory 65 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c struct hw_factory *factory, factory 70 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c dal_hw_factory_diag_fpga_init(factory); factory 78 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c dal_hw_factory_dce80_init(factory); factory 82 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c dal_hw_factory_dce110_init(factory); factory 87 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c dal_hw_factory_dce110_init(factory); factory 91 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c dal_hw_factory_dce120_init(factory); factory 96 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c dal_hw_factory_dcn10_init(factory); factory 102 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c dal_hw_factory_dcn20_init(factory); factory 107 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c dal_hw_factory_dcn21_init(factory); factory 119 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c struct hw_factory **factory) factory 121 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c if (!factory || !*factory) { factory 126 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c kfree(*factory); factory 128 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.c *factory = NULL; factory 73 drivers/gpu/drm/amd/display/dc/gpio/hw_factory.h struct hw_factory *factory,