Home
last modified time | relevance | path

Searched refs:pslot (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dibmphp_hpc.c500 * Input: pslot - cannot be NULL for READ_ALLSTAT
505 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 in ibmphp_hpc_readslot()
643 ibmphp_hpc_writeslot(struct slot *pslot, u8 cmd) ibmphp_hpc_writeslot() argument
790 struct slot *pslot = NULL; poll_hpc() local
899 process_changeinstatus(struct slot *pslot, struct slot *poldslot) process_changeinstatus() argument
987 struct slot myslot, *pslot; process_changeinlatch() local
[all...]
H A 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 in get_latch_status()
317 struct slot *pslot; get_power_status() local
341 struct slot *pslot; get_adapter_present() local
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dibmphp_hpc.c498 * Input: pslot - cannot be NULL for READ_ALLSTAT
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 in ibmphp_hpc_readslot()
641 ibmphp_hpc_writeslot(struct slot *pslot, u8 cmd) ibmphp_hpc_writeslot() argument
788 struct slot *pslot = NULL; poll_hpc() local
897 process_changeinstatus(struct slot *pslot, struct slot *poldslot) process_changeinstatus() argument
985 struct slot myslot, *pslot; process_changeinlatch() local
[all...]
H A Dibmphp_core.c216 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 in get_latch_status()
309 struct slot *pslot; get_power_status() local
333 struct slot *pslot; get_adapter_present() local
[all...]
H A 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()
/kernel/linux/linux-5.10/sound/core/oss/
H A Dmixer_oss.c128 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 in snd_mixer_oss_recmask()
199 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_get_recsrc() local
220 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_set_recsrc() local
260 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_get_volume() local
295 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_set_volume() local
530 snd_mixer_oss_get_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right) snd_mixer_oss_get_volume1_vol() argument
567 snd_mixer_oss_get_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right, int route) snd_mixer_oss_get_volume1_sw() argument
606 snd_mixer_oss_get_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *left, int *right) snd_mixer_oss_get_volume1() argument
632 snd_mixer_oss_put_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right) snd_mixer_oss_put_volume1_vol() argument
672 snd_mixer_oss_put_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right, int route) snd_mixer_oss_put_volume1_sw() argument
717 snd_mixer_oss_put_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int left, int right) snd_mixer_oss_put_volume1() argument
766 snd_mixer_oss_get_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) snd_mixer_oss_get_recsrc1_sw() argument
779 snd_mixer_oss_get_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) snd_mixer_oss_get_recsrc1_route() argument
792 snd_mixer_oss_put_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) snd_mixer_oss_put_recsrc1_sw() argument
802 snd_mixer_oss_put_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) snd_mixer_oss_put_recsrc1_route() argument
817 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_get_recsrc2() local
867 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_put_recsrc2() local
1048 struct slot *pslot; snd_mixer_oss_build_input() local
[all...]
/kernel/linux/linux-6.6/sound/core/oss/
H A Dmixer_oss.c128 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 in snd_mixer_oss_recmask()
199 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_get_recsrc() local
220 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_set_recsrc() local
260 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_get_volume() local
295 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_set_volume() local
530 snd_mixer_oss_get_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right) snd_mixer_oss_get_volume1_vol() argument
568 snd_mixer_oss_get_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right, int route) snd_mixer_oss_get_volume1_sw() argument
608 snd_mixer_oss_get_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *left, int *right) snd_mixer_oss_get_volume1() argument
634 snd_mixer_oss_put_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right) snd_mixer_oss_put_volume1_vol() argument
676 snd_mixer_oss_put_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right, int route) snd_mixer_oss_put_volume1_sw() argument
723 snd_mixer_oss_put_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int left, int right) snd_mixer_oss_put_volume1() argument
772 snd_mixer_oss_get_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) snd_mixer_oss_get_recsrc1_sw() argument
785 snd_mixer_oss_get_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) snd_mixer_oss_get_recsrc1_route() argument
798 snd_mixer_oss_put_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) snd_mixer_oss_put_recsrc1_sw() argument
808 snd_mixer_oss_put_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) snd_mixer_oss_put_recsrc1_route() argument
823 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_get_recsrc2() local
875 struct snd_mixer_oss_slot *pslot; snd_mixer_oss_put_recsrc2() local
1058 struct slot *pslot; snd_mixer_oss_build_input() local
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dctree.c1052 int pslot; in balance_level() local
1067 pslot = path->slots[level + 1]; in balance_level()
1125 if (pslot) { in balance_level()
1126 left = btrfs_read_node_slot(parent, pslot - 1); in balance_level()
1135 parent, pslot - 1, &left, in balance_level()
1143 if (pslot + 1 < btrfs_header_nritems(parent)) { in balance_level()
1144 right = btrfs_read_node_slot(parent, pslot + 1); in balance_level()
1153 parent, pslot + 1, &right, in balance_level()
1179 ret = btrfs_del_ptr(trans, root, path, level + 1, pslot + 1); in balance_level()
1193 ret = btrfs_tree_mod_log_insert_key(parent, pslot in balance_level()
1310 int pslot; push_nodes_for_insert() local
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dctree.c1855 int pslot; in balance_level() local
1871 pslot = path->slots[level + 1]; in balance_level()
1926 left = btrfs_read_node_slot(parent, pslot - 1); in balance_level()
1934 parent, pslot - 1, &left, in balance_level()
1942 right = btrfs_read_node_slot(parent, pslot + 1); in balance_level()
1950 parent, pslot + 1, &right, in balance_level()
1976 del_ptr(root, path, level + 1, pslot + 1); in balance_level()
1984 ret = tree_mod_log_insert_key(parent, pslot + 1, in balance_level()
1987 btrfs_set_node_key(parent, &right_key, pslot + 1); in balance_level()
2021 del_ptr(root, path, level + 1, pslot); in balance_level()
2086 int pslot; push_nodes_for_insert() local
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A 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()
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Draid5-cache.c2642 void __rcu **pslot; in r5c_try_caching_write() local
2698 pslot = radix_tree_lookup_slot(&log->big_stripe_tree, in r5c_try_caching_write()
2700 if (pslot) { in r5c_try_caching_write()
2702 pslot, &log->tree_lock) >> in r5c_try_caching_write()
2705 &log->big_stripe_tree, pslot, in r5c_try_caching_write()
2809 void __rcu **pslot; in r5c_finish_stripe_write_out() local
2853 pslot = radix_tree_lookup_slot(&log->big_stripe_tree, in r5c_finish_stripe_write_out()
2855 BUG_ON(pslot == NULL); in r5c_finish_stripe_write_out()
2857 pslot, &log->tree_lock) >> in r5c_finish_stripe_write_out()
2863 &log->big_stripe_tree, pslot, in r5c_finish_stripe_write_out()
[all...]
/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs4session.c357 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()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs4session.c357 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()
/kernel/linux/linux-6.6/lib/
H A Dmaple_tree.c1678 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()
7070 pr_err("Slot error at %p[%u]: child %p has pslot %u\n", in mas_validate_child_slot()

Completed in 37 milliseconds