Home
last modified time | relevance | path

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

/openbmc/linux/drivers/phy/ti/
H A Dphy-gmii-sel.c75 struct regmap_field *regfield; in phy_gmii_sel_mode() local
154 ret = regmap_field_write(regfield, in phy_gmii_sel_mode()
332 struct regmap_field *regfield; in phy_gmii_init_phy() local
346 if (IS_ERR(regfield)) in phy_gmii_init_phy()
347 return PTR_ERR(regfield); in phy_gmii_init_phy()
353 regfield = devm_regmap_field_alloc(dev, in phy_gmii_init_phy()
356 if (IS_ERR(regfield)) in phy_gmii_init_phy()
357 return PTR_ERR(regfield); in phy_gmii_init_phy()
366 regfield = devm_regmap_field_alloc(dev, in phy_gmii_init_phy()
369 if (IS_ERR(regfield)) in phy_gmii_init_phy()
[all …]
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_io.c123 struct reg_field regfield = {}; in ocelot_regfields_init() local
131 regfield.reg = ocelot->map[target][reg & REG_MASK]; in ocelot_regfields_init()
132 regfield.lsb = regfields[i].lsb; in ocelot_regfields_init()
133 regfield.msb = regfields[i].msb; in ocelot_regfields_init()
134 regfield.id_size = regfields[i].id_size; in ocelot_regfields_init()
135 regfield.id_offset = regfields[i].id_offset; in ocelot_regfields_init()
140 regfield); in ocelot_regfields_init()
/openbmc/u-boot/tools/
H A Drkmux.py74 def output_regfield(self, regfield): argument
75 lines = regfield.desc
90 if ':' in regfield.bits:
91 bit_high, bit_low = [int(x) for x in regfield.bits.split(':')]
93 bit_high = bit_low = int(regfield.bits)
/openbmc/linux/sound/soc/sti/
H A 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()