Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dphy.c293 if (WARN_ON(dev->temp_mode > MT_TEMP_MODE_LOW)) in mt7601u_load_bbp_temp_table_bw()
296 t = &bbp_mode_table[dev->temp_mode][dev->bw]; in mt7601u_load_bbp_temp_table_bw()
306 if (dev->temp_mode == mode) in mt7601u_bbp_temp()
309 dev->temp_mode = mode; in mt7601u_bbp_temp()
312 t = bbp_mode_table[dev->temp_mode]; in mt7601u_bbp_temp()
H A Ddebugfs.c132 debugfs_create_u32("temp_mode", 0400, dir, &dev->temp_mode); in mt7601u_init_debugfs()
H A Dmt7601u.h232 enum mt_temp_mode temp_mode; member
H A Dtrace.h215 DEFINE_EVENT(dev_simple_evt, temp_mode,
/openbmc/linux/drivers/hwmon/
H A Dnct7904.c139 u8 temp_mode; /* 0: TR mode, 1: TD mode */ member
446 if ((data->temp_mode >> channel) & 0x01) in nct7904_read_temp()
1078 data->temp_mode = 0; in nct7904_probe()
1085 data->temp_mode |= bit; in nct7904_probe()
H A Dw83793.c225 u8 temp_mode[2]; /* byte 0: Temp D1-D4 mode each has 2 bits member
632 tmp = (data->temp_mode[index] >> shift) & mask; in show_temp_mode()
674 data->temp_mode[index] = in store_temp_mode()
676 data->temp_mode[index] &= ~(mask << shift); in store_temp_mode()
677 data->temp_mode[index] |= val << shift; in store_temp_mode()
679 data->temp_mode[index]); in store_temp_mode()
1989 for (i = 0; i < ARRAY_SIZE(data->temp_mode); i++) in w83793_update_nonvolatile()
1990 data->temp_mode[i] = in w83793_update_nonvolatile()
H A Dw83795.c341 u8 temp_mode; /* Bit vector, 0 = TR, 1 = TD */ member
1424 if (data->temp_mode & (1 << index)) in show_temp_mode()
1455 data->temp_mode |= 1 << index; in store_temp_mode()
1459 data->temp_mode &= ~(1 << index); in store_temp_mode()
2129 data->temp_mode |= 1 << temp_chan; in w83795_apply_temp_config()
H A Df71805f.c186 u8 temp_mode; member
364 data->temp_mode = f71805f_read8(data, F71805F_REG_TEMP_MODE); in f71805f_update_device()
897 return sprintf(buf, "%u\n", (data->temp_mode & (1 << nr)) ? 3 : 4); in show_temp_type()