/drivers/hwmon/ |
D | w83781d.c | 451 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 452 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm() 460 int bitnr = (data->type == w83781d) ? 5 : 13; in show_temp3_alarm() local 461 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_temp3_alarm() 519 int bitnr = to_sensor_dev_attr(attr)->index; in show_beep() local 520 return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); in show_beep() 528 int bitnr = to_sensor_dev_attr(attr)->index; in store_beep() local 538 data->beep_mask |= (1 << bitnr); in store_beep() 540 data->beep_mask &= ~(1 << bitnr); in store_beep() 542 if (bitnr < 8) { in store_beep() [all …]
|
D | w83627hf.c | 728 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 729 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm() 787 int bitnr = to_sensor_dev_attr(attr)->index; in show_beep() local 788 return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); in show_beep() 796 int bitnr = to_sensor_dev_attr(attr)->index; in store_beep() local 806 data->beep_mask |= (1 << bitnr); in store_beep() 808 data->beep_mask &= ~(1 << bitnr); in store_beep() 810 if (bitnr < 8) { in store_beep() 813 reg |= (1 << bitnr); in store_beep() 815 reg &= ~(1 << bitnr); in store_beep() [all …]
|
D | gl518sm.c | 372 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 374 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm() 388 int bitnr = to_sensor_dev_attr(attr)->index; in show_beep() local 390 return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); in show_beep() 398 int bitnr = to_sensor_dev_attr(attr)->index; in set_beep() local 408 data->beep_mask |= (1 << bitnr); in set_beep() 410 data->beep_mask &= ~(1 << bitnr); in set_beep()
|
D | ad7414.c | 153 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 155 int value = (data->temp_input >> bitnr) & 1; in show_alarm()
|
D | w83791d.c | 445 int bitnr = sensor_attr->index; in show_beep() local 447 return sprintf(buf, "%d\n", (data->beep_mask >> bitnr) & 1); in show_beep() 457 int bitnr = sensor_attr->index; in store_beep() local 458 int bytenr = bitnr / 8; in store_beep() 467 data->beep_mask &= ~(1 << bitnr); in store_beep() 468 data->beep_mask |= val << bitnr; in store_beep() 484 int bitnr = sensor_attr->index; in show_alarm() local 486 return sprintf(buf, "%d\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | max1619.c | 183 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 185 return sprintf(buf, "%d\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | gl520sm.c | 568 int bitnr = to_sensor_dev_attr(attr)->index; in get_beep() local 571 return sprintf(buf, "%d\n", (data->beep_mask >> bitnr) & 1); in get_beep() 579 int bitnr = to_sensor_dev_attr(attr)->index; in set_beep() local 589 data->beep_mask |= (1 << bitnr); in set_beep() 591 data->beep_mask &= ~(1 << bitnr); in set_beep()
|
D | lm92.c | 215 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 217 return sprintf(buf, "%d\n", (data->temp1_input >> bitnr) & 1); in show_alarm()
|
D | lm83.c | 209 int bitnr = attr->index; in show_alarm() local 211 return sprintf(buf, "%d\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | lm77.c | 204 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 206 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | lm63.c | 350 int bitnr = attr->index; in show_alarm() local 352 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | adm1025.c | 318 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 320 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | smsc47m1.c | 205 int bitnr = to_sensor_dev_attr(devattr)->index; in get_fan_alarm() local 207 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in get_fan_alarm()
|
D | lm80.c | 321 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 323 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | adm9240.c | 432 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 434 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | lm90.c | 527 int bitnr = attr->index; in show_alarm() local 529 return sprintf(buf, "%d\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | via686a.c | 540 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 542 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | asb100.c | 499 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 501 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | vt8231.c | 548 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 550 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | lm87.c | 554 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 555 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | adm1031.c | 687 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 689 return sprintf(buf, "%d\n", (data->alarm >> bitnr) & 1); in show_alarm()
|
D | it87.c | 814 int bitnr = to_sensor_dev_attr(attr)->index; in show_alarm() local 816 return sprintf(buf, "%u\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
D | f71805f.c | 907 int bitnr = attr->index; in show_alarm() local 909 return sprintf(buf, "%lu\n", (data->alarms >> bitnr) & 1); in show_alarm()
|
/drivers/net/arm/ |
D | at91_ether.c | 501 static int inline hash_bit_value(int bitnr, __u8 *addr) in hash_bit_value() argument 503 if (addr[bitnr / 8] & (1 << (bitnr % 8))) in hash_bit_value() 561 unsigned int i, bitnr; in at91ether_sethashtable() local 569 bitnr = hash_get_index(curr->dmi_addr); in at91ether_sethashtable() 570 mc_filter[bitnr >> 5] |= 1 << (bitnr & 31); in at91ether_sethashtable()
|
/drivers/net/ |
D | macb.c | 867 static inline int hash_bit_value(int bitnr, __u8 *addr) in hash_bit_value() argument 869 if (addr[bitnr / 8] & (1 << (bitnr % 8))) in hash_bit_value() 899 unsigned int i, bitnr; in macb_sethashtable() local 908 bitnr = hash_get_index(curr->dmi_addr); in macb_sethashtable() 909 mc_filter[bitnr >> 5] |= 1 << (bitnr & 31); in macb_sethashtable()
|