Home
last modified time | relevance | path

Searched refs:regfields (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/mscc/
Docelot_io.c100 const struct reg_field *const regfields) in ocelot_regfields_init() argument
107 u32 reg = regfields[i].reg; in ocelot_regfields_init()
112 target = regfields[i].reg >> TARGET_OFFSET; in ocelot_regfields_init()
115 regfield.lsb = regfields[i].lsb; in ocelot_regfields_init()
116 regfield.msb = regfields[i].msb; in ocelot_regfields_init()
117 regfield.id_size = regfields[i].id_size; in ocelot_regfields_init()
118 regfield.id_offset = regfields[i].id_offset; in ocelot_regfields_init()
120 ocelot->regfields[i] = in ocelot_regfields_init()
125 if (IS_ERR(ocelot->regfields[i])) in ocelot_regfields_init()
126 return PTR_ERR(ocelot->regfields[i]); in ocelot_regfields_init()
Docelot_vsc7514.c735 regmap_field_write(ocelot->regfields[SYS_RESET_CFG_MEM_INIT], 1); in ocelot_reset()
736 regmap_field_write(ocelot->regfields[SYS_RESET_CFG_MEM_ENA], 1); in ocelot_reset()
740 regmap_field_read(ocelot->regfields[SYS_RESET_CFG_MEM_INIT], in ocelot_reset()
747 regmap_field_write(ocelot->regfields[SYS_RESET_CFG_MEM_ENA], 1); in ocelot_reset()
748 regmap_field_write(ocelot->regfields[SYS_RESET_CFG_CORE_ENA], 1); in ocelot_reset()
Docelot.c1557 regmap_field_write(ocelot->regfields[ANA_ADVLEARN_VLAN_CHK], 1); in ocelot_init()
/drivers/phy/ti/
Dphy-gmii-sel.c44 const struct reg_field (*regfields)[PHY_GMII_SEL_LAST]; member
147 .regfields = phy_gmii_sel_fields_am33xx,
163 .regfields = phy_gmii_sel_fields_dra7,
170 .regfields = phy_gmii_sel_fields_am33xx,
188 .regfields = phy_gmii_sel_fields_am654,
261 fields = soc_data->regfields[port - 1]; in phy_gmii_init_phy()
/drivers/net/dsa/ocelot/
Dfelix.h15 const struct reg_field *regfields; member
Dfelix.c490 err = ocelot_regfields_init(ocelot, felix->info->regfields); in felix_init_structs()
Dseville_vsc9953.c1178 .regfields = vsc9953_regfields,
Dfelix_vsc9959.c1356 .regfields = vsc9959_regfields,
/drivers/media/platform/atmel/
Datmel-isc-base.c2342 const struct reg_field regfields[ISC_PIPE_LINE_NODE_NUM] = { in isc_pipeline_init() local
2357 regs = devm_regmap_field_alloc(dev, regmap, regfields[i]); in isc_pipeline_init()