/linux-5.19.10/drivers/macintosh/ |
D | windfarm_pm121.c | 508 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 …]
|
/linux-5.19.10/drivers/scsi/qla2xxx/ |
D | qla_init.c | 325 fcport->loop_id == FC_NO_LOOP_ID) { in qla2x00_async_login() 368 fcport->port_name, sp->handle, fcport->loop_id, in qla2x00_async_login() 417 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_logout() 477 sp->handle, fcport->loop_id, fcport->d_id.b.domain, in qla2x00_async_prlo() 503 fcport->rscn_gen, ea->sp->gen1, fcport->loop_id); in qla24xx_handle_adisc_event() 618 sp->handle, fcport->loop_id, fcport->d_id.b24, fcport->port_name); in qla2x00_async_adisc() 635 static bool qla2x00_is_reserved_id(scsi_qla_host_t *vha, uint16_t loop_id) in qla2x00_is_reserved_id() argument 640 return loop_id > NPH_LAST_HANDLE; in qla2x00_is_reserved_id() 642 return (loop_id > ha->max_loop_id && loop_id < SNS_FIRST_LOOP_ID) || in qla2x00_is_reserved_id() 643 loop_id == MANAGEMENT_SERVER || loop_id == BROADCAST; in qla2x00_is_reserved_id() [all …]
|
D | tcm_qla2xxx.c | 1238 const uint16_t loop_id) in tcm_qla2xxx_find_sess_by_loop_id() argument 1252 pr_debug("find_sess_by_loop_id: Using loop_id: 0x%04x\n", loop_id); in tcm_qla2xxx_find_sess_by_loop_id() 1254 fc_loopid = lport->lport_loopid_map + loop_id; in tcm_qla2xxx_find_sess_by_loop_id() 1258 loop_id); in tcm_qla2xxx_find_sess_by_loop_id() 1281 uint16_t loop_id) in tcm_qla2xxx_set_sess_by_loop_id() argument 1286 pr_debug("set_sess_by_loop_id: Using loop_id: 0x%04x\n", loop_id); in tcm_qla2xxx_set_sess_by_loop_id() 1289 lport->lport_loopid_map)[loop_id]; in tcm_qla2xxx_set_sess_by_loop_id() 1347 sess, sess->loop_id); in tcm_qla2xxx_clear_sess_lookup() 1387 uint16_t loop_id = qlat_sess->loop_id; in tcm_qla2xxx_session_cb() local 1398 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 | 406 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 …]
|
D | qla_target.c | 765 sess->local ? "local " : "", sess->port_name, sess->loop_id); in qlt_fc_port_added() 771 fcport->loop_id, in qlt_fc_port_added() 779 fcport->port_name, sess->loop_id); in qlt_fc_port_added() 832 uint16_t loop_id; in qlt_plogi_ack_unref() local 854 loop_id = le16_to_cpu(iocb->u.isp24.nport_handle); in qlt_plogi_ack_unref() 856 fcport->loop_id = loop_id; in qlt_plogi_ack_unref() 978 __func__, sess->se_sess, sess, sess->port_name, sess->loop_id, in qlt_free_session_done() 997 if (sess->logout_on_delete && sess->loop_id != FC_NO_LOOP_ID) { in qlt_free_session_done() 1223 uint16_t loop_id; in qlt_reset() local 1228 loop_id = le16_to_cpu(n->u.isp24.nport_handle); in qlt_reset() [all …]
|
D | qla_bsg.c | 359 fcport->loop_id = in qla2x00_process_els() 414 bsg_request->rqst_data.h_els.command_code, fcport->loop_id, in qla2x00_process_els() 465 uint16_t loop_id; in qla2x00_process_ct() local 505 loop_id = in qla2x00_process_ct() 508 switch (loop_id) { in qla2x00_process_ct() 510 loop_id = NPH_SNS; in qla2x00_process_ct() 513 loop_id = vha->mgmt_svr_loop_id; in qla2x00_process_ct() 517 "Unknown loop id: %x.\n", loop_id); in qla2x00_process_ct() 540 fcport->loop_id = loop_id; in qla2x00_process_ct() 562 fcport->loop_id, fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_process_ct() [all …]
|
D | qla_mbx.c | 1561 mcp->mb[1] = fcport->loop_id; in qla2x00_abort_command() 1563 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_abort_command() 1599 mcp->mb[1] = fcport->loop_id; in qla2x00_abort_target() 1603 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_abort_target() 1618 rval2 = qla2x00_marker(vha, vha->hw->base_qpair, fcport->loop_id, 0, in qla2x00_abort_target() 1647 mcp->mb[1] = fcport->loop_id; in qla2x00_lun_reset() 1649 mcp->mb[1] = fcport->loop_id << 8; in qla2x00_lun_reset() 1663 rval2 = qla2x00_marker(vha, vha->hw->base_qpair, fcport->loop_id, l, in qla2x00_lun_reset() 1998 mcp->mb[1] = fcport->loop_id; in qla2x00_get_port_database() 2003 mcp->mb[1] = fcport->loop_id; in qla2x00_get_port_database() [all …]
|
D | qla_edif.c | 373 if (fcport->loop_id != entry->handle) { in __qla2x00_release_all_sadb() 376 __func__, i, entry->handle, fcport->loop_id, in __qla2x00_release_all_sadb() 554 fcport->port_name, fcport->loop_id, in qla_edif_app_start() 656 fcport->port_name, fcport->loop_id, fcport->d_id.b24, in qla_edif_app_stop() 879 __func__, fcport->port_name, fcport->loop_id, fcport->d_id.b24); in qla_edif_app_authfail() 1443 __func__, fcport->loop_id, sa_frame->spi); in qla24xx_check_sadb_avail_slot() 1464 __func__, sa_index, sa_frame->spi, dir, fcport->loop_id); in qla24xx_check_sadb_avail_slot() 1488 fcport->edif.rx_rekey_cnt, fcport->loop_id); in qla24xx_check_sadb_avail_slot() 1559 if (fcport->loop_id == FC_NO_LOOP_ID) { in qla24xx_sadb_update() 1598 uint16_t nport_handle = fcport->loop_id; in qla24xx_sadb_update() [all …]
|
D | qla_target.h | 778 uint16_t loop_id; member 910 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() 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() 3045 fcport->port_name, fcport->loop_id, in qla24xx_handle_gpnid_event() 3506 if (fcport->loop_id == FC_NO_LOOP_ID) in qla24xx_async_gnnft_done() 3630 if (fcport->loop_id != FC_NO_LOOP_ID) { in qla24xx_async_gnnft_done() 3652 fcport->port_name, fcport->loop_id, in qla24xx_async_gnnft_done() [all …]
|
D | qla_def.h | 1448 uint16_t loop_id; member 2256 target_id_t loop_id; member 2297 target_id_t loop_id; member 2537 uint16_t loop_id; member 3329 __le16 loop_id; /* ISP23XX -- 6 bytes. */ member 3338 uint16_t loop_id; member 4899 uint16_t loop_id; /* Host adapter loop id */ member
|
D | qla_nvme.c | 525 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2x00_start_nvme_mq()
|
D | qla_attr.c | 2772 if (fcport->loop_id != FC_NO_LOOP_ID) { in qla2x00_terminate_rport_io() 2775 if (fcport->loop_id != FC_NO_LOOP_ID) in qla2x00_terminate_rport_io() 2847 rval = qla2x00_get_link_status(base_vha, base_vha->loop_id, in qla2x00_get_fc_host_stats()
|
D | qla_isr.c | 852 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() 1529 fcport->loop_id, fcport->d_id.b24); in qla2x00_async_event()
|
D | qla_mid.c | 155 fcport->loop_id, fcport->vha->vp_idx); in qla2x00_mark_vp_devices_dead()
|
D | qla_gbl.h | 969 uint64_t wwn, port_id_t port_id, uint16_t loop_id, struct fc_port **);
|
D | qla_os.c | 3215 ha->mr.fcport.loop_id = FC_NO_LOOP_ID; in qla2x00_probe_one() 4049 if (fcport->loop_id != FC_NO_LOOP_ID && in qla2x00_mark_all_devices_lost() 5308 fcport->loop_id = in qla24xx_create_new_sess() 5575 fcport->loop_id; in qla2x00_relogin() 5578 fcport->loop_id); in qla2x00_relogin() 5588 fcport->loop_id); in qla2x00_relogin()
|