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

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c62 int hp_slot; local
74 for (hp_slot = 0; hp_slot < 6; hp_slot++) {
75 if (change & (0x1L << hp_slot)) {
80 (hp_slot + ctrl->slot_device_offset), 0);
87 taskInfo->hp_slot = hp_slot;
92 func->presence_save = (temp_word >> hp_slot) & 0x01;
93 func->presence_save |= (temp_word >> (hp_slot
136 int hp_slot; local
230 int hp_slot; local
1117 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_slot) argument
1261 u8 hp_slot; local
1409 u8 hp_slot; local
1614 u8 hp_slot; local
1789 u8 hp_slot; local
1909 u8 hp_slot; local
1973 u8 device, hp_slot; local
[all...]
H A Dshpchp_hpc.c388 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
412 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
437 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
447 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
468 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
536 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
560 return shpc_write_cmd(slot, slot->hp_slot, slot_cmd);
566 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_ON);
571 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_OFF);
576 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_BLIN
802 int hp_slot; local
948 u8 hp_slot; local
[all...]
H A Dshpchp_ctrl.c60 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) argument
68 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
83 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) argument
92 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
121 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl) argument
129 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
156 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) argument
164 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
182 ctrl_info(ctrl, "Power fault bit %x set\n", hp_slot);
245 u8 hp_slot; local
357 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.h92 u8 hp_slot; member in struct:slot
174 extern u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl);
175 extern u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl);
176 extern u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl);
177 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);
805 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,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c62 int hp_slot; local
74 for (hp_slot = 0; hp_slot < 6; hp_slot++) {
75 if (change & (0x1L << hp_slot)) {
80 (hp_slot + ctrl->slot_device_offset), 0);
87 taskInfo->hp_slot = hp_slot;
92 func->presence_save = (temp_word >> hp_slot) & 0x01;
93 func->presence_save |= (temp_word >> (hp_slot
136 int hp_slot; local
230 int hp_slot; local
1117 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_slot) argument
1261 u8 hp_slot; local
1409 u8 hp_slot; local
1614 u8 hp_slot; local
1789 u8 hp_slot; local
1909 u8 hp_slot; local
1973 u8 device, hp_slot; local
[all...]
H A Dshpchp_hpc.c388 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
412 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
437 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
447 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
468 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
536 u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
560 return shpc_write_cmd(slot, slot->hp_slot, slot_cmd);
566 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_ON);
571 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_OFF);
576 shpc_write_cmd(slot, slot->hp_slot, SET_PWR_BLIN
802 int hp_slot; local
948 u8 hp_slot; local
[all...]
H A Dshpchp_ctrl.c60 u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) argument
68 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
83 u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) argument
92 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
121 u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl) argument
129 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
156 u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) argument
164 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
182 ctrl_info(ctrl, "Power fault bit %x set\n", hp_slot);
245 u8 hp_slot; local
357 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.h92 u8 hp_slot; member in struct:slot
174 extern u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl);
175 extern u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl);
176 extern u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl);
177 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);
805 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 191 milliseconds