Lines Matching refs:refclk_driver
1967 struct cdns_torrent_refclk_driver *refclk_driver = to_cdns_torrent_refclk_driver(hw); in cdns_torrent_refclk_driver_enable() local
1969 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_6], 0); in cdns_torrent_refclk_driver_enable()
1970 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_5], 1); in cdns_torrent_refclk_driver_enable()
1971 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_1], 0); in cdns_torrent_refclk_driver_enable()
1978 struct cdns_torrent_refclk_driver *refclk_driver = to_cdns_torrent_refclk_driver(hw); in cdns_torrent_refclk_driver_disable() local
1980 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_1], 1); in cdns_torrent_refclk_driver_disable()
1985 struct cdns_torrent_refclk_driver *refclk_driver = to_cdns_torrent_refclk_driver(hw); in cdns_torrent_refclk_driver_is_enabled() local
1988 regmap_field_read(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_1], &val); in cdns_torrent_refclk_driver_is_enabled()
1995 struct cdns_torrent_refclk_driver *refclk_driver = to_cdns_torrent_refclk_driver(hw); in cdns_torrent_refclk_driver_get_parent() local
1998 regmap_field_read(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_4], &val); in cdns_torrent_refclk_driver_get_parent()
2004 struct cdns_torrent_refclk_driver *refclk_driver = to_cdns_torrent_refclk_driver(hw); in cdns_torrent_refclk_driver_set_parent() local
2008 return regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_4], val); in cdns_torrent_refclk_driver_set_parent()
2022 struct cdns_torrent_refclk_driver *refclk_driver; in cdns_torrent_refclk_driver_register() local
2033 refclk_driver = devm_kzalloc(dev, sizeof(*refclk_driver), GFP_KERNEL); in cdns_torrent_refclk_driver_register()
2034 if (!refclk_driver) in cdns_torrent_refclk_driver_register()
2054 init = &refclk_driver->clk_data; in cdns_torrent_refclk_driver_register()
2070 refclk_driver->cmn_fields[i] = field; in cdns_torrent_refclk_driver_register()
2074 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_4], 1); in cdns_torrent_refclk_driver_register()
2076 refclk_driver->hw.init = init; in cdns_torrent_refclk_driver_register()
2078 hw = &refclk_driver->hw; in cdns_torrent_refclk_driver_register()