Searched refs:group_regs (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/blackfin/kernel/
H A Dgptimers.c54 static struct bfin_gptimer_group_regs * const group_regs[BFIN_TIMER_NUM_GROUP] = variable
186 return !!(bfin_read(&group_regs[BFIN_TIMER_OCTET(timer_id)]->data_ilat) & timil_mask[timer_id]); get_gptimer_intr()
193 bfin_write(&group_regs[BFIN_TIMER_OCTET(timer_id)]->data_ilat, timil_mask[timer_id]); clear_gptimer_intr()
200 return !!(bfin_read(&group_regs[BFIN_TIMER_OCTET(timer_id)]->stat_ilat) & tovf_mask[timer_id]); get_gptimer_over()
207 bfin_write(&group_regs[BFIN_TIMER_OCTET(timer_id)]->stat_ilat, tovf_mask[timer_id]); clear_gptimer_over()
214 return !!(bfin_read(&group_regs[BFIN_TIMER_OCTET(timer_id)]->run) & trun_mask[timer_id]); get_gptimer_run()
221 return bfin_read(&group_regs[group]->data_ilat); get_gptimer_status()
228 bfin_write(&group_regs[group]->data_ilat, value); set_gptimer_status()
236 return bfin_read(&group_regs[group]->status); get_gptimer_status()
243 bfin_write(&group_regs[group]->status, value); set_gptimer_status()
250 return bfin_read(&group_regs[BFIN_TIMER_OCTET(timer_id)]->status); read_gptimer_status()
263 bfin_write(&group_regs[BFIN_TIMER_OCTET(timer_id)]->status, timil_mask[timer_id]); clear_gptimer_intr()
277 bfin_write(&group_regs[BFIN_TIMER_OCTET(timer_id)]->status, tovf_mask[timer_id]); clear_gptimer_over()
315 bfin_write(&group_regs[i]->enable, mask & 0xFF); enable_gptimers()
328 bfin_write(&group_regs[i]->disable, m & 0xFF); _disable_gptimers()
340 bfin_write(&group_regs[BFIN_TIMER_OCTET(i)]->status, trun_mask[i]); disable_gptimers()
376 result |= (bfin_read(&group_regs[i]->enable) << (i << 3)); get_enabled_gptimers()

Completed in 36 milliseconds