Lines Matching refs:top
658 u8 top;
664 top = (pwm_ctrl >> KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT) & 0xff;
667 pwm_ctrl |= top;
674 int top, trigger;
682 top = can->kv_pcie->bus_freq / (2 * 500000) - 1;
684 pwm_ctrl = top & 0xff;
685 pwm_ctrl |= (top & 0xff) << KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT;
689 trigger = (100 * top - 95 * (top + 1) + 50) / 100;
691 pwm_ctrl |= (top & 0xff) << KVASER_PCIEFD_KCAN_PWM_TOP_SHIFT;