Home
last modified time | relevance | path

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

/external/u-boot/drivers/net/phy/
Dmicrel_ksz90x1.c107 struct ksz90x1_ofcfg *ofcfg) in ksz90x1_of_config_group() argument
119 for (i = 0; i < ofcfg->grpsz; i++) { in ksz90x1_of_config_group()
120 val[i] = dev_read_u32_default(dev, ofcfg->grp[i].name, ~0); in ksz90x1_of_config_group()
121 offset = ofcfg->grp[i].off; in ksz90x1_of_config_group()
124 regval |= ofcfg->grp[i].dflt << offset; in ksz90x1_of_config_group()
129 max = (1 << ofcfg->grp[i].size) - 1; in ksz90x1_of_config_group()
140 return drv->writeext(phydev, 0, ofcfg->devad, ofcfg->reg, regval); in ksz90x1_of_config_group()
145 struct ksz90x1_ofcfg ofcfg[] = { in ksz9021_of_config() local
152 for (i = 0; i < ARRAY_SIZE(ofcfg); i++) { in ksz9021_of_config()
153 ret = ksz90x1_of_config_group(phydev, &(ofcfg[i])); in ksz9021_of_config()
[all …]