Searched refs:clock_period (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/iio/common/inv_sensors/ |
| H A D | inv_sensors_timestamp.c | 48 ts->min_period = INV_SENSORS_TIMESTAMP_MIN(chip->clock_period, chip->jitter); in inv_sensors_timestamp_init() 49 ts->max_period = INV_SENSORS_TIMESTAMP_MAX(chip->clock_period, chip->jitter); in inv_sensors_timestamp_init() 52 ts->mult = chip->init_period / chip->clock_period; in inv_sensors_timestamp_init() 56 inv_update_acc(&ts->chip_period, chip->clock_period); in inv_sensors_timestamp_init() 69 mult = period / ts->chip.clock_period; in inv_sensors_timestamp_update_odr() 194 fifo_mult = fifo_period / ts->chip.clock_period; in inv_sensors_timestamp_apply_odr()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | ptp.h | 23 u32 clock_period; member
|
| /linux/drivers/mmc/host/ |
| H A D | cavium.c | 954 u64 clock_period; in cvm_mmc_of_parse() local 1000 clock_period = 1000000000000ull / slot->host->sys_freq; in cvm_mmc_of_parse() 1003 slot->cmd_cnt = (cmd_skew + clock_period / 2) / clock_period; in cvm_mmc_of_parse() 1004 slot->dat_cnt = (dat_skew + clock_period / 2) / clock_period; in cvm_mmc_of_parse()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ptp.c | 166 u64 ns = 0, clock_edge = 0, clock_period; in ixgbe_ptp_setup_sdp_X540() local 194 clock_period = div_u64((NS_PER_HALF_SEC << cc->shift), cc->mult); in ixgbe_ptp_setup_sdp_X540() 195 clktiml = (u32)(clock_period); in ixgbe_ptp_setup_sdp_X540() 196 clktimh = (u32)(clock_period >> 32); in ixgbe_ptp_setup_sdp_X540()
|
| /linux/drivers/gpib/tms9914/ |
| H A D | tms9914.c | 137 static const int clock_period = 200; // assuming 5Mhz input clock in tms9914_t1_delay() local 142 if (nano_sec <= 8 * clock_period) { in tms9914_t1_delay() 149 if (nano_sec <= 4 * clock_period) { in tms9914_t1_delay() 156 return num_cycles * clock_period; in tms9914_t1_delay()
|
| /linux/drivers/comedi/drivers/ |
| H A D | amplc_dio200_common.c | 51 static const unsigned int clock_period[32] = { variable 583 data[2] = clock_period[i8254->clock_src[chan]]; in dio200_subdev_8254_config()
|
| /linux/drivers/scsi/ |
| H A D | dc395x.c | 375 static u8 clock_period[] = { 12, 18, 25, 31, 37, 43, 50, 62 }; variable 959 dcb->min_nego_period = clock_period[period_index]; in reset_dev_param() 2198 while (bval < 7 && (srb->msgin_buf[3] > clock_period[bval] in msgin_set_sync() 2200 clock_period[bval])) in msgin_set_sync() 2203 srb->msgin_buf[3] = clock_period[bval]; in msgin_set_sync() 3013 dcb->min_nego_period = clock_period[period_index]; in device_alloc() 3891 nego_period = clock_period[dcb->sync_period & 0x07] << 2; in dc395x_show_info()
|
| /linux/drivers/iio/imu/inv_icm45600/ |
| H A D | inv_icm45600_gyro.c | 725 ts_chip.clock_period = 31250; in inv_icm45600_gyro_init()
|
| H A D | inv_icm45600_accel.c | 717 ts_chip.clock_period = 31250; in inv_icm45600_accel_init()
|