| H A D | hermon.c | 44 #include "hermon.h" 129 * @v hermon Hermon device 133 static int hermon_cmd_wait ( struct hermon *hermon, argument 139 readl ( hermon->config + HERMON_HCR_REG ( 6 ) ); 141 ( MLX_GET ( hcr, t ) == hermon->toggle ) ) 151 * @v hermon Hermon device 159 static int hermon_cmd ( struct hermon *hermon, unsigned long command, argument 175 DBGC2 ( hermon, "Hermo 268 hermon_cmd_query_dev_cap( struct hermon *hermon, struct hermonprm_query_dev_cap *dev_cap ) argument 277 hermon_cmd_query_fw( struct hermon *hermon, struct hermonprm_query_fw *fw ) argument 285 hermon_cmd_init_hca( struct hermon *hermon, const struct hermonprm_init_hca *init_hca ) argument 301 hermon_cmd_init_port( struct hermon *hermon, unsigned int port ) argument 308 hermon_cmd_close_port( struct hermon *hermon, unsigned int port ) argument 315 hermon_cmd_set_port( struct hermon *hermon, int is_ethernet, unsigned int port_selector, const union hermonprm_set_port *set_port ) argument 325 hermon_cmd_sw2hw_mpt( struct hermon *hermon, unsigned int index, const struct hermonprm_mpt *mpt ) argument 334 hermon_cmd_write_mtt( struct hermon *hermon, const struct hermonprm_write_mtt *write_mtt ) argument 343 hermon_cmd_map_eq( struct hermon *hermon, unsigned long index_map, const struct hermonprm_event_mask *mask ) argument 352 hermon_cmd_sw2hw_eq( struct hermon *hermon, unsigned int index, const struct hermonprm_eqc *eqctx ) argument 361 hermon_cmd_hw2sw_eq( struct hermon *hermon, unsigned int index, struct hermonprm_eqc *eqctx ) argument 370 hermon_cmd_query_eq( struct hermon *hermon, unsigned int index, struct hermonprm_eqc *eqctx ) argument 379 hermon_cmd_sw2hw_cq( struct hermon *hermon, unsigned long cqn, const struct hermonprm_completion_queue_context *cqctx ) argument 388 hermon_cmd_hw2sw_cq( struct hermon *hermon, unsigned long cqn, struct hermonprm_completion_queue_context *cqctx ) argument 397 hermon_cmd_query_cq( struct hermon *hermon, unsigned long cqn, struct hermonprm_completion_queue_context *cqctx ) argument 406 hermon_cmd_rst2init_qp( struct hermon *hermon, unsigned long qpn, const struct hermonprm_qp_ee_state_transitions *ctx ) argument 415 hermon_cmd_init2rtr_qp( struct hermon *hermon, unsigned long qpn, const struct hermonprm_qp_ee_state_transitions *ctx ) argument 424 hermon_cmd_rtr2rts_qp( struct hermon *hermon, unsigned long qpn, const struct hermonprm_qp_ee_state_transitions *ctx ) argument 433 hermon_cmd_rts2rts_qp( struct hermon *hermon, unsigned long qpn, const struct hermonprm_qp_ee_state_transitions *ctx ) argument 442 hermon_cmd_2rst_qp( struct hermon *hermon, unsigned long qpn ) argument 449 hermon_cmd_query_qp( struct hermon *hermon, unsigned long qpn, struct hermonprm_qp_ee_state_transitions *ctx ) argument 458 hermon_cmd_conf_special_qp( struct hermon *hermon, unsigned int internal_qps, unsigned long base_qpn ) argument 466 hermon_cmd_mad_ifc( struct hermon *hermon, unsigned int port, union hermonprm_mad *mad ) argument 476 hermon_cmd_read_mcg( struct hermon *hermon, unsigned int index, struct hermonprm_mcg_entry *mcg ) argument 485 hermon_cmd_write_mcg( struct hermon *hermon, unsigned int index, const struct hermonprm_mcg_entry *mcg ) argument 494 hermon_cmd_mgid_hash( struct hermon *hermon, const union ib_gid *gid, struct hermonprm_mgm_hash *hash ) argument 504 hermon_cmd_mod_stat_cfg( struct hermon *hermon, unsigned int mode, unsigned int input_mod, struct hermonprm_scalar_parameter *portion ) argument 515 hermon_cmd_query_port( struct hermon *hermon, unsigned int port, struct hermonprm_query_port_cap *query_port ) argument 524 hermon_cmd_sense_port( struct hermon *hermon, unsigned int port, struct hermonprm_sense_port *port_type ) argument 540 hermon_cmd_unmap_icm( struct hermon *hermon, unsigned int page_count, const struct hermonprm_scalar_parameter *offset ) argument 549 hermon_cmd_map_icm( struct hermon *hermon, const struct hermonprm_virtual_physical_mapping *map ) argument 565 hermon_cmd_map_icm_aux( struct hermon *hermon, const struct hermonprm_virtual_physical_mapping *map ) argument 574 hermon_cmd_set_icm_size( struct hermon *hermon, const struct hermonprm_scalar_parameter *icm_size, struct hermonprm_scalar_parameter *icm_aux_size ) argument 592 hermon_cmd_map_fa( struct hermon *hermon, const struct hermonprm_virtual_physical_mapping *map ) argument 616 hermon_alloc_mtt( struct hermon *hermon, const void *memory, size_t len, struct hermon_mtt *mtt ) argument 691 hermon_free_mtt( struct hermon *hermon, struct hermon_mtt *mtt ) argument 728 hermon_mod_stat_cfg( struct hermon *hermon, unsigned int port, unsigned int mode, unsigned int offset, struct hermonprm_mod_stat_cfg *stat_cfg ) argument 769 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 813 hermon_dump_cqctx( struct hermon *hermon, struct ib_completion_queue *cq ) argument 838 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 944 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 989 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1032 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1083 hermon_dump_qpctx( struct hermon *hermon, struct ib_queue_pair *qp ) argument 1108 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1249 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1327 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1399 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1441 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1493 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1523 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1568 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1628 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1675 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1783 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 1957 hermon_event_port_state_change( struct hermon *hermon, union hermonprm_event_entry *eqe) argument 1986 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 2058 hermon_map_vpm( struct hermon *hermon, int ( *map ) ( struct hermon *hermon, const struct hermonprm_virtual_physical_mapping* ), uint64_t va, physaddr_t pa, size_t len ) argument 2296 hermon_map_icm( struct hermon *hermon, struct hermonprm_init_hca *init_hca ) argument 2704 hermon_start( struct hermon *hermon, int running ) argument 2823 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 2879 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 2932 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 2986 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 3035 hermon_register_ibdev( struct hermon *hermon, struct hermon_port *port ) argument 3116 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 3206 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 3321 struct hermon *hermon = ib_get_drvdata ( ibdev ); local 3354 hermon_register_netdev( struct hermon *hermon, struct hermon_port *port ) argument 3458 hermon_sense_port_type( struct hermon *hermon, struct hermon_port *port ) argument 3495 hermon_set_port_type( struct hermon *hermon, struct hermon_port *port ) argument 3578 struct hermon *hermon = container_of ( bofm, struct hermon, bofm ); local 3618 struct hermon *hermon = container_of ( bofm, struct hermon, bofm ); local 3673 struct hermon *hermon; local 3741 struct hermon *hermon; local 3855 struct hermon *hermon = pci_get_drvdata ( pci ); local 3880 struct hermon *hermon; local 3919 struct hermon *hermon = pci_get_drvdata ( pci ); local [all...] |