iPXE
Data Structures | Defines | Typedefs
mlx_types_priv.h File Reference
#include <stdint.h>
#include <ipxe/pci.h>

Go to the source code of this file.

Data Structures

union  mlx_mac_address

Defines

#define MLX_SUCCESS   0
#define MLX_OUT_OF_RESOURCES   (-1)
#define MLX_INVALID_PARAMETER   (-2)
#define MLX_UNSUPPORTED   (-3)
#define MLX_NOT_FOUND   (-4)
#define MLX_FAILED   (-5)
#define TRUE   1
#define FALSE   !TRUE
#define MAC_ADDR_LEN   6

Typedefs

typedef int mlx_status
typedef uint8_t mlx_uint8
typedef uint16_t mlx_uint16
typedef uint32_t mlx_uint32
typedef uint64_t mlx_uint64
typedef unsigned long mlx_uintn
typedef int8_t mlx_int8
typedef int16_t mlx_int16
typedef int32_t mlx_int32
typedef int64_t mlx_int64
typedef uint8_t mlx_boolean
typedef struct pci_device mlx_pci
typedef size_t mlx_size
typedef void mlx_void
typedef unsigned long mlx_physical_address

Define Documentation

#define MLX_SUCCESS   0

Definition at line 14 of file mlx_types_priv.h.

