Searched refs:period_cnt (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/pwm/ |
H A D | pwm-axi-pwmgen.c | 61 u32 period_cnt; member 81 .period_cnt = 0, in axi_pwmgen_round_waveform_tohw() 87 wfhw->period_cnt = min_t(u64, in axi_pwmgen_round_waveform_tohw() 91 if (wfhw->period_cnt == 0) { in axi_pwmgen_round_waveform_tohw() 97 wfhw->period_cnt = 1; in axi_pwmgen_round_waveform_tohw() 112 ddata->clk_rate_hz, wfhw->period_cnt, wfhw->duty_cycle_cnt, wfhw->duty_offset_cnt); in axi_pwmgen_round_waveform_tohw() 123 wf->period_length_ns = DIV64_U64_ROUND_UP((u64)wfhw->period_cnt * NSEC_PER_SEC, in axi_pwmgen_round_waveform_fromhw() 145 ret = regmap_write(regmap, AXI_PWMGEN_CHX_PERIOD(ch), wfhw->period_cnt); in axi_pwmgen_write_waveform() 170 ret = regmap_read(regmap, AXI_PWMGEN_CHX_PERIOD(ch), &wfhw->period_cnt); in axi_pwmgen_read_waveform() 182 if (wfhw->duty_cycle_cnt > wfhw->period_cnt) in axi_pwmgen_read_waveform() [all …]
|
/linux/sound/soc/sprd/ |
H A D | sprd-pcm-compress.c | 146 int period, period_cnt, sg_num = 2; in sprd_platform_compr_dma_config() local 173 period_cnt = params->buffer.fragment_size / period; in sprd_platform_compr_dma_config() 185 period_cnt = params->buffer.fragments; in sprd_platform_compr_dma_config() 199 dma->trans_len = period * period_cnt; in sprd_platform_compr_dma_config()
|
/linux/drivers/leds/ |
H A D | leds-lm355x.c | 119 u8 period_cnt; member 374 indicator_pattern[state].period_cnt); in pattern_store()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_mfw_hsi.h | 571 u8 period_cnt; member
|