Lines Matching refs:zt_base
313 apic = zen->zt_base.atb_apic_decomp.aad_core_shift; in zen_topo_determine_cache()
315 apic = zen->zt_base.atb_apic_decomp.aad_ccx_shift; in zen_topo_determine_cache()
689 for (uint32_t i = 0; i < zen->zt_base.atb_ndf; i++) { in topo_zen_enum()
708 if (zen->zt_base.atb_rev == DF_REV_UNKNOWN) { in topo_zen_enum()
714 if (zen->zt_base.atb_rev == DF_REV_2) { in topo_zen_enum()
762 for (uint32_t i = 0; i < zen->zt_base.atb_ndf; i++) { in topo_zen_cleanup()
768 zen->zt_base.atb_maxdfent; in topo_zen_cleanup()
773 zen->zt_base.atb_ndf); in topo_zen_cleanup()
793 if (ioctl(zen->zt_fd, AMDZEN_TOPO_IOCTL_BASE, &zen->zt_base) != 0) { in topo_zen_init()
803 zen->zt_base.atb_ndf); in topo_zen_init()
806 "entries: %s\n", zen->zt_base.atb_ndf, in topo_zen_init()
811 for (uint32_t i = 0; i < zen->zt_base.atb_ndf; i++) { in topo_zen_init()
815 sizeof (amdzen_topo_df_ent_t) * zen->zt_base.atb_maxdfent); in topo_zen_init()
822 topo_df->atd_df_buf_nents = zen->zt_base.atb_maxdfent; in topo_zen_init()