Searched refs:sys_func (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/gpu/drm/amd/ras/rascore/ |
| H A D | ras_nbio.c | 50 nbio->sys_func = ras_core->config->nbio_cfg.nbio_sys_fn; in ras_nbio_hw_init() 51 if (!nbio->sys_func) { in ras_nbio_hw_init() 60 if (nbio->sys_func) { in ras_nbio_hw_init() 61 if (nbio->sys_func->set_ras_controller_irq_state) in ras_nbio_hw_init() 62 nbio->sys_func->set_ras_controller_irq_state(ras_core, true); in ras_nbio_hw_init() 63 if (nbio->sys_func->set_ras_err_event_athub_irq_state) in ras_nbio_hw_init() 64 nbio->sys_func->set_ras_err_event_athub_irq_state(ras_core, true); in ras_nbio_hw_init() 74 if (nbio->sys_func) { in ras_nbio_hw_fini() 75 if (nbio->sys_func->set_ras_controller_irq_state) in ras_nbio_hw_fini() 76 nbio->sys_func->set_ras_controller_irq_state(ras_core, false); in ras_nbio_hw_fini() [all …]
|
| H A D | ras_mp1_v13_0.c | 42 const struct ras_mp1_sys_func *sys_func = mp1->sys_func; in mp1_v13_0_get_bank_count() local 50 if (!sys_func || !sys_func->mp1_get_valid_bank_count) in mp1_v13_0_get_bank_count() 65 ret = sys_func->mp1_get_valid_bank_count(ras_core, msg, &bank_count); in mp1_v13_0_get_bank_count() 81 const struct ras_mp1_sys_func *sys_func = mp1->sys_func; in mp1_v13_0_dump_bank() local 84 if (!sys_func || !sys_func->mp1_dump_valid_bank) in mp1_v13_0_dump_bank() 99 return sys_func->mp1_dump_valid_bank(ras_core, msg, idx, reg_idx, val); in mp1_v13_0_dump_bank()
|
| H A D | ras_mp1.c | 67 mp1->sys_func = ras_core->config->mp1_cfg.mp1_sys_fn; in ras_mp1_hw_init() 68 if (!mp1->sys_func) { in ras_mp1_hw_init()
|
| H A D | ras_eeprom.c | 163 if (control->sys_func && in __get_eeprom_i2c_addr() 164 control->sys_func->update_eeprom_i2c_config) in __get_eeprom_i2c_addr() 165 ret = control->sys_func->update_eeprom_i2c_config(ras_core); in __get_eeprom_i2c_addr() 179 if (control->sys_func && control->sys_func->eeprom_i2c_xfer) { in __ras_eeprom_xfer() 180 ret = control->sys_func->eeprom_i2c_xfer(ras_core, in __ras_eeprom_xfer() 1278 control->sys_func = eeprom_cfg->eeprom_sys_fn; in ras_eeprom_hw_init()
|
| H A D | ras_nbio.h | 40 const struct ras_nbio_sys_func *sys_func; member
|
| H A D | ras_mp1.h | 39 const struct ras_mp1_sys_func *sys_func; member
|
| H A D | ras_eeprom.h | 98 const struct ras_eeprom_sys_func *sys_func; member
|
| /linux/drivers/net/wireless/realtek/rtl8xxxu/ |
| H A D | 8723b.c | 362 u16 sys_func; in rtl8723bu_reset_8051() local 372 sys_func = rtl8xxxu_read16(priv, REG_SYS_FUNC); in rtl8723bu_reset_8051() 373 sys_func &= ~SYS_FUNC_CPU_ENABLE; in rtl8723bu_reset_8051() 374 rtl8xxxu_write16(priv, REG_SYS_FUNC, sys_func); in rtl8723bu_reset_8051() 384 sys_func |= SYS_FUNC_CPU_ENABLE; in rtl8723bu_reset_8051() 385 rtl8xxxu_write16(priv, REG_SYS_FUNC, sys_func); in rtl8723bu_reset_8051()
|
| H A D | 8188e.c | 560 u16 sys_func; in rtl8188eu_reset_8051() local 562 sys_func = rtl8xxxu_read16(priv, REG_SYS_FUNC); in rtl8188eu_reset_8051() 563 sys_func &= ~SYS_FUNC_CPU_ENABLE; in rtl8188eu_reset_8051() 564 rtl8xxxu_write16(priv, REG_SYS_FUNC, sys_func); in rtl8188eu_reset_8051() 566 sys_func |= SYS_FUNC_CPU_ENABLE; in rtl8188eu_reset_8051() 567 rtl8xxxu_write16(priv, REG_SYS_FUNC, sys_func); in rtl8188eu_reset_8051()
|
| H A D | core.c | 1926 u16 sys_func; in rtl8xxxu_reset_8051() local 1932 sys_func = rtl8xxxu_read16(priv, REG_SYS_FUNC); in rtl8xxxu_reset_8051() 1933 sys_func &= ~SYS_FUNC_CPU_ENABLE; in rtl8xxxu_reset_8051() 1934 rtl8xxxu_write16(priv, REG_SYS_FUNC, sys_func); in rtl8xxxu_reset_8051() 1940 sys_func |= SYS_FUNC_CPU_ENABLE; in rtl8xxxu_reset_8051() 1941 rtl8xxxu_write16(priv, REG_SYS_FUNC, sys_func); in rtl8xxxu_reset_8051()
|