Lines Matching refs:port_id
184 u32 port_id; in bnx2fc_send_session_ofld_req() local
241 port_id = fc_host_port_id(lport->host); in bnx2fc_send_session_ofld_req()
242 if (port_id == 0) { in bnx2fc_send_session_ofld_req()
252 tgt->sid = port_id; in bnx2fc_send_session_ofld_req()
253 ofld_req3.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req()
254 ofld_req3.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req()
255 ofld_req3.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_ofld_req()
257 port_id = rport->port_id; in bnx2fc_send_session_ofld_req()
258 ofld_req3.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req()
259 ofld_req3.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req()
260 ofld_req3.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_ofld_req()
366 u32 port_id; in bnx2fc_send_session_enable_req() local
390 port_id = fc_host_port_id(lport->host); in bnx2fc_send_session_enable_req()
391 if (port_id != tgt->sid) { in bnx2fc_send_session_enable_req()
393 "sid = 0x%x\n", port_id, tgt->sid); in bnx2fc_send_session_enable_req()
394 port_id = tgt->sid; in bnx2fc_send_session_enable_req()
396 enbl_req.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_enable_req()
397 enbl_req.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_enable_req()
398 enbl_req.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_enable_req()
400 port_id = rport->port_id; in bnx2fc_send_session_enable_req()
401 enbl_req.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_enable_req()
402 enbl_req.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_enable_req()
403 enbl_req.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_enable_req()
435 u32 port_id; in bnx2fc_send_session_disable_req() local
457 port_id = tgt->sid; in bnx2fc_send_session_disable_req()
458 disable_req.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_disable_req()
459 disable_req.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_disable_req()
460 disable_req.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_disable_req()
463 port_id = rport->port_id; in bnx2fc_send_session_disable_req()
464 disable_req.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_disable_req()
465 disable_req.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_disable_req()
466 disable_req.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_disable_req()