fabric 59 arch/arm/mach-hisi/platmcpm.c static void __iomem *sysctrl, *fabric; fabric 85 arch/arm/mach-hisi/platmcpm.c if (!fabric) fabric 87 arch/arm/mach-hisi/platmcpm.c data = readl_relaxed(fabric + FAB_SF_MODE); fabric 92 arch/arm/mach-hisi/platmcpm.c writel_relaxed(data, fabric + FAB_SF_MODE); fabric 95 arch/arm/mach-hisi/platmcpm.c } while (data != readl_relaxed(fabric + FAB_SF_MODE)); fabric 311 arch/arm/mach-hisi/platmcpm.c fabric = of_iomap(np_fab, 0); fabric 312 arch/arm/mach-hisi/platmcpm.c if (!fabric) { fabric 336 arch/arm/mach-hisi/platmcpm.c iounmap(fabric); fabric 234 drivers/s390/scsi/zfcp_def.h struct zfcp_latency_record fabric; fabric 2093 drivers/s390/scsi/zfcp_fsf.c zfcp_fsf_update_lat(&lat->fabric, lat_in->fabric_lat); fabric 152 drivers/s390/scsi/zfcp_scsi.c zfcp_sdev->latencies.write.fabric.min = 0xFFFFFFFF; fabric 154 drivers/s390/scsi/zfcp_scsi.c zfcp_sdev->latencies.read.fabric.min = 0xFFFFFFFF; fabric 156 drivers/s390/scsi/zfcp_scsi.c zfcp_sdev->latencies.cmd.fabric.min = 0xFFFFFFFF; fabric 429 drivers/s390/scsi/zfcp_sysfs.c fsum = lat->_name.fabric.sum * adapter->timer_ticks; \ fabric 430 drivers/s390/scsi/zfcp_sysfs.c fmin = lat->_name.fabric.min * adapter->timer_ticks; \ fabric 431 drivers/s390/scsi/zfcp_sysfs.c fmax = lat->_name.fabric.max * adapter->timer_ticks; \ fabric 459 drivers/s390/scsi/zfcp_sysfs.c lat->_name.fabric.sum = 0; \ fabric 460 drivers/s390/scsi/zfcp_sysfs.c lat->_name.fabric.min = 0xFFFFFFFF; \ fabric 461 drivers/s390/scsi/zfcp_sysfs.c lat->_name.fabric.max = 0; \ fabric 41 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(&fcs->fabric, BFA_FCS_FABRIC_SM_CREATE); fabric 56 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric = &fcs->fabric; fabric 57 drivers/scsi/bfa/bfa_fcs.c struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; fabric 58 drivers/scsi/bfa/bfa_fcs.c struct bfa_ioc_s *ioc = &fabric->fcs->bfa->ioc; fabric 110 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_psymb_init(&fcs->fabric); fabric 111 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_nsymb_init(&fcs->fabric); fabric 127 drivers/scsi/bfa/bfa_fcs.c bfa_lps_delete(fcs->fabric.lps); fabric 128 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(&fcs->fabric, BFA_FCS_FABRIC_SM_DELETE); fabric 142 drivers/scsi/bfa/bfa_fcs.c if (fabric->fab_type == BFA_FCS_FABRIC_SWITCHED) \ fabric 153 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_init(struct bfa_fcs_fabric_s *fabric); fabric 154 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_login(struct bfa_fcs_fabric_s *fabric); fabric 155 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_notify_online(struct bfa_fcs_fabric_s *fabric); fabric 156 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_notify_offline(struct bfa_fcs_fabric_s *fabric); fabric 158 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_delete(struct bfa_fcs_fabric_s *fabric); fabric 160 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_stop(struct bfa_fcs_fabric_s *fabric); fabric 162 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_process_uf(struct bfa_fcs_fabric_s *fabric, fabric 164 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_process_flogi(struct bfa_fcs_fabric_s *fabric, fabric 166 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_send_flogi_acc(struct bfa_fcs_fabric_s *fabric); fabric 174 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_uninit(struct bfa_fcs_fabric_s *fabric, fabric 176 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_created(struct bfa_fcs_fabric_s *fabric, fabric 178 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_linkdown(struct bfa_fcs_fabric_s *fabric, fabric 180 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_flogi(struct bfa_fcs_fabric_s *fabric, fabric 182 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_flogi_retry(struct bfa_fcs_fabric_s *fabric, fabric 184 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_auth(struct bfa_fcs_fabric_s *fabric, fabric 186 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_nofabric(struct bfa_fcs_fabric_s *fabric, fabric 188 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_evfp(struct bfa_fcs_fabric_s *fabric, fabric 190 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_evfp_done(struct bfa_fcs_fabric_s *fabric, fabric 192 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_isolated(struct bfa_fcs_fabric_s *fabric, fabric 194 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_deleting(struct bfa_fcs_fabric_s *fabric, fabric 196 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_stopping(struct bfa_fcs_fabric_s *fabric, fabric 198 drivers/scsi/bfa/bfa_fcs.c static void bfa_fcs_fabric_sm_cleanup(struct bfa_fcs_fabric_s *fabric, fabric 204 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_uninit(struct bfa_fcs_fabric_s *fabric, fabric 207 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 208 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 212 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_created); fabric 213 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_init(fabric); fabric 214 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_init(&fabric->bport, &fabric->bport.port_cfg); fabric 222 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 230 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_created(struct bfa_fcs_fabric_s *fabric, fabric 233 drivers/scsi/bfa/bfa_fcs.c struct bfa_s *bfa = fabric->fcs->bfa; fabric 235 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 236 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 240 drivers/scsi/bfa/bfa_fcs.c if (!bfa_fcport_is_linkup(fabric->fcs->bfa)) { fabric 241 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_linkdown); fabric 246 drivers/scsi/bfa/bfa_fcs.c fabric->fab_type = BFA_FCS_FABRIC_LOOP; fabric 247 drivers/scsi/bfa/bfa_fcs.c fabric->bport.pid = bfa_fcport_get_myalpa(bfa); fabric 248 drivers/scsi/bfa/bfa_fcs.c fabric->bport.pid = bfa_hton3b(fabric->bport.pid); fabric 249 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, fabric 251 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_set_opertype(fabric); fabric 252 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_online(&fabric->bport); fabric 254 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_flogi); fabric 255 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_login(fabric); fabric 264 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_deleting); fabric 265 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delete(fabric); fabric 269 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 278 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_linkdown(struct bfa_fcs_fabric_s *fabric, fabric 281 drivers/scsi/bfa/bfa_fcs.c struct bfa_s *bfa = fabric->fcs->bfa; fabric 283 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 284 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 289 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_flogi); fabric 290 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_login(fabric); fabric 293 drivers/scsi/bfa/bfa_fcs.c fabric->fab_type = BFA_FCS_FABRIC_LOOP; fabric 294 drivers/scsi/bfa/bfa_fcs.c fabric->bport.pid = bfa_fcport_get_myalpa(bfa); fabric 295 drivers/scsi/bfa/bfa_fcs.c fabric->bport.pid = bfa_hton3b(fabric->bport.pid); fabric 296 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_online); fabric 297 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_set_opertype(fabric); fabric 298 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_online(&fabric->bport); fabric 306 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_deleting); fabric 307 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delete(fabric); fabric 311 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_cleanup); fabric 312 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_stop(fabric); fabric 316 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 324 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_flogi(struct bfa_fcs_fabric_s *fabric, fabric 327 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 328 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 333 drivers/scsi/bfa/bfa_fcs.c bfa_fcport_set_tx_bbcredit(fabric->fcs->bfa, fabric 334 drivers/scsi/bfa/bfa_fcs.c fabric->bb_credit); fabric 335 drivers/scsi/bfa/bfa_fcs.c fabric->fab_type = BFA_FCS_FABRIC_SWITCHED; fabric 337 drivers/scsi/bfa/bfa_fcs.c if (fabric->auth_reqd && fabric->is_auth) { fabric 338 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_auth); fabric 339 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 341 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_online); fabric 342 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_notify_online(fabric); fabric 347 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_flogi_retry); fabric 348 drivers/scsi/bfa/bfa_fcs.c bfa_timer_start(fabric->fcs->bfa, &fabric->delay_timer, fabric 349 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delay, fabric, fabric 354 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_loopback); fabric 355 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); fabric 356 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_set_opertype(fabric); fabric 360 drivers/scsi/bfa/bfa_fcs.c fabric->fab_type = BFA_FCS_FABRIC_N2N; fabric 361 drivers/scsi/bfa/bfa_fcs.c bfa_fcport_set_tx_bbcredit(fabric->fcs->bfa, fabric 362 drivers/scsi/bfa/bfa_fcs.c fabric->bb_credit); fabric 363 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_notify_online(fabric); fabric 364 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_nofabric); fabric 368 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_linkdown); fabric 369 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); fabric 373 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_deleting); fabric 374 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); fabric 375 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delete(fabric); fabric 379 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 385 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_flogi_retry(struct bfa_fcs_fabric_s *fabric, fabric 388 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 389 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 393 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_flogi); fabric 394 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_login(fabric); fabric 398 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_linkdown); fabric 399 drivers/scsi/bfa/bfa_fcs.c bfa_timer_stop(&fabric->delay_timer); fabric 403 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_deleting); fabric 404 drivers/scsi/bfa/bfa_fcs.c bfa_timer_stop(&fabric->delay_timer); fabric 405 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delete(fabric); fabric 409 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 417 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_auth(struct bfa_fcs_fabric_s *fabric, fabric 420 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 421 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 425 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_auth_failed); fabric 426 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); fabric 430 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_online); fabric 431 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_notify_online(fabric); fabric 435 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_evfp); fabric 439 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_linkdown); fabric 440 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); fabric 444 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_deleting); fabric 445 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delete(fabric); fabric 449 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 457 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_auth_failed(struct bfa_fcs_fabric_s *fabric, fabric 460 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 461 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 465 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_linkdown); fabric 466 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_notify_offline(fabric); fabric 470 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_deleting); fabric 471 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delete(fabric); fabric 475 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 483 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_loopback(struct bfa_fcs_fabric_s *fabric, fabric 486 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 487 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 491 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_linkdown); fabric 492 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_notify_offline(fabric); fabric 496 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_deleting); fabric 497 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delete(fabric); fabric 501 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 509 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_nofabric(struct bfa_fcs_fabric_s *fabric, fabric 512 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 513 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 517 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_linkdown); fabric 518 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); fabric 519 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_notify_offline(fabric); fabric 523 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_deleting); fabric 524 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delete(fabric); fabric 528 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bb_credit); fabric 529 drivers/scsi/bfa/bfa_fcs.c bfa_fcport_set_tx_bbcredit(fabric->fcs->bfa, fabric 530 drivers/scsi/bfa/bfa_fcs.c fabric->bb_credit); fabric 537 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 545 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_online(struct bfa_fcs_fabric_s *fabric, fabric 548 drivers/scsi/bfa/bfa_fcs.c struct bfa_s *bfa = fabric->fcs->bfa; fabric 550 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 551 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 555 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_linkdown); fabric 557 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_offline(&fabric->bport); fabric 559 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); fabric 560 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_notify_offline(fabric); fabric 565 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_deleting); fabric 566 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delete(fabric); fabric 570 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_stopping); fabric 571 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_stop(fabric); fabric 575 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_auth_failed); fabric 576 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_OFFLINE); fabric 583 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 591 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_evfp(struct bfa_fcs_fabric_s *fabric, fabric 594 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 595 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 599 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_evfp_done); fabric 603 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_isolated); fabric 607 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 615 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_evfp_done(struct bfa_fcs_fabric_s *fabric, fabric 618 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 619 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 626 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_isolated(struct bfa_fcs_fabric_s *fabric, fabric 629 drivers/scsi/bfa/bfa_fcs.c struct bfad_s *bfad = (struct bfad_s *)fabric->fcs->bfad; fabric 632 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 633 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 634 drivers/scsi/bfa/bfa_fcs.c wwn2str(pwwn_ptr, fabric->bport.port_cfg.pwwn); fabric 639 drivers/scsi/bfa/bfa_fcs.c pwwn_ptr, fabric->fcs->port_vfid, fabric 640 drivers/scsi/bfa/bfa_fcs.c fabric->event_arg.swp_vfid); fabric 647 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_deleting(struct bfa_fcs_fabric_s *fabric, fabric 650 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 651 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 655 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_uninit); fabric 656 drivers/scsi/bfa/bfa_fcs.c bfa_wc_down(&fabric->fcs->wc); fabric 663 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_notify_offline(fabric); fabric 667 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 675 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_stopping(struct bfa_fcs_fabric_s *fabric, fabric 678 drivers/scsi/bfa/bfa_fcs.c struct bfa_s *bfa = fabric->fcs->bfa; fabric 680 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 681 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 686 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_created); fabric 688 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_cleanup); fabric 689 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric->lps, BFA_LPS_SM_LOGOUT); fabric 698 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_created); fabric 700 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_cleanup); fabric 704 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 712 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_sm_cleanup(struct bfa_fcs_fabric_s *fabric, fabric 715 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 716 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, event); fabric 721 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_created); fabric 722 drivers/scsi/bfa/bfa_fcs.c bfa_wc_down(&(fabric->fcs)->wc); fabric 733 drivers/scsi/bfa/bfa_fcs.c bfa_sm_fault(fabric->fcs, event); fabric 742 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_init(struct bfa_fcs_fabric_s *fabric) fabric 744 drivers/scsi/bfa/bfa_fcs.c struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; fabric 747 drivers/scsi/bfa/bfa_fcs.c port_cfg->nwwn = fabric->fcs->bfa->ioc.attr->nwwn; fabric 748 drivers/scsi/bfa/bfa_fcs.c port_cfg->pwwn = fabric->fcs->bfa->ioc.attr->pwwn; fabric 755 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_psymb_init(struct bfa_fcs_fabric_s *fabric) fabric 757 drivers/scsi/bfa/bfa_fcs.c struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; fabric 759 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_driver_info_s *driver_info = &fabric->fcs->driver_info; fabric 761 drivers/scsi/bfa/bfa_fcs.c bfa_ioc_get_adapter_model(&fabric->fcs->bfa->ioc, model); fabric 816 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_nsymb_init(struct bfa_fcs_fabric_s *fabric) fabric 818 drivers/scsi/bfa/bfa_fcs.c struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; fabric 820 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_driver_info_s *driver_info = &fabric->fcs->driver_info; fabric 822 drivers/scsi/bfa/bfa_fcs.c bfa_ioc_get_adapter_model(&fabric->fcs->bfa->ioc, model); fabric 856 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric = uarg; fabric 858 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 859 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, status); fabric 863 drivers/scsi/bfa/bfa_fcs.c fabric->stats.flogi_accepts++; fabric 868 drivers/scsi/bfa/bfa_fcs.c fabric->stats.flogi_acc_err++; fabric 869 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_RETRY_OP); fabric 874 drivers/scsi/bfa/bfa_fcs.c switch (fabric->lps->ext_status) { fabric 876 drivers/scsi/bfa/bfa_fcs.c fabric->stats.flogi_acc_err++; fabric 880 drivers/scsi/bfa/bfa_fcs.c fabric->stats.flogi_unknown_rsp++; fabric 886 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_RETRY_OP); fabric 891 drivers/scsi/bfa/bfa_fcs.c fabric->stats.flogi_rejects++; fabric 892 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_RETRY_OP); fabric 896 drivers/scsi/bfa/bfa_fcs.c fabric->stats.flogi_rsp_err++; fabric 897 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_RETRY_OP); fabric 901 drivers/scsi/bfa/bfa_fcs.c fabric->bb_credit = fabric->lps->pr_bbcred; fabric 902 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bb_credit); fabric 904 drivers/scsi/bfa/bfa_fcs.c if (!(fabric->lps->brcd_switch)) fabric 905 drivers/scsi/bfa/bfa_fcs.c fabric->fabric_name = fabric->lps->pr_nwwn; fabric 910 drivers/scsi/bfa/bfa_fcs.c if (fabric->lps->fport) { fabric 911 drivers/scsi/bfa/bfa_fcs.c fabric->bport.pid = fabric->lps->lp_pid; fabric 912 drivers/scsi/bfa/bfa_fcs.c fabric->is_npiv = fabric->lps->npiv_en; fabric 913 drivers/scsi/bfa/bfa_fcs.c fabric->is_auth = fabric->lps->auth_req; fabric 914 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_CONT_OP); fabric 919 drivers/scsi/bfa/bfa_fcs.c fabric->bport.port_topo.pn2n.rem_port_wwn = fabric 920 drivers/scsi/bfa/bfa_fcs.c fabric->lps->pr_pwwn; fabric 921 drivers/scsi/bfa/bfa_fcs.c fabric->fab_type = BFA_FCS_FABRIC_N2N; fabric 922 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_NO_FABRIC); fabric 925 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.pid); fabric 926 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->is_npiv); fabric 927 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->is_auth); fabric 933 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_login(struct bfa_fcs_fabric_s *fabric) fabric 935 drivers/scsi/bfa/bfa_fcs.c struct bfa_s *bfa = fabric->fcs->bfa; fabric 936 drivers/scsi/bfa/bfa_fcs.c struct bfa_lport_cfg_s *pcfg = &fabric->bport.port_cfg; fabric 940 drivers/scsi/bfa/bfa_fcs.c bfa_lps_flogi(fabric->lps, fabric, alpa, bfa_fcport_get_maxfrsize(bfa), fabric 941 drivers/scsi/bfa/bfa_fcs.c pcfg->pwwn, pcfg->nwwn, fabric->auth_reqd); fabric 943 drivers/scsi/bfa/bfa_fcs.c fabric->stats.flogi_sent++; fabric 947 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_notify_online(struct bfa_fcs_fabric_s *fabric) fabric 952 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->fabric_name); fabric 954 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_set_opertype(fabric); fabric 955 drivers/scsi/bfa/bfa_fcs.c fabric->stats.fabric_onlines++; fabric 960 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_online(&fabric->bport); fabric 962 drivers/scsi/bfa/bfa_fcs.c list_for_each_safe(qe, qen, &fabric->vport_q) { fabric 969 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_notify_offline(struct bfa_fcs_fabric_s *fabric) fabric 974 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->fabric_name); fabric 975 drivers/scsi/bfa/bfa_fcs.c fabric->stats.fabric_offlines++; fabric 980 drivers/scsi/bfa/bfa_fcs.c list_for_each_safe(qe, qen, &fabric->vport_q) { fabric 985 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_offline(&fabric->bport); fabric 987 drivers/scsi/bfa/bfa_fcs.c fabric->fabric_name = 0; fabric 988 drivers/scsi/bfa/bfa_fcs.c fabric->fabric_ip_addr[0] = 0; fabric 994 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric = cbarg; fabric 996 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_DELAYED); fabric 1003 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_stop(struct bfa_fcs_fabric_s *fabric) fabric 1008 drivers/scsi/bfa/bfa_fcs.c bfa_wc_init(&fabric->stop_wc, bfa_fcs_fabric_stop_comp, fabric); fabric 1010 drivers/scsi/bfa/bfa_fcs.c list_for_each_safe(qe, qen, &fabric->vport_q) { fabric 1012 drivers/scsi/bfa/bfa_fcs.c bfa_wc_up(&fabric->stop_wc); fabric 1016 drivers/scsi/bfa/bfa_fcs.c bfa_wc_up(&fabric->stop_wc); fabric 1017 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_stop(&fabric->bport); fabric 1018 drivers/scsi/bfa/bfa_fcs.c bfa_wc_wait(&fabric->stop_wc); fabric 1025 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delete(struct bfa_fcs_fabric_s *fabric) fabric 1030 drivers/scsi/bfa/bfa_fcs.c list_for_each_safe(qe, qen, &fabric->vport_q) { fabric 1035 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_delete(&fabric->bport); fabric 1036 drivers/scsi/bfa/bfa_fcs.c bfa_wc_wait(&fabric->wc); fabric 1042 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric = cbarg; fabric 1044 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_DELCOMP); fabric 1050 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric = cbarg; fabric 1052 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_STOPCOMP); fabric 1065 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric; fabric 1068 drivers/scsi/bfa/bfa_fcs.c fabric = &fcs->fabric; fabric 1069 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_STOP); fabric 1078 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric; fabric 1081 drivers/scsi/bfa/bfa_fcs.c fabric = &fcs->fabric; fabric 1082 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_START); fabric 1090 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_link_up(struct bfa_fcs_fabric_s *fabric) fabric 1092 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 1093 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_LINK_UP); fabric 1100 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_link_down(struct bfa_fcs_fabric_s *fabric) fabric 1102 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); fabric 1103 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_LINK_DOWN); fabric 1118 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_addvport(struct bfa_fcs_fabric_s *fabric, fabric 1124 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric->vf_id); fabric 1126 drivers/scsi/bfa/bfa_fcs.c list_add_tail(&vport->qe, &fabric->vport_q); fabric 1127 drivers/scsi/bfa/bfa_fcs.c fabric->num_vports++; fabric 1128 drivers/scsi/bfa/bfa_fcs.c bfa_wc_up(&fabric->wc); fabric 1137 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_delvport(struct bfa_fcs_fabric_s *fabric, fabric 1141 drivers/scsi/bfa/bfa_fcs.c fabric->num_vports--; fabric 1142 drivers/scsi/bfa/bfa_fcs.c bfa_wc_down(&fabric->wc); fabric 1150 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_vport_lookup(struct bfa_fcs_fabric_s *fabric, wwn_t pwwn) fabric 1155 drivers/scsi/bfa/bfa_fcs.c list_for_each(qe, &fabric->vport_q) { fabric 1177 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_get_switch_oui(struct bfa_fcs_fabric_s *fabric) fabric 1183 drivers/scsi/bfa/bfa_fcs.c fab_nwwn = fabric->lps->pr_nwwn; fabric 1194 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_uf_recv(struct bfa_fcs_fabric_s *fabric, struct fchs_s *fchs, fabric 1203 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, len); fabric 1204 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, pid); fabric 1213 drivers/scsi/bfa/bfa_fcs.c (flogi->port_name == bfa_fcs_lport_get_pwwn(&fabric->bport))) { fabric 1214 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_LOOPBACK); fabric 1222 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, pid); fabric 1223 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_process_uf(fabric, fchs, len); fabric 1227 drivers/scsi/bfa/bfa_fcs.c if (fabric->bport.pid == pid) { fabric 1231 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, els_cmd->els_code); fabric 1233 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, els_cmd->els_code); fabric 1237 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, *(u8 *) ((u8 *) fchs)); fabric 1238 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_uf_recv(&fabric->bport, fchs, len); fabric 1245 drivers/scsi/bfa/bfa_fcs.c list_for_each(qe, &fabric->vport_q) { fabric 1253 drivers/scsi/bfa/bfa_fcs.c if (!bfa_fcs_fabric_is_switched(fabric)) fabric 1254 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_uf_recv(&fabric->bport, fchs, len); fabric 1256 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fchs->type); fabric 1263 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_process_uf(struct bfa_fcs_fabric_s *fabric, struct fchs_s *fchs, fabric 1268 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, els_cmd->els_code); fabric 1272 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_process_flogi(fabric, fchs, len); fabric 1287 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_process_flogi(struct bfa_fcs_fabric_s *fabric, fabric 1291 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_lport_s *bport = &fabric->bport; fabric 1293 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fchs->s_id); fabric 1295 drivers/scsi/bfa/bfa_fcs.c fabric->stats.flogi_rcvd++; fabric 1303 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, flogi->port_name); fabric 1304 drivers/scsi/bfa/bfa_fcs.c fabric->stats.flogi_rejected++; fabric 1308 drivers/scsi/bfa/bfa_fcs.c fabric->bb_credit = be16_to_cpu(flogi->csp.bbcred); fabric 1315 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_send_flogi_acc(fabric); fabric 1316 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_NO_FABRIC); fabric 1320 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_send_flogi_acc(struct bfa_fcs_fabric_s *fabric) fabric 1322 drivers/scsi/bfa/bfa_fcs.c struct bfa_lport_cfg_s *pcfg = &fabric->bport.port_cfg; fabric 1323 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_lport_n2n_s *n2n_port = &fabric->bport.port_topo.pn2n; fabric 1324 drivers/scsi/bfa/bfa_fcs.c struct bfa_s *bfa = fabric->fcs->bfa; fabric 1329 drivers/scsi/bfa/bfa_fcs.c fcxp = bfa_fcs_fcxp_alloc(fabric->fcs, BFA_FALSE); fabric 1343 drivers/scsi/bfa/bfa_fcs.c bfa_fcxp_send(fcxp, NULL, fabric->vf_id, fabric->lps->bfa_tag, fabric 1345 drivers/scsi/bfa/bfa_fcs.c reqlen, &fchs, bfa_fcs_fabric_flogiacc_comp, fabric, fabric 1357 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric = cbarg; fabric 1359 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, status); fabric 1370 drivers/scsi/bfa/bfa_fcs.c struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; fabric 1393 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_set_fabric_name(struct bfa_fcs_fabric_s *fabric, fabric 1396 drivers/scsi/bfa/bfa_fcs.c struct bfad_s *bfad = (struct bfad_s *)fabric->fcs->bfad; fabric 1400 drivers/scsi/bfa/bfa_fcs.c bfa_trc(fabric->fcs, fabric_name); fabric 1402 drivers/scsi/bfa/bfa_fcs.c if (fabric->fabric_name == 0) { fabric 1407 drivers/scsi/bfa/bfa_fcs.c fabric->fabric_name = fabric_name; fabric 1409 drivers/scsi/bfa/bfa_fcs.c fabric->fabric_name = fabric_name; fabric 1410 drivers/scsi/bfa/bfa_fcs.c wwn2str(pwwn_ptr, bfa_fcs_lport_get_pwwn(&fabric->bport)); fabric 1412 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_get_fabric_name(&fabric->bport)); fabric 1416 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_aen_post(&fabric->bport, fabric 1424 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric = uarg; fabric 1425 drivers/scsi/bfa/bfa_fcs.c bfa_sm_send_event(fabric, BFA_FCS_FABRIC_SM_LOGOCOMP); fabric 1441 drivers/scsi/bfa/bfa_fcs.c return &fcs->fabric; fabric 1497 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_link_up(&fcs->fabric); fabric 1501 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_link_down(&fcs->fabric); fabric 1528 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric; fabric 1538 drivers/scsi/bfa/bfa_fcs.c fabric = &fcs->fabric; fabric 1540 drivers/scsi/bfa/bfa_fcs.c fabric = bfa_fcs_vf_lookup(fcs, (u16) vft->vf_id); fabric 1545 drivers/scsi/bfa/bfa_fcs.c if (!fabric) { fabric 1561 drivers/scsi/bfa/bfa_fcs.c fabric = &fcs->fabric; fabric 1572 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_fabric_uf_recv(fabric, fchs, len); fabric 1583 drivers/scsi/bfa/bfa_fcs.c struct bfa_fcs_fabric_s *fabric = &fcs->fabric; fabric 1596 drivers/scsi/bfa/bfa_fcs.c memset(fabric, 0, sizeof(struct bfa_fcs_fabric_s)); fabric 1601 drivers/scsi/bfa/bfa_fcs.c fabric->fcs = fcs; fabric 1602 drivers/scsi/bfa/bfa_fcs.c INIT_LIST_HEAD(&fabric->vport_q); fabric 1603 drivers/scsi/bfa/bfa_fcs.c INIT_LIST_HEAD(&fabric->vf_q); fabric 1604 drivers/scsi/bfa/bfa_fcs.c fabric->lps = bfa_lps_alloc(fcs->bfa); fabric 1605 drivers/scsi/bfa/bfa_fcs.c WARN_ON(!fabric->lps); fabric 1611 drivers/scsi/bfa/bfa_fcs.c bfa_wc_init(&fabric->wc, bfa_fcs_fabric_delete_comp, fabric); fabric 1612 drivers/scsi/bfa/bfa_fcs.c bfa_wc_up(&fabric->wc); /* For the base port */ fabric 1614 drivers/scsi/bfa/bfa_fcs.c bfa_sm_set_state(fabric, bfa_fcs_fabric_sm_uninit); fabric 1615 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_lport_attach(&fabric->bport, fabric->fcs, FC_VF_ID_NULL, NULL); fabric 138 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcs_fabric_s *fabric; /* parent fabric */ fabric 273 drivers/scsi/bfa/bfa_fcs.h #define bfa_fcs_lport_get_opertype(_lport) ((_lport)->fabric->oper_type) fabric 274 drivers/scsi/bfa/bfa_fcs.h #define bfa_fcs_lport_get_fabric_name(_lport) ((_lport)->fabric->fabric_name) fabric 276 drivers/scsi/bfa/bfa_fcs.h ((_lport)->fabric->fabric_ip_addr) fabric 697 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcs_fabric_s fabric; /* base fabric state machine */ fabric 804 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_link_up(struct bfa_fcs_fabric_s *fabric); fabric 805 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_link_down(struct bfa_fcs_fabric_s *fabric); fabric 806 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_addvport(struct bfa_fcs_fabric_s *fabric, fabric 808 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_delvport(struct bfa_fcs_fabric_s *fabric, fabric 811 drivers/scsi/bfa/bfa_fcs.h struct bfa_fcs_fabric_s *fabric, wwn_t pwwn); fabric 813 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_uf_recv(struct bfa_fcs_fabric_s *fabric, fabric 815 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_psymb_init(struct bfa_fcs_fabric_s *fabric); fabric 816 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_nsymb_init(struct bfa_fcs_fabric_s *fabric); fabric 817 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_set_fabric_name(struct bfa_fcs_fabric_s *fabric, fabric 819 drivers/scsi/bfa/bfa_fcs.h u16 bfa_fcs_fabric_get_switch_oui(struct bfa_fcs_fabric_s *fabric); fabric 821 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_sm_online(struct bfa_fcs_fabric_s *fabric, fabric 823 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_sm_loopback(struct bfa_fcs_fabric_s *fabric, fabric 825 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_fabric_sm_auth_failed(struct bfa_fcs_fabric_s *fabric, fabric 429 drivers/scsi/bfa/bfa_fcs_fcpim.c aen_entry->aen_data.itnim.vf_id = rport->port->fabric->vf_id; fabric 465 drivers/scsi/bfa/bfa_fcs_fcpim.c bfa_fcxp_send(fcxp, rport->bfa_rport, port->fabric->vf_id, port->lp_tag, fabric 173 drivers/scsi/bfa/bfa_fcs_lport.c bfa_wc_down(&(port->fabric->stop_wc)); fabric 202 drivers/scsi/bfa/bfa_fcs_lport.c __port_action[port->fabric->fab_type].offline(port); fabric 210 drivers/scsi/bfa/bfa_fcs_lport.c bfa_wc_down(&(port->fabric->stop_wc)); fabric 222 drivers/scsi/bfa/bfa_fcs_lport.c __port_action[port->fabric->fab_type].offline(port); fabric 268 drivers/scsi/bfa/bfa_fcs_lport.c bfa_wc_down(&(port->fabric->stop_wc)); fabric 315 drivers/scsi/bfa/bfa_fcs_lport.c bfa_wc_down(&(port->fabric->stop_wc)); fabric 356 drivers/scsi/bfa/bfa_fcs_lport.c struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; fabric 363 drivers/scsi/bfa/bfa_fcs_lport.c aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; fabric 397 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, fabric 431 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, fabric 470 drivers/scsi/bfa/bfa_fcs_lport.c if ((!bfa_fcs_fabric_is_switched(port->fabric)) && fabric 481 drivers/scsi/bfa/bfa_fcs_lport.c bfa_lps_set_n2n_pid(port->fabric->lps, rx_fchs->d_id); fabric 492 drivers/scsi/bfa/bfa_fcs_lport.c if ((!bfa_fcs_fabric_is_switched(port->fabric)) && fabric 496 drivers/scsi/bfa/bfa_fcs_lport.c bfa_lps_set_n2n_pid(port->fabric->lps, rx_fchs->d_id); fabric 576 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, fabric 633 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, fabric 659 drivers/scsi/bfa/bfa_fcs_lport.c bfa_trc(port->fcs, port->fabric->oper_type); fabric 661 drivers/scsi/bfa/bfa_fcs_lport.c __port_action[port->fabric->fab_type].init(port); fabric 662 drivers/scsi/bfa/bfa_fcs_lport.c __port_action[port->fabric->fab_type].online(port); fabric 681 drivers/scsi/bfa/bfa_fcs_lport.c bfa_trc(port->fcs, port->fabric->oper_type); fabric 683 drivers/scsi/bfa/bfa_fcs_lport.c __port_action[port->fabric->fab_type].offline(port); fabric 686 drivers/scsi/bfa/bfa_fcs_lport.c if (bfa_sm_cmp_state(port->fabric, fabric 741 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, fabric 761 drivers/scsi/bfa/bfa_fcs_lport.c bfa_wc_down(&port->fabric->wc); fabric 1078 drivers/scsi/bfa/bfa_fcs_lport.c lport->fabric = bfa_fcs_vf_lookup(fcs, vf_id); fabric 1081 drivers/scsi/bfa/bfa_fcs_lport.c lport->fabric->lps->bfa_tag; fabric 1104 drivers/scsi/bfa/bfa_fcs_lport.c lport->fabric->vf_drv, fabric 1144 drivers/scsi/bfa/bfa_fcs_lport.c if (port->fabric) { fabric 1145 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->port_type = port->fabric->oper_type; fabric 1146 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->loopback = bfa_sm_cmp_state(port->fabric, fabric 1149 drivers/scsi/bfa/bfa_fcs_lport.c bfa_sm_cmp_state(port->fabric, fabric 1162 drivers/scsi/bfa/bfa_fcs_lport.c port->fabric->lps->lp_mac; fabric 1242 drivers/scsi/bfa/bfa_fcs_lport.c bfa_lps_set_n2n_pid(port->fabric->lps, N2N_LOCAL_PID); fabric 1891 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 2224 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 2545 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 2663 drivers/scsi/bfa/bfa_fcs_lport.c hba_attr->fabric_name = port->fabric->lps->pr_nwwn; fabric 2748 drivers/scsi/bfa/bfa_fcs_lport.c port_attr->port_fabric_name = port->fabric->lps->pr_nwwn; fabric 3154 drivers/scsi/bfa/bfa_fcs_lport.c port->fabric->lps->pr_nwwn); fabric 3156 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 3355 drivers/scsi/bfa/bfa_fcs_lport.c port->fabric->lps->pr_nwwn); fabric 3357 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 3395 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcs_fabric_set_fabric_name(port->fabric, *gfn_resp); fabric 3438 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 4403 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 4499 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 4578 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 4676 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 4750 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 4828 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 4911 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 5030 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcs_fabric_s *fabric = port->fabric; fabric 5045 drivers/scsi/bfa/bfa_fcs_lport.c if (gidft_entry->pid == fabric->bport.pid) fabric 5053 drivers/scsi/bfa/bfa_fcs_lport.c list_for_each(qe, &fabric->vport_q) { fabric 5201 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 5393 drivers/scsi/bfa/bfa_fcs_lport.c port->fabric->lps->brcd_switch, fabric 5401 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 5475 drivers/scsi/bfa/bfa_fcs_lport.c bfa_fcxp_send(fcxp, bfa_rport, port->fabric->vf_id, port->lp_tag, fabric 5541 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcs_fabric_s *fabric = port->fabric; fabric 5552 drivers/scsi/bfa/bfa_fcs_lport.c if (rpid == fabric->bport.pid) fabric 5555 drivers/scsi/bfa/bfa_fcs_lport.c list_for_each(qe, &fabric->vport_q) { fabric 5708 drivers/scsi/bfa/bfa_fcs_lport.c return &fcs->fabric.bport; fabric 5897 drivers/scsi/bfa/bfa_fcs_lport.c bfa_trc(port->fcs, port->fabric->fabric_name); fabric 5917 drivers/scsi/bfa/bfa_fcs_lport.c port->fabric->num_vports; fabric 5968 drivers/scsi/bfa/bfa_fcs_lport.c #define __vport_fabric(__vp) ((__vp)->lport.fabric) fabric 5969 drivers/scsi/bfa/bfa_fcs_lport.c #define __vport_vfid(__vp) ((__vp)->lport.fabric->vf_id) fabric 6479 drivers/scsi/bfa/bfa_fcs_lport.c struct bfad_s *bfad = (struct bfad_s *)port->fabric->fcs->bfad; fabric 6486 drivers/scsi/bfa/bfa_fcs_lport.c aen_entry->aen_data.lport.vf_id = port->fabric->vf_id; fabric 6714 drivers/scsi/bfa/bfa_fcs_lport.c if (bfa_fcs_lport_get_pwwn(&fcs->fabric.bport) == vport_cfg->pwwn) fabric 6720 drivers/scsi/bfa/bfa_fcs_lport.c if (fcs->fabric.num_vports == fabric 6870 drivers/scsi/bfa/bfa_fcs_lport.c struct bfa_fcs_fabric_s *fabric; fabric 6875 drivers/scsi/bfa/bfa_fcs_lport.c fabric = bfa_fcs_vf_lookup(fcs, vf_id); fabric 6876 drivers/scsi/bfa/bfa_fcs_lport.c if (!fabric) { fabric 6881 drivers/scsi/bfa/bfa_fcs_lport.c vport = bfa_fcs_fabric_vport_lookup(fabric, vpwwn); fabric 636 drivers/scsi/bfa/bfa_fcs_rport.c if (bfa_fcs_fabric_is_switched(rport->port->fabric)) { fabric 1145 drivers/scsi/bfa/bfa_fcs_rport.c if (bfa_fcs_fabric_is_switched(rport->port->fabric)) { fabric 1218 drivers/scsi/bfa/bfa_fcs_rport.c if (bfa_fcs_fabric_is_switched(rport->port->fabric)) { fabric 1718 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 1840 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 1870 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 1940 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 2091 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 2125 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 2195 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 2232 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 2267 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, fabric 2287 drivers/scsi/bfa/bfa_fcs_rport.c rport_info.vf_id = port->fabric->vf_id; fabric 2288 drivers/scsi/bfa/bfa_fcs_rport.c rport_info.vf_en = port->fabric->is_vf; fabric 2411 drivers/scsi/bfa/bfa_fcs_rport.c aen_entry->aen_data.rport.vf_id = rport->port->fabric->vf_id; fabric 2551 drivers/scsi/bfa/bfa_fcs_rport.c bfa_trc(port->fcs, port->fabric->bb_credit); fabric 2560 drivers/scsi/bfa/bfa_fcs_rport.c if ((!bfa_fcs_fabric_is_switched(port->fabric)) && fabric 2561 drivers/scsi/bfa/bfa_fcs_rport.c (be16_to_cpu(plogi->csp.bbcred) < port->fabric->bb_credit)) { fabric 2564 drivers/scsi/bfa/bfa_fcs_rport.c bfa_trc(port->fcs, port->fabric->bb_credit); fabric 2566 drivers/scsi/bfa/bfa_fcs_rport.c port->fabric->bb_credit = be16_to_cpu(plogi->csp.bbcred); fabric 2568 drivers/scsi/bfa/bfa_fcs_rport.c port->fabric->bb_credit); fabric 2932 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, rport->bfa_rport, port->fabric->vf_id, fabric 2959 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, fabric 3144 drivers/scsi/bfa/bfa_fcs_rport.c struct bfa_fcs_fabric_s *fabric = &rport->fcs->fabric; fabric 3154 drivers/scsi/bfa/bfa_fcs_rport.c ((rport->port->fabric->lps->brcd_switch) || fabric 3155 drivers/scsi/bfa/bfa_fcs_rport.c (bfa_fcs_fabric_get_switch_oui(fabric) == fabric 3333 drivers/scsi/bfa/bfa_fcs_rport.c if (bfa_fcs_fabric_is_switched(rport->port->fabric)) fabric 3386 drivers/scsi/bfa/bfa_fcs_rport.c bfa_fcxp_send(fcxp, NULL, port->fabric->vf_id, port->lp_tag, BFA_FALSE, fabric 121 drivers/scsi/bfa/bfad_attr.c bfa_fcs_lport_get_attr(&bfad->bfa_fcs.fabric.bport, &port_attr); fabric 836 drivers/scsi/bfa/bfad_attr.c bfa_fcs_lport_get_attr(&bfad->bfa_fcs.fabric.bport, &port_attr); fabric 299 drivers/scsi/bfa/bfad_bsg.c bfa_fcs_lport_get_attr(&bfad->bfa_fcs.fabric.bport, &port_attr); fabric 1049 drivers/scsi/bfa/bfad_im.c strlcpy(symname, bfad->bfa_fcs.fabric.bport.port_cfg.sym_name.symname, fabric 815 drivers/scsi/csiostor/csio_lnode.c memcpy(fcf_info->fabric, rsp->fabric, sizeof(fcf_info->fabric)); fabric 74 drivers/scsi/csiostor/csio_lnode.h uint8_t fabric[8]; fabric 518 drivers/scsi/csiostor/t4fw_api_stor.h u8 fabric[8]; fabric 2036 drivers/scsi/ipr.c struct ipr_hostrcb_fabric_desc *fabric) fabric 2039 drivers/scsi/ipr.c u8 path_state = fabric->path_state; fabric 2051 drivers/scsi/ipr.c if (fabric->cascaded_expander == 0xff && fabric->phy == 0xff) { fabric 2054 drivers/scsi/ipr.c fabric->ioa_port); fabric 2055 drivers/scsi/ipr.c } else if (fabric->cascaded_expander == 0xff) { fabric 2058 drivers/scsi/ipr.c fabric->ioa_port, fabric->phy); fabric 2059 drivers/scsi/ipr.c } else if (fabric->phy == 0xff) { fabric 2062 drivers/scsi/ipr.c fabric->ioa_port, fabric->cascaded_expander); fabric 2066 drivers/scsi/ipr.c fabric->ioa_port, fabric->cascaded_expander, fabric->phy); fabric 2073 drivers/scsi/ipr.c fabric->ioa_port, fabric->cascaded_expander, fabric->phy); fabric 2085 drivers/scsi/ipr.c struct ipr_hostrcb64_fabric_desc *fabric) fabric 2088 drivers/scsi/ipr.c u8 path_state = fabric->path_state; fabric 2104 drivers/scsi/ipr.c fabric->res_path, fabric 2111 drivers/scsi/ipr.c ipr_format_res_path(hostrcb->ioa_cfg, fabric->res_path, fabric 2281 drivers/scsi/ipr.c struct ipr_hostrcb_fabric_desc *fabric; fabric 2293 drivers/scsi/ipr.c for (i = 0, fabric = error->desc; i < error->num_entries; i++) { fabric 2294 drivers/scsi/ipr.c ipr_log_fabric_path(hostrcb, fabric); fabric 2295 drivers/scsi/ipr.c for_each_fabric_cfg(fabric, cfg) fabric 2298 drivers/scsi/ipr.c add_len -= be16_to_cpu(fabric->length); fabric 2299 drivers/scsi/ipr.c fabric = (struct ipr_hostrcb_fabric_desc *) fabric 2300 drivers/scsi/ipr.c ((unsigned long)fabric + be16_to_cpu(fabric->length)); fabric 2303 drivers/scsi/ipr.c ipr_log_hex_data(ioa_cfg, (__be32 *)fabric, add_len); fabric 2374 drivers/scsi/ipr.c struct ipr_hostrcb64_fabric_desc *fabric; fabric 2387 drivers/scsi/ipr.c for (i = 0, fabric = error->desc; i < error->num_entries; i++) { fabric 2388 drivers/scsi/ipr.c ipr_log64_fabric_path(hostrcb, fabric); fabric 2389 drivers/scsi/ipr.c for_each_fabric_cfg(fabric, cfg) fabric 2392 drivers/scsi/ipr.c add_len -= be16_to_cpu(fabric->length); fabric 2393 drivers/scsi/ipr.c fabric = (struct ipr_hostrcb64_fabric_desc *) fabric 2394 drivers/scsi/ipr.c ((unsigned long)fabric + be16_to_cpu(fabric->length)); fabric 2397 drivers/scsi/ipr.c ipr_log_hex_data(ioa_cfg, (__be32 *)fabric, add_len); fabric 1106 drivers/scsi/ipr.h #define for_each_fabric_cfg(fabric, cfg) \ fabric 1107 drivers/scsi/ipr.h for (cfg = (fabric)->elem; \ fabric 1108 drivers/scsi/ipr.h cfg < ((fabric)->elem + be16_to_cpu((fabric)->num_entries)); \ fabric 56 sound/aoa/aoa.h struct aoa_fabric *fabric; fabric 99 sound/aoa/aoa.h aoa_fabric_register(struct aoa_fabric *fabric, struct device *dev); fabric 105 sound/aoa/aoa.h aoa_fabric_unregister(struct aoa_fabric *fabric); fabric 20 sound/aoa/core/core.c static struct aoa_fabric *fabric; fabric 31 sound/aoa/core/core.c if (fabric->found_codec) fabric 32 sound/aoa/core/core.c err = fabric->found_codec(c); fabric 39 sound/aoa/core/core.c c->fabric = fabric; fabric 46 sound/aoa/core/core.c c->fabric = NULL; fabric 47 sound/aoa/core/core.c if (fabric->remove_codec) fabric 48 sound/aoa/core/core.c fabric->remove_codec(c); fabric 52 sound/aoa/core/core.c if (fabric->attached_codec) fabric 53 sound/aoa/core/core.c fabric->attached_codec(c); fabric 64 sound/aoa/core/core.c if (fabric) fabric 75 sound/aoa/core/core.c if (codec->fabric && codec->exit) fabric 77 sound/aoa/core/core.c if (fabric && fabric->remove_codec) fabric 78 sound/aoa/core/core.c fabric->remove_codec(codec); fabric 79 sound/aoa/core/core.c codec->fabric = NULL; fabric 91 sound/aoa/core/core.c if (new_fabric == fabric) { fabric 95 sound/aoa/core/core.c if (fabric) fabric 104 sound/aoa/core/core.c fabric = new_fabric; fabric 108 sound/aoa/core/core.c if (c->fabric != fabric) fabric 119 sound/aoa/core/core.c if (fabric != old_fabric) fabric 123 sound/aoa/core/core.c if (c->fabric) fabric 129 sound/aoa/core/core.c fabric = NULL; fabric 135 sound/aoa/core/core.c if (!codec->fabric) { fabric 143 sound/aoa/core/core.c if (codec->fabric->remove_codec) fabric 144 sound/aoa/core/core.c codec->fabric->remove_codec(codec); fabric 145 sound/aoa/core/core.c codec->fabric = NULL;