Lines Matching refs:watches
39 static struct crisv32_watch_entry watches[NUMBER_OF_BP] = { variable
280 if (!watches[i].used) { in crisv32_arbiter_watch()
284 watches[i].used = 1; in crisv32_arbiter_watch()
285 watches[i].start = start; in crisv32_arbiter_watch()
286 watches[i].end = start + size; in crisv32_arbiter_watch()
287 watches[i].cb = cb; in crisv32_arbiter_watch()
289 REG_WR_INT(marb_bp, watches[i].instance, rw_first_addr, in crisv32_arbiter_watch()
290 watches[i].start); in crisv32_arbiter_watch()
291 REG_WR_INT(marb_bp, watches[i].instance, rw_last_addr, in crisv32_arbiter_watch()
292 watches[i].end); in crisv32_arbiter_watch()
293 REG_WR_INT(marb_bp, watches[i].instance, rw_op, in crisv32_arbiter_watch()
295 REG_WR_INT(marb_bp, watches[i].instance, rw_clients, in crisv32_arbiter_watch()
325 if ((id < 0) || (id >= NUMBER_OF_BP) || (!watches[id].used)) { in crisv32_arbiter_unwatch()
330 memset(&watches[id], 0, sizeof(struct crisv32_watch_entry)); in crisv32_arbiter_unwatch()
365 watch = &watches[0]; in crisv32_arbiter_irq()
368 watch = &watches[1]; in crisv32_arbiter_irq()
371 watch = &watches[2]; in crisv32_arbiter_irq()
374 watch = &watches[3]; in crisv32_arbiter_irq()