/drivers/gpu/drm/amd/display/dc/gpio/ |
D | hw_factory.c | 65 struct hw_factory *factory, in dal_hw_factory_init() argument 70 dal_hw_factory_diag_fpga_init(factory); in dal_hw_factory_init() 79 dal_hw_factory_dce60_init(factory); in dal_hw_factory_init() 85 dal_hw_factory_dce80_init(factory); in dal_hw_factory_init() 89 dal_hw_factory_dce110_init(factory); in dal_hw_factory_init() 94 dal_hw_factory_dce110_init(factory); in dal_hw_factory_init() 98 dal_hw_factory_dce120_init(factory); in dal_hw_factory_init() 103 dal_hw_factory_dcn10_init(factory); in dal_hw_factory_init() 106 dal_hw_factory_dcn20_init(factory); in dal_hw_factory_init() 109 dal_hw_factory_dcn21_init(factory); in dal_hw_factory_init() [all …]
|
D | gpio_service.c | 76 if (!dal_hw_factory_init(&service->factory, dce_version, in dal_gpio_service_create() 89 service->factory.number_of_pins[index_of_id]; in dal_gpio_service_create() 314 *pin = service->factory.funcs->get_ddc_pin(gpio); in dal_gpio_service_open() 315 service->factory.funcs->define_ddc_registers(*pin, en); in dal_gpio_service_open() 318 *pin = service->factory.funcs->get_ddc_pin(gpio); in dal_gpio_service_open() 319 service->factory.funcs->define_ddc_registers(*pin, en); in dal_gpio_service_open() 322 *pin = service->factory.funcs->get_generic_pin(gpio); in dal_gpio_service_open() 323 service->factory.funcs->define_generic_registers(*pin, en); in dal_gpio_service_open() 326 *pin = service->factory.funcs->get_hpd_pin(gpio); in dal_gpio_service_open() 327 service->factory.funcs->define_hpd_registers(*pin, en); in dal_gpio_service_open()
|
D | gpio_base.c | 292 gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); in dal_gpio_create() 295 gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); in dal_gpio_create() 298 gpio->service->factory.funcs->init_generic(&gpio->hw_container.generic, service->ctx, id, en); in dal_gpio_create() 301 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
|
D | hw_factory.h | 73 struct hw_factory *factory,
|
/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/ |
D | hw_factory_diag.c | 51 void dal_hw_factory_diag_fpga_init(struct hw_factory *factory) in dal_hw_factory_diag_fpga_init() argument 53 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_diag_fpga_init() 54 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_diag_fpga_init() 55 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_diag_fpga_init() 56 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_diag_fpga_init() 57 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_diag_fpga_init() 58 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_diag_fpga_init() 59 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_diag_fpga_init() 60 factory->number_of_pins[GPIO_ID_GSL] = 4; in dal_hw_factory_diag_fpga_init() 61 factory->funcs = &funcs; in dal_hw_factory_diag_fpga_init()
|
D | hw_factory_diag.h | 32 void dal_hw_factory_diag_fpga_init(struct hw_factory *factory);
|
/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/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/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/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 | 254 void dal_hw_factory_dcn30_init(struct hw_factory *factory) in dal_hw_factory_dcn30_init() argument 257 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn30_init() 258 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn30_init() 259 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn30_init() 260 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn30_init() 261 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn30_init() 262 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn30_init() 263 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn30_init() 264 factory->number_of_pins[GPIO_ID_GSL] = 0;/*add this*/ in dal_hw_factory_dcn30_init() 266 factory->funcs = &funcs; in dal_hw_factory_dcn30_init()
|
D | hw_factory_dcn30.h | 30 void dal_hw_factory_dcn30_init(struct hw_factory *factory);
|
/drivers/gpu/drm/amd/display/dc/gpio/dcn20/ |
D | hw_factory_dcn20.c | 245 void dal_hw_factory_dcn20_init(struct hw_factory *factory) in dal_hw_factory_dcn20_init() argument 248 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn20_init() 249 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn20_init() 250 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn20_init() 251 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn20_init() 252 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn20_init() 253 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn20_init() 254 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn20_init() 255 factory->number_of_pins[GPIO_ID_GSL] = 0;/*add this*/ in dal_hw_factory_dcn20_init() 257 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/staging/mt7621-dts/ |
D | gbpc2.dts | 66 factory: partition@40000 { label 67 label = "factory";
|
D | gbpc1.dts | 82 factory: partition@40000 { label 83 label = "factory";
|