/drivers/gpu/drm/amd/display/dc/gpio/ |
D | hw_factory.c | 57 struct hw_factory *factory, in dal_hw_factory_init() argument 66 dal_hw_factory_dce60_init(factory); in dal_hw_factory_init() 72 dal_hw_factory_dce80_init(factory); in dal_hw_factory_init() 76 dal_hw_factory_dce110_init(factory); in dal_hw_factory_init() 81 dal_hw_factory_dce110_init(factory); in dal_hw_factory_init() 85 dal_hw_factory_dce120_init(factory); in dal_hw_factory_init() 89 dal_hw_factory_dcn10_init(factory); in dal_hw_factory_init() 92 dal_hw_factory_dcn20_init(factory); in dal_hw_factory_init() 96 dal_hw_factory_dcn21_init(factory); in dal_hw_factory_init() 105 dal_hw_factory_dcn30_init(factory); in dal_hw_factory_init() [all …]
|
D | gpio_service.c | 74 if (!dal_hw_factory_init(&service->factory, dce_version, in dal_gpio_service_create() 87 service->factory.number_of_pins[index_of_id]; in dal_gpio_service_create() 312 *pin = service->factory.funcs->get_ddc_pin(gpio); in dal_gpio_service_open() 313 service->factory.funcs->define_ddc_registers(*pin, en); in dal_gpio_service_open() 316 *pin = service->factory.funcs->get_ddc_pin(gpio); in dal_gpio_service_open() 317 service->factory.funcs->define_ddc_registers(*pin, en); in dal_gpio_service_open() 320 *pin = service->factory.funcs->get_generic_pin(gpio); in dal_gpio_service_open() 321 service->factory.funcs->define_generic_registers(*pin, en); in dal_gpio_service_open() 324 *pin = service->factory.funcs->get_hpd_pin(gpio); in dal_gpio_service_open() 325 service->factory.funcs->define_hpd_registers(*pin, en); in dal_gpio_service_open()
|
D | gpio_base.c | 290 gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); in dal_gpio_create() 293 gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); in dal_gpio_create() 296 gpio->service->factory.funcs->init_generic(&gpio->hw_container.generic, service->ctx, id, en); in dal_gpio_create() 299 gpio->service->factory.funcs->init_hpd(&gpio->hw_container.hpd, service->ctx, id, en); in dal_gpio_create()
|
D | gpio_service.h | 35 struct hw_factory factory; member
|
/drivers/gpu/drm/amd/display/dc/gpio/dce110/ |
D | hw_factory_dce110.c | 167 void dal_hw_factory_dce110_init(struct hw_factory *factory) in dal_hw_factory_dce110_init() argument 170 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dce110_init() 171 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dce110_init() 172 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_dce110_init() 173 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dce110_init() 174 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_dce110_init() 175 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dce110_init() 176 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_dce110_init() 177 factory->number_of_pins[GPIO_ID_GSL] = 4; in dal_hw_factory_dce110_init() 179 factory->funcs = &funcs; in dal_hw_factory_dce110_init()
|
D | hw_factory_dce110.h | 30 void dal_hw_factory_dce110_init(struct hw_factory *factory);
|
/drivers/gpu/drm/amd/display/dc/gpio/dce80/ |
D | hw_factory_dce80.c | 163 struct hw_factory *factory) in dal_hw_factory_dce80_init() argument 165 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dce80_init() 166 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dce80_init() 167 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_dce80_init() 168 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dce80_init() 169 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_dce80_init() 170 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dce80_init() 171 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_dce80_init() 172 factory->number_of_pins[GPIO_ID_GSL] = 4; in dal_hw_factory_dce80_init() 174 factory->funcs = &funcs; in dal_hw_factory_dce80_init()
|
D | hw_factory_dce80.h | 30 struct hw_factory *factory);
|
/drivers/gpu/drm/amd/display/dc/gpio/dce60/ |
D | hw_factory_dce60.c | 163 struct hw_factory *factory) in dal_hw_factory_dce60_init() argument 165 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dce60_init() 166 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dce60_init() 167 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_dce60_init() 168 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dce60_init() 169 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_dce60_init() 170 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dce60_init() 171 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_dce60_init() 172 factory->number_of_pins[GPIO_ID_GSL] = 4; in dal_hw_factory_dce60_init() 174 factory->funcs = &funcs; in dal_hw_factory_dce60_init()
|
D | hw_factory_dce60.h | 30 struct hw_factory *factory);
|
/drivers/gpu/drm/amd/display/dc/gpio/dce120/ |
D | hw_factory_dce120.c | 185 void dal_hw_factory_dce120_init(struct hw_factory *factory) in dal_hw_factory_dce120_init() argument 188 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dce120_init() 189 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dce120_init() 190 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_dce120_init() 191 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dce120_init() 192 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_dce120_init() 193 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dce120_init() 194 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_dce120_init() 195 factory->number_of_pins[GPIO_ID_GSL] = 4; in dal_hw_factory_dce120_init() 197 factory->funcs = &funcs; in dal_hw_factory_dce120_init()
|
D | hw_factory_dce120.h | 30 void dal_hw_factory_dce120_init(struct hw_factory *factory);
|
/drivers/gpu/drm/amd/display/dc/gpio/dcn10/ |
D | hw_factory_dcn10.c | 218 void dal_hw_factory_dcn10_init(struct hw_factory *factory) in dal_hw_factory_dcn10_init() argument 221 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn10_init() 222 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn10_init() 223 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_dcn10_init() 224 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn10_init() 225 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_dcn10_init() 226 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn10_init() 227 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_dcn10_init() 228 factory->number_of_pins[GPIO_ID_GSL] = 4; in dal_hw_factory_dcn10_init() 230 factory->funcs = &funcs; in dal_hw_factory_dcn10_init()
|
D | hw_factory_dcn10.h | 30 void dal_hw_factory_dcn10_init(struct hw_factory *factory);
|
/drivers/gpu/drm/amd/display/dc/gpio/dcn21/ |
D | hw_factory_dcn21.c | 226 void dal_hw_factory_dcn21_init(struct hw_factory *factory) in dal_hw_factory_dcn21_init() argument 229 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn21_init() 230 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn21_init() 231 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn21_init() 232 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn21_init() 233 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn21_init() 234 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn21_init() 235 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn21_init() 236 factory->number_of_pins[GPIO_ID_GSL] = 0;/*add this*/ in dal_hw_factory_dcn21_init() 238 factory->funcs = &funcs; in dal_hw_factory_dcn21_init()
|
D | hw_factory_dcn21.h | 29 void dal_hw_factory_dcn21_init(struct hw_factory *factory);
|
/drivers/gpu/drm/amd/display/dc/gpio/dcn30/ |
D | hw_factory_dcn30.c | 255 void dal_hw_factory_dcn30_init(struct hw_factory *factory) in dal_hw_factory_dcn30_init() argument 258 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn30_init() 259 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn30_init() 260 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn30_init() 261 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn30_init() 262 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn30_init() 263 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn30_init() 264 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn30_init() 265 factory->number_of_pins[GPIO_ID_GSL] = 0;/*add this*/ in dal_hw_factory_dcn30_init() 267 factory->funcs = &funcs; in dal_hw_factory_dcn30_init()
|
D | hw_factory_dcn30.h | 29 void dal_hw_factory_dcn30_init(struct hw_factory *factory);
|
/drivers/gpu/drm/amd/display/dc/gpio/dcn32/ |
D | hw_factory_dcn32.c | 259 void dal_hw_factory_dcn32_init(struct hw_factory *factory) in dal_hw_factory_dcn32_init() argument 261 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn32_init() 262 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn32_init() 263 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn32_init() 264 factory->number_of_pins[GPIO_ID_HPD] = 5; in dal_hw_factory_dcn32_init() 265 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn32_init() 266 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn32_init() 267 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn32_init() 268 factory->number_of_pins[GPIO_ID_GSL] = 0;/*add this*/ in dal_hw_factory_dcn32_init() 270 factory->funcs = &funcs; in dal_hw_factory_dcn32_init()
|
D | hw_factory_dcn32.h | 29 void dal_hw_factory_dcn32_init(struct hw_factory *factory);
|
/drivers/gpu/drm/amd/display/dc/gpio/dcn20/ |
D | hw_factory_dcn20.c | 247 void dal_hw_factory_dcn20_init(struct hw_factory *factory) in dal_hw_factory_dcn20_init() argument 250 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn20_init() 251 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn20_init() 252 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn20_init() 253 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn20_init() 254 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn20_init() 255 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn20_init() 256 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn20_init() 257 factory->number_of_pins[GPIO_ID_GSL] = 0;/*add this*/ in dal_hw_factory_dcn20_init() 259 factory->funcs = &funcs; in dal_hw_factory_dcn20_init()
|
D | hw_factory_dcn20.h | 29 void dal_hw_factory_dcn20_init(struct hw_factory *factory);
|
/drivers/gpu/drm/amd/display/dc/gpio/dcn315/ |
D | hw_factory_dcn315.c | 247 void dal_hw_factory_dcn315_init(struct hw_factory *factory) in dal_hw_factory_dcn315_init() argument 250 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn315_init() 251 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn315_init() 252 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn315_init() 253 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn315_init() 254 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn315_init() 255 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn315_init() 256 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn315_init() 257 factory->number_of_pins[GPIO_ID_GSL] = 0;/*add this*/ in dal_hw_factory_dcn315_init() 259 factory->funcs = &funcs; in dal_hw_factory_dcn315_init()
|
D | hw_factory_dcn315.h | 29 void dal_hw_factory_dcn315_init(struct hw_factory *factory);
|
/drivers/platform/x86/x86-android-tablets/ |
D | Kconfig | 10 X86 tablets which ship with Android as (part of) the factory image 11 typically have various problems with their DSDTs. The factory kernels
|