Home
last modified time | relevance | path

Searched refs:rec_type (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/include/rdma/
Dib_sa.h188 enum sa_path_rec_type rec_type; member
194 switch (rec->rec_type) { in sa_conv_pathrec_to_gid_type()
267 if (src->rec_type != SA_PATH_REC_TYPE_OPA) in sa_convert_path_opa_to_ib()
271 dest->rec_type = SA_PATH_REC_TYPE_IB; in sa_convert_path_opa_to_ib()
279 if (src->rec_type != SA_PATH_REC_TYPE_IB) in sa_convert_path_ib_to_opa()
284 dest->rec_type = SA_PATH_REC_TYPE_OPA; in sa_convert_path_ib_to_opa()
529 return ((rec->rec_type == SA_PATH_REC_TYPE_ROCE_V1) || in sa_path_is_roce()
530 (rec->rec_type == SA_PATH_REC_TYPE_ROCE_V2)); in sa_path_is_roce()
535 return (rec->rec_type == SA_PATH_REC_TYPE_OPA); in sa_path_is_opa()
540 if (rec->rec_type == SA_PATH_REC_TYPE_IB) in sa_path_set_slid()
[all …]
/Linux-v5.15/drivers/infiniband/core/
Duverbs_marshall.c166 if (src->rec_type == SA_PATH_REC_TYPE_OPA) { in ib_copy_path_rec_to_user()
183 dst->rec_type = SA_PATH_REC_TYPE_OPA; in ib_copy_path_rec_from_user()
187 dst->rec_type = SA_PATH_REC_TYPE_IB; in ib_copy_path_rec_from_user()
Dsa_query.c1429 rec.rec_type = SA_PATH_REC_TYPE_OPA; in ib_sa_path_rec_callback()
1435 rec.rec_type = SA_PATH_REC_TYPE_IB; in ib_sa_path_rec_callback()
1508 if ((rec->rec_type != SA_PATH_REC_TYPE_IB) && in ib_sa_path_rec_get()
1509 (rec->rec_type != SA_PATH_REC_TYPE_OPA)) in ib_sa_path_rec_get()
1520 if (rec->rec_type == SA_PATH_REC_TYPE_OPA) { in ib_sa_path_rec_get()
Dcm.c1323 if (pri_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1402 if (alt_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1626 path->rec_type = SA_PATH_REC_TYPE_OPA; in cm_path_set_rec_type()
1628 path->rec_type = SA_PATH_REC_TYPE_IB; in cm_path_set_rec_type()
1637 if (primary_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
1657 if (alt_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
2136 work->path[0].rec_type = in cm_req_handler()
2147 work->path[1].rec_type = work->path[0].rec_type; in cm_req_handler()
3237 if (path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_lap()
Daddr.c757 rec->rec_type != SA_PATH_REC_TYPE_ROCE_V2) in roce_resolve_route_from_path()
Ducma.c929 if (rec->rec_type == SA_PATH_REC_TYPE_OPA) { in ucma_query_path()
1316 sa_path.rec_type = SA_PATH_REC_TYPE_IB; in ucma_set_ib_path()
Dcma.c2722 path_rec.rec_type = SA_PATH_REC_TYPE_OPA; in cma_query_ib_route()
2724 path_rec.rec_type = SA_PATH_REC_TYPE_IB; in cma_query_ib_route()
2916 route->path_rec->rec_type = sa_conv_gid_to_pathrec_type(gid_type); in cma_iboe_set_path_rec_l2_fields()
/Linux-v5.15/drivers/input/touchscreen/
Diqs5xx.c711 u8 rec_len, rec_type, rec_chksm, chksm; in iqs5xx_fw_file_parse() local
756 rec_type = *(rec_hdr + sizeof(rec_len) + sizeof(rec_addr)); in iqs5xx_fw_file_parse()
795 switch (rec_type) { in iqs5xx_fw_file_parse()
825 } while (rec_type != IQS5XX_REC_TYPE_EOF); in iqs5xx_fw_file_parse()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h305 MLXSW_ITEM32_INDEXED(reg, sfd, rec_type, MLXSW_REG_SFD_BASE_LEN, 20, 4,
392 enum mlxsw_reg_sfd_rec_type rec_type, in mlxsw_reg_sfd_rec_pack() argument
401 mlxsw_reg_sfd_rec_type_set(payload, rec_index, rec_type); in mlxsw_reg_sfd_rec_pack()
661 MLXSW_ITEM32_INDEXED(reg, sfn, rec_type, MLXSW_REG_SFN_BASE_LEN, 20, 4,
3465 MLXSW_ITEM32_INDEXED(reg, iedr, rec_type, MLXSW_REG_IEDR_BASE_LEN, 24, 8,
3488 u8 rec_type, u16 rec_size, in mlxsw_reg_iedr_rec_pack() argument
3495 mlxsw_reg_iedr_rec_type_set(payload, rec_index, rec_type); in mlxsw_reg_iedr_rec_pack()
7932 MLXSW_ITEM32_INDEXED(reg, rauhtd, rec_type, MLXSW_REG_RAUHTD_BASE_LEN, 24, 2,
/Linux-v5.15/drivers/infiniband/ulp/ipoib/
Dipoib_main.c867 path->pathrec.rec_type = SA_PATH_REC_TYPE_OPA; in init_path_rec()
869 path->pathrec.rec_type = SA_PATH_REC_TYPE_IB; in init_path_rec()
/Linux-v5.15/drivers/infiniband/ulp/srp/
Dib_srp.c323 ch->ib_cm.path.rec_type = SA_PATH_REC_TYPE_OPA; in srp_new_ib_cm_id()
325 ch->ib_cm.path.rec_type = SA_PATH_REC_TYPE_IB; in srp_new_ib_cm_id()
/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_hbadisc.c7066 lpfc_get_rec_conf23(uint8_t *buff, uint32_t size, uint8_t rec_type) in lpfc_get_rec_conf23() argument
7082 if (buff[offset] == rec_type) in lpfc_get_rec_conf23()