Searched refs:bfin_read (Results 1 – 2 of 2) sorted by relevance
135 return bfin_read(&timer_regs[timer_id]->width); in get_gptimer_pwidth()150 return bfin_read(&timer_regs[timer_id]->period); in get_gptimer_period()157 return bfin_read(&timer_regs[timer_id]->counter); in get_gptimer_count()164 return bfin_read(&group_regs[group]->status); in get_gptimer_status()178 return bfin_read(&group_regs[BFIN_TIMER_OCTET(timer_id)]->status); in read_gptimer_status()227 return bfin_read(&timer_regs[timer_id]->config); in get_gptimer_config()293 result |= (bfin_read(&group_regs[i]->enable) << (i << 3)); in get_enabled_gptimers()
53 #define bfin_read(addr) \ macro73 bfin_write(__addr, bfin_read(__addr) | (bits)); \79 bfin_write(__addr, bfin_read(__addr) & (bits)); \