Lines Matching refs:unit
56 int unit;
206 mdev->port, mdev->unit);
210 static struct maple_device *maple_alloc_dev(int port, int unit)
222 mdev->unit = unit;
248 int port, unit, from, to, len;
252 unit = mq->dev->unit;
255 to = (port << 6) | (unit > 0 ? (1 << (unit - 1)) & 0x1f : 0x20);
365 mdev->product_name, function, mdev->port, mdev->unit);
383 mdev->unit, function);
393 " (%d, %d), with error 0x%X\n", mdev->unit,
403 * port and unit then return 1 - allows identification
413 if (mdev->port == ds->port && mdev->unit == ds->unit)
499 ds.unit = k + 1;
527 killbit = (mdev->unit > 0 ? (1 << (mdev->unit - 1)) & 0x1f : 0x20);
538 if (likely(mdev->unit != 0)) {
557 mdev->port, mdev->unit);
571 /* Some hardware devices generate false detach messages on unit 0 */
581 if ((mdev->unit == 0) && (checked[mdev->port] == false)) {
585 if (mdev->unit != 0)
587 if (mdev->unit == 0) {
593 if (mdev->unit == 0) {
609 "file error 0x%X\n", mdev->port, mdev->unit,
677 mdev->port, mdev->unit);
685 mdev->unit);