Lines Matching defs:engine
80 u32 engine;
446 /* Check if the interrupt is for the current engine */
448 if (!(value & BIT(drvdata->engine)))
539 /* Use physical memory address to determine which I2C engine this is. */
540 drvdata->engine = ((size_t)drvdata->base & 0xf00) >> 8;
542 if (drvdata->engine >= GXP_MAX_I2C_ENGINE) {
543 return dev_err_probe(&pdev->dev, -EINVAL, "i2c engine% is unsupported\n",
544 drvdata->engine);
553 IRQF_SHARED, gxp_i2c_name[drvdata->engine], drvdata);
562 regmap_update_bits(i2cg_map, GXP_I2CINTEN, BIT(drvdata->engine),
563 BIT(drvdata->engine));
586 regmap_update_bits(i2cg_map, GXP_I2CINTEN, BIT(drvdata->engine), 0);