Lines Matching refs:refclk_driver

1986 	struct cdns_torrent_refclk_driver *refclk_driver = to_cdns_torrent_refclk_driver(hw);  in cdns_torrent_refclk_driver_enable()  local
1988 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_6], 0); in cdns_torrent_refclk_driver_enable()
1989 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_5], 1); in cdns_torrent_refclk_driver_enable()
1990 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_1], 0); in cdns_torrent_refclk_driver_enable()
1997 struct cdns_torrent_refclk_driver *refclk_driver = to_cdns_torrent_refclk_driver(hw); in cdns_torrent_refclk_driver_disable() local
1999 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_1], 1); in cdns_torrent_refclk_driver_disable()
2004 struct cdns_torrent_refclk_driver *refclk_driver = to_cdns_torrent_refclk_driver(hw); in cdns_torrent_refclk_driver_is_enabled() local
2007 regmap_field_read(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_1], &val); in cdns_torrent_refclk_driver_is_enabled()
2014 struct cdns_torrent_refclk_driver *refclk_driver = to_cdns_torrent_refclk_driver(hw); in cdns_torrent_refclk_driver_get_parent() local
2017 regmap_field_read(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_4], &val); in cdns_torrent_refclk_driver_get_parent()
2023 struct cdns_torrent_refclk_driver *refclk_driver = to_cdns_torrent_refclk_driver(hw); in cdns_torrent_refclk_driver_set_parent() local
2027 return regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_4], val); in cdns_torrent_refclk_driver_set_parent()
2041 struct cdns_torrent_refclk_driver *refclk_driver; in cdns_torrent_refclk_driver_register() local
2052 refclk_driver = devm_kzalloc(dev, sizeof(*refclk_driver), GFP_KERNEL); in cdns_torrent_refclk_driver_register()
2053 if (!refclk_driver) in cdns_torrent_refclk_driver_register()
2073 init = &refclk_driver->clk_data; in cdns_torrent_refclk_driver_register()
2089 refclk_driver->cmn_fields[i] = field; in cdns_torrent_refclk_driver_register()
2093 regmap_field_write(refclk_driver->cmn_fields[CMN_CDIAG_REFCLK_DRV0_CTRL_4], 1); in cdns_torrent_refclk_driver_register()
2095 refclk_driver->hw.init = init; in cdns_torrent_refclk_driver_register()
2097 hw = &refclk_driver->hw; in cdns_torrent_refclk_driver_register()