beautypg.com

15 ifx_tapi_fxo_flash_set, 16 ifx_tapi_fxo_flash_cfg_set, Ifx_tapi_fxo_flash_set – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual

Page 19: Ifx_tapi_fxo_flash_cfg_set

background image

UG_1x66B_021

73M1866B/73M1966B TAPI High-Level Driver User Guide

Rev. 2.2

19

3.15 IFX_TAPI_FXO_FLASH_SET

Description

Issues flash-hook in the FXO interface.

#define IFX_TAPI_FXO_FLASH_SET _IOW(IFX_TAPI_IOC_MAGIC, 0xDC, int)

Prototype

int ioctl (

int chan_fd,

int IFX_TAPI_FXO_FLASH_SET,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

IFX_TAPI_FXO_FLASH_SET

I/O control identifier for this operation.

unsigned long

param

Parameter is not required.


Return Values

Data Type

Description

int

IFX_ERROR – Failed to perform hook flash.
IFX_SUCCESS – Successful.

3.16 IFX_TAPI_FXO_FLASH_CFG_SET

Description

Configuration of the fxo hook.

#define IFX_TAPI_FXO_FLASH_CFG_SET _IOW(IFX_TAPI_IOC_MAGIC, 0xD7, int)

Prototype

int ioctl (

int chan_fd,

int IFX_TAPI_FXO_FLASH_CFG_SET,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

IFX_TAPI_FXO_FLASH_CFG_SET

I/O control identifier for this operation.

unsigned long

param

Points to an
IFX_TAPI_FXO_FLASH_CFG_t
structure.


Return Values

Data Type

Description

int

IFX_ERROR – Failed to set hook flash config.
IFX_SUCCESS – Successful.