Lines Matching refs:port_id

186 	u32 port_id;  in bnx2fc_send_session_ofld_req()  local
243 port_id = fc_host_port_id(lport->host); in bnx2fc_send_session_ofld_req()
244 if (port_id == 0) { in bnx2fc_send_session_ofld_req()
254 tgt->sid = port_id; in bnx2fc_send_session_ofld_req()
255 ofld_req3.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req()
256 ofld_req3.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req()
257 ofld_req3.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_ofld_req()
259 port_id = rport->port_id; in bnx2fc_send_session_ofld_req()
260 ofld_req3.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req()
261 ofld_req3.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req()
262 ofld_req3.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_ofld_req()
368 u32 port_id; in bnx2fc_send_session_enable_req() local
392 port_id = fc_host_port_id(lport->host); in bnx2fc_send_session_enable_req()
393 if (port_id != tgt->sid) { in bnx2fc_send_session_enable_req()
395 "sid = 0x%x\n", port_id, tgt->sid); in bnx2fc_send_session_enable_req()
396 port_id = tgt->sid; in bnx2fc_send_session_enable_req()
398 enbl_req.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_enable_req()
399 enbl_req.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_enable_req()
400 enbl_req.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_enable_req()
402 port_id = rport->port_id; in bnx2fc_send_session_enable_req()
403 enbl_req.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_enable_req()
404 enbl_req.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_enable_req()
405 enbl_req.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_enable_req()
437 u32 port_id; in bnx2fc_send_session_disable_req() local
459 port_id = tgt->sid; in bnx2fc_send_session_disable_req()
460 disable_req.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_disable_req()
461 disable_req.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_disable_req()
462 disable_req.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_disable_req()
465 port_id = rport->port_id; in bnx2fc_send_session_disable_req()
466 disable_req.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_disable_req()
467 disable_req.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_disable_req()
468 disable_req.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_disable_req()