Home
last modified time | relevance | path

Searched refs:rhba (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/scsi/libfc/
H A Dfc_encode.h36 struct fc_fdmi_rhba rhba; member
232 put_unaligned_be64(lport->wwpn, &ct->payload.rhba.hbaid.id); in fc_ct_ms_fill()
234 put_unaligned_be32(1, &ct->payload.rhba.port.numport); in fc_ct_ms_fill()
237 &ct->payload.rhba.port.port[0].portname); in fc_ct_ms_fill()
241 &ct->payload.rhba.hba_attrs.numattrs); in fc_ct_ms_fill()
242 hba_attrs = &ct->payload.rhba.hba_attrs; in fc_ct_ms_fill()
/linux/drivers/scsi/qla2xxx/
H A Dqla_gs.c2174 memcpy(ct_req->req.rhba.hba_identifier, vha->port_name, in qla2x00_fdmi_rhba()
2175 sizeof(ct_req->req.rhba.hba_identifier)); in qla2x00_fdmi_rhba()
2176 size += sizeof(ct_req->req.rhba.hba_identifier); in qla2x00_fdmi_rhba()
2178 ct_req->req.rhba.entry_count = cpu_to_be32(1); in qla2x00_fdmi_rhba()
2179 size += sizeof(ct_req->req.rhba.entry_count); in qla2x00_fdmi_rhba()
2181 memcpy(ct_req->req.rhba.port_name, vha->port_name, in qla2x00_fdmi_rhba()
2182 sizeof(ct_req->req.rhba.port_name)); in qla2x00_fdmi_rhba()
2183 size += sizeof(ct_req->req.rhba.port_name); in qla2x00_fdmi_rhba()
2186 ct_req->req.rhba.attrs.count = cpu_to_be32(count); in qla2x00_fdmi_rhba()
2187 size += sizeof(ct_req->req.rhba.attrs.count); in qla2x00_fdmi_rhba()
[all …]
H A Dqla_def.h3144 } rhba; member
/linux/drivers/scsi/fnic/
H A Dfdls_fc.h195 struct fc_fdmi_rhba rhba; member
H A Dfdls_disc.c1886 put_unaligned_be64(iport->wwpn, &prhba->rhba.hbaid.id); in fdls_fdmi_register_hba()
1887 put_unaligned_be32(FNIC_FDMI_NUM_PORTS, &prhba->rhba.port.numport); in fdls_fdmi_register_hba()
1888 put_unaligned_be64(iport->wwpn, &prhba->rhba.port.port[0].portname); in fdls_fdmi_register_hba()
1890 &prhba->rhba.hba_attrs.numattrs); in fdls_fdmi_register_hba()
1892 fdmi_attr = prhba->rhba.hba_attrs.attr; in fdls_fdmi_register_hba()
/linux/drivers/scsi/bfa/
H A Dbfa_fcs_lport.c1860 struct fdmi_rhba_s *rhba = (struct fdmi_rhba_s *) pyld; in bfa_fcs_lport_fdmi_build_rhba_pyld() local
1875 rhba->hba_id = bfa_fcs_lport_get_pwwn(port); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1876 rhba->port_list.num_ports = cpu_to_be32(1); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1877 rhba->port_list.port_entry = bfa_fcs_lport_get_pwwn(port); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1879 len = sizeof(rhba->hba_id) + sizeof(rhba->port_list); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1882 len += sizeof(rhba->hba_attr_blk.attr_count); in bfa_fcs_lport_fdmi_build_rhba_pyld()
1887 curr_ptr = (u8 *) &rhba->hba_attr_blk.hba_attr; in bfa_fcs_lport_fdmi_build_rhba_pyld()
2109 rhba->hba_attr_blk.attr_count = cpu_to_be32(count); in bfa_fcs_lport_fdmi_build_rhba_pyld()