lps 18 arch/s390/include/uapi/asm/clp.h unsigned int lps : 6; lps 69 arch/s390/pci/pci_clp.c static __always_inline int clp_req(void *data, unsigned int lps) lps 82 arch/s390/pci/pci_clp.c : [req] "a" (req), [lps] "i" (lps) lps 565 arch/s390/pci/pci_clp.c if (req->lps != 0 && req->lps != 2) lps 582 arch/s390/pci/pci_clp.c switch (req->lps) { lps 617 arch/s390/pci/pci_clp.c exists = test_bit_inv(req->lps, &ilp); lps 2269 drivers/firewire/ohci.c u32 lps, version, irqs; lps 2296 drivers/firewire/ohci.c for (lps = 0, i = 0; !lps && i < 3; i++) { lps 2298 drivers/firewire/ohci.c lps = reg_read(ohci, OHCI1394_HCControlSet) & lps 2302 drivers/firewire/ohci.c if (!lps) { lps 672 drivers/net/ethernet/nxp/lpc_eth.c int lps; lps 684 drivers/net/ethernet/nxp/lpc_eth.c lps = readl(LPC_ENET_MRDD(pldat->net_base)); lps 687 drivers/net/ethernet/nxp/lpc_eth.c return lps; lps 721 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c u8 lps = lps_val; lps 724 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c btcoexist->btc_set(btcoexist, BTC_SET_U1_LPS_VAL, &lps); lps 1004 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 lps = lps_val; lps 1007 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c btcoexist->btc_set(btcoexist, BTC_SET_U1_LPS_VAL, &lps); lps 869 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c u8 lps = lps_val; lps 872 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c btcoexist->btc_set(btcoexist, BTC_SET_U1_LPS_VAL, &lps); lps 980 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c u8 lps = lps_val; lps 983 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c btcoexist->btc_set(btcoexist, BTC_SET_U1_LPS_VAL, &lps); lps 127 drivers/scsi/bfa/bfa_fcs.c bfa_lps_delete(fcs->fabric.lps); lps 355 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); lps 369 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); lps 374 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); lps 426 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); lps 440 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); lps 518 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); lps 559 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); lps 576 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); lps 689 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_LOGOUT); lps 874 drivers/scsi/bfa/bfa_fcs.c switch (fabric->lps->ext_status) { lps 901 drivers/scsi/bfa/bfa_fcs.c fabric->bb_credit = fabric->lps->pr_bbcred; lps 904 drivers/scsi/bfa/bfa_fcs.c if (!(fabric->lps->brcd_switch)) lps 905 drivers/scsi/bfa/bfa_fcs.c fabric->fabric_name = fabric->lps->pr_nwwn; lps 910 drivers/scsi/bfa/bfa_fcs.c if (fabric->lps->fport) { lps 911 drivers/scsi/bfa/bfa_fcs.c fabric->bport.pid = fabric->lps->lp_pid; lps 912 drivers/scsi/bfa/bfa_fcs.c fabric->is_npiv = fabric->lps->npiv_en; lps 913 drivers/scsi/bfa/bfa_fcs.c fabric->is_auth = fabric->lps->auth_req; lps 920 drivers/scsi/bfa/bfa_fcs.c fabric->lps->pr_pwwn; lps 940 drivers/scsi/bfa/bfa_fcs.c bfa_lps_flogi(fabric->lps, fabric, alpa, bfa_fcport_get_maxfrsize(bfa), lps 1183 drivers/scsi/bfa/bfa_fcs.c fab_nwwn = fabric->lps->pr_nwwn; lps 1343 drivers/scsi/bfa/bfa_fcs.c bfa_fcxp_send(fcxp, NULL, fabric->vf_id, fabric->lps->bfa_tag, lps 1604 drivers/scsi/bfa/bfa_fcs.c fabric->lps = bfa_lps_alloc(fcs->bfa); lps 1605 drivers/scsi/bfa/bfa_fcs.c WARN_ON(!fabric->lps); lps 201 drivers/scsi/bfa/bfa_fcs.h struct bfa_lps_s *lps; /* lport login services */ lps 357 drivers/scsi/bfa/bfa_fcs.h struct bfa_lps_s *lps; /* Lport login service*/ lps 481 drivers/scsi/bfa/bfa_fcs_lport.c bfa_lps_set_n2n_pid(port->fabric->lps, rx_fchs->d_id); lps 496 drivers/scsi/bfa/bfa_fcs_lport.c bfa_lps_set_n2n_pid(port->fabric->lps, rx_fchs->d_id); lps 1080 drivers/scsi/bfa/bfa_fcs_lport.c lport->lp_tag = (vport) ? vport->lps->bfa_tag : lps 1081 drivers/scsi/bfa/bfa_fcs_lport.c lport->fabric->lps->bfa_tag; lps 1159 drivers/scsi/bfa/bfa_fcs_lport.c port->vport->lps->lp_mac; lps 1162 drivers/scsi/bfa/bfa_fcs_lport.c port->fabric->lps->lp_mac; lps 1242 drivers/scsi/bfa/bfa_fcs_lport.c bfa_lps_set_n2n_pid(port->fabric->lps, N2N_LOCAL_PID); lps 2663 drivers/scsi/bfa/bfa_fcs_lport.c hba_attr->fabric_name = port->fabric->lps->pr_nwwn; lps 2748 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->port_fabric_name = port->fabric->lps->pr_nwwn; lps 3154 drivers/scsi/bfa/bfa_fcs_lport.c port->fabric->lps->pr_nwwn); lps 3355 drivers/scsi/bfa/bfa_fcs_lport.c port->fabric->lps->pr_nwwn); lps 5393 drivers/scsi/bfa/bfa_fcs_lport.c port->fabric->lps->brcd_switch, lps 6172 drivers/scsi/bfa/bfa_fcs_lport.c bfa_sm_send_event(vport->lps, BFA_LPS_SM_OFFLINE); lps 6262 drivers/scsi/bfa/bfa_fcs_lport.c bfa_sm_send_event(vport->lps, BFA_LPS_SM_OFFLINE); lps 6294 drivers/scsi/bfa/bfa_fcs_lport.c bfa_sm_send_event(vport->lps, BFA_LPS_SM_OFFLINE); lps 6424 drivers/scsi/bfa/bfa_fcs_lport.c bfa_sm_send_event(vport->lps, BFA_LPS_SM_OFFLINE); lps 6450 drivers/scsi/bfa/bfa_fcs_lport.c bfa_sm_send_event(vport->lps, BFA_LPS_SM_OFFLINE); lps 6503 drivers/scsi/bfa/bfa_fcs_lport.c bfa_lps_fdisc(vport->lps, vport, lps 6512 drivers/scsi/bfa/bfa_fcs_lport.c u8 lsrjt_rsn = vport->lps->lsrjt_rsn; lps 6513 drivers/scsi/bfa/bfa_fcs_lport.c u8 lsrjt_expl = vport->lps->lsrjt_expl; lps 6519 drivers/scsi/bfa/bfa_fcs_lport.c switch (vport->lps->lsrjt_expl) { lps 6563 drivers/scsi/bfa/bfa_fcs_lport.c bfa_lps_fdisclogo(vport->lps); lps 6596 drivers/scsi/bfa/bfa_fcs_lport.c bfa_lps_delete(vport->lps); lps 6724 drivers/scsi/bfa/bfa_fcs_lport.c vport->lps = bfa_lps_alloc(fcs->bfa); lps 6725 drivers/scsi/bfa/bfa_fcs_lport.c if (!vport->lps) lps 6901 drivers/scsi/bfa/bfa_fcs_lport.c __vport_fcid(vport) = vport->lps->lp_pid; lps 6914 drivers/scsi/bfa/bfa_fcs_lport.c switch (vport->lps->ext_status) { lps 3154 drivers/scsi/bfa/bfa_fcs_rport.c ((rport->port->fabric->lps->brcd_switch) || lps 115 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_free(struct bfa_lps_s *lps); lps 116 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_send_login(struct bfa_lps_s *lps); lps 117 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_send_logout(struct bfa_lps_s *lps); lps 118 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_send_set_n2n_pid(struct bfa_lps_s *lps); lps 119 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_login_comp(struct bfa_lps_s *lps); lps 120 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_logout_comp(struct bfa_lps_s *lps); lps 121 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_cvl_event(struct bfa_lps_s *lps); lps 126 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_sm_init(struct bfa_lps_s *lps, enum bfa_lps_event event); lps 127 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_sm_login(struct bfa_lps_s *lps, enum bfa_lps_event event); lps 128 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_sm_loginwait(struct bfa_lps_s *lps, enum bfa_lps_event lps 130 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_sm_online(struct bfa_lps_s *lps, enum bfa_lps_event event); lps 131 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_sm_online_n2n_pid_wait(struct bfa_lps_s *lps, lps 133 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_sm_logout(struct bfa_lps_s *lps, enum bfa_lps_event event); lps 134 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_sm_logowait(struct bfa_lps_s *lps, enum bfa_lps_event lps 1169 drivers/scsi/bfa/bfa_svc.c bfa_lps_sm_init(struct bfa_lps_s *lps, enum bfa_lps_event event) lps 1171 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->bfa_tag); lps 1172 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, event); lps 1176 drivers/scsi/bfa/bfa_svc.c if (bfa_reqq_full(lps->bfa, lps->reqq)) { lps 1177 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_loginwait); lps 1178 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wait(lps->bfa, lps->reqq, &lps->wqe); lps 1180 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_login); lps 1181 drivers/scsi/bfa/bfa_svc.c bfa_lps_send_login(lps); lps 1184 drivers/scsi/bfa/bfa_svc.c if (lps->fdisc) lps 1185 drivers/scsi/bfa/bfa_svc.c bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, lps 1188 drivers/scsi/bfa/bfa_svc.c bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, lps 1193 drivers/scsi/bfa/bfa_svc.c bfa_lps_logout_comp(lps); lps 1197 drivers/scsi/bfa/bfa_svc.c bfa_lps_free(lps); lps 1219 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(lps->bfa, event); lps 1227 drivers/scsi/bfa/bfa_svc.c bfa_lps_sm_login(struct bfa_lps_s *lps, enum bfa_lps_event event) lps 1229 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->bfa_tag); lps 1230 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, event); lps 1234 drivers/scsi/bfa/bfa_svc.c if (lps->status == BFA_STATUS_OK) { lps 1235 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_online); lps 1236 drivers/scsi/bfa/bfa_svc.c if (lps->fdisc) lps 1237 drivers/scsi/bfa/bfa_svc.c bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, lps 1240 drivers/scsi/bfa/bfa_svc.c bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, lps 1243 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->fport); lps 1244 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->lp_pid); lps 1246 drivers/scsi/bfa/bfa_svc.c if (!lps->fport && lps->lp_pid) lps 1247 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_SET_N2N_PID); lps 1249 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1250 drivers/scsi/bfa/bfa_svc.c if (lps->fdisc) lps 1251 drivers/scsi/bfa/bfa_svc.c bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, lps 1255 drivers/scsi/bfa/bfa_svc.c bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, lps 1259 drivers/scsi/bfa/bfa_svc.c bfa_lps_login_comp(lps); lps 1264 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1268 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->fport); lps 1269 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->lp_pid); lps 1273 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(lps->bfa, event); lps 1281 drivers/scsi/bfa/bfa_svc.c bfa_lps_sm_loginwait(struct bfa_lps_s *lps, enum bfa_lps_event event) lps 1283 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->bfa_tag); lps 1284 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, event); lps 1288 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_login); lps 1289 drivers/scsi/bfa/bfa_svc.c bfa_lps_send_login(lps); lps 1294 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1295 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wcancel(&lps->wqe); lps 1307 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(lps->bfa, event); lps 1315 drivers/scsi/bfa/bfa_svc.c bfa_lps_sm_online(struct bfa_lps_s *lps, enum bfa_lps_event event) lps 1317 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->bfa_tag); lps 1318 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, event); lps 1322 drivers/scsi/bfa/bfa_svc.c if (bfa_reqq_full(lps->bfa, lps->reqq)) { lps 1323 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_logowait); lps 1324 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wait(lps->bfa, lps->reqq, &lps->wqe); lps 1326 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_logout); lps 1327 drivers/scsi/bfa/bfa_svc.c bfa_lps_send_logout(lps); lps 1329 drivers/scsi/bfa/bfa_svc.c bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, lps 1334 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1337 drivers/scsi/bfa/bfa_svc.c bfa_lps_cvl_event(lps); lps 1338 drivers/scsi/bfa/bfa_svc.c bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, lps 1343 drivers/scsi/bfa/bfa_svc.c if (bfa_reqq_full(lps->bfa, lps->reqq)) { lps 1344 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_online_n2n_pid_wait); lps 1345 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wait(lps->bfa, lps->reqq, &lps->wqe); lps 1347 drivers/scsi/bfa/bfa_svc.c bfa_lps_send_set_n2n_pid(lps); lps 1352 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1356 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(lps->bfa, event); lps 1364 drivers/scsi/bfa/bfa_svc.c bfa_lps_sm_online_n2n_pid_wait(struct bfa_lps_s *lps, enum bfa_lps_event event) lps 1366 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->bfa_tag); lps 1367 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, event); lps 1371 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_online); lps 1372 drivers/scsi/bfa/bfa_svc.c bfa_lps_send_set_n2n_pid(lps); lps 1376 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_logowait); lps 1377 drivers/scsi/bfa/bfa_svc.c bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, lps 1382 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1383 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wcancel(&lps->wqe); lps 1386 drivers/scsi/bfa/bfa_svc.c bfa_lps_cvl_event(lps); lps 1387 drivers/scsi/bfa/bfa_svc.c bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS, lps 1393 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1394 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wcancel(&lps->wqe); lps 1398 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(lps->bfa, event); lps 1406 drivers/scsi/bfa/bfa_svc.c bfa_lps_sm_logout(struct bfa_lps_s *lps, enum bfa_lps_event event) lps 1408 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->bfa_tag); lps 1409 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, event); lps 1414 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1415 drivers/scsi/bfa/bfa_svc.c bfa_lps_logout_comp(lps); lps 1419 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1423 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(lps->bfa, event); lps 1431 drivers/scsi/bfa/bfa_svc.c bfa_lps_sm_logowait(struct bfa_lps_s *lps, enum bfa_lps_event event) lps 1433 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->bfa_tag); lps 1434 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, event); lps 1438 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_logout); lps 1439 drivers/scsi/bfa/bfa_svc.c bfa_lps_send_logout(lps); lps 1444 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1445 drivers/scsi/bfa/bfa_svc.c bfa_reqq_wcancel(&lps->wqe); lps 1449 drivers/scsi/bfa/bfa_svc.c bfa_sm_fault(lps->bfa, event); lps 1484 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps; lps 1492 drivers/scsi/bfa/bfa_svc.c mod->lps_arr = lps = (struct bfa_lps_s *) bfa_mem_kva_curp(mod); lps 1500 drivers/scsi/bfa/bfa_svc.c for (i = 0; i < mod->num_lps; i++, lps++) { lps 1501 drivers/scsi/bfa/bfa_svc.c lps->bfa = bfa; lps 1502 drivers/scsi/bfa/bfa_svc.c lps->bfa_tag = (u8) i; lps 1503 drivers/scsi/bfa/bfa_svc.c lps->reqq = BFA_REQQ_LPS; lps 1504 drivers/scsi/bfa/bfa_svc.c bfa_reqq_winit(&lps->wqe, bfa_lps_reqq_resume, lps); lps 1505 drivers/scsi/bfa/bfa_svc.c list_add_tail(&lps->qe, &mod->lps_free_q); lps 1516 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps; lps 1520 drivers/scsi/bfa/bfa_svc.c lps = (struct bfa_lps_s *) qe; lps 1521 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_OFFLINE); lps 1524 drivers/scsi/bfa/bfa_svc.c lps = (struct bfa_lps_s *) qe; lps 1525 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_OFFLINE); lps 1537 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps; lps 1540 drivers/scsi/bfa/bfa_svc.c lps = BFA_LPS_FROM_TAG(mod, rsp->bfa_tag); lps 1542 drivers/scsi/bfa/bfa_svc.c lps->status = rsp->status; lps 1545 drivers/scsi/bfa/bfa_svc.c lps->fw_tag = rsp->fw_tag; lps 1546 drivers/scsi/bfa/bfa_svc.c lps->fport = rsp->f_port; lps 1547 drivers/scsi/bfa/bfa_svc.c if (lps->fport) lps 1548 drivers/scsi/bfa/bfa_svc.c lps->lp_pid = rsp->lp_pid; lps 1549 drivers/scsi/bfa/bfa_svc.c lps->npiv_en = rsp->npiv_en; lps 1550 drivers/scsi/bfa/bfa_svc.c lps->pr_bbcred = be16_to_cpu(rsp->bb_credit); lps 1551 drivers/scsi/bfa/bfa_svc.c lps->pr_pwwn = rsp->port_name; lps 1552 drivers/scsi/bfa/bfa_svc.c lps->pr_nwwn = rsp->node_name; lps 1553 drivers/scsi/bfa/bfa_svc.c lps->auth_req = rsp->auth_req; lps 1554 drivers/scsi/bfa/bfa_svc.c lps->lp_mac = rsp->lp_mac; lps 1555 drivers/scsi/bfa/bfa_svc.c lps->brcd_switch = rsp->brcd_switch; lps 1556 drivers/scsi/bfa/bfa_svc.c lps->fcf_mac = rsp->fcf_mac; lps 1561 drivers/scsi/bfa/bfa_svc.c lps->lsrjt_rsn = rsp->lsrjt_rsn; lps 1562 drivers/scsi/bfa/bfa_svc.c lps->lsrjt_expl = rsp->lsrjt_expl; lps 1567 drivers/scsi/bfa/bfa_svc.c lps->ext_status = rsp->ext_status; lps 1573 drivers/scsi/bfa/bfa_svc.c bfa_lps_no_res(lps, rsp->ext_status); lps 1581 drivers/scsi/bfa/bfa_svc.c list_del(&lps->qe); lps 1582 drivers/scsi/bfa/bfa_svc.c list_add_tail(&lps->qe, &mod->lps_active_q); lps 1583 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_FWRSP); lps 1592 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps; lps 1600 drivers/scsi/bfa/bfa_svc.c lps = (struct bfa_lps_s *)qe; lps 1601 drivers/scsi/bfa/bfa_svc.c bfa_trc(bfa, lps->bfa_tag); lps 1602 drivers/scsi/bfa/bfa_svc.c lps->status = first_lps->status; lps 1603 drivers/scsi/bfa/bfa_svc.c list_del(&lps->qe); lps 1604 drivers/scsi/bfa/bfa_svc.c list_add_tail(&lps->qe, &mod->lps_active_q); lps 1605 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_FWRSP); lps 1618 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps; lps 1621 drivers/scsi/bfa/bfa_svc.c lps = BFA_LPS_FROM_TAG(mod, rsp->bfa_tag); lps 1623 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_FWRSP); lps 1633 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps; lps 1635 drivers/scsi/bfa/bfa_svc.c lps = BFA_LPS_FROM_TAG(mod, cvl->bfa_tag); lps 1637 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_RX_CVL); lps 1646 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps = lps_arg; lps 1648 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_RESUME); lps 1655 drivers/scsi/bfa/bfa_svc.c bfa_lps_free(struct bfa_lps_s *lps) lps 1657 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_mod_s *mod = BFA_LPS_MOD(lps->bfa); lps 1659 drivers/scsi/bfa/bfa_svc.c lps->lp_pid = 0; lps 1660 drivers/scsi/bfa/bfa_svc.c list_del(&lps->qe); lps 1661 drivers/scsi/bfa/bfa_svc.c list_add_tail(&lps->qe, &mod->lps_free_q); lps 1668 drivers/scsi/bfa/bfa_svc.c bfa_lps_send_login(struct bfa_lps_s *lps) lps 1670 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_mod_s *mod = BFA_LPS_MOD(lps->bfa); lps 1673 drivers/scsi/bfa/bfa_svc.c m = bfa_reqq_next(lps->bfa, lps->reqq); lps 1677 drivers/scsi/bfa/bfa_svc.c bfa_fn_lpu(lps->bfa)); lps 1679 drivers/scsi/bfa/bfa_svc.c m->bfa_tag = lps->bfa_tag; lps 1680 drivers/scsi/bfa/bfa_svc.c m->alpa = lps->alpa; lps 1681 drivers/scsi/bfa/bfa_svc.c m->pdu_size = cpu_to_be16(lps->pdusz); lps 1682 drivers/scsi/bfa/bfa_svc.c m->pwwn = lps->pwwn; lps 1683 drivers/scsi/bfa/bfa_svc.c m->nwwn = lps->nwwn; lps 1684 drivers/scsi/bfa/bfa_svc.c m->fdisc = lps->fdisc; lps 1685 drivers/scsi/bfa/bfa_svc.c m->auth_en = lps->auth_en; lps 1687 drivers/scsi/bfa/bfa_svc.c bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); lps 1688 drivers/scsi/bfa/bfa_svc.c list_del(&lps->qe); lps 1689 drivers/scsi/bfa/bfa_svc.c list_add_tail(&lps->qe, &mod->lps_login_q); lps 1696 drivers/scsi/bfa/bfa_svc.c bfa_lps_send_logout(struct bfa_lps_s *lps) lps 1700 drivers/scsi/bfa/bfa_svc.c m = bfa_reqq_next(lps->bfa, lps->reqq); lps 1704 drivers/scsi/bfa/bfa_svc.c bfa_fn_lpu(lps->bfa)); lps 1706 drivers/scsi/bfa/bfa_svc.c m->fw_tag = lps->fw_tag; lps 1707 drivers/scsi/bfa/bfa_svc.c m->port_name = lps->pwwn; lps 1708 drivers/scsi/bfa/bfa_svc.c bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); lps 1715 drivers/scsi/bfa/bfa_svc.c bfa_lps_send_set_n2n_pid(struct bfa_lps_s *lps) lps 1719 drivers/scsi/bfa/bfa_svc.c m = bfa_reqq_next(lps->bfa, lps->reqq); lps 1723 drivers/scsi/bfa/bfa_svc.c bfa_fn_lpu(lps->bfa)); lps 1725 drivers/scsi/bfa/bfa_svc.c m->fw_tag = lps->fw_tag; lps 1726 drivers/scsi/bfa/bfa_svc.c m->lp_pid = lps->lp_pid; lps 1727 drivers/scsi/bfa/bfa_svc.c bfa_reqq_produce(lps->bfa, lps->reqq, m->mh); lps 1736 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps = arg; lps 1741 drivers/scsi/bfa/bfa_svc.c if (lps->fdisc) lps 1742 drivers/scsi/bfa/bfa_svc.c bfa_cb_lps_fdisc_comp(lps->bfa->bfad, lps->uarg, lps->status); lps 1744 drivers/scsi/bfa/bfa_svc.c bfa_cb_lps_flogi_comp(lps->bfa->bfad, lps->uarg, lps->status); lps 1751 drivers/scsi/bfa/bfa_svc.c bfa_lps_login_comp(struct bfa_lps_s *lps) lps 1753 drivers/scsi/bfa/bfa_svc.c if (!lps->bfa->fcs) { lps 1754 drivers/scsi/bfa/bfa_svc.c bfa_cb_queue(lps->bfa, &lps->hcb_qe, bfa_lps_login_comp_cb, lps 1755 drivers/scsi/bfa/bfa_svc.c lps); lps 1759 drivers/scsi/bfa/bfa_svc.c if (lps->fdisc) lps 1760 drivers/scsi/bfa/bfa_svc.c bfa_cb_lps_fdisc_comp(lps->bfa->bfad, lps->uarg, lps->status); lps 1762 drivers/scsi/bfa/bfa_svc.c bfa_cb_lps_flogi_comp(lps->bfa->bfad, lps->uarg, lps->status); lps 1771 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps = arg; lps 1776 drivers/scsi/bfa/bfa_svc.c if (lps->fdisc) lps 1777 drivers/scsi/bfa/bfa_svc.c bfa_cb_lps_fdisclogo_comp(lps->bfa->bfad, lps->uarg); lps 1779 drivers/scsi/bfa/bfa_svc.c bfa_cb_lps_flogo_comp(lps->bfa->bfad, lps->uarg); lps 1786 drivers/scsi/bfa/bfa_svc.c bfa_lps_logout_comp(struct bfa_lps_s *lps) lps 1788 drivers/scsi/bfa/bfa_svc.c if (!lps->bfa->fcs) { lps 1789 drivers/scsi/bfa/bfa_svc.c bfa_cb_queue(lps->bfa, &lps->hcb_qe, bfa_lps_logout_comp_cb, lps 1790 drivers/scsi/bfa/bfa_svc.c lps); lps 1793 drivers/scsi/bfa/bfa_svc.c if (lps->fdisc) lps 1794 drivers/scsi/bfa/bfa_svc.c bfa_cb_lps_fdisclogo_comp(lps->bfa->bfad, lps->uarg); lps 1803 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps = arg; lps 1809 drivers/scsi/bfa/bfa_svc.c if (lps->fdisc) lps 1810 drivers/scsi/bfa/bfa_svc.c bfa_cb_lps_cvl_event(lps->bfa->bfad, lps->uarg); lps 1818 drivers/scsi/bfa/bfa_svc.c bfa_lps_cvl_event(struct bfa_lps_s *lps) lps 1820 drivers/scsi/bfa/bfa_svc.c if (!lps->bfa->fcs) { lps 1821 drivers/scsi/bfa/bfa_svc.c bfa_cb_queue(lps->bfa, &lps->hcb_qe, bfa_lps_cvl_event_cb, lps 1822 drivers/scsi/bfa/bfa_svc.c lps); lps 1827 drivers/scsi/bfa/bfa_svc.c if (lps->fdisc) lps 1828 drivers/scsi/bfa/bfa_svc.c bfa_cb_lps_cvl_event(lps->bfa->bfad, lps->uarg); lps 1853 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps = NULL; lps 1855 drivers/scsi/bfa/bfa_svc.c bfa_q_deq(&mod->lps_free_q, &lps); lps 1857 drivers/scsi/bfa/bfa_svc.c if (lps == NULL) lps 1860 drivers/scsi/bfa/bfa_svc.c list_add_tail(&lps->qe, &mod->lps_active_q); lps 1862 drivers/scsi/bfa/bfa_svc.c bfa_sm_set_state(lps, bfa_lps_sm_init); lps 1863 drivers/scsi/bfa/bfa_svc.c return lps; lps 1871 drivers/scsi/bfa/bfa_svc.c bfa_lps_delete(struct bfa_lps_s *lps) lps 1873 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_DELETE); lps 1880 drivers/scsi/bfa/bfa_svc.c bfa_lps_flogi(struct bfa_lps_s *lps, void *uarg, u8 alpa, u16 pdusz, lps 1883 drivers/scsi/bfa/bfa_svc.c lps->uarg = uarg; lps 1884 drivers/scsi/bfa/bfa_svc.c lps->alpa = alpa; lps 1885 drivers/scsi/bfa/bfa_svc.c lps->pdusz = pdusz; lps 1886 drivers/scsi/bfa/bfa_svc.c lps->pwwn = pwwn; lps 1887 drivers/scsi/bfa/bfa_svc.c lps->nwwn = nwwn; lps 1888 drivers/scsi/bfa/bfa_svc.c lps->fdisc = BFA_FALSE; lps 1889 drivers/scsi/bfa/bfa_svc.c lps->auth_en = auth_en; lps 1890 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_LOGIN); lps 1897 drivers/scsi/bfa/bfa_svc.c bfa_lps_fdisc(struct bfa_lps_s *lps, void *uarg, u16 pdusz, wwn_t pwwn, lps 1900 drivers/scsi/bfa/bfa_svc.c lps->uarg = uarg; lps 1901 drivers/scsi/bfa/bfa_svc.c lps->alpa = 0; lps 1902 drivers/scsi/bfa/bfa_svc.c lps->pdusz = pdusz; lps 1903 drivers/scsi/bfa/bfa_svc.c lps->pwwn = pwwn; lps 1904 drivers/scsi/bfa/bfa_svc.c lps->nwwn = nwwn; lps 1905 drivers/scsi/bfa/bfa_svc.c lps->fdisc = BFA_TRUE; lps 1906 drivers/scsi/bfa/bfa_svc.c lps->auth_en = BFA_FALSE; lps 1907 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_LOGIN); lps 1915 drivers/scsi/bfa/bfa_svc.c bfa_lps_fdisclogo(struct bfa_lps_s *lps) lps 1917 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_LOGOUT); lps 1935 drivers/scsi/bfa/bfa_svc.c struct bfa_lps_s *lps; lps 1938 drivers/scsi/bfa/bfa_svc.c for (i = 0, lps = mod->lps_arr; i < mod->num_lps; i++, lps++) { lps 1939 drivers/scsi/bfa/bfa_svc.c if (lps->lp_pid == pid) lps 1940 drivers/scsi/bfa/bfa_svc.c return lps->bfa_tag; lps 1963 drivers/scsi/bfa/bfa_svc.c bfa_lps_set_n2n_pid(struct bfa_lps_s *lps, uint32_t n2n_pid) lps 1965 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, lps->bfa_tag); lps 1966 drivers/scsi/bfa/bfa_svc.c bfa_trc(lps->bfa, n2n_pid); lps 1968 drivers/scsi/bfa/bfa_svc.c lps->lp_pid = n2n_pid; lps 1969 drivers/scsi/bfa/bfa_svc.c bfa_sm_send_event(lps, BFA_LPS_SM_SET_N2N_PID); lps 664 drivers/scsi/bfa/bfa_svc.h void bfa_lps_delete(struct bfa_lps_s *lps); lps 665 drivers/scsi/bfa/bfa_svc.h void bfa_lps_flogi(struct bfa_lps_s *lps, void *uarg, u8 alpa, lps 668 drivers/scsi/bfa/bfa_svc.h void bfa_lps_fdisc(struct bfa_lps_s *lps, void *uarg, u16 pdusz, lps 670 drivers/scsi/bfa/bfa_svc.h void bfa_lps_fdisclogo(struct bfa_lps_s *lps); lps 671 drivers/scsi/bfa/bfa_svc.h void bfa_lps_set_n2n_pid(struct bfa_lps_s *lps, u32 n2n_pid); lps 1049 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c u8 lps = lpsVal; lps 1052 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_U1_LPS_VAL, &lps); lps 76 drivers/video/fbdev/sh7760fb.c int lps; lps 81 drivers/video/fbdev/sh7760fb.c lps = 3; lps 85 drivers/video/fbdev/sh7760fb.c lps = 0; lps 94 drivers/video/fbdev/sh7760fb.c return wait_for_lps(par, lps);