Home
last modified time | relevance | path

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

/linux/include/rdma/
H A Dib_sa.h188 enum sa_path_rec_type rec_type; member
209 switch (rec->rec_type) { in sa_conv_pathrec_to_gid_type()
282 if (src->rec_type != SA_PATH_REC_TYPE_OPA) in sa_convert_path_opa_to_ib()
286 dest->rec_type = SA_PATH_REC_TYPE_IB; in sa_convert_path_opa_to_ib()
294 if (src->rec_type != SA_PATH_REC_TYPE_IB) in sa_convert_path_ib_to_opa()
299 dest->rec_type = SA_PATH_REC_TYPE_OPA; in sa_convert_path_ib_to_opa()
567 return ((rec->rec_type == SA_PATH_REC_TYPE_ROCE_V1) || in sa_path_is_roce()
568 (rec->rec_type == SA_PATH_REC_TYPE_ROCE_V2)); in sa_path_is_roce()
573 return (rec->rec_type == SA_PATH_REC_TYPE_OPA); in sa_path_is_opa()
578 if (rec->rec_type == SA_PATH_REC_TYPE_IB) in sa_path_set_slid()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_dbg.c710 enum dr_dump_rec_type rec_type; in dr_dump_matcher_rx_tx() local
714 rec_type = is_rx ? DR_DUMP_REC_TYPE_MATCHER_RX : in dr_dump_matcher_rx_tx()
721 rec_type, DR_DBG_PTR_TO_ID(matcher_rx_tx), in dr_dump_matcher_rx_tx()
810 enum dr_dump_rec_type rec_type; in dr_dump_table_rx_tx() local
814 rec_type = is_rx ? DR_DUMP_REC_TYPE_TABLE_RX : in dr_dump_table_rx_tx()
819 "%d,0x%llx,0x%llx\n", rec_type, table_id, in dr_dump_table_rx_tx()
/linux/drivers/input/touchscreen/
H A Diqs5xx.c712 u8 rec_len, rec_type, rec_chksm, chksm; in iqs5xx_fw_file_parse() local
757 rec_type = *(rec_hdr + sizeof(rec_len) + sizeof(rec_addr)); in iqs5xx_fw_file_parse()
796 switch (rec_type) { in iqs5xx_fw_file_parse()
826 } while (rec_type != IQS5XX_REC_TYPE_EOF); in iqs5xx_fw_file_parse()
/linux/drivers/infiniband/core/
H A Duverbs_marshall.c166 if (src->rec_type == SA_PATH_REC_TYPE_OPA) { in ib_copy_path_rec_to_user()
H A Dsa_query.c989 recs[num_prs].rec_type = SA_PATH_REC_TYPE_IB; in ib_nl_process_good_resolve_rsp()
1538 rec.rec_type = SA_PATH_REC_TYPE_OPA; in ib_sa_path_rec_callback()
1545 rec.rec_type = SA_PATH_REC_TYPE_IB; in ib_sa_path_rec_callback()
1685 if ((rec->rec_type != SA_PATH_REC_TYPE_IB) && in ib_sa_path_rec_get()
1686 (rec->rec_type != SA_PATH_REC_TYPE_OPA)) in ib_sa_path_rec_get()
1697 if (rec->rec_type == SA_PATH_REC_TYPE_OPA) { in ib_sa_path_rec_get()
H A Dcm.c1348 if (pri_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1434 if (alt_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1659 path->rec_type = SA_PATH_REC_TYPE_OPA; in cm_path_set_rec_type()
1661 path->rec_type = SA_PATH_REC_TYPE_IB; in cm_path_set_rec_type()
1671 if (primary_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
1689 if (alt_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
2168 work->path[0].rec_type = in cm_req_handler()
2179 work->path[1].rec_type = work->path[0].rec_type; in cm_req_handler()
3243 if (path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_lap()
H A Daddr.c732 rec->rec_type != SA_PATH_REC_TYPE_ROCE_V2) in roce_resolve_route_from_path()
H A Ducma.c960 if (rec->rec_type == SA_PATH_REC_TYPE_OPA) { in ucma_query_path()
1387 sa_path.rec_type = SA_PATH_REC_TYPE_IB; in ucma_set_ib_path()
H A Dcma.c2963 path_rec.rec_type = SA_PATH_REC_TYPE_OPA; in cma_query_ib_route()
2965 path_rec.rec_type = SA_PATH_REC_TYPE_IB; in cma_query_ib_route()
3157 route->path_rec->rec_type = sa_conv_gid_to_pathrec_type(gid_type); in cma_iboe_set_path_rec_l2_fields()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dreg.h250 MLXSW_ITEM32_INDEXED(reg, sfd, rec_type, MLXSW_REG_SFD_BASE_LEN, 20, 4,
358 enum mlxsw_reg_sfd_rec_type rec_type, in mlxsw_reg_sfd_rec_pack() argument
367 mlxsw_reg_sfd_rec_type_set(payload, rec_index, rec_type); in mlxsw_reg_sfd_rec_pack()
650 MLXSW_ITEM32_INDEXED(reg, sfn, rec_type, MLXSW_REG_SFN_BASE_LEN, 20, 4,
3793 MLXSW_ITEM32_INDEXED(reg, iedr, rec_type, MLXSW_REG_IEDR_BASE_LEN, 24, 8,
3816 u8 rec_type, u16 rec_size, in mlxsw_reg_iedr_rec_pack() argument
3823 mlxsw_reg_iedr_rec_type_set(payload, rec_index, rec_type); in mlxsw_reg_iedr_rec_pack()
8494 MLXSW_ITEM32_INDEXED(reg, rauhtd, rec_type, MLXSW_REG_RAUHTD_BASE_LEN, 24, 2,
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c908 path->pathrec.rec_type = SA_PATH_REC_TYPE_OPA; in init_path_rec()
910 path->pathrec.rec_type = SA_PATH_REC_TYPE_IB; in init_path_rec()
/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c319 ch->ib_cm.path.rec_type = SA_PATH_REC_TYPE_OPA; in srp_new_ib_cm_id()
321 ch->ib_cm.path.rec_type = SA_PATH_REC_TYPE_IB; in srp_new_ib_cm_id()
/linux/drivers/scsi/lpfc/
H A Dlpfc_hbadisc.c7107 lpfc_get_rec_conf23(uint8_t *buff, uint32_t size, uint8_t rec_type) in lpfc_get_rec_conf23() argument
7123 if (buff[offset] == rec_type) in lpfc_get_rec_conf23()