Home
last modified time | relevance | path

Searched refs:nes_device (Results 1 – 11 of 11) sorted by relevance

/linux-3.4.99/drivers/infiniband/hw/nes/
Dnes.h220 struct nes_device { struct
319 nes_fill_init_cqp_wqe(struct nes_hw_cqp_wqe *cqp_wqe, struct nes_device *nesdev) in nes_fill_init_cqp_wqe()
343 static inline u32 nes_read_indexed(struct nes_device *nesdev, u32 reg_index) in nes_read_indexed()
374 static inline void nes_write_indexed(struct nes_device *nesdev, u32 reg_index, u32 val) in nes_write_indexed()
513 struct nes_adapter *nes_init_adapter(struct nes_device *, u8);
514 void nes_nic_init_timer_defaults(struct nes_device *, u8);
516 int nes_init_cqp(struct nes_device *);
517 int nes_init_phy(struct nes_device *);
518 int nes_init_nic_qp(struct nes_device *, struct net_device *);
520 int nes_napi_isr(struct nes_device *);
[all …]
Dnes.c141 struct nes_device *nesdev; in nes_inetaddr_event()
220 struct nes_device *nesdev; in nes_net_event()
269 static void nes_cqp_rem_ref_callback(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) in nes_cqp_rem_ref_callback()
307 struct nes_device *nesdev = nesvnic->nesdev; in nes_rem_ref()
358 struct nes_device *nesdev = nesvnic->nesdev; in nes_get_qp()
382 struct nes_device *nesdev = (struct nes_device *)dev_id; in nes_interrupt()
455 struct nes_device *nesdev = NULL; in nes_probe()
521 nesdev = kzalloc(sizeof(struct nes_device), GFP_KERNEL); in nes_probe()
759 struct nes_device *nesdev = pci_get_drvdata(pcidev); in nes_remove()
826 struct nes_device *nesdev; in nes_show_adapter()
[all …]
Dnes_mgt.h38 int nes_init_mgt_qp(struct nes_device *nesdev, struct net_device *netdev, struct nes_vnic *nesvnic);
41 void nes_destroy_pau_qp(struct nes_device *nesdev, struct nes_qp *nesqp);
92 struct nes_device *nesdev;
Dnes_utils.c59 static u32 nes_set_pau(struct nes_device *nesdev) in nes_set_pau()
85 int nes_read_eeprom_values(struct nes_device *nesdev, struct nes_adapter *nesadapter) in nes_read_eeprom_values()
413 void nes_write_1G_phy_reg(struct nes_device *nesdev, u8 phy_reg, u8 phy_addr, u16 data) in nes_write_1G_phy_reg()
440 void nes_read_1G_phy_reg(struct nes_device *nesdev, u8 phy_reg, u8 phy_addr, u16 *data) in nes_read_1G_phy_reg()
472 void nes_write_10G_phy_reg(struct nes_device *nesdev, u16 phy_addr, u8 dev_addr, u16 phy_reg, in nes_write_10G_phy_reg()
518 void nes_read_10G_phy_reg(struct nes_device *nesdev, u8 phy_addr, u8 dev_addr, u16 phy_reg) in nes_read_10G_phy_reg()
561 struct nes_cqp_request *nes_get_cqp_request(struct nes_device *nesdev) in nes_get_cqp_request()
598 void nes_free_cqp_request(struct nes_device *nesdev, in nes_free_cqp_request()
616 void nes_put_cqp_request(struct nes_device *nesdev, in nes_put_cqp_request()
627 void nes_post_cqp_request(struct nes_device *nesdev, in nes_post_cqp_request()
[all …]
Dnes_hw.c66 static void nes_cqp_ce_handler(struct nes_device *nesdev, struct nes_hw_cq *cq);
67 static void nes_init_csr_ne020(struct nes_device *nesdev, u8 hw_rev, u8 port_count);
68 static int nes_init_serdes(struct nes_device *nesdev, u8 hw_rev, u8 port_count,
70 static void nes_nic_napi_ce_handler(struct nes_device *nesdev, struct nes_hw_nic_cq *cq);
71 static void nes_process_aeq(struct nes_device *nesdev, struct nes_hw_aeq *aeq);
72 static void nes_process_ceq(struct nes_device *nesdev, struct nes_hw_ceq *ceq);
73 static void nes_process_iwarp_aeqe(struct nes_device *nesdev,
75 static void process_critical_error(struct nes_device *nesdev);
76 static void nes_process_mac_intr(struct nes_device *nesdev, u32 mac_number);
77 static unsigned int nes_reset_adapter_ne020(struct nes_device *nesdev, u8 *OneG_Mode);
[all …]
Dnes_nic.c103 struct nes_device *nesdev = nesvnic->nesdev; in nes_netdev_poll()
140 struct nes_device *nesdev = nesvnic->nesdev; in nes_netdev_open()
280 struct nes_device *nesdev = nesvnic->nesdev; in nes_netdev_stop()
363 struct nes_device *nesdev = nesvnic->nesdev; in nes_nic_send()
473 struct nes_device *nesdev = nesvnic->nesdev; in nes_netdev_start_xmit()
708 struct nes_device *nesdev = nesvnic->nesdev; in nes_netdev_get_stats()
811 struct nes_device *nesdev = nesvnic->nesdev; in nes_netdev_set_mac_address()
846 static void set_allmulti(struct nes_device *nesdev, u32 nic_active_bit) in set_allmulti()
866 struct nes_device *nesdev = nesvnic->nesdev; in nes_netdev_set_multicast_list()
993 struct nes_device *nesdev = nesvnic->nesdev; in nes_netdev_change_mtu()
[all …]
Dnes_verbs.h38 struct nes_device;
49 struct nes_device *nesdev;
Dnes_mgt.c53 struct nes_device *nesdev; in nes_replenish_mgt_rq()
137 static void nes_mgt_free_skb(struct nes_device *nesdev, struct sk_buff *skb, u32 dir) in nes_mgt_free_skb()
150 static void nes_download_callback(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) in nes_download_callback()
190 static struct sk_buff *nes_get_next_skb(struct nes_device *nesdev, struct nes_qp *nesqp, in nes_get_next_skb()
239 static int get_fpdu_info(struct nes_device *nesdev, struct nes_qp *nesqp, in get_fpdu_info()
413 struct nes_device *nesdev = nesvnic->nesdev; in forward_fpdus()
620 void nes_destroy_pau_qp(struct nes_device *nesdev, struct nes_qp *nesqp) in nes_destroy_pau_qp()
637 static void nes_chg_qh_handler(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) in nes_chg_qh_handler()
717 static int nes_change_quad_hash(struct nes_device *nesdev, in nes_change_quad_hash()
775 static void nes_mgt_ce_handler(struct nes_device *nesdev, struct nes_hw_nic_cq *cq) in nes_mgt_ce_handler()
[all …]
Dnes_hw.h835 struct nes_device;
886 void (*cqp_callback)(struct nes_device *nesdev, struct nes_cqp_request *cqp_request);
937 void (*ce_handler)(struct nes_device *nesdev, struct nes_hw_nic_cq *cq);
968 void (*ce_handler)(struct nes_device *nesdev, struct nes_hw_cq *cq);
1237 struct nes_device *nesdev;
1255 struct nes_cqp_request* (*get_cqp_request)(struct nes_device *nesdev);
1256 void (*post_cqp_request)(struct nes_device*, struct nes_cqp_request *);
Dnes_verbs.c61 struct nes_device *nesdev = nesvnic->nesdev; in nes_alloc_mw()
159 struct nes_device *nesdev = nesvnic->nesdev; in nes_dealloc_mw()
212 struct nes_device *nesdev = nesvnic->nesdev; in nes_bind_mw()
282 static int alloc_fast_reg_mr(struct nes_device *nesdev, struct nes_pd *nespd, in alloc_fast_reg_mr()
381 struct nes_device *nesdev = nesvnic->nesdev; in nes_alloc_fast_reg_mr()
447 struct nes_device *nesdev = nesvnic->nesdev; in nes_alloc_fast_reg_page_list()
492 struct nes_device *nesdev = nesvnic->nesdev; in nes_free_fast_reg_page_list()
515 struct nes_device *nesdev = nesvnic->nesdev; in nes_query_device()
640 struct nes_device *nesdev = nesvnic->nesdev; in nes_alloc_ucontext()
714 struct nes_device *nesdev = nesvnic->nesdev; in nes_mmap()
[all …]
Dnes_cm.c1409 struct nes_device *nesdev; in make_cm_node()
2947 struct nes_device *nesdev; in nes_disconnect()
2995 struct nes_device *nesdev; in nes_accept()
3284 struct nes_device *nesdev; in nes_connect()
3499 struct nes_device *nesdev; in cm_event_connected()