Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hwmon/peci/
Ddimmtemp.c82 DECLARE_BITMAP(dimm_mask, DIMM_NUMS_MAX);
206 if (test_bit(channel, priv->dimm_mask)) in dimmtemp_is_visible()
223 u32 dimm_mask = 0; in check_populated_dimms() local
228 BUILD_BUG_ON(BITS_PER_TYPE(dimm_mask) < DIMM_NUMS_MAX); in check_populated_dimms()
254 dimm_mask |= BIT(chan_rank * dimm_idx_max + dimm_idx); in check_populated_dimms()
277 if (!dimm_mask) { in check_populated_dimms()
282 dev_dbg(priv->dev, "Scanned populated DIMMs: %#x\n", dimm_mask); in check_populated_dimms()
284 bitmap_from_arr32(priv->dimm_mask, &dimm_mask, DIMM_NUMS_MAX); in check_populated_dimms()
342 for_each_set_bit(i, priv->dimm_mask, DIMM_NUMS_MAX) { in create_dimm_temp_info()