1. NAME

hsi_alloc_controller - Allocate an HSI controller and its ports

2. SYNOPSIS

struct hsi_controller * hsi_alloc_controller(unsigned int  n_ports , gfp_t  flags );

3. ARGUMENTS

n_ports
    Number of ports on the HSI controller

flags
    Kernel allocation flags

4. DESCRIPTION

Return NULL on failure or a pointer to an hsi_controller on success.

5. COPYRIGHT