Home
last modified time | relevance | path

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

/drivers/hwmon/
Dasb100.c672 unsigned short sc_addr[2]; in asb100_detect_subclients() local
692 sc_addr[0] = force_subclients[2]; in asb100_detect_subclients()
693 sc_addr[1] = force_subclients[3]; in asb100_detect_subclients()
696 sc_addr[0] = 0x48 + (val & 0x07); in asb100_detect_subclients()
697 sc_addr[1] = 0x48 + ((val >> 4) & 0x07); in asb100_detect_subclients()
700 if (sc_addr[0] == sc_addr[1]) { in asb100_detect_subclients()
703 sc_addr[0]); in asb100_detect_subclients()
708 data->lm75[0] = i2c_new_dummy_device(adapter, sc_addr[0]); in asb100_detect_subclients()
712 1, sc_addr[0]); in asb100_detect_subclients()
717 data->lm75[1] = i2c_new_dummy_device(adapter, sc_addr[1]); in asb100_detect_subclients()
[all …]
Dw83781d.c851 unsigned short sc_addr[2]; in w83781d_detect_subclients() local
873 sc_addr[0] = force_subclients[2]; in w83781d_detect_subclients()
876 sc_addr[0] = 0x48 + (val1 & 0x07); in w83781d_detect_subclients()
883 sc_addr[1] = force_subclients[3]; in w83781d_detect_subclients()
885 sc_addr[1] = 0x48 + ((val1 >> 4) & 0x07); in w83781d_detect_subclients()
887 if (sc_addr[0] == sc_addr[1]) { in w83781d_detect_subclients()
890 sc_addr[0]); in w83781d_detect_subclients()
897 data->lm75[i] = i2c_new_dummy_device(adapter, sc_addr[i]); in w83781d_detect_subclients()
901 i, sc_addr[i]); in w83781d_detect_subclients()