- mtkernel_3
- device/adc/adc.c - 7.0KB - 258 lines
214: #if TK_SUPPORT_MEMLIB
215: p_dcb = (T_ADC_DCB*)Kmalloc(sizeof(T_ADC_DCB));
216: if( p_dcb == NULL) return E_NOMEM;
- device/common/drvif/msdrvif.c - 4.5KB - 197 lines
137: /* Create "SDI"*/
138: msdi = Kmalloc(sizeof(T_MSDI));
139: if ( msdi == NULL ) {
- device/i2c/i2c.c - 8.4KB - 308 lines
262: #if TK_SUPPORT_MEMLIB
263: p_dcb = (T_I2C_DCB*)Kmalloc(sizeof(T_I2C_DCB));
264: if( p_dcb == NULL) return E_NOMEM;
- device/ser/ser.c - 14.9KB - 453 lines
401: #if TK_SUPPORT_MEMLIB
402: p_dcb = (T_SER_DCB*)Kmalloc(sizeof(T_SER_DCB));
403: if( p_dcb == NULL) return E_NOMEM;