Home
last modified time | relevance | path

Searched refs:ddkc_info (Results 1 – 24 of 24) sorted by relevance

/AliOS-Things-master/components/drivers/peripheral/flash/example/
A Dflash_example.c51 ddkc_info("epoll_ctl return %d\r\n", ret); in vfs_flash_test()
54 ddkc_info("lseek of flash return %d\r\n", ret); in vfs_flash_test()
56 ddkc_info("ioctl of flash return %d\r\n", ret); in vfs_flash_test()
59 ddkc_info("lseek of flash return %d\r\n", ret); in vfs_flash_test()
61 ddkc_info("write to flash return %d\r\n", ret); in vfs_flash_test()
68 ddkc_info("lseek of flash return %d\r\n", ret); in vfs_flash_test()
70 ddkc_info("read from flash return %d\r\n", ret); in vfs_flash_test()
85 ddkc_info("EPOLLIN received\r\n"); in vfs_flash_test()
90 ddkc_info("EPOLLOUT received\r\n"); in vfs_flash_test()
94 ddkc_info("ioctl with IOC_FLASH_INFO_GET\r\n"); in vfs_flash_test()
[all …]
/AliOS-Things-master/components/drivers/peripheral/uart/example/
A Duart_example.c22 ddkc_info("\tuartw <port_id> <string>\n"); in uart_test_usage()
25 ddkc_info("\tuartr <port_id>\n"); in uart_test_usage()
69 ddkc_info("set baudrate done\r\n"); in uart_write_test()
71 ddkc_info("writing %s\r\n", string); in uart_write_test()
73 ddkc_info("write return %d\r\n", ret); in uart_write_test()
75 ddkc_info("closing %s\r\n", dev_name); in uart_write_test()
77 ddkc_info("%s closed\r\n", dev_name); in uart_write_test()
123 ddkc_info("set baudrate done\r\n"); in uart_read_test()
140 ddkc_info("%s closed\r\n", dev_name); in uart_read_test()
185 ddkc_info("set baudrate done\r\n"); in uart_echo_test()
[all …]
/AliOS-Things-master/components/drivers/peripheral/timer/example/
A Dtimer_example.c19 ddkc_info("enter %s arg:%p, fd = %d\r\n", __func__, arg, *((int *)arg)); in vfs_timer_handler()
34 ddkc_info("open %s %s, fd:%d\r\n", name, fd >= 0 ? "success" : "fail", fd); in vfs_timer_test()
43 ddkc_info("ioctl on IOC_TIMER_IRQP_SET %s, ret:%d\r\n", ret ? "fail" : "succeed", ret); in vfs_timer_test()
45 ddkc_info("start timer %s, ret:%d\r\n", ret ? "fail" : "succeed", ret); in vfs_timer_test()
52 ddkc_info("stop timer %s, ret:%d\r\n", ret ? "fail" : "succeed", ret); in vfs_timer_test()
60 ddkc_info("start timer %s, ret:%d\r\n", ret ? "fail" : "succeed", ret); in vfs_timer_test()
63 ddkc_info("reload timer %s, ret:%d\r\n", ret ? "fail" : "succeed", ret); in vfs_timer_test()
66 ddkc_info("stop timer %s, ret:%d\r\n", ret ? "fail" : "succeed", ret); in vfs_timer_test()
69 ddkc_info("ralarm period:%ld, cb:%p, arg:%p, auto_reload:%d\r\n", in vfs_timer_test()
82 ddkc_info("argc:%d, index:%d\r\n", argc, index); in vfs_timer_cli_cmd()
[all …]
/AliOS-Things-master/components/drivers/peripheral/spi/example/
A Dspi_example.c29 ddkc_info("open %s %s, fd:%d\r\n", name, fd >= 0 ? "success" : "fail", fd); in vfs_spi_test()
40 ddkc_info("epoll_ctl return %d\r\n", ret); in vfs_spi_test()
44 ddkc_info("write to spi return %d\r\n", ret); in vfs_spi_test()
48 ddkc_info("write to spi return %d\r\n", ret); in vfs_spi_test()
52 ddkc_info("read from spi return %d\r\n", ret); in vfs_spi_test()
55 ddkc_info("buffer[%d] - 0x%x\r\n", i, buffer[i]); in vfs_spi_test()
61 ddkc_info("EPOLLIN received\r\n"); in vfs_spi_test()
63 ddkc_info("read from ttyUART return %d\r\n", ret); in vfs_spi_test()
66 ddkc_info("EPOLLOUT received\r\n"); in vfs_spi_test()
79 ddkc_info("argc:%d, index:%d\r\n", argc, index); in vfs_spi_cli_cmd()
[all …]
/AliOS-Things-master/components/drivers/peripheral/pwm/src/
A Dpwm_dev.c33 ddkc_info("cmd:0x%x, arg:0x%lx\r\n", cmd, arg); in pwm_device_ioctl()
37 ddkc_info("IOC_PWM_ON, arg:%ld\r\n", arg); in pwm_device_ioctl()
39 ddkc_info("before hal_pwm_init\r\n"); in pwm_device_ioctl()
60 ddkc_info("IOC_PWM_OFF, arg:%ld\r\n", arg); in pwm_device_ioctl()
153 ddkc_info("%s\r\n", __func__); in pwm_device_pm()
233 ddkc_info("handle pwm%d reg fail\r\n", j); in vfs_pwm_drv_init()
259 ddkc_info("%s\r\n", __func__); in VFS_DRIVER_ENTRY()
264 ddkc_info("__weak %s\r\n", __func__); in hal_pwm_start()
269 ddkc_info("__weak %s\r\n", __func__); in hal_pwm_stop()
274 ddkc_info("__weak %s\r\n", __func__); in hal_pwm_para_chg()
[all …]
/AliOS-Things-master/components/drivers/peripheral/gpio/example/
A Dgpio_example.c26 ddkc_info("open gpio %s, fd:%d\r\n", fd >= 0 ? "success" : "fail", fd); in vfs_gpio_test()
33 ddkc_info("gpio read %d return %d\r\n", id, ret); in vfs_gpio_test()
39 ddkc_info("gpio write %d return %d\r\n", config.data, ret); in vfs_gpio_test()
44 ddkc_info("gpio toggle return %d\r\n", ret); in vfs_gpio_test()
57 ddkc_info("argc:%d, gpio[%d]\n", argc, id); in vfs_gpio_cli_cmd()
60 ddkc_info("vfs gpio test %s, ret:%d\r\n", ret ? "failed" : "success", ret); in vfs_gpio_cli_cmd()
/AliOS-Things-master/components/drivers/peripheral/wifi/src/
A Dvfs_wifi_drv.c34 ddkc_info("cmd:0x%x, arg:0x%lx\r\n", cmd, arg); in wifi_device_ioctl()
103 ddkc_info("hal wifi scan:ret:%d\n", ret); in wifi_device_ioctl()
115 ddkc_info("wifi ssid:%s, psw:%s ret:%d\n",wifi_config->ssid, wifi_config->password, ret); in wifi_device_ioctl()
254 ddkc_info("wifi_dev=%p drv_ops=%p\r\n", wifi_dev, wifi_dev->drv_ops); in wifi_device_init()
260 ddkc_info("enter\r\n"); in wifi_device_deinit()
265 ddkc_info("enter\r\n"); in wifi_device_pm()
282 ddkc_info("wifi vfs driver init starts\r\n"); in vfs_wifi_dev_register()
291 ddkc_info("malloc failed, ppsdev:%p, vd:%p\r\n", ppsdev, vd); in vfs_wifi_dev_register()
329 ddkc_info("wifi vfs driver init finish, ret:%d\r\n", ret); in vfs_wifi_dev_register()
337 ddkc_info("free memory for wifi%d\r\n", id); in vfs_wifi_dev_register()
/AliOS-Things-master/components/drivers/peripheral/adc/example/
A Dadc_example.c33 ddkc_info("opening name:%s\r\n", name); in vfs_adc_test()
62 ddkc_info("argc:%d, index:%d\r\n", argc, index); in vfs_adc_cli_cmd()
65 ddkc_info("vfs adc test %s, ret:%d\r\n", ret ? "failed" : "success", ret); in vfs_adc_cli_cmd()
/AliOS-Things-master/components/drivers/peripheral/flash/src/
A Dflash_dev.c219 ddkc_info("%s hal_flash_init ret:%d\r\n", __func__, ret); in flash_device_init()
221 ddkc_info("%s hal_flash_init USER_SPACE_DRIVER not defined\r\n", __func__); in flash_device_init()
227 ddkc_info("%s\r\n", __func__); in flash_device_deinit()
232 ddkc_info("%s\r\n", __func__); in flash_device_pm()
255 ddkc_info("flash vfs driver init starts, hal_partitions_amount:%d\r\n", hal_partitions_amount); in vfs_flash_drv_init()
270 ddkc_info("malloc for subsys_dev failed, \r\n"); in vfs_flash_drv_init()
308 ddkc_info("free memory for flash%d\r\n", j); in vfs_flash_drv_init()
/AliOS-Things-master/components/drivers/peripheral/adc/src/
A Dadc_dev.c49 ddkc_info("IOC_ADC_GET_VALUE, adc_arg.value:%d, ret:%d\r\n", adc_arg.value, ret); in adc_device_ioctl()
87 ddkc_info("device:%s open succeed\r\n", node->i_name); in adc_device_open()
94 ddkc_info("device:%s close succeed\r\n", f->node->i_name); in adc_device_close()
208 ddkc_info("free memory for adc%d\r\n", j); in vfs_adc_drv_init()
/AliOS-Things-master/components/drivers/core/base/core/
A Du_driver.c32 ddkc_info("drv->name:%s, drv:%p, bus:%p, p:%p\r\n", in u_driver_dump()
35 ddkc_info("drv->init:%p, drv->deinit:%p, drv->pm:%p, drv->on_ping:%p\r\n", in u_driver_dump()
37 ddkc_info("drv->probe:%p, drv->remove:%p, drv->shutdown:%p, drv->suspend:%p, drv->resume:%p\r\n", in u_driver_dump()
A Du_bus.c45ddkc_info("p:%p, bus_node:%p, next:%p, prev:%p\r\n", p, &p->bus_node, p->bus_node.next, p->bus_nod… in u_bus_dump_all()
71 ddkc_info("bus:%p, name:%s, p:%p\r\n", bus, bus->name, bus->p); in u_bus_dump()
298 ddkc_info("drv[%s] init dev[%s] success\r\n", drv->name, dev->name); in u_bus_try_init_device()
479 ddkc_info("add bus[%s] into global bus list\r\n", bus->name); in u_bus_unregister()
497 ddkc_info("bus:%p, name:%s, p:%p, devid:0x%x\r\n", bus, bus->name, bus->p, devid);
673 ddkc_info("dumping bus/device/driver information\r\n"); in u_bus_dump_cmd()
675 ddkc_info("dump bus/device/driver information done\r\n"); in u_bus_dump_cmd()
A Du_interrupt.c238 ddkc_info("thread %p stopped\r\n", p_irq_th); in u_irq_thread_fn()
301 ddkc_info("pthread create for irq-%d success, pid:%p, name:%s\r\n", in u_irq_thread_create()
355 ddkc_info("u_irq system init success\r\n"); in u_irq_system_init()
449 ddkc_info("irq[%d] shares common irq thread, ignore\r\n", u_irq->irq_id); in u_irq_remove()
A Du_device.c46 ddkc_info("dev:%p, dev->name:%s, id:%d, dev_id:%d, parent:%p, bus:%p, drv:%p, drv_data:%p\r\n", in u_device_dump()
239 ddkc_info("pathname:%s\r\n", pathname); in u_dev_node_get_pathname()
279 ddkc_info("path_name:%s added\r\n", dev_node->path_name); in u_device_node_create()
/AliOS-Things-master/components/drivers/peripheral/watchdog/src/
A Dwdg_dev.c169 ddkc_info("wdg vfs driver init starts\r\n"); in vfs_wdg_drv_init()
182 ddkc_info("malloc failed, *ppsdev:%p, vt:%p\r\n", *ppsdev, vt); in vfs_wdg_drv_init()
224 ddkc_info("wdg vfs driver init finish, ret:%d\r\n", ret); in vfs_wdg_drv_init()
234 ddkc_info("free memory for wdg%d\r\n", j); in vfs_wdg_drv_init()
/AliOS-Things-master/components/drivers/core/base/devicevfs/src/
A Du_driver_main.c32 ddkc_info("%s\r\n", __func__); in _loop_msg_handler()
120 ddkc_info("eid:%d, reason:%d\r\n", eid, reason); in main_thread_event_cb()
161 ddkc_info("%s uspace mode:%d\r\n", __func__, 0); in u_driver_entry()
A Ddevice_vfs_core.c172 ddkc_info("%d - 0x%x\r\n", i, *((char *)p_res + i) & 0xff); in _cdev_fops_handler()
332 ddkc_info("%d - 0x%x\r\n", i, buf[i] & 0xff); in u_device_rpc_msg_arrived()
461ddkc_info("start rpc service named:%s, handle:0x%x\r\n", dev_n->rpc_name, dev_n->rpc_handle); in u_device_rpc_open()
469ddkc_info("rpc service named:%s already started, handle:0x%x\r\n", dev_n->rpc_name, dev_n->rpc_han… in u_device_rpc_open()
511 ddkc_info("stop rpc service named:%s, handle:0x%x\r\n", dev_n->rpc_name, dev_n->rpc_handle); in u_device_rpc_open()
655 ddkc_info("opening %s\r\n", node->i_name); in _device_vfs_open()
892ddkc_info("register %s to vfs failed, rpc_only:%d, sdev->delay_init:%d, ret:%d\r\n", path_name, rp… in aos_dev_reg_with_flag()
1022 ddkc_info("unregistering %s from vfs\r\n", path_name); in aos_dev_unreg()
1028 ddkc_info("unregister %s from vfs %s\r\n", path_name, !ret ? "success" : "failed"); in aos_dev_unreg()
1038 ddkc_info("sdev named with %s found, delete it\r\n", d->node_name); in aos_dev_unreg()
/AliOS-Things-master/components/drivers/peripheral/spi/src/
A Dspi_dev.c247 ddkc_info("role:%d, firstbit:%d, mode:%d, t_mode:%d, data_size:%d, cs:%d\r\n", in spi_device_ioctl()
519 ddkc_info("spi vfs driver init starts\r\n"); in vfs_spi_drv_init()
533 ddkc_info("malloc for spi_dev:%p or subsys_dev:%p failed, \r\n", spi_dev, *ppsdev); in vfs_spi_drv_init()
574 ddkc_info("spi vfs driver init finish, ret:%d\r\n", ret); in vfs_spi_drv_init()
585 ddkc_info("free memory for spi%d\r\n", j); in vfs_spi_drv_init()
/AliOS-Things-master/components/drivers/core/base/include/drivers/
A Dddkc_log.h30 #define ddkc_info(format, ...) ddkc_log(DDKC_LOG_INFO, format, ##__VA_ARGS__) macro
/AliOS-Things-master/components/drivers/peripheral/i2c/src/
A Di2c_dev.c375 ddkc_info("malloc failed, *ppsdev:%p, vd:%p\r\n", *ppsdev, vd); in vfs_i2c_drv_init()
428 ddkc_info("free memory for i2c%d\r\n", i); in vfs_i2c_drv_init()
A Di2c_core.c281 ddkc_info("i2c%d's slave list is empty\r\n"); in aos_i2c_close()
/AliOS-Things-master/components/drivers/core/base/platform/
A Du_platform_bus.c319 ddkc_info("u_aos_get_driver_info\r\n");
/AliOS-Things-master/components/drivers/peripheral/timer/src/
A Dtimer_dev.c273 ddkc_info("free memory for timer%d\r\n", j); in vfs_timer_drv_init()
/AliOS-Things-master/components/drivers/peripheral/uart/src/
A Duart_dev.c635 ddkc_info("free memory for UART%d\r\n", j); in vfs_uart_drv_init()

Completed in 35 milliseconds