Home
last modified time | relevance | path

Searched refs:target_id (Results 1 – 19 of 19) sorted by relevance

/openbsd/usr.bin/ipcrm/
H A Dipcrm.c114 int c, result, errflg, target_id; in main() local
126 target_id = strtonum(optarg, 0, INT_MAX, &errstr); in main()
130 result = msgrm(0, target_id); in main()
132 result = shmrm(0, target_id); in main()
134 result = semrm(0, target_id); in main()
139 IPC_TO_STR(toupper(c)), target_id); in main()
/openbsd/sys/dev/ic/
H A Dadvlib.c1618 scsi_busy &= ~target_id; in AscIsrQDone()
1729 sc->sdtr_done &= ~target_id; in AscIsrChipHalted()
1755 scsi_busy &= ~target_id; in AscIsrChipHalted()
1766 sc->init_sdtr &= ~target_id; in AscIsrChipHalted()
1767 sc->sdtr_done &= ~target_id; in AscIsrChipHalted()
1781 scsi_busy |= target_id; in AscIsrChipHalted()
2139 sc->init_sdtr &= ~target_id; in AscHandleExtMsgIn()
2140 sc->sdtr_done &= ~target_id; in AscHandleExtMsgIn()
2145 sc->sdtr_done |= target_id; in AscHandleExtMsgIn()
2933 scsiq->q1.target_id = target_id; in AscResetDevice()
[all …]
H A Daic79xx_openbsd.c252 u_int target_id; in ahd_action() local
264 target_id = xs->sc_link->target; in ahd_action()
277 tinfo = ahd_fetch_transinfo(ahd, 'A', our_id, target_id, &tstate); in ahd_action()
300 hscb->scsiid = BUILD_SCSIID(ahd, xs->sc_link, target_id, our_id); in ahd_action()
561 int target_id, our_id; in ahd_adapter_req_set_xfer_mode() local
567 target_id = scb->xs->sc_link->target; in ahd_adapter_req_set_xfer_mode()
573 tinfo = ahd_fetch_transinfo(ahd, 'A', our_id, target_id, &tstate); in ahd_adapter_req_set_xfer_mode()
574 ahd_compile_devinfo(&devinfo, our_id, target_id, 0, 'A', in ahd_adapter_req_set_xfer_mode()
H A Daic79xx_openbsd.h104 #define BUILD_SCSIID(ahd, sc_link, target_id, our_id) \ argument
105 ((((target_id) << TID_SHIFT) & TID) | (our_id))
H A Daic7xxx_openbsd.h94 #define BUILD_SCSIID(ahc, sc_link, target_id, our_id) \ argument
95 ((((target_id) << TID_SHIFT) & TID) | (our_id) \
H A Dadwlib.h798 u_int8_t target_id; /* Device target identifier. */ member
1017 #define ADW_RESET_DEVICE(sc, target_id) \ argument
1018 AdwSendIdleCmd((sc), (u_int16_t) IDLE_CMD_DEVICE_RESET, (target_id), 0)
H A Daic7xxx_openbsd.c251 u_int target_id; in ahc_action() local
259 target_id = xs->sc_link->target; in ahc_action()
284 hscb->scsiid = BUILD_SCSIID(ahc, xs->sc_link, target_id, our_id); in ahc_action()
H A Dadw.c610 scsiqp->target_id = sc_link->target; in adw_build_req()
985 sc->sc_freeze_dev[scsiq->target_id] = 0; in adw_isr_callback()
1025 sc->sc_freeze_dev[scsiq->target_id] = 1; in adw_isr_callback()
H A Dmpireg.h801 u_int8_t target_id; member
846 u_int8_t target_id; member
892 u_int8_t target_id; member
917 u_int8_t target_id; member
H A Dsiopreg.h489 u_int8_t target_id; member
H A Dadwlib.c1691 if (scsiq->target_id > ADW_MAX_TID) { in AdwExeScsiQueue()
2054 target_bit = ADW_TID_TO_TIDMASK(scsiq->target_id); in AdwISR()
2200 tid = scsiq->target_id; in AdwInquiryHandling()
H A Daic7xxx.c4819 u_int target_id; in ahc_init() local
4824 target_id = i; in ahc_init()
4828 target_id = i % 8; in ahc_init()
4831 target_id, &tstate); in ahc_init()
6620 if (ccb->ccb_h.target_id == CAM_TARGET_WILDCARD in ahc_find_tmode_devs()
6628 if (ccb->ccb_h.target_id > max_id) in ahc_find_tmode_devs()
6634 *tstate = ahc->enabled_targets[ccb->ccb_h.target_id]; in ahc_find_tmode_devs()
6675 if (ccb->ccb_h.target_id != our_id) { in ahc_handle_en_lun()
6735 && ccb->ccb_h.target_id != CAM_TARGET_WILDCARD) { in ahc_handle_en_lun()
6772 target = ccb->ccb_h.target_id; in ahc_handle_en_lun()
[all …]
H A Dmpi.c788 io->target_id = target; in mpi_inq()
1338 io->target_id = link->target; in mpi_scsi_cmd()
1428 "function: 0x%02x\n", DEVNAME(sc), sie->target_id, sie->bus, in mpi_scsi_cmd_done()
2430 str->target_id = ch->target; in mpi_evt_sas_detach()
2451 if (scsi_req_detach(sc->sc_scsibus, r->target_id, -1, in mpi_evt_sas_detach_done()
2454 DEVNAME(sc), r->target_id); in mpi_evt_sas_detach_done()
H A Dadv.c534 ccb->scsiq.q1.target_id = ASC_TID_TO_TARGET_ID(sc_link->target); in adv_scsi_cmd()
H A Dadvlib.h443 u_int8_t target_id; member
H A Daic79xx.c9273 if (ccb->ccb_h.target_id == CAM_TARGET_WILDCARD in ahd_find_tmode_devs()
9281 if (ccb->ccb_h.target_id > max_id) in ahd_find_tmode_devs()
9287 *tstate = ahd->enabled_targets[ccb->ccb_h.target_id]; in ahd_find_tmode_devs()
9326 if (ccb->ccb_h.target_id != our_id) { in ahd_handle_en_lun()
9361 && ccb->ccb_h.target_id != CAM_TARGET_WILDCARD) { in ahd_handle_en_lun()
9380 target = ccb->ccb_h.target_id; in ahd_handle_en_lun()
9737 atio->ccb_h.target_id = target; in ahd_handle_target_cmd()
/openbsd/sys/dev/pci/
H A Dif_bnxtreg.h5481 uint16_t target_id; member
5783 uint16_t target_id; member
5890 uint16_t target_id; member
5981 uint16_t target_id; member
6064 uint16_t target_id; member
6148 uint16_t target_id; member
6262 uint16_t target_id; member
6521 uint16_t target_id; member
6827 uint16_t target_id; member
6926 uint16_t target_id; member
[all …]
H A Dif_bnxt.c2436 req->target_id = 0xffff; in bnxt_hwrm_cmd_hdr_init()
/openbsd/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_debug.c163 int target_id; in kfd_dbg_ev_raise() local
168 target_id = event_mask & KFD_EC_MASK(EC_QUEUE_NEW) ? in kfd_dbg_ev_raise()
172 if (pqn->q->device != dev || target_id != source_id) in kfd_dbg_ev_raise()