Home
last modified time | relevance | path

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

123

/drivers/scsi/
Datp870u.c123 unsigned char i, j, c, target_id, lun,cmdp; in atp870u_intr_handle() local
168 target_id = atp_readb_io(dev, c, 0x15); in atp870u_intr_handle()
174 if ((target_id & 0x40) != 0) { in atp870u_intr_handle()
175 target_id = (target_id & 0x07) | 0x08; in atp870u_intr_handle()
177 target_id &= 0x07; in atp870u_intr_handle()
182 dev->last_cmd[c] = target_id; in atp870u_intr_handle()
187 dev->r1f[c][target_id] |= j; in atp870u_intr_handle()
203 if (dev->id[c][target_id].last_len != adrcnt) { in atp870u_intr_handle()
204 k = dev->id[c][target_id].last_len; in atp870u_intr_handle()
206 dev->id[c][target_id].tran_len = k; in atp870u_intr_handle()
[all …]
Dqlogicpti.h102 u8 target_id; member
106 u8 target_id; member
130 u8 target_id; member
134 u8 target_id; member
154 u8 target_id; member
158 u8 target_id; member
Ddc395x.c264 u8 target_id; /* SCSI Target ID (SCSI Only) */ member
868 cmd, dcb->target_id, dcb->target_lun); in build_srb()
1132 dcb->dev_mode = eeprom->target[dcb->target_id].cfg0; in reset_dev_param()
1133 period_index = eeprom->target[dcb->target_id].period & 0x07; in reset_dev_param()
1339 dcb->target_id, dcb->target_lun, srb); in start_scsi()
1386 DC395x_write8(acb, TRM_S1040_SCSI_TARGETID, dcb->target_id); in start_scsi()
1490 srb->cmd, dcb->target_id, dcb->target_lun); in start_scsi()
2469 srb->dcb->target_id, srb->dcb->target_lun); in msgin_reject()
2498 srb->cmd, srb->dcb->target_id, srb->dcb->target_lun); in msgin_qtag()
2529 DC395x_write8(acb, TRM_S1040_SCSI_TARGETID, dcb->target_id); in reprogram_regs()
[all …]
Dqla1280.h742 uint8_t target_id; member
768 uint8_t target_id; member
789 uint8_t target_id; member
812 uint8_t target_id; member
845 uint8_t target_id; member
875 uint8_t target_id; member
905 uint8_t target_id; member
Dadvansys.c251 uchar target_id; member
1737 uchar target_id; /* Device target identifier. */ member
1986 #define AdvResetDevice(asc_dvc, target_id) \ argument
1988 (ADV_DCNT) (target_id))
2572 q->target_id, q->target_lun, q->srb_tag); in asc_prt_adv_scsi_req_q()
6302 ASC_SCSI_BIT_ID_TYPE target_id; in AscIsrChipHalted() local
6329 target_id = (uchar)ASC_TID_TO_TARGET_ID(tid_no); in AscIsrChipHalted()
6330 if (asc_dvc->pci_fix_asyn_xfer & target_id) { in AscIsrChipHalted()
6336 if (asc_dvc->pci_fix_asyn_xfer & target_id) { in AscIsrChipHalted()
6343 if (asc_dvc->pci_fix_asyn_xfer & target_id) { in AscIsrChipHalted()
[all …]
Dips.c1852 scb->target_id = scb->scsi_cmd->device->id; in ips_flash_firmware()
1921 scb->target_id = scb->scsi_cmd->device->id; in ips_usrcmd()
2650 scb->target_id = SC->device->id; in ips_next()
2718 ~(1 << scb->target_id); in ips_next()
2728 ~(1 << scb->target_id); in ips_next()
3229 ha->dcdb_active[scb->bus - 1] &= ~(1 << scb->target_id); in ips_done()
3494 if (scb->target_id == IPS_ADAPTER_ID) { in ips_send_cmd()
3575 scb->cmd.basic_io.log_drv = scb->target_id; in ips_send_cmd()
3621 scb->cmd.basic_io.log_drv = scb->target_id; in ips_send_cmd()
3717 if (ha->conf->dev[scb->bus - 1][scb->target_id].ucState == 0) { in ips_send_cmd()
[all …]
Dscsi_transport_iscsi.c1246 fnode_sess->target_id = index; in iscsi_create_flashnode_sess()
1299 shost->host_no, fnode_sess->target_id); in iscsi_create_flashnode_conn()
1347 ret = (fnode_sess->target_id == *((int *)data)) ? 1 : 0; in flashnode_match_index()
1789 id = session->target_id; in iscsi_user_scan_session()
1975 unsigned int target_id; in __iscsi_unbind_session() local
1994 target_id = session->target_id; in __iscsi_unbind_session()
1995 session->target_id = ISCSI_MAX_TARGET; in __iscsi_unbind_session()
2003 ida_free(&iscsi_sess_ida, target_id); in __iscsi_unbind_session()
2059 int iscsi_add_session(struct iscsi_cls_session *session, unsigned int target_id) in iscsi_add_session() argument
2074 if (target_id == ISCSI_MAX_TARGET) { in iscsi_add_session()
[all …]
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h22 __le16 target_id; member
76 __le16 target_id; member
94 __le16 target_id; member
582 __le16 target_id; member
1410 __le16 target_id; member
1439 __le16 target_id; member
1463 __le16 target_id; member
1487 __le16 target_id; member
1510 __le16 target_id; member
1569 __le16 target_id; member
[all …]
/drivers/scsi/aic7xxx/
Daic7xxx_proc.c49 u_int target_id, u_int target_offset);
135 u_int our_id, char channel, u_int target_id, in ahc_dump_target_state() argument
144 target_id, &tstate); in ahc_dump_target_state()
147 seq_printf(m, "Target %d Negotiation Settings\n", target_id); in ahc_dump_target_state()
327 u_int target_id; in ahc_linux_show_info() local
332 target_id = i; in ahc_linux_show_info()
336 target_id = i % 8; in ahc_linux_show_info()
340 channel, target_id, i); in ahc_linux_show_info()
Daic79xx_proc.c48 u_int target_id);
158 u_int our_id, char channel, u_int target_id) in ahd_dump_target_state() argument
166 target_id, &tstate); in ahd_dump_target_state()
167 seq_printf(m, "Target %d Negotiation Settings\n", target_id); in ahd_dump_target_state()
170 starget = ahd->platform_data->starget[target_id]; in ahd_dump_target_state()
/drivers/scsi/esas2r/
Desas2r_main.c856 rq->target_id = cmd->device->id; in esas2r_queuecommand()
943 ar->target_id = rq->target_id; in esas2r_check_active_queue()
1138 rq->target_id = cmd->device->id; in esas2r_dev_targ_reset()
1230 rq->target_id); in esas2r_log_request_failure()
1355 d->target_id = le16_to_cpu(d->target_id); in esas2r_nuxi_mgt_data()
1402 p->target_id = le16_to_cpu(p->target_id); in esas2r_nuxi_mgt_data()
1524 esas2r_debug("[%x STATUS %x:%x (%x)]", rq->target_id, in esas2r_complete_request_cb()
1634 static void esas2r_add_device(struct esas2r_adapter *a, u16 target_id) in esas2r_add_device() argument
1639 scsi_dev = scsi_device_lookup(a->host, 0, target_id, 0); in esas2r_add_device()
1646 "scsi device already exists at id %d", target_id); in esas2r_add_device()
[all …]
Desas2r_ioctl.c333 rq->target_id = le16_to_cpu(rq->func_rsp.ioctl_rsp.csmi.target_id); in esas2r_csmi_ioctl_tunnel_comp_cb()
346 u16 target_id) in csmi_ioctl_tunnel() argument
356 ioctl->csmi.target_id = cpu_to_le16(target_id); in csmi_ioctl_tunnel()
408 tid = gda->target_id; in csmi_ioctl_callback()
414 tid = tm->target_id; in csmi_ioctl_callback()
424 rq->target_id = tid; in csmi_ioctl_callback()
548 rq->target_id = esas2r_targ_get_id(t, a); in csmi_ioctl_callback()
557 t = a->targetdb + rq->target_id; in csmi_ioctl_callback()
576 t = a->targetdb + rq->target_id; in csmi_ioctl_callback()
634 gsa->target_id = rq->target_id; in csmi_ioctl_done_callback()
[all …]
Desas2r_io.c59 t = a->targetdb + rq->target_id; in esas2r_start_request()
66 rq->vrq->scsi.target_id = cpu_to_le16(t->virt_targ_id); in esas2r_start_request()
88 esas2r_trace("rq->target_id=%d", rq->target_id); in esas2r_start_request()
529 struct esas2r_target *t = a->targetdb + rq->target_id; in esas2r_build_sg_list_prd()
767 u16 targetid = rqaux->target_id; in esas2r_send_task_mgmt()
786 && rq->target_id == targetid in esas2r_send_task_mgmt()
805 rqaux->target_id = targetid; in esas2r_send_task_mgmt()
819 && rq->target_id == targetid in esas2r_send_task_mgmt()
Datioctl.h504 u8 target_id; member
511 u8 target_id; member
520 u8 target_id; member
867 u32 target_id; member
888 u32 target_id; member
979 u32 target_id; member
1035 u16 target_id; member
1199 u16 target_id; member
Datvda.h251 u16 target_id; member
302 u16 target_id; member
470 u16 target_id; member
1063 u16 target_id; member
1167 u16 target_id; member
1254 u16 target_id; member
Desas2r_targdb.c260 u16 esas2r_targ_db_find_next_present(struct esas2r_adapter *a, u16 target_id) in esas2r_targ_db_find_next_present() argument
262 u16 id = target_id + 1; in esas2r_targ_db_find_next_present()
Desas2r_disc.c760 dc->curr_virt_id = le16_to_cpu(partinfo->target_id); in esas2r_disc_part_info_cb()
846 dc->curr_virt_id = le16_to_cpu(devinfo->target_id); in esas2r_disc_passthru_dev_info_cb()
927 hi->data.get_dev_addr.target_id = le32_to_cpu(dc->curr_phys_id); in esas2r_disc_passthru_dev_addr()
1173 t = a->targetdb + rq->target_id; in esas2r_disc_fix_curr_requests()
1176 rq->vrq->scsi.target_id = le16_to_cpu( in esas2r_disc_fix_curr_requests()
/drivers/platform/surface/
Dsurface_aggregator_cdev.c102 event.target_id = in->target_id; in ssam_cdev_notifier()
113 in->target_category, in->target_id, in->command_id, in->instance_id); in ssam_cdev_notifier()
275 spec.target_id = rqst.target_id; in ssam_cdev_request()
417 reg.target_id = desc.reg.target_id; in ssam_cdev_event_enable()
445 reg.target_id = desc.reg.target_id; in ssam_cdev_event_disable()
Dsurface_dtx.c74 .target_id = SSAM_SSH_TID_SAM,
81 .target_id = SSAM_SSH_TID_SAM,
88 .target_id = SSAM_SSH_TID_SAM,
95 .target_id = SSAM_SSH_TID_SAM,
102 .target_id = SSAM_SSH_TID_SAM,
109 .target_id = SSAM_SSH_TID_SAM,
116 .target_id = SSAM_SSH_TID_SAM,
123 .target_id = SSAM_SSH_TID_SAM,
130 .target_id = SSAM_SSH_TID_SAM,
Dsurface_aggregator_hub.c217 .target_id = SSAM_SSH_TID_SAM,
295 .target_id = SSAM_SSH_TID_SAM,
Dsurface_aggregator_tabletsw.c266 .target_id = SSAM_SSH_TID_SAM,
483 rqst.target_id = SSAM_SSH_TID_SAM; in ssam_pos_get_sources_list()
542 .target_id = SSAM_SSH_TID_SAM,
/drivers/hid/surface-hid/
Dsurface_kbd.c41 rqst.target_id = shid->uid.target; in ssam_kbd_get_descriptor()
71 rqst.target_id = shid->uid.target; in ssam_kbd_set_caps_led()
89 rqst.target_id = shid->uid.target; in ssam_kbd_get_feature_report()
136 if (shid->uid.target != event->target_id) in ssam_kbd_event_fn()
Dsurface_hid.c60 rqst.target_id = shid->uid.target; in ssam_hid_get_descriptor()
125 rqst.target_id = shid->uid.target; in ssam_hid_set_raw_report()
143 rqst.target_id = shid->uid.target; in ssam_hid_get_raw_report()
/drivers/net/ethernet/marvell/
Dmvneta_bm.c80 u8 target_id, u8 attr) in mvneta_bm_pool_target_set() argument
87 val |= MVNETA_BM_TARGET_ID_VAL(pool_id, target_id); in mvneta_bm_pool_target_set()
120 u8 target_id, attr; in mvneta_bm_pool_create() local
137 err = mvebu_mbus_get_dram_win_info(bm_pool->phys_addr, &target_id, in mvneta_bm_pool_create()
149 mvneta_bm_pool_target_set(priv, bm_pool->id, target_id, attr); in mvneta_bm_pool_create()
/drivers/platform/surface/aggregator/
Dcontroller.c124 match &= n->event.reg.target_id == event->target_id; in ssam_event_matches_notifier()
482 status, event->target_category, event->target_id, in ssam_nf_call()
487 rqid, event->target_category, event->target_id, in ssam_nf_call()
745 evq = ssam_cplt_get_event_queue(cplt, item->event.target_id, item->rqid); in ssam_cplt_submit_event()
997 item->event.target_id = cmd->sid; in ssam_handle_event()
1783 .target_id = SSAM_SSH_TID_SAM,
1790 .target_id = SSAM_SSH_TID_SAM,
1797 .target_id = SSAM_SSH_TID_SAM,
1804 .target_id = SSAM_SSH_TID_SAM,
1811 .target_id = SSAM_SSH_TID_SAM,
[all …]

123