Home
last modified time | relevance | path

Searched refs:timebase (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/pwm/
Dpwm-img.c98 u32 val, div, duty, timebase; in img_pwm_config() local
116 timebase = DIV_ROUND_UP(mul, 1); in img_pwm_config()
119 timebase = DIV_ROUND_UP(mul, 8); in img_pwm_config()
122 timebase = DIV_ROUND_UP(mul, 64); in img_pwm_config()
125 timebase = DIV_ROUND_UP(mul, 512); in img_pwm_config()
132 duty = DIV_ROUND_UP(timebase * duty_ns, period_ns); in img_pwm_config()
147 (timebase << PWM_CH_CFG_TMBASE_SHIFT); in img_pwm_config()
/linux-4.19.296/drivers/isdn/mISDN/
Dl1oip_core.c279 u16 timebase, u8 *buf, int len) in l1oip_socket_send() argument
320 *p++ = timebase >> 8; /* time base */ in l1oip_socket_send()
321 *p++ = timebase; in l1oip_socket_send()
364 l1oip_socket_recv(struct l1oip *hc, u8 remotecodec, u8 channel, u16 timebase, in l1oip_socket_recv() argument
422 if (((s16)(timebase - rx_counter)) >= 0) { in l1oip_socket_recv()
424 if (timebase >= (rx_counter & 0xffff)) in l1oip_socket_recv()
426 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
429 | timebase; in l1oip_socket_recv()
432 if (timebase < (rx_counter & 0xffff)) in l1oip_socket_recv()
434 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
[all …]