Lines Matching +defs:val +defs:ct
3661 uint32_t val)
3670 (void) ndi_prop_update_int(DDI_DEV_T_NONE, devi, buf, val);
3819 find_cacheent(const struct cachetab *ct, uint_t code)
3822 for (; ct->ct_code != 0; ct++)
3823 if (ct->ct_code <= code)
3825 if (ct->ct_code == code)
3826 return (ct);
3838 intel_cpuid_4_cache_info(struct cachetab *ct, struct cpuid_info *cpi)
3847 ct->ct_assoc = CPI_CACHE_WAYS(cpi->cpi_std_4[i]) + 1;
3848 ct->ct_line_size =
3850 ct->ct_size = ct->ct_assoc *
3852 ct->ct_line_size *
3856 ct->ct_label = l2_cache_str;
3858 ct->ct_label = l3_cache_str;
3875 const struct cachetab *ct;
3892 ct = &des_49_ct;
3904 ct = &des_b1_ct;
3906 if ((ct = find_cacheent(intel_ctab, *dp)) == NULL) {
3911 if (func(arg, ct) != 0) {
3924 const struct cachetab *ct;
3934 if ((ct = find_cacheent(cyrix_ctab, *dp)) != NULL) {
3935 if (func(arg, ct) != 0)
3942 if ((ct = find_cacheent(intel_ctab, *dp)) != NULL) {
3943 if (func(arg, ct) != 0)
3955 add_cacheent_props(void *arg, const struct cachetab *ct)
3959 add_cache_prop(devi, ct->ct_label, assoc_str, ct->ct_assoc);
3960 if (ct->ct_line_size != 0)
3961 add_cache_prop(devi, ct->ct_label, line_str,
3962 ct->ct_line_size);
3963 add_cache_prop(devi, ct->ct_label, size_str, ct->ct_size);
4455 intel_l2cinfo(void *arg, const struct cachetab *ct)
4460 if (ct->ct_label != l2_cache_str &&
4461 ct->ct_label != sl2_cache_str)
4465 *ip = ct->ct_size;
4467 *ip = ct->ct_line_size;
4469 *ip = ct->ct_assoc;
4470 l2i->l2i_ret = ct->ct_size;