Home
last modified time | relevance | path

Searched refs:DIV_ROUND_DOWN_ULL (Results 1 – 20 of 20) sorted by relevance

/linux/include/linux/
A Dmath.h38 #define DIV_ROUND_DOWN_ULL(ll, d) \ macro
42 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d))
/linux/drivers/pwm/
A Dpwm-keembay.c154 div = DIV_ROUND_DOWN_ULL(div, NSEC_PER_SEC); in keembay_pwm_apply()
160 div = DIV_ROUND_DOWN_ULL(div, NSEC_PER_SEC); in keembay_pwm_apply()
A Dpwm-raspberrypi-poe.c112 duty_cycle = DIV_ROUND_DOWN_ULL(state->duty_cycle * RPI_PWM_MAX_DUTY, in raspberrypi_pwm_apply()
A Dpwm-sl28cpld.c75 (DIV_ROUND_DOWN_ULL((duty_cycle), NSEC_PER_SEC / SL28CPLD_PWM_CLK))
A Dpwm-pca9685.c466 state->duty_cycle = DIV_ROUND_DOWN_ULL(duty * state->period, PCA9685_COUNTER_RANGE); in pca9685_pwm_get_state()
/linux/lib/dim/
A Ddim.c77 curr_stats->cpe_ratio = DIV_ROUND_DOWN_ULL( in dim_calc_stats()
/linux/drivers/reset/
A Dreset-brcmstb.c101 priv->rcdev.nr_resets = DIV_ROUND_DOWN_ULL(resource_size(res), in brcmstb_reset_probe()
/linux/drivers/gpu/drm/
A Ddrm_rect.c74 return DIV_ROUND_DOWN_ULL(tmp, dst); in clip_scaled()
/linux/net/ceph/
A Dstriper.c232 DIV_ROUND_DOWN_ULL(objoff, l->stripe_unit); in ceph_extent_to_file()
/linux/drivers/clk/zynqmp/
A Ddivider.c57 down = DIV_ROUND_DOWN_ULL((u64)parent_rate, rate); in zynqmp_divider_get_val()
/linux/drivers/gpu/drm/mcde/
A Dmcde_dsi.c604 bpl = DIV_ROUND_DOWN_ULL(bpl, 1000000); /* microseconds */ in mcde_dsi_setup_video_mode()
605 bpl = DIV_ROUND_DOWN_ULL(bpl, 1000000); /* seconds */ in mcde_dsi_setup_video_mode()
/linux/drivers/misc/habanalabs/common/mmu/
A Dmmu.c518 page_id = DIV_ROUND_DOWN_ULL(abs_phys_addr, dram_page_size); in hl_mmu_pa_page_with_offset()
/linux/drivers/misc/habanalabs/common/
A Dhabanalabs_ioctl.c70 DIV_ROUND_DOWN_ULL(prop->dram_size - dram_kmd_size, in hw_ip_info()
A Dmemory.c1336 DIV_ROUND_DOWN_ULL(vaddr - prop->dram_base_address, in unmap_device_va()
/linux/drivers/net/wireless/realtek/rtw89/
A Dcore.c1649 DIV_ROUND_DOWN_ULL(stats->tx_unicast, stats->tx_cnt) : 0; in rtw89_traffic_stats_calc()
1651 DIV_ROUND_DOWN_ULL(stats->rx_unicast, stats->rx_cnt) : 0; in rtw89_traffic_stats_calc()
/linux/drivers/mtd/nand/raw/
A Ddenali.c782 t_x = DIV_ROUND_DOWN_ULL(1000000000000ULL, denali->clk_x_rate); in denali_setup_interface()
A Dnand_base.c4843 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20, in find_full_id_nand()
5044 DIV_ROUND_DOWN_ULL((u64)type->chipsize << 20, in nand_detect()
A Dcadence-nand-controller.c2316 u32 clk_period = DIV_ROUND_DOWN_ULL(1000000000000ULL, in cadence_nand_setup_interface()
/linux/drivers/gpu/drm/bridge/
A Dcdns-dsi.c835 tx_byte_period = DIV_ROUND_DOWN_ULL((u64)NSEC_PER_SEC * 8, in cdns_dsi_bridge_enable()
/linux/sound/soc/codecs/
A Dpcm512x.c846 pcm512x->real_pll = DIV_ROUND_DOWN_ULL((u64)K * pllin_rate, 10000 * P); in pcm512x_find_pll_coeff()

Completed in 63 milliseconds