Lines Matching refs:cma_dev
78 struct cma_device *cma_dev;
83 cma_dev = cma_enum_devices_by_ibdev(filter_by_name,
85 if (!cma_dev)
88 *pcma_dev = cma_dev;
94 static void cma_configfs_params_put(struct cma_device *cma_dev)
96 cma_dev_put(cma_dev);
102 struct cma_device *cma_dev;
107 ret = cma_configfs_params_get(item, &cma_dev, &group);
111 gid_type = cma_get_default_gid_type(cma_dev, group->port_num);
112 cma_configfs_params_put(cma_dev);
123 struct cma_device *cma_dev;
128 ret = cma_configfs_params_get(item, &cma_dev, &group);
134 cma_configfs_params_put(cma_dev);
138 ret = cma_set_default_gid_type(cma_dev, group->port_num, gid_type);
140 cma_configfs_params_put(cma_dev);
149 struct cma_device *cma_dev;
154 ret = cma_configfs_params_get(item, &cma_dev, &group);
158 tos = cma_get_default_roce_tos(cma_dev, group->port_num);
159 cma_configfs_params_put(cma_dev);
167 struct cma_device *cma_dev;
176 ret = cma_configfs_params_get(item, &cma_dev, &group);
180 ret = cma_set_default_roce_tos(cma_dev, group->port_num, tos);
181 cma_configfs_params_put(cma_dev);
200 struct cma_device *cma_dev)
207 ibdev = cma_get_ib_dev(cma_dev);
281 struct cma_device *cma_dev = cma_enum_devices_by_ibdev(filter_by_name,
285 if (!cma_dev)
300 err = make_cma_ports(cma_dev_group, cma_dev);
309 cma_dev_put(cma_dev);
313 if (cma_dev)
314 cma_dev_put(cma_dev);