Searched refs:clock_period (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/iio/common/inv_sensors/ |
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() 190 fifo_mult = fifo_period / ts->chip.clock_period; in inv_sensors_timestamp_apply_odr()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | ptp.h | 23 u32 clock_period; member
|
D | ptp.c | 506 ptp->clock_period = NSEC_PER_SEC / ptp->clock_rate; in ptp_pps_on() 507 writeq((0x1dcd6500ULL - ptp->clock_period) << 32, in ptp_pps_on()
|
/linux-6.12.1/drivers/mmc/host/ |
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-6.12.1/include/linux/iio/common/ |
D | inv_sensors_timestamp.h | 16 uint32_t clock_period; member
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 165 u64 ns = 0, clock_edge = 0, clock_period; in ixgbe_ptp_setup_sdp_X540() local 193 clock_period = div_u64((NS_PER_HALF_SEC << cc->shift), cc->mult); in ixgbe_ptp_setup_sdp_X540() 194 clktiml = (u32)(clock_period); in ixgbe_ptp_setup_sdp_X540() 195 clktimh = (u32)(clock_period >> 32); in ixgbe_ptp_setup_sdp_X540()
|
/linux-6.12.1/drivers/comedi/drivers/ |
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-6.12.1/drivers/scsi/ |
D | dc395x.c | 434 static u8 clock_period[] = { 12, 18, 25, 31, 37, 43, 50, 62 }; variable 1134 dcb->min_nego_period = clock_period[period_index]; in reset_dev_param() 2583 while (bval < 7 && (srb->msgin_buf[3] > clock_period[bval] in msgin_set_sync() 2585 clock_period[bval])) in msgin_set_sync() 2587 if (srb->msgin_buf[3] < clock_period[bval]) in msgin_set_sync() 2590 clock_period[bval] << 2); in msgin_set_sync() 2591 srb->msgin_buf[3] = clock_period[bval]; in msgin_set_sync() 3571 dcb->min_nego_period = clock_period[period_index]; in device_alloc() 4488 nego_period = clock_period[dcb->sync_period & 0x07] << 2; in dc395x_show_info()
|
/linux-6.12.1/drivers/iio/imu/inv_icm42600/ |
D | inv_icm42600_gyro.c | 778 ts_chip.clock_period = 31250; in inv_icm42600_gyro_init()
|
D | inv_icm42600_accel.c | 874 ts_chip.clock_period = 31250; in inv_icm42600_accel_init()
|
/linux-6.12.1/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 581 timestamp.clock_period = NSEC_PER_SEC / INV_MPU6050_INTERNAL_FREQ_HZ; in inv_mpu6050_init_config()
|