Home
last modified time | relevance | path

Searched refs:reg_int (Results 1 – 6 of 6) sorted by relevance

/drivers/clk/zte/
Dclk.c342 u32 reg_frac, u32 reg_int, in audio_calc_rate() argument
350 m = (reg_int & 0xffff) * n + m; in audio_calc_rate()
360 unsigned int reg_int, reg_frac; in audio_calc_reg() local
363 reg_int = parent_rate / rate; in audio_calc_reg()
365 if (reg_int > CLK_AUDIO_DIV_INT_FRAC_MAX) in audio_calc_reg()
366 reg_int = CLK_AUDIO_DIV_INT_FRAC_MAX; in audio_calc_reg()
367 else if (reg_int < CLK_AUDIO_DIV_INT_FRAC_MIN) in audio_calc_reg()
368 reg_int = 0; in audio_calc_reg()
369 m = parent_rate - rate * reg_int; in audio_calc_reg()
387 div_table->rate = parent_rate * n / (reg_int * n + m); in audio_calc_reg()
[all …]
/drivers/edac/
Dthunderx_edac.c176 u64 reg_int; member
557 ctx->reg_int = readq(lmc->regs + LMC_INT); in thunderx_lmc_err_isr()
568 writeq(ctx->reg_int, lmc->regs + LMC_INT); in thunderx_lmc_err_isr()
600 ctx->reg_int); in thunderx_lmc_threaded_isr()
619 ctx->reg_int); in thunderx_lmc_threaded_isr()
623 if (ctx->reg_int & LMC_INT_UE) in thunderx_lmc_threaded_isr()
628 else if (ctx->reg_int & LMC_INT_CE) in thunderx_lmc_threaded_isr()
1740 u64 reg_int; member
1769 ctx->reg_int = readq(tad->regs + L2C_TAD_INT_W1C); in thunderx_l2c_tad_isr()
1771 if (ctx->reg_int & L2C_TAD_INT_ECC) { in thunderx_l2c_tad_isr()
[all …]
/drivers/hwmon/
Dnpcm750-pwm-fan.c269 u8 reg_int; in npcm7xx_fan_start_capture() local
280 reg_int = ioread8(NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_start_capture()
290 iowrite8(reg_int | (NPCM7XX_FAN_TIEN_TAIEN | in npcm7xx_fan_start_capture()
303 iowrite8(reg_int | (NPCM7XX_FAN_TIEN_TBIEN | in npcm7xx_fan_start_capture()
367 u8 reg_int; in npcm7xx_fan_compute() local
409 reg_int = ioread8(NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_fan_compute()
412 iowrite8((reg_int & ~flag_int), in npcm7xx_fan_compute()
425 u8 reg_int; in npcm7xx_check_cmp() local
451 reg_int = ioread8(NPCM7XX_FAN_REG_TIEN(data->fan_base, fan)); in npcm7xx_check_cmp()
454 iowrite8((reg_int & ~flag_int), in npcm7xx_check_cmp()
/drivers/video/fbdev/
Dda8xx-fb.c305 u32 reg_int; in lcd_blit() local
321 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_blit()
325 lcdc_write(reg_int, LCD_INT_ENABLE_SET_REG); in lcd_blit()
342 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_blit()
344 lcdc_write(reg_int, LCD_INT_ENABLE_SET_REG); in lcd_blit()
447 u32 reg_int; in lcd_cfg_display() local
480 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_cfg_display()
482 lcdc_write(reg_int, LCD_INT_ENABLE_SET_REG); in lcd_cfg_display()
/drivers/net/can/c_can/
Dc_can.c1116 int reg_int; in c_can_isr() local
1118 reg_int = priv->read_reg(priv, C_CAN_INT_REG); in c_can_isr()
1119 if (!reg_int) in c_can_isr()
1123 if (reg_int & INT_STS_PENDING) in c_can_isr()
/drivers/mmc/host/
Dmtk-sd.c1078 u32 reg_int, reg_inten, reg_ps; in msdc_recheck_sdio_irq() local
1083 reg_int = readl(host->base + MSDC_INT); in msdc_recheck_sdio_irq()
1085 if (!(reg_int & MSDC_INT_SDIOIRQ || in msdc_recheck_sdio_irq()