Lines Matching defs:hnae_ae_ops

462 struct hnae_ae_ops {  struct
463 struct hnae_handle *(*get_handle)(struct hnae_ae_dev *dev,
465 void (*put_handle)(struct hnae_handle *handle);
466 void (*init_queue)(struct hnae_queue *q);
467 void (*fini_queue)(struct hnae_queue *q);
468 int (*start)(struct hnae_handle *handle);
469 void (*stop)(struct hnae_handle *handle);
470 void (*reset)(struct hnae_handle *handle);
471 int (*set_opts)(struct hnae_handle *handle, int type, void *opts);
472 int (*get_opts)(struct hnae_handle *handle, int type, void **opts);
473 int (*get_status)(struct hnae_handle *handle);
474 int (*get_info)(struct hnae_handle *handle,
476 void (*toggle_ring_irq)(struct hnae_ring *ring, u32 val);
477 void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex);
478 bool (*need_adjust_link)(struct hnae_handle *handle,
480 int (*set_loopback)(struct hnae_handle *handle,
482 void (*get_ring_bdnum_limit)(struct hnae_queue *queue,
484 void (*get_pauseparam)(struct hnae_handle *handle,
486 int (*set_pauseparam)(struct hnae_handle *handle,
488 void (*get_coalesce_usecs)(struct hnae_handle *handle,
490 void (*get_max_coalesced_frames)(struct hnae_handle *handle,
492 int (*set_coalesce_usecs)(struct hnae_handle *handle, u32 timeout);
493 int (*set_coalesce_frames)(struct hnae_handle *handle,
495 void (*get_coalesce_range)(struct hnae_handle *handle,
500 void (*set_promisc_mode)(struct hnae_handle *handle, u32 en);
501 int (*get_mac_addr)(struct hnae_handle *handle, void **p);
502 int (*set_mac_addr)(struct hnae_handle *handle, const void *p);
503 int (*add_uc_addr)(struct hnae_handle *handle,
505 int (*rm_uc_addr)(struct hnae_handle *handle,
507 int (*clr_mc_addr)(struct hnae_handle *handle);
508 int (*set_mc_addr)(struct hnae_handle *handle, void *addr);
509 int (*set_mtu)(struct hnae_handle *handle, int new_mtu);
533 struct hnae_ae_ops *ops; argument