Lines Matching defs:edges
654 int edges;
822 /* Extract the number of configured edges */
823 edges = fan_config & 0b00011000;
824 edges = edges >> 3;
826 DPRINTF(sc, 2, ("%s: fan_config=%d 0x%02X, raw edges=%d 0x%02X\n",
827 __func__, fan_config, fan_config, edges, edges));
829 edges = ((edges + 1) * 2) + 1;
838 DPRINTF(sc, 2, ("%s: instance=%d, ftach=%d, m=%d, edges=%d, poles=%d, tach_high=%d 0x%02X, tach_low=%d 0x%02X, count=%d\n", __func__,
839 instance, ftach, m, edges, poles, tach_high, tach_high, tach_low, tach_low, count));
843 * rpm = 1/poles * ((edges - 1) / count * 1/m) * ftach * 60
865 ip3 = (int64_t)((edges - 1) * (int64_t)100000000000) / (int64_t)ip2;
867 printf("edges: %d ; ip3: %d\n",edges,ip3);
884 * for a particular ADC. This behavior seems more common on the edges of the