Tsc_1x22_mafe_irq_down_try, Tsc_1x22_mafe_irq_up – Maxim Integrated 73M1822/73M1922 Hardware Module for SMDK412 User Manual

Page 18

Advertising
background image

73M1822/73M1922 Hardware Module for SMDK412 User Guide

UG_1x22_054

18

Rev. 1.1

3.6.16 TSC_1X22_MAFE_IRQ_DOWN_TRY

Description

This IOCTL attempts a mutex down_try call on an internal mutex. This IOCTL does not block and always
completes.

Prototype

int ioctl (

int fd,

int TSC_1X22_MAFE_IRQ_DOWN_TRY);


Parameters

Data Type

Name

Description

int

fd

Channel descriptor.

int

TSC_1X22_MAFE_IRQ_DOWN_TRY

I/O control identifier.


Return Values

Data Type

Description

int

Returns 0 upon successfully acquiring the lock, non-zero upon failure.

3.6.17 TSC_1X22_MAFE_IRQ_UP

Description

This IOCTL attempts a mutex up call on an internal mutex. This IOCTL does not block and always
completes.

Prototype

int ioctl (

int fd,

int TSC_1X22_MAFE_IRQ_UP);


Parameters

Data Type

Name

Description

int

fd

Channel descriptor.

int

TSC_1X22_MAFE_IRQ_UP

I/O control identifier.


Return Values

Data Type

Description

int

0 = Success.
-1 = Failure.


Advertising