Name

hsi_alloc_controller — Allocate an HSI controller and its ports

Synopsis

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

Arguments

n_ports

Number of ports on the HSI controller

flags

Kernel allocation flags

Description

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