Referenced by check_nodnic_interface_supported(), disable_nodnic_inteface(), flexboot_nodnic_alloc_uar(), flexboot_nodnic_allocate_infiniband_devices(), flexboot_nodnic_create_cq(), flexboot_nodnic_create_qp(), flexboot_nodnic_dealloc_uar(), flexboot_nodnic_eth_close(), flexboot_nodnic_eth_open(), flexboot_nodnic_is_supported(), flexboot_nodnic_mcast_attach(), flexboot_nodnic_mcast_detach(), flexboot_nodnic_ports_register_dev(), flexboot_nodnic_ports_unregister_dev(), flexboot_nodnic_post_recv(), flexboot_nodnic_post_send(), flexboot_nodnic_probe(), flexboot_nodnic_register_netdev(), flexboot_nodnic_set_ports_type(), flexboot_nodnic_thin_init_ports(), init_operation_tlv(), mlx_blink_leds(), mlx_get_max_mtu(), mlx_get_max_speed(), mlx_icmd_clear_semaphore(), mlx_icmd_get_semaphore(), mlx_icmd_get_status(), mlx_icmd_go(), mlx_icmd_init(), mlx_icmd_read_buffer(), mlx_icmd_send_command(), mlx_icmd_set_opcode(), mlx_icmd_write_buffer(), mlx_memory_alloc(), mlx_memory_alloc_dma(), mlx_memory_alloc_dma_priv(), mlx_memory_alloc_priv(), mlx_memory_be32_to_cpu(), mlx_memory_be32_to_cpu_priv(), mlx_memory_cmp(), mlx_memory_cmp_priv(), mlx_memory_cpu_to_be32(), mlx_memory_cpu_to_be32_priv(), mlx_memory_cpy(), mlx_memory_cpy_priv(), mlx_memory_free(), mlx_memory_free_dma(), mlx_memory_free_dma_priv(), mlx_memory_free_priv(), mlx_memory_map_dma(), mlx_memory_map_dma_priv(), mlx_memory_set(), mlx_memory_set_priv(), mlx_memory_ummap_dma(), mlx_memory_ummap_dma_priv(), mlx_memory_zalloc(), mlx_memory_zalloc_priv(), mlx_pci_config(), mlx_pci_config_byte(), mlx_pci_config_dword(), mlx_pci_config_word(), mlx_pci_gw_check_capability_id(), mlx_pci_gw_free_ownership(), mlx_pci_gw_get_ownership(), mlx_pci_gw_init(), mlx_pci_gw_read(), mlx_pci_gw_search_capability(), mlx_pci_gw_set_space(), mlx_pci_gw_teardown(), mlx_pci_gw_wait_for_flag_value(), mlx_pci_gw_write(), mlx_pci_init(), mlx_pci_init_priv(), mlx_pci_mem_read(), mlx_pci_mem_read_priv(), mlx_pci_mem_write(), mlx_pci_mem_write_priv(), mlx_pci_read(), mlx_pci_read_priv(), mlx_pci_teardown(), mlx_pci_teardown_priv(), mlx_pci_write(), mlx_pci_write_priv(), mlx_reg_access(), mlx_set_admin_mtu(), mlx_set_link_speed(), mlx_utils_acquire_lock_priv(), mlx_utils_delay_in_ms(), mlx_utils_delay_in_ms_priv(), mlx_utils_delay_in_us(), mlx_utils_delay_in_us_priv(), mlx_utils_free_lock_priv(), mlx_utils_ilog2(), mlx_utils_ilog2_priv(), mlx_utils_init(), mlx_utils_init_lock_priv(), mlx_utils_rand_priv(), mlx_utils_release_lock_priv(), mlx_utils_teardown(), mlx_vmac_query_virt_mac(), mlx_vmac_set_virt_mac(), nodnic_cmd_read(), nodnic_cmd_write(), nodnic_device_clear_int(), nodnic_device_get_cap(), nodnic_device_get_fw_version(), nodnic_device_get_nodnic_data(), nodnic_device_init(), nodnic_device_start_nodnic(), nodnic_device_teardown(), nodnic_port_add_mac_filter(), nodnic_port_allocate_dbr_dma(), nodnic_port_allocate_eq(), nodnic_port_allocate_ring_db_dma(), nodnic_port_check_and_set_dma(), nodnic_port_close(), nodnic_port_cq_dbr_dma_init(), nodnic_port_create_cq(), nodnic_port_create_qp(), nodnic_port_destroy_cq(), nodnic_port_destroy_qp(), nodnic_port_disable_dma(), nodnic_port_enable_dma(), nodnic_port_free_eq(), nodnic_port_get_cq_size(), nodnic_port_get_qpn(), nodnic_port_get_state(), nodnic_port_get_type(), nodnic_port_init(), nodnic_port_query(), nodnic_port_read_port_management_change_event(), nodnic_port_read_reset_needed(), nodnic_port_recv_db_dma(), nodnic_port_remove_mac_filter(), nodnic_port_rx_pi_dma_alloc(), nodnic_port_send_db_dma(), nodnic_port_set(), nodnic_port_set_network(), nodnic_port_set_promisc(), nodnic_port_set_promisc_multicast(), nodnic_port_set_send_uar_offset(), nodnic_port_thin_init(), nodnic_port_tx_dbr_dma_init(), nodnic_port_update_ring_doorbell(), nvconfig_get_boot_default_conf(), nvconfig_get_boot_ext_default_conf(), nvconfig_get_iscsi_gen_default_conf(), nvconfig_get_iscsi_init_dhcp_default_conf(), nvconfig_get_nv_virt_caps_default_conf(), nvconfig_get_ocsd_ocbb_default_conf(), nvconfig_get_rom_banner_to_default_conf(), nvconfig_get_rom_cap_default_conf(), nvconfig_get_tlv_type_and_class(), nvconfig_nvdata_access(), nvconfig_nvdata_default_access(), nvconfig_nvdata_invalidate(), nvconfig_nvdata_read_default_value(), nvconfig_query_capability(), nvconfig_read_general_default_values(), nvconfig_read_port_default_values(), nvconfig_read_rom_ini_values(), nvconfig_set_fw_reset_level(), shomron_fill_eth_send_wqe(), shomron_tx_uar_send_db(), and wait_for_device_initialization().

#define MLX_OUT_OF_RESOURCES   (-1)
#define MLX_INVALID_PARAMETER   (-2)

Definition at line 17 of file mlx_types_priv.h.

