/linux/include/linux/ |
H A D | folio_queue.h | 104 static inline bool folioq_is_marked(const struct folio_queue *folioq, unsigned int slot) in folioq_is_marked() 117 static inline void folioq_mark(struct folio_queue *folioq, unsigned int slot) in folioq_mark() 130 static inline void folioq_unmark(struct folio_queue *folioq, unsigned int slot) in folioq_unmark() 143 static inline bool folioq_is_marked2(const struct folio_queue *folioq, unsigned int slot) in folioq_is_marked2() 156 static inline void folioq_mark2(struct folio_queue *folioq, unsigned int slot) in folioq_mark2() 169 static inline void folioq_unmark2(struct folio_queue *folioq, unsigned int slot) in folioq_unmark2() 182 static inline bool folioq_is_marked3(const struct folio_queue *folioq, unsigned int slot) in folioq_is_marked3() 195 static inline void folioq_mark3(struct folio_queue *folioq, unsigned int slot) in folioq_mark3() 208 static inline void folioq_unmark3(struct folio_queue *folioq, unsigned int slot) in folioq_unmark3() 235 unsigned int slot = folioq->vec.nr++; in folioq_append() local [all …]
|
/linux/drivers/pci/hotplug/ |
H A D | rpaphp.h | 60 struct slot { struct 61 struct list_head rpaphp_slot_list; argument 71 struct hotplug_slot hotplug_slot; argument 77 static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot) in to_slot() argument
|
H A D | cpci_hotplug_pci.c | 33 u8 cpci_get_attention_status(struct slot *slot) in cpci_get_attention_status() 53 int cpci_set_attention_status(struct slot *slot, int status) in cpci_set_attention_status() 80 u16 cpci_get_hs_csr(struct slot *slot) in cpci_get_hs_csr() 98 int cpci_check_and_clear_ins(struct slot *slot) in cpci_check_and_clear_ins() 127 int cpci_check_ext(struct slot *slot) in cpci_check_ext() 148 int cpci_clear_ext(struct slot *slot) in cpci_clear_ext() 174 int cpci_led_on(struct slot *slot) in cpci_led_on() 202 int cpci_led_off(struct slot *slot) in cpci_led_off() 235 int cpci_configure_slot(struct slot *slot) in cpci_configure_slot() 286 int cpci_unconfigure_slot(struct slot *slot) in cpci_unconfigure_slot()
|
H A D | shpchp.h | 63 struct slot { struct 75 struct hotplug_slot hotplug_slot; argument 76 struct list_head slot_list; argument 80 u8 hp_slot; argument 85 struct slot *p_slot; argument 170 static inline const char *slot_name(struct slot *slot) in slot_name() 215 struct slot *slot; in shpchp_find_slot() local
|
H A D | cpci_hotplug_core.c | 73 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 86 struct slot *slot = to_slot(hotplug_slot); in disable_slot() local 130 cpci_get_power_status(struct slot *slot) in cpci_get_power_status() 142 struct slot *slot = to_slot(hotplug_slot); in get_power_status() local 151 struct slot *slot = to_slot(hotplug_slot); in get_attention_status() local 166 struct slot *slot = to_slot(hotplug_slot); in get_adapter_status() local 175 struct slot *slot = to_slot(hotplug_slot); in get_latch_status() local 181 static void release_slot(struct slot *slot) in release_slot() 192 struct slot *slot; in cpci_hp_register_bus() local 244 struct slot *slot; in cpci_hp_unregister_bus() local [all …]
|
H A D | acpiphp_glue.c | 153 struct acpiphp_slot *slot, *next; in free_bridge() local 232 struct acpiphp_slot *slot; in acpiphp_add_context() local 341 struct acpiphp_slot *slot; in cleanup_bridge() local 394 static void acpiphp_set_acpi_region(struct acpiphp_slot *slot) in acpiphp_set_acpi_region() 406 static void check_hotplug_bridge(struct acpiphp_slot *slot, struct pci_dev *dev) in check_hotplug_bridge() 430 static int acpiphp_rescan_slot(struct acpiphp_slot *slot) in acpiphp_rescan_slot() 482 static void enable_slot(struct acpiphp_slot *slot, bool bridge) in enable_slot() 553 static void disable_slot(struct acpiphp_slot *slot) in disable_slot() 575 static bool slot_no_hotplug(struct acpiphp_slot *slot) in slot_no_hotplug() 599 static unsigned int get_slot_status(struct acpiphp_slot *slot) in get_slot_status() [all …]
|
H A D | shpchp_core.c | 65 struct slot *slot; in init_slots() local 130 struct slot *slot, *next; in cleanup_slots() local 146 struct slot *slot = get_slot(hotplug_slot); in set_attention_status() local 159 struct slot *slot = get_slot(hotplug_slot); in enable_slot() local 169 struct slot *slot = get_slot(hotplug_slot); in disable_slot() local 179 struct slot *slot = get_slot(hotplug_slot); in get_power_status() local 194 struct slot *slot = get_slot(hotplug_slot); in get_attention_status() local 209 struct slot *slot = get_slot(hotplug_slot); in get_latch_status() local 224 struct slot *slot = get_slot(hotplug_slot); in get_adapter_status() local
|
H A D | acpiphp_core.c | 119 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 136 struct slot *slot = to_slot(hotplug_slot); in disable_slot() local 180 struct slot *slot = to_slot(hotplug_slot); in get_power_status() local 226 struct slot *slot = to_slot(hotplug_slot); in get_latch_status() local 246 struct slot *slot = to_slot(hotplug_slot); in get_adapter_status() local 259 struct slot *slot; in acpiphp_register_hotplug_slot() local 296 struct slot *slot = acpiphp_slot->slot; in acpiphp_unregister_hotplug_slot() local
|
H A D | rpaphp_slot.c | 23 void dealloc_slot_struct(struct slot *slot) in dealloc_slot_struct() 33 struct slot *slot; in alloc_slot_struct() local 54 static int is_registered(struct slot *slot) in is_registered() 65 int rpaphp_deregister_slot(struct slot *slot) in rpaphp_deregister_slot() 82 int rpaphp_register_slot(struct slot *slot) in rpaphp_register_slot()
|
H A D | cpqphp.h | 247 struct slot { struct 248 struct slot *next; argument 260 u8 hp_slot; argument 262 void __iomem *p_sm_slot; argument 263 struct hotplug_slot hotplug_slot; argument 289 struct slot *slot; member 446 static inline const char *slot_name(struct slot *slot) in slot_name() 480 static inline void amber_LED_on(struct controller *ctrl, u8 slot) in amber_LED_on() 490 static inline void amber_LED_off(struct controller *ctrl, u8 slot) in amber_LED_off() 500 static inline int read_amber_LED(struct controller *ctrl, u8 slot) in read_amber_LED() [all …]
|
H A D | rpaphp_core.c | 57 struct slot *slot = to_slot(hotplug_slot); in set_attention_status() local 84 struct slot *slot = to_slot(hotplug_slot); in get_power_status() local 99 struct slot *slot = to_slot(hotplug_slot); in get_attention_status() local 106 struct slot *slot = to_slot(hotplug_slot); in get_adapter_status() local 123 static enum pci_bus_speed get_max_bus_speed(struct slot *slot) in get_max_bus_speed() 336 struct slot *slot; in rpaphp_drc_info_add_slot() local 377 struct slot *slot; in rpaphp_drc_add_slot() local 452 struct slot *slot, *next; in cleanup_slots() local 486 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 518 struct slot *slot = to_slot(hotplug_slot); in disable_slot() local
|
/linux/arch/x86/kvm/mmu/ |
H A D | page_track.c | 42 void kvm_page_track_free_memslot(struct kvm_memory_slot *slot) in kvm_page_track_free_memslot() 48 static int __kvm_page_track_write_tracking_alloc(struct kvm_memory_slot *slot, in __kvm_page_track_write_tracking_alloc() 61 struct kvm_memory_slot *slot, in kvm_page_track_create_memslot() 70 int kvm_page_track_write_tracking_alloc(struct kvm_memory_slot *slot) in kvm_page_track_write_tracking_alloc() 75 static void update_gfn_write_track(struct kvm_memory_slot *slot, gfn_t gfn, in update_gfn_write_track() 90 void __kvm_write_track_add_gfn(struct kvm *kvm, struct kvm_memory_slot *slot, in __kvm_write_track_add_gfn() 114 struct kvm_memory_slot *slot, gfn_t gfn) in __kvm_write_track_remove_gfn() 137 const struct kvm_memory_slot *slot, gfn_t gfn) in kvm_gfn_is_write_tracked() 172 struct kvm_memory_slot *slot; in kvm_enable_external_write_tracking() local 293 void kvm_page_track_delete_slot(struct kvm *kvm, struct kvm_memory_slot *slot) in kvm_page_track_delete_slot() [all …]
|
/linux/drivers/media/pci/ddbridge/ |
H A D | ddbridge-ci.c | 37 int slot, int address) in read_attribute_mem() 51 static int write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, in write_attribute_mem() 63 int slot, u8 address) in read_cam_control() 83 static int write_cam_control(struct dvb_ca_en50221 *ca, int slot, in write_cam_control() 94 static int slot_reset(struct dvb_ca_en50221 *ca, int slot) in slot_reset() 111 static int slot_shutdown(struct dvb_ca_en50221 *ca, int slot) in slot_shutdown() 120 static int slot_ts_enable(struct dvb_ca_en50221 *ca, int slot) in slot_ts_enable() 130 static int poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open) in poll_slot_status() 181 int slot, int address) in read_attribute_mem_xo2() 193 static int write_attribute_mem_xo2(struct dvb_ca_en50221 *ca, int slot, in write_attribute_mem_xo2() [all …]
|
/linux/fs/btrfs/ |
H A D | tree-checker.c | 56 static void generic_err(const struct extent_buffer *eb, int slot, in generic_err() 82 static void file_extent_err(const struct extent_buffer *eb, int slot, in file_extent_err() 109 #define CHECK_FE_ALIGNED(leaf, slot, fi, name, alignment) \ argument 143 static void dir_item_err(const struct extent_buffer *eb, int slot, in dir_item_err() 176 struct btrfs_key *key, int slot, in check_prev_ino() 207 struct btrfs_key *key, int slot, in check_extent_data_item() 365 int slot, struct btrfs_key *prev_key) in check_csum_item() 407 #define inode_item_err(eb, slot, fmt, ...) \ argument 411 int slot) in check_inode_key() 463 int slot) in check_root_key() [all …]
|
/linux/drivers/media/pci/mantis/ |
H A D | mantis_ca.c | 28 static int mantis_ca_read_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr) in mantis_ca_read_attr_mem() 41 static int mantis_ca_write_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr, u8 data) in mantis_ca_write_attr_mem() 54 static int mantis_ca_read_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr) in mantis_ca_read_cam_ctl() 67 static int mantis_ca_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr, u8 data) in mantis_ca_write_cam_ctl() 80 static int mantis_ca_slot_reset(struct dvb_ca_en50221 *en50221, int slot) in mantis_ca_slot_reset() 96 static int mantis_ca_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) in mantis_ca_slot_shutdown() 106 static int mantis_ts_control(struct dvb_ca_en50221 *en50221, int slot) in mantis_ts_control() 116 static int mantis_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open) in mantis_slot_status()
|
/linux/arch/x86/pci/ |
H A D | early.c | 11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config() 19 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte() 27 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16() 35 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config() 42 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) in write_pci_config_byte() 48 void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) in write_pci_config_16()
|
/linux/drivers/media/dvb-frontends/ |
H A D | sp2.c | 92 static int sp2_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, u8 acs, in sp2_ci_op_cam() 147 int slot, int addr) in sp2_ci_read_attribute_mem() 154 int slot, int addr, u8 data) in sp2_ci_write_attribute_mem() 161 int slot, u8 addr) in sp2_ci_read_cam_control() 168 int slot, u8 addr, u8 data) in sp2_ci_write_cam_control() 174 int sp2_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot) in sp2_ci_slot_reset() 206 int sp2_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) in sp2_ci_slot_shutdown() 216 int sp2_ci_slot_ts_enable(struct dvb_ca_en50221 *en50221, int slot) in sp2_ci_slot_ts_enable() 234 int slot, int open) in sp2_ci_poll_slot_status()
|
/linux/drivers/mmc/host/ |
H A D | cavium.c | 228 static bool switch_val_changed(struct cvm_mmc_slot *slot, u64 new_val) in switch_val_changed() 236 static void set_wdog(struct cvm_mmc_slot *slot, unsigned int ns) in set_wdog() 250 static void cvm_mmc_reset_bus(struct cvm_mmc_slot *slot) in cvm_mmc_reset_bus() 271 static void cvm_mmc_switch_to(struct cvm_mmc_slot *slot) in cvm_mmc_switch_to() 627 struct cvm_mmc_slot *slot = mmc_priv(mmc); in prepare_ext_dma() local 652 struct cvm_mmc_slot *slot = mmc_priv(mmc); in cvm_mmc_dma_request() local 752 struct cvm_mmc_slot *slot = mmc_priv(mmc); in cvm_mmc_request() local 824 struct cvm_mmc_slot *slot = mmc_priv(mmc); in cvm_mmc_set_ios() local 904 static void cvm_mmc_set_clock(struct cvm_mmc_slot *slot, unsigned int clock) in cvm_mmc_set_clock() 913 static int cvm_mmc_init_lowlevel(struct cvm_mmc_slot *slot) in cvm_mmc_init_lowlevel() [all …]
|
/linux/fs/nfs/ |
H A D | nfs4session.c | 49 struct nfs4_slot *slot = *p; in nfs4_shrink_slot_table() local 83 void nfs4_free_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot) in nfs4_free_slot() 107 struct nfs4_slot *slot; in nfs4_new_slot() local 123 struct nfs4_slot **p, *slot; in nfs4_find_or_create_slot() local 143 struct nfs4_slot *slot) in nfs4_lock_slot() 159 bool nfs4_try_to_lock_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot) in nfs4_try_to_lock_slot() 183 struct nfs4_slot *slot; in nfs4_slot_get_seqid() local 361 struct nfs4_slot *slot = pslot; in nfs41_assign_slot() local 376 struct nfs4_slot *slot) in __nfs41_wake_and_assign_slot() 384 struct nfs4_slot *slot) in nfs41_wake_and_assign_slot() [all …]
|
/linux/drivers/media/dvb-core/ |
H A D | dvb_ca_en50221.c | 228 static int dvb_ca_en50221_check_camstatus(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_check_camstatus() 278 static int dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot, in dvb_ca_en50221_wait_if_status() 326 static int dvb_ca_en50221_link_init(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_link_init() 402 static int dvb_ca_en50221_read_tuple(struct dvb_ca_private *ca, int slot, in dvb_ca_en50221_read_tuple() 456 static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_parse_attributes() 601 static int dvb_ca_en50221_set_configoption(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_set_configoption() 637 static int dvb_ca_en50221_read_data(struct dvb_ca_private *ca, int slot, in dvb_ca_en50221_read_data() 792 static int dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot, in dvb_ca_en50221_write_data() 913 static int dvb_ca_en50221_slot_shutdown(struct dvb_ca_private *ca, int slot) in dvb_ca_en50221_slot_shutdown() 939 void dvb_ca_en50221_camchange_irq(struct dvb_ca_en50221 *pubca, int slot, in dvb_ca_en50221_camchange_irq() [all …]
|
/linux/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_ci.c | 53 int slot) in netup_unidvb_ci_slot_ts_ctl() 71 int slot) in netup_unidvb_ci_slot_shutdown() 81 int slot) in netup_unidvb_ci_slot_reset() 115 int slot, int open) in netup_unidvb_poll_ci_slot_status() 137 int slot, int addr) in netup_unidvb_ci_read_attribute_mem() 149 int slot, int addr, u8 data) in netup_unidvb_ci_write_attribute_mem() 161 int slot, u8 addr) in netup_unidvb_ci_read_cam_ctl() 173 int slot, u8 addr, u8 data) in netup_unidvb_ci_write_cam_ctl()
|
/linux/sound/core/oss/ |
H A D | mixer_oss.c | 251 static int snd_mixer_oss_get_volume(struct snd_mixer_oss_file *fmixer, int slot) in snd_mixer_oss_get_volume() 280 int slot, int volume) in snd_mixer_oss_set_volume() 491 struct slot { struct 492 unsigned int signature; 516 struct snd_mixer_oss_slot *pslot, in snd_mixer_oss_get_volume1_vol() argument 585 struct slot *slot = pslot->private_data; in snd_mixer_oss_get_volume1() local 688 struct slot *slot = pslot->private_data; in snd_mixer_oss_put_volume1() local 737 struct slot *slot = pslot->private_data; in snd_mixer_oss_get_recsrc1_sw() local 750 struct slot *slot = pslot->private_data; in snd_mixer_oss_get_recsrc1_route() local 763 struct slot *slot = pslot->private_data; in snd_mixer_oss_put_recsrc1_sw() local [all …]
|
/linux/block/ |
H A D | blk-crypto-profile.c | 77 unsigned int slot; in blk_crypto_profile_init() local 179 blk_crypto_remove_slot_from_lru_list(struct blk_crypto_keyslot *slot) in blk_crypto_remove_slot_from_lru_list() 208 struct blk_crypto_keyslot *slot; in blk_crypto_find_and_grab_keyslot() local 226 unsigned int blk_crypto_keyslot_index(struct blk_crypto_keyslot *slot) in blk_crypto_keyslot_index() 252 struct blk_crypto_keyslot *slot; in blk_crypto_get_keyslot() local 325 void blk_crypto_put_keyslot(struct blk_crypto_keyslot *slot) in blk_crypto_put_keyslot() 366 struct blk_crypto_keyslot *slot; in __blk_crypto_evict_key() local 420 unsigned int slot; in blk_crypto_reprogram_all_keys() local
|
/linux/lib/ |
H A D | radix-tree.c | 80 get_slot_offset(const struct radix_tree_node *parent, void __rcu **slot) in get_slot_offset() 603 void __rcu **slot = (void __rcu **)&root->xa_head; in __radix_tree_create() local 682 void __rcu **slot, void *item) in insert_entries() 707 void __rcu **slot; in radix_tree_insert() local 753 void __rcu **slot; in __radix_tree_lookup() local 797 void __rcu **slot; in radix_tree_lookup_slot() local 823 static void replace_slot(void __rcu **slot, void *item, in replace_slot() 851 struct radix_tree_node *node, void __rcu **slot, in calculate_count() 877 void __rcu **slot, void *item) in __radix_tree_replace() 915 void __rcu **slot, void *item) in radix_tree_replace_slot() [all …]
|
/linux/include/linux/input/ |
H A D | mt.h | 46 int slot; member 53 static inline void input_mt_set_value(struct input_mt_slot *slot, in input_mt_set_value() 59 static inline int input_mt_get_value(const struct input_mt_slot *slot, in input_mt_get_value() 65 static inline bool input_mt_is_active(const struct input_mt_slot *slot) in input_mt_is_active() 71 const struct input_mt_slot *slot) in input_mt_is_used() 85 static inline void input_mt_slot(struct input_dev *dev, int slot) in input_mt_slot()
|