- mtkernel_3
- device/adc/adc.c - 7.0KB - 258 lines
234: knl_strcpy( (char*)dmsdi.devnm, DEVCNF_ADC_DEVNAME);
235: i = knl_strlen(DEVCNF_ADC_DEVNAME);
236: dmsdi.devnm[i] = (UB)('a' + unit);
- device/i2c/i2c.c - 8.4KB - 308 lines
282: knl_strcpy( (char*)dmsdi.devnm, DEVCNF_I2C_DEVNAME);
283: i = knl_strlen(DEVCNF_I2C_DEVNAME);
284: dmsdi.devnm[i] = (UB)('a' + unit);
- device/ser/ser.c - 14.9KB - 453 lines
421: knl_strcpy( (char*)dmsdi.devnm, DEVCNF_SER_DEVNAME);
422: i = knl_strlen(DEVCNF_SER_DEVNAME);
423: dmsdi.devnm[i] = (UB)('a' + unit);
- kernel/tkernel/device.c - 13.5KB - 585 lines
100:
101: len = knl_strlen((char*)devnm);
102: if ( len == 0 || len > L_DEVNM ) {