Searched refs:salvo_phy (Results 1 – 1 of 1) sorted by relevance
145 static bool cdns_is_nxp_phy(struct cdns_salvo_phy *salvo_phy) in cdns_is_nxp_phy() argument147 return salvo_phy->data == &cdns_nxp_salvo_data; in cdns_is_nxp_phy()150 static u16 cdns_salvo_read(struct cdns_salvo_phy *salvo_phy, u32 offset, u32 reg) in cdns_salvo_read() argument152 return (u16)readl(salvo_phy->base + offset + in cdns_salvo_read()153 reg * (1 << salvo_phy->data->reg_offset_shift)); in cdns_salvo_read()156 static void cdns_salvo_write(struct cdns_salvo_phy *salvo_phy, u32 offset, in cdns_salvo_write() argument159 writel(val, salvo_phy->base + offset + in cdns_salvo_write()160 reg * (1 << salvo_phy->data->reg_offset_shift)); in cdns_salvo_write()248 struct cdns_salvo_phy *salvo_phy = phy_get_drvdata(phy); in cdns_salvo_phy_init() local249 struct cdns_salvo_data *data = salvo_phy->data; in cdns_salvo_phy_init()[all …]