Home
last modified time | relevance | path

Searched refs:pslot (Results 1 – 4 of 4) sorted by relevance

/drivers/pci/hotplug/
Dibmphp_hpc.c505 int ibmphp_hpc_readslot(struct slot *pslot, u8 cmd, u8 *pstatus) in ibmphp_hpc_readslot() argument
513 debug_polling("%s - Entry pslot[%p] cmd[%x] pstatus[%p]\n", __func__, pslot, cmd, pstatus); in ibmphp_hpc_readslot()
515 if ((pslot == NULL) in ibmphp_hpc_readslot()
523 busindex = ibmphp_get_bus_index(pslot->bus); in ibmphp_hpc_readslot()
531 index = pslot->ctlr_index; in ibmphp_hpc_readslot()
541 ctlr_ptr = pslot->ctrl; in ibmphp_hpc_readslot()
559 pslot->ctrl->status = status; in ibmphp_hpc_readslot()
560 pslot->status = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
564 pslot->ext_status = ctrl_read(ctlr_ptr, wpg_bbar, index + WPG_1ST_EXTSLOT_INDEX); in ibmphp_hpc_readslot()
584 pslot->busstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
[all …]
Dibmphp_core.c224 struct slot *pslot; in set_attention_status() local
250 pslot = to_slot(hotplug_slot); in set_attention_status()
251 rc = ibmphp_hpc_writeslot(pslot, cmd); in set_attention_status()
265 struct slot *pslot; in get_attention_status() local
273 pslot = to_slot(hotplug_slot); in get_attention_status()
274 memcpy(&myslot, pslot, sizeof(struct slot)); in get_attention_status()
275 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS, in get_attention_status()
278 rc = ibmphp_hpc_readslot(pslot, READ_EXTSLOTSTATUS, in get_attention_status()
292 struct slot *pslot; in get_latch_status() local
299 pslot = to_slot(hotplug_slot); in get_latch_status()
[all …]
Dshpchp_ctrl.c193 static int fix_bus_speed(struct controller *ctrl, struct slot *pslot, in fix_bus_speed() argument
214 rc = change_bus_speed(ctrl, pslot, asp); in fix_bus_speed()
217 rc = change_bus_speed(ctrl, pslot, msp); in fix_bus_speed()
/drivers/md/
Draid5-cache.c2645 void **pslot; in r5c_try_caching_write() local
2701 pslot = radix_tree_lookup_slot(&log->big_stripe_tree, in r5c_try_caching_write()
2703 if (pslot) { in r5c_try_caching_write()
2705 pslot, &log->tree_lock) >> in r5c_try_caching_write()
2708 &log->big_stripe_tree, pslot, in r5c_try_caching_write()
2812 void **pslot; in r5c_finish_stripe_write_out() local
2856 pslot = radix_tree_lookup_slot(&log->big_stripe_tree, in r5c_finish_stripe_write_out()
2858 BUG_ON(pslot == NULL); in r5c_finish_stripe_write_out()
2860 pslot, &log->tree_lock) >> in r5c_finish_stripe_write_out()
2866 &log->big_stripe_tree, pslot, in r5c_finish_stripe_write_out()