Lines Matching defs:ena_dev
71 static int ena_com_mem_addr_set(struct ena_com_dev *ena_dev, in ena_com_mem_addr_set()
89 struct ena_com_dev *ena_dev = admin_queue->ena_dev; in ena_com_admin_init_sq() local
111 struct ena_com_dev *ena_dev = admin_queue->ena_dev; in ena_com_admin_init_cq() local
128 static int ena_com_admin_init_aenq(struct ena_com_dev *ena_dev, in ena_com_admin_init_aenq()
265 struct ena_com_dev *ena_dev = admin_queue->ena_dev; in ena_com_init_comp_ctxt() local
310 static int ena_com_init_io_sq(struct ena_com_dev *ena_dev, in ena_com_init_io_sq()
388 static int ena_com_init_io_cq(struct ena_com_dev *ena_dev, in ena_com_init_io_cq()
579 static int ena_com_set_llq(struct ena_com_dev *ena_dev) in ena_com_set_llq()
614 static int ena_com_config_llq_info(struct ena_com_dev *ena_dev, in ena_com_config_llq_info()
797 static u32 ena_com_reg_bar_read32(struct ena_com_dev *ena_dev, u16 offset) in ena_com_reg_bar_read32()
871 static int ena_com_destroy_io_sq(struct ena_com_dev *ena_dev, in ena_com_destroy_io_sq()
906 static void ena_com_io_queue_free(struct ena_com_dev *ena_dev, in ena_com_io_queue_free()
936 static int wait_for_reset_state(struct ena_com_dev *ena_dev, u32 timeout, in wait_for_reset_state()
964 static bool ena_com_check_supported_feature_id(struct ena_com_dev *ena_dev, in ena_com_check_supported_feature_id()
977 static int ena_com_get_feature_ex(struct ena_com_dev *ena_dev, in ena_com_get_feature_ex()
1031 static int ena_com_get_feature(struct ena_com_dev *ena_dev, in ena_com_get_feature()
1044 int ena_com_get_current_hash_function(struct ena_com_dev *ena_dev) in ena_com_get_current_hash_function()
1049 static void ena_com_hash_key_fill_default_key(struct ena_com_dev *ena_dev) in ena_com_hash_key_fill_default_key()
1061 static int ena_com_hash_key_allocate(struct ena_com_dev *ena_dev) in ena_com_hash_key_allocate()
1077 static void ena_com_hash_key_destroy(struct ena_com_dev *ena_dev) in ena_com_hash_key_destroy()
1087 static int ena_com_hash_ctrl_init(struct ena_com_dev *ena_dev) in ena_com_hash_ctrl_init()
1100 static void ena_com_hash_ctrl_destroy(struct ena_com_dev *ena_dev) in ena_com_hash_ctrl_destroy()
1110 static int ena_com_indirect_table_allocate(struct ena_com_dev *ena_dev, in ena_com_indirect_table_allocate()
1160 static void ena_com_indirect_table_destroy(struct ena_com_dev *ena_dev) in ena_com_indirect_table_destroy()
1176 static int ena_com_create_io_sq(struct ena_com_dev *ena_dev, in ena_com_create_io_sq()
1250 static int ena_com_ind_tbl_convert_to_device(struct ena_com_dev *ena_dev) in ena_com_ind_tbl_convert_to_device()
1273 static void ena_com_update_intr_delay_resolution(struct ena_com_dev *ena_dev, in ena_com_update_intr_delay_resolution()
1338 int ena_com_create_io_cq(struct ena_com_dev *ena_dev, in ena_com_create_io_cq()
1396 int ena_com_get_io_handlers(struct ena_com_dev *ena_dev, u16 qid, in ena_com_get_io_handlers()
1412 void ena_com_abort_admin_commands(struct ena_com_dev *ena_dev) in ena_com_abort_admin_commands()
1432 void ena_com_wait_for_abort_completion(struct ena_com_dev *ena_dev) in ena_com_wait_for_abort_completion()
1447 int ena_com_destroy_io_cq(struct ena_com_dev *ena_dev, in ena_com_destroy_io_cq()
1472 bool ena_com_get_admin_running_state(struct ena_com_dev *ena_dev) in ena_com_get_admin_running_state()
1477 void ena_com_set_admin_running_state(struct ena_com_dev *ena_dev, bool state) in ena_com_set_admin_running_state()
1487 void ena_com_admin_aenq_enable(struct ena_com_dev *ena_dev) in ena_com_admin_aenq_enable()
1499 int ena_com_set_aenq_config(struct ena_com_dev *ena_dev, u32 groups_flag) in ena_com_set_aenq_config()
1540 int ena_com_get_dma_width(struct ena_com_dev *ena_dev) in ena_com_get_dma_width()
1565 int ena_com_validate_version(struct ena_com_dev *ena_dev) in ena_com_validate_version()
1612 ena_com_free_ena_admin_queue_comp_ctx(struct ena_com_dev *ena_dev, in ena_com_free_ena_admin_queue_comp_ctx()
1624 void ena_com_admin_destroy(struct ena_com_dev *ena_dev) in ena_com_admin_destroy()
1650 void ena_com_set_admin_polling_mode(struct ena_com_dev *ena_dev, bool polling) in ena_com_set_admin_polling_mode()
1661 void ena_com_set_admin_auto_polling_mode(struct ena_com_dev *ena_dev, in ena_com_set_admin_auto_polling_mode()
1667 int ena_com_mmio_reg_read_request_init(struct ena_com_dev *ena_dev) in ena_com_mmio_reg_read_request_init()
1690 void ena_com_set_mmio_read_mode(struct ena_com_dev *ena_dev, bool readless_supported) in ena_com_set_mmio_read_mode()
1697 void ena_com_mmio_reg_read_request_destroy(struct ena_com_dev *ena_dev) in ena_com_mmio_reg_read_request_destroy()
1710 void ena_com_mmio_reg_read_request_write_dev_addr(struct ena_com_dev *ena_dev) in ena_com_mmio_reg_read_request_write_dev_addr()
1722 int ena_com_admin_init(struct ena_com_dev *ena_dev, in ena_com_admin_init()
1806 int ena_com_create_io_queue(struct ena_com_dev *ena_dev, in ena_com_create_io_queue()
1866 void ena_com_destroy_io_queue(struct ena_com_dev *ena_dev, u16 qid) in ena_com_destroy_io_queue()
1886 int ena_com_get_link_params(struct ena_com_dev *ena_dev, in ena_com_get_link_params()
1892 int ena_com_get_dev_attr_feat(struct ena_com_dev *ena_dev, in ena_com_get_dev_attr_feat()
1974 void ena_com_admin_q_comp_intr_handler(struct ena_com_dev *ena_dev) in ena_com_admin_q_comp_intr_handler()
1982 static ena_aenq_handler ena_com_get_specific_aenq_cb(struct ena_com_dev *ena_dev, in ena_com_get_specific_aenq_cb()
1997 void ena_com_aenq_intr_handler(struct ena_com_dev *ena_dev, void *data) in ena_com_aenq_intr_handler()
2054 int ena_com_dev_reset(struct ena_com_dev *ena_dev, in ena_com_dev_reset()
2115 static int ena_get_dev_stats(struct ena_com_dev *ena_dev, in ena_get_dev_stats()
2142 int ena_com_get_eni_stats(struct ena_com_dev *ena_dev, in ena_com_get_eni_stats()
2163 int ena_com_get_dev_basic_stats(struct ena_com_dev *ena_dev, in ena_com_get_dev_basic_stats()
2178 int ena_com_set_dev_mtu(struct ena_com_dev *ena_dev, u32 mtu) in ena_com_set_dev_mtu()
2210 int ena_com_get_offload_settings(struct ena_com_dev *ena_dev, in ena_com_get_offload_settings()
2228 int ena_com_set_hash_function(struct ena_com_dev *ena_dev) in ena_com_set_hash_function()
2288 int ena_com_fill_hash_function(struct ena_com_dev *ena_dev, in ena_com_fill_hash_function()
2339 int ena_com_get_hash_function(struct ena_com_dev *ena_dev, in ena_com_get_hash_function()
2366 int ena_com_get_hash_key(struct ena_com_dev *ena_dev, u8 *key) in ena_com_get_hash_key()
2378 int ena_com_get_hash_ctrl(struct ena_com_dev *ena_dev, in ena_com_get_hash_ctrl()
2399 int ena_com_set_hash_ctrl(struct ena_com_dev *ena_dev) in ena_com_set_hash_ctrl()
2444 int ena_com_set_default_hash_ctrl(struct ena_com_dev *ena_dev) in ena_com_set_default_hash_ctrl()
2506 int ena_com_fill_hash_ctrl(struct ena_com_dev *ena_dev, in ena_com_fill_hash_ctrl()
2544 int ena_com_indirect_table_fill_entry(struct ena_com_dev *ena_dev, in ena_com_indirect_table_fill_entry()
2560 int ena_com_indirect_table_set(struct ena_com_dev *ena_dev) in ena_com_indirect_table_set()
2613 int ena_com_indirect_table_get(struct ena_com_dev *ena_dev, u32 *ind_tbl) in ena_com_indirect_table_get()
2639 int ena_com_rss_init(struct ena_com_dev *ena_dev, u16 indr_tbl_log_size) in ena_com_rss_init()
2674 void ena_com_rss_destroy(struct ena_com_dev *ena_dev) in ena_com_rss_destroy()
2683 int ena_com_allocate_host_info(struct ena_com_dev *ena_dev) in ena_com_allocate_host_info()
2699 int ena_com_allocate_debug_area(struct ena_com_dev *ena_dev, in ena_com_allocate_debug_area()
2717 void ena_com_delete_host_info(struct ena_com_dev *ena_dev) in ena_com_delete_host_info()
2728 void ena_com_delete_debug_area(struct ena_com_dev *ena_dev) in ena_com_delete_debug_area()
2739 int ena_com_set_host_attributes(struct ena_com_dev *ena_dev) in ena_com_set_host_attributes()
2789 bool ena_com_interrupt_moderation_supported(struct ena_com_dev *ena_dev) in ena_com_interrupt_moderation_supported()
2795 static int ena_com_update_nonadaptive_moderation_interval(struct ena_com_dev *ena_dev, in ena_com_update_nonadaptive_moderation_interval()
2810 int ena_com_update_nonadaptive_moderation_interval_tx(struct ena_com_dev *ena_dev, in ena_com_update_nonadaptive_moderation_interval_tx()
2819 int ena_com_update_nonadaptive_moderation_interval_rx(struct ena_com_dev *ena_dev, in ena_com_update_nonadaptive_moderation_interval_rx()
2828 int ena_com_init_interrupt_moderation(struct ena_com_dev *ena_dev) in ena_com_init_interrupt_moderation()
2862 unsigned int ena_com_get_nonadaptive_moderation_interval_tx(struct ena_com_dev *ena_dev) in ena_com_get_nonadaptive_moderation_interval_tx()
2867 unsigned int ena_com_get_nonadaptive_moderation_interval_rx(struct ena_com_dev *ena_dev) in ena_com_get_nonadaptive_moderation_interval_rx()
2872 int ena_com_config_dev_mode(struct ena_com_dev *ena_dev, in ena_com_config_dev_mode()