Rechercher une page de manuel

Chercher une autre page de manuel:

i2o_dma_map_single

Langue: en

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

i2o_dma_map_single - Map pointer to controller and fill in I2O message.

SYNOPSIS

dma_addr_t i2o_dma_map_single(struct i2o_controller * c, void * ptr, size_t size, enum dma_data_direction direction, u32 ** sg_ptr);

ARGUMENTS

c

I2O controller

ptr

pointer to the data which should be mapped

size

size of data in bytes

direction

DMA_TO_DEVICE / DMA_FROM_DEVICE

sg_ptr

pointer to the SG list inside the I2O message

DESCRIPTION

This function does all necessary DMA handling and also writes the I2O SGL elements into the I2O message. For details on DMA handling see also dma_map_single. The pointer sg_ptr will only be set to the end of the SG list if the allocation was successful.

Returns DMA address which must be checked for failures using dma_mapping_error.

13:24 La plus belle ville c'est la mienne. J'habite au pied d'un chateau
(tour, hôtel, parlement). J'ai un canal avec cascade au pied de ma
fenêtre. Pas de circulation. Centre ville à 350m... Le pied !!!
13:26 jr> 13:24 Il delire, ou il habite eurodisney