Searched refs:hp_slot (Results 1 - 7 of 7) sorted by relevance

/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c69 int hp_slot; local
81 for (hp_slot = 0; hp_slot < 6; hp_slot++) {
82 if (change & (0x1L << hp_slot)) {
87 (hp_slot + ctrl->slot_device_offset), 0);
94 taskInfo->hp_slot = hp_slot;
99 func->presence_save = (temp_word >> hp_slot) & 0x01;
100 func->presence_save |= (temp_word >> (hp_slot
143 int hp_slot; local
237 int hp_slot; local
1130 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_slot) argument
1274 u8 hp_slot; local
1424 u8 hp_slot; local
1632 u8 hp_slot; local
1807 u8 hp_slot; local
1927 u8 hp_slot; local
1991 u8 device, hp_slot; local
[all...]
H A Dshpchp_hpc.c386 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
410 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
435 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
445 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
466 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
534 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
558 return shpc_write_cmd(slot, slot->hp_slot, slot_cmd);
564 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_ON);
569 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_OFF);
574 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_BLIN
793 int hp_slot; local
939 u8 hp_slot; local
[all...]
H A Dshpchp_ctrl.c59 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) argument
67 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
82 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) argument
91 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
120 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl) argument
128 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
155 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) argument
163 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
181 ctrl_info(ctrl, "Power fault bit %x set\n", hp_slot);
244 u8 hp_slot; local
356 u8 hp_slot; local
[all...]
H A Dcpqphp.h274 u8 hp_slot; member in struct:slot
288 u8 hp_slot; member in struct:event_info
627 * @hp_slot: hotplug slot where adapter is installed.
631 static inline u8 get_adapter_speed(struct controller *ctrl, u8 hp_slot) argument
634 dbg("slot: %d, PCIXCAP: %8x\n", hp_slot, temp_dword);
636 if (temp_dword & (0x10000 << hp_slot))
638 if (temp_dword & (0x100 << hp_slot))
642 if (temp_dword & (0x01 << hp_slot))
669 u8 hp_slot; local
671 hp_slot
679 u8 hp_slot; local
691 u8 hp_slot; local
707 u8 hp_slot; local
[all...]
H A Dshpchp.h94 u8 hp_slot; member in struct:slot
176 extern u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl);
177 extern u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl);
178 extern u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl);
179 extern u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl);
H A Dcpqphp_core.c405 u8 hp_slot; local
410 hp_slot = func->device - ctrl->slot_device_offset;
416 amber_LED_on (ctrl, hp_slot);
418 amber_LED_off (ctrl, hp_slot);
812 u8 hp_slot = 0; local
1245 hp_slot = func->device - ctrl->slot_device_offset;
1246 dbg("hp_slot: %d\n", hp_slot);
1250 func->presence_save = (temp_word >> hp_slot) & 0x01;
1251 func->presence_save |= (temp_word >> (hp_slot
[all...]
H A Dshpchp_core.c120 slot->hp_slot = i;
136 "hp_slot=%x sun=%x slot_device_offset=%x\n",
138 slot->bus, slot->device, slot->hp_slot, slot->number,

Completed in 78 milliseconds