• Home
  • Raw
  • Download

Lines Matching refs:logio

2384 qla24xx_prli_iocb(srb_t *sp, struct logio_entry_24xx *logio)  in qla24xx_prli_iocb()  argument
2388 logio->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_prli_iocb()
2389 logio->control_flags = cpu_to_le16(LCF_COMMAND_PRLI); in qla24xx_prli_iocb()
2390 if (lio->u.logio.flags & SRB_LOGIN_NVME_PRLI) { in qla24xx_prli_iocb()
2391 logio->control_flags |= cpu_to_le16(LCF_NVME_PRLI); in qla24xx_prli_iocb()
2393 logio->io_parameter[0] = in qla24xx_prli_iocb()
2397 logio->io_parameter[0] |= in qla24xx_prli_iocb()
2400 logio->io_parameter[0] |= in qla24xx_prli_iocb()
2403 logio->io_parameter[0] |= in qla24xx_prli_iocb()
2408 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_prli_iocb()
2409 logio->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_prli_iocb()
2410 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_prli_iocb()
2411 logio->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_prli_iocb()
2412 logio->vp_index = sp->vha->vp_idx; in qla24xx_prli_iocb()
2416 qla24xx_login_iocb(srb_t *sp, struct logio_entry_24xx *logio) in qla24xx_login_iocb() argument
2420 logio->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_login_iocb()
2421 logio->control_flags = cpu_to_le16(LCF_COMMAND_PLOGI); in qla24xx_login_iocb()
2423 if (lio->u.logio.flags & SRB_LOGIN_PRLI_ONLY) { in qla24xx_login_iocb()
2424 logio->control_flags = cpu_to_le16(LCF_COMMAND_PRLI); in qla24xx_login_iocb()
2426 logio->control_flags = cpu_to_le16(LCF_COMMAND_PLOGI); in qla24xx_login_iocb()
2427 if (lio->u.logio.flags & SRB_LOGIN_COND_PLOGI) in qla24xx_login_iocb()
2428 logio->control_flags |= cpu_to_le16(LCF_COND_PLOGI); in qla24xx_login_iocb()
2429 if (lio->u.logio.flags & SRB_LOGIN_SKIP_PRLI) in qla24xx_login_iocb()
2430 logio->control_flags |= cpu_to_le16(LCF_SKIP_PRLI); in qla24xx_login_iocb()
2431 if (lio->u.logio.flags & SRB_LOGIN_FCSP) { in qla24xx_login_iocb()
2432 logio->control_flags |= in qla24xx_login_iocb()
2434 logio->io_parameter[0] = in qla24xx_login_iocb()
2438 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_login_iocb()
2439 logio->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_login_iocb()
2440 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_login_iocb()
2441 logio->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_login_iocb()
2442 logio->vp_index = sp->vha->vp_idx; in qla24xx_login_iocb()
2455 opts = lio->u.logio.flags & SRB_LOGIN_COND_PLOGI ? BIT_0 : 0; in qla2x00_login_iocb()
2456 opts |= lio->u.logio.flags & SRB_LOGIN_SKIP_PRLI ? BIT_1 : 0; in qla2x00_login_iocb()
2470 qla24xx_logout_iocb(srb_t *sp, struct logio_entry_24xx *logio) in qla24xx_logout_iocb() argument
2473 logio->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_logout_iocb()
2484 logio->control_flags = cpu_to_le16(control_flags); in qla24xx_logout_iocb()
2485 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_logout_iocb()
2486 logio->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_logout_iocb()
2487 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_logout_iocb()
2488 logio->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_logout_iocb()
2489 logio->vp_index = sp->vha->vp_idx; in qla24xx_logout_iocb()
2511 qla24xx_adisc_iocb(srb_t *sp, struct logio_entry_24xx *logio) in qla24xx_adisc_iocb() argument
2513 logio->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_adisc_iocb()
2514 logio->control_flags = cpu_to_le16(LCF_COMMAND_ADISC); in qla24xx_adisc_iocb()
2515 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_adisc_iocb()
2516 logio->vp_index = sp->vha->vp_idx; in qla24xx_adisc_iocb()
3813 qla24xx_prlo_iocb(srb_t *sp, struct logio_entry_24xx *logio) in qla24xx_prlo_iocb() argument
3815 logio->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_prlo_iocb()
3816 logio->control_flags = in qla24xx_prlo_iocb()
3819 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_prlo_iocb()
3820 logio->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_prlo_iocb()
3821 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_prlo_iocb()
3822 logio->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_prlo_iocb()
3823 logio->vp_index = sp->fcport->vha->vp_idx; in qla24xx_prlo_iocb()