Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | pti_masterchannel |
Macros | |
#define | PTI_LASTDWORD_DTS 0x30 |
Functions | |
void | pti_writedata (struct pti_masterchannel *mc, u8 *buf, int count) |
struct pti_masterchannel * | pti_request_masterchannel (u8 type, const char *thread_name) |
void | pti_release_masterchannel (struct pti_masterchannel *mc) |
void pti_release_masterchannel | ( | struct pti_masterchannel * | mc | ) |
pti_release_masterchannel()- Kernel API function used to release a master, channel ID address used to write to PTI HW.
: master, channel apeture ID address to be released. This will de-allocate the structure via kfree().
|
read |
pti_request_masterchannel()- Kernel API function used to allocate a master, channel ID address to write to PTI HW.
: 0- request Application master, channel aperture ID write address. 1- request OS master, channel aperture ID write address. 2- request Modem master, channel aperture ID write address. Other values, error. : The thread name associated with the master / channel or 'NULL' if using the 'current' global variable.
Returns: pti_masterchannel struct 0 for error
void pti_writedata | ( | struct pti_masterchannel * | mc, |
u8 * | buf, | ||
int | count | ||
) |
pti_writedata()- Kernel API function used to write trace debugging data to PTI HW.
: Master, channel aperture ID address to write to. Null value will return with no write occurring. : Trace debuging data to write to the PTI HW. Null value will return with no write occurring. : Size of buf. Value of 0 or a negative number will return with no write occuring.