Searched refs:i2cg_map (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-gxp.c | 94 static struct regmap *i2cg_map; variable 447 regmap_read(i2cg_map, GXP_I2CINTSTAT, &value); in gxp_i2c_irq_handler() 514 if (!i2cg_map) { in gxp_i2c_probe() 515 i2cg_map = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, in gxp_i2c_probe() 517 if (IS_ERR(i2cg_map)) { in gxp_i2c_probe() 518 return dev_err_probe(&pdev->dev, PTR_ERR(i2cg_map), in gxp_i2c_probe() 523 regmap_update_bits(i2cg_map, GXP_I2CINTEN, 0x00000FFF, 0); in gxp_i2c_probe() 562 regmap_update_bits(i2cg_map, GXP_I2CINTEN, BIT(drvdata->engine), in gxp_i2c_probe() 586 regmap_update_bits(i2cg_map, GXP_I2CINTEN, BIT(drvdata->engine), 0); in gxp_i2c_remove()
|