Lines Matching refs:port_id
185 u32 port_id; in bnx2fc_send_session_ofld_req() local
242 port_id = fc_host_port_id(lport->host); in bnx2fc_send_session_ofld_req()
243 if (port_id == 0) { in bnx2fc_send_session_ofld_req()
253 tgt->sid = port_id; in bnx2fc_send_session_ofld_req()
254 ofld_req3.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req()
255 ofld_req3.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req()
256 ofld_req3.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_ofld_req()
258 port_id = rport->port_id; in bnx2fc_send_session_ofld_req()
259 ofld_req3.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_ofld_req()
260 ofld_req3.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_ofld_req()
261 ofld_req3.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_ofld_req()
367 u32 port_id; in bnx2fc_send_session_enable_req() local
391 port_id = fc_host_port_id(lport->host); in bnx2fc_send_session_enable_req()
392 if (port_id != tgt->sid) { in bnx2fc_send_session_enable_req()
394 "sid = 0x%x\n", port_id, tgt->sid); in bnx2fc_send_session_enable_req()
395 port_id = tgt->sid; in bnx2fc_send_session_enable_req()
397 enbl_req.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_enable_req()
398 enbl_req.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_enable_req()
399 enbl_req.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_enable_req()
401 port_id = rport->port_id; in bnx2fc_send_session_enable_req()
402 enbl_req.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_enable_req()
403 enbl_req.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_enable_req()
404 enbl_req.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_enable_req()
436 u32 port_id; in bnx2fc_send_session_disable_req() local
458 port_id = tgt->sid; in bnx2fc_send_session_disable_req()
459 disable_req.s_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_disable_req()
460 disable_req.s_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_disable_req()
461 disable_req.s_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_disable_req()
464 port_id = rport->port_id; in bnx2fc_send_session_disable_req()
465 disable_req.d_id[0] = (port_id & 0x000000FF); in bnx2fc_send_session_disable_req()
466 disable_req.d_id[1] = (port_id & 0x0000FF00) >> 8; in bnx2fc_send_session_disable_req()
467 disable_req.d_id[2] = (port_id & 0x00FF0000) >> 16; in bnx2fc_send_session_disable_req()