/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | cpci_hotplug_pci.c | 35 u8 cpci_get_attention_status(struct slot *slot) in cpci_get_attention_status() argument 40 hs_cap = pci_bus_find_capability(slot->bus, in cpci_get_attention_status() 41 slot->devfn, in cpci_get_attention_status() 46 if (pci_bus_read_config_word(slot->bus, in cpci_get_attention_status() 47 slot->devfn, in cpci_get_attention_status() 55 int cpci_set_attention_status(struct slot *slot, int status) in cpci_set_attention_status() argument 60 hs_cap = pci_bus_find_capability(slot->bus, in cpci_set_attention_status() 61 slot in cpci_set_attention_status() 82 cpci_get_hs_csr(struct slot *slot) cpci_get_hs_csr() argument 100 cpci_check_and_clear_ins(struct slot *slot) cpci_check_and_clear_ins() argument 129 cpci_check_ext(struct slot *slot) cpci_check_ext() argument 150 cpci_clear_ext(struct slot *slot) cpci_clear_ext() argument 176 cpci_led_on(struct slot *slot) cpci_led_on() argument 204 cpci_led_off(struct slot *slot) cpci_led_off() argument 237 cpci_configure_slot(struct slot *slot) cpci_configure_slot() argument 288 cpci_unconfigure_slot(struct slot *slot) cpci_unconfigure_slot() argument [all...] |
H A D | shpchp_core.c | 46 static int set_attention_status(struct hotplug_slot *slot, u8 value); 47 static int enable_slot(struct hotplug_slot *slot); 48 static int disable_slot(struct hotplug_slot *slot); 49 static int get_power_status(struct hotplug_slot *slot, u8 *value); 50 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 51 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 52 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 66 struct slot *slot; in init_slots() local 73 slot in init_slots() 132 struct slot *slot, *next; cleanup_slots() local 148 struct slot *slot = get_slot(hotplug_slot); set_attention_status() local 161 struct slot *slot = get_slot(hotplug_slot); enable_slot() local 171 struct slot *slot = get_slot(hotplug_slot); disable_slot() local 181 struct slot *slot = get_slot(hotplug_slot); get_power_status() local 196 struct slot *slot = get_slot(hotplug_slot); get_attention_status() local 211 struct slot *slot = get_slot(hotplug_slot); get_latch_status() local 226 struct slot *slot = get_slot(hotplug_slot); get_adapter_status() local [all...] |
H A D | cpci_hotplug_core.c | 52 static int enable_slot(struct hotplug_slot *slot); 53 static int disable_slot(struct hotplug_slot *slot); 54 static int set_attention_status(struct hotplug_slot *slot, u8 value); 55 static int get_power_status(struct hotplug_slot *slot, u8 *value); 56 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 57 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 58 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 73 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 76 dbg("%s - physical_slot = %s", __func__, slot_name(slot)); in enable_slot() 86 struct slot *slot = to_slot(hotplug_slot); disable_slot() local 130 cpci_get_power_status(struct slot *slot) cpci_get_power_status() argument 142 struct slot *slot = to_slot(hotplug_slot); get_power_status() local 151 struct slot *slot = to_slot(hotplug_slot); get_attention_status() local 166 struct slot *slot = to_slot(hotplug_slot); get_adapter_status() local 175 struct slot *slot = to_slot(hotplug_slot); get_latch_status() local 181 release_slot(struct slot *slot) release_slot() argument 192 struct slot *slot; cpci_hp_register_bus() local 244 struct slot *slot; cpci_hp_unregister_bus() local 297 struct slot *slot; init_slots() local 326 struct slot *slot; check_slots() local 549 struct slot *slot; cleanup_slots() local [all...] |
H A D | rpaphp_slot.c | 21 /* free up the memory used by a slot */ 22 void dealloc_slot_struct(struct slot *slot) in dealloc_slot_struct() argument 24 of_node_put(slot->dn); in dealloc_slot_struct() 25 kfree(slot->name); in dealloc_slot_struct() 26 kfree(slot); in dealloc_slot_struct() 29 struct slot *alloc_slot_struct(struct device_node *dn, in alloc_slot_struct() 32 struct slot *slot; in alloc_slot_struct() local 34 slot in alloc_slot_struct() 53 is_registered(struct slot *slot) is_registered() argument 64 rpaphp_deregister_slot(struct slot *slot) rpaphp_deregister_slot() argument 81 rpaphp_register_slot(struct slot *slot) rpaphp_register_slot() argument [all...] |
H A D | cpci_hotplug.h | 30 struct slot { struct 47 int (*hardware_test)(struct slot *slot, u32 value); 48 u8 (*get_power)(struct slot *slot); 49 int (*set_power)(struct slot *slot, int value); 61 static inline const char *slot_name(struct slot *slot) in slot_name() argument 63 return hotplug_slot_name(&slot in slot_name() [all...] |
H A D | acpiphp_core.c | 52 static int enable_slot(struct hotplug_slot *slot); 53 static int disable_slot(struct hotplug_slot *slot); 54 static int set_attention_status(struct hotplug_slot *slot, u8 value); 55 static int get_power_status(struct hotplug_slot *slot, u8 *value); 56 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 57 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 58 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 114 * enable_slot - power on and enable a slot 115 * @hotplug_slot: slot to enable 121 struct slot *slo in enable_slot() local 138 struct slot *slot = to_slot(hotplug_slot); disable_slot() local 182 struct slot *slot = to_slot(hotplug_slot); get_power_status() local 228 struct slot *slot = to_slot(hotplug_slot); get_latch_status() local 248 struct slot *slot = to_slot(hotplug_slot); get_adapter_status() local 261 struct slot *slot; acpiphp_register_hotplug_slot() local 298 struct slot *slot = acpiphp_slot->slot; acpiphp_unregister_hotplug_slot() local [all...] |
H A D | pci_hotplug_core.c | 50 static int get_##name(struct hotplug_slot *slot, type *value) \ 52 const struct hotplug_slot_ops *ops = slot->ops; \ 54 if (!try_module_get(slot->owner)) \ 57 retval = ops->get_##name(slot, value); \ 58 module_put(slot->owner); \ 82 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file() local 91 if (!try_module_get(slot->owner)) { in power_write_file() 97 if (slot->ops->disable_slot) in power_write_file() 98 retval = slot->ops->disable_slot(slot); in power_write_file() 139 struct hotplug_slot *slot = pci_slot->hotplug; attention_write_file() local 206 struct hotplug_slot *slot = pci_slot->hotplug; test_write_file() local 236 struct hotplug_slot *slot = pci_slot->hotplug; has_power_file() local 249 struct hotplug_slot *slot = pci_slot->hotplug; has_attention_file() local 261 struct hotplug_slot *slot = pci_slot->hotplug; has_latch_file() local 272 struct hotplug_slot *slot = pci_slot->hotplug; has_adapter_file() local 283 struct hotplug_slot *slot = pci_slot->hotplug; has_test_file() local 380 struct hotplug_slot *slot; get_slot_from_name() local 404 __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) __pci_hp_register() argument 438 __pci_hp_initialize(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) __pci_hp_initialize() argument 477 pci_hp_add(struct hotplug_slot *slot) pci_hp_add() argument 504 pci_hp_deregister(struct hotplug_slot *slot) pci_hp_deregister() argument 519 pci_hp_del(struct hotplug_slot *slot) pci_hp_del() argument 551 pci_hp_destroy(struct hotplug_slot *slot) pci_hp_destroy() argument [all...] |
H A D | shpchp.h | 63 struct slot { struct 86 struct slot *p_slot; 101 u32 first_slot; /* First physical slot number */ 160 int shpchp_sysfs_enable_slot(struct slot *slot); 161 int shpchp_sysfs_disable_slot(struct slot *slot); 166 int shpchp_configure_device(struct slot *p_slot); 167 void shpchp_unconfigure_device(struct slot *p_slot); 172 static inline const char *slot_name(struct slot *slo argument 217 struct slot *slot; shpchp_find_slot() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | cpci_hotplug_pci.c | 33 u8 cpci_get_attention_status(struct slot *slot) in cpci_get_attention_status() argument 38 hs_cap = pci_bus_find_capability(slot->bus, in cpci_get_attention_status() 39 slot->devfn, in cpci_get_attention_status() 44 if (pci_bus_read_config_word(slot->bus, in cpci_get_attention_status() 45 slot->devfn, in cpci_get_attention_status() 53 int cpci_set_attention_status(struct slot *slot, int status) in cpci_set_attention_status() argument 58 hs_cap = pci_bus_find_capability(slot->bus, in cpci_set_attention_status() 59 slot in cpci_set_attention_status() 80 cpci_get_hs_csr(struct slot *slot) cpci_get_hs_csr() argument 98 cpci_check_and_clear_ins(struct slot *slot) cpci_check_and_clear_ins() argument 127 cpci_check_ext(struct slot *slot) cpci_check_ext() argument 148 cpci_clear_ext(struct slot *slot) cpci_clear_ext() argument 174 cpci_led_on(struct slot *slot) cpci_led_on() argument 202 cpci_led_off(struct slot *slot) cpci_led_off() argument 235 cpci_configure_slot(struct slot *slot) cpci_configure_slot() argument 286 cpci_unconfigure_slot(struct slot *slot) cpci_unconfigure_slot() argument [all...] |
H A D | shpchp_core.c | 45 static int set_attention_status(struct hotplug_slot *slot, u8 value); 46 static int enable_slot(struct hotplug_slot *slot); 47 static int disable_slot(struct hotplug_slot *slot); 48 static int get_power_status(struct hotplug_slot *slot, u8 *value); 49 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 50 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 51 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 65 struct slot *slot; in init_slots() local 72 slot in init_slots() 131 struct slot *slot, *next; cleanup_slots() local 147 struct slot *slot = get_slot(hotplug_slot); set_attention_status() local 160 struct slot *slot = get_slot(hotplug_slot); enable_slot() local 170 struct slot *slot = get_slot(hotplug_slot); disable_slot() local 180 struct slot *slot = get_slot(hotplug_slot); get_power_status() local 195 struct slot *slot = get_slot(hotplug_slot); get_attention_status() local 210 struct slot *slot = get_slot(hotplug_slot); get_latch_status() local 225 struct slot *slot = get_slot(hotplug_slot); get_adapter_status() local [all...] |
H A D | cpci_hotplug_core.c | 52 static int enable_slot(struct hotplug_slot *slot); 53 static int disable_slot(struct hotplug_slot *slot); 54 static int set_attention_status(struct hotplug_slot *slot, u8 value); 55 static int get_power_status(struct hotplug_slot *slot, u8 *value); 56 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 57 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 58 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 73 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 76 dbg("%s - physical_slot = %s", __func__, slot_name(slot)); in enable_slot() 86 struct slot *slot = to_slot(hotplug_slot); disable_slot() local 130 cpci_get_power_status(struct slot *slot) cpci_get_power_status() argument 142 struct slot *slot = to_slot(hotplug_slot); get_power_status() local 151 struct slot *slot = to_slot(hotplug_slot); get_attention_status() local 166 struct slot *slot = to_slot(hotplug_slot); get_adapter_status() local 175 struct slot *slot = to_slot(hotplug_slot); get_latch_status() local 181 release_slot(struct slot *slot) release_slot() argument 192 struct slot *slot; cpci_hp_register_bus() local 244 struct slot *slot; cpci_hp_unregister_bus() local 297 struct slot *slot; init_slots() local 326 struct slot *slot; check_slots() local 549 struct slot *slot; cleanup_slots() local [all...] |
H A D | rpaphp_slot.c | 22 /* free up the memory used by a slot */ 23 void dealloc_slot_struct(struct slot *slot) in dealloc_slot_struct() argument 25 of_node_put(slot->dn); in dealloc_slot_struct() 26 kfree(slot->name); in dealloc_slot_struct() 27 kfree(slot); in dealloc_slot_struct() 30 struct slot *alloc_slot_struct(struct device_node *dn, in alloc_slot_struct() 33 struct slot *slot; in alloc_slot_struct() local 35 slot in alloc_slot_struct() 54 is_registered(struct slot *slot) is_registered() argument 65 rpaphp_deregister_slot(struct slot *slot) rpaphp_deregister_slot() argument 82 rpaphp_register_slot(struct slot *slot) rpaphp_register_slot() argument [all...] |
H A D | cpci_hotplug.h | 30 struct slot { struct 47 int (*hardware_test)(struct slot *slot, u32 value); 48 u8 (*get_power)(struct slot *slot); 49 int (*set_power)(struct slot *slot, int value); 61 static inline const char *slot_name(struct slot *slot) in slot_name() argument 63 return hotplug_slot_name(&slot in slot_name() [all...] |
H A D | acpiphp_core.c | 51 static int enable_slot(struct hotplug_slot *slot); 52 static int disable_slot(struct hotplug_slot *slot); 53 static int set_attention_status(struct hotplug_slot *slot, u8 value); 54 static int get_power_status(struct hotplug_slot *slot, u8 *value); 55 static int get_attention_status(struct hotplug_slot *slot, u8 *value); 56 static int get_latch_status(struct hotplug_slot *slot, u8 *value); 57 static int get_adapter_status(struct hotplug_slot *slot, u8 *value); 113 * enable_slot - power on and enable a slot 114 * @hotplug_slot: slot to enable 120 struct slot *slo in enable_slot() local 137 struct slot *slot = to_slot(hotplug_slot); disable_slot() local 181 struct slot *slot = to_slot(hotplug_slot); get_power_status() local 227 struct slot *slot = to_slot(hotplug_slot); get_latch_status() local 247 struct slot *slot = to_slot(hotplug_slot); get_adapter_status() local 260 struct slot *slot; acpiphp_register_hotplug_slot() local 297 struct slot *slot = acpiphp_slot->slot; acpiphp_unregister_hotplug_slot() local [all...] |
H A D | pci_hotplug_core.c | 50 static int get_##name(struct hotplug_slot *slot, type *value) \ 52 const struct hotplug_slot_ops *ops = slot->ops; \ 54 if (!try_module_get(slot->owner)) \ 57 retval = ops->get_##name(slot, value); \ 58 module_put(slot->owner); \ 82 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file() local 91 if (!try_module_get(slot->owner)) { in power_write_file() 97 if (slot->ops->disable_slot) in power_write_file() 98 retval = slot->ops->disable_slot(slot); in power_write_file() 139 struct hotplug_slot *slot = pci_slot->hotplug; attention_write_file() local 206 struct hotplug_slot *slot = pci_slot->hotplug; test_write_file() local 236 struct hotplug_slot *slot = pci_slot->hotplug; has_power_file() local 249 struct hotplug_slot *slot = pci_slot->hotplug; has_attention_file() local 261 struct hotplug_slot *slot = pci_slot->hotplug; has_latch_file() local 272 struct hotplug_slot *slot = pci_slot->hotplug; has_adapter_file() local 283 struct hotplug_slot *slot = pci_slot->hotplug; has_test_file() local 380 struct hotplug_slot *slot; get_slot_from_name() local 404 __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) __pci_hp_register() argument 438 __pci_hp_initialize(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) __pci_hp_initialize() argument 477 pci_hp_add(struct hotplug_slot *slot) pci_hp_add() argument 504 pci_hp_deregister(struct hotplug_slot *slot) pci_hp_deregister() argument 519 pci_hp_del(struct hotplug_slot *slot) pci_hp_del() argument 551 pci_hp_destroy(struct hotplug_slot *slot) pci_hp_destroy() argument [all...] |
H A D | shpchp.h | 63 struct slot { struct 86 struct slot *p_slot; 101 u32 first_slot; /* First physical slot number */ 160 int shpchp_sysfs_enable_slot(struct slot *slot); 161 int shpchp_sysfs_disable_slot(struct slot *slot); 166 int shpchp_configure_device(struct slot *p_slot); 167 void shpchp_unconfigure_device(struct slot *p_slot); 172 static inline const char *slot_name(struct slot *slo argument 217 struct slot *slot; shpchp_find_slot() local [all...] |
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | cb710-mmc.c | 29 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); in cb710_mmc_select_clock_divider() local 30 struct pci_dev *pdev = cb710_slot_to_chip(slot)->pdev; in cb710_mmc_select_clock_divider() 56 dev_dbg(cb710_slot_dev(slot), in cb710_mmc_select_clock_divider() 62 static void __cb710_mmc_enable_irq(struct cb710_slot *slot, in __cb710_mmc_enable_irq() argument 74 enable = (cb710_read_port_16(slot, CB710_MMC_IRQ_ENABLE_PORT) in __cb710_mmc_enable_irq() 80 cb710_write_port_16(slot, CB710_MMC_IRQ_ENABLE_PORT, enable); in __cb710_mmc_enable_irq() 83 static void cb710_mmc_enable_irq(struct cb710_slot *slot, in cb710_mmc_enable_irq() argument 86 struct cb710_mmc_reader *reader = mmc_priv(cb710_slot_to_mmc(slot)); in cb710_mmc_enable_irq() 91 __cb710_mmc_enable_irq(slot, enable, mask); in cb710_mmc_enable_irq() 95 static void cb710_mmc_reset_events(struct cb710_slot *slot) in cb710_mmc_reset_events() argument 102 cb710_mmc_enable_4bit_data(struct cb710_slot *slot, int enable) cb710_mmc_enable_4bit_data() argument 112 cb710_check_event(struct cb710_slot *slot, u8 what) cb710_check_event() argument 145 cb710_wait_for_event(struct cb710_slot *slot, u8 what) cb710_wait_for_event() argument 178 cb710_wait_while_busy(struct cb710_slot *slot, uint8_t mask) cb710_wait_while_busy() argument 210 cb710_mmc_set_transfer_size(struct cb710_slot *slot, size_t count, size_t blocksize) cb710_mmc_set_transfer_size() argument 221 cb710_mmc_fifo_hack(struct cb710_slot *slot) cb710_mmc_fifo_hack() argument 244 cb710_mmc_receive_pio(struct cb710_slot *slot, struct sg_mapping_iter *miter, size_t dw_count) cb710_mmc_receive_pio() argument 265 cb710_mmc_receive(struct cb710_slot *slot, struct mmc_data *data) cb710_mmc_receive() argument 309 cb710_mmc_send(struct cb710_slot *slot, struct mmc_data *data) cb710_mmc_send() argument 395 cb710_receive_response(struct cb710_slot *slot, struct mmc_command *cmd) cb710_receive_response() argument 424 cb710_mmc_transfer_data(struct cb710_slot *slot, struct mmc_data *data) cb710_mmc_transfer_data() argument 445 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); cb710_mmc_command() local 485 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); cb710_mmc_request() local 499 cb710_mmc_powerup(struct cb710_slot *slot) cb710_mmc_powerup() argument 554 cb710_mmc_powerdown(struct cb710_slot *slot) cb710_mmc_powerdown() argument 562 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); cb710_mmc_set_ios() local 603 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); cb710_mmc_get_ro() local 611 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); cb710_mmc_get_cd() local 617 cb710_mmc_irq_handler(struct cb710_slot *slot) cb710_mmc_irq_handler() argument 670 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); cb710_mmc_suspend() local 678 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); cb710_mmc_resume() local 688 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); cb710_mmc_init() local 750 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); cb710_mmc_exit() local [all...] |
H A D | sdhci-pci-core.c | 29 #include <linux/mmc/slot-gpio.h> 53 struct sdhci_pci_slot *slot = chip->slots[i]; in sdhci_pci_init_wakeup() local 55 if (slot) { in sdhci_pci_init_wakeup() 56 pm_flags |= slot->host->mmc->pm_flags; in sdhci_pci_init_wakeup() 57 if (slot->host->mmc->caps & MMC_CAP_CD_WAKE) in sdhci_pci_init_wakeup() 77 struct sdhci_pci_slot *slot = chip->slots[i]; in sdhci_pci_suspend_host() local 80 if (!slot) in sdhci_pci_suspend_host() 83 host = slot->host; in sdhci_pci_suspend_host() 106 struct sdhci_pci_slot *slot; in sdhci_pci_resume_host() local 110 slot in sdhci_pci_resume_host() 150 struct sdhci_pci_slot *slot; sdhci_pci_runtime_suspend_host() local 180 struct sdhci_pci_slot *slot; sdhci_pci_runtime_resume_host() local 259 ricoh_mmc_probe_slot(struct sdhci_pci_slot *slot) ricoh_mmc_probe_slot() argument 322 mrst_hc_probe_slot(struct sdhci_pci_slot *slot) mrst_hc_probe_slot() argument 342 pch_hc_probe_slot(struct sdhci_pci_slot *slot) pch_hc_probe_slot() argument 352 struct sdhci_pci_slot *slot = dev_id; sdhci_pci_sd_cd() local 359 sdhci_pci_add_own_cd(struct sdhci_pci_slot *slot) sdhci_pci_add_own_cd() argument 397 sdhci_pci_remove_own_cd(struct sdhci_pci_slot *slot) sdhci_pci_remove_own_cd() argument 405 sdhci_pci_add_own_cd(struct sdhci_pci_slot *slot) sdhci_pci_add_own_cd() argument 409 sdhci_pci_remove_own_cd(struct sdhci_pci_slot *slot) sdhci_pci_remove_own_cd() argument 415 mfd_emmc_probe_slot(struct sdhci_pci_slot *slot) mfd_emmc_probe_slot() argument 422 mfd_sdio_probe_slot(struct sdhci_pci_slot *slot) mfd_sdio_probe_slot() argument 610 struct sdhci_pci_slot *slot = sdhci_priv(host); intel_select_drive_strength() local 647 struct sdhci_pci_slot *slot = sdhci_priv(host); sdhci_intel_set_power() local 716 struct sdhci_pci_slot *slot = sdhci_priv(host); intel_start_signal_voltage_switch() local 765 byt_read_dsm(struct sdhci_pci_slot *slot) byt_read_dsm() argument 802 intel_cache_ltr(struct sdhci_pci_slot *slot) intel_cache_ltr() argument 814 struct sdhci_pci_slot *slot = chip->slots[0]; intel_ltr_set() local 895 byt_probe_slot(struct sdhci_pci_slot *slot) byt_probe_slot() argument 916 byt_add_debugfs(struct sdhci_pci_slot *slot) byt_add_debugfs() argument 931 byt_add_host(struct sdhci_pci_slot *slot) byt_add_host() argument 940 byt_remove_slot(struct sdhci_pci_slot *slot, int dead) byt_remove_slot() argument 948 byt_emmc_probe_slot(struct sdhci_pci_slot *slot) byt_emmc_probe_slot() argument 963 glk_broken_cqhci(struct sdhci_pci_slot *slot) glk_broken_cqhci() argument 970 jsl_broken_hs400es(struct sdhci_pci_slot *slot) jsl_broken_hs400es() argument 976 glk_emmc_probe_slot(struct sdhci_pci_slot *slot) glk_emmc_probe_slot() argument 1001 glk_emmc_add_host(struct sdhci_pci_slot *slot) glk_emmc_add_host() argument 1052 struct sdhci_pci_slot *slot = chip->slots[0]; glk_rpm_retune_wa() local 1116 ni_set_max_freq(struct sdhci_pci_slot *slot) ni_set_max_freq() argument 1134 ni_set_max_freq(struct sdhci_pci_slot *slot) ni_set_max_freq() argument 1140 ni_byt_sdio_probe_slot(struct sdhci_pci_slot *slot) ni_byt_sdio_probe_slot() argument 1155 byt_sdio_probe_slot(struct sdhci_pci_slot *slot) byt_sdio_probe_slot() argument 1163 byt_needs_pwr_off(struct sdhci_pci_slot *slot) byt_needs_pwr_off() argument 1171 byt_sd_probe_slot(struct sdhci_pci_slot *slot) byt_sd_probe_slot() argument 1323 intel_mrfld_mmc_fix_up_power_slot(struct sdhci_pci_slot *slot) intel_mrfld_mmc_fix_up_power_slot() argument 1337 intel_mrfld_mmc_fix_up_power_slot(struct sdhci_pci_slot *slot) intel_mrfld_mmc_fix_up_power_slot() argument 1340 intel_mrfld_mmc_probe_slot(struct sdhci_pci_slot *slot) intel_mrfld_mmc_probe_slot() argument 1479 jmicron_probe_slot(struct sdhci_pci_slot *slot) jmicron_probe_slot() argument 1519 jmicron_remove_slot(struct sdhci_pci_slot *slot, int dead) jmicron_remove_slot() argument 1607 syskt_probe_slot(struct sdhci_pci_slot *slot) syskt_probe_slot() argument 1658 rtsx_probe_slot(struct sdhci_pci_slot *slot) rtsx_probe_slot() argument 1722 struct sdhci_pci_slot *slot = sdhci_priv(host); amd_execute_tuning_hs200() local 1771 amd_probe_slot(struct sdhci_pci_slot *slot) amd_probe_slot() argument 1817 struct sdhci_pci_slot *slot = sdhci_priv(host); amd_sdhci_reset() local 1977 struct sdhci_pci_slot *slot; sdhci_pci_enable_dma() local 1997 struct sdhci_pci_slot *slot = sdhci_priv(host); sdhci_pci_gpio_hw_reset() local 2012 struct sdhci_pci_slot *slot = sdhci_priv(host); sdhci_pci_hw_reset() local 2105 struct sdhci_pci_slot *slot; sdhci_pci_probe_slot() local 2255 sdhci_pci_remove_slot(struct sdhci_pci_slot *slot) sdhci_pci_remove_slot() argument 2298 struct sdhci_pci_slot *slot; sdhci_pci_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | cb710-mmc.c | 29 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); in cb710_mmc_select_clock_divider() local 30 struct pci_dev *pdev = cb710_slot_to_chip(slot)->pdev; in cb710_mmc_select_clock_divider() 56 dev_dbg(cb710_slot_dev(slot), in cb710_mmc_select_clock_divider() 62 static void __cb710_mmc_enable_irq(struct cb710_slot *slot, in __cb710_mmc_enable_irq() argument 74 enable = (cb710_read_port_16(slot, CB710_MMC_IRQ_ENABLE_PORT) in __cb710_mmc_enable_irq() 80 cb710_write_port_16(slot, CB710_MMC_IRQ_ENABLE_PORT, enable); in __cb710_mmc_enable_irq() 83 static void cb710_mmc_enable_irq(struct cb710_slot *slot, in cb710_mmc_enable_irq() argument 86 struct cb710_mmc_reader *reader = mmc_priv(cb710_slot_to_mmc(slot)); in cb710_mmc_enable_irq() 91 __cb710_mmc_enable_irq(slot, enable, mask); in cb710_mmc_enable_irq() 95 static void cb710_mmc_reset_events(struct cb710_slot *slot) in cb710_mmc_reset_events() argument 102 cb710_mmc_enable_4bit_data(struct cb710_slot *slot, int enable) cb710_mmc_enable_4bit_data() argument 112 cb710_check_event(struct cb710_slot *slot, u8 what) cb710_check_event() argument 145 cb710_wait_for_event(struct cb710_slot *slot, u8 what) cb710_wait_for_event() argument 178 cb710_wait_while_busy(struct cb710_slot *slot, uint8_t mask) cb710_wait_while_busy() argument 210 cb710_mmc_set_transfer_size(struct cb710_slot *slot, size_t count, size_t blocksize) cb710_mmc_set_transfer_size() argument 221 cb710_mmc_fifo_hack(struct cb710_slot *slot) cb710_mmc_fifo_hack() argument 244 cb710_mmc_receive_pio(struct cb710_slot *slot, struct sg_mapping_iter *miter, size_t dw_count) cb710_mmc_receive_pio() argument 265 cb710_mmc_receive(struct cb710_slot *slot, struct mmc_data *data) cb710_mmc_receive() argument 309 cb710_mmc_send(struct cb710_slot *slot, struct mmc_data *data) cb710_mmc_send() argument 395 cb710_receive_response(struct cb710_slot *slot, struct mmc_command *cmd) cb710_receive_response() argument 424 cb710_mmc_transfer_data(struct cb710_slot *slot, struct mmc_data *data) cb710_mmc_transfer_data() argument 445 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); cb710_mmc_command() local 485 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); cb710_mmc_request() local 499 cb710_mmc_powerup(struct cb710_slot *slot) cb710_mmc_powerup() argument 554 cb710_mmc_powerdown(struct cb710_slot *slot) cb710_mmc_powerdown() argument 562 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); cb710_mmc_set_ios() local 603 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); cb710_mmc_get_ro() local 611 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); cb710_mmc_get_cd() local 617 cb710_mmc_irq_handler(struct cb710_slot *slot) cb710_mmc_irq_handler() argument 670 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); cb710_mmc_suspend() local 678 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); cb710_mmc_resume() local 688 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); cb710_mmc_init() local 750 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); cb710_mmc_exit() local [all...] |
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | slot.c | 21 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show() local 23 return attribute->show ? attribute->show(slot, buf) : -EIO; in pci_slot_attr_show() 29 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store() local 31 return attribute->store ? attribute->store(slot, buf, len) : -EIO; in pci_slot_attr_store() 39 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file() argument 41 if (slot->number == 0xff) in address_read_file() 43 pci_domain_nr(slot->bus), in address_read_file() 44 slot->bus->number); in address_read_file() 47 pci_domain_nr(slot->bus), in address_read_file() 48 slot in address_read_file() 57 max_speed_read_file(struct pci_slot *slot, char *buf) max_speed_read_file() argument 62 cur_speed_read_file(struct pci_slot *slot, char *buf) cur_speed_read_file() argument 70 struct pci_slot *slot = to_pci_slot(kobj); pci_slot_release() local 144 rename_slot(struct pci_slot *slot, const char *name) rename_slot() argument 164 struct pci_slot *slot; pci_dev_assign_slot() local 175 struct pci_slot *slot; get_slot() local 230 struct pci_slot *slot; pci_create_slot() local 312 pci_destroy_slot(struct pci_slot *slot) pci_destroy_slot() argument 334 struct hotplug_slot *slot = pci_slot->hotplug; pci_hp_create_module_link() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | slot.c | 21 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show() local 23 return attribute->show ? attribute->show(slot, buf) : -EIO; in pci_slot_attr_show() 29 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store() local 31 return attribute->store ? attribute->store(slot, buf, len) : -EIO; in pci_slot_attr_store() 39 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file() argument 41 if (slot->number == 0xff) in address_read_file() 43 pci_domain_nr(slot->bus), in address_read_file() 44 slot->bus->number); in address_read_file() 47 pci_domain_nr(slot->bus), in address_read_file() 48 slot in address_read_file() 57 max_speed_read_file(struct pci_slot *slot, char *buf) max_speed_read_file() argument 62 cur_speed_read_file(struct pci_slot *slot, char *buf) cur_speed_read_file() argument 70 struct pci_slot *slot = to_pci_slot(kobj); pci_slot_release() local 145 rename_slot(struct pci_slot *slot, const char *name) rename_slot() argument 165 struct pci_slot *slot; pci_dev_assign_slot() local 176 struct pci_slot *slot; get_slot() local 231 struct pci_slot *slot; pci_create_slot() local 313 pci_destroy_slot(struct pci_slot *slot) pci_destroy_slot() argument 335 struct hotplug_slot *slot = pci_slot->hotplug; pci_hp_create_module_link() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptlf.c | 17 lf->slot, OTX2_CPT_LF_DONE_WAIT); in cptlf_do_set_done_time_wait() 19 otx2_cpt_write64(lf->lfs->reg_base, lf->lfs->blkaddr, lf->slot, in cptlf_do_set_done_time_wait() 28 lf->slot, OTX2_CPT_LF_DONE_WAIT); in cptlf_do_set_done_num_wait() 30 otx2_cpt_write64(lf->lfs->reg_base, lf->lfs->blkaddr, lf->slot, in cptlf_do_set_done_num_wait() 37 int slot; in cptlf_set_done_time_wait() local 39 for (slot = 0; slot < lfs->lfs_num; slot++) in cptlf_set_done_time_wait() 40 cptlf_do_set_done_time_wait(&lfs->lf[slot], time_wait); in cptlf_set_done_time_wait() 45 int slot; in cptlf_set_done_num_wait() local 95 int slot, ret = 0; cptlf_set_grp_and_pri() local 141 int slot; cptlf_set_misc_intrs() local 156 int slot; cptlf_enable_intrs() local 168 int slot; cptlf_disable_intrs() local 330 int slot, offs; otx2_cptlf_free_irqs_affinity() local 345 int slot, offs, ret; otx2_cptlf_set_irqs_affinity() local 378 int slot, ret; otx2_cptlf_init() local [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | keyslot-manager.c | 11 * with a slot number to specify the key to use for en/decryption. 16 * program just one slot with that key and use that slot for all requests. 26 * key into some slot in the inline encryption hardware. 77 unsigned int slot; in blk_ksm_init() local 97 for (slot = 0; slot < num_slots; slot++) { in blk_ksm_init() 98 ksm->slots[slot].ksm = ksm; in blk_ksm_init() 99 list_add_tail(&ksm->slots[slot] in blk_ksm_init() 137 blk_ksm_remove_slot_from_lru_list(struct blk_ksm_keyslot *slot) blk_ksm_remove_slot_from_lru_list() argument 165 struct blk_ksm_keyslot *slot; blk_ksm_find_and_grab_keyslot() local 177 blk_ksm_get_slot_idx(struct blk_ksm_keyslot *slot) blk_ksm_get_slot_idx() argument 203 struct blk_ksm_keyslot *slot; blk_ksm_get_slot_for_key() local 267 blk_ksm_put_slot(struct blk_ksm_keyslot *slot) blk_ksm_put_slot() argument 316 struct blk_ksm_keyslot *slot; blk_ksm_evict_key() local 360 unsigned int slot; blk_ksm_reprogram_all_keys() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kvm/mmu/ |
H A D | page_track.c | 29 void kvm_page_track_free_memslot(struct kvm_memory_slot *slot) in kvm_page_track_free_memslot() argument 31 kvfree(slot->arch.gfn_write_track); in kvm_page_track_free_memslot() 32 slot->arch.gfn_write_track = NULL; in kvm_page_track_free_memslot() 35 static int __kvm_page_track_write_tracking_alloc(struct kvm_memory_slot *slot, in __kvm_page_track_write_tracking_alloc() argument 38 const size_t size = sizeof(*slot->arch.gfn_write_track); in __kvm_page_track_write_tracking_alloc() 40 if (!slot->arch.gfn_write_track) in __kvm_page_track_write_tracking_alloc() 41 slot->arch.gfn_write_track = __vcalloc(npages, size, in __kvm_page_track_write_tracking_alloc() 44 return slot->arch.gfn_write_track ? 0 : -ENOMEM; in __kvm_page_track_write_tracking_alloc() 48 struct kvm_memory_slot *slot, in kvm_page_track_create_memslot() 54 return __kvm_page_track_write_tracking_alloc(slot, npage in kvm_page_track_create_memslot() 47 kvm_page_track_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot, unsigned long npages) kvm_page_track_create_memslot() argument 57 kvm_page_track_write_tracking_alloc(struct kvm_memory_slot *slot) kvm_page_track_write_tracking_alloc() argument 62 update_gfn_write_track(struct kvm_memory_slot *slot, gfn_t gfn, short count) update_gfn_write_track() argument 77 __kvm_write_track_add_gfn(struct kvm *kvm, struct kvm_memory_slot *slot, gfn_t gfn) __kvm_write_track_add_gfn() argument 100 __kvm_write_track_remove_gfn(struct kvm *kvm, struct kvm_memory_slot *slot, gfn_t gfn) __kvm_write_track_remove_gfn() argument 123 kvm_gfn_is_write_tracked(struct kvm *kvm, const struct kvm_memory_slot *slot, gfn_t gfn) kvm_gfn_is_write_tracked() argument 229 kvm_page_track_delete_slot(struct kvm *kvm, struct kvm_memory_slot *slot) kvm_page_track_delete_slot() argument 257 struct kvm_memory_slot *slot; kvm_write_track_add_gfn() local 287 struct kvm_memory_slot *slot; kvm_write_track_remove_gfn() local [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-crypto-profile.c | 77 unsigned int slot; in blk_crypto_profile_init() local 106 for (slot = 0; slot < num_slots; slot++) { in blk_crypto_profile_init() 107 profile->slots[slot].profile = profile; in blk_crypto_profile_init() 108 list_add_tail(&profile->slots[slot].idle_slot_node, in blk_crypto_profile_init() 179 blk_crypto_remove_slot_from_lru_list(struct blk_crypto_keyslot *slot) in blk_crypto_remove_slot_from_lru_list() argument 181 struct blk_crypto_profile *profile = slot->profile; in blk_crypto_remove_slot_from_lru_list() 185 list_del(&slot->idle_slot_node); in blk_crypto_remove_slot_from_lru_list() 208 struct blk_crypto_keyslot *slot; in blk_crypto_find_and_grab_keyslot() local 226 blk_crypto_keyslot_index(struct blk_crypto_keyslot *slot) blk_crypto_keyslot_index() argument 252 struct blk_crypto_keyslot *slot; blk_crypto_get_keyslot() local 325 blk_crypto_put_keyslot(struct blk_crypto_keyslot *slot) blk_crypto_put_keyslot() argument 366 struct blk_crypto_keyslot *slot; __blk_crypto_evict_key() local 420 unsigned int slot; blk_crypto_reprogram_all_keys() local [all...] |