/Linux-v4.19/drivers/gpu/drm/amd/display/dc/i2caux/ |
D | aux_engine.h | 31 struct aux_engine; 35 struct aux_engine **ptr); 37 struct aux_engine *engine); 39 struct aux_engine *engine, 42 struct aux_engine *engine, 45 struct aux_engine *engine, 48 struct aux_engine *engine, 54 struct aux_engine *engine, 57 struct aux_engine *engine); 60 struct aux_engine { struct [all …]
|
D | aux_engine.c | 57 container_of((ptr), struct aux_engine, base) 71 struct aux_engine *aux_engine = FROM_ENGINE(engine); in dal_aux_engine_acquire() local 74 if (aux_engine->funcs->is_engine_available) { in dal_aux_engine_acquire() 76 if (!aux_engine->funcs->is_engine_available(aux_engine)) { in dal_aux_engine_acquire() 87 if (!aux_engine->funcs->acquire_engine(aux_engine)) { in dal_aux_engine_acquire() 119 struct aux_engine *engine, in process_read_reply() 183 struct aux_engine *engine, in process_read_request() 245 struct aux_engine *engine, in read_command() 334 struct aux_engine *engine, in process_write_reply() 403 struct aux_engine *engine, in process_write_request() [all …]
|
D | i2caux.h | 44 struct aux_engine * (*acquire_aux_engine)( 53 struct aux_engine; 75 struct aux_engine *aux_engines[GPIO_DDC_LINE_COUNT]; 118 struct aux_engine *dal_i2caux_acquire_aux_engine(
|
D | i2caux.c | 197 struct aux_engine *engine; in dal_i2caux_submit_aux_command() 296 struct aux_engine *engine = in dal_i2caux_configure_aux() 395 struct aux_engine *dal_i2caux_acquire_aux_engine( in dal_i2caux_acquire_aux_engine() 400 struct aux_engine *engine; in dal_i2caux_acquire_aux_engine()
|
D | Makefile | 26 I2CAUX = aux_engine.o engine_base.o i2caux.o i2c_engine.o \
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | aux_engine.h | 84 struct aux_engine { struct 144 struct aux_engine **ptr); 146 struct aux_engine *engine); 148 struct aux_engine *engine, 151 struct aux_engine *engine, 154 struct aux_engine *engine, 157 struct aux_engine *engine, 163 struct aux_engine *engine, 165 bool (*is_engine_available)(struct aux_engine *engine); 167 const struct aux_engine *engine); [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/i2caux/dce110/ |
D | aux_engine_dce110.c | 70 FROM_AUX_ENGINE(container_of((ptr), struct aux_engine, base)) 84 struct aux_engine **aux_engine) in destroy() argument 86 struct aux_engine_dce110 *engine = FROM_AUX_ENGINE(*aux_engine); in destroy() 92 *aux_engine = NULL; in destroy() 99 struct aux_engine *engine) in is_engine_available() 112 struct aux_engine *engine) in acquire_engine() 188 struct aux_engine *engine, in submit_channel_request() 278 static int read_channel_reply(struct aux_engine *engine, uint32_t size, in read_channel_reply() 331 struct aux_engine *engine, in process_channel_reply() 384 struct aux_engine *engine, in get_channel_status() [all …]
|
D | aux_engine_dce110.h | 55 struct aux_engine base; 75 struct aux_engine *dal_aux_engine_dce110_create(
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_aux.h | 79 struct aux_engine base; 99 struct aux_engine *dce110_aux_engine_construct( 106 void dce110_engine_destroy(struct aux_engine **engine); 109 struct aux_engine *aux_engine,
|
D | dce_aux.c | 44 FROM_AUX_ENGINE(container_of((ptr), struct aux_engine, base)) 47 container_of((ptr), struct aux_engine, base) 54 struct aux_engine *engine) in release_engine() 69 struct aux_engine *engine) in is_engine_available() 82 struct aux_engine *engine) in acquire_engine() 158 struct aux_engine *engine, in submit_channel_request() 250 static int read_channel_reply(struct aux_engine *engine, uint32_t size, in read_channel_reply() 303 struct aux_engine *engine, in process_channel_reply() 356 struct aux_engine *engine, in get_channel_status() 418 struct aux_engine *engine, in process_read_reply() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_ddc.c | 642 struct aux_engine *aux_engine; in dc_link_aux_transfer() local 653 aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dc_link_aux_transfer() 654 aux_engine->funcs->acquire(aux_engine, ddc_pin); in dc_link_aux_transfer() 664 aux_engine->funcs->submit_channel_request(aux_engine, &aux_req); in dc_link_aux_transfer() 665 operation_result = aux_engine->funcs->get_channel_status(aux_engine, &returned_bytes); in dc_link_aux_transfer() 672 res = aux_engine->funcs->read_channel_reply(aux_engine, size, in dc_link_aux_transfer() 686 aux_engine->funcs->release_engine(aux_engine); in dc_link_aux_transfer()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.c | 589 struct aux_engine *dce100_aux_engine_create( in dce100_aux_engine_create() 593 struct aux_engine_dce110 *aux_engine = in dce100_aux_engine_create() local 596 if (!aux_engine) in dce100_aux_engine_create() 599 dce110_aux_engine_construct(aux_engine, ctx, inst, in dce100_aux_engine_create() 603 return &aux_engine->base; in dce100_aux_engine_create()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 379 struct aux_engine *dce120_aux_engine_create( in dce120_aux_engine_create() 383 struct aux_engine_dce110 *aux_engine = in dce120_aux_engine_create() local 386 if (!aux_engine) in dce120_aux_engine_create() 389 dce110_aux_engine_construct(aux_engine, ctx, inst, in dce120_aux_engine_create() 393 return &aux_engine->base; in dce120_aux_engine_create()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_resource.c | 607 struct aux_engine *dce110_aux_engine_create( in dce110_aux_engine_create() 611 struct aux_engine_dce110 *aux_engine = in dce110_aux_engine_create() local 614 if (!aux_engine) in dce110_aux_engine_create() 617 dce110_aux_engine_construct(aux_engine, ctx, inst, in dce110_aux_engine_create() 621 return &aux_engine->base; in dce110_aux_engine_create()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 607 struct aux_engine *dce112_aux_engine_create( in dce112_aux_engine_create() 611 struct aux_engine_dce110 *aux_engine = in dce112_aux_engine_create() local 614 if (!aux_engine) in dce112_aux_engine_create() 617 dce110_aux_engine_construct(aux_engine, ctx, inst, in dce112_aux_engine_create() 621 return &aux_engine->base; in dce112_aux_engine_create()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_resource.c | 467 struct aux_engine *dce80_aux_engine_create( in dce80_aux_engine_create() 471 struct aux_engine_dce110 *aux_engine = in dce80_aux_engine_create() local 474 if (!aux_engine) in dce80_aux_engine_create() 477 dce110_aux_engine_construct(aux_engine, ctx, inst, in dce80_aux_engine_create() 481 return &aux_engine->base; in dce80_aux_engine_create()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_resource.c | 597 struct aux_engine *dcn10_aux_engine_create( in dcn10_aux_engine_create() 601 struct aux_engine_dce110 *aux_engine = in dcn10_aux_engine_create() local 604 if (!aux_engine) in dcn10_aux_engine_create() 607 dce110_aux_engine_construct(aux_engine, ctx, inst, in dcn10_aux_engine_create() 611 return &aux_engine->base; in dcn10_aux_engine_create()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 142 struct aux_engine *engines[MAX_PIPES];
|