Home
last modified time | relevance | path

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

/drivers/hwmon/
Dmax127.c50 u8 ctrl_byte[MAX127_NUM_CHANNELS]; member
53 static int max127_select_channel(struct i2c_client *client, u8 ctrl_byte) in max127_select_channel() argument
59 .len = sizeof(ctrl_byte), in max127_select_channel()
60 .buf = &ctrl_byte, in max127_select_channel()
94 static long max127_process_raw(u8 ctrl_byte, long raw) in max127_process_raw() argument
105 scale = (ctrl_byte & MAX127_CTRL_RNG) ? MAX127_FULL_RANGE : in max127_process_raw()
107 if (ctrl_byte & MAX127_CTRL_BIP) { in max127_process_raw()
122 u8 ctrl_byte = data->ctrl_byte[channel]; in max127_read_input() local
126 status = max127_select_channel(client, ctrl_byte); in max127_read_input()
134 *val = max127_process_raw(ctrl_byte, raw); in max127_read_input()
[all …]