Home
last modified time | relevance | path

Searched refs:tseg (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/can/
Ddev.c90 unsigned int sample_point_nominal, unsigned int tseg, in can_update_sample_point() argument
100 tseg2 = tseg + CAN_CALC_SYNC_SEG - (sample_point_nominal * (tseg + CAN_CALC_SYNC_SEG)) / 1000 - i; in can_update_sample_point()
102 tseg1 = tseg - tseg2; in can_update_sample_point()
105 tseg2 = tseg - tseg1; in can_update_sample_point()
108 sample_point = 1000 * (tseg + CAN_CALC_SYNC_SEG - tseg2) / (tseg + CAN_CALC_SYNC_SEG); in can_update_sample_point()
137 unsigned int brp, tsegall, tseg, tseg1 = 0, tseg2 = 0; in can_calc_bittiming() local
153 for (tseg = (btc->tseg1_max + btc->tseg2_max) * 2 + 1; in can_calc_bittiming()
154 tseg >= (btc->tseg1_min + btc->tseg2_min) * 2; tseg--) { in can_calc_bittiming()
155 tsegall = CAN_CALC_SYNC_SEG + tseg / 2; in can_calc_bittiming()
158 brp = priv->clock.freq / (tsegall * bt->bitrate) + tseg % 2; in can_calc_bittiming()
[all …]
/Linux-v4.19/arch/x86/kernel/
Dmodule.c256 void *tseg = (void *)text->sh_addr; in module_finalize() local
259 tseg, tseg + text->sh_size); in module_finalize()
/Linux-v4.19/arch/x86/kernel/cpu/
Damd.c491 unsigned long long tseg; in bsp_init_amd() local
498 if (!rdmsrl_safe(MSR_K8_TSEG_ADDR, &tseg)) { in bsp_init_amd()
499 unsigned long pfn = tseg >> PAGE_SHIFT; in bsp_init_amd()
501 pr_debug("tseg: %010llx\n", tseg); in bsp_init_amd()
503 set_memory_4k((unsigned long)__va(tseg), 1); in bsp_init_amd()