MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / serial_fops_rx_ind

Function serial_fops_rx_ind

components/drivers/serial/dev_serial_v2.c:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50RT_OBJECT_HOOKLIST_DEFINE(rt_hw_serial_rxind);
51
52static rt_err_t serial_fops_rx_ind(rt_device_t dev, rt_size_t size)
53{
54 rt_wqueue_wakeup(&dev->wait_queue, (void *)POLLIN);
55
56 RT_OBJECT_HOOKLIST_CALL(rt_hw_serial_rxind, (dev, size));
57
58 return RT_EOK;
59}
60
61/* fops for serial */
62static int serial_fops_open(struct dfs_file *fd)

Callers

nothing calls this directly

Calls 1

rt_wqueue_wakeupFunction · 0.85

Tested by

no test coverage detected