Main Page | Directories | File List | Globals

adi_devices.c File Reference

#include <agnix/agnix.h>
#include <agnix/adi/adi.h>

Include dependency graph for adi_devices.c:

Go to the source code of this file.

Functions

void adi_device_lock_irq (struct adi_device_lock_s *dev_lock)
void adi_device_unlock_irq (struct adi_device_lock_s *dev_lock)


Function Documentation

void adi_device_lock_irq struct adi_device_lock_s *  dev_lock  ) 
 

Definition at line 17 of file adi_devices.c.

Referenced by adi_blkdev_lock_irq().

00018 {
00019     spin_lock_irqsave(&dev_lock->spin_lock, dev_lock->save_flags);
00020 }

void adi_device_unlock_irq struct adi_device_lock_s *  dev_lock  ) 
 

Definition at line 22 of file adi_devices.c.

Referenced by adi_blkdev_unlock_irq().

00023 {
00024     spin_unlock_irqrestore(&dev_lock->spin_lock, dev_lock->save_flags);
00025 }

Dokumentacje wygenerowano programem Doxygen 1.4.2 dla projektu Agnix