Lines Matching refs:logio
2383 qla24xx_prli_iocb(srb_t *sp, struct logio_entry_24xx *logio) in qla24xx_prli_iocb() argument
2387 logio->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_prli_iocb()
2388 logio->control_flags = cpu_to_le16(LCF_COMMAND_PRLI); in qla24xx_prli_iocb()
2389 if (lio->u.logio.flags & SRB_LOGIN_NVME_PRLI) { in qla24xx_prli_iocb()
2390 logio->control_flags |= cpu_to_le16(LCF_NVME_PRLI); in qla24xx_prli_iocb()
2392 logio->io_parameter[0] = in qla24xx_prli_iocb()
2396 logio->io_parameter[0] |= in qla24xx_prli_iocb()
2399 logio->io_parameter[0] |= in qla24xx_prli_iocb()
2402 logio->io_parameter[0] |= in qla24xx_prli_iocb()
2407 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_prli_iocb()
2408 logio->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_prli_iocb()
2409 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_prli_iocb()
2410 logio->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_prli_iocb()
2411 logio->vp_index = sp->vha->vp_idx; in qla24xx_prli_iocb()
2415 qla24xx_login_iocb(srb_t *sp, struct logio_entry_24xx *logio) in qla24xx_login_iocb() argument
2419 logio->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_login_iocb()
2420 logio->control_flags = cpu_to_le16(LCF_COMMAND_PLOGI); in qla24xx_login_iocb()
2422 if (lio->u.logio.flags & SRB_LOGIN_PRLI_ONLY) { in qla24xx_login_iocb()
2423 logio->control_flags = cpu_to_le16(LCF_COMMAND_PRLI); in qla24xx_login_iocb()
2425 logio->control_flags = cpu_to_le16(LCF_COMMAND_PLOGI); in qla24xx_login_iocb()
2426 if (lio->u.logio.flags & SRB_LOGIN_COND_PLOGI) in qla24xx_login_iocb()
2427 logio->control_flags |= cpu_to_le16(LCF_COND_PLOGI); in qla24xx_login_iocb()
2428 if (lio->u.logio.flags & SRB_LOGIN_SKIP_PRLI) in qla24xx_login_iocb()
2429 logio->control_flags |= cpu_to_le16(LCF_SKIP_PRLI); in qla24xx_login_iocb()
2430 if (lio->u.logio.flags & SRB_LOGIN_FCSP) { in qla24xx_login_iocb()
2431 logio->control_flags |= in qla24xx_login_iocb()
2433 logio->io_parameter[0] = in qla24xx_login_iocb()
2437 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_login_iocb()
2438 logio->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_login_iocb()
2439 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_login_iocb()
2440 logio->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_login_iocb()
2441 logio->vp_index = sp->vha->vp_idx; in qla24xx_login_iocb()
2454 opts = lio->u.logio.flags & SRB_LOGIN_COND_PLOGI ? BIT_0 : 0; in qla2x00_login_iocb()
2455 opts |= lio->u.logio.flags & SRB_LOGIN_SKIP_PRLI ? BIT_1 : 0; in qla2x00_login_iocb()
2469 qla24xx_logout_iocb(srb_t *sp, struct logio_entry_24xx *logio) in qla24xx_logout_iocb() argument
2472 logio->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_logout_iocb()
2483 logio->control_flags = cpu_to_le16(control_flags); in qla24xx_logout_iocb()
2484 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_logout_iocb()
2485 logio->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_logout_iocb()
2486 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_logout_iocb()
2487 logio->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_logout_iocb()
2488 logio->vp_index = sp->vha->vp_idx; in qla24xx_logout_iocb()
2510 qla24xx_adisc_iocb(srb_t *sp, struct logio_entry_24xx *logio) in qla24xx_adisc_iocb() argument
2512 logio->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_adisc_iocb()
2513 logio->control_flags = cpu_to_le16(LCF_COMMAND_ADISC); in qla24xx_adisc_iocb()
2514 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_adisc_iocb()
2515 logio->vp_index = sp->vha->vp_idx; in qla24xx_adisc_iocb()
3835 qla24xx_prlo_iocb(srb_t *sp, struct logio_entry_24xx *logio) in qla24xx_prlo_iocb() argument
3837 logio->entry_type = LOGINOUT_PORT_IOCB_TYPE; in qla24xx_prlo_iocb()
3838 logio->control_flags = in qla24xx_prlo_iocb()
3841 logio->nport_handle = cpu_to_le16(sp->fcport->loop_id); in qla24xx_prlo_iocb()
3842 logio->port_id[0] = sp->fcport->d_id.b.al_pa; in qla24xx_prlo_iocb()
3843 logio->port_id[1] = sp->fcport->d_id.b.area; in qla24xx_prlo_iocb()
3844 logio->port_id[2] = sp->fcport->d_id.b.domain; in qla24xx_prlo_iocb()
3845 logio->vp_index = sp->fcport->vha->vp_idx; in qla24xx_prlo_iocb()