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
1129 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_slot) argument
1273 u8 hp_slot; local
1423 u8 hp_slot; local
1631 u8 hp_slot; local
1806 u8 hp_slot; local
1925 u8 hp_slot; local
1989 u8 device, hp_slot; local
[all...]
H A Dshpchp_hpc.c385 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
409 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
434 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
444 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
465 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);
245 u8 hp_slot; local
355 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
621 * @hp_slot: hotplug slot where adapter is installed.
625 static inline u8 get_adapter_speed(struct controller *ctrl, u8 hp_slot) argument
628 dbg("slot: %d, PCIXCAP: %8x\n", hp_slot, temp_dword);
630 if (temp_dword & (0x10000 << hp_slot))
632 if (temp_dword & (0x100 << hp_slot))
636 if (temp_dword & (0x01 << hp_slot))
663 u8 hp_slot; local
665 hp_slot
673 u8 hp_slot; local
685 u8 hp_slot; local
701 u8 hp_slot; local
[all...]
H A Dshpchp.h93 u8 hp_slot; member in struct:slot
175 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl);
176 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl);
177 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl);
178 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);
817 u8 hp_slot = 0; local
1248 hp_slot = func->device - ctrl->slot_device_offset;
1249 dbg("hp_slot: %d\n", hp_slot);
1253 func->presence_save = (temp_word >> hp_slot) & 0x01;
1254 func->presence_save |= (temp_word >> (hp_slot
[all...]
H A Dshpchp_core.c124 slot->hp_slot = i;
146 ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:%02x hp_slot=%x sun=%x slot_device_offset=%x\n",
148 slot->bus, slot->device, slot->hp_slot, slot->number,

Completed in 277 milliseconds