Lines Matching defs:DEVNAME
373 #define DEVNAME(s) (device_xname((s)->sc_dev))
637 DEVNAME(sc));
845 printf("%s: error %d loading dmamap\n", DEVNAME(sc), error);
906 printf("%s: error %d loading dmamap\n", DEVNAME(sc), error);
955 DNPRINTF(MPII_D_RW, "%s: mpii_read %#lx %#x\n", DEVNAME(sc), r, rv);
963 DNPRINTF(MPII_D_RW, "%s: mpii_write %#lx %#x\n", DEVNAME(sc), r, v);
977 DNPRINTF(MPII_D_RW, "%s: mpii_wait_eq %#lx %#x %#x\n", DEVNAME(sc), r,
995 DNPRINTF(MPII_D_RW, "%s: mpii_wait_ne %#lx %#x %#x\n", DEVNAME(sc), r,
1017 "reset state\n", DEVNAME(sc));
1025 DEVNAME(sc));
1033 DEVNAME(sc));
1038 DEVNAME(sc));
1047 "reset hard\n" , DEVNAME(sc));
1053 "out of reset\n", DEVNAME(sc));
1068 DNPRINTF(MPII_D_MISC, "%s: mpii_reset_soft\n", DEVNAME(sc));
1096 DNPRINTF(MPII_D_MISC, "%s: mpii_reset_hard\n", DEVNAME(sc));
1113 "diagnostic read/write\n", DEVNAME(sc));
1139 DNPRINTF(MPII_D_MISC, "%s: done with mpii_reset_hard\n", DEVNAME(sc));
1215 DEVNAME(sc), dwords, reply->msg_length);
1231 "0x%08x\n", DEVNAME(sc), dummy);
1261 DNPRINTF(MPII_D_MISC, "%s: mpii_iocfacts\n", DEVNAME(sc));
1270 DEVNAME(sc));
1276 DEVNAME(sc));
1320 printf("%s: RDPQ is too shallow\n", DEVNAME(sc));
1395 DNPRINTF(MPII_D_MISC, "%s: mpii_iocinit\n", DEVNAME(sc));
1443 DEVNAME(sc));
1449 DEVNAME(sc));
1454 "whoinit: 0x%02x\n", DEVNAME(sc), iip.function,
1456 DNPRINTF(MPII_D_MISC, "%s: msg_flags: 0x%02x\n", DEVNAME(sc),
1458 DNPRINTF(MPII_D_MISC, "%s: vf_id: 0x%02x vp_id: 0x%02x\n", DEVNAME(sc),
1460 DNPRINTF(MPII_D_MISC, "%s: ioc_status: 0x%04x\n", DEVNAME(sc),
1462 DNPRINTF(MPII_D_MISC, "%s: ioc_loginfo: 0x%08x\n", DEVNAME(sc),
1502 DNPRINTF(MPII_D_MISC, "%s: mpii_portfacts\n", DEVNAME(sc));
1507 DEVNAME(sc));
1525 DEVNAME(sc));
1531 DEVNAME(sc));
1586 DNPRINTF(MPII_D_EVT, "%s: event ack done\n", DEVNAME(sc));
1598 DNPRINTF(MPII_D_MISC, "%s: mpii_portenable\n", DEVNAME(sc));
1603 DEVNAME(sc));
1615 DEVNAME(sc));
1621 DEVNAME(sc));
1645 "page 1\n", DEVNAME(sc));
1657 DEVNAME(sc));
1686 DEVNAME(sc));
1692 snprintf(wkname, sizeof(wkname), "%ssas", DEVNAME(sc));
1703 snprintf(wkname, sizeof(wkname), "%sevt", DEVNAME(sc));
1751 DNPRINTF(MPII_D_EVT, "%s: mpii_eventnotify_done\n", DEVNAME(sc));
1794 "configured\n", DEVNAME(sc),
1874 DEVNAME(sc), le16toh(enp->event));
1882 DEVNAME(sc), i, pe->phy_status,
1891 DEVNAME(sc), handle);
1898 "configured\n", DEVNAME(sc), handle);
1916 DEVNAME(sc), dev->slot);
1963 DEVNAME(sc), le16toh(enp->event));
1970 DEVNAME(sc), i, pe->phy_status,
1990 DEVNAME(sc), dev->slot);
2016 DEVNAME(sc), esd->discovery_status);
2029 DNPRINTF(MPII_D_EVT, "%s: mpii_event_process: %#x\n", DEVNAME(sc),
2072 DEVNAME(sc), dev->slot - sc->sc_vd_id_low,
2080 DEVNAME(sc), dev->slot - sc->sc_vd_id_low);
2104 DEVNAME(sc), le16toh(enp->event));
2183 DEVNAME(sc));
2189 DEVNAME(sc));
2201 DEVNAME(sc));
2205 printf("%s: %s, firmware %u.%u.%u.%u%s, MPI %u.%u\n", DEVNAME(sc),
2229 DEVNAME(sc));
2265 "address: 0x%08x flags: 0x%x\n", DEVNAME(sc), type, number,
2271 DEVNAME(sc));
2297 DEVNAME(sc));
2310 "msg_length: %d function: 0x%02x\n", DEVNAME(sc), cp->action,
2313 "msg_flags: 0x%02x\n", DEVNAME(sc),
2316 DNPRINTF(MPII_D_MISC, "%s: vp_id: 0x%02x vf_id: 0x%02x\n", DEVNAME(sc),
2318 DNPRINTF(MPII_D_MISC, "%s: ioc_status: 0x%04x\n", DEVNAME(sc),
2320 DNPRINTF(MPII_D_MISC, "%s: ioc_loginfo: 0x%08x\n", DEVNAME(sc),
2323 "page_number: 0x%02x page_type: 0x%02x\n", DEVNAME(sc),
2361 "type: %x\n", DEVNAME(sc), address, read, hdr->page_type);
2372 DEVNAME(sc));
2412 DEVNAME(sc));
2425 "function: 0x%02x\n", DEVNAME(sc), cp->action, cp->msg_length,
2428 "msg_flags: 0x%02x\n", DEVNAME(sc),
2431 DNPRINTF(MPII_D_MISC, "%s: vp_id: 0x%02x vf_id: 0x%02x\n", DEVNAME(sc),
2433 DNPRINTF(MPII_D_MISC, "%s: ioc_status: 0x%04x\n", DEVNAME(sc),
2435 DNPRINTF(MPII_D_MISC, "%s: ioc_loginfo: 0x%08x\n", DEVNAME(sc),
2438 "page_number: 0x%02x page_type: 0x%02x\n", DEVNAME(sc),
2462 DNPRINTF(MPII_D_INTR, "%s: mpii_reply\n", DEVNAME(sc));
2530 DNPRINTF(MPII_D_MEM, "%s: mpii_dmamem_free %p\n", DEVNAME(sc), mdm);
2546 DEVNAME(sc), dev->slot);
2558 DEVNAME(sc), slot);
2618 snprintf(wqname, sizeof(wqname) - 1, "%sabrt", DEVNAME(sc));
2629 printf("%s: unable to allocate ccb dmamem\n", DEVNAME(sc));
2645 printf("%s: unable to create dma map\n", DEVNAME(sc));
2662 DEVNAME(sc), i, ccb, ccb->ccb_dmamap, ccb->ccb_sc,
2685 DNPRINTF(MPII_D_CCB, "%s: mpii_put_ccb %p\n", DEVNAME(sc), ccb);
2712 DNPRINTF(MPII_D_CCB, "%s: mpii_get_ccb %p\n", DEVNAME(sc), ccb);
2720 DNPRINTF(MPII_D_MISC, "%s: mpii_alloc_replies\n", DEVNAME(sc));
2767 DNPRINTF(MPII_D_RW, "%s: mpii_start %#lx\n", DEVNAME(sc),
2797 "0x%08lx\n", DEVNAME(sc), MPII_REQ_DESCR_POST_LOW, *rdp);
2802 "0x%04x\n", DEVNAME(sc), MPII_REQ_DESCR_POST_LOW, *rdp);
2805 "0x%04x\n", DEVNAME(sc), MPII_REQ_DESCR_POST_HIGH, *(rdp+1));
2828 DNPRINTF(MPII_D_INTR, "%s: mpii_poll\n", DEVNAME(sc));
2866 DNPRINTF(MPII_D_MISC, "%s: mpii_alloc_queues\n", DEVNAME(sc));
2897 DNPRINTF(MPII_D_MISC, "%s: mpii_init_queues\n", DEVNAME(sc));
2953 DNPRINTF(MPII_D_CMD, "%s: mpii_scsipi_request\n", DEVNAME(sc));
2978 DEVNAME(sc), xs->cmdlen);
3007 DEVNAME(sc), ccb->ccb_smid, xs->cmd->opcode, xs->xs_control);
3079 printf("%s: mpii_scsi_cmd_tmo\n", DEVNAME(sc));
3218 "flags 0x%x\n", DEVNAME(sc), xs->cmd->opcode, xs->datalen,
3221 "function: 0x%02x\n", DEVNAME(sc), le16toh(sie->dev_handle),
3223 DNPRINTF(MPII_D_CMD, "%s: vp_id: 0x%02x vf_id: 0x%02x\n", DEVNAME(sc),
3226 "ioc_status: 0x%04x\n", DEVNAME(sc), sie->scsi_status,
3228 DNPRINTF(MPII_D_CMD, "%s: ioc_loginfo: 0x%08x\n", DEVNAME(sc),
3230 DNPRINTF(MPII_D_CMD, "%s: transfer_count: %d\n", DEVNAME(sc),
3232 DNPRINTF(MPII_D_CMD, "%s: sense_count: %d\n", DEVNAME(sc),
3234 DNPRINTF(MPII_D_CMD, "%s: response_info: 0x%08x\n", DEVNAME(sc),
3236 DNPRINTF(MPII_D_CMD, "%s: task_tag: 0x%04x\n", DEVNAME(sc),
3239 DEVNAME(sc), le32toh(sie->bidirectional_transfer_count));
3310 DEVNAME(sc), xs->error, xs->status, xs->datalen, xs->resid);
3322 DNPRINTF(MPII_D_IOCTL, "%s: mpii_scsi_ioctl\n", DEVNAME(sc));
3439 DNPRINTF(MPII_D_IOCTL, "%s: mpii_ioctl ", DEVNAME(sc));
3467 DNPRINTF(MPII_D_IOCTL, "%s: mpii_ioctl_inq\n", DEVNAME(sc));
3469 strlcpy(bi->bi_dev, DEVNAME(sc), sizeof(bi->bi_dev));
3491 DEVNAME(sc), bv->bv_volid);
3505 DEVNAME(sc));
3513 "volume page 0\n", DEVNAME(sc));
3520 DEVNAME(sc));
3590 DEVNAME(sc), bd->bd_volid, bd->bd_diskid);
3603 DEVNAME(sc));
3611 "volume page 0\n", DEVNAME(sc));
3618 DEVNAME(sc));
3650 DNPRINTF(MPII_D_IOCTL, "%s: mpii_bio_hs %d\n", DEVNAME(sc),
3653 DNPRINTF(MPII_D_IOCTL, "%s: mpii_bio_hs\n", DEVNAME(sc));
3660 DEVNAME(sc));
3668 DEVNAME(sc));
3675 DEVNAME(sc));
3717 DNPRINTF(MPII_D_IOCTL, "%s: mpii_bio_disk %d\n", DEVNAME(sc),
3723 "page 0\n", DEVNAME(sc));
3735 DEVNAME(sc));
3837 "volume page 0\n", DEVNAME(sc));
3846 "page 0\n", DEVNAME(sc));
3885 DEVNAME(sc), sc->sc_max_volumes);
3899 DEVNAME(sc), i);
3907 sc->sc_sme->sme_name = DEVNAME(sc);