Lines Matching refs:time_sync_period
4287 plat_priv->ctrl_params.time_sync_period); in time_sync_period_show()
4299 unsigned int time_sync_period; in cnss_get_min_time_sync_period_by_vote() local
4302 time_sync_period = plat_priv->ctrl_params.time_sync_period_vote[i]; in cnss_get_min_time_sync_period_by_vote()
4303 if (min_time_sync_period > time_sync_period) in cnss_get_min_time_sync_period_by_vote()
4304 min_time_sync_period = time_sync_period; in cnss_get_min_time_sync_period_by_vote()
4315 unsigned int time_sync_period = 0; in time_sync_period_store() local
4320 if (sscanf(buf, "%du", &time_sync_period) != 1) { in time_sync_period_store()
4325 if (time_sync_period < CNSS_MIN_TIME_SYNC_PERIOD) { in time_sync_period_store()
4330 time_sync_period; in time_sync_period_store()
4331 time_sync_period = cnss_get_min_time_sync_period_by_vote(plat_priv); in time_sync_period_store()
4333 if (time_sync_period == CNSS_TIME_SYNC_PERIOD_INVALID) { in time_sync_period_store()
4338 cnss_bus_update_time_sync_period(plat_priv, time_sync_period); in time_sync_period_store()
4352 int cnss_update_time_sync_period(struct device *dev, uint32_t time_sync_period) in cnss_update_time_sync_period() argument
4359 if (time_sync_period < CNSS_MIN_TIME_SYNC_PERIOD) { in cnss_update_time_sync_period()
4365 time_sync_period; in cnss_update_time_sync_period()
4366 time_sync_period = cnss_get_min_time_sync_period_by_vote(plat_priv); in cnss_update_time_sync_period()
4368 if (time_sync_period == CNSS_TIME_SYNC_PERIOD_INVALID) { in cnss_update_time_sync_period()
4373 cnss_bus_update_time_sync_period(plat_priv, time_sync_period); in cnss_update_time_sync_period()
4390 unsigned int time_sync_period = 0; in cnss_reset_time_sync_period() local
4400 time_sync_period = cnss_get_min_time_sync_period_by_vote(plat_priv); in cnss_reset_time_sync_period()
4402 if (time_sync_period == CNSS_TIME_SYNC_PERIOD_INVALID) { in cnss_reset_time_sync_period()
4407 cnss_bus_update_time_sync_period(plat_priv, time_sync_period); in cnss_reset_time_sync_period()
4607 static DEVICE_ATTR_RW(time_sync_period);
5026 plat_priv->ctrl_params.time_sync_period = CNSS_TIME_SYNC_PERIOD_DEFAULT; in cnss_init_control_params()