Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb/
Dvsc7326.c63 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()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dpci_vsc.c23 #define vsc_write(dev, offset, val) \ macro
96 ret = vsc_write(dev, VSC_SEMAPHORE_OFFSET, counter); in mlx5_vsc_gw_lock()
118 ret = vsc_write(dev, VSC_SEMAPHORE_OFFSET, MLX5_VSC_UNLOCK); in mlx5_vsc_gw_unlock()
142 ret = vsc_write(dev, VSC_CTRL_OFFSET, val); in mlx5_vsc_gw_set_space()
206 ret = vsc_write(dev, VSC_DATA_OFFSET, data); in mlx5_vsc_gw_write()
210 ret = vsc_write(dev, VSC_ADDR_OFFSET, address); in mlx5_vsc_gw_write()
230 ret = vsc_write(dev, VSC_ADDR_OFFSET, address); in mlx5_vsc_gw_read()