/linux-2.6.39/drivers/net/mlx4/ |
D | intf.c | 48 static void mlx4_add_device(struct mlx4_interface *intf, struct mlx4_priv *priv) in mlx4_add_device() 67 static void mlx4_remove_device(struct mlx4_interface *intf, struct mlx4_priv *priv) in mlx4_remove_device() 85 struct mlx4_priv *priv; in mlx4_register_interface() 104 struct mlx4_priv *priv; in mlx4_unregister_interface() 119 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_dispatch_event() 134 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_register_device() 151 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_unregister_device() 167 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_protocol_dev()
|
D | pd.c | 48 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_pd_alloc() 60 mlx4_bitmap_free(&mlx4_priv(dev)->pd_bitmap, pdn); in mlx4_pd_free() 66 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_pd_table() 74 mlx4_bitmap_cleanup(&mlx4_priv(dev)->pd_bitmap); in mlx4_cleanup_pd_table() 80 uar->index = mlx4_bitmap_alloc(&mlx4_priv(dev)->uar_table.bitmap); in mlx4_uar_alloc() 93 mlx4_bitmap_free(&mlx4_priv(dev)->uar_table.bitmap, uar->index); in mlx4_uar_free() 99 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_bf_alloc() 169 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_bf_free() 202 return mlx4_bitmap_init(&mlx4_priv(dev)->uar_table.bitmap, in mlx4_init_uar_table() 209 mlx4_bitmap_cleanup(&mlx4_priv(dev)->uar_table.bitmap); in mlx4_cleanup_uar_table()
|
D | cmd.c | 146 u32 status = readl(mlx4_priv(dev)->cmd.hcr + HCR_STATUS_OFFSET); in cmd_pending() 149 (mlx4_priv(dev)->cmd.toggle == in cmd_pending() 157 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_post() 215 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_poll() 253 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_event() 271 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_cmd_wait() 315 if (mlx4_priv(dev)->cmd.use_events) in __mlx4_cmd() 326 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_init() 353 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_cleanup() 365 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cmd_use_events() [all …]
|
D | catas.c | 54 struct mlx4_priv *priv = mlx4_priv(dev); in dump_err_buf() 67 struct mlx4_priv *priv = mlx4_priv(dev); in poll_catas() 88 struct mlx4_priv *priv, *tmppriv; in catas_reset() 115 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_start_catas_poll() 141 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_stop_catas_poll()
|
D | sense.c | 67 struct mlx4_sense *sense = &mlx4_priv(dev)->sense; in mlx4_do_sense_ports() 110 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_sense_port() 130 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_start_sense() 142 cancel_delayed_work_sync(&mlx4_priv(dev)->sense.sense_poll); in mlx4_stop_sense() 147 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_sense_init()
|
D | eq.c | 215 mlx4_priv(dev)->sense.do_sense_port[port] = 1; in mlx4_eq_int() 219 mlx4_priv(dev)->sense.do_sense_port[port] = 0; in mlx4_eq_int() 269 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_interrupt() 326 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_get_eq_uar() 349 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_create_eq() 460 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_free_eq() 498 struct mlx4_eq_table *eq_table = &mlx4_priv(dev)->eq_table; in mlx4_free_irqs() 499 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_free_irqs() 530 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_map_clr_int() 544 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_unmap_clr_int() [all …]
|
D | qp.c | 45 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; in mlx4_qp_event() 151 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_qp_reserve_range() 166 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_qp_release_range() 177 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_qp_alloc() 239 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; in mlx4_qp_remove() 250 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; in mlx4_qp_free() 272 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; in mlx4_init_qp_table() 327 mlx4_bitmap_cleanup(&mlx4_priv(dev)->qp_table.bitmap); in mlx4_cleanup_qp_table()
|
D | mr.c | 184 struct mlx4_mr_table *mr_table = &mlx4_priv(dev)->mr_table; in mlx4_alloc_mtt_range() 225 struct mlx4_mr_table *mr_table = &mlx4_priv(dev)->mr_table; in mlx4_mtt_cleanup() 269 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_mr_alloc() 294 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_mr_free() 312 struct mlx4_mr_table *mr_table = &mlx4_priv(dev)->mr_table; in mlx4_mr_enable() 383 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_write_mtt_chunk() 464 struct mlx4_mr_table *mr_table = &mlx4_priv(dev)->mr_table; in mlx4_init_mr_table() 499 struct mlx4_mr_table *mr_table = &mlx4_priv(dev)->mr_table; in mlx4_cleanup_mr_table() 582 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_fmr_alloc() 623 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_fmr_enable()
|
D | cq.c | 80 cq = radix_tree_lookup(&mlx4_priv(dev)->cq_table.tree, in mlx4_cq_completion() 94 struct mlx4_cq_table *cq_table = &mlx4_priv(dev)->cq_table; in mlx4_cq_event() 194 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cq_alloc() 276 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_cq_free() 301 struct mlx4_cq_table *cq_table = &mlx4_priv(dev)->cq_table; in mlx4_init_cq_table() 318 mlx4_bitmap_cleanup(&mlx4_priv(dev)->cq_table.bitmap); in mlx4_cleanup_cq_table()
|
D | main.c | 246 mlx4_priv(dev)->sense.sense_allowed[i] = in mlx4_dev_cap() 347 struct mlx4_priv *priv = mlx4_priv(mdev); in set_port_type() 413 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_load_fw() 448 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_cmpt_table() 506 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_init_icm() 704 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_free_icms() 727 struct mlx4_priv *priv = mlx4_priv(dev); in map_bf_area() 743 if (mlx4_priv(dev)->bf_mapping) in unmap_bf_area() 744 io_mapping_free(mlx4_priv(dev)->bf_mapping); in unmap_bf_area() 753 mlx4_free_icm(dev, mlx4_priv(dev)->fw.fw_icm, 0); in mlx4_close_hca() [all …]
|
D | mcg.c | 89 struct mlx4_steer *s_steer = &mlx4_priv(dev)->steer[pf_num]; in get_promisc_qp() 120 s_steer = &mlx4_priv(dev)->steer[pf_num]; in new_steering_entry() 206 s_steer = &mlx4_priv(dev)->steer[pf_num]; in existing_steering_entry() 253 s_steer = &mlx4_priv(dev)->steer[pf_num]; in check_duplicate_entry() 296 s_steer = &mlx4_priv(dev)->steer[pf_num]; in can_remove_steering_entry() 350 struct mlx4_priv *priv = mlx4_priv(dev); in add_promisc_qp() 352 s_steer = &mlx4_priv(dev)->steer[pf_num]; in add_promisc_qp() 444 struct mlx4_priv *priv = mlx4_priv(dev); in remove_promisc_qp() 459 s_steer = &mlx4_priv(dev)->steer[pf_num]; in remove_promisc_qp() 611 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_qp_attach_common() [all …]
|
D | srq.c | 62 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; in mlx4_srq_event() 115 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; in mlx4_srq_alloc() 189 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; in mlx4_srq_free() 240 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; in mlx4_init_srq_table() 256 mlx4_bitmap_cleanup(&mlx4_priv(dev)->srq_table.bitmap); in mlx4_cleanup_srq_table()
|
D | port.c | 143 struct mlx4_port_info *info = &mlx4_priv(dev)->port[port]; in mlx4_register_mac() 241 struct mlx4_port_info *info = &mlx4_priv(dev)->port[port]; in mlx4_unregister_mac() 271 struct mlx4_port_info *info = &mlx4_priv(dev)->port[port]; in mlx4_replace_mac() 330 struct mlx4_vlan_table *table = &mlx4_priv(dev)->port[port].vlan_table; in mlx4_find_cached_vlan() 349 struct mlx4_vlan_table *table = &mlx4_priv(dev)->port[port].vlan_table; in mlx4_register_vlan() 403 struct mlx4_vlan_table *table = &mlx4_priv(dev)->port[port].vlan_table; in mlx4_unregister_vlan()
|
D | mlx4.h | 324 struct mlx4_priv { struct 362 static inline struct mlx4_priv *mlx4_priv(struct mlx4_dev *dev) in mlx4_priv() argument 364 return container_of(dev, struct mlx4_priv, dev); in mlx4_priv()
|
D | alloc.c | 313 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_db_alloc() 343 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_db_free()
|
D | profile.c | 74 struct mlx4_priv *priv = mlx4_priv(dev); in mlx4_make_profile()
|
D | fw.c | 558 struct mlx4_fw *fw = &mlx4_priv(dev)->fw; in mlx4_QUERY_FW() 559 struct mlx4_cmd *cmd = &mlx4_priv(dev)->cmd; in mlx4_QUERY_FW()
|