Lines Matching defs:val
179 uint8 val;
193 robo->ops->read_reg(etc->robo, 0x04, 0x0, &val, 1);
196 val = 0x80;
197 robo->ops->write_reg(etc->robo, 0x05, 0x20, &val, 1);
200 robo->ops->read_reg(etc->robo, 0x05, 0x20, &val, 1);
201 if(val&0x80)
203 if(val&0x01)
230 int val;
235 val = arg ? *(int*)arg : 0;
249 etc_loopback(etc, val);
258 et_msg_level = val;
262 etc_promisc(etc, val);
266 etc_qos(etc, val);
270 if ((val != ET_AUTO) && (val != ET_10HALF) && (val != ET_10FULL) &&
271 (val != ET_100HALF) && (val != ET_100FULL))
273 etc->forcespeed = val;
329 uint16 val;
334 val = -1;
335 robo->ops->read_reg(etc->robo, page, reg, &val, 2);
336 vec[1] = val;
338 page, reg, val));
345 uint16 val;
350 val = vec[1];
351 robo->ops->write_reg(etc->robo, page, vec[0], &val, 2);
353 page, reg, val));