hsi_alloc_controller
Prev | Chapter 11. High Speed Synchronous Serial Interface (HSI) | Next

## 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.

Prev | Up | Next
hsi_put_controller | Home | hsi_free_msg