Searched refs:vsc_read (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | pci_vsc.c | 21 #define vsc_read(dev, offset, val) \ macro 79 ret = vsc_read(dev, VSC_SEMAPHORE_OFFSET, &lock_val); in mlx5_vsc_gw_lock() 92 ret = vsc_read(dev, VSC_COUNTER_OFFSET, &counter); in mlx5_vsc_gw_lock() 100 ret = vsc_read(dev, VSC_SEMAPHORE_OFFSET, &lock_val); in mlx5_vsc_gw_lock() 136 ret = vsc_read(dev, VSC_CTRL_OFFSET, &val); in mlx5_vsc_gw_set_space() 147 ret = vsc_read(dev, VSC_CTRL_OFFSET, &val); in mlx5_vsc_gw_set_space() 157 ret = vsc_read(dev, VSC_ADDR_OFFSET, &val); in mlx5_vsc_gw_set_space() 181 ret = vsc_read(dev, VSC_ADDR_OFFSET, &flag); in mlx5_vsc_wait_on_flag() 238 ret = vsc_read(dev, VSC_DATA_OFFSET, data); in mlx5_vsc_gw_read() 254 ret = vsc_read(dev, VSC_ADDR_OFFSET, next_read_addr); in mlx5_vsc_gw_read_fast() [all …]
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326.c | 35 static void vsc_read(adapter_t *adapter, u32 addr, u32 *val) in vsc_read() function 91 vsc_read(adapter, REG_SW_RESET, &result); in vsc7326_full_reset() 251 vsc_read(adapter, REG_RAM_BIST_RESULT, &result); in bist_rd() 281 vsc_read(adapter, REG_RAM_BIST_CMD, &result); in bist_wr() 326 vsc_read(adapter, REG_MEM_BIST, &val); in run_bist_all() 392 vsc_read(mac->adapter, REG_ING_FFILT_UM_EN, &val); in mac_set_address() 410 vsc_read(mac->adapter, REG_MAC_LOW_ADDR(port), &addr_lo); in mac_get_address() 411 vsc_read(mac->adapter, REG_MAC_HIGH_ADDR(port), &addr_hi); in mac_get_address() 438 vsc_read(mac->adapter, REG_ING_FFILT_UM_EN, &v); in mac_set_rx_mode() 472 vsc_read(mac->adapter, REG_MODE_CFG(port), &v); in mac_set_speed_duplex_fc() [all …]
|