Lines Matching defs:index
568 * when the index points to the middle.
2439 * We use a signed short index for struct console for device drivers to
2440 * indicate a not yet assigned index or port. However, a negative index
2453 if (strcmp(c->name, name) == 0 && c->index == idx) {
2469 c->index = idx;
2507 * Decode str into name, index, options.
2539 * @idx: device index
3206 * Return the console tty driver structure and its associated index
3208 struct tty_driver *console_device(int *index)
3225 driver = c->device(c, index);
3314 newcon->match(newcon, c->name, c->index, c->options) != 0) {
3319 if (newcon->index >= 0 &&
3320 newcon->index != c->index)
3322 if (newcon->index < 0)
3323 newcon->index = c->index;
3352 if (newcon->index < 0)
3353 newcon->index = 0;
3460 con->name, con->index)) {
3473 newcon->name, newcon->index);
3758 con->name, con->index);