Lines Matching refs:ib_device
348 struct ib_device *device;
359 struct ib_device *device;
714 struct ib_device *device;
816 struct ib_device *device;
846 struct ib_device *device;
852 struct ib_device *device;
860 struct ib_device *device;
870 struct ib_device *device;
879 struct ib_device *device;
892 struct ib_device *device;
901 struct ib_device *device;
908 struct ib_device *device;
942 int (*mapping_error)(struct ib_device *dev,
944 u64 (*map_single)(struct ib_device *dev,
947 void (*unmap_single)(struct ib_device *dev,
950 u64 (*map_page)(struct ib_device *dev,
954 void (*unmap_page)(struct ib_device *dev,
957 int (*map_sg)(struct ib_device *dev,
960 void (*unmap_sg)(struct ib_device *dev,
963 u64 (*dma_address)(struct ib_device *dev,
965 unsigned int (*dma_len)(struct ib_device *dev,
967 void (*sync_single_for_cpu)(struct ib_device *dev,
971 void (*sync_single_for_device)(struct ib_device *dev,
975 void *(*alloc_coherent)(struct ib_device *dev,
979 void (*free_coherent)(struct ib_device *dev,
986 struct ib_device {
1006 int (*get_protocol_stats)(struct ib_device *device,
1008 int (*query_device)(struct ib_device *device,
1010 int (*query_port)(struct ib_device *device,
1013 int (*query_gid)(struct ib_device *device,
1016 int (*query_pkey)(struct ib_device *device,
1018 int (*modify_device)(struct ib_device *device,
1021 int (*modify_port)(struct ib_device *device,
1024 struct ib_ucontext * (*alloc_ucontext)(struct ib_device *device,
1029 struct ib_pd * (*alloc_pd)(struct ib_device *device,
1071 struct ib_cq * (*create_cq)(struct ib_device *device, int cqe,
1104 struct ib_fast_reg_page_list * (*alloc_fast_reg_page_list)(struct ib_device *device,
1133 int (*process_mad)(struct ib_device *device,
1166 void (*add) (struct ib_device *);
1167 void (*remove)(struct ib_device *);
1172 struct ib_device *ib_alloc_device(size_t size);
1173 void ib_dealloc_device(struct ib_device *device);
1175 int ib_register_device(struct ib_device *device,
1176 int (*port_callback)(struct ib_device *,
1178 void ib_unregister_device(struct ib_device *device);
1183 void *ib_get_client_data(struct ib_device *device, struct ib_client *client);
1184 void ib_set_client_data(struct ib_device *device, struct ib_client *client,
1219 int ib_query_device(struct ib_device *device,
1222 int ib_query_port(struct ib_device *device,
1225 int ib_query_gid(struct ib_device *device,
1228 int ib_query_pkey(struct ib_device *device,
1231 int ib_modify_device(struct ib_device *device,
1235 int ib_modify_port(struct ib_device *device,
1239 int ib_find_gid(struct ib_device *device, union ib_gid *gid,
1242 int ib_find_pkey(struct ib_device *device,
1252 struct ib_pd *ib_alloc_pd(struct ib_device *device);
1281 int ib_init_ah_from_wc(struct ib_device *device, u8 port_num, struct ib_wc *wc,
1480 struct ib_cq *ib_create_cq(struct ib_device *device,
1603 static inline int ib_dma_mapping_error(struct ib_device *dev, u64 dma_addr)
1617 static inline u64 ib_dma_map_single(struct ib_device *dev,
1633 static inline void ib_dma_unmap_single(struct ib_device *dev,
1643 static inline u64 ib_dma_map_single_attrs(struct ib_device *dev,
1652 static inline void ib_dma_unmap_single_attrs(struct ib_device *dev,
1669 static inline u64 ib_dma_map_page(struct ib_device *dev,
1687 static inline void ib_dma_unmap_page(struct ib_device *dev,
1704 static inline int ib_dma_map_sg(struct ib_device *dev,
1720 static inline void ib_dma_unmap_sg(struct ib_device *dev,
1730 static inline int ib_dma_map_sg_attrs(struct ib_device *dev,
1738 static inline void ib_dma_unmap_sg_attrs(struct ib_device *dev,
1750 static inline u64 ib_sg_dma_address(struct ib_device *dev,
1763 static inline unsigned int ib_sg_dma_len(struct ib_device *dev,
1778 static inline void ib_dma_sync_single_for_cpu(struct ib_device *dev,
1796 static inline void ib_dma_sync_single_for_device(struct ib_device *dev,
1814 static inline void *ib_dma_alloc_coherent(struct ib_device *dev,
1838 static inline void ib_dma_free_coherent(struct ib_device *dev,
1935 struct ib_device *device, int page_list_len);