Lines Matching refs:ena_com_dev

69 static int ena_com_mem_addr_set(struct ena_com_dev *ena_dev,  in ena_com_mem_addr_set()
87 struct ena_com_dev *ena_dev = admin_queue->ena_dev; in ena_com_admin_init_sq()
110 struct ena_com_dev *ena_dev = admin_queue->ena_dev; in ena_com_admin_init_cq()
128 static int ena_com_admin_init_aenq(struct ena_com_dev *ena_dev, in ena_com_admin_init_aenq()
270 struct ena_com_dev *ena_dev = admin_queue->ena_dev; in ena_com_init_comp_ctxt()
316 static int ena_com_init_io_sq(struct ena_com_dev *ena_dev, in ena_com_init_io_sq()
406 static int ena_com_init_io_cq(struct ena_com_dev *ena_dev, in ena_com_init_io_cq()
604 static int ena_com_set_llq(struct ena_com_dev *ena_dev) in ena_com_set_llq()
640 static int ena_com_config_llq_info(struct ena_com_dev *ena_dev, in ena_com_config_llq_info()
828 static u32 ena_com_reg_bar_read32(struct ena_com_dev *ena_dev, u16 offset) in ena_com_reg_bar_read32()
904 static int ena_com_destroy_io_sq(struct ena_com_dev *ena_dev, in ena_com_destroy_io_sq()
940 static void ena_com_io_queue_free(struct ena_com_dev *ena_dev, in ena_com_io_queue_free()
972 static int wait_for_reset_state(struct ena_com_dev *ena_dev, u32 timeout, in wait_for_reset_state()
1001 static bool ena_com_check_supported_feature_id(struct ena_com_dev *ena_dev, in ena_com_check_supported_feature_id()
1014 static int ena_com_get_feature_ex(struct ena_com_dev *ena_dev, in ena_com_get_feature_ex()
1070 static int ena_com_get_feature(struct ena_com_dev *ena_dev, in ena_com_get_feature()
1083 int ena_com_get_current_hash_function(struct ena_com_dev *ena_dev) in ena_com_get_current_hash_function()
1088 static void ena_com_hash_key_fill_default_key(struct ena_com_dev *ena_dev) in ena_com_hash_key_fill_default_key()
1100 static int ena_com_hash_key_allocate(struct ena_com_dev *ena_dev) in ena_com_hash_key_allocate()
1118 static void ena_com_hash_key_destroy(struct ena_com_dev *ena_dev) in ena_com_hash_key_destroy()
1128 static int ena_com_hash_ctrl_init(struct ena_com_dev *ena_dev) in ena_com_hash_ctrl_init()
1142 static void ena_com_hash_ctrl_destroy(struct ena_com_dev *ena_dev) in ena_com_hash_ctrl_destroy()
1152 static int ena_com_indirect_table_allocate(struct ena_com_dev *ena_dev, in ena_com_indirect_table_allocate()
1205 static void ena_com_indirect_table_destroy(struct ena_com_dev *ena_dev) in ena_com_indirect_table_destroy()
1221 static int ena_com_create_io_sq(struct ena_com_dev *ena_dev, in ena_com_create_io_sq()
1298 static int ena_com_ind_tbl_convert_to_device(struct ena_com_dev *ena_dev) in ena_com_ind_tbl_convert_to_device()
1321 static void ena_com_update_intr_delay_resolution(struct ena_com_dev *ena_dev, in ena_com_update_intr_delay_resolution()
1386 int ena_com_create_io_cq(struct ena_com_dev *ena_dev, in ena_com_create_io_cq()
1446 int ena_com_get_io_handlers(struct ena_com_dev *ena_dev, u16 qid, in ena_com_get_io_handlers()
1463 void ena_com_abort_admin_commands(struct ena_com_dev *ena_dev) in ena_com_abort_admin_commands()
1483 void ena_com_wait_for_abort_completion(struct ena_com_dev *ena_dev) in ena_com_wait_for_abort_completion()
1499 int ena_com_destroy_io_cq(struct ena_com_dev *ena_dev, in ena_com_destroy_io_cq()
1525 bool ena_com_get_admin_running_state(struct ena_com_dev *ena_dev) in ena_com_get_admin_running_state()
1530 void ena_com_set_admin_running_state(struct ena_com_dev *ena_dev, bool state) in ena_com_set_admin_running_state()
1540 void ena_com_admin_aenq_enable(struct ena_com_dev *ena_dev) in ena_com_admin_aenq_enable()
1552 int ena_com_set_aenq_config(struct ena_com_dev *ena_dev, u32 groups_flag) in ena_com_set_aenq_config()
1594 int ena_com_get_dma_width(struct ena_com_dev *ena_dev) in ena_com_get_dma_width()
1620 int ena_com_validate_version(struct ena_com_dev *ena_dev) in ena_com_validate_version()
1670 ena_com_free_ena_admin_queue_comp_ctx(struct ena_com_dev *ena_dev, in ena_com_free_ena_admin_queue_comp_ctx()
1682 void ena_com_admin_destroy(struct ena_com_dev *ena_dev) in ena_com_admin_destroy()
1711 void ena_com_set_admin_polling_mode(struct ena_com_dev *ena_dev, bool polling) in ena_com_set_admin_polling_mode()
1722 void ena_com_set_admin_auto_polling_mode(struct ena_com_dev *ena_dev, in ena_com_set_admin_auto_polling_mode()
1728 int ena_com_mmio_reg_read_request_init(struct ena_com_dev *ena_dev) in ena_com_mmio_reg_read_request_init()
1753 void ena_com_set_mmio_read_mode(struct ena_com_dev *ena_dev, bool readless_supported) in ena_com_set_mmio_read_mode()
1760 void ena_com_mmio_reg_read_request_destroy(struct ena_com_dev *ena_dev) in ena_com_mmio_reg_read_request_destroy()
1773 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()
1785 int ena_com_admin_init(struct ena_com_dev *ena_dev, in ena_com_admin_init()
1870 int ena_com_create_io_queue(struct ena_com_dev *ena_dev, in ena_com_create_io_queue()
1932 void ena_com_destroy_io_queue(struct ena_com_dev *ena_dev, u16 qid) in ena_com_destroy_io_queue()
1953 int ena_com_get_link_params(struct ena_com_dev *ena_dev, in ena_com_get_link_params()
1959 int ena_com_get_dev_attr_feat(struct ena_com_dev *ena_dev, in ena_com_get_dev_attr_feat()
2045 void ena_com_admin_q_comp_intr_handler(struct ena_com_dev *ena_dev) in ena_com_admin_q_comp_intr_handler()
2053 static ena_aenq_handler ena_com_get_specific_aenq_cb(struct ena_com_dev *ena_dev, in ena_com_get_specific_aenq_cb()
2068 void ena_com_aenq_intr_handler(struct ena_com_dev *ena_dev, void *data) in ena_com_aenq_intr_handler()
2128 int ena_com_dev_reset(struct ena_com_dev *ena_dev, in ena_com_dev_reset()
2193 static int ena_get_dev_stats(struct ena_com_dev *ena_dev, in ena_get_dev_stats()
2221 int ena_com_get_eni_stats(struct ena_com_dev *ena_dev, in ena_com_get_eni_stats()
2243 int ena_com_get_dev_basic_stats(struct ena_com_dev *ena_dev, in ena_com_get_dev_basic_stats()
2258 int ena_com_set_dev_mtu(struct ena_com_dev *ena_dev, u32 mtu) in ena_com_set_dev_mtu()
2292 int ena_com_get_offload_settings(struct ena_com_dev *ena_dev, in ena_com_get_offload_settings()
2311 int ena_com_set_hash_function(struct ena_com_dev *ena_dev) in ena_com_set_hash_function()
2374 int ena_com_fill_hash_function(struct ena_com_dev *ena_dev, in ena_com_fill_hash_function()
2426 int ena_com_get_hash_function(struct ena_com_dev *ena_dev, in ena_com_get_hash_function()
2453 int ena_com_get_hash_key(struct ena_com_dev *ena_dev, u8 *key) in ena_com_get_hash_key()
2465 int ena_com_get_hash_ctrl(struct ena_com_dev *ena_dev, in ena_com_get_hash_ctrl()
2486 int ena_com_set_hash_ctrl(struct ena_com_dev *ena_dev) in ena_com_set_hash_ctrl()
2533 int ena_com_set_default_hash_ctrl(struct ena_com_dev *ena_dev) in ena_com_set_default_hash_ctrl()
2595 int ena_com_fill_hash_ctrl(struct ena_com_dev *ena_dev, in ena_com_fill_hash_ctrl()
2634 int ena_com_indirect_table_fill_entry(struct ena_com_dev *ena_dev, in ena_com_indirect_table_fill_entry()
2650 int ena_com_indirect_table_set(struct ena_com_dev *ena_dev) in ena_com_indirect_table_set()
2705 int ena_com_indirect_table_get(struct ena_com_dev *ena_dev, u32 *ind_tbl) in ena_com_indirect_table_get()
2731 int ena_com_rss_init(struct ena_com_dev *ena_dev, u16 indr_tbl_log_size) in ena_com_rss_init()
2766 void ena_com_rss_destroy(struct ena_com_dev *ena_dev) in ena_com_rss_destroy()
2775 int ena_com_allocate_host_info(struct ena_com_dev *ena_dev) in ena_com_allocate_host_info()
2792 int ena_com_allocate_debug_area(struct ena_com_dev *ena_dev, in ena_com_allocate_debug_area()
2810 void ena_com_delete_host_info(struct ena_com_dev *ena_dev) in ena_com_delete_host_info()
2821 void ena_com_delete_debug_area(struct ena_com_dev *ena_dev) in ena_com_delete_debug_area()
2833 int ena_com_set_host_attributes(struct ena_com_dev *ena_dev) in ena_com_set_host_attributes()
2884 bool ena_com_interrupt_moderation_supported(struct ena_com_dev *ena_dev) in ena_com_interrupt_moderation_supported()
2890 static int ena_com_update_nonadaptive_moderation_interval(struct ena_com_dev *ena_dev, in ena_com_update_nonadaptive_moderation_interval()
2906 int ena_com_update_nonadaptive_moderation_interval_tx(struct ena_com_dev *ena_dev, in ena_com_update_nonadaptive_moderation_interval_tx()
2915 int ena_com_update_nonadaptive_moderation_interval_rx(struct ena_com_dev *ena_dev, in ena_com_update_nonadaptive_moderation_interval_rx()
2924 int ena_com_init_interrupt_moderation(struct ena_com_dev *ena_dev) in ena_com_init_interrupt_moderation()
2960 unsigned int ena_com_get_nonadaptive_moderation_interval_tx(struct ena_com_dev *ena_dev) in ena_com_get_nonadaptive_moderation_interval_tx()
2965 unsigned int ena_com_get_nonadaptive_moderation_interval_rx(struct ena_com_dev *ena_dev) in ena_com_get_nonadaptive_moderation_interval_rx()
2970 int ena_com_config_dev_mode(struct ena_com_dev *ena_dev, in ena_com_config_dev_mode()