Home
last modified time | relevance | path

Searched refs:regfield (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/phy/ti/
Dphy-gmii-sel.c59 struct regmap_field *regfield; in phy_gmii_sel_mode() local
99 regfield = if_phy->fields[PHY_GMII_SEL_PORT_MODE]; in phy_gmii_sel_mode()
100 ret = regmap_field_write(regfield, gmii_sel_mode); in phy_gmii_sel_mode()
108 regfield = if_phy->fields[PHY_GMII_SEL_RGMII_ID_MODE]; in phy_gmii_sel_mode()
109 ret = regmap_field_write(regfield, rgmii_id); in phy_gmii_sel_mode()
116 regfield = if_phy->fields[PHY_GMII_SEL_RMII_IO_CLK_EN]; in phy_gmii_sel_mode()
117 ret = regmap_field_write(regfield, in phy_gmii_sel_mode()
243 struct regmap_field *regfield; in phy_gmii_sel_init_ports() local
252 regfield = devm_regmap_field_alloc(dev, priv->regmap, *field); in phy_gmii_sel_init_ports()
253 if (IS_ERR(regfield)) in phy_gmii_sel_init_ports()
[all …]
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot_io.c69 struct reg_field regfield = {}; in ocelot_regfields_init() local
77 regfield.reg = ocelot->map[target][reg & REG_MASK]; in ocelot_regfields_init()
78 regfield.lsb = regfields[i].lsb; in ocelot_regfields_init()
79 regfield.msb = regfields[i].msb; in ocelot_regfields_init()
84 regfield); in ocelot_regfields_init()
/Linux-v5.4/sound/soc/sti/
Duniperif_player.c1014 struct reg_field regfield[2] = { in uni_player_parse_dt_audio_glue() local
1030 player->clk_sel = regmap_field_alloc(regmap, regfield[0]); in uni_player_parse_dt_audio_glue()
1031 player->valid_sel = regmap_field_alloc(regmap, regfield[1]); in uni_player_parse_dt_audio_glue()