Home
last modified time | relevance | path

Searched refs:CU16 (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/radeon/
Datom.c119 temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute()
124 (void)ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute()
125 ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp); in atom_iio_execute()
1160 int base = CU16(ctx->cmd_table + 4 + 2 * index); in atom_execute_table_locked()
1169 len = CU16(base + ATOM_CT_SIZE_PTR); in atom_execute_table_locked()
1280 if (CU16(0) != ATOM_BIOS_MAGIC) { in atom_parse()
1293 base = CU16(ATOM_ROM_TABLE_PTR); in atom_parse()
1302 ctx->cmd_table = CU16(base + ATOM_ROM_CMD_PTR); in atom_parse()
1303 ctx->data_table = CU16(base + ATOM_ROM_DATA_PTR); in atom_parse()
1304 atom_index_iio(ctx, CU16(ctx->data_table + ATOM_DATA_IIO_PTR) + 4); in atom_parse()
[all …]
Datom-bits.h39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) macro
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Datom.c115 temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute()
119 ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp); in atom_iio_execute()
1203 int base = CU16(ctx->cmd_table + 4 + 2 * index); in amdgpu_atom_execute_table_locked()
1212 len = CU16(base + ATOM_CT_SIZE_PTR); in amdgpu_atom_execute_table_locked()
1313 if (CU16(0) != ATOM_BIOS_MAGIC) { in amdgpu_atom_parse()
1326 base = CU16(ATOM_ROM_TABLE_PTR); in amdgpu_atom_parse()
1335 ctx->cmd_table = CU16(base + ATOM_ROM_CMD_PTR); in amdgpu_atom_parse()
1336 ctx->data_table = CU16(base + ATOM_ROM_DATA_PTR); in amdgpu_atom_parse()
1337 atom_index_iio(ctx, CU16(ctx->data_table + ATOM_DATA_IIO_PTR) + 4); in amdgpu_atom_parse()
1343 idx = CU16(ATOM_ROM_PART_NUMBER_PTR); in amdgpu_atom_parse()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/include/
Datom-bits.h39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) macro
/Linux-v5.4/Documentation/media/uapi/v4l/
Dpixfmt-sdr-cu16le.rst13 V4L2_SDR_FMT_CU16LE ('CU16')