Searched refs:nrels (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/drivers/i2c/ |
D | i2c-proc.c | 42 static int i2c_parse_reals(int *nrels, char *buffer, int bufsize, 44 static int i2c_write_reals(int nrels, char *buffer, size_t *bufsize, 296 int i, oldlen, nrels, maxels,ret=0; in i2c_sysctl_chips() local 302 nrels = 0; in i2c_sysctl_chips() 303 for (i = 0; (i < SENSORS_ENTRY_MAX) && (nrels < maxels); in i2c_sysctl_chips() 317 nrels++; in i2c_sysctl_chips() 319 oldlen = nrels * sizeof(struct i2c_chips_data); in i2c_sysctl_chips() 348 int mag, nrels = MAX_RESULTS; in i2c_proc_real() local 369 res = i2c_parse_reals(&nrels, buffer, *lenp, results, mag); in i2c_proc_real() 373 if (!nrels) in i2c_proc_real() [all …]
|