| /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 | pci_hotplug_core.c | 70 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file() local 121 struct hotplug_slot *slot = pci_slot->hotplug; in attention_write_file() local 182 struct hotplug_slot *slot = pci_slot->hotplug; in test_write_file() local 204 static bool has_power_file(struct hotplug_slot *slot) in has_power_file() 213 static bool has_attention_file(struct hotplug_slot *slot) in has_attention_file() 221 static bool has_latch_file(struct hotplug_slot *slot) in has_latch_file() 228 static bool has_adapter_file(struct hotplug_slot *slot) in has_adapter_file() 235 static bool has_test_file(struct hotplug_slot *slot) in has_test_file() 242 static int fs_add_slot(struct hotplug_slot *slot, struct pci_slot *pci_slot) in fs_add_slot() 314 static void fs_remove_slot(struct hotplug_slot *slot, struct pci_slot *pci_slot) in fs_remove_slot() [all …]
|
| 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 | cpci_hotplug_core.c | 73 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 83 struct slot *slot = to_slot(hotplug_slot); in disable_slot() local 121 cpci_get_power_status(struct slot *slot) in cpci_get_power_status() 129 struct slot *slot = to_slot(hotplug_slot); in get_power_status() local 138 struct slot *slot = to_slot(hotplug_slot); in get_attention_status() local 153 struct slot *slot = to_slot(hotplug_slot); in get_adapter_status() local 162 struct slot *slot = to_slot(hotplug_slot); in get_latch_status() local 168 static void release_slot(struct slot *slot) in release_slot() 179 struct slot *slot; in cpci_hp_register_bus() local 231 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 | 62 struct slot *slot; in init_slots() local 128 struct slot *slot, *next; in cleanup_slots() local 144 struct slot *slot = get_slot(hotplug_slot); in set_attention_status() local 157 struct slot *slot = get_slot(hotplug_slot); in enable_slot() local 167 struct slot *slot = get_slot(hotplug_slot); in disable_slot() local 177 struct slot *slot = get_slot(hotplug_slot); in get_power_status() local 192 struct slot *slot = get_slot(hotplug_slot); in get_attention_status() local 207 struct slot *slot = get_slot(hotplug_slot); in get_latch_status() local 222 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
|
| H A D | pnv_php.c | 245 static void pnv_php_add_pdns(struct pnv_php_slot *slot) in pnv_php_add_pdns() 325 static inline struct pnv_php_slot *to_pnv_php_slot(struct hotplug_slot *slot) in to_pnv_php_slot() 330 int pnv_php_set_slot_power_state(struct hotplug_slot *slot, in pnv_php_set_slot_power_state() 369 static int pnv_php_get_power_state(struct hotplug_slot *slot, u8 *state) in pnv_php_get_power_state() 405 static int pnv_php_get_adapter_state(struct hotplug_slot *slot, u8 *state) in pnv_php_get_adapter_state() 439 static int pnv_php_get_raw_indicator_status(struct hotplug_slot *slot, u8 *state) in pnv_php_get_raw_indicator_status() 451 static int pnv_php_get_attention_state(struct hotplug_slot *slot, u8 *state) in pnv_php_get_attention_state() 460 static int pnv_php_set_attention_state(struct hotplug_slot *slot, u8 state) in pnv_php_set_attention_state() 483 struct hotplug_slot *slot) in pnv_php_activate_slot() 539 struct hotplug_slot *slot = &php_slot->slot; in pnv_php_enable() local [all …]
|
| H A D | shpchp_hpc.c | 287 static int shpc_write_cmd(struct slot *slot, u8 t_slot, u8 cmd) in shpc_write_cmd() 359 int shpchp_get_attention_status(struct slot *slot, u8 *status) in shpchp_get_attention_status() 383 int shpchp_get_power_status(struct slot *slot, u8 *status) in shpchp_get_power_status() 408 int shpchp_get_latch_status(struct slot *slot, u8 *status) in shpchp_get_latch_status() 418 int shpchp_get_adapter_status(struct slot *slot, u8 *status) in shpchp_get_adapter_status() 429 int shpchp_get_prog_int(struct slot *slot, u8 *prog_int) in shpchp_get_prog_int() 438 int shpchp_get_adapter_speed(struct slot *slot, enum pci_bus_speed *value) in shpchp_get_adapter_speed() 491 int shpchp_query_power_fault(struct slot *slot) in shpchp_query_power_fault() 500 int shpchp_set_attention_status(struct slot *slot, u8 value) in shpchp_set_attention_status() 522 void shpchp_green_led_on(struct slot *slot) in shpchp_green_led_on() [all …]
|
| H A D | cpqphp_core.c | 66 static inline int is_slot64bit(struct slot *slot) in is_slot64bit() 71 static inline int is_slot66mhz(struct slot *slot) in is_slot66mhz() 307 get_slot_mapping(struct pci_bus *bus, u8 bus_num, u8 dev_num, u8 *slot) in get_slot_mapping() 418 struct slot *slot = to_slot(hotplug_slot); in set_attention_status() local 445 struct slot *slot = to_slot(hotplug_slot); in process_SI() local 477 struct slot *slot = to_slot(hotplug_slot); in process_SS() local 504 struct slot *slot = to_slot(hotplug_slot); in hardware_test() local 515 struct slot *slot = to_slot(hotplug_slot); in get_power_status() local 526 struct slot *slot = to_slot(hotplug_slot); in get_attention_status() local 537 struct slot *slot = to_slot(hotplug_slot); in get_latch_status() local [all …]
|
| /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() 133 static bool __kvm_gfn_is_write_tracked(const struct kvm_memory_slot *slot, in __kvm_gfn_is_write_tracked() 147 const struct kvm_memory_slot *slot, gfn_t gfn) in kvm_gfn_is_write_tracked() 192 struct kvm_memory_slot *slot; in kvm_enable_external_write_tracking() local [all …]
|
| /linux/drivers/pci/ |
| H A D | slot.c | 20 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show() local 28 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store() local 38 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file() 65 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file() 70 static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf) in cur_speed_read_file() 75 static bool pci_dev_matches_slot(struct pci_dev *dev, struct pci_slot *slot) in pci_dev_matches_slot() 95 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release() local 182 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot() 202 struct pci_slot *slot; in pci_dev_assign_slot() local 213 struct pci_slot *slot; in get_slot() local [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() 208 struct btrfs_key *key, int slot, in check_extent_data_item() 393 int slot, struct btrfs_key *prev_key) in check_csum_item() 435 #define inode_item_err(eb, slot, fmt, ...) \ argument 439 int slot) in check_inode_key() 491 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/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 snd_mixer_oss_get_volume(struct snd_mixer_oss_file * fmixer,int slot) snd_mixer_oss_get_volume() argument 280 snd_mixer_oss_set_volume(struct snd_mixer_oss_file * fmixer,int slot,int volume) snd_mixer_oss_set_volume() argument 491 struct slot { global() struct 492 signatureslot global() argument 516 allocatedslot snd_mixer_oss_get_volume1_vol() argument 591 struct slot *slot = pslot->private_data; snd_mixer_oss_get_volume1() local 700 struct slot *slot = pslot->private_data; snd_mixer_oss_put_volume1() local 749 struct slot *slot = pslot->private_data; snd_mixer_oss_get_recsrc1_sw() local 762 struct slot *slot = pslot->private_data; snd_mixer_oss_get_recsrc1_route() local 775 struct slot *slot = pslot->private_data; snd_mixer_oss_put_recsrc1_sw() local 785 struct slot *slot = pslot->private_data; snd_mixer_oss_put_recsrc1_route() local 797 struct slot *slot; snd_mixer_oss_get_recsrc2() local 841 struct slot *slot = NULL; snd_mixer_oss_put_recsrc2() local 889 snd_mixer_oss_build_test(struct snd_mixer_oss * mixer,struct slot * slot,const char * name,int index,int item) snd_mixer_oss_build_test() argument 941 snd_mixer_oss_build_test_all(struct snd_mixer_oss * mixer,const struct snd_mixer_oss_assign_table * ptr,struct slot * slot) snd_mixer_oss_build_test_all() argument 1008 struct slot slot; snd_mixer_oss_build_input() local 1155 struct slot *slot; snd_mixer_oss_proc_write() local [all...] |
| /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/arch/x86/kernel/cpu/ |
| H A D | amd_cache_disable.c | 49 static int amd_get_l3_disable_slot(struct amd_northbridge *nb, unsigned int slot) in amd_get_l3_disable_slot() 62 static ssize_t show_cache_disable(struct cacheinfo *ci, char *buf, unsigned int slot) in show_cache_disable() 74 #define SHOW_CACHE_DISABLE(slot) \ argument 87 unsigned int slot, unsigned long idx) in amd_l3_disable_index() 127 unsigned int slot, unsigned long index) in amd_set_l3_disable_slot() 149 size_t count, unsigned int slot) in store_cache_disable() 173 #define STORE_CACHE_DISABLE(slot) \ argument
|