Searched refs:pslot (Results 1 – 6 of 6) sorted by relevance
/linux-2.4.37.9/drivers/hotplug/ |
D | ibmphp_hpc.c | 537 int ibmphp_hpc_readslot (struct slot * pslot, u8 cmd, u8 * pstatus) in ibmphp_hpc_readslot() argument 546 …debug_polling ("%s - Entry pslot[%lx] cmd[%x] pstatus[%lx]\n", __FUNCTION__, (ulong) pslot, cmd, (… in ibmphp_hpc_readslot() 548 if ((pslot == NULL) in ibmphp_hpc_readslot() 556 busindex = ibmphp_get_bus_index (pslot->bus); in ibmphp_hpc_readslot() 564 index = pslot->ctlr_index; in ibmphp_hpc_readslot() 574 ctlr_ptr = pslot->ctrl; in ibmphp_hpc_readslot() 592 pslot->ctrl->status = status; in ibmphp_hpc_readslot() 593 pslot->status = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 597 pslot->ext_status = ctrl_read (ctlr_ptr, wpg_bbar, index + WPG_1ST_EXTSLOT_INDEX); in ibmphp_hpc_readslot() 617 pslot->busstatus = ctrl_read (ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() [all …]
|
D | ibmphp_core.c | 217 struct slot *pslot; in set_attention_status() local 242 pslot = (struct slot *) hotplug_slot->private; in set_attention_status() 243 if (pslot) in set_attention_status() 244 hpcrc = ibmphp_hpc_writeslot (pslot, cmd); in set_attention_status() 263 struct slot *pslot; in get_attention_status() local 271 pslot = (struct slot *) hotplug_slot->private; in get_attention_status() 272 if (pslot) { in get_attention_status() 273 memcpy ((void *) &myslot, (void *) pslot, sizeof (struct slot)); in get_attention_status() 274 hpcrc = ibmphp_hpc_readslot (pslot, READ_SLOTSTATUS, &(myslot.status)); in get_attention_status() 276 hpcrc = ibmphp_hpc_readslot (pslot, READ_EXTSLOTSTATUS, &(myslot.ext_status)); in get_attention_status() [all …]
|
D | pciehp_ctrl.c | 1056 static void set_slot_off(struct controller *ctrl, struct slot * pslot) in set_slot_off() argument 1062 if (pslot->hpc_ops->power_off_slot(pslot)) { in set_slot_off() 1069 pslot->hpc_ops->green_led_off(pslot); in set_slot_off() 1074 if (pslot->hpc_ops->set_attention_status(pslot, 1)) { in set_slot_off()
|
D | shpchp_ctrl.c | 1073 struct slot *p_slot, *pslot; in board_added() local 1147 pslot = shpchp_find_slot(ctrl, slot + ctrl->slot_device_offset); in board_added() 1148 t_func = shpchp_slot_find(pslot->bus, pslot->device, 0); in board_added() 1402 pslot = shpchp_find_slot(ctrl, slot + ctrl->slot_device_offset); in board_added() 1403 t_func = shpchp_slot_find(pslot->bus, pslot->device, 0); in board_added()
|
/linux-2.4.37.9/arch/ppc/boot/prep/ |
D | vreset.c | 748 struct PCI_ConfigInfo *pslot; in scanPCI() local 753 pslot = &PCI_slots[slt]; in scanPCI() 755 pslot->regs[r] = SwapBytes ( pslot->config_addr[r] ); in scanPCI() 758 if ( pslot->regs[DEVID] != 0xFFFFFFFF ) { in scanPCI() 760 if ( ((pslot->regs[CLASS] & 0xFFFFFF00) == 0x03000000) || in scanPCI() 761 ((pslot->regs[CLASS] & 0xFFFFFF00) == 0x00010000)) { in scanPCI() 764 if ( (pslot->regs[CMD] & 0x03) ) { in scanPCI() 778 struct PCI_ConfigInfo *pslot; in PCIVendor() local 780 pslot = &PCI_slots[slotnum]; in PCIVendor() 782 return (pslot->regs[DEVID] & 0xFFFF); in PCIVendor() [all …]
|
/linux-2.4.37.9/arch/mips/sgi-ip27/ |
D | ip27-memory.c | 279 struct page *pg, *pslot; in mem_init() local 305 pslot = NODE_DATA(nid)->node_mem_map + in mem_init() 312 while (pg < pslot) { in mem_init() 319 pslot += slot_getsize(nid, slot); in mem_init() 320 while (pg < pslot) { in mem_init()
|