Lines Matching refs:handle

306 	struct hnae_handle *handle;  member
402 void (*put_handle)(struct hnae_handle *handle);
405 int (*start)(struct hnae_handle *handle);
406 void (*stop)(struct hnae_handle *handle);
407 void (*reset)(struct hnae_handle *handle);
408 int (*set_opts)(struct hnae_handle *handle, int type, void *opts);
409 int (*get_opts)(struct hnae_handle *handle, int type, void **opts);
410 int (*get_status)(struct hnae_handle *handle);
411 int (*get_info)(struct hnae_handle *handle,
415 void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex);
416 int (*set_loopback)(struct hnae_handle *handle,
420 void (*get_pauseparam)(struct hnae_handle *handle,
422 int (*set_autoneg)(struct hnae_handle *handle, u8 enable);
423 int (*get_autoneg)(struct hnae_handle *handle);
424 int (*set_pauseparam)(struct hnae_handle *handle,
426 void (*get_coalesce_usecs)(struct hnae_handle *handle,
428 void (*get_rx_max_coalesced_frames)(struct hnae_handle *handle,
430 void (*set_coalesce_usecs)(struct hnae_handle *handle, u32 timeout);
431 int (*set_coalesce_frames)(struct hnae_handle *handle,
433 void (*set_promisc_mode)(struct hnae_handle *handle, u32 en);
434 int (*get_mac_addr)(struct hnae_handle *handle, void **p);
435 int (*set_mac_addr)(struct hnae_handle *handle, void *p);
436 int (*set_mc_addr)(struct hnae_handle *handle, void *addr);
437 int (*set_mtu)(struct hnae_handle *handle, int new_mtu);
438 void (*update_stats)(struct hnae_handle *handle,
440 void (*get_stats)(struct hnae_handle *handle, u64 *data);
441 void (*get_strings)(struct hnae_handle *handle,
443 int (*get_sset_count)(struct hnae_handle *handle, int stringset);
444 void (*update_led_status)(struct hnae_handle *handle);
445 int (*set_led_id)(struct hnae_handle *handle,
447 void (*get_regs)(struct hnae_handle *handle, void *data);
448 int (*get_regs_len)(struct hnae_handle *handle);
482 void hnae_put_handle(struct hnae_handle *handle);
488 int hnae_reinit_handle(struct hnae_handle *handle);
500 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_reserve_buffer_map()
533 ring->q->handle->bops->unmap_buffer(ring, &ring->desc_cb[i]); in hnae_buffer_detach()
539 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_free_buffer_detach()
553 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_replace_buffer()