Home
last modified time | relevance | path

Searched refs:ib_lid_cpu16 (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_mad.c205 u16 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : be16_to_cpu(IB_LID_PERMISSIVE); in mthca_process_mad()
249 prev_lid = ib_lid_cpu16(pattr.lid); in mthca_process_mad()
Dmthca_cmd.c1918 MTHCA_PUT(inbox, ib_lid_cpu16(in_wc->slid), MAD_IFC_RLID_OFFSET); in mthca_MAD_IFC()
1926 in_modifier |= ib_lid_cpu16(in_wc->slid) << 16; in mthca_MAD_IFC()
/linux-6.1.9/drivers/infiniband/core/
Duverbs_std_types_device.c160 resp->lid = ib_lid_cpu16(attr->lid); in copy_port_attr_to_resp()
161 resp->sm_lid = ib_lid_cpu16(attr->sm_lid); in copy_port_attr_to_resp()
Duverbs_cmd.c1165 tmp.slid = ib_lid_cpu16(wc->slid); in copy_wc_to_user()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dcq.c90 uqueue[head].slid = ib_lid_cpu16(entry->slid); in rvt_cq_enter()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmad.c257 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : in mlx5_ib_process_mad()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dmad.c172 in_modifier |= ib_lid_cpu16(in_wc->slid) << 16; in mlx4_MAD_IFC()
830 slid = in_wc ? ib_lid_cpu16(in_wc->slid) : be16_to_cpu(IB_LID_PERMISSIVE); in ib_process_mad()
864 prev_lid = ib_lid_cpu16(pattr.lid); in ib_process_mad()
/linux-6.1.9/include/rdma/
Dib_verbs.h4624 static inline u16 ib_lid_cpu16(u32 lid) in ib_lid_cpu16() function