Searched refs:event_to_index (Results 1 – 2 of 2) sorted by relevance
281 static int event_to_index(uint32_t);332 fru_id_table[event_to_index(SCTRL_EVENT_PS1)] = (fru_id_t)MCT_I2C_PS1; in _init()333 fru_id_table[event_to_index(SCTRL_EVENT_PS2)] = (fru_id_t)MCT_I2C_PS2; in _init()334 fru_id_table[event_to_index(SCTRL_EVENT_FAN1)] = (fru_id_t)MCT_I2C_FAN1; in _init()335 fru_id_table[event_to_index(SCTRL_EVENT_FAN2)] = (fru_id_t)MCT_I2C_FAN2; in _init()336 fru_id_table[event_to_index(SCTRL_EVENT_FAN3)] = (fru_id_t)MCT_I2C_FAN3; in _init()337 fru_id_table[event_to_index(SCTRL_EVENT_SCB)] = (fru_id_t)MCT_I2C_SCB; in _init()3053 fru_ptr->fru_id = fru_id_table[event_to_index( in scsb_set_topology()3115 fru_ptr->fru_id = fru_id_table[event_to_index(t)]; in scsb_set_topology()3172 fru_ptr->fru_id = fru_id_table[event_to_index(t)]; in scsb_set_topology()[all …]
298 #define FRU_INDEX(code) (event_to_index(code))