Lines Matching refs:MVGBE_REG_WR
102 MVGBE_REG_WR(MVGBE_SMI_REG, smi_reg); in smi_reg_read()
145 MVGBE_REG_WR(regs->phyadr, data); in smi_reg_write()
170 MVGBE_REG_WR(MVGBE_SMI_REG, smi_reg); in smi_reg_write()
218 MVGBE_REG_WR(regs->epap, access_prot_reg); in set_access_control()
221 MVGBE_REG_WR(regs->barsz[param->win].size, in set_access_control()
225 MVGBE_REG_WR(regs->barsz[param->win].bar, in set_access_control()
229 MVGBE_REG_WR(regs->ha_remap[param->win], param->high_addr); in set_access_control()
296 MVGBE_REG_WR(regs->dfut[table_index], 0); in port_init_mac_tables()
300 MVGBE_REG_WR(regs->dfsmt[table_index], 0); in port_init_mac_tables()
302 MVGBE_REG_WR(regs->dfomt[table_index], 0); in port_init_mac_tables()
342 MVGBE_REG_WR(regs->dfut[tbl_offset], unicast_reg); in port_uc_addr()
349 MVGBE_REG_WR(regs->dfut[tbl_offset], unicast_reg); in port_uc_addr()
369 MVGBE_REG_WR(regs->macal, mac_l); in port_uc_addr_set()
370 MVGBE_REG_WR(regs->macah, mac_h); in port_uc_addr_set()
416 MVGBE_REG_WR(regs->ic, 0); in mvgbe_init()
417 MVGBE_REG_WR(regs->ice, 0); in mvgbe_init()
419 MVGBE_REG_WR(regs->pim, INT_CAUSE_UNMASK_ALL); in mvgbe_init()
421 MVGBE_REG_WR(regs->peim, INT_CAUSE_UNMASK_ALL_EXT); in mvgbe_init()
428 MVGBE_REG_WR(regs->pxc, PRT_CFG_VAL); in mvgbe_init()
429 MVGBE_REG_WR(regs->pxcx, PORT_CFG_EXTEND_VALUE); in mvgbe_init()
430 MVGBE_REG_WR(regs->psc0, PORT_SERIAL_CONTROL_VALUE); in mvgbe_init()
433 MVGBE_REG_WR(regs->sdc, PORT_SDMA_CFG_VALUE); in mvgbe_init()
434 MVGBE_REG_WR(regs->tqx[0].qxttbc, QTKNBKT_DEF_VAL); in mvgbe_init()
435 MVGBE_REG_WR(regs->tqx[0].tqxtbc, in mvgbe_init()
438 MVGBE_REG_WR(regs->pmtu, 0); in mvgbe_init()
441 MVGBE_REG_WR(regs->psc0, MVGBE_MAX_RX_PACKET_9700BYTE in mvgbe_init()
451 MVGBE_REG_WR(regs->pmtu, 0); in mvgbe_init()
454 MVGBE_REG_WR(regs->rxcdp[RXUQ], (u32) dmvgbe->p_rxdesc_curr); in mvgbe_init()
458 MVGBE_REG_WR(regs->rqc, (1 << RXUQ)); in mvgbe_init()
487 MVGBE_REG_WR(regs->bare, 0x3f); in mvgbe_halt()
501 MVGBE_REG_WR(regs->ic, 0); in mvgbe_halt()
502 MVGBE_REG_WR(regs->ice, 0); in mvgbe_halt()
503 MVGBE_REG_WR(regs->pim, 0); in mvgbe_halt()
504 MVGBE_REG_WR(regs->peim, 0); in mvgbe_halt()
555 MVGBE_REG_WR(regs->tqc, (1 << TXUQ)); in mvgbe_send()