Lines Matching refs:unit
57 int unit;
207 mdev->port, mdev->unit);
211 static struct maple_device *maple_alloc_dev(int port, int unit)
223 mdev->unit = unit;
249 int port, unit, from, to, len;
253 unit = mq->dev->unit;
256 to = (port << 6) | (unit > 0 ? (1 << (unit - 1)) & 0x1f : 0x20);
366 mdev->product_name, function, mdev->port, mdev->unit);
384 mdev->unit, function);
394 " (%d, %d), with error 0x%X\n", mdev->unit,
404 * port and unit then return 1 - allows identification
414 if (mdev->port == ds->port && mdev->unit == ds->unit)
500 ds.unit = k + 1;
528 killbit = (mdev->unit > 0 ? (1 << (mdev->unit - 1)) & 0x1f : 0x20);
539 if (likely(mdev->unit != 0)) {
558 mdev->port, mdev->unit);
572 /* Some hardware devices generate false detach messages on unit 0 */
582 if ((mdev->unit == 0) && (checked[mdev->port] == false)) {
586 if (mdev->unit != 0)
588 if (mdev->unit == 0) {
594 if (mdev->unit == 0) {
610 "file error 0x%X\n", mdev->port, mdev->unit,
678 mdev->port, mdev->unit);
686 mdev->unit);