Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/phy/ti/
Dphy-gmii-sel.c71 struct regmap_field *regfield; in phy_gmii_sel_mode() local
118 regfield = if_phy->fields[PHY_GMII_SEL_PORT_MODE]; in phy_gmii_sel_mode()
119 ret = regmap_field_write(regfield, gmii_sel_mode); in phy_gmii_sel_mode()
127 regfield = if_phy->fields[PHY_GMII_SEL_RGMII_ID_MODE]; in phy_gmii_sel_mode()
128 ret = regmap_field_write(regfield, rgmii_id); in phy_gmii_sel_mode()
135 regfield = if_phy->fields[PHY_GMII_SEL_RMII_IO_CLK_EN]; in phy_gmii_sel_mode()
136 ret = regmap_field_write(regfield, in phy_gmii_sel_mode()
285 struct regmap_field *regfield; in phy_gmii_init_phy() local
298 regfield = devm_regmap_field_alloc(dev, priv->regmap, field); in phy_gmii_init_phy()
299 if (IS_ERR(regfield)) in phy_gmii_init_phy()
[all …]
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_io.c119 struct reg_field regfield = {}; in ocelot_regfields_init() local
127 regfield.reg = ocelot->map[target][reg & REG_MASK]; in ocelot_regfields_init()
128 regfield.lsb = regfields[i].lsb; in ocelot_regfields_init()
129 regfield.msb = regfields[i].msb; in ocelot_regfields_init()
130 regfield.id_size = regfields[i].id_size; in ocelot_regfields_init()
131 regfield.id_offset = regfields[i].id_offset; in ocelot_regfields_init()
136 regfield); in ocelot_regfields_init()
/linux-6.1.9/sound/soc/sti/
Duniperif_player.c1015 struct reg_field regfield[2] = { in uni_player_parse_dt_audio_glue() local
1031 player->clk_sel = regmap_field_alloc(regmap, regfield[0]); in uni_player_parse_dt_audio_glue()
1032 player->valid_sel = regmap_field_alloc(regmap, regfield[1]); in uni_player_parse_dt_audio_glue()