am654_phy 253 drivers/phy/ti/phy-am654-serdes.c struct serdes_am654 *am654_phy; am654_phy 261 drivers/phy/ti/phy-am654-serdes.c am654_phy = phy_get_drvdata(phy); am654_phy 262 drivers/phy/ti/phy-am654-serdes.c if (am654_phy->busy) am654_phy 265 drivers/phy/ti/phy-am654-serdes.c ret = mux_control_select(am654_phy->control, args->args[1]); am654_phy 271 drivers/phy/ti/phy-am654-serdes.c am654_phy->busy = true; am654_phy 272 drivers/phy/ti/phy-am654-serdes.c am654_phy->type = args->args[0]; am654_phy 394 drivers/phy/ti/phy-am654-serdes.c static int serdes_am654_clk_register(struct serdes_am654 *am654_phy, am654_phy 397 drivers/phy/ti/phy-am654-serdes.c struct device_node *node = am654_phy->of_node; am654_phy 398 drivers/phy/ti/phy-am654-serdes.c struct device *dev = am654_phy->dev; am654_phy 471 drivers/phy/ti/phy-am654-serdes.c am654_phy->clks[clock_num] = clk; am654_phy 486 drivers/phy/ti/phy-am654-serdes.c static int serdes_am654_regfield_init(struct serdes_am654 *am654_phy) am654_phy 488 drivers/phy/ti/phy-am654-serdes.c struct regmap *regmap = am654_phy->regmap; am654_phy 489 drivers/phy/ti/phy-am654-serdes.c struct device *dev = am654_phy->dev; am654_phy 491 drivers/phy/ti/phy-am654-serdes.c am654_phy->cmu_master_cdn_o = devm_regmap_field_alloc(dev, regmap, am654_phy 493 drivers/phy/ti/phy-am654-serdes.c if (IS_ERR(am654_phy->cmu_master_cdn_o)) { am654_phy 495 drivers/phy/ti/phy-am654-serdes.c return PTR_ERR(am654_phy->cmu_master_cdn_o); am654_phy 498 drivers/phy/ti/phy-am654-serdes.c am654_phy->config_version = devm_regmap_field_alloc(dev, regmap, am654_phy 500 drivers/phy/ti/phy-am654-serdes.c if (IS_ERR(am654_phy->config_version)) { am654_phy 502 drivers/phy/ti/phy-am654-serdes.c return PTR_ERR(am654_phy->config_version); am654_phy 505 drivers/phy/ti/phy-am654-serdes.c am654_phy->l1_master_cdn_o = devm_regmap_field_alloc(dev, regmap, am654_phy 507 drivers/phy/ti/phy-am654-serdes.c if (IS_ERR(am654_phy->l1_master_cdn_o)) { am654_phy 509 drivers/phy/ti/phy-am654-serdes.c return PTR_ERR(am654_phy->l1_master_cdn_o); am654_phy 512 drivers/phy/ti/phy-am654-serdes.c am654_phy->cmu_ok_i_0 = devm_regmap_field_alloc(dev, regmap, am654_phy 514 drivers/phy/ti/phy-am654-serdes.c if (IS_ERR(am654_phy->cmu_ok_i_0)) { am654_phy 516 drivers/phy/ti/phy-am654-serdes.c return PTR_ERR(am654_phy->cmu_ok_i_0); am654_phy 519 drivers/phy/ti/phy-am654-serdes.c am654_phy->por_en = devm_regmap_field_alloc(dev, regmap, por_en); am654_phy 520 drivers/phy/ti/phy-am654-serdes.c if (IS_ERR(am654_phy->por_en)) { am654_phy 522 drivers/phy/ti/phy-am654-serdes.c return PTR_ERR(am654_phy->por_en); am654_phy 525 drivers/phy/ti/phy-am654-serdes.c am654_phy->tx0_enable = devm_regmap_field_alloc(dev, regmap, am654_phy 527 drivers/phy/ti/phy-am654-serdes.c if (IS_ERR(am654_phy->tx0_enable)) { am654_phy 529 drivers/phy/ti/phy-am654-serdes.c return PTR_ERR(am654_phy->tx0_enable); am654_phy 532 drivers/phy/ti/phy-am654-serdes.c am654_phy->rx0_enable = devm_regmap_field_alloc(dev, regmap, am654_phy 534 drivers/phy/ti/phy-am654-serdes.c if (IS_ERR(am654_phy->rx0_enable)) { am654_phy 536 drivers/phy/ti/phy-am654-serdes.c return PTR_ERR(am654_phy->rx0_enable); am654_phy 539 drivers/phy/ti/phy-am654-serdes.c am654_phy->pll_enable = devm_regmap_field_alloc(dev, regmap, am654_phy 541 drivers/phy/ti/phy-am654-serdes.c if (IS_ERR(am654_phy->pll_enable)) { am654_phy 543 drivers/phy/ti/phy-am654-serdes.c return PTR_ERR(am654_phy->pll_enable); am654_phy 546 drivers/phy/ti/phy-am654-serdes.c am654_phy->pll_ok = devm_regmap_field_alloc(dev, regmap, pll_ok); am654_phy 547 drivers/phy/ti/phy-am654-serdes.c if (IS_ERR(am654_phy->pll_ok)) { am654_phy 549 drivers/phy/ti/phy-am654-serdes.c return PTR_ERR(am654_phy->pll_ok); am654_phy 561 drivers/phy/ti/phy-am654-serdes.c struct serdes_am654 *am654_phy; am654_phy 570 drivers/phy/ti/phy-am654-serdes.c am654_phy = devm_kzalloc(dev, sizeof(*am654_phy), GFP_KERNEL); am654_phy 571 drivers/phy/ti/phy-am654-serdes.c if (!am654_phy) am654_phy 588 drivers/phy/ti/phy-am654-serdes.c am654_phy->dev = dev; am654_phy 589 drivers/phy/ti/phy-am654-serdes.c am654_phy->of_node = node; am654_phy 590 drivers/phy/ti/phy-am654-serdes.c am654_phy->regmap = regmap; am654_phy 591 drivers/phy/ti/phy-am654-serdes.c am654_phy->control = control; am654_phy 592 drivers/phy/ti/phy-am654-serdes.c am654_phy->type = PHY_NONE; am654_phy 594 drivers/phy/ti/phy-am654-serdes.c ret = serdes_am654_regfield_init(am654_phy); am654_phy 600 drivers/phy/ti/phy-am654-serdes.c platform_set_drvdata(pdev, am654_phy); am654_phy 610 drivers/phy/ti/phy-am654-serdes.c ret = serdes_am654_clk_register(am654_phy, clock_name, i); am654_phy 618 drivers/phy/ti/phy-am654-serdes.c clk_data = &am654_phy->clk_data; am654_phy 619 drivers/phy/ti/phy-am654-serdes.c clk_data->clks = am654_phy->clks; am654_phy 631 drivers/phy/ti/phy-am654-serdes.c phy_set_drvdata(phy, am654_phy); am654_phy 648 drivers/phy/ti/phy-am654-serdes.c struct serdes_am654 *am654_phy = platform_get_drvdata(pdev); am654_phy 649 drivers/phy/ti/phy-am654-serdes.c struct device_node *node = am654_phy->of_node;