Referenced by mlx_blink_leds(), mlx_get_max_mtu(), mlx_get_max_speed(), mlx_icmd_clear_semaphore(), mlx_icmd_get_semaphore(), mlx_icmd_get_status(), mlx_icmd_go(), mlx_icmd_init(), mlx_icmd_read_buffer(), mlx_icmd_send_command(), mlx_icmd_set_opcode(), mlx_icmd_write_buffer(), mlx_memory_alloc(), mlx_memory_alloc_dma(), mlx_memory_be32_to_cpu(), mlx_memory_cmp(), mlx_memory_cpu_to_be32(), mlx_memory_cpy(), mlx_memory_free(), mlx_memory_free_dma(), mlx_memory_map_dma(), mlx_memory_set(), mlx_memory_ummap_dma(), mlx_memory_zalloc(), mlx_pci_config(), mlx_pci_gw_init(), mlx_pci_gw_read(), mlx_pci_gw_search_capability(), mlx_pci_gw_write(), mlx_pci_init(), mlx_pci_mem_read(), mlx_pci_mem_read_priv(), mlx_pci_mem_write(), mlx_pci_mem_write_priv(), mlx_pci_read(), mlx_pci_teardown(), mlx_pci_write(), mlx_reg_access(), mlx_set_admin_mtu(), mlx_set_link_speed(), mlx_utils_init(), mlx_vmac_query_virt_mac(), mlx_vmac_set_virt_mac(), nodnic_cmd_read(), nodnic_cmd_write(), nodnic_device_get_cap(), nodnic_device_get_fw_version(), nodnic_device_init(), nodnic_port_add_mac_filter(), nodnic_port_allocate_dbr_dma(), nodnic_port_allocate_eq(), nodnic_port_allocate_ring_db_dma(), nodnic_port_close(), nodnic_port_cq_dbr_dma_init(), nodnic_port_create_cq(), nodnic_port_create_qp(), nodnic_port_destroy_cq(), nodnic_port_disable_dma(), nodnic_port_enable_dma(), nodnic_port_free_eq(), nodnic_port_get_qpn(), nodnic_port_init(), nodnic_port_query(), nodnic_port_remove_mac_filter(), nodnic_port_rx_pi_dma_alloc(), nodnic_port_set(), nodnic_port_thin_init(), nodnic_port_tx_dbr_dma_init(), nodnic_port_update_ring_doorbell(), nvconfig_nvdata_access(), nvconfig_nvdata_invalidate(), nvconfig_query_capability(), nvconfig_read_general_default_values(), nvconfig_read_port_default_values(), and nvconfig_read_rom_ini_values().

#define MLX_UNSUPPORTED   (-3)
#define MLX_NOT_FOUND   (-4)
#define MLX_FAILED   (-5)
#define TRUE   1

Definition at line 26 of file mlx_types_priv.h.

#define FALSE   !TRUE

Definition at line 28 of file mlx_types_priv.h.

#define MAC_ADDR_LEN   6

Definition at line 50 of file mlx_types_priv.h.


Typedef Documentation

typedef int mlx_status

Definition at line 30 of file mlx_types_priv.h.

typedef uint8_t mlx_uint8

Definition at line 32 of file mlx_types_priv.h.

Definition at line 33 of file mlx_types_priv.h.

Definition at line 34 of file mlx_types_priv.h.

Definition at line 35 of file mlx_types_priv.h.

typedef unsigned long mlx_uintn

Definition at line 36 of file mlx_types_priv.h.

typedef int8_t mlx_int8

Definition at line 38 of file mlx_types_priv.h.

typedef int16_t mlx_int16

Definition at line 39 of file mlx_types_priv.h.

typedef int32_t mlx_int32

Definition at line 39 of file mlx_types_priv.h.

typedef int64_t mlx_int64

Definition at line 41 of file mlx_types_priv.h.

Definition at line 42 of file mlx_types_priv.h.

typedef struct pci_device mlx_pci

Definition at line 44 of file mlx_types_priv.h.

typedef size_t mlx_size

Definition at line 46 of file mlx_types_priv.h.

typedef void mlx_void

Definition at line 48 of file mlx_types_priv.h.

typedef unsigned long mlx_physical_address

Definition at line 51 of file mlx_types_priv.h.