mipi_dsi_generic_read(9) receive data using a generic read packet

SYNOPSIS

ssize_t mipi_dsi_generic_read(struct mipi_dsi_device * dsi, const void * params, size_t num_params, void * data, size_t size);

ARGUMENTS

dsi

DSI peripheral device

params

buffer containing the request parameters

num_params

number of request parameters

data

buffer in which to return the received data

size

size of receive buffer

DESCRIPTION

This function will automatically choose the right data type depending on the number of parameters passed in.

RETURN

The number of bytes successfully read or a negative error code on failure.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT