Lines Matching refs:pslot
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()
296 struct slot *pslot; in get_latch_status() local
303 pslot = (struct slot *) hotplug_slot->private; in get_latch_status()
304 if (pslot) { in get_latch_status()
305 memcpy ((void *) &myslot, (void *) pslot, sizeof (struct slot)); in get_latch_status()
306 hpcrc = ibmphp_hpc_readslot (pslot, READ_SLOTSTATUS, &(myslot.status)); in get_latch_status()
327 struct slot *pslot; in get_power_status() local
334 pslot = (struct slot *) hotplug_slot->private; in get_power_status()
335 if (pslot) { in get_power_status()
336 memcpy ((void *) &myslot, (void *) pslot, sizeof (struct slot)); in get_power_status()
337 hpcrc = ibmphp_hpc_readslot (pslot, READ_SLOTSTATUS, &(myslot.status)); in get_power_status()
357 struct slot *pslot; in get_adapter_present() local
365 pslot = (struct slot *) hotplug_slot->private; in get_adapter_present()
366 if (pslot) { in get_adapter_present()
367 memcpy ((void *) &myslot, (void *) pslot, sizeof (struct slot)); in get_adapter_present()
368 hpcrc = ibmphp_hpc_readslot (pslot, READ_SLOTSTATUS, &(myslot.status)); in get_adapter_present()
391 struct slot *pslot; in get_max_bus_speed() local
400 pslot = (struct slot *) hotplug_slot->private; in get_max_bus_speed()
401 if (pslot) { in get_max_bus_speed()
403 mode = pslot->supported_bus_mode; in get_max_bus_speed()
404 *value = pslot->supported_speed; in get_max_bus_speed()
414 *value = pslot->supported_speed + 0x01; in get_max_bus_speed()
432 struct slot *pslot; in get_cur_bus_speed() local
441 pslot = (struct slot *) hotplug_slot->private; in get_cur_bus_speed()
442 if (pslot) { in get_cur_bus_speed()
443 rc = get_cur_bus_info (&pslot); in get_cur_bus_speed()
445 mode = pslot->bus_on->current_bus_mode; in get_cur_bus_speed()
446 *value = pslot->bus_on->current_speed; in get_cur_bus_speed()