Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/comedi/drivers/
Dcb_pcidas.c1527 unsigned int num_bytes, num_points = thisboard->fifo_size; in cb_pcidas_ao_inttrig() local
1536 if (cmd->stop_src == TRIG_COUNT && devpriv->ao_count < num_points) in cb_pcidas_ao_inttrig()
1537 num_points = devpriv->ao_count; in cb_pcidas_ao_inttrig()
1540 num_points * sizeof(short)); in cb_pcidas_ao_inttrig()
1541 num_points = num_bytes / sizeof(short); in cb_pcidas_ao_inttrig()
1544 devpriv->ao_count -= num_points; in cb_pcidas_ao_inttrig()
1686 unsigned int num_points; in handle_ao_interrupt() local
1711 num_points = half_fifo; in handle_ao_interrupt()
1713 devpriv->ao_count < num_points) in handle_ao_interrupt()
1714 num_points = devpriv->ao_count; in handle_ao_interrupt()
[all …]
Dni_at_a2150.c234 unsigned int max_points, num_points, residue, leftover; in a2150_interrupt() local
281 num_points = max_points - residue; in a2150_interrupt()
282 if (devpriv->count < num_points && cmd->stop_src == TRIG_COUNT) in a2150_interrupt()
283 num_points = devpriv->count; in a2150_interrupt()
301 for (i = 0; i < num_points; i++) { in a2150_interrupt()
Dni_labpc.c1517 unsigned int max_points, num_points, residue, leftover; in labpc_drain_dma() local
1535 num_points = max_points - residue; in labpc_drain_dma()
1536 if (devpriv->count < num_points && async->cmd.stop_src == TRIG_COUNT) in labpc_drain_dma()
1537 num_points = devpriv->count; in labpc_drain_dma()
1543 } else if (devpriv->count > num_points) { in labpc_drain_dma()
1544 leftover = devpriv->count - num_points; in labpc_drain_dma()
1550 for (i = 0; i < num_points; i++) in labpc_drain_dma()
1554 devpriv->count -= num_points; in labpc_drain_dma()
/linux-2.6.39/drivers/net/wireless/ath/ath5k/
Dphy.c2158 u8 num_points, in ath5k_create_power_curve() argument
2165 if (num_points < 2) in ath5k_create_power_curve()
2186 if ((pwr_i > pwr[idx[1]]) && (idx[1] < num_points - 1)) { in ath5k_create_power_curve()