| /linux/drivers/macintosh/ |
| H A 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_obj(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/drivers/scsi/qla2xxx/ |
| H A D | qla_init.c | 332 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 …]
|
| H A D | tcm_qla2xxx.c | 1244 const uint16_t loop_id) in tcm_qla2xxx_find_sess_by_loop_id() argument 1258 pr_debug("find_sess_by_loop_id: Using loop_id: 0x%04x\n", loop_id); in tcm_qla2xxx_find_sess_by_loop_id() 1260 fc_loopid = lport->lport_loopid_map + loop_id; in tcm_qla2xxx_find_sess_by_loop_id() 1264 loop_id); in tcm_qla2xxx_find_sess_by_loop_id() 1287 uint16_t loop_id) in tcm_qla2xxx_set_sess_by_loop_id() argument 1292 pr_debug("set_sess_by_loop_id: Using loop_id: 0x%04x\n", loop_id); in tcm_qla2xxx_set_sess_by_loop_id() 1295 lport->lport_loopid_map)[loop_id]; in tcm_qla2xxx_set_sess_by_loop_id() 1353 sess, sess->loop_id); in tcm_qla2xxx_clear_sess_lookup() 1393 uint16_t loop_id = qlat_sess->loop_id; in tcm_qla2xxx_session_cb() local 1404 se_sess, qlat_sess, loop_id); in tcm_qla2xxx_session_cb() [all …]
|
| H A D | qla_iocb.c | 407 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 …]
|
| H A D | qla_target.c | 742 sess->local ? "local " : "", sess->port_name, sess->loop_id); in qlt_fc_port_added() 748 fcport->loop_id, in qlt_fc_port_added() 756 fcport->port_name, sess->loop_id); in qlt_fc_port_added() 809 uint16_t loop_id; in qlt_plogi_ack_unref() local 831 loop_id = le16_to_cpu(iocb->u.isp24.nport_handle); in qlt_plogi_ack_unref() 833 fcport->loop_id = loop_id; in qlt_plogi_ack_unref() 955 __func__, sess->se_sess, sess, sess->port_name, sess->loop_id, in qlt_free_session_done() 974 if (sess->logout_on_delete && sess->loop_id != FC_NO_LOOP_ID) { in qlt_free_session_done() 1209 uint16_t loop_id; in qlt_reset() local 1214 loop_id = le16_to_cpu(n->u.isp24.nport_handle); in qlt_reset() [all …]
|
| H A D | qla_bsg.c | 370 fcport->loop_id = in qla2x00_process_els() 425 bsg_request->rqst_data.h_els.command_code, fcport->loop_id, in qla2x00_process_els() 476 uint16_t loop_id; in qla2x00_process_ct() local 506 loop_id = in qla2x00_process_ct() 509 switch (loop_id) { in qla2x00_process_ct() 511 loop_id = NPH_SNS; in qla2x00_process_ct() 514 loop_id = vha->mgmt_svr_loop_id; in qla2x00_process_ct() 518 "Unknown loop id: %x.\n", loop_id); in qla2x00_process_ct() 541 fcport->loop_id = loop_id; in qla2x00_process_ct() 563 fcport->loop_id, fcport->d_id.b.domain, fcport->d_id.b.area, in qla2x00_process_ct() [all …]
|
| H A D | qla_edif.c | 374 if (fcport->loop_id != entry->handle) { in __qla2x00_release_all_sadb() 377 __func__, i, entry->handle, fcport->loop_id, in __qla2x00_release_all_sadb() 597 fcport->port_name, fcport->loop_id, in qla_edif_app_start() 699 fcport->port_name, fcport->loop_id, fcport->d_id.b24, in qla_edif_app_stop() 922 __func__, fcport->port_name, fcport->loop_id, fcport->d_id.b24); in qla_edif_app_authfail() 1488 __func__, fcport->loop_id, sa_frame->spi); in qla24xx_check_sadb_avail_slot() 1509 __func__, sa_index, sa_frame->spi, dir, fcport->loop_id); in qla24xx_check_sadb_avail_slot() 1533 fcport->edif.rx_rekey_cnt, fcport->loop_id); in qla24xx_check_sadb_avail_slot() 1604 if (fcport->loop_id == FC_NO_LOOP_ID) { in qla24xx_sadb_update() 1643 uint16_t nport_handle = fcport->loop_id; in qla24xx_sadb_update() [all …]
|
| H A D | qla_target.h | 782 uint16_t loop_id; member 931 uint16_t loop_id; /* to save extra sess dereferences */ member
|
| H A D | qla_attr.c | 2780 if (fcport->loop_id != FC_NO_LOOP_ID) { in qla2x00_terminate_rport_io() 2783 if (fcport->loop_id != FC_NO_LOOP_ID) in qla2x00_terminate_rport_io() 2864 rval = qla2x00_get_link_status(base_vha, base_vha->loop_id, in qla2x00_get_fc_host_stats()
|
| H A D | qla_isr.c | 1000 qla2x00_find_fcport_by_loopid(scsi_qla_host_t *vha, uint16_t loop_id) in qla2x00_find_fcport_by_loopid() argument 1006 if (f->loop_id == loop_id) in qla2x00_find_fcport_by_loopid() 1699 fcport->loop_id, fcport->d_id.b24); in qla2x00_async_event()
|
| H A D | qla_os.c | 3271 ha->mr.fcport.loop_id = FC_NO_LOOP_ID; in qla2x00_probe_one() 4108 fcport->loop_id != FC_NO_LOOP_ID && in qla2x00_mark_all_devices_lost() 5392 fcport->loop_id = in qla24xx_create_new_sess() 5649 fcport->loop_id; in qla2x00_relogin() 5652 fcport->loop_id); in qla2x00_relogin() 5662 fcport->loop_id); in qla2x00_relogin()
|
| H A D | qla_nvme.c | 676 cmd_pkt->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla2x00_start_nvme_mq()
|
| H A D | qla_mid.c | 155 fcport->loop_id, fcport->vha->vp_idx); in qla2x00_mark_vp_devices_dead()
|