Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Di5k_amb.c98 u16 amb_present[MAX_MEM_CHANNELS]; member
261 num_ambs += hweight16(data->amb_present[i] & 0x7fff); in i5k_amb_hwmon_init()
272 c = data->amb_present[i]; in i5k_amb_hwmon_init()
452 static int i5k_channel_probe(u16 *amb_present, unsigned long dev_id) in i5k_channel_probe() argument
466 amb_present[0] = val16; in i5k_channel_probe()
471 amb_present[1] = val16; in i5k_channel_probe()
521 res = i5k_channel_probe(&data->amb_present[0], chipset_ids[i].fbd0); in i5k_amb_probe()
526 i5k_channel_probe(&data->amb_present[2], chipset_ids[i].fbd0 + 1); in i5k_amb_probe()
/openbmc/linux/drivers/edac/
H A Di5400_edac.c840 int amb_present; in determine_amb_present_reg() local
844 amb_present = pvt->b0_ambpresent1; in determine_amb_present_reg()
846 amb_present = pvt->b0_ambpresent0; in determine_amb_present_reg()
849 amb_present = pvt->b1_ambpresent1; in determine_amb_present_reg()
851 amb_present = pvt->b1_ambpresent0; in determine_amb_present_reg()
854 return amb_present; in determine_amb_present_reg()
H A Di5000_edac.c929 int amb_present; in determine_amb_present_reg() local
933 amb_present = pvt->b0_ambpresent1; in determine_amb_present_reg()
935 amb_present = pvt->b0_ambpresent0; in determine_amb_present_reg()
938 amb_present = pvt->b1_ambpresent1; in determine_amb_present_reg()
940 amb_present = pvt->b1_ambpresent0; in determine_amb_present_reg()
943 return amb_present; in determine_amb_present_reg()