Lines Matching refs:pcdev
16 struct pse_controller_dev pcdev; member
21 static struct pse_reg_priv *to_pse_reg(struct pse_controller_dev *pcdev) in to_pse_reg() argument
23 return container_of(pcdev, struct pse_reg_priv, pcdev); in to_pse_reg()
27 pse_reg_ethtool_set_config(struct pse_controller_dev *pcdev, unsigned long id, in pse_reg_ethtool_set_config() argument
31 struct pse_reg_priv *priv = to_pse_reg(pcdev); in pse_reg_ethtool_set_config()
45 dev_err(pcdev->dev, "Unknown admin state %i\n", in pse_reg_ethtool_set_config()
59 pse_reg_ethtool_get_status(struct pse_controller_dev *pcdev, unsigned long id, in pse_reg_ethtool_get_status() argument
63 struct pse_reg_priv *priv = to_pse_reg(pcdev); in pse_reg_ethtool_get_status()
116 priv->pcdev.owner = THIS_MODULE; in pse_reg_probe()
117 priv->pcdev.ops = &pse_reg_ops; in pse_reg_probe()
118 priv->pcdev.dev = dev; in pse_reg_probe()
119 ret = devm_pse_controller_register(dev, &priv->pcdev); in pse_reg_probe()