Searched refs:DIV_ROUND_DOWN_ULL (Results 1 – 20 of 20) sorted by relevance
/linux/include/linux/ |
A D | math.h | 38 #define DIV_ROUND_DOWN_ULL(ll, d) \ macro 42 DIV_ROUND_DOWN_ULL((unsigned long long)(ll) + (d) - 1, (d))
|
/linux/drivers/pwm/ |
A D | pwm-keembay.c | 154 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 D | pwm-raspberrypi-poe.c | 112 duty_cycle = DIV_ROUND_DOWN_ULL(state->duty_cycle * RPI_PWM_MAX_DUTY, in raspberrypi_pwm_apply()
|
A D | pwm-sl28cpld.c | 75 (DIV_ROUND_DOWN_ULL((duty_cycle), NSEC_PER_SEC / SL28CPLD_PWM_CLK))
|
A D | pwm-pca9685.c | 466 state->duty_cycle = DIV_ROUND_DOWN_ULL(duty * state->period, PCA9685_COUNTER_RANGE); in pca9685_pwm_get_state()
|
/linux/lib/dim/ |
A D | dim.c | 77 curr_stats->cpe_ratio = DIV_ROUND_DOWN_ULL( in dim_calc_stats()
|
/linux/drivers/reset/ |
A D | reset-brcmstb.c | 101 priv->rcdev.nr_resets = DIV_ROUND_DOWN_ULL(resource_size(res), in brcmstb_reset_probe()
|
/linux/drivers/gpu/drm/ |
A D | drm_rect.c | 74 return DIV_ROUND_DOWN_ULL(tmp, dst); in clip_scaled()
|
/linux/net/ceph/ |
A D | striper.c | 232 DIV_ROUND_DOWN_ULL(objoff, l->stripe_unit); in ceph_extent_to_file()
|
/linux/drivers/clk/zynqmp/ |
A D | divider.c | 57 down = DIV_ROUND_DOWN_ULL((u64)parent_rate, rate); in zynqmp_divider_get_val()
|
/linux/drivers/gpu/drm/mcde/ |
A D | mcde_dsi.c | 604 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 D | mmu.c | 518 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 D | habanalabs_ioctl.c | 70 DIV_ROUND_DOWN_ULL(prop->dram_size - dram_kmd_size, in hw_ip_info()
|
A D | memory.c | 1336 DIV_ROUND_DOWN_ULL(vaddr - prop->dram_base_address, in unmap_device_va()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
A D | core.c | 1649 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 D | denali.c | 782 t_x = DIV_ROUND_DOWN_ULL(1000000000000ULL, denali->clk_x_rate); in denali_setup_interface()
|
A D | nand_base.c | 4843 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 D | cadence-nand-controller.c | 2316 u32 clk_period = DIV_ROUND_DOWN_ULL(1000000000000ULL, in cadence_nand_setup_interface()
|
/linux/drivers/gpu/drm/bridge/ |
A D | cdns-dsi.c | 835 tx_byte_period = DIV_ROUND_DOWN_ULL((u64)NSEC_PER_SEC * 8, in cdns_dsi_bridge_enable()
|
/linux/sound/soc/codecs/ |
A D | pcm512x.c | 846 pcm512x->real_pll = DIV_ROUND_DOWN_ULL((u64)K * pllin_rate, 10000 * P); in pcm512x_find_pll_coeff()
|
Completed in 63 milliseconds