Searched refs:regfields (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_io.c | 113 const struct reg_field *const regfields) in ocelot_regfields_init() argument 120 u32 reg = regfields[i].reg; in ocelot_regfields_init() 125 target = regfields[i].reg >> TARGET_OFFSET; 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() 133 ocelot->regfields[i] = in ocelot_regfields_init() 138 if (IS_ERR(ocelot->regfields[i])) in ocelot_regfields_init() 139 return PTR_ERR(ocelot->regfields[i]); in ocelot_regfields_init()
|
D | ocelot_vsc7514.c | 203 err = regmap_field_read(ocelot->regfields[SYS_RESET_CFG_MEM_INIT], in ocelot_mem_init_status() 214 err = regmap_field_write(ocelot->regfields[SYS_RESET_CFG_MEM_INIT], 1); in ocelot_reset() 218 err = regmap_field_write(ocelot->regfields[SYS_RESET_CFG_MEM_ENA], 1); in ocelot_reset() 230 err = regmap_field_write(ocelot->regfields[SYS_RESET_CFG_MEM_ENA], 1); in ocelot_reset() 234 return regmap_field_write(ocelot->regfields[SYS_RESET_CFG_CORE_ENA], 1); in ocelot_reset()
|
D | ocelot.c | 2788 regmap_field_write(ocelot->regfields[ANA_ADVLEARN_VLAN_CHK], 1); in ocelot_init()
|
/linux-6.1.9/drivers/phy/ti/ |
D | phy-gmii-sel.c | 50 const struct reg_field (*regfields)[PHY_GMII_SEL_LAST]; member 167 .regfields = phy_gmii_sel_fields_am33xx, 183 .regfields = phy_gmii_sel_fields_dra7, 190 .regfields = phy_gmii_sel_fields_am33xx, 208 .regfields = phy_gmii_sel_fields_am654, 214 .regfields = phy_gmii_sel_fields_am654, 292 fields = soc_data->regfields[port - 1]; in phy_gmii_init_phy()
|
/linux-6.1.9/drivers/net/dsa/xrs700x/ |
D | xrs700x.c | 189 struct xrs700x_regfield regfields[] = { in xrs700x_setup_regmap_range() local 217 for (; i < ARRAY_SIZE(regfields); i++) { in xrs700x_setup_regmap_range() 218 *regfields[i].rmf = devm_regmap_field_alloc(priv->dev, in xrs700x_setup_regmap_range() 220 regfields[i].rf); in xrs700x_setup_regmap_range() 221 if (IS_ERR(*regfields[i].rmf)) in xrs700x_setup_regmap_range() 222 return PTR_ERR(*regfields[i].rmf); in xrs700x_setup_regmap_range()
|
/linux-6.1.9/drivers/net/dsa/ocelot/ |
D | felix.h | 26 const struct reg_field *regfields; member
|
D | seville_vsc9953.c | 996 .regfields = vsc9953_regfields,
|
D | felix.c | 1409 err = ocelot_regfields_init(ocelot, felix->info->regfields); in felix_init_structs()
|
D | felix_vsc9959.c | 2575 .regfields = vsc9959_regfields,
|
/linux-6.1.9/include/soc/mscc/ |
D | ocelot.h | 968 struct regmap_field *regfields[REGFIELD_MAX]; member 1082 regmap_field_write((ocelot)->regfields[(reg)], (val)) 1084 regmap_field_read((ocelot)->regfields[(reg)], (val)) 1086 regmap_fields_write((ocelot)->regfields[(reg)], (id), (val)) 1088 regmap_fields_read((ocelot)->regfields[(reg)], (id), (val)) 1135 const struct reg_field *const regfields);
|
/linux-6.1.9/drivers/media/platform/atmel/ |
D | atmel-isc-base.c | 1968 const struct reg_field regfields[ISC_PIPE_LINE_NODE_NUM] = { in isc_pipeline_init() local 1987 regs = devm_regmap_field_alloc(dev, regmap, regfields[i]); in isc_pipeline_init()
|