Lines Matching defs:val
129 char val[32];
131 if (OF_getprop(macnode, "phy-mode", val, sizeof(val)) <= 0 &&
132 OF_getprop(macnode, "phy-connection-type", val, sizeof(val)) <= 0) {
135 return (mii_fdt_contype_from_name(val));
150 pcell_t val;
173 if (OF_getencprop(cfg->phynode, "max-speed", &val, sizeof(val)) > 0)
174 cfg->max_speed = val;