/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_iocb.c | 444 pkt->target_l = LSB(tq->loop_id); 445 pkt->target_h = MSB(tq->loop_id); 447 pkt->target_h = LSB(tq->loop_id); 665 ddi_put16(pha->hba_buf.acc_handle, &pkt->n_port_hdl, tq->loop_id); 794 ddi_put16(pha->hba_buf.acc_handle, &pkt->n_port_hdl, tq->loop_id); 904 * loop_id: device loop ID 915 ql_marker(ql_adapter_state_t *ha, uint16_t loop_id, uint16_t lun, argument 941 &pkt24->n_port_hdl, loop_id); 950 pkt->target_l = LSB(loop_id); 951 pkt->target_h = MSB(loop_id); [all...] |
H A D | ql_isr.c | 1128 * database entry at loop_id 0x7fe which we use to 1249 IP_BROADCAST_LOOP_ID) : tq->loop_id); 2336 tq->loop_id)].dl_len_mismatches++; 2342 tq->loop_id)].data_ro_mismatches++; 2348 tq->loop_id)].task_mgmt_failures++; 2407 tq->loop_id)].logouts_recvd++; 2740 tq->loop_id)].logouts_recvd++; 2828 tq->ub_loop_id = pkt->loop_id; 3272 uint16_t loop_id; local 3277 loop_id [all...] |
H A D | ql_init.c | 3012 * loop_id 0x7fe which allows us to acquire the Ports WWPN. 3017 tq->loop_id = 0x7fe; 3025 uint16_t loop_id = 0; local 3058 &d_id, &loop_id); 3059 ha->n_port->n_port_handle = loop_id; 3065 tq->loop_id = (uint16_t)index; 3073 tq->loop_id; 3078 tq->loop_id; 3124 ha->loop_id = mr.mb[1]; 3249 uint16_t index, loop_id; local [all...] |
H A D | ql_mbx.c | 915 mcp->mb[1] = tq->loop_id; 917 mcp->mb[1] = (uint16_t)(tq->loop_id << 8); 926 (void) ql_marker(ha, tq->loop_id, lun, MK_SYNC_ID); 973 tq->loop_id)) { 1016 mcp->mb[1] = tq->loop_id; 1018 mcp->mb[1] = (uint16_t)(tq->loop_id << 8); 1029 (void) ql_marker(ha, tq->loop_id, 0, MK_SYNC_ID); 1072 mcp->mb[1] = tq->loop_id; 1076 mcp->mb[1] = (uint16_t)(tq->loop_id << 8 | BIT_0); 1085 (void) ql_marker(ha, tq->loop_id, 1439 ql_login_lport(ql_adapter_state_t *ha, ql_tgt_t *tq, uint16_t loop_id, uint16_t opt) argument 1501 ql_login_fport(ql_adapter_state_t *ha, ql_tgt_t *tq, uint16_t loop_id, uint16_t opt, ql_mbx_data_t *mr) argument 1639 ql_log_iocb(ql_adapter_state_t *ha, ql_tgt_t *tq, uint16_t loop_id, uint16_t flags, ql_mbx_data_t *mr) argument 2107 ql_send_rnid_els(ql_adapter_state_t *ha, uint16_t loop_id, uint8_t opt, size_t size, caddr_t bufp) argument 2234 ql_get_link_status(ql_adapter_state_t *ha, uint16_t loop_id, size_t size, caddr_t bufp, uint8_t port_no) argument 2333 ql_get_status_counts(ql_adapter_state_t *ha, uint16_t loop_id, size_t size, caddr_t bufp, uint8_t port_no) argument 2579 ql_lip_reset(ql_adapter_state_t *ha, uint16_t loop_id) argument 4030 ql_iidma_rate(ql_adapter_state_t *ha, uint16_t loop_id, uint32_t *idma_rate, uint32_t option) argument [all...] |
H A D | ql_xioctl.c | 1041 if (!VALID_TARGET_ID(ha, tq->loop_id)) { 1114 if (!VALID_TARGET_ID(ha, tq->loop_id)) { 1223 if (!VALID_TARGET_ID(ha, tq->loop_id) || 1474 uint16_t comp_status, loop_id; local 1498 tq.loop_id = (uint16_t)(CFG_IST(ha, CFG_CTRL_24258081) ? 1501 rval = ql_login_fport(ha, &tq, tq.loop_id, LFF_NO_PRLI, &mr); 1644 loop_id = (uint16_t)(ct->gs_type == GS_TYPE_DIR_SERVER ? 1647 pkt->ms.loop_id_l = LSB(loop_id); 1648 pkt->ms.loop_id_h = MSB(loop_id); 1650 pkt->ms.loop_id_h = LSB(loop_id); [all...] |
H A D | ql_api.c | 257 /* Device loop_id to ALPA array. */ 4565 if (tq != NULL && VALID_DEVICE_ID(ha, tq->loop_id)) { 4591 tq->loop_id)) { 4623 } else if (ql_get_link_status(ha, ha->loop_id, 4809 if ((tq == NULL) || (!VALID_DEVICE_ID(ha, tq->loop_id))) { 4963 tq->loop_id = PORT_NO_LOOP_ID; 4969 if (tq != NULL && VALID_DEVICE_ID(ha, tq->loop_id) && 5108 tq->loop_id = id; 5114 ha->n_port->n_port_handle = tq->loop_id; 5116 tq->loop_id, t 5552 uint16_t index, loop_id; local 6382 uint16_t loop_id, first_loop_id, last_loop_id; local 6586 ql_login_fabric_port(ql_adapter_state_t *ha, ql_tgt_t *tq, uint16_t loop_id) argument 6785 ql_dev_init(ql_adapter_state_t *ha, port_id_t d_id, uint16_t loop_id) argument 9249 uint16_t index, loop_id; local 9462 uint16_t loop_id; local 10689 ql_loop_id_to_queue(ql_adapter_state_t *ha, uint16_t loop_id) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_apps.h | 259 uint16_t loop_id; member in struct:ql_device_info
|
H A D | ql_init.h | 906 uint8_t loop_id; member in struct:ql_dev_id
|
H A D | ql_iocb.h | 1163 uint8_t loop_id; /* Loop ID */ member in struct:ip_a64_entry 1226 uint8_t loop_id; /* Loop ID */ member in struct:ip_rcv_entry
|
H A D | ql_mbx.h | 608 uint16_t loop_id; member in struct:port_database_23
|
H A D | ql_api.h | 1254 uint16_t loop_id; member in struct:ql_target 1424 uint16_t loop_id; member in struct:ql_adapter_state
|
/illumos-gate/usr/src/uts/sun/io/ |
H A D | socal.c | 482 int loop_id; local 584 loop_id = ddi_getprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, 586 if (loop_id >= 0 && loop_id <= 126) { 588 porta->sp_hard_alpa = socal_switch_to_alpa[loop_id]; 591 loop_id = ddi_getprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, 593 if (loop_id >= 0 && loop_id <= 126) { 595 portb->sp_hard_alpa = socal_switch_to_alpa[loop_id]; 4982 socal_sftm_attach(dev_t dev, int loop_id) argument [all...] |