Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/
Dapple-dart.c1082 u32 dart_params[4]; in apple_dart_probe() local
1117 dart_params[0] = readl(dart->regs + DART_PARAMS1); in apple_dart_probe()
1118 dart_params[1] = readl(dart->regs + DART_PARAMS2); in apple_dart_probe()
1119 dart->pgsize = 1 << FIELD_GET(DART_PARAMS1_PAGE_SHIFT, dart_params[0]); in apple_dart_probe()
1120 dart->supports_bypass = dart_params[1] & DART_PARAMS2_BYPASS_SUPPORT; in apple_dart_probe()
1131 dart_params[2] = readl(dart->regs + DART_T8110_PARAMS3); in apple_dart_probe()
1132 dart_params[3] = readl(dart->regs + DART_T8110_PARAMS4); in apple_dart_probe()
1133 dart->ias = FIELD_GET(DART_T8110_PARAMS3_VA_WIDTH, dart_params[2]); in apple_dart_probe()
1134 dart->oas = FIELD_GET(DART_T8110_PARAMS3_PA_WIDTH, dart_params[2]); in apple_dart_probe()
1135 dart->num_streams = FIELD_GET(DART_T8110_PARAMS4_NUM_SIDS, dart_params[3]); in apple_dart_probe()