Lines Matching refs:emac_ctrl_write
362 #define emac_ctrl_write(reg, val) iowrite32(val, (priv->ctrl_base + (reg))) macro
425 emac_ctrl_write(EMAC_DM646X_CMINTCTRL, 0); in emac_set_coalesce()
428 emac_ctrl_write(EMAC_CTRL_EWINTTCNT, 0); in emac_set_coalesce()
469 emac_ctrl_write(EMAC_DM646X_CMINTCTRL, int_ctrl); in emac_set_coalesce()
471 emac_ctrl_write(EMAC_DM646X_CMRXINTMAX, num_interrupts); in emac_set_coalesce()
472 emac_ctrl_write(EMAC_DM646X_CMTXINTMAX, num_interrupts); in emac_set_coalesce()
483 emac_ctrl_write(EMAC_CTRL_EWINTTCNT, (int_ctrl | prescale)); in emac_set_coalesce()
796 emac_ctrl_write(EMAC_DM646X_CMRXINTEN, 0x0); in emac_int_disable()
797 emac_ctrl_write(EMAC_DM646X_CMTXINTEN, 0x0); in emac_int_disable()
816 emac_ctrl_write(EMAC_CTRL_EWCTL, 0x0); in emac_int_disable()
833 emac_ctrl_write(EMAC_DM646X_CMRXINTEN, 0xff); in emac_int_enable()
834 emac_ctrl_write(EMAC_DM646X_CMTXINTEN, 0xff); in emac_int_enable()
843 emac_ctrl_write(EMAC_CTRL_EWCTL, 0x1); in emac_int_enable()