Home
last modified time | relevance | path

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

/openbmc/linux/include/rdma/
H A Dib_sa.h188 enum sa_path_rec_type rec_type; member
195 switch (rec->rec_type) { in sa_conv_pathrec_to_gid_type()
268 if (src->rec_type != SA_PATH_REC_TYPE_OPA) in sa_convert_path_opa_to_ib()
272 dest->rec_type = SA_PATH_REC_TYPE_IB; in sa_convert_path_opa_to_ib()
280 if (src->rec_type != SA_PATH_REC_TYPE_IB) in sa_convert_path_ib_to_opa()
285 dest->rec_type = SA_PATH_REC_TYPE_OPA; in sa_convert_path_ib_to_opa()
530 return ((rec->rec_type == SA_PATH_REC_TYPE_ROCE_V1) || in sa_path_is_roce()
531 (rec->rec_type == SA_PATH_REC_TYPE_ROCE_V2)); in sa_path_is_roce()
536 return (rec->rec_type == SA_PATH_REC_TYPE_OPA); in sa_path_is_opa()
541 if (rec->rec_type == SA_PATH_REC_TYPE_IB) in sa_path_set_slid()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_dbg.c406 enum dr_dump_rec_type rec_type; in dr_dump_matcher_rx_tx() local
410 rec_type = is_rx ? DR_DUMP_REC_TYPE_MATCHER_RX : in dr_dump_matcher_rx_tx()
416 rec_type, DR_DBG_PTR_TO_ID(matcher_rx_tx), in dr_dump_matcher_rx_tx()
489 enum dr_dump_rec_type rec_type; in dr_dump_table_rx_tx() local
492 rec_type = is_rx ? DR_DUMP_REC_TYPE_TABLE_RX : in dr_dump_table_rx_tx()
496 seq_printf(file, "%d,0x%llx,0x%llx\n", rec_type, table_id, in dr_dump_table_rx_tx()
/openbmc/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()
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()
H A Dsa_query.c928 recs[num_prs].rec_type = SA_PATH_REC_TYPE_IB; in ib_nl_process_good_resolve_rsp()
1461 rec.rec_type = SA_PATH_REC_TYPE_OPA; in ib_sa_path_rec_callback()
1468 rec.rec_type = SA_PATH_REC_TYPE_IB; in ib_sa_path_rec_callback()
1538 if ((rec->rec_type != SA_PATH_REC_TYPE_IB) && in ib_sa_path_rec_get()
1539 (rec->rec_type != SA_PATH_REC_TYPE_OPA)) in ib_sa_path_rec_get()
1550 if (rec->rec_type == SA_PATH_REC_TYPE_OPA) { in ib_sa_path_rec_get()
H A Dcm.c1331 if (pri_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1417 if (alt_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1644 path->rec_type = SA_PATH_REC_TYPE_OPA; in cm_path_set_rec_type()
1646 path->rec_type = SA_PATH_REC_TYPE_IB; in cm_path_set_rec_type()
1656 if (primary_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
1674 if (alt_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
2153 work->path[0].rec_type = in cm_req_handler()
2164 work->path[1].rec_type = work->path[0].rec_type; in cm_req_handler()
3258 if (path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_lap()
H A Daddr.c756 rec->rec_type != SA_PATH_REC_TYPE_ROCE_V2) in roce_resolve_route_from_path()
H A Ducma.c932 if (rec->rec_type == SA_PATH_REC_TYPE_OPA) { in ucma_query_path()
1319 sa_path.rec_type = SA_PATH_REC_TYPE_IB; in ucma_set_ib_path()
H A Dcma.c2935 path_rec.rec_type = SA_PATH_REC_TYPE_OPA; in cma_query_ib_route()
2937 path_rec.rec_type = SA_PATH_REC_TYPE_IB; in cma_query_ib_route()
3129 route->path_rec->rec_type = sa_conv_gid_to_pathrec_type(gid_type); in cma_iboe_set_path_rec_l2_fields()
/openbmc/qemu/hw/ppc/
H A Dpnv_bmc.c104 if (sdr->header.rec_type != IPMI_SDR_COMPACT_TYPE && in pnv_dt_bmc_sensors()
105 sdr->header.rec_type != IPMI_SDR_FULL_TYPE) { in pnv_dt_bmc_sensors()
/openbmc/linux/drivers/input/touchscreen/
H A 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()
/openbmc/qemu/include/hw/ipmi/
H A Dipmi.h220 uint8_t rec_type; member
/openbmc/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,
3721 MLXSW_ITEM32_INDEXED(reg, iedr, rec_type, MLXSW_REG_IEDR_BASE_LEN, 24, 8,
3744 u8 rec_type, u16 rec_size, in mlxsw_reg_iedr_rec_pack() argument
3751 mlxsw_reg_iedr_rec_type_set(payload, rec_index, rec_type); in mlxsw_reg_iedr_rec_pack()
8419 MLXSW_ITEM32_INDEXED(reg, rauhtd, rec_type, MLXSW_REG_RAUHTD_BASE_LEN, 24, 2,
/openbmc/linux/drivers/infiniband/ulp/ipoib/
H A 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()
/openbmc/qemu/hw/ipmi/
H A Dipmi_bmc_sim.c571 if (sdr->header.rec_type != IPMI_SDR_COMPACT_TYPE) { in ipmi_init_sensors_from_sdrs()
/openbmc/linux/drivers/infiniband/ulp/srp/
H A Dib_srp.c318 ch->ib_cm.path.rec_type = SA_PATH_REC_TYPE_OPA; in srp_new_ib_cm_id()
320 ch->ib_cm.path.rec_type = SA_PATH_REC_TYPE_IB; in srp_new_ib_cm_id()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_hbadisc.c7203 lpfc_get_rec_conf23(uint8_t *buff, uint32_t size, uint8_t rec_type) in lpfc_get_rec_conf23() argument
7219 if (buff[offset] == rec_type) in lpfc_get_rec_conf23()