Lines Matching refs:vsc_write
63 static void vsc_write(adapter_t *adapter, u32 addr, u32 data) in vsc_write() function
88 vsc_write(adapter, REG_SW_RESET, 0x80000001); in vsc7326_full_reset()
229 vsc_write( adapter, ib[i].addr, ib[i].data ); in run_table()
247 vsc_write(adapter, REG_RAM_BIST_CMD, data); in bist_rd()
277 vsc_write(adapter, REG_RAM_BIST_CMD, data); in bist_wr()
325 vsc_write(adapter, REG_MEM_BIST, 0x5); in run_bist_all()
329 vsc_write(adapter, REG_DEV_SETUP(port), 0x0); in run_bist_all()
332 vsc_write(adapter, REG_SPI4_MISC, 0x00040409); in run_bist_all()
350 vsc_write(adapter, REG_SPI4_MISC, 0x60040400); in run_bist_all()
353 vsc_write(adapter, REG_DEV_SETUP(port), 0x1); in run_bist_all()
356 vsc_write(adapter, REG_MEM_BIST, 0x0); in run_bist_all()
387 vsc_write(mac->adapter, REG_MAC_LOW_ADDR(port), in mac_set_address()
389 vsc_write(mac->adapter, REG_MAC_HIGH_ADDR(port), in mac_set_address()
394 vsc_write(mac->adapter, REG_ING_FFILT_UM_EN, val | (port << 28)); in mac_set_address()
396 vsc_write(mac->adapter, REG_ING_FFILT_MASK0, in mac_set_address()
398 vsc_write(mac->adapter, REG_ING_FFILT_MASK1, in mac_set_address()
400 vsc_write(mac->adapter, REG_ING_FFILT_MASK2, in mac_set_address()
446 vsc_write(mac->adapter, REG_ING_FFILT_UM_EN, v); in mac_set_rx_mode()
455 vsc_write(mac->adapter, REG_MAX_LEN(port), mtu + 14 + 4); in mac_set_mtu()
479 vsc_write(mac->adapter, REG_MODE_CFG(port), v); in mac_set_speed_duplex_fc()
487 vsc_write(mac->adapter, REG_DEV_SETUP(port), v | 1); /* reset */ in mac_set_speed_duplex_fc()
488 vsc_write(mac->adapter, REG_DEV_SETUP(port), v); in mac_set_speed_duplex_fc()
497 vsc_write(mac->adapter, REG_DBG(port), v); in mac_set_speed_duplex_fc()
499 vsc_write(mac->adapter, REG_TX_IFG(port), in mac_set_speed_duplex_fc()
511 vsc_write(mac->adapter, REG_MODE_CFG(port), enable); in mac_set_speed_duplex_fc()
524 vsc_write(mac->adapter, REG_PAUSE_CFG(port), v); in mac_set_speed_duplex_fc()
534 vsc_write(mac->adapter, REG_HIGH_LOW_WM(1,port), WM_ENABLE); in mac_enable()
541 vsc_write(mac->adapter, REG_MODE_CFG(port), val); in mac_enable()
558 vsc_write(mac->adapter, REG_MODE_CFG(port), val); in mac_disable()
563 vsc_write(mac->adapter, CRA(4, port, i), 0); in mac_disable()