Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/gpu/drm/radeon/
Datom.c114 temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute()
119 (void)ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute()
120 ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp); in atom_iio_execute()
1150 int base = CU16(ctx->cmd_table + 4 + 2 * index); in atom_execute_table_locked()
1159 len = CU16(base + ATOM_CT_SIZE_PTR); in atom_execute_table_locked()
1251 if (CU16(0) != ATOM_BIOS_MAGIC) { in atom_parse()
1264 base = CU16(ATOM_ROM_TABLE_PTR); in atom_parse()
1273 ctx->cmd_table = CU16(base + ATOM_ROM_CMD_PTR); in atom_parse()
1274 ctx->data_table = CU16(base + ATOM_ROM_DATA_PTR); in atom_parse()
1275 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