NewMadeleine

Documentation

« back to PM2 home.
nm_minidriver.h File Reference

Definition of the minidriver interface. More...

#include <stdint.h>
#include <nm_public.h>
#include <Padico/Puk.h>
#include <sys/uio.h>
#include <string.h>
Include dependency graph for nm_minidriver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  nm_drv_profile_s
 Performance information for driver. More...
 
struct  nm_minidriver_capabilities_s
 Static driver capabilities. More...
 
struct  nm_minidriver_hints_s
 some hints to help drivers tune themselves More...
 
struct  nm_minidriver_properties_s
 
struct  nm_pkt_s
 a packet to submit to a driver More...
 
struct  nm_minidriver_iface_s
 Interface driver for the 'NewMad_minidriver' component interface. More...
 

Macros

#define NM_RDV_DATA_SIZE   (4 * sizeof(uint64_t))
 size of rdv data packet with RTR, in bytes
 

Functions

static void nm_pkt_init (struct nm_pkt_s *p_pkt)
 
 PUK_IFACE_TYPE (NewMad_minidriver, struct nm_minidriver_iface_s)
 
static void nm_minidriver_properties_init (struct nm_minidriver_properties_s *p_props)
 initialize all properties to 0
 
static void nm_minidriver_properties_normalize (struct nm_minidriver_properties_s *p_props)
 ensure properties are in canonical form
 

Detailed Description

Definition of the minidriver interface.

See Minidriver interface

Definition in file nm_minidriver.h.

Macro Definition Documentation

◆ NM_RDV_DATA_SIZE

#define NM_RDV_DATA_SIZE   (4 * sizeof(uint64_t))

size of rdv data packet with RTR, in bytes

Definition at line 274 of file nm_minidriver.h.

Function Documentation

◆ nm_minidriver_properties_init()

static void nm_minidriver_properties_init ( struct nm_minidriver_properties_s p_props)
inlinestatic

initialize all properties to 0

Definition at line 448 of file nm_minidriver.h.

Referenced by nm_minidriver_getprops().

◆ nm_minidriver_properties_normalize()

static void nm_minidriver_properties_normalize ( struct nm_minidriver_properties_s p_props)
inlinestatic

◆ nm_pkt_init()

static void nm_pkt_init ( struct nm_pkt_s p_pkt)
inlinestatic

Definition at line 322 of file nm_minidriver.h.

Referenced by nm_minidriver_recv_pkt_build(), and nm_minidriver_send_pkt_build().

◆ PUK_IFACE_TYPE()

PUK_IFACE_TYPE ( NewMad_minidriver  ,
struct nm_minidriver_iface_s   
)