Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
spu_notify.c File Reference
#include <linux/export.h>
#include <linux/notifier.h>
#include <asm/spu.h>
#include "spufs/spufs.h"

Go to the source code of this file.

Functions

void spu_switch_notify (struct spu *spu, struct spu_context *ctx)
 
 EXPORT_SYMBOL_GPL (spu_switch_notify)
 
int spu_switch_event_register (struct notifier_block *n)
 
 EXPORT_SYMBOL_GPL (spu_switch_event_register)
 
int spu_switch_event_unregister (struct notifier_block *n)
 
 EXPORT_SYMBOL_GPL (spu_switch_event_unregister)
 
void spu_set_profile_private_kref (struct spu_context *ctx, struct kref *prof_info_kref, void(*prof_info_release)(struct kref *kref))
 
 EXPORT_SYMBOL_GPL (spu_set_profile_private_kref)
 
voidspu_get_profile_private_kref (struct spu_context *ctx)
 
 EXPORT_SYMBOL_GPL (spu_get_profile_private_kref)
 

Function Documentation

EXPORT_SYMBOL_GPL ( spu_switch_notify  )
EXPORT_SYMBOL_GPL ( spu_switch_event_register  )
EXPORT_SYMBOL_GPL ( spu_switch_event_unregister  )
EXPORT_SYMBOL_GPL ( spu_set_profile_private_kref  )
EXPORT_SYMBOL_GPL ( spu_get_profile_private_kref  )
void* spu_get_profile_private_kref ( struct spu_context ctx)

Definition at line 63 of file spu_notify.c.

void spu_set_profile_private_kref ( struct spu_context ctx,
struct kref prof_info_kref,
void(*)(struct kref *kref prof_info_release 
)

Definition at line 54 of file spu_notify.c.

int spu_switch_event_register ( struct notifier_block n)

Definition at line 38 of file spu_notify.c.

int spu_switch_event_unregister ( struct notifier_block n)

Definition at line 48 of file spu_notify.c.

void spu_switch_notify ( struct spu *  spu,
struct spu_context ctx 
)

Definition at line 31 of file spu_notify.c.