Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/ptp/
Dtestptp.c186 int n_samples = 0; in main() local
229 n_samples = atoi(optarg); in main()
521 if (n_samples <= 0 || n_samples > 25) { in main()
532 sysoff->n_samples = n_samples; in main()
540 for (i = 0; i < sysoff->n_samples; i++) { in main()
568 soe->n_samples = getextended; in main()
/linux-6.12.1/drivers/iio/adc/
Dpac1921.c190 u8 n_samples; member
415 *val = pac1921_int_num_samples[priv->n_samples]; in pac1921_read_raw()
603 u8 n_samples; in pac1921_update_int_num_samples() local
610 n_samples = (u8)ret; in pac1921_update_int_num_samples()
612 if (priv->n_samples == n_samples) in pac1921_update_int_num_samples()
615 reg_val = FIELD_PREP(PAC1921_INT_CFG_SMPL_MASK, n_samples); in pac1921_update_int_num_samples()
622 priv->n_samples = n_samples; in pac1921_update_int_num_samples()
624 priv->integr_period_usecs = pac1921_int_periods_usecs[priv->n_samples]; in pac1921_update_int_num_samples()
1070 val = FIELD_PREP(PAC1921_INT_CFG_SMPL_MASK, priv->n_samples) | in pac1921_init()
1097 priv->integr_period_usecs = pac1921_int_periods_usecs[priv->n_samples]; in pac1921_init()
[all …]
/linux-6.12.1/include/uapi/linux/
Dptp_clock.h148 unsigned int n_samples; /* Desired number of measurements. */ member
174 unsigned int n_samples; member
/linux-6.12.1/drivers/ptp/
Dptp_chardev.c362 if (extoff->n_samples > PTP_MAX_SAMPLES || in ptp_ioctl()
371 for (i = 0; i < extoff->n_samples; i++) { in ptp_ioctl()
394 if (sysoff->n_samples > PTP_MAX_SAMPLES) { in ptp_ioctl()
399 for (i = 0; i < sysoff->n_samples; i++) { in ptp_ioctl()
/linux-6.12.1/drivers/comedi/drivers/
Dadl_pci9118.c414 unsigned int whole_spans, n_samples, x; in pci9118_ai_samples_ready() local
427 n_samples = whole_spans * cmd->chanlist_len; in pci9118_ai_samples_ready()
449 n_samples += x; in pci9118_ai_samples_ready()
457 return n_samples; in pci9118_ai_samples_ready()
/linux-6.12.1/drivers/net/wireless/ath/wil6210/
Dwmi.h607 __le16 n_samples; member