Home
last modified time | relevance | path

Searched refs:rec_type (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/include/rdma/
H A 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()
556 return ((rec->rec_type == SA_PATH_REC_TYPE_ROCE_V1) || in sa_path_is_roce()
557 (rec->rec_type == SA_PATH_REC_TYPE_ROCE_V2)); in sa_path_is_roce()
562 return (rec->rec_type == SA_PATH_REC_TYPE_OPA); in sa_path_is_opa()
567 if (rec->rec_type in sa_path_set_slid()
[all...]
/kernel/linux/linux-6.6/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 in sa_path_set_slid()
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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.c1478 rec.rec_type = SA_PATH_REC_TYPE_OPA; in ib_sa_path_rec_callback()
1484 rec.rec_type = SA_PATH_REC_TYPE_IB; in ib_sa_path_rec_callback()
1557 if ((rec->rec_type != SA_PATH_REC_TYPE_IB) && in ib_sa_path_rec_get()
1558 (rec->rec_type != SA_PATH_REC_TYPE_OPA)) in ib_sa_path_rec_get()
1569 if (rec->rec_type == SA_PATH_REC_TYPE_OPA) { in ib_sa_path_rec_get()
H A Dcm.c1345 if (pri_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1424 if (alt_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1639 path->rec_type = SA_PATH_REC_TYPE_OPA; in cm_path_set_rec_type()
1641 path->rec_type = SA_PATH_REC_TYPE_IB; in cm_path_set_rec_type()
1651 if (primary_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
1669 if (alt_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
2154 work->path[0].rec_type = in cm_req_handler()
2164 work->path[1].rec_type = work->path[0].rec_type; in cm_req_handler()
3253 if (path->rec_type ! in cm_format_path_lid_from_lap()
[all...]
H A Daddr.c757 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.c2693 path_rec.rec_type = SA_PATH_REC_TYPE_OPA; in cma_query_ib_route()
2695 path_rec.rec_type = SA_PATH_REC_TYPE_IB; in cma_query_ib_route()
2887 route->path_rec->rec_type = sa_conv_gid_to_pathrec_type(gid_type); in cma_iboe_set_path_rec_l2_fields()
/kernel/linux/linux-6.6/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.c1310 if (pri_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1396 if (alt_path->rec_type == SA_PATH_REC_TYPE_OPA) in cm_format_req()
1623 path->rec_type = SA_PATH_REC_TYPE_OPA; in cm_path_set_rec_type()
1625 path->rec_type = SA_PATH_REC_TYPE_IB; in cm_path_set_rec_type()
1635 if (primary_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
1653 if (alt_path->rec_type != SA_PATH_REC_TYPE_OPA) { in cm_format_path_lid_from_req()
2132 work->path[0].rec_type = in cm_req_handler()
2143 work->path[1].rec_type = work->path[0].rec_type; in cm_req_handler()
3237 if (path->rec_type ! in cm_format_path_lid_from_lap()
[all...]
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.c2933 path_rec.rec_type = SA_PATH_REC_TYPE_OPA; in cma_query_ib_route()
2935 path_rec.rec_type = SA_PATH_REC_TYPE_IB; in cma_query_ib_route()
3127 route->path_rec->rec_type = sa_conv_gid_to_pathrec_type(gid_type); in cma_iboe_set_path_rec_l2_fields()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Diqs5xx.c763 u8 rec_len, rec_type, rec_chksm, chksm; in iqs5xx_fw_file_parse() local
808 rec_type = *(rec_hdr + sizeof(rec_len) + sizeof(rec_addr)); in iqs5xx_fw_file_parse()
847 switch (rec_type) { in iqs5xx_fw_file_parse()
877 } while (rec_type != IQS5XX_REC_TYPE_EOF); in iqs5xx_fw_file_parse()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
401 mlxsw_reg_sfd_rec_type_set(payload, rec_index, rec_type); in mlxsw_reg_sfd_rec_pack()
654 MLXSW_ITEM32_INDEXED(reg, sfn, rec_type, MLXSW_REG_SFN_BASE_LEN, 20, 4,
3199 MLXSW_ITEM32_INDEXED(reg, iedr, rec_type, MLXSW_REG_IEDR_BASE_LEN, 24, 8,
3222 u8 rec_type, u16 rec_size, in mlxsw_reg_iedr_rec_pack()
3229 mlxsw_reg_iedr_rec_type_set(payload, rec_index, rec_type); in mlxsw_reg_iedr_rec_pack()
7664 MLXSW_ITEM32_INDEXED(reg, rauhtd, rec_type, MLXSW_REG_RAUHTD_BASE_LEN, 24, 2,
391 mlxsw_reg_sfd_rec_pack(char *payload, int rec_index, enum mlxsw_reg_sfd_rec_type rec_type, const char *mac, enum mlxsw_reg_sfd_rec_action action) mlxsw_reg_sfd_rec_pack() argument
3221 mlxsw_reg_iedr_rec_pack(char *payload, int rec_index, u8 rec_type, u16 rec_size, u32 rec_index_start) mlxsw_reg_iedr_rec_pack() argument
/kernel/linux/linux-6.6/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()
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()
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,
357 mlxsw_reg_sfd_rec_pack(char *payload, int rec_index, enum mlxsw_reg_sfd_rec_type rec_type, const char *mac, enum mlxsw_reg_sfd_rec_action action) mlxsw_reg_sfd_rec_pack() argument
3743 mlxsw_reg_iedr_rec_pack(char *payload, int rec_index, u8 rec_type, u16 rec_size, u32 rec_index_start) mlxsw_reg_iedr_rec_pack() argument
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
H A Dipoib_main.c863 path->pathrec.rec_type = SA_PATH_REC_TYPE_OPA; in init_path_rec()
865 path->pathrec.rec_type = SA_PATH_REC_TYPE_IB; in init_path_rec()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srp/
H A 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_hbadisc.c7012 * @rec_type: Record type to be searched.
7019 lpfc_get_rec_conf23(uint8_t *buff, uint32_t size, uint8_t rec_type) in lpfc_get_rec_conf23() argument
7035 if (buff[offset] == rec_type) in lpfc_get_rec_conf23()
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_hbadisc.c7196 * @rec_type: Record type to be searched.
7203 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()

Completed in 104 milliseconds