Lines Matching refs:ibdev
45 struct ib_device *ibdev; member
102 ret = ib_query_port(p->ibdev, p->port_num, &attr); in state_show()
117 ret = ib_query_port(p->ibdev, p->port_num, &attr); in lid_show()
131 ret = ib_query_port(p->ibdev, p->port_num, &attr); in lid_mask_count_show()
144 ret = ib_query_port(p->ibdev, p->port_num, &attr); in sm_lid_show()
157 ret = ib_query_port(p->ibdev, p->port_num, &attr); in sm_sl_show()
170 ret = ib_query_port(p->ibdev, p->port_num, &attr); in cap_mask_show()
185 ret = ib_query_port(p->ibdev, p->port_num, &attr); in rate_show()
232 ret = ib_query_port(p->ibdev, p->port_num, &attr); in phys_state_show()
251 switch (rdma_port_get_link_layer(p->ibdev, p->port_num)) { in link_layer_show()
292 ret = ib_query_gid(p->ibdev, p->port_num, tab_attr->index, &gid, NULL); in show_port_gid()
307 ret = ib_query_pkey(p->ibdev, p->port_num, tab_attr->index, &pkey); in show_port_pkey()
333 if (!p->ibdev->process_mad) in show_pma_counter()
351 if ((p->ibdev->process_mad(p->ibdev, IB_MAD_IGNORE_MKEY, in show_pma_counter()
520 p->ibdev = device; in add_port()