Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/macintosh/
Dwindfarm_pm121.c507 static void pm121_create_sys_fans(int loop_id) in pm121_create_sys_fans() argument
516 if (pm121_sys_all_params[loop_id][i].model_id == pm121_mach_model) { in pm121_create_sys_fans()
517 param = &(pm121_sys_all_params[loop_id][i]); in pm121_create_sys_fans()
526 loop_names[loop_id]); in pm121_create_sys_fans()
533 pm121_sys_state[loop_id] = kmalloc(sizeof(struct pm121_sys_state), in pm121_create_sys_fans()
535 if (pm121_sys_state[loop_id] == NULL) { in pm121_create_sys_fans()
539 pm121_sys_state[loop_id]->ticks = 1; in pm121_create_sys_fans()
561 wf_pid_init(&pm121_sys_state[loop_id]->pid, &pid_param); in pm121_create_sys_fans()
565 loop_names[loop_id], FIX32TOPRINT(pid_param.itarget), in pm121_create_sys_fans()
574 loop_names[loop_id], control ? control->name : "uninitialized value"); in pm121_create_sys_fans()
[all …]
/Linux-v5.15/drivers/scsi/qla2xxx/
Dqla_init.c304 fcport->loop_id == FC_NO_LOOP_ID) { in qla2x00_async_login()
338 fcport->port_name, sp->handle, fcport->loop_id, fcport->d_id.b24); in qla2x00_async_login()
349 fcport->port_name, sp->handle, fcport->loop_id, in qla2x00_async_login()
400 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_logout()
462 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_prlo()
487 fcport->rscn_gen, ea->sp->gen1, fcport->loop_id); in qla24xx_handle_adisc_event()
592 sp->handle, fcport->loop_id, fcport->d_id.b24, fcport->port_name); in qla2x00_async_adisc()
608 static bool qla2x00_is_reserved_id(scsi_qla_host_t *vha, uint16_t loop_id) in qla2x00_is_reserved_id() argument
613 return loop_id > NPH_LAST_HANDLE; in qla2x00_is_reserved_id()
615 return (loop_id > ha->max_loop_id && loop_id < SNS_FIRST_LOOP_ID) || in qla2x00_is_reserved_id()
[all …]
Dtcm_qla2xxx.c1288 const uint16_t loop_id) in tcm_qla2xxx_find_sess_by_loop_id() argument
1302 pr_debug("find_sess_by_loop_id: Using loop_id: 0x%04x\n", loop_id); in tcm_qla2xxx_find_sess_by_loop_id()
1304 fc_loopid = lport->lport_loopid_map + loop_id; in tcm_qla2xxx_find_sess_by_loop_id()
1308 loop_id); in tcm_qla2xxx_find_sess_by_loop_id()
1331 uint16_t loop_id) in tcm_qla2xxx_set_sess_by_loop_id() argument
1336 pr_debug("set_sess_by_loop_id: Using loop_id: 0x%04x\n", loop_id); in tcm_qla2xxx_set_sess_by_loop_id()
1339 lport->lport_loopid_map)[loop_id]; in tcm_qla2xxx_set_sess_by_loop_id()
1397 sess, sess->loop_id); in tcm_qla2xxx_clear_sess_lookup()
1437 uint16_t loop_id = qlat_sess->loop_id; in tcm_qla2xxx_session_cb() local
1448 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.c406 SET_TARGET_ID(ha, cmd_pkt->target, sp->fcport->loop_id); in qla2x00_start_scsi()
509 uint16_t loop_id, uint64_t lun, uint8_t type) in __qla2x00_marker() argument
530 mrk24->nport_handle = cpu_to_le16(loop_id); in __qla2x00_marker()
536 SET_TARGET_ID(ha, mrk->target, loop_id); in __qla2x00_marker()
549 uint16_t loop_id, uint64_t lun, uint8_t type) in qla2x00_marker() argument
555 ret = __qla2x00_marker(vha, qpair, loop_id, lun, type); in qla2x00_marker()
1632 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_start_scsi()
1835 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_dif_start_scsi()
1995 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2xxx_start_scsi_mq()
2214 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2xxx_dif_start_scsi_mq()
[all …]
Dqla_target.c774 sess->local ? "local " : "", sess->port_name, sess->loop_id); in qlt_fc_port_added()
780 fcport->loop_id, in qlt_fc_port_added()
788 fcport->port_name, sess->loop_id); in qlt_fc_port_added()
841 uint16_t loop_id; in qlt_plogi_ack_unref() local
863 loop_id = le16_to_cpu(iocb->u.isp24.nport_handle); in qlt_plogi_ack_unref()
865 fcport->loop_id = loop_id; in qlt_plogi_ack_unref()
987 __func__, sess->se_sess, sess, sess->port_name, sess->loop_id, in qlt_free_session_done()
1021 if (sess->logout_on_delete && sess->loop_id != FC_NO_LOOP_ID) { in qlt_free_session_done()
1228 uint16_t loop_id; in qlt_reset() local
1233 loop_id = le16_to_cpu(n->u.isp24.nport_handle); in qlt_reset()
[all …]
Dqla_bsg.c358 fcport->loop_id = in qla2x00_process_els()
413 bsg_request->rqst_data.h_els.command_code, fcport->loop_id, in qla2x00_process_els()
464 uint16_t loop_id; in qla2x00_process_ct() local
504 loop_id = in qla2x00_process_ct()
507 switch (loop_id) { in qla2x00_process_ct()
509 loop_id = NPH_SNS; in qla2x00_process_ct()
512 loop_id = vha->mgmt_svr_loop_id; in qla2x00_process_ct()
516 "Unknown loop id: %x.\n", loop_id); in qla2x00_process_ct()
539 fcport->loop_id = loop_id; in qla2x00_process_ct()
561 fcport->loop_id, fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_process_ct()
[all …]
Dqla_edif.c340 __func__, fcport->port_name, fcport->loop_id, in qla_edif_reset_auth_wait()
345 __func__, fcport->port_name, fcport->loop_id, in qla_edif_reset_auth_wait()
406 if (fcport->loop_id != entry->handle) { in __qla2x00_release_all_sadb()
409 __func__, i, entry->handle, fcport->loop_id, in __qla2x00_release_all_sadb()
560 fcport->loop_id, fcport->d_id.b24, in qla_edif_app_start()
656 fcport->port_name, fcport->loop_id, fcport->d_id.b24, in qla_edif_app_stop()
872 __func__, fcport->port_name, fcport->loop_id, fcport->d_id.b24); in qla_edif_app_authfail()
1250 __func__, fcport->loop_id, sa_frame->spi); in qla24xx_check_sadb_avail_slot()
1271 __func__, sa_index, sa_frame->spi, dir, fcport->loop_id); in qla24xx_check_sadb_avail_slot()
1295 fcport->edif.rx_rekey_cnt, fcport->loop_id); in qla24xx_check_sadb_avail_slot()
[all …]
Dqla_mbx.c1544 mcp->mb[1] = fcport->loop_id; in qla2x00_abort_command()
1546 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_abort_command()
1582 mcp->mb[1] = fcport->loop_id; in qla2x00_abort_target()
1586 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_abort_target()
1601 rval2 = qla2x00_marker(vha, vha->hw->base_qpair, fcport->loop_id, 0, in qla2x00_abort_target()
1630 mcp->mb[1] = fcport->loop_id; in qla2x00_lun_reset()
1632 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_lun_reset()
1646 rval2 = qla2x00_marker(vha, vha->hw->base_qpair, fcport->loop_id, l, in qla2x00_lun_reset()
1983 mcp->mb[1] = fcport->loop_id; in qla2x00_get_port_database()
1988 mcp->mb[1] = fcport->loop_id; in qla2x00_get_port_database()
[all …]
Dqla_target.h778 uint16_t loop_id; member
911 uint16_t loop_id; /* to save extra sess dereferences */ member
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()
2824 ea->sp->gen2, fcport->rscn_gen|ea->sp->gen1, fcport->loop_id); in qla24xx_handle_gpsc_event()
2940 fcport->loop_id, fcport->d_id.b.domain, in qla24xx_async_gpsc()
3046 fcport->port_name, fcport->loop_id, in qla24xx_handle_gpnid_event()
3450 if (fcport->loop_id == FC_NO_LOOP_ID) in qla24xx_async_gnnft_done()
3574 if (fcport->loop_id != FC_NO_LOOP_ID) { in qla24xx_async_gnnft_done()
3596 fcport->port_name, fcport->loop_id, in qla24xx_async_gnnft_done()
[all …]
Dqla_def.h1443 uint16_t loop_id; member
2246 target_id_t loop_id; member
2287 target_id_t loop_id; member
2527 uint16_t loop_id; member
3310 __le16 loop_id; /* ISP23XX -- 6 bytes. */ member
3319 uint16_t loop_id; member
4872 uint16_t loop_id; /* Host adapter loop id */ member
Dqla_nvme.c491 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2x00_start_nvme_mq()
Dqla_attr.c2735 if (fcport->loop_id != FC_NO_LOOP_ID) { in qla2x00_terminate_rport_io()
2737 if (fcport->loop_id != FC_NO_LOOP_ID) in qla2x00_terminate_rport_io()
2804 rval = qla2x00_get_link_status(base_vha, base_vha->loop_id, in qla2x00_get_fc_host_stats()
Dqla_isr.c852 qla2x00_find_fcport_by_loopid(scsi_qla_host_t *vha, uint16_t loop_id) in qla2x00_find_fcport_by_loopid() argument
858 if (f->loop_id == loop_id) in qla2x00_find_fcport_by_loopid()
1531 fcport->loop_id, fcport->d_id.b24); in qla2x00_async_event()
Dqla_mid.c155 fcport->loop_id, fcport->vha->vp_idx); in qla2x00_mark_vp_devices_dead()
Dqla_gbl.h962 uint64_t wwn, port_id_t port_id, uint16_t loop_id, struct fc_port **);
Dqla_os.c3192 ha->mr.fcport.loop_id = FC_NO_LOOP_ID; in qla2x00_probe_one()
4021 if (fcport->loop_id != FC_NO_LOOP_ID && in qla2x00_mark_all_devices_lost()
5281 fcport->loop_id = in qla24xx_create_new_sess()
5543 fcport->loop_id; in qla2x00_relogin()
5546 fcport->loop_id); in qla2x00_relogin()
5556 fcport->loop_id); in qla2x00_relogin()