Home
last modified time | relevance | path

Searched refs:RT_DEVICE (Results 1 – 6 of 6) sorted by relevance

/components/drivers/wlan/
A Ddev_wlan.c28 #ifndef RT_DEVICE
29 #define RT_DEVICE(__device) ((rt_device_t)__device) macro
74 result = rt_device_init(RT_DEVICE(device)); in rt_wlan_dev_init()
80 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_MODE, (void *)&mode); in rt_wlan_dev_init()
121 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_JOIN, &sta_info); in rt_wlan_dev_connect()
203 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_SOFTAP, &ap_info); in rt_wlan_dev_ap_start()
216 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_AP_STOP, RT_NULL); in rt_wlan_dev_ap_stop()
229 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_AP_DEAUTH, mac); in rt_wlan_dev_ap_deauth()
244 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_GET_RSSI, &rssi); in rt_wlan_dev_get_rssi()
263 result = rt_device_control(RT_DEVICE(device), RT_WLAN_CMD_GET_INFO, info); in rt_wlan_dev_get_info()
[all …]
/components/drivers/include/
A Drtdevice.h40 #define RT_DEVICE(device) ((rt_device_t)device) macro
/components/fal/src/
A Dfal_rtt.c202 …rt_device_register(RT_DEVICE(blk_dev), fal_part->name, RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_STANDA… in fal_blk_device_create()
209 return RT_DEVICE(blk_dev); in fal_blk_device_create()
338 return RT_DEVICE(&mtd_nor_dev->parent); in fal_mtd_nor_device_create()
538 rt_device_register(RT_DEVICE(char_dev), fal_part->name, RT_DEVICE_FLAG_RDWR); in fal_char_device_create()
552 return RT_DEVICE(char_dev); in fal_char_device_create()
/components/drivers/audio/
A Ddev_audio.c232 rt_device_open(RT_DEVICE(&audio->record->pipe), RT_DEVICE_OFLAG_RDONLY); in _audio_record_start()
263 rt_device_close(RT_DEVICE(&audio->record->pipe)); in _audio_record_stop()
473 return rt_device_read(RT_DEVICE(&audio->record->pipe), pos, buffer, size); in _audio_dev_read()
777 rt_device_write(RT_DEVICE(&audio->record->pipe), 0, pbuf, len); in rt_audio_rx_done()
/components/drivers/mtd/
A Dmtd_nor.c71 dev = RT_DEVICE(device); in rt_mtd_nor_register_device()
A Dmtd_nand.c75 dev = RT_DEVICE(device); in rt_mtd_nand_register_device()

Completed in 11 milliseconds