/openbmc/linux/drivers/pci/hotplug/ |
H A D | ibmphp_hpc.c | 503 int ibmphp_hpc_readslot(struct slot *pslot, u8 cmd, u8 *pstatus) in ibmphp_hpc_readslot() argument 511 debug_polling("%s - Entry pslot[%p] cmd[%x] pstatus[%p]\n", __func__, pslot, cmd, pstatus); in ibmphp_hpc_readslot() 513 if ((pslot == NULL) in ibmphp_hpc_readslot() 521 busindex = ibmphp_get_bus_index(pslot->bus); in ibmphp_hpc_readslot() 529 index = pslot->ctlr_index; in ibmphp_hpc_readslot() 539 ctlr_ptr = pslot->ctrl; in ibmphp_hpc_readslot() 557 pslot->ctrl->status = status; in ibmphp_hpc_readslot() 558 pslot->status = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() 562 pslot->ext_status = ctrl_read(ctlr_ptr, wpg_bbar, index + WPG_1ST_EXTSLOT_INDEX); in ibmphp_hpc_readslot() 582 pslot->busstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot() [all …]
|
H A D | ibmphp_core.c | 216 struct slot *pslot; in set_attention_status() local 242 pslot = to_slot(hotplug_slot); in set_attention_status() 243 rc = ibmphp_hpc_writeslot(pslot, cmd); in set_attention_status() 257 struct slot *pslot; in get_attention_status() local 265 pslot = to_slot(hotplug_slot); in get_attention_status() 266 memcpy(&myslot, pslot, sizeof(struct slot)); in get_attention_status() 267 rc = ibmphp_hpc_readslot(pslot, READ_SLOTSTATUS, in get_attention_status() 270 rc = ibmphp_hpc_readslot(pslot, READ_EXTSLOTSTATUS, in get_attention_status() 284 struct slot *pslot; in get_latch_status() local 291 pslot = to_slot(hotplug_slot); in get_latch_status() [all …]
|
H A D | shpchp_ctrl.c | 193 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()
|
/openbmc/linux/sound/core/oss/ |
H A D | mixer_oss.c | 128 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_devmask() local 135 pslot = &mixer->slots[chn]; in snd_mixer_oss_devmask() 136 if (pslot->put_volume || pslot->put_recsrc) in snd_mixer_oss_devmask() 146 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_stereodevs() local 153 pslot = &mixer->slots[chn]; in snd_mixer_oss_stereodevs() 154 if (pslot->put_volume && pslot->stereo) in snd_mixer_oss_stereodevs() 172 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_recmask() local 175 pslot = &mixer->slots[chn]; in snd_mixer_oss_recmask() 176 if (pslot->put_recsrc) in snd_mixer_oss_recmask() 199 struct snd_mixer_oss_slot *pslot; in snd_mixer_oss_get_recsrc() local [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | ctree.c | 1069 int pslot; in balance_level() local 1084 pslot = path->slots[level + 1]; in balance_level() 1146 if (pslot) { in balance_level() 1147 left = btrfs_read_node_slot(parent, pslot - 1); in balance_level() 1156 parent, pslot - 1, &left, in balance_level() 1164 if (pslot + 1 < btrfs_header_nritems(parent)) { in balance_level() 1165 right = btrfs_read_node_slot(parent, pslot + 1); in balance_level() 1174 parent, pslot + 1, &right, in balance_level() 1200 ret = btrfs_del_ptr(trans, root, path, level + 1, pslot + 1); in balance_level() 1218 ret = btrfs_tree_mod_log_insert_key(parent, pslot + 1, in balance_level() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | raid5-cache.c | 2645 void __rcu **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 __rcu **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()
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4session.c | 357 static bool nfs41_assign_slot(struct rpc_task *task, void *pslot) in nfs41_assign_slot() argument 361 struct nfs4_slot *slot = pslot; in nfs41_assign_slot()
|
/openbmc/linux/lib/ |
H A D | maple_tree.c | 1678 unsigned char pslot; in mas_update_gap() local 1690 pslot = mte_parent_slot(mas->node); in mas_update_gap() 1692 mas_parent_type(mas, mas->node))[pslot]; in mas_update_gap() 1695 mas_parent_gap(mas, pslot, max_gap); in mas_update_gap()
|
/openbmc/qemu/target/xtensa/ |
H A D | translate.c | 1097 struct slot_prop *pslot = ordered[slot]; in disas_xtensa_insn() local 1098 XtensaOpcodeOps *ops = pslot->ops; in disas_xtensa_insn() 1100 ops->translate(dc, pslot->arg, ops->par); in disas_xtensa_insn()
|