/AliOS-Things-master/components/drivers/peripheral/timer/src/ |
A D | timer_dev.c | 33 ddkc_dbg("cmd:0x%x, arg:0x%lx\r\n", cmd, arg); in timer_device_ioctl() 58 ddkc_dbg("IOC_TIMER_IRQP_SET\r\n"); in timer_device_ioctl() 91 ddkc_dbg("IOC_TIMER_RELOAD\r\n"); in timer_device_ioctl() 177 ddkc_dbg("%s\r\n", __func__); in timer_device_init() 182 ddkc_dbg("%s\r\n", __func__); in timer_device_deinit() 187 ddkc_dbg("%s\r\n", __func__); in timer_device_pm() 291 ddkc_dbg("%s\r\n", __func__); in VFS_DRIVER_ENTRY() 296 ddkc_dbg("__weak %s\r\n", __func__); in hal_timer_start() 301 ddkc_dbg("__weak %s\r\n", __func__); in hal_timer_stop() 306 ddkc_dbg("__weak %s\r\n", __func__); in hal_timer_para_chg() [all …]
|
/AliOS-Things-master/components/drivers/core/base/core/ |
A D | u_bus.c | 281 ddkc_dbg("bus[%s]'s drv_list is empty\r\n", bus->name); in u_bus_try_init_device() 338 ddkc_dbg("bus[%s]'s dev_list is empty\r\n", bus->name); in u_bus_attach_driver() 348 ddkc_dbg("bus[%s] dev[%s] is already probed by drv[%s]\r\n", in u_bus_attach_driver() 380 ddkc_dbg("name:%s, bus:%p\r\n", name, bus); in u_bus_get_by_name() 394 ddkc_dbg("bus list init\r\n"); in u_bus_list_init() 409 ddkc_dbg("add bus[%s] into global bus list\r\n", bus->name); in u_bus_add() 502 ddkc_dbg("bus[%s]'s device list is empty\r\n", bus->name); 524 ddkc_dbg ("%s\r\n", __func__); 631 ddkc_dbg("dev:%p, dev_p:%p\r\n", dev, dev_p); in u_bus_detach_driver() 633 ddkc_dbg("dev:%p, dev_p:%p\r\n", dev, dev_p); in u_bus_detach_driver() [all …]
|
A D | u_device.c | 229 ddkc_dbg("pathname length:%d\r\n", length); in u_dev_node_get_pathname() 230 ddkc_dbg("parent pathname:%s\r\n", dev_node->parent->path_name); in u_dev_node_get_pathname() 231 ddkc_dbg("node pathname:%p - %s\r\n", dev_node->name, dev_node->name); in u_dev_node_get_pathname() 332 ddkc_dbg("dev_node with pathname[%s] found\r\n", dev_node->path_name); in u_device_node_find_by_pathname() 336 ddkc_dbg("dev_node with pathname[%s] not found\r\n", path_name); in u_device_node_find_by_pathname() 352 ddkc_dbg("dev_node with node_name[%s] found\r\n", dev_node->path_name); in u_device_node_find_by_nodename() 356 ddkc_dbg("dev_node with node_name[%s] not found\r\n", node_name); in u_device_node_find_by_nodename() 372 ddkc_dbg("dev_node with u_dev[%p] found\r\n", u_dev); in u_device_node_find_by_dev() 376 ddkc_dbg("dev_node with u_dev[%p] not found\r\n", u_dev); in u_device_node_find_by_dev() 402 ddkc_dbg("root device node initialized\r\n"); in u_device_root_node_init() [all …]
|
A D | u_interrupt.c | 44 ddkc_dbg("pthread_spin_init success\r\n"); in u_irq_lock_init() 58 ddkc_dbg("pthread_spin_lock success\r\n"); in u_irq_lock_lock() 72 ddkc_dbg("pthread_spin_unlock success\r\n"); in u_irq_lock_unlock() 87 ddkc_dbg("pthread_spin_destroy success\r\n"); in u_irq_lock_destroy() 440 ddkc_dbg("irq:%d pthread_irq_th:%p, thread_handler:%p, no need to stop irq thread\r\n", in u_irq_remove() 444 ddkc_dbg("start to clear resource for irq:%d\r\n", u_irq->irq_id); in u_irq_remove() 455 ddkc_dbg("thread stopped for irq:%d\r\n", u_irq->irq_id); in u_irq_remove()
|
A D | u_driver.c | 80 ddkc_dbg("malloc for u_driver_private_t done\r\n"); in u_driver_initialize()
|
/AliOS-Things-master/components/drivers/peripheral/i2c/src/ |
A D | i2c_dev.c | 141 ddkc_dbg("IOC_I2C_SET_FREQ\r\n"); in i2c_device_ioctl() 150 ddkc_dbg("IOC_I2C_SET_CONFIG\r\n"); in i2c_device_ioctl() 170 ddkc_dbg("IOC_I2C_MASTER_RX\r\n"); in i2c_device_ioctl() 192 ddkc_dbg("IOC_I2C_MASTER_TX\r\n"); in i2c_device_ioctl() 214 ddkc_dbg("IOC_I2C_SLAVE_RX\r\n"); in i2c_device_ioctl() 219 ddkc_dbg("IOC_I2C_SLAVE_TX\r\n"); in i2c_device_ioctl() 224 ddkc_dbg("IOC_I2C_MEM_RX\r\n"); in i2c_device_ioctl() 245 ddkc_dbg("IOC_I2C_MEM_TX\r\n"); in i2c_device_ioctl() 331 ddkc_dbg("%s\r\n", __func__); in i2c_device_init() 336 ddkc_dbg("%s\r\n", __func__); in i2c_device_deinit() [all …]
|
A D | i2c_core.c | 49 ddkc_dbg("set addr speed on i2c%d success\r\n", master->id); in _i2c_master_set_clk() 78 ddkc_dbg("set addr mode on i2c%d success\r\n", master->id); in _i2c_master_set_addr_mode() 148 ddkc_dbg("i2c%d init success\r\n", id); in aos_i2c_open() 210 ddkc_dbg("i2c slave config done\r\n"); in aos_i2c_open()
|
/AliOS-Things-master/components/drivers/peripheral/gpio/src/ |
A D | gpio_dev.c | 54 ddkc_dbg("%s\r\n", __func__); in gpio_io_set() 69 ddkc_dbg("GPIO:%d, output toggle done, ret:%d", gpio_dev.port, ret); in gpio_io_set() 84 ddkc_dbg("invalid config:0x%x, set to ODNP\r\n", config->config); in gpio_io_set() 110 ddkc_dbg("%s\r\n", __func__); in gpio_io_get() 154 ddkc_dbg("%s\r\n", __func__); in gpio_irq_set() 206 ddkc_dbg("i_name:%s, cmd:%d, arg:0x%lx\r\n", f->node->i_name, cmd, arg); in gpio_device_ioctl() 259 ddkc_dbg("%s\r\n", __func__); in gpio_device_init() 264 ddkc_dbg("%s\r\n", __func__); in gpio_device_deinit() 269 ddkc_dbg("%s\r\n", __func__); in gpio_device_pm() 294 ddkc_dbg("gpio vfs driver init starts\r\n"); in vfs_gpio_drv_init() [all …]
|
/AliOS-Things-master/components/drivers/peripheral/adc/src/ |
A D | adc_dev.c | 36 ddkc_dbg("cmd:0x%x, arg:0x%lx\r\n", cmd, arg); in adc_device_ioctl() 54 ddkc_dbg("IOC_ADC_START, arg:%ld\r\n", arg); in adc_device_ioctl() 61 … ddkc_dbg("%s starts success, port:%d, ref_cnt:%d\r\n", fname, adc_dev->port, vd->ref_cnt); in adc_device_ioctl() 72 ddkc_dbg("%s stop success, port:%d\r\n", fname, adc_dev->port); in adc_device_ioctl() 114 ddkc_dbg("%s\r\n", __func__); in adc_device_init() 119 ddkc_dbg("%s\r\n", __func__); in adc_device_deinit() 124 ddkc_dbg("%s\r\n", __func__); in adc_device_pm() 145 ddkc_dbg("adc vfs driver init starts\r\n"); in vfs_adc_drv_init() 177 ddkc_dbg("*ppsdev:%p, node_name:%s, (*ppsdev) + 1:%p, sizeof(struct subsys_dev):%d\r\n", in vfs_adc_drv_init() 198 ddkc_dbg("adc vfs driver init finish, ret:%d\r\n", ret); in vfs_adc_drv_init()
|
/AliOS-Things-master/components/drivers/core/base/platform/ |
A D | u_platform_bus.c | 62 ddkc_dbg("dev:%p, _dev->driver:%p, drv:%p\r\n", dev, _dev->drv, drv); in u_platform_bus_init() 78 ddkc_dbg("ret:%d\r\n", ret); in u_platform_bus_init() 95 ddkc_dbg("dev:%p, _dev->drv:%p, drv:%p\r\n", dev, _dev->drv, drv); in u_platform_bus_deinit() 102 ddkc_dbg("ret:%d\r\n", ret); in u_platform_bus_deinit() 120 ddkc_dbg("dev:%p, _dev->drv:%p, drv:%p, state:%d\r\n", dev, _dev->drv, drv, state.event); in u_platform_bus_pm() 134 ddkc_dbg("ret:%d\r\n", ret); in u_platform_bus_pm() 153 ddkc_dbg("pdev->name:%s, drv->name:%s\r\n", pdev->name, drv->name); in u_platform_bus_match() 183 ddkc_dbg("ALERT!!! this bypass device manager process, need to register to DM!!\r\n"); in u_platform_device_register() 184 ddkc_dbg("dev[%s] register with bus[%s] succeed\r\n", dev->name, u_platform_bus.name); in u_platform_device_register() 224 …ddkc_dbg("drv[%s] register with bus[%s] %s\r\n", drv->driver.name, u_platform_bus.name, !r ? "succ… in u_platform_driver_register() [all …]
|
/AliOS-Things-master/components/drivers/peripheral/watchdog/src/ |
A D | wdg_dev.c | 36 ddkc_dbg("cmd:0x%x, arg:0x%lx\r\n", cmd, arg); in wdg_device_ioctl() 84 ddkc_dbg("%s opened, port:%d\r\n", node->i_name, vt->port); in wdg_device_open() 99 ddkc_dbg("close %s, port:%d\r\n", f->node->i_name, vt->port); in wdg_device_close() 126 ddkc_dbg("%s\r\n", __func__); in wdg_device_probe() 131 ddkc_dbg("%s\r\n", __func__); in wdg_device_remove() 136 ddkc_dbg("%s\r\n", __func__); in wdg_device_shutdown() 141 ddkc_dbg("%s\r\n", __func__); in wdg_device_suspend() 146 ddkc_dbg("%s\r\n", __func__); in wdg_device_resume() 172 ddkc_dbg("node_name_len:%d\r\n", node_name_len); in vfs_wdg_drv_init() 202 ddkc_dbg("*ppsdev:%p, node_name:%s, (*ppsdev) + 1:%p, sizeof(struct subsys_dev):%d\r\n", in vfs_wdg_drv_init()
|
/AliOS-Things-master/components/drivers/peripheral/flash/src/ |
A D | flash_dev.c | 44 ddkc_dbg("f->offset:%d, buffer:%p, size:%d\r\n", f->offset, buffer, size); in flash_device_read() 54 ddkc_dbg("read return %d\r\n", s); in flash_device_read() 73 ddkc_dbg("f->offset:%d, ret:%d\r\n", f->offset, ret); in flash_device_write() 83 ddkc_dbg("write return %d\r\n", s); in flash_device_write() 88 ddkc_dbg("f->offset:%x, off:%llx, whence:%d\r\n", f->offset, off, whence); in flash_device_lseek() 122 …ddkc_dbg("IOC_FLASH_ERASE_FLASH i_name:%s, flash:%d, cmd:%d, off_set:0x%x, size:0x%x\r\n", f->node… in flash_device_ioctl() 133 …ddkc_dbg("IOC_FLASH_INFO_GET i_name:%s, flash:%d, cmd:%d\r\n", f->node->i_name, in_partition, cmd); in flash_device_ioctl() 145 …ddkc_dbg("i_name:%s, flash:%d, cmd:%d, off_set:0x%x, size:0x%x\r\n", f->node->i_name, in_partition… in flash_device_ioctl() 187 ddkc_dbg("open %s done\r\n", node->i_name); in flash_device_open() 192 ddkc_dbg("close %s done\r\n", f->node->i_name); in flash_device_close() [all …]
|
/AliOS-Things-master/components/drivers/core/base/devicevfs/src/ |
A D | u_driver_main.c | 45 …ddkc_dbg("sizeof(u_cdev_msg_t):%d, sizeof(u_cdev_msg_id_e):%d, sizeof(unsigned short):%d, sizeof(i… in _cdev_fops_handler() 53 ddkc_dbg("open %s return %d\r\n", parg->open.path, ret); in _cdev_fops_handler() 58 ddkc_dbg("close return %d\r\n", ret); in _cdev_fops_handler() 80 ddkc_dbg("pkt->max_size:%x\r\n", pkt->max_size); in main_thread_req_arrived() 82 ddkc_dbg("reply_handle:%x\r\n", reply_handle); in main_thread_req_arrived() 89 ddkc_dbg("max_size:%x\r\n", len); in main_thread_req_arrived() 137 ddkc_dbg("%s uspace mode:%d\r\n", __func__, 1); in u_driver_entry() 152 ddkc_dbg("register main rpc main service[%s] succeed, handle:0x%x\r\n", in u_driver_entry()
|
A D | device_vfs_core.c | 114 ddkc_dbg("farg:%p\r\n", fnode); in _cdev_fops_handler() 301 ddkc_dbg("rpc pkt arrived\r\n"); in u_device_rpc_msg_arrived() 309 ddkc_dbg("pkt->max_size:%x\r\n", pkt->max_size); in u_device_rpc_msg_arrived() 311 ddkc_dbg("reply_handle:%x\r\n", reply_handle); in u_device_rpc_msg_arrived() 314 ddkc_dbg("max_size:%x\r\n", len); in u_device_rpc_msg_arrived() 429 ddkc_dbg("setting up for new fd\r\n"); in u_device_rpc_open() 472 ddkc_dbg("call driver's open operation\n"); in u_device_rpc_open() 649 ddkc_dbg("dev_n:%p\r\n", dev_n); in _device_vfs_open() 702 ddkc_dbg("enter\r\n"); in _device_vfs_init() 788 ddkc_dbg("pdev->name:%s\r\n", pdev->name); in aos_dev_reg_with_flag() [all …]
|
A D | u_driver_hub.c | 69 ddkc_dbg("drv_entry:%p, *drv_entry:%p\r\n", drv_entry, *drv_entry); in _os_driver_entry() 100 ddkc_dbg("drv_entry:%p, *drv_entry:%p\r\n", drv_entry, *drv_entry); in _os_post_driver_entry()
|
/AliOS-Things-master/components/drivers/peripheral/uart/src/ |
A D | uart_dev.c | 73 ddkc_dbg("%s, uart:%p, i:%d, ret:%d\r\n", __func__, uart, i, ret); in uart_device_read() 102 ddkc_dbg("%s, uart:%p, i:%d, ret:%d\r\n", __func__, uart, i, ret); in uart_device_write() 352 ddkc_dbg("uart%d is already opened, ref_cnt:%d\r\n", uart->port, vu->ref_cnt); in uart_device_open() 420 ddkc_dbg("enter %s, fp:%p\r\n", __func__, fp); in uart_rx_notify() 463 ddkc_dbg("enter %s, fd:%p, arg:%p, notify:%p\r\n", __func__, fd, arg, notify); in uart_device_poll() 518 ddkc_dbg("%s\r\n", __func__); in uart_device_init() 520 ddkc_dbg("pdev:%p, user_data:%p\r\n", pdev, user_data); in uart_device_init() 525 ddkc_dbg("%s\r\n", __func__); in uart_device_deinit() 530 ddkc_dbg("%s\r\n", __func__); in uart_device_pm() 563 ddkc_dbg("uart vfs driver init starts\r\n"); in vfs_uart_drv_init() [all …]
|
/AliOS-Things-master/components/drivers/peripheral/spi/src/ |
A D | spi_dev.c | 34 ddkc_dbg("%s, spi:%p, cb:%p\r\n", __func__, spi, cb); in hal_spi_recv_cb_reg() 44 ddkc_dbg("invalid spi:%p, buffer:%p or size:%d\r\n", spi, buffer, size); in spi_device_read() 225 ddkc_dbg("spi is NULL,invalid and ignore\r\n"); in spi_device_ioctl() 331 ddkc_dbg("spi is NULL,invalid and ignore\r\n"); in spi_device_open() 352 ddkc_dbg("%s\r\n", __func__); in spi_device_close() 357 ddkc_dbg("f->node->i_arg is NULL, invalid and ignore\r\n"); in spi_device_close() 380 ddkc_dbg("enter %s\r\n", __func__); in spi_rx_notify() 418 ddkc_dbg("f->node->i_arg is NULL, invalid and ignore\r\n"); in spi_device_poll() 474 ddkc_dbg("%s\r\n", __func__); in spi_device_init() 479 ddkc_dbg("%s\r\n", __func__); in spi_device_deinit() [all …]
|
/AliOS-Things-master/components/drivers/peripheral/pwm/src/ |
A D | pwm_dev.c | 143 ddkc_dbg("%s\r\n", __func__); in pwm_device_init() 148 ddkc_dbg("%s\r\n", __func__); in pwm_device_deinit() 174 ddkc_dbg("pwm vfs driver init starts\r\n"); in vfs_pwm_drv_init() 177 ddkc_dbg("node_name_len:%d\r\n", node_name_len); in vfs_pwm_drv_init() 207 … ddkc_dbg("*ppsdev:%p, (char *)((*ppsdev) + 1):%p, node_name:%s, sizeof(struct subsys_dev):%d\r\n", in vfs_pwm_drv_init() 229 ddkc_dbg("pwm vfs driver init finish, ret:%d\r\n", ret); in vfs_pwm_drv_init()
|
/AliOS-Things-master/components/drivers/peripheral/wifi/src/ |
A D | vfs_wifi_drv.c | 226 ddkc_dbg("device:%s open succeed\r\n", node->i_name); in wifi_device_open() 233 ddkc_dbg("device:%s close succeed\r\n", f->node->i_name); in wifi_device_close() 285 ddkc_dbg("node_name_len:%d\r\n", node_name_len); in vfs_wifi_dev_register() 312 ddkc_dbg("ppsdev:%p, node_name:%s, (ppsdev) + 1:%p, sizeof(struct subsys_dev):%d\r\n", in vfs_wifi_dev_register()
|
/AliOS-Things-master/components/drivers/core/base/include/drivers/ |
A D | ddkc_log.h | 29 #define ddkc_dbg(format, ...) ddkc_log(DDKC_LOG_DEBUG, format, ##__VA_ARGS__) macro
|