Home
last modified time | relevance | path

Searched refs:reg_decode (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ipa/
H A Dreg.h115 static inline u32 reg_decode(const struct reg *reg, u32 field_id, u32 val) in reg_decode() function
H A Dgsi.c407 return reg_decode(reg, EV_CHSTATE, val); in gsi_evt_ring_state()
522 return reg_decode(reg, CHSTATE, val); in gsi_channel_state()
1232 ee = reg_decode(log_reg, ERR_EE, val); in gsi_isr_glob_err()
1233 type = reg_decode(log_reg, ERR_TYPE, val); in gsi_isr_glob_err()
1234 which = reg_decode(log_reg, ERR_VIRT_IDX, val); in gsi_isr_glob_err()
1235 code = reg_decode(log_reg, ERR_CODE, val); in gsi_isr_glob_err()
1273 result = reg_decode(reg, GENERIC_EE_RESULT, val); in gsi_isr_gp_int1()
2033 count = reg_decode(reg, NUM_CH_PER_EE, val); in gsi_ring_setup()
2046 count = reg_decode(reg, NUM_EV_PER_EE, val); in gsi_ring_setup()
2049 count = reg_decode(reg, EV_PER_EE, val); in gsi_ring_setup()
H A Dipa_mem.c334 ipa->mem_offset = 8 * reg_decode(reg, MEM_BADDR, val); in ipa_mem_config()
337 mem_size = 8 * reg_decode(reg, MEM_SIZE, val); in ipa_mem_config()
H A Dipa_endpoint.c2024 tx_count = reg_decode(reg, MAX_CONS_PIPES, val); in ipa_endpoint_config()
2025 rx_count = reg_decode(reg, MAX_PROD_PIPES, val); in ipa_endpoint_config()
2026 rx_base = reg_decode(reg, PROD_LOWEST, val); in ipa_endpoint_config()