• Home
  • Raw
  • Download

Lines Matching refs:handle

167 	struct hnae3_handle *handle;  member
347 int (*init_instance)(struct hnae3_handle *handle);
348 void (*uninit_instance)(struct hnae3_handle *handle, bool reset);
349 void (*link_status_change)(struct hnae3_handle *handle, bool state);
350 int (*reset_notify)(struct hnae3_handle *handle,
352 void (*process_hw_error)(struct hnae3_handle *handle,
543 int (*start)(struct hnae3_handle *handle);
544 void (*stop)(struct hnae3_handle *handle);
545 int (*client_start)(struct hnae3_handle *handle);
546 void (*client_stop)(struct hnae3_handle *handle);
547 int (*get_status)(struct hnae3_handle *handle);
548 void (*get_ksettings_an_result)(struct hnae3_handle *handle,
551 int (*cfg_mac_speed_dup_h)(struct hnae3_handle *handle, int speed,
554 void (*get_media_type)(struct hnae3_handle *handle, u8 *media_type,
556 int (*check_port_speed)(struct hnae3_handle *handle, u32 speed);
557 void (*get_fec)(struct hnae3_handle *handle, u8 *fec_ability,
559 int (*set_fec)(struct hnae3_handle *handle, u32 fec_mode);
560 void (*adjust_link)(struct hnae3_handle *handle, int speed, int duplex);
561 int (*set_loopback)(struct hnae3_handle *handle,
564 int (*set_promisc_mode)(struct hnae3_handle *handle, bool en_uc_pmc,
566 void (*request_update_promisc_mode)(struct hnae3_handle *handle);
567 int (*set_mtu)(struct hnae3_handle *handle, int new_mtu);
569 void (*get_pauseparam)(struct hnae3_handle *handle,
571 int (*set_pauseparam)(struct hnae3_handle *handle,
574 int (*set_autoneg)(struct hnae3_handle *handle, bool enable);
575 int (*get_autoneg)(struct hnae3_handle *handle);
576 int (*restart_autoneg)(struct hnae3_handle *handle);
577 int (*halt_autoneg)(struct hnae3_handle *handle, bool halt);
579 void (*get_coalesce_usecs)(struct hnae3_handle *handle,
581 void (*get_rx_max_coalesced_frames)(struct hnae3_handle *handle,
583 int (*set_coalesce_usecs)(struct hnae3_handle *handle, u32 timeout);
584 int (*set_coalesce_frames)(struct hnae3_handle *handle,
586 void (*get_coalesce_range)(struct hnae3_handle *handle,
592 void (*get_mac_addr)(struct hnae3_handle *handle, u8 *p);
593 int (*set_mac_addr)(struct hnae3_handle *handle, const void *p,
595 int (*do_ioctl)(struct hnae3_handle *handle,
597 int (*add_uc_addr)(struct hnae3_handle *handle,
599 int (*rm_uc_addr)(struct hnae3_handle *handle,
601 int (*set_mc_addr)(struct hnae3_handle *handle, void *addr);
602 int (*add_mc_addr)(struct hnae3_handle *handle,
604 int (*rm_mc_addr)(struct hnae3_handle *handle,
606 void (*set_tso_stats)(struct hnae3_handle *handle, int enable);
607 void (*update_stats)(struct hnae3_handle *handle,
609 void (*get_stats)(struct hnae3_handle *handle, u64 *data);
610 void (*get_mac_stats)(struct hnae3_handle *handle,
612 void (*get_strings)(struct hnae3_handle *handle,
614 int (*get_sset_count)(struct hnae3_handle *handle, int stringset);
616 void (*get_regs)(struct hnae3_handle *handle, u32 *version,
618 int (*get_regs_len)(struct hnae3_handle *handle);
620 u32 (*get_rss_key_size)(struct hnae3_handle *handle);
621 int (*get_rss)(struct hnae3_handle *handle, u32 *indir, u8 *key,
623 int (*set_rss)(struct hnae3_handle *handle, const u32 *indir,
625 int (*set_rss_tuple)(struct hnae3_handle *handle,
627 int (*get_rss_tuple)(struct hnae3_handle *handle,
630 int (*get_tc_size)(struct hnae3_handle *handle);
632 int (*get_vector)(struct hnae3_handle *handle, u16 vector_num,
634 int (*put_vector)(struct hnae3_handle *handle, int vector_num);
635 int (*map_ring_to_vector)(struct hnae3_handle *handle,
638 int (*unmap_ring_from_vector)(struct hnae3_handle *handle,
642 int (*reset_queue)(struct hnae3_handle *handle);
643 u32 (*get_fw_version)(struct hnae3_handle *handle);
644 void (*get_mdix_mode)(struct hnae3_handle *handle,
647 int (*enable_vlan_filter)(struct hnae3_handle *handle, bool enable);
648 int (*set_vlan_filter)(struct hnae3_handle *handle, __be16 proto,
650 int (*set_vf_vlan_filter)(struct hnae3_handle *handle, int vfid,
652 int (*enable_hw_strip_rxvtag)(struct hnae3_handle *handle, bool enable);
653 void (*reset_event)(struct pci_dev *pdev, struct hnae3_handle *handle);
658 void (*get_channels)(struct hnae3_handle *handle,
662 int (*set_channels)(struct hnae3_handle *handle, u32 new_tqps_num,
664 void (*get_flowctrl_adv)(struct hnae3_handle *handle,
666 int (*set_led_id)(struct hnae3_handle *handle,
668 void (*get_link_mode)(struct hnae3_handle *handle,
671 int (*add_fd_entry)(struct hnae3_handle *handle,
673 int (*del_fd_entry)(struct hnae3_handle *handle,
675 int (*get_fd_rule_cnt)(struct hnae3_handle *handle,
677 int (*get_fd_rule_info)(struct hnae3_handle *handle,
679 int (*get_fd_all_rules)(struct hnae3_handle *handle,
681 void (*enable_fd)(struct hnae3_handle *handle, bool enable);
682 int (*add_arfs_entry)(struct hnae3_handle *handle, u16 queue_id,
684 int (*dbg_read_cmd)(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd,
687 bool (*get_hw_reset_stat)(struct hnae3_handle *handle);
688 bool (*ae_dev_resetting)(struct hnae3_handle *handle);
689 unsigned long (*ae_dev_reset_cnt)(struct hnae3_handle *handle);
690 int (*set_gro_en)(struct hnae3_handle *handle, bool enable);
691 u16 (*get_global_queue_id)(struct hnae3_handle *handle, u16 queue_id);
692 void (*set_timer_task)(struct hnae3_handle *handle, bool enable);
693 int (*mac_connect_phy)(struct hnae3_handle *handle);
694 void (*mac_disconnect_phy)(struct hnae3_handle *handle);
695 int (*get_vf_config)(struct hnae3_handle *handle, int vf,
697 int (*set_vf_link_state)(struct hnae3_handle *handle, int vf,
699 int (*set_vf_spoofchk)(struct hnae3_handle *handle, int vf,
701 int (*set_vf_trust)(struct hnae3_handle *handle, int vf, bool enable);
702 int (*set_vf_rate)(struct hnae3_handle *handle, int vf,
704 int (*set_vf_mac)(struct hnae3_handle *handle, int vf, u8 *p);
705 int (*get_module_eeprom)(struct hnae3_handle *handle, u32 offset,
707 bool (*get_cmdq_stat)(struct hnae3_handle *handle);
708 int (*add_cls_flower)(struct hnae3_handle *handle,
710 int (*del_cls_flower)(struct hnae3_handle *handle,
712 bool (*cls_flower_active)(struct hnae3_handle *handle);
713 int (*get_phy_link_ksettings)(struct hnae3_handle *handle,
715 int (*set_phy_link_ksettings)(struct hnae3_handle *handle,
717 bool (*set_tx_hwts_info)(struct hnae3_handle *handle,
719 void (*get_rx_hwts)(struct hnae3_handle *handle, struct sk_buff *skb,
721 int (*get_ts_info)(struct hnae3_handle *handle,
723 int (*get_link_diagnosis_info)(struct hnae3_handle *handle,
739 int (*setup_tc)(struct hnae3_handle *handle,