Searched refs:control_block (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/xen/events/ |
H A D | events_fifo.c | 103 struct evtchn_fifo_control_block *control_block) in init_control_block() argument 110 clear_page(control_block); in init_control_block() 114 init_control.control_gfn = virt_to_gfn(control_block); in init_control_block() 274 struct evtchn_fifo_control_block *control_block, in consume_one_event() argument 290 head = control_block->head[priority]; in consume_one_event() 320 struct evtchn_fifo_control_block *control_block; in __evtchn_fifo_handle_events() local 324 control_block = per_cpu(cpu_control_block, cpu); in __evtchn_fifo_handle_events() 326 ready = xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events() 330 consume_one_event(cpu, ctrl, control_block, q, &ready); in __evtchn_fifo_handle_events() 331 ready |= xchg(&control_block->ready, 0); in __evtchn_fifo_handle_events() [all …]
|
/linux/drivers/dma/ |
H A D | bcm2835-dma.c | 223 struct bcm2835_dma_cb *control_block, in bcm2835_dma_create_cb_set_length() argument 232 control_block->length = min_t(u32, len, max_len); in bcm2835_dma_create_cb_set_length() 247 if (*total_len + control_block->length < period_len) { in bcm2835_dma_create_cb_set_length() 249 *total_len += control_block->length; in bcm2835_dma_create_cb_set_length() 254 control_block->length = period_len - *total_len; in bcm2835_dma_create_cb_set_length() 260 control_block->info |= finalextrainfo; in bcm2835_dma_create_cb_set_length() 311 struct bcm2835_dma_cb *control_block; in bcm2835_dma_create_cb_chain() local 337 control_block = cb_entry->cb; in bcm2835_dma_create_cb_chain() 338 control_block->info = info; in bcm2835_dma_create_cb_chain() 339 control_block->src = src; in bcm2835_dma_create_cb_chain() [all …]
|