Lines Matching refs:CU16
115 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()
1359 int hwi = CU16(ctx->data_table + ATOM_DATA_FWI_PTR); in amdgpu_atom_asic_init()
1370 if (!CU16(ctx->cmd_table + 4 + 2 * ATOM_CMD_INIT)) in amdgpu_atom_asic_init()
1392 int idx = CU16(ctx->data_table + offset); in amdgpu_atom_parse_data_header()
1399 *size = CU16(idx); in amdgpu_atom_parse_data_header()
1412 int idx = CU16(ctx->cmd_table + offset); in amdgpu_atom_parse_cmd_header()