Searched refs:p2a_ctrl (Results 1 – 1 of 1) sorted by relevance
89 static void aspeed_p2a_enable_bridge(struct aspeed_p2a_ctrl *p2a_ctrl) in aspeed_p2a_enable_bridge() argument91 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() argument97 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() argument324 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() local390 misc_deregister(&p2a_ctrl->miscdev); in aspeed_p2a_ctrl_remove()