Lines Matching refs:num
88 unsigned long num = 0; in HaiInitializeLibrary() local
95 if ( GetNumValue ( NAME_GLOBAL_RESET, &num, sizeof ( num ) ) ) in HaiInitializeLibrary()
97 if (num == 1) in HaiInitializeLibrary()
106 if ( GetNumValue ( NAME_PRESERVE_STORAGE, (char*)&num, sizeof ( num ) ) && in HaiInitializeLibrary()
107 (num == 1) ) in HaiInitializeLibrary()
114 if ( GetNumValue ( NAME_USE_RAW_NCI_TRACE, &num, sizeof ( num ) ) ) in HaiInitializeLibrary()
116 if (num == 1) in HaiInitializeLibrary()
124 if ( GetNumValue ( NAME_PROTOCOL_TRACE_LEVEL, &num, sizeof ( num ) ) ) in HaiInitializeLibrary()
125 ScrProtocolTraceFlag = num; in HaiInitializeLibrary()
151 else if ( GetNumValue ( NAME_UART_STOPBITS, &num, sizeof ( num ) ) ) in HaiInitializeLibrary()
153 if ( num == 1 ) in HaiInitializeLibrary()
155 else if ( num == 2 ) in HaiInitializeLibrary()
161 if ( GetNumValue ( NAME_UART_DATABITS, &num, sizeof ( num ) ) ) in HaiInitializeLibrary()
163 if ( 5 <= num && num <= 8 ) in HaiInitializeLibrary()
164 uart.m_iDatabits = ( 1 << ( num + 1 ) ); in HaiInitializeLibrary()
169 if ( GetNumValue ( NAME_UART_BAUD, &num, sizeof ( num ) ) ) in HaiInitializeLibrary()
171 if ( num == 300 ) uart.m_iBaudrate = USERIAL_BAUD_300; in HaiInitializeLibrary()
172 else if ( num == 600 ) uart.m_iBaudrate = USERIAL_BAUD_600; in HaiInitializeLibrary()
173 else if ( num == 1200 ) uart.m_iBaudrate = USERIAL_BAUD_1200; in HaiInitializeLibrary()
174 else if ( num == 2400 ) uart.m_iBaudrate = USERIAL_BAUD_2400; in HaiInitializeLibrary()
175 else if ( num == 9600 ) uart.m_iBaudrate = USERIAL_BAUD_9600; in HaiInitializeLibrary()
176 else if ( num == 19200 ) uart.m_iBaudrate = USERIAL_BAUD_19200; in HaiInitializeLibrary()
177 else if ( num == 57600 ) uart.m_iBaudrate = USERIAL_BAUD_57600; in HaiInitializeLibrary()
178 else if ( num == 115200 ) uart.m_iBaudrate = USERIAL_BAUD_115200; in HaiInitializeLibrary()
179 else if ( num == 230400 ) uart.m_iBaudrate = USERIAL_BAUD_230400; in HaiInitializeLibrary()
180 else if ( num == 460800 ) uart.m_iBaudrate = USERIAL_BAUD_460800; in HaiInitializeLibrary()
181 else if ( num == 921600 ) uart.m_iBaudrate = USERIAL_BAUD_921600; in HaiInitializeLibrary()
198 if ( GetNumValue ( NAME_NFCC_ENABLE_TIMEOUT, &num, sizeof ( num ) ) ) in HaiInitializeLibrary()
200 p_nfc_hal_cfg->nfc_hal_nfcc_enable_timeout = num; in HaiInitializeLibrary()
203 if ( GetNumValue ( NAME_NFA_MAX_EE_SUPPORTED, &num, sizeof ( num ) ) && num == 0 ) in HaiInitializeLibrary()