Searched refs:reg_int (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/clk/zte/ |
D | clk.c | 345 u32 reg_frac, u32 reg_int, in audio_calc_rate() argument 353 m = (reg_int & 0xffff) * n + m; in audio_calc_rate() 363 unsigned int reg_int, reg_frac; in audio_calc_reg() local 366 reg_int = parent_rate / rate; in audio_calc_reg() 368 if (reg_int > CLK_AUDIO_DIV_INT_FRAC_MAX) in audio_calc_reg() 369 reg_int = CLK_AUDIO_DIV_INT_FRAC_MAX; in audio_calc_reg() 370 else if (reg_int < CLK_AUDIO_DIV_INT_FRAC_MIN) in audio_calc_reg() 371 reg_int = 0; in audio_calc_reg() 372 m = parent_rate - rate * reg_int; in audio_calc_reg() 390 div_table->rate = parent_rate * n / (reg_int * n + m); in audio_calc_reg() [all …]
|
/Linux-v4.19/drivers/edac/ |
D | thunderx_edac.c | 176 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 …]
|
/Linux-v4.19/drivers/hwmon/ |
D | npcm750-pwm-fan.c | 269 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()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | da8xx-fb.c | 317 u32 reg_int; in lcd_blit() local 333 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_blit() 337 lcdc_write(reg_int, LCD_INT_ENABLE_SET_REG); in lcd_blit() 354 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_blit() 356 lcdc_write(reg_int, LCD_INT_ENABLE_SET_REG); in lcd_blit() 459 u32 reg_int; in lcd_cfg_display() local 492 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_cfg_display() 494 lcdc_write(reg_int, LCD_INT_ENABLE_SET_REG); in lcd_cfg_display()
|