Lines Matching refs:ib_device
53 int ehca_query_device(struct ib_device *ibdev, struct ib_device_attr *props) in ehca_query_device()
57 ib_device); in ehca_query_device()
76 ehca_err(&shca->ib_device, "Can't allocate rblock memory."); in ehca_query_device()
81 ehca_err(&shca->ib_device, "Can't query device properties"); in ehca_query_device()
156 ehca_err(&shca->ib_device, "Unknown MTU size: %x.", in map_mtu()
176 ehca_err(&shca->ib_device, "invalid Vl Capability: %x.", in map_number_of_vls()
182 int ehca_query_port(struct ib_device *ibdev, in ehca_query_port()
188 ib_device); in ehca_query_port()
193 ehca_err(&shca->ib_device, "Can't allocate rblock memory."); in ehca_query_port()
199 ehca_err(&shca->ib_device, "Can't query port properties"); in ehca_query_port()
254 ehca_err(&shca->ib_device, "Can't allocate rblock memory."); in ehca_query_sma_attr()
260 ehca_err(&shca->ib_device, "Can't query port properties"); in ehca_query_sma_attr()
281 int ehca_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) in ehca_query_pkey()
288 shca = container_of(ibdev, struct ehca_shca, ib_device); in ehca_query_pkey()
290 ehca_err(&shca->ib_device, "Invalid index: %x.", index); in ehca_query_pkey()
296 ehca_err(&shca->ib_device, "Can't allocate rblock memory."); in ehca_query_pkey()
302 ehca_err(&shca->ib_device, "Can't query port properties"); in ehca_query_pkey()
315 int ehca_query_gid(struct ib_device *ibdev, u8 port, in ehca_query_gid()
321 ib_device); in ehca_query_gid()
325 ehca_err(&shca->ib_device, "Invalid index: %x.", index); in ehca_query_gid()
331 ehca_err(&shca->ib_device, "Can't allocate rblock memory."); in ehca_query_gid()
337 ehca_err(&shca->ib_device, "Can't query port properties"); in ehca_query_gid()
356 int ehca_modify_port(struct ib_device *ibdev, in ehca_modify_port()
366 shca = container_of(ibdev, struct ehca_shca, ib_device); in ehca_modify_port()
369 ehca_err(&shca->ib_device, "Non-changeable bits set in masks " in ehca_modify_port()
380 ehca_err(&shca->ib_device, "Can't allocate rblock memory."); in ehca_modify_port()
387 ehca_err(&shca->ib_device, "Can't query port properties"); in ehca_modify_port()
398 ehca_err(&shca->ib_device, "Modify port failed h_ret=%lli", in ehca_modify_port()