Lines Matching refs:at91_write
283 static inline void at91_write(const struct at91_priv *priv, enum at91_reg reg, in at91_write() function
293 at91_write(priv, AT91_MMR(mb), (mode << 24) | (prio << 16)); in set_mb_mode_prio()
329 at91_write(priv, AT91_MID(i), reg_mid); in at91_setup_mailboxes()
330 at91_write(priv, AT91_MCR(i), 0x0); /* clear dlc */ in at91_setup_mailboxes()
339 at91_write(priv, AT91_MAM(i), 0x0); in at91_setup_mailboxes()
340 at91_write(priv, AT91_MID(i), AT91_MID_MIDE); in at91_setup_mailboxes()
365 at91_write(priv, AT91_BR, reg_br); in at91_set_bittiming()
388 at91_write(priv, AT91_IDR, AT91_IRQ_ALL); in at91_chip_start()
392 at91_write(priv, AT91_MR, reg_mr & ~AT91_MR_CANEN); in at91_chip_start()
402 at91_write(priv, AT91_MR, reg_mr); in at91_chip_start()
408 at91_write(priv, AT91_IDR, AT91_IRQ_ALL); in at91_chip_start()
409 at91_write(priv, AT91_IER, reg_ier); in at91_chip_start()
418 at91_write(priv, AT91_IDR, AT91_IRQ_ALL); in at91_chip_stop()
421 at91_write(priv, AT91_MR, reg_mr & ~AT91_MR_CANEN); in at91_chip_stop()
473 at91_write(priv, AT91_MID(mb), reg_mid); in at91_start_xmit()
476 at91_write(priv, AT91_MDL(mb), *(u32 *)(cf->data + 0)); in at91_start_xmit()
477 at91_write(priv, AT91_MDH(mb), *(u32 *)(cf->data + 4)); in at91_start_xmit()
480 at91_write(priv, AT91_MCR(mb), reg_mcr); in at91_start_xmit()
499 at91_write(priv, AT91_IER, 1 << mb); in at91_start_xmit()
514 at91_write(priv, AT91_TCR, mask); in at91_activate_rx_low()
529 at91_write(priv, AT91_TCR, mask); in at91_activate_rx_mb()
588 at91_write(priv, AT91_MID(mb), AT91_MID_MIDE); in at91_read_mb()
806 at91_write(priv, AT91_IER, reg_ier); in at91_poll()
839 at91_write(priv, AT91_IDR, 1 << mb); in at91_irq_tx()
968 at91_write(priv, AT91_IDR, reg_idr); in at91_irq_err_state()
969 at91_write(priv, AT91_IER, reg_ier); in at91_irq_err_state()
1065 at91_write(priv, AT91_IDR, in at91_irq()