/kernel/linux/linux-5.10/drivers/macintosh/ |
D | windfarm_pm121.c | 507 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 …]
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
D | qla_init.c | 317 fcport->loop_id == FC_NO_LOOP_ID) { in qla2x00_async_login() 352 "retries=%d.\n", fcport->port_name, sp->handle, fcport->loop_id, in qla2x00_async_login() 404 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_logout() 466 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_prlo() 491 fcport->rscn_gen, ea->sp->gen1, fcport->loop_id); in qla24xx_handle_adisc_event() 604 sp->handle, fcport->loop_id, fcport->d_id.b24, fcport->port_name); in qla2x00_async_adisc() 620 static bool qla2x00_is_reserved_id(scsi_qla_host_t *vha, uint16_t loop_id) in qla2x00_is_reserved_id() argument 625 return loop_id > NPH_LAST_HANDLE; in qla2x00_is_reserved_id() 627 return (loop_id > ha->max_loop_id && loop_id < SNS_FIRST_LOOP_ID) || in qla2x00_is_reserved_id() 628 loop_id == MANAGEMENT_SERVER || loop_id == BROADCAST; in qla2x00_is_reserved_id() [all …]
|
D | tcm_qla2xxx.c | 1273 const uint16_t loop_id) in tcm_qla2xxx_find_sess_by_loop_id() argument 1287 pr_debug("find_sess_by_loop_id: Using loop_id: 0x%04x\n", loop_id); in tcm_qla2xxx_find_sess_by_loop_id() 1289 fc_loopid = lport->lport_loopid_map + loop_id; in tcm_qla2xxx_find_sess_by_loop_id() 1293 loop_id); in tcm_qla2xxx_find_sess_by_loop_id() 1316 uint16_t loop_id) in tcm_qla2xxx_set_sess_by_loop_id() argument 1321 pr_debug("set_sess_by_loop_id: Using loop_id: 0x%04x\n", loop_id); in tcm_qla2xxx_set_sess_by_loop_id() 1324 lport->lport_loopid_map)[loop_id]; in tcm_qla2xxx_set_sess_by_loop_id() 1382 sess, sess->loop_id); in tcm_qla2xxx_clear_sess_lookup() 1424 uint16_t loop_id = qlat_sess->loop_id; in tcm_qla2xxx_session_cb() local 1435 se_sess, qlat_sess, loop_id); in tcm_qla2xxx_session_cb() [all …]
|
D | qla_dfs.c | 101 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()
|
D | qla_iocb.c | 404 SET_TARGET_ID(ha, cmd_pkt->target, sp->fcport->loop_id); in qla2x00_start_scsi() 507 uint16_t loop_id, uint64_t lun, uint8_t type) in __qla2x00_marker() argument 528 mrk24->nport_handle = cpu_to_le16(loop_id); in __qla2x00_marker() 534 SET_TARGET_ID(ha, mrk->target, loop_id); in __qla2x00_marker() 547 uint16_t loop_id, uint64_t lun, uint8_t type) in qla2x00_marker() argument 553 ret = __qla2x00_marker(vha, qpair, loop_id, lun, type); in qla2x00_marker() 1674 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_start_scsi() 1866 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_dif_start_scsi() 2008 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2xxx_start_scsi_mq() 2215 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2xxx_dif_start_scsi_mq() [all …]
|
D | qla_target.c | 755 sess->local ? "local " : "", sess->port_name, sess->loop_id); in qlt_fc_port_added() 761 fcport->loop_id, in qlt_fc_port_added() 769 fcport->port_name, sess->loop_id); in qlt_fc_port_added() 822 uint16_t loop_id; in qlt_plogi_ack_unref() local 844 loop_id = le16_to_cpu(iocb->u.isp24.nport_handle); in qlt_plogi_ack_unref() 846 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() 980 if (sess->logout_on_delete && sess->loop_id != FC_NO_LOOP_ID) { in qlt_free_session_done() 1182 uint16_t loop_id; in qlt_reset() local 1187 loop_id = le16_to_cpu(n->u.isp24.nport_handle); in qlt_reset() [all …]
|
D | qla_bsg.c | 341 fcport->loop_id = in qla2x00_process_els() 396 bsg_request->rqst_data.h_els.command_code, fcport->loop_id, in qla2x00_process_els() 447 uint16_t loop_id; in qla2x00_process_ct() local 487 loop_id = in qla2x00_process_ct() 490 switch (loop_id) { in qla2x00_process_ct() 492 loop_id = NPH_SNS; in qla2x00_process_ct() 495 loop_id = vha->mgmt_svr_loop_id; in qla2x00_process_ct() 499 "Unknown loop id: %x.\n", loop_id); in qla2x00_process_ct() 522 fcport->loop_id = loop_id; in qla2x00_process_ct() 544 fcport->loop_id, fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_process_ct() [all …]
|
D | qla_mbx.c | 1510 mcp->mb[1] = fcport->loop_id; in qla2x00_abort_command() 1512 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_abort_command() 1548 mcp->mb[1] = fcport->loop_id; in qla2x00_abort_target() 1552 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_abort_target() 1567 rval2 = qla2x00_marker(vha, vha->hw->base_qpair, fcport->loop_id, 0, in qla2x00_abort_target() 1596 mcp->mb[1] = fcport->loop_id; in qla2x00_lun_reset() 1598 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_lun_reset() 1612 rval2 = qla2x00_marker(vha, vha->hw->base_qpair, fcport->loop_id, l, in qla2x00_lun_reset() 1947 mcp->mb[1] = fcport->loop_id; in qla2x00_get_port_database() 1952 mcp->mb[1] = fcport->loop_id; in qla2x00_get_port_database() [all …]
|
D | qla_target.h | 764 uint16_t loop_id; member 895 uint16_t loop_id; /* to save extra sess dereferences */ member
|
D | qla_gs.c | 41 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() 1410 SET_TARGET_ID(ha, ms_pkt->loop_id, vha->mgmt_svr_loop_id); in qla2x00_prep_ms_fdmi_iocb() 2820 ea->sp->gen2, fcport->rscn_gen|ea->sp->gen1, fcport->loop_id); in qla24xx_handle_gpsc_event() 2932 fcport->loop_id, fcport->d_id.b.domain, in qla24xx_async_gpsc() 3038 fcport->port_name, fcport->loop_id, in qla24xx_handle_gpnid_event() 3553 if (fcport->loop_id != FC_NO_LOOP_ID) { in qla24xx_async_gnnft_done() 3574 fcport->port_name, fcport->loop_id, in qla24xx_async_gnnft_done() 4195 sp->handle, fcport->loop_id, fcport->d_id.b24); in qla24xx_async_gnnid() [all …]
|
D | qla_def.h | 1392 uint16_t loop_id; member 2194 target_id_t loop_id; member 2235 target_id_t loop_id; member 2473 uint16_t loop_id; member 3224 __le16 loop_id; /* ISP23XX -- 6 bytes. */ member 3233 uint16_t loop_id; member 4731 uint16_t loop_id; /* Host adapter loop id */ member
|
D | qla_nvme.c | 485 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2x00_start_nvme_mq()
|
D | qla_isr.c | 713 qla2x00_find_fcport_by_loopid(scsi_qla_host_t *vha, uint16_t loop_id) in qla2x00_find_fcport_by_loopid() argument 719 if (f->loop_id == loop_id) in qla2x00_find_fcport_by_loopid() 1377 fcport->loop_id, fcport->d_id.b24); in qla2x00_async_event()
|
D | qla_gbl.h | 932 uint64_t wwn, port_id_t port_id, uint16_t loop_id, struct fc_port **);
|
D | qla_attr.c | 2719 if (fcport->loop_id != FC_NO_LOOP_ID) { in qla2x00_terminate_rport_io() 2722 fcport->loop_id, fcport->d_id.b.domain, in qla2x00_terminate_rport_io() 2783 rval = qla2x00_get_link_status(base_vha, base_vha->loop_id, in qla2x00_get_fc_host_stats()
|
D | qla_mid.c | 147 fcport->loop_id, fcport->vha->vp_idx); in qla2x00_mark_vp_devices_dead()
|
D | qla_os.c | 3117 ha->mr.fcport.loop_id = FC_NO_LOOP_ID; in qla2x00_probe_one() 3934 if (fcport->loop_id != FC_NO_LOOP_ID && in qla2x00_mark_all_devices_lost() 5142 fcport->loop_id = in qla24xx_create_new_sess() 5405 fcport->loop_id; in qla2x00_relogin() 5408 fcport->loop_id); in qla2x00_relogin() 5418 fcport->loop_id); in qla2x00_relogin()
|