Function report | 
Source Code:kernel\time\tick-broadcast.c | 
Create Date:2022-07-28 10:50:50 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Check, if the device is disfunctional and a place holder, which* needs to be handled by the broadcast device.
Proto:int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct clock_event_device * | dev | |
| int | cpu | 
| 167 | ret = 0 | 
| 177 | If Not tick_device_is_functional(dev) Then | 
| 180 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer | 
| 181 | If mode == TICKDEV_MODE_PERIODIC Then Start the device in periodic mode | 
| 183 | Else tick_broadcast_setup_oneshot(bc) | 
| 185 | ret = 1 | 
| 186 | Else | 
| 191 | If Not (features & CLOCK_EVT_FEAT_C3STOP) Then pumask_clear_cpu - clear a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer | 
| 193 | Else tick_device_setup_broadcast_func(dev) | 
| 204 | Case mode == TICKDEV_MODE_ONESHOT | 
| 217 | Case mode == TICKDEV_MODE_PERIODIC | 
| 223 | If pumask_empty - *srcp == 0*@srcp: the cpumask to that all cpus < nr_cpu_ids are clear. && bc Then lockevents_shutdown - shutdown the device and clear next_event*@dev: device to shutdown | 
| 235 | Break | 
| 236 | Default | 
| 237 | Break | 
| 241 | Return ret | 
| Name | Describe | 
|---|---|
| tick_setup_device | Setup the tick device | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |