Home
last modified time | relevance | path

Searched refs:dm9051_set_reg (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/davicom/
H A Ddm9051.c119 static int dm9051_set_reg(struct board_info *db, unsigned int reg, unsigned int val) in dm9051_set_reg() function
267 return dm9051_set_reg(db, DM9051_FCR, fcr); in dm9051_set_fcr()
278 return dm9051_set_reg(db, DM9051_RCR, db->rctl.rcr_all); /* enable rx */ in dm9051_set_recv()
300 return dm9051_set_reg(db, DM9051_INTCR, dm9051_intcr_value(db)); in dm9051_core_reset()
317 return dm9051_set_reg(db, DM9051_IMR, IMR_PAR); /* disable int */ in dm9051_disable_interrupt()
322 return dm9051_set_reg(db, DM9051_IMR, db->imr_all); /* enable int */ in dm9051_enable_interrupt()
327 return dm9051_set_reg(db, DM9051_ISR, ISR_STOP_MRCMD); /* to stop mrcmd */ in dm9051_stop_mrcmd()
677 ret = dm9051_set_reg(db, DM9051_GPR, 0); in dm9051_all_start()
700 ret = dm9051_set_reg(db, DM9051_GPR, GPR_PHY_OFF); in dm9051_all_stop()
704 return dm9051_set_reg(db, DM9051_RCR, RCR_RX_DISABLE); in dm9051_all_stop()
[all …]