Home
last modified time | relevance | path

Searched refs:loop_id (Results 1 – 18 of 18) sorted by relevance

/drivers/macintosh/
Dwindfarm_pm121.c508 static void pm121_create_sys_fans(int loop_id) in pm121_create_sys_fans() argument
517 if (pm121_sys_all_params[loop_id][i].model_id == pm121_mach_model) { in pm121_create_sys_fans()
518 param = &(pm121_sys_all_params[loop_id][i]); in pm121_create_sys_fans()
527 loop_names[loop_id]); in pm121_create_sys_fans()
534 pm121_sys_state[loop_id] = kmalloc(sizeof(struct pm121_sys_state), in pm121_create_sys_fans()
536 if (pm121_sys_state[loop_id] == NULL) { in pm121_create_sys_fans()
540 pm121_sys_state[loop_id]->ticks = 1; in pm121_create_sys_fans()
562 wf_pid_init(&pm121_sys_state[loop_id]->pid, &pid_param); in pm121_create_sys_fans()
566 loop_names[loop_id], FIX32TOPRINT(pid_param.itarget), in pm121_create_sys_fans()
575 loop_names[loop_id], control ? control->name : "uninitialized value"); in pm121_create_sys_fans()
[all …]
/drivers/scsi/qla2xxx/
Dqla_init.c332 fcport->loop_id == FC_NO_LOOP_ID) { in qla2x00_async_login()
375 fcport->port_name, sp->handle, fcport->loop_id, in qla2x00_async_login()
430 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_logout()
490 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_prlo()
517 fcport->rscn_gen, ea->sp->gen1, fcport->loop_id); in qla24xx_handle_adisc_event()
638 sp->handle, fcport->loop_id, fcport->d_id.b24, fcport->port_name); in qla2x00_async_adisc()
655 static bool qla2x00_is_reserved_id(scsi_qla_host_t *vha, uint16_t loop_id) in qla2x00_is_reserved_id() argument
660 return loop_id > NPH_LAST_HANDLE; in qla2x00_is_reserved_id()
662 return (loop_id > ha->max_loop_id && loop_id < SNS_FIRST_LOOP_ID) || in qla2x00_is_reserved_id()
663 loop_id == MANAGEMENT_SERVER || loop_id == BROADCAST; in qla2x00_is_reserved_id()
[all …]
Dtcm_qla2xxx.c1228 const uint16_t loop_id) in tcm_qla2xxx_find_sess_by_loop_id() argument
1242 pr_debug("find_sess_by_loop_id: Using loop_id: 0x%04x\n", loop_id); in tcm_qla2xxx_find_sess_by_loop_id()
1244 fc_loopid = lport->lport_loopid_map + loop_id; in tcm_qla2xxx_find_sess_by_loop_id()
1248 loop_id); in tcm_qla2xxx_find_sess_by_loop_id()
1271 uint16_t loop_id) in tcm_qla2xxx_set_sess_by_loop_id() argument
1276 pr_debug("set_sess_by_loop_id: Using loop_id: 0x%04x\n", loop_id); in tcm_qla2xxx_set_sess_by_loop_id()
1279 lport->lport_loopid_map)[loop_id]; in tcm_qla2xxx_set_sess_by_loop_id()
1337 sess, sess->loop_id); in tcm_qla2xxx_clear_sess_lookup()
1377 uint16_t loop_id = qlat_sess->loop_id; in tcm_qla2xxx_session_cb() local
1388 se_sess, qlat_sess, loop_id); in tcm_qla2xxx_session_cb()
[all …]
Dqla_dfs.c101 DEFINE_QLA_DFS_RPORT_FIELD(loop_id);
134 QLA_CREATE_RPORT_FIELD_ATTR(loop_id); in qla2x00_dfs_create_rport()
166 sess->loop_id); in qla2x00_dfs_tgt_sess_show()
185 uint16_t entries, loop_id; in qla2x00_dfs_tgt_port_database_show() local
210 loop_id = le16_to_cpu(gid->loop_id); in qla2x00_dfs_tgt_port_database_show()
213 fc_port.loop_id = loop_id; in qla2x00_dfs_tgt_port_database_show()
219 fc_port.loop_id); in qla2x00_dfs_tgt_port_database_show()
Dqla_iocb.c407 SET_TARGET_ID(ha, cmd_pkt->target, sp->fcport->loop_id); in qla2x00_start_scsi()
510 uint16_t loop_id, uint64_t lun, uint8_t type) in __qla2x00_marker() argument
532 mrk24->nport_handle = cpu_to_le16(loop_id); in __qla2x00_marker()
537 SET_TARGET_ID(ha, mrk->target, loop_id); in __qla2x00_marker()
554 uint16_t loop_id, uint64_t lun, uint8_t type) in qla2x00_marker() argument
560 ret = __qla2x00_marker(vha, qpair, loop_id, lun, type); in qla2x00_marker()
1633 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_start_scsi()
1839 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_dif_start_scsi()
2000 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2xxx_start_scsi_mq()
2222 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2xxx_dif_start_scsi_mq()
[all …]
Dqla_target.c749 sess->local ? "local " : "", sess->port_name, sess->loop_id); in qlt_fc_port_added()
755 fcport->loop_id, in qlt_fc_port_added()
763 fcport->port_name, sess->loop_id); in qlt_fc_port_added()
816 uint16_t loop_id; in qlt_plogi_ack_unref() local
838 loop_id = le16_to_cpu(iocb->u.isp24.nport_handle); in qlt_plogi_ack_unref()
840 fcport->loop_id = loop_id; in qlt_plogi_ack_unref()
962 __func__, sess->se_sess, sess, sess->port_name, sess->loop_id, in qlt_free_session_done()
981 if (sess->logout_on_delete && sess->loop_id != FC_NO_LOOP_ID) { in qlt_free_session_done()
1216 uint16_t loop_id; in qlt_reset() local
1221 loop_id = le16_to_cpu(n->u.isp24.nport_handle); in qlt_reset()
[all …]
Dqla_bsg.c364 fcport->loop_id = in qla2x00_process_els()
419 bsg_request->rqst_data.h_els.command_code, fcport->loop_id, in qla2x00_process_els()
470 uint16_t loop_id; in qla2x00_process_ct() local
510 loop_id = in qla2x00_process_ct()
513 switch (loop_id) { in qla2x00_process_ct()
515 loop_id = NPH_SNS; in qla2x00_process_ct()
518 loop_id = vha->mgmt_svr_loop_id; in qla2x00_process_ct()
522 "Unknown loop id: %x.\n", loop_id); in qla2x00_process_ct()
545 fcport->loop_id = loop_id; in qla2x00_process_ct()
567 fcport->loop_id, fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_process_ct()
[all …]
Dqla_mbx.c1557 mcp->mb[1] = fcport->loop_id; in qla2x00_abort_command()
1559 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_abort_command()
1595 mcp->mb[1] = fcport->loop_id; in qla2x00_abort_target()
1599 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_abort_target()
1614 rval2 = qla2x00_marker(vha, vha->hw->base_qpair, fcport->loop_id, 0, in qla2x00_abort_target()
1643 mcp->mb[1] = fcport->loop_id; in qla2x00_lun_reset()
1645 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_lun_reset()
1659 rval2 = qla2x00_marker(vha, vha->hw->base_qpair, fcport->loop_id, l, in qla2x00_lun_reset()
1994 mcp->mb[1] = fcport->loop_id; in qla2x00_get_port_database()
1999 mcp->mb[1] = fcport->loop_id; in qla2x00_get_port_database()
[all …]
Dqla_edif.c373 if (fcport->loop_id != entry->handle) { in __qla2x00_release_all_sadb()
376 __func__, i, entry->handle, fcport->loop_id, in __qla2x00_release_all_sadb()
596 fcport->port_name, fcport->loop_id, in qla_edif_app_start()
698 fcport->port_name, fcport->loop_id, fcport->d_id.b24, in qla_edif_app_stop()
921 __func__, fcport->port_name, fcport->loop_id, fcport->d_id.b24); in qla_edif_app_authfail()
1487 __func__, fcport->loop_id, sa_frame->spi); in qla24xx_check_sadb_avail_slot()
1508 __func__, sa_index, sa_frame->spi, dir, fcport->loop_id); in qla24xx_check_sadb_avail_slot()
1532 fcport->edif.rx_rekey_cnt, fcport->loop_id); in qla24xx_check_sadb_avail_slot()
1603 if (fcport->loop_id == FC_NO_LOOP_ID) { in qla24xx_sadb_update()
1642 uint16_t nport_handle = fcport->loop_id; in qla24xx_sadb_update()
[all …]
Dqla_target.h778 uint16_t loop_id; member
907 uint16_t loop_id; /* to save extra sess dereferences */ member
Dqla_def.h580 uint16_t loop_id; member
1508 uint16_t loop_id; member
2316 target_id_t loop_id; member
2357 target_id_t loop_id; member
2596 uint16_t loop_id; member
3398 __le16 loop_id; /* ISP23XX -- 6 bytes. */ member
3407 uint16_t loop_id; member
5000 uint16_t loop_id; /* Host adapter loop id */ member
5567 _fp->disc_state, _fp->scan_state, _fp->loop_id, _fp->deleted, \
Dqla_gs.c41 SET_TARGET_ID(ha, ms_pkt->loop_id, SIMPLE_NAME_SERVER); in qla2x00_prep_ms_iocb()
160 if (le16_to_cpu(ms_pkt->loop_id.extended) == in qla2x00_chk_ms_status()
164 if (le16_to_cpu(ms_pkt->loop_id.extended) == in qla2x00_chk_ms_status()
1411 SET_TARGET_ID(ha, ms_pkt->loop_id, vha->mgmt_svr_loop_id); in qla2x00_prep_ms_fdmi_iocb()
2822 ea->sp->gen2, fcport->rscn_gen|ea->sp->gen1, fcport->loop_id); in qla24xx_handle_gpsc_event()
2937 fcport->loop_id, fcport->d_id.b.domain, in qla24xx_async_gpsc()
3232 if (fcport->loop_id == FC_NO_LOOP_ID) in qla_fab_scan_finish()
3358 if (fcport->loop_id != FC_NO_LOOP_ID) { in qla_fab_scan_finish()
3380 fcport->port_name, fcport->loop_id, in qla_fab_scan_finish()
3948 sp->handle, fcport->loop_id, fcport->d_id.b24); in qla24xx_async_gfpnid()
Dqla_attr.c2787 if (fcport->loop_id != FC_NO_LOOP_ID) { in qla2x00_terminate_rport_io()
2790 if (fcport->loop_id != FC_NO_LOOP_ID) in qla2x00_terminate_rport_io()
2871 rval = qla2x00_get_link_status(base_vha, base_vha->loop_id, in qla2x00_get_fc_host_stats()
Dqla_isr.c997 qla2x00_find_fcport_by_loopid(scsi_qla_host_t *vha, uint16_t loop_id) in qla2x00_find_fcport_by_loopid() argument
1003 if (f->loop_id == loop_id) in qla2x00_find_fcport_by_loopid()
1678 fcport->loop_id, fcport->d_id.b24); in qla2x00_async_event()
Dqla_gbl.h955 uint64_t wwn, port_id_t port_id, uint16_t loop_id, struct fc_port **);
Dqla_os.c3275 ha->mr.fcport.loop_id = FC_NO_LOOP_ID; in qla2x00_probe_one()
4113 fcport->loop_id != FC_NO_LOOP_ID && in qla2x00_mark_all_devices_lost()
5399 fcport->loop_id = in qla24xx_create_new_sess()
5656 fcport->loop_id; in qla2x00_relogin()
5659 fcport->loop_id); in qla2x00_relogin()
5669 fcport->loop_id); in qla2x00_relogin()
Dqla_mid.c155 fcport->loop_id, fcport->vha->vp_idx); in qla2x00_mark_vp_devices_dead()
Dqla_nvme.c677 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2x00_start_nvme_mq()