Home
last modified time | relevance | path

Searched refs:presence_save (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/pci/hotplug/
H A Dshpchp_ctrl.c54 p_slot->hpc_ops->get_adapter_status(p_slot, &(p_slot->presence_save)); in shpchp_handle_attention_button()
78 p_slot->hpc_ops->get_adapter_status(p_slot, &(p_slot->presence_save)); in shpchp_handle_switch_change()
81 p_slot->presence_save, p_slot->pwr_save); in shpchp_handle_switch_change()
89 if (p_slot->pwr_save && p_slot->presence_save) { in shpchp_handle_switch_change()
119 p_slot->hpc_ops->get_adapter_status(p_slot, &(p_slot->presence_save)); in shpchp_handle_presence_change()
120 if (p_slot->presence_save) { in shpchp_handle_presence_change()
452 slot->hpc_ops->get_adapter_status(slot, &slot->presence_save); in update_slot_info()
570 p_slot->hpc_ops->get_adapter_status(p_slot, &(p_slot->presence_save)); in shpchp_enable_slot()
588 &(p_slot->presence_save)); in shpchp_enable_slot()
H A Dcpqphp.h234 u8 presence_save; member
256 u8 presence_save; member
691 int presence_save = 0; in get_presence_status() local
698 presence_save = (int) ((((~tempdword) >> 23) | ((~tempdword) >> 15)) in get_presence_status()
701 return presence_save; in get_presence_status()
H A Dshpchp_core.c115 get_adapter_status(hotplug_slot, &slot->presence_save); in init_slots()
233 *value = slot->presence_save; in get_adapter_status()
H A Dcpqphp_ctrl.c85 func->presence_save = (temp_word >> hp_slot) & 0x01; in handle_switch_change()
86 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_switch_change()
172 if (temp_byte != func->presence_save) { in handle_presence_change()
202 func->presence_save = (temp_word >> hp_slot) & 0x01; in handle_presence_change()
203 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_presence_change()
1979 func->presence_save = (temp_word >> hp_slot) & 0x01; in cpqhp_process_SI()
1980 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in cpqhp_process_SI()
2009 func->presence_save = (temp_word >> hp_slot) & 0x01; in cpqhp_process_SI()
2010 func->presence_save |= in cpqhp_process_SI()
H A Dshpchp.h71 u8 presence_save; member
H A Dcpqphp_core.c1193 func->presence_save = (temp_word >> hp_slot) & 0x01; in cpqhpc_probe()
1194 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in cpqhpc_probe()
H A Dcpqphp_pci.c351 new_slot->presence_save = 0; in cpqhp_save_config()