• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/

Lines Matching refs:pslot

236 	struct slot *pslot;
262 pslot = hotplug_slot->private;
263 if (pslot)
264 rc = ibmphp_hpc_writeslot(pslot, cmd);
280 struct slot *pslot;
288 pslot = hotplug_slot->private;
289 if (pslot) {
290 memcpy(&myslot, pslot, sizeof(struct slot));
291 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS,
294 rc = ibmphp_hpc_readslot(pslot,
311 struct slot *pslot;
318 pslot = hotplug_slot->private;
319 if (pslot) {
320 memcpy(&myslot, pslot, sizeof(struct slot));
321 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS,
338 struct slot *pslot;
345 pslot = hotplug_slot->private;
346 if (pslot) {
347 memcpy(&myslot, pslot, sizeof(struct slot));
348 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS,
364 struct slot *pslot;
372 pslot = hotplug_slot->private;
373 if (pslot) {
374 memcpy(&myslot, pslot, sizeof(struct slot));
375 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS,
395 struct slot *pslot;
404 pslot = hotplug_slot->private;
405 if (pslot) {
407 mode = pslot->supported_bus_mode;
408 *value = pslot->supported_speed;
418 *value = pslot->supported_speed + 0x01;
435 struct slot *pslot;
444 pslot = hotplug_slot->private;
445 if (pslot) {
446 rc = get_cur_bus_info(&pslot);
448 mode = pslot->bus_on->current_bus_mode;
449 *value = pslot->bus_on->current_speed;
482 struct slot *pslot;
492 pslot = hotplug_slot->private;
493 if (pslot) {
494 memcpy(&myslot, pslot, sizeof(struct slot));
495 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS,
500 rc = ibmphp_hpc_readslot(pslot,
520 struct slot *pslot = NULL;
527 pslot = hotplug_slot->private;
528 if (pslot) {
530 snprintf(value, 100, "Bus %x", pslot->bus);