Lines Matching defs:hnae_ae_ops

466 struct hnae_ae_ops {  struct
467 struct hnae_handle *(*get_handle)(struct hnae_ae_dev *dev,
469 void (*put_handle)(struct hnae_handle *handle);
470 void (*init_queue)(struct hnae_queue *q);
471 void (*fini_queue)(struct hnae_queue *q);
472 int (*start)(struct hnae_handle *handle);
473 void (*stop)(struct hnae_handle *handle);
474 void (*reset)(struct hnae_handle *handle);
475 int (*set_opts)(struct hnae_handle *handle, int type, void *opts);
476 int (*get_opts)(struct hnae_handle *handle, int type, void **opts);
477 int (*get_status)(struct hnae_handle *handle);
478 int (*get_info)(struct hnae_handle *handle,
480 void (*toggle_ring_irq)(struct hnae_ring *ring, u32 val);
481 void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex);
482 bool (*need_adjust_link)(struct hnae_handle *handle,
484 int (*set_loopback)(struct hnae_handle *handle,
486 void (*get_ring_bdnum_limit)(struct hnae_queue *queue,
488 void (*get_pauseparam)(struct hnae_handle *handle,
490 int (*set_autoneg)(struct hnae_handle *handle, u8 enable);
491 int (*get_autoneg)(struct hnae_handle *handle);
492 int (*set_pauseparam)(struct hnae_handle *handle,
494 void (*get_coalesce_usecs)(struct hnae_handle *handle,
496 void (*get_max_coalesced_frames)(struct hnae_handle *handle,
498 int (*set_coalesce_usecs)(struct hnae_handle *handle, u32 timeout);
499 int (*set_coalesce_frames)(struct hnae_handle *handle,
501 void (*get_coalesce_range)(struct hnae_handle *handle,
506 void (*set_promisc_mode)(struct hnae_handle *handle, u32 en);
507 int (*get_mac_addr)(struct hnae_handle *handle, void **p);
508 int (*set_mac_addr)(struct hnae_handle *handle, void *p);
509 int (*add_uc_addr)(struct hnae_handle *handle,
511 int (*rm_uc_addr)(struct hnae_handle *handle,
513 int (*clr_mc_addr)(struct hnae_handle *handle);
514 int (*set_mc_addr)(struct hnae_handle *handle, void *addr);
515 int (*set_mtu)(struct hnae_handle *handle, int new_mtu);
539 struct hnae_ae_ops *ops; argument