spi_busnum_to_master(9)

spi_busnum_to_master9

Look up master associated with bus_num

Usage

struct spi_master * spi_busnum_to_master(u16 bus_num);

Arguments

bus_num

the master's bus number

Context

can sleep

Overview

This call may be used with devices that are registered after arch init time. It returns a refcounted pointer to the relevant spi_master (which the caller must release), or NULL if there is no such master registered.

Releases

5 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.