Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/aspeed/
H A Daspeed-p2a-ctrl.c89 static void aspeed_p2a_enable_bridge(struct aspeed_p2a_ctrl *p2a_ctrl) in aspeed_p2a_enable_bridge() argument
91 regmap_update_bits(p2a_ctrl->regmap, in aspeed_p2a_enable_bridge()
95 static void aspeed_p2a_disable_bridge(struct aspeed_p2a_ctrl *p2a_ctrl) in aspeed_p2a_disable_bridge() argument
97 regmap_update_bits(p2a_ctrl->regmap, SCU180, SCU180_ENP2A, 0); in aspeed_p2a_disable_bridge()
318 static void aspeed_p2a_disable_all(struct aspeed_p2a_ctrl *p2a_ctrl) in aspeed_p2a_disable_all() argument
324 value |= p2a_ctrl->config->regions[i].bit; in aspeed_p2a_disable_all()
326 regmap_update_bits(p2a_ctrl->regmap, SCU2C, value, value); in aspeed_p2a_disable_all()
329 aspeed_p2a_disable_bridge(p2a_ctrl); in aspeed_p2a_disable_all()
388 struct aspeed_p2a_ctrl *p2a_ctrl = dev_get_drvdata(&pdev->dev); in aspeed_p2a_ctrl_remove() local
390 misc_deregister(&p2a_ctrl->miscdev); in aspeed_p2a_ctrl_remove()