Lines Matching defs:hwdev

51 static int parse_capability(struct hinic_hwdev *hwdev,  in parse_capability()
96 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in get_capability() local
122 static int get_dev_cap(struct hinic_hwdev *hwdev) in get_dev_cap()
154 static int init_msix(struct hinic_hwdev *hwdev) in init_msix()
189 static void disable_msix(struct hinic_hwdev *hwdev) in disable_msix()
208 int hinic_port_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_port_cmd cmd, in hinic_port_msg_cmd()
220 int hinic_hilink_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_hilink_cmd cmd, in hinic_hilink_msg_cmd()
239 static int init_fw_ctxt(struct hinic_hwdev *hwdev) in init_fw_ctxt()
270 static int set_hw_ioctxt(struct hinic_hwdev *hwdev, unsigned int sq_depth, in set_hw_ioctxt()
299 static int wait_for_outbound_state(struct hinic_hwdev *hwdev) in wait_for_outbound_state()
320 static int wait_for_db_state(struct hinic_hwdev *hwdev) in wait_for_db_state()
347 static int clear_io_resources(struct hinic_hwdev *hwdev) in clear_io_resources()
381 static int set_resources_state(struct hinic_hwdev *hwdev, in set_resources_state()
407 static int get_base_qpn(struct hinic_hwdev *hwdev, u16 *base_qpn) in get_base_qpn()
438 int hinic_hwdev_ifup(struct hinic_hwdev *hwdev, u16 sq_depth, u16 rq_depth) in hinic_hwdev_ifup()
510 void hinic_hwdev_ifdown(struct hinic_hwdev *hwdev) in hinic_hwdev_ifdown()
528 void hinic_hwdev_cb_register(struct hinic_hwdev *hwdev, in hinic_hwdev_cb_register()
553 void hinic_hwdev_cb_unregister(struct hinic_hwdev *hwdev, in hinic_hwdev_cb_unregister()
592 struct hinic_hwdev *hwdev; in nic_mgmt_msg_handler() local
696 struct hinic_hwdev *hwdev = dev; in pf_fault_event_handler() local
716 struct hinic_hwdev *hwdev = dev; in mgmt_watchdog_timeout_event_handler() local
739 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in init_pfhwdev() local
785 struct hinic_hwdev *hwdev = &pfhwdev->hwdev; in free_pfhwdev() local
808 static int hinic_l2nic_reset(struct hinic_hwdev *hwdev) in hinic_l2nic_reset()
834 static int hinic_get_interrupt_cfg(struct hinic_hwdev *hwdev, in hinic_get_interrupt_cfg()
861 int hinic_set_interrupt_cfg(struct hinic_hwdev *hwdev, in hinic_set_interrupt_cfg()
908 struct hinic_hwdev *hwdev; in hinic_init_hwdev() local
1019 void hinic_free_hwdev(struct hinic_hwdev *hwdev) in hinic_free_hwdev()
1044 int hinic_hwdev_num_qps(struct hinic_hwdev *hwdev) in hinic_hwdev_num_qps()
1058 struct hinic_sq *hinic_hwdev_get_sq(struct hinic_hwdev *hwdev, int i) in hinic_hwdev_get_sq()
1076 struct hinic_rq *hinic_hwdev_get_rq(struct hinic_hwdev *hwdev, int i) in hinic_hwdev_get_rq()
1094 int hinic_hwdev_msix_cnt_set(struct hinic_hwdev *hwdev, u16 msix_index) in hinic_hwdev_msix_cnt_set()
1111 int hinic_hwdev_msix_set(struct hinic_hwdev *hwdev, u16 msix_index, in hinic_hwdev_msix_set()
1131 int hinic_hwdev_hw_ci_addr_set(struct hinic_hwdev *hwdev, struct hinic_sq *sq, in hinic_hwdev_hw_ci_addr_set()
1167 void hinic_hwdev_set_msix_state(struct hinic_hwdev *hwdev, u16 msix_index, in hinic_hwdev_set_msix_state()
1173 int hinic_get_board_info(struct hinic_hwdev *hwdev, in hinic_get_board_info()