/linux/drivers/pci/hotplug/ |
A D | cpci_hotplug_pci.c | 33 u8 cpci_get_attention_status(struct slot *slot) in cpci_get_attention_status() argument 80 u16 cpci_get_hs_csr(struct slot *slot) in cpci_get_hs_csr() argument 98 int cpci_check_and_clear_ins(struct slot *slot) in cpci_check_and_clear_ins() argument 127 int cpci_check_ext(struct slot *slot) in cpci_check_ext() argument 148 int cpci_clear_ext(struct slot *slot) in cpci_clear_ext() argument 174 int cpci_led_on(struct slot *slot) in cpci_led_on() argument 202 int cpci_led_off(struct slot *slot) in cpci_led_off() argument 235 int cpci_configure_slot(struct slot *slot) in cpci_configure_slot() argument 247 slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn)); in cpci_configure_slot() 248 slot->dev = pci_get_slot(slot->bus, slot->devfn); in cpci_configure_slot() [all …]
|
A D | shpchp_core.c | 66 struct slot *slot; in init_slots() local 73 slot = kzalloc(sizeof(*slot), GFP_KERNEL); in init_slots() 103 slot->bus, slot->device, slot->hp_slot, slot->number, in init_slots() 132 struct slot *slot, *next; in cleanup_slots() local 148 struct slot *slot = get_slot(hotplug_slot); in set_attention_status() local 161 struct slot *slot = get_slot(hotplug_slot); in enable_slot() local 171 struct slot *slot = get_slot(hotplug_slot); in disable_slot() local 181 struct slot *slot = get_slot(hotplug_slot); in get_power_status() local 196 struct slot *slot = get_slot(hotplug_slot); in get_attention_status() local 211 struct slot *slot = get_slot(hotplug_slot); in get_latch_status() local [all …]
|
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() argument 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 192 struct slot *slot; in cpci_hp_register_bus() local 244 struct slot *slot; in cpci_hp_unregister_bus() local 297 struct slot *slot; in init_slots() local 326 struct slot *slot; in check_slots() local [all …]
|
A D | rpaphp_slot.c | 22 void dealloc_slot_struct(struct slot *slot) in dealloc_slot_struct() argument 26 kfree(slot); in dealloc_slot_struct() 32 struct slot *slot; in alloc_slot_struct() local 34 slot = kzalloc(sizeof(struct slot), GFP_KERNEL); in alloc_slot_struct() 35 if (!slot) in alloc_slot_struct() 48 kfree(slot); in alloc_slot_struct() 53 static int is_registered(struct slot *slot) in is_registered() argument 64 int rpaphp_deregister_slot(struct slot *slot) in rpaphp_deregister_slot() argument 81 int rpaphp_register_slot(struct slot *slot) in rpaphp_register_slot() argument 90 __func__, slot->dn, slot->index, slot->name, in rpaphp_register_slot() [all …]
|
A D | cpci_hotplug.h | 48 u8 (*get_power)(struct slot *slot); 49 int (*set_power)(struct slot *slot, int value); 86 u8 cpci_get_latch_status(struct slot *slot); 87 u8 cpci_get_adapter_status(struct slot *slot); 88 u16 cpci_get_hs_csr(struct slot *slot); 91 int cpci_check_ext(struct slot *slot); 92 int cpci_clear_ext(struct slot *slot); 93 int cpci_led_on(struct slot *slot); 94 int cpci_led_off(struct slot *slot); 95 int cpci_configure_slot(struct slot *slot); [all …]
|
A D | acpiphp_core.c | 121 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 138 struct slot *slot = to_slot(hotplug_slot); in disable_slot() local 182 struct slot *slot = to_slot(hotplug_slot); in get_power_status() local 228 struct slot *slot = to_slot(hotplug_slot); in get_latch_status() local 248 struct slot *slot = to_slot(hotplug_slot); in get_adapter_status() local 261 struct slot *slot; in acpiphp_register_hotplug_slot() local 265 slot = kzalloc(sizeof(*slot), GFP_KERNEL); in acpiphp_register_hotplug_slot() 266 if (!slot) in acpiphp_register_hotplug_slot() 273 acpiphp_slot->slot = slot; in acpiphp_register_hotplug_slot() 290 kfree(slot); in acpiphp_register_hotplug_slot() [all …]
|
A D | pci_hotplug_core.c | 98 retval = slot->ops->disable_slot(slot); in power_write_file() 103 retval = slot->ops->enable_slot(slot); in power_write_file() 220 retval = slot->ops->hardware_test(slot, test); in test_write_file() 238 if ((!slot) || (!slot->ops)) in has_power_file() 251 if ((!slot) || (!slot->ops)) in has_attention_file() 263 if ((!slot) || (!slot->ops)) in has_latch_file() 274 if ((!slot) || (!slot->ops)) in has_adapter_file() 285 if ((!slot) || (!slot->ops)) in has_test_file() 384 return slot; in get_slot_from_name() 444 if (slot == NULL) in __pci_hp_initialize() [all …]
|
A D | shpchp.h | 63 struct slot { struct 160 int shpchp_sysfs_enable_slot(struct slot *slot); 161 int shpchp_sysfs_disable_slot(struct slot *slot); 217 struct slot *slot; in shpchp_find_slot() local 304 int (*power_on_slot)(struct slot *slot); 305 int (*slot_enable)(struct slot *slot); 306 int (*slot_disable)(struct slot *slot); 316 int (*query_power_fault)(struct slot *slot); 317 void (*green_led_on)(struct slot *slot); 318 void (*green_led_off)(struct slot *slot); [all …]
|
A D | rpaphp_core.c | 55 struct slot *slot = to_slot(hotplug_slot); in set_attention_status() local 82 struct slot *slot = to_slot(hotplug_slot); in get_power_status() local 97 struct slot *slot = to_slot(hotplug_slot); in get_attention_status() local 104 struct slot *slot = to_slot(hotplug_slot); in get_adapter_status() local 334 struct slot *slot; in rpaphp_drc_info_add_slot() local 359 if (!slot) in rpaphp_drc_info_add_slot() 375 struct slot *slot; in rpaphp_drc_add_slot() local 450 struct slot *slot, *next; in cleanup_slots() local 484 struct slot *slot = to_slot(hotplug_slot); in enable_slot() local 510 slot->bus->max_bus_speed = get_max_bus_speed(slot); in enable_slot() [all …]
|
A D | acpiphp_glue.c | 164 kfree(slot); in free_bridge() 232 struct acpiphp_slot *slot; in acpiphp_add_context() local 282 if (!slot) { in acpiphp_add_context() 290 slot->device = device; in acpiphp_add_context() 317 slot->slot = NULL; in acpiphp_add_context() 328 newfunc->slot = slot; in acpiphp_add_context() 353 if (slot->slot) in cleanup_bridge() 432 return pci_scan_slot(slot->bus, PCI_DEVFN(slot->device, 0)); in acpiphp_rescan_slot() 715 disable_slot(slot); in acpiphp_check_bridge() 778 struct acpiphp_slot *slot = func->slot; in hotplug_event() local [all …]
|
A D | rpaphp_pci.c | 21 int rpaphp_get_sensor_state(struct slot *slot, int *state) in rpaphp_get_sensor_state() argument 40 __func__, slot->name, rc); in rpaphp_get_sensor_state() 43 slot->index, state); in rpaphp_get_sensor_state() 61 int rpaphp_enable_slot(struct slot *slot) in rpaphp_enable_slot() argument 66 slot->state = EMPTY; in rpaphp_enable_slot() 84 slot->bus = bus; in rpaphp_enable_slot() 85 slot->pci_devs = &bus->devices; in rpaphp_enable_slot() 89 slot->state = NOT_CONFIGURED; in rpaphp_enable_slot() 92 if (!slot->dn->child) { in rpaphp_enable_slot() 94 __func__, slot->name); in rpaphp_enable_slot() [all …]
|
/linux/drivers/mmc/host/ |
A D | cb710-mmc.c | 56 dev_dbg(cb710_slot_dev(slot), in cb710_mmc_select_clock_divider() 120 dev_dbg(cb710_slot_dev(slot), in cb710_check_event() 128 dev_dbg(cb710_slot_dev(slot), in cb710_check_event() 170 dev_dbg(cb710_slot_dev(slot), in cb710_wait_for_event() 203 dev_dbg(cb710_slot_dev(slot), in cb710_wait_while_busy() 236 dev_dbg(cb710_slot_dev(slot), in cb710_mmc_fifo_hack() 239 dev_dbg(cb710_slot_dev(slot), in cb710_mmc_fifo_hack() 281 cb710_mmc_fifo_hack(slot); in cb710_mmc_receive() 464 cb710_mmc_reset_events(slot); in cb710_mmc_command() 575 cb710_mmc_powerdown(slot); in cb710_mmc_set_ios() [all …]
|
A D | sdhci-pci-core.c | 55 if (slot) { in sdhci_pci_init_wakeup() 80 if (!slot) in sdhci_pci_suspend_host() 83 host = slot->host; in sdhci_pci_suspend_host() 111 if (!slot) in sdhci_pci_resume_host() 156 if (!slot) in sdhci_pci_runtime_suspend_host() 185 if (!slot) in sdhci_pci_runtime_resume_host() 261 slot->host->caps = in ricoh_mmc_probe_slot() 837 slot->chip->slots[mmc->slotno] = slot; in byt_probe_slot() 2114 return slot; in sdhci_pci_probe_slot() 2138 if (slot->chip->fixes && slot->chip->fixes->remove_slot) in sdhci_pci_remove_slot() [all …]
|
A D | cavium.c | 240 if (!slot->clock) in set_wdog() 247 writeq(timeout, slot->host->base + MIO_EMM_WDOG(slot->host)); in set_wdog() 890 set_wdog(slot, 0); in cvm_mmc_set_ios() 924 cvm_mmc_set_clock(slot, slot->mmc->f_min); in cvm_mmc_init_lowlevel() 943 set_wdog(slot, 0); in cvm_mmc_init_lowlevel() 963 if (id >= CAVIUM_MAX_MMC || slot->host->slot[id]) { in cvm_mmc_of_parse() 1020 slot->mmc = mmc; in cvm_mmc_of_slot_probe() 1021 slot->host = host; in cvm_mmc_of_slot_probe() 1060 host->slot[id] = slot; in cvm_mmc_of_slot_probe() 1068 slot->host->slot[id] = NULL; in cvm_mmc_of_slot_probe() [all …]
|
/linux/drivers/pci/ |
A D | slot.c | 73 slot->number, pci_slot_name(slot)); in pci_slot_release() 83 kfree(slot); in pci_slot_release() 169 dev->slot = slot; in pci_dev_assign_slot() 244 if (slot) { in pci_create_slot() 257 slot = kzalloc(sizeof(*slot), GFP_KERNEL); in pci_create_slot() 258 if (!slot) { in pci_create_slot() 271 kfree(slot); in pci_create_slot() 288 dev->slot = slot; in pci_create_slot() 297 return slot; in pci_create_slot() 315 slot->number, kref_read(&slot->kobj.kref) - 1); in pci_destroy_slot() [all …]
|
/linux/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cptlf.c | 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() 47 for (slot = 0; slot < lfs->lfs_num; slot++) in cptlf_set_done_num_wait() 97 for (slot = 0; slot < lfs->lfs_num; slot++) { in cptlf_set_grp_and_pri() 149 for (slot = 0; slot < lfs->lfs_num; slot++) in cptlf_set_misc_intrs() 159 for (slot = 0; slot < lfs->lfs_num; slot++) in cptlf_enable_intrs() 170 for (slot = 0; slot < lfs->lfs_num; slot++) in cptlf_disable_intrs() 329 for (slot = 0; slot < lfs->lfs_num; slot++) { in otx2_cptlf_free_irqs_affinity() 343 for (slot = 0; slot < lfs->lfs_num; slot++) { in otx2_cptlf_set_irqs_affinity() 379 for (slot = 0; slot < lfs->lfs_num; slot++) { in otx2_cptlf_init() [all …]
|
/linux/fs/btrfs/ |
A D | tree-checker.c | 172 if (slot == 0) in check_prev_ino() 318 if (slot > 0 && in check_extent_data_item() 385 int slot) in check_inode_key() argument 437 int slot) in check_root_key() argument 482 int slot) in check_dir_item() argument 719 int slot = -1; in chunk_err() local 732 slot = i; in chunk_err() 1613 int slot; in check_leaf() local 1668 for (slot = 0; slot < nritems; slot++) { in check_leaf() 1761 int slot; in btrfs_check_node() local [all …]
|
/linux/drivers/pcmcia/ |
A D | vrc4171_card.c | 225 unsigned int slot; in pccard_init() local 232 slot = sock->sock; in pccard_init() 243 unsigned int slot; in pccard_get_status() local 250 slot = sock->sock; in pccard_get_status() 308 unsigned int slot; in pccard_set_socket() local 316 slot = sock->sock; in pccard_set_socket() 369 unsigned int slot; in pccard_set_io_map() local 558 int slot, retval; in vrc4171_add_sockets() local 560 for (slot = 0; slot < CARD_MAX_SLOTS; slot++) { in vrc4171_add_sockets() 608 int slot; in vrc4171_remove_sockets() local [all …]
|
/linux/block/ |
A D | blk-crypto-profile.c | 76 unsigned int slot; in blk_crypto_profile_init() local 98 for (slot = 0; slot < num_slots; slot++) { in blk_crypto_profile_init() 203 if (!slot) in blk_crypto_find_and_grab_keyslot() 209 return slot; in blk_crypto_find_and_grab_keyslot() 220 return slot - slot->profile->slots; in blk_crypto_keyslot_index() 261 if (slot) in blk_crypto_get_keyslot() 267 if (slot) { in blk_crypto_get_keyslot() 296 if (slot->key) in blk_crypto_get_keyslot() 323 if (!slot) in blk_crypto_put_keyslot() 391 if (!slot) in __blk_crypto_evict_key() [all …]
|
/linux/arch/x86/kernel/ |
A D | early-quirks.c | 129 d = read_pci_config(num, slot, func, 0x8); in ati_ixp4x0_rev() 142 d = ati_ixp4x0_rev(num, slot, func); in ati_bugs() 164 d = read_pci_config(num, slot, func, 0x8); in ati_sbx00_rev() 174 rev = ati_sbx00_rev(num, slot, func); in ati_bugs_contd() 644 bus, slot, func); in apple_airport_reset() 656 bus, slot, func); in apple_airport_reset() 685 void (*f)(int num, int slot, int func); 762 early_qrk[i].f(num, slot, func); in check_dev_quirk() 784 int slot, func; in early_pci_scan_bus() local 787 for (slot = 0; slot < 32; slot++) in early_pci_scan_bus() [all …]
|
A D | aperture_64.c | 179 bus, slot, func); in read_agp() 236 int bus, slot, func; in search_agp_bridge() local 240 for (slot = 0; slot < 32; slot++) { in search_agp_bridge() 253 cap = find_cap(bus, slot, func, in search_agp_bridge() 301 int i, fix, slot, valid_agp = 0; in early_gart_iommu_check() local 325 for (slot = dev_base; slot < dev_limit; slot++) { in early_gart_iommu_check() 381 for (slot = dev_base; slot < dev_limit; slot++) { in early_gart_iommu_check() 400 int fix, slot, valid_agp = 0; in gart_iommu_hole_init() local 426 for (slot = dev_base; slot < dev_limit; slot++) { in gart_iommu_hole_init() 434 ctl = read_pci_config(bus, slot, 3, in gart_iommu_hole_init() [all …]
|
/linux/drivers/xen/xen-pciback/ |
A D | vpci.c | 103 for (slot = 0; slot < PCI_SLOT_MAX; slot++) { in __xen_pcibk_add_pci_dev() 114 slot, func); in __xen_pcibk_add_pci_dev() 123 for (slot = 0; slot < PCI_SLOT_MAX; slot++) { in __xen_pcibk_add_pci_dev() 126 slot); in __xen_pcibk_add_pci_dev() 153 int slot; in __xen_pcibk_release_pci_dev() local 159 for (slot = 0; slot < PCI_SLOT_MAX; slot++) { in __xen_pcibk_release_pci_dev() 186 int slot; in __xen_pcibk_init_devices() local 195 for (slot = 0; slot < PCI_SLOT_MAX; slot++) in __xen_pcibk_init_devices() 212 int slot; in __xen_pcibk_release_devices() local 215 for (slot = 0; slot < PCI_SLOT_MAX; slot++) { in __xen_pcibk_release_devices() [all …]
|
/linux/drivers/media/dvb-core/ |
A D | dvb_ca_en50221.c | 1031 int slot; in dvb_ca_en50221_thread_update_delay() local 1037 for (slot = 0; slot < ca->slot_count; slot++) { in dvb_ca_en50221_thread_update_delay() 1298 int slot; in dvb_ca_en50221_thread() local 1317 for (slot = 0; slot < ca->slot_count; slot++) in dvb_ca_en50221_thread() 1344 int slot; in dvb_ca_en50221_io_do_ioctl() local 1353 for (slot = 0; slot < ca->slot_count; slot++) { in dvb_ca_en50221_io_do_ioctl() 1385 if ((slot >= ca->slot_count) || (slot < 0)) { in dvb_ca_en50221_io_do_ioctl() 1389 slot = array_index_nospec(slot, ca->slot_count); in dvb_ca_en50221_io_do_ioctl() 1472 slot = array_index_nospec(slot, ca->slot_count); in dvb_ca_en50221_io_write() 1541 int slot; in dvb_ca_en50221_io_read_condition() local [all …]
|
/linux/include/linux/ |
A D | pci_hotplug.h | 39 int (*enable_slot) (struct hotplug_slot *slot); 40 int (*disable_slot) (struct hotplug_slot *slot); 42 int (*hardware_test) (struct hotplug_slot *slot, u32 value); 47 int (*reset_slot) (struct hotplug_slot *slot, bool probe); 70 return pci_slot_name(slot->pci_slot); in hotplug_slot_name() 79 int pci_hp_add(struct hotplug_slot *slot); 81 void pci_hp_del(struct hotplug_slot *slot); 82 void pci_hp_destroy(struct hotplug_slot *slot); 83 void pci_hp_deregister(struct hotplug_slot *slot); 86 #define pci_hp_register(slot, pbus, devnr, name) \ argument [all …]
|
/linux/net/sched/ |
A D | sch_sfq.c | 212 slot->dep.next = n; in sfq_link() 213 slot->dep.prev = p; in sfq_link() 280 memset(slot, 0, sizeof(*slot)); in slot_queue_init() 281 slot->skblist_prev = slot->skblist_next = (struct sk_buff *)slot; in slot_queue_init() 380 &slot->vars, in sfq_enqueue() 383 &slot->vars, in sfq_enqueue() 448 slot->next = x; in sfq_enqueue() 457 q->tail = slot; in sfq_enqueue() 495 q->tail = slot; in sfq_dequeue() 549 if (!slot->qlen) in sfq_rehash() [all …]
|