Home
last modified time | relevance | path

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

/drivers/pwm/
Dpwm-img.c91 u32 val, div, duty, timebase; in img_pwm_config() local
108 timebase = DIV_ROUND_UP(mul, 1); in img_pwm_config()
111 timebase = DIV_ROUND_UP(mul, 8); in img_pwm_config()
114 timebase = DIV_ROUND_UP(mul, 64); in img_pwm_config()
117 timebase = DIV_ROUND_UP(mul, 512); in img_pwm_config()
124 duty = DIV_ROUND_UP(timebase * duty_ns, period_ns); in img_pwm_config()
133 (timebase << PWM_CH_CFG_TMBASE_SHIFT); in img_pwm_config()
/drivers/isdn/mISDN/
Dl1oip_core.c277 u16 timebase, u8 *buf, int len) in l1oip_socket_send() argument
318 *p++ = timebase >> 8; /* time base */ in l1oip_socket_send()
319 *p++ = timebase; in l1oip_socket_send()
362 l1oip_socket_recv(struct l1oip *hc, u8 remotecodec, u8 channel, u16 timebase, in l1oip_socket_recv() argument
420 if (((s16)(timebase - rx_counter)) >= 0) { in l1oip_socket_recv()
422 if (timebase >= (rx_counter & 0xffff)) in l1oip_socket_recv()
424 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
427 | timebase; in l1oip_socket_recv()
430 if (timebase < (rx_counter & 0xffff)) in l1oip_socket_recv()
432 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
[all …]
/drivers/leds/
Dleds-asic3.c45 u32 timebase; in brightness_set() local
48 timebase = (value == LED_OFF) ? 0 : (LED_EN|0x4); in brightness_set()
54 asic3_write_register(asic, (base + ASIC3_LED_TimeBase), timebase); in brightness_set()
/drivers/staging/comedi/drivers/
Damplc_pci230.c640 static unsigned int pci230_divide_ns(u64 ns, unsigned int timebase, in pci230_divide_ns() argument
647 rem = do_div(div, timebase); in pci230_divide_ns()
651 div += DIV_ROUND_CLOSEST(rem, timebase); in pci230_divide_ns()
656 div += DIV_ROUND_UP(rem, timebase); in pci230_divide_ns()
/drivers/net/ethernet/ibm/
Dibmvnic.h137 __be64 timebase; member