Home
last modified time | relevance | path

Searched refs:XI2C_IOREAD (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/amd/xgbe/
Dxgbe-i2c.c205 XI2C_IOREAD(pdata, IC_CLR_INTR); in xgbe_i2c_clear_all_interrupts()
225 tx_slots = pdata->i2c.tx_fifo_size - XI2C_IOREAD(pdata, IC_TXFLR); in xgbe_i2c_write()
255 rx_slots = XI2C_IOREAD(pdata, IC_RXFLR); in xgbe_i2c_read()
257 *state->rx_buf++ = XI2C_IOREAD(pdata, IC_DATA_CMD); in xgbe_i2c_read()
269 state->tx_abort_source = XI2C_IOREAD(pdata, IC_TX_ABRT_SOURCE); in xgbe_i2c_clear_isr_interrupts()
270 XI2C_IOREAD(pdata, IC_CLR_TX_ABRT); in xgbe_i2c_clear_isr_interrupts()
274 XI2C_IOREAD(pdata, IC_CLR_STOP_DET); in xgbe_i2c_clear_isr_interrupts()
283 isr = XI2C_IOREAD(pdata, IC_RAW_INTR_STAT); in xgbe_i2c_isr_task()
336 reg = XI2C_IOREAD(pdata, IC_CON); in xgbe_i2c_set_mode()
350 reg = XI2C_IOREAD(pdata, IC_COMP_PARAM_1); in xgbe_i2c_get_features()
Dxgbe-common.h1657 #define XI2C_IOREAD(_pdata, _reg) \ macro
1661 GET_BITS(XI2C_IOREAD((_pdata), (_reg)), \
1670 u32 reg_val = XI2C_IOREAD((_pdata), (_reg)); \
Dxgbe-debugfs.c403 value = XI2C_IOREAD(pdata, pdata->debugfs_xi2c_reg); in xi2c_reg_value_read()