Searched refs:vsc_read (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | pci_vsc.c | 21 #define vsc_read(dev, offset, val) \ macro 88 ret = vsc_read(dev, VSC_SEMAPHORE_OFFSET, &lock_val); in mlx5_vsc_gw_lock() 101 ret = vsc_read(dev, VSC_COUNTER_OFFSET, &counter); in mlx5_vsc_gw_lock() 109 ret = vsc_read(dev, VSC_SEMAPHORE_OFFSET, &lock_val); in mlx5_vsc_gw_lock() 145 ret = vsc_read(dev, VSC_CTRL_OFFSET, &val); in mlx5_vsc_gw_set_space() 156 ret = vsc_read(dev, VSC_CTRL_OFFSET, &val); in mlx5_vsc_gw_set_space() 166 ret = vsc_read(dev, VSC_ADDR_OFFSET, &val); in mlx5_vsc_gw_set_space() 190 ret = vsc_read(dev, VSC_ADDR_OFFSET, &flag); in mlx5_vsc_wait_on_flag() 247 ret = vsc_read(dev, VSC_DATA_OFFSET, data); in mlx5_vsc_gw_read() 263 ret = vsc_read(dev, VSC_ADDR_OFFSET, next_read_addr); in mlx5_vsc_gw_read_fast() [all …]
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A 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 …]
|