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

/linux-master/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c55 int hp_slot; local
67 for (hp_slot = 0; hp_slot < 6; hp_slot++) {
68 if (change & (0x1L << hp_slot)) {
73 (hp_slot + ctrl->slot_device_offset), 0);
80 taskInfo->hp_slot = hp_slot;
85 func->presence_save = (temp_word >> hp_slot) & 0x01;
86 func->presence_save |= (temp_word >> (hp_slot
129 int hp_slot; local
223 int hp_slot; local
1114 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_slot) argument
1256 u8 hp_slot; local
1406 u8 hp_slot; local
1613 u8 hp_slot; local
1770 u8 hp_slot; local
1884 u8 hp_slot; local
1943 u8 device, hp_slot; local
[all...]
H A Dshpchp_hpc.c363 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
387 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
412 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
422 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
443 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
495 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
519 return shpc_write_cmd(slot, slot->hp_slot, slot_cmd);
525 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_ON);
530 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_OFF);
535 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_BLIN
754 int hp_slot; local
899 u8 hp_slot; local
[all...]
H A Dshpchp_ctrl.c45 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) argument
53 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
68 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) argument
77 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
106 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl) argument
114 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
141 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) argument
149 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
167 ctrl_info(ctrl, "Power fault bit %x set\n", hp_slot);
231 u8 hp_slot; local
340 u8 hp_slot; local
[all...]
H A Dcpqphp.h260 u8 hp_slot; member in struct:slot
274 u8 hp_slot; member in struct:event_info
612 * @hp_slot: hotplug slot where adapter is installed.
616 static inline u8 get_adapter_speed(struct controller *ctrl, u8 hp_slot) argument
619 dbg("slot: %d, PCIXCAP: %8x\n", hp_slot, temp_dword);
621 if (temp_dword & (0x10000 << hp_slot))
623 if (temp_dword & (0x100 << hp_slot))
627 if (temp_dword & (0x01 << hp_slot))
654 u8 hp_slot; local
656 hp_slot
664 u8 hp_slot; local
676 u8 hp_slot; local
692 u8 hp_slot; local
[all...]
H A Dshpchp.h81 u8 hp_slot; member in struct:slot
162 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl);
163 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl);
164 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl);
165 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl);
H A Dcpqphp_core.c378 u8 hp_slot; local
383 hp_slot = func->device - ctrl->slot_device_offset;
389 amber_LED_on(ctrl, hp_slot);
391 amber_LED_off(ctrl, hp_slot);
757 u8 hp_slot = 0; local
1188 hp_slot = func->device - ctrl->slot_device_offset;
1189 dbg("hp_slot: %d\n", hp_slot);
1193 func->presence_save = (temp_word >> hp_slot) & 0x01;
1194 func->presence_save |= (temp_word >> (hp_slot
[all...]
H A Dshpchp_core.c80 slot->hp_slot = i;
100 ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:%02x hp_slot=%x sun=%x slot_device_offset=%x\n",
102 slot->bus, slot->device, slot->hp_slot, slot->number,

Completed in 343 milliseconds