Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 25 of 28) sorted by relevance

12

/drivers/gpu/drm/amd/display/dc/gpio/
Dhw_factory.c65 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 …]
Dgpio_service.c76 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()
Dgpio_base.c292 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()
Dgpio_service.h35 struct hw_factory factory; member
Dhw_factory.h73 struct hw_factory *factory,
/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/
Dhw_factory_diag.c51 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()
Dhw_factory_diag.h32 void dal_hw_factory_diag_fpga_init(struct hw_factory *factory);
/drivers/gpu/drm/amd/display/dc/gpio/dce110/
Dhw_factory_dce110.c167 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()
Dhw_factory_dce110.h30 void dal_hw_factory_dce110_init(struct hw_factory *factory);
/drivers/gpu/drm/amd/display/dc/gpio/dce60/
Dhw_factory_dce60.c163 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()
Dhw_factory_dce60.h30 struct hw_factory *factory);
/drivers/gpu/drm/amd/display/dc/gpio/dce80/
Dhw_factory_dce80.c163 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()
Dhw_factory_dce80.h30 struct hw_factory *factory);
/drivers/gpu/drm/amd/display/dc/gpio/dce120/
Dhw_factory_dce120.c185 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()
Dhw_factory_dce120.h30 void dal_hw_factory_dce120_init(struct hw_factory *factory);
/drivers/gpu/drm/amd/display/dc/gpio/dcn10/
Dhw_factory_dcn10.c218 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()
Dhw_factory_dcn10.h30 void dal_hw_factory_dcn10_init(struct hw_factory *factory);
/drivers/gpu/drm/amd/display/dc/gpio/dcn21/
Dhw_factory_dcn21.c226 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()
Dhw_factory_dcn21.h29 void dal_hw_factory_dcn21_init(struct hw_factory *factory);
/drivers/gpu/drm/amd/display/dc/gpio/dcn30/
Dhw_factory_dcn30.c254 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()
Dhw_factory_dcn30.h30 void dal_hw_factory_dcn30_init(struct hw_factory *factory);
/drivers/gpu/drm/amd/display/dc/gpio/dcn20/
Dhw_factory_dcn20.c245 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()
Dhw_factory_dcn20.h29 void dal_hw_factory_dcn20_init(struct hw_factory *factory);
/drivers/staging/mt7621-dts/
Dgbpc2.dts66 factory: partition@40000 { label
67 label = "factory";
Dgbpc1.dts82 factory: partition@40000 { label
83 label = "factory";

12