/linux-master/drivers/zorro/ |
H A D | proc.c | 81 unsigned int slot = *(loff_t *)v; local 82 struct zorro_dev *z = &zorro_autocon[slot]; 84 seq_printf(m, "%02x\t%08x\t%08lx\t%08lx\t%02x\n", slot, z->id, 100 static int __init zorro_proc_attach_device(unsigned int slot) argument 105 sprintf(name, "%02x", slot); 108 &zorro_autocon[slot]); 117 unsigned int slot; local 123 for (slot = 0; slot < zorro_num_autocon; slot [all...] |
/linux-master/include/uapi/linux/ |
H A D | pci.h | 25 * devices. The slot/function address of each device is encoded 28 * 7:3 = slot 31 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07))
|
/linux-master/net/sched/ |
H A D | sch_sfq.c | 104 sfq_index next; /* next slot in sfq RR chain */ 107 short allot; /* credit for this slot */ 121 u8 cur_depth; /* depth of longest slot */ 131 struct sfq_slot *tail; /* current slot in round */ 201 * x : slot number [0 .. SFQ_MAX_FLOWS - 1] 206 struct sfq_slot *slot = &q->slots[x]; local 207 int qlen = slot->qlen; 212 slot->dep.next = n; 213 slot->dep.prev = p; 256 /* remove one skb from tail of slot queu 257 slot_dequeue_tail(struct sfq_slot *slot) argument 268 slot_dequeue_head(struct sfq_slot *slot) argument 278 slot_queue_init(struct sfq_slot *slot) argument 285 slot_queue_add(struct sfq_slot *slot, struct sk_buff *skb) argument 299 struct sfq_slot *slot; local 351 struct sfq_slot *slot; local 485 struct sfq_slot *slot; local 540 struct sfq_slot *slot; local 874 const struct sfq_slot *slot = &q->slots[idx]; local [all...] |
/linux-master/drivers/acpi/ |
H A D | pci_slot.c | 50 pr_debug("Checking slot on path: %s\n", (char *)buffer.pointer); 66 /* No _SUN == not a slot == bail */ 81 * Check whether handle has an associated slot and create PCI slot if it has. 89 struct acpi_pci_slot *slot; local 98 * There may be multiple PCI functions associated with the same slot. 99 * Check whether PCI slot has already been created for this PCI device. 101 list_for_each_entry(slot, &slot_list, list) { 102 pci_slot = slot->pci_slot; 107 slot 144 struct acpi_pci_slot *slot, *tmp; local [all...] |
/linux-master/drivers/pci/hotplug/ |
H A D | acpiphp_glue.c | 153 struct acpiphp_slot *slot, *next; local 160 list_for_each_entry_safe(slot, next, &bridge->slots, node) { 161 list_for_each_entry_safe(func, tmp, &slot->funcs, sibling) 164 kfree(slot); 198 bus = context->func.slot->bus; 203 * secondary bridge on slot 232 struct acpiphp_slot *slot; local 277 /* search for objects that share the same slot */ 278 list_for_each_entry(slot, &bridge->slots, node) 279 if (slot 341 struct acpiphp_slot *slot; local 394 acpiphp_set_acpi_region(struct acpiphp_slot *slot) argument 406 check_hotplug_bridge(struct acpiphp_slot *slot, struct pci_dev *dev) argument 430 acpiphp_rescan_slot(struct acpiphp_slot *slot) argument 482 enable_slot(struct acpiphp_slot *slot, bool bridge) argument 553 disable_slot(struct acpiphp_slot *slot) argument 575 slot_no_hotplug(struct acpiphp_slot *slot) argument 599 get_slot_status(struct acpiphp_slot *slot) argument 699 struct acpiphp_slot *slot; local 787 struct acpiphp_slot *slot = func->slot; local 983 acpiphp_enable_slot(struct acpiphp_slot *slot) argument 1004 acpiphp_disable_and_eject_slot(struct acpiphp_slot *slot) argument 1027 acpiphp_disable_slot(struct acpiphp_slot *slot) argument 1047 acpiphp_get_power_status(struct acpiphp_slot *slot) argument 1056 acpiphp_get_latch_status(struct acpiphp_slot *slot) argument 1065 acpiphp_get_adapter_status(struct acpiphp_slot *slot) argument [all...] |
H A D | cpqphp_core.c | 66 static inline int is_slot64bit(struct slot *slot) argument 68 return (readb(slot->p_sm_slot + SMBIOS_SLOT_WIDTH) == 0x06) ? 1 : 0; 71 static inline int is_slot66mhz(struct slot *slot) argument 73 return (readb(slot->p_sm_slot + SMBIOS_SLOT_TYPE) == 0x0E) ? 1 : 0; 115 * init_SERR - Initializes the per slot SERR generation. 168 dbg("bus dev func slot\n"); 172 tslot = cpqhp_routing_table->slots[loop].slot; 268 struct slot *old_slo 307 get_slot_mapping(struct pci_bus *bus, u8 bus_num, u8 dev_num, u8 *slot) argument 418 struct slot *slot = to_slot(hotplug_slot); local 445 struct slot *slot = to_slot(hotplug_slot); local 477 struct slot *slot = to_slot(hotplug_slot); local 504 struct slot *slot = to_slot(hotplug_slot); local 515 struct slot *slot = to_slot(hotplug_slot); local 526 struct slot *slot = to_slot(hotplug_slot); local 537 struct slot *slot = to_slot(hotplug_slot); local 549 struct slot *slot = to_slot(hotplug_slot); local 576 struct slot *slot; local [all...] |
/linux-master/drivers/mmc/host/ |
H A D | cavium.c | 23 #include <linux/mmc/slot-gpio.h> 207 * Modes setting only taken from slot 0. Work around that hardware 208 * issue by first switching to slot 0. 228 static bool switch_val_changed(struct cvm_mmc_slot *slot, u64 new_val) argument 233 return (slot->cached_switch & match) != (new_val & match); 236 static void set_wdog(struct cvm_mmc_slot *slot, unsigned int ns) argument 240 if (!slot->clock) 244 timeout = (slot->clock * ns) / NSEC_PER_SEC; 246 timeout = (slot->clock * 850ull) / 1000ull; 247 writeq(timeout, slot 250 cvm_mmc_reset_bus(struct cvm_mmc_slot *slot) argument 271 cvm_mmc_switch_to(struct cvm_mmc_slot *slot) argument 627 struct cvm_mmc_slot *slot = mmc_priv(mmc); local 652 struct cvm_mmc_slot *slot = mmc_priv(mmc); local 752 struct cvm_mmc_slot *slot = mmc_priv(mmc); local 824 struct cvm_mmc_slot *slot = mmc_priv(mmc); local 904 cvm_mmc_set_clock(struct cvm_mmc_slot *slot, unsigned int clock) argument 913 cvm_mmc_init_lowlevel(struct cvm_mmc_slot *slot) argument 949 cvm_mmc_of_parse(struct device *dev, struct cvm_mmc_slot *slot) argument 1011 struct cvm_mmc_slot *slot; local 1078 cvm_mmc_of_slot_remove(struct cvm_mmc_slot *slot) argument [all...] |
H A D | sdhci-pci-core.c | 32 #include <linux/mmc/slot-gpio.h> 54 struct sdhci_pci_slot *slot = chip->slots[i]; local 56 if (slot) { 57 pm_flags |= slot->host->mmc->pm_flags; 58 if (slot->host->mmc->caps & MMC_CAP_CD_WAKE) 78 struct sdhci_pci_slot *slot = chip->slots[i]; local 81 if (!slot) 84 host = slot->host; 107 struct sdhci_pci_slot *slot; local 111 slot 151 struct sdhci_pci_slot *slot; local 181 struct sdhci_pci_slot *slot; local 252 ricoh_mmc_probe_slot(struct sdhci_pci_slot *slot) argument 310 ene_714_probe_slot(struct sdhci_pci_slot *slot) argument 338 mrst_hc_probe_slot(struct sdhci_pci_slot *slot) argument 358 pch_hc_probe_slot(struct sdhci_pci_slot *slot) argument 364 mfd_emmc_probe_slot(struct sdhci_pci_slot *slot) argument 371 mfd_sdio_probe_slot(struct sdhci_pci_slot *slot) argument 560 struct sdhci_pci_slot *slot = sdhci_priv(host); local 590 struct sdhci_pci_slot *slot = sdhci_priv(host); local 659 struct sdhci_pci_slot *slot = sdhci_priv(host); local 708 byt_read_dsm(struct sdhci_pci_slot *slot) argument 745 intel_cache_ltr(struct sdhci_pci_slot *slot) argument 757 struct sdhci_pci_slot *slot = chip->slots[0]; local 838 byt_probe_slot(struct sdhci_pci_slot *slot) argument 859 byt_add_debugfs(struct sdhci_pci_slot *slot) argument 874 byt_add_host(struct sdhci_pci_slot *slot) argument 883 byt_remove_slot(struct sdhci_pci_slot *slot, int dead) argument 891 byt_emmc_probe_slot(struct sdhci_pci_slot *slot) argument 906 glk_broken_cqhci(struct sdhci_pci_slot *slot) argument 913 jsl_broken_hs400es(struct sdhci_pci_slot *slot) argument 919 glk_emmc_probe_slot(struct sdhci_pci_slot *slot) argument 944 glk_emmc_add_host(struct sdhci_pci_slot *slot) argument 995 struct sdhci_pci_slot *slot = chip->slots[0]; local 1059 ni_set_max_freq(struct sdhci_pci_slot *slot) argument 1077 ni_set_max_freq(struct sdhci_pci_slot *slot) argument 1083 ni_byt_sdio_probe_slot(struct sdhci_pci_slot *slot) argument 1098 byt_sdio_probe_slot(struct sdhci_pci_slot *slot) argument 1106 byt_needs_pwr_off(struct sdhci_pci_slot *slot) argument 1114 byt_sd_probe_slot(struct sdhci_pci_slot *slot) argument 1266 intel_mrfld_mmc_fix_up_power_slot(struct sdhci_pci_slot *slot) argument 1275 intel_mrfld_mmc_fix_up_power_slot(struct sdhci_pci_slot *slot) argument 1278 intel_mrfld_mmc_probe_slot(struct sdhci_pci_slot *slot) argument 1425 jmicron_probe_slot(struct sdhci_pci_slot *slot) argument 1465 jmicron_remove_slot(struct sdhci_pci_slot *slot, int dead) argument 1553 syskt_probe_slot(struct sdhci_pci_slot *slot) argument 1604 rtsx_probe_slot(struct sdhci_pci_slot *slot) argument 1668 struct sdhci_pci_slot *slot = sdhci_priv(host); local 1717 amd_probe_slot(struct sdhci_pci_slot *slot) argument 1763 struct sdhci_pci_slot *slot = sdhci_priv(host); local 1928 struct sdhci_pci_slot *slot; local 1948 struct sdhci_pci_slot *slot = sdhci_priv(host); local 2041 struct sdhci_pci_slot *slot; local 2154 sdhci_pci_remove_slot(struct sdhci_pci_slot *slot) argument 2192 struct sdhci_pci_slot *slot; local [all...] |
/linux-master/arch/sh/mm/ |
H A D | ioremap_fixed.c | 54 int i, slot; local 63 slot = -1; 68 slot = i; 73 if (slot < 0) 86 idx0 = FIX_IOREMAP_BEGIN + slot; 105 int i, slot; local 107 slot = -1; 111 slot = i; 119 if (slot < 0) 124 idx = FIX_IOREMAP_BEGIN + slot [all...] |
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptlf.h | 91 u8 slot; /* Slot number of this LF */ member in struct:otx2_cptlf_info 123 int global_slot; /* Global slot across the blocks */ 186 int slot; local 188 for (slot = 0; slot < lfs->lfs_num; slot++) { 189 lf_q_base.u = lfs->lf[slot].iqueue.dma_addr; 190 otx2_cpt_write64(lfs->reg_base, lfs->blkaddr, slot, 201 otx2_cpt_write64(lf->lfs->reg_base, lf->lfs->blkaddr, lf->slot, 207 int slot; local 227 u64 slot = lf->slot; local 272 int slot; local 340 int slot; local [all...] |
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | hash_hugepage.c | 30 unsigned long vpn, hash, shift, slot; local 70 * Find the slot index details for this ea, using base page size. 88 * With THP, we also clear the slot information with 91 * don't find the slot valid when we fault with 4k 106 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; 107 slot += hidx & _PTEIDX_GROUP_IX; 109 ret = mmu_hash_ops.hpte_updatepp(slot, rflags, vpn, 136 /* Insert into the hash table, primary slot */ 137 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, 142 if (unlikely(slot [all...] |
/linux-master/mm/ |
H A D | early_ioremap.c | 106 int i, slot; local 110 slot = -1; 113 slot = i; 118 if (WARN(slot < 0, "%s(%pa, %08lx) not found slot\n", 127 prev_size[slot] = size; 145 idx = FIX_BTMAP_BEGIN - NR_FIX_BTMAPS*slot; 156 __func__, &phys_addr, size, slot, offset, slot_virt[slot]); 158 prev_map[slot] 168 int i, slot; local [all...] |
H A D | percpu-stats.c | 36 int slot, max_nr_alloc; local 39 for (slot = 0; slot < pcpu_nr_slots; slot++) 40 list_for_each_entry(chunk, &pcpu_chunk_lists[slot], list) 138 int slot, max_nr_alloc; local 205 for (slot = 0; slot < pcpu_nr_slots; slot++) { 206 list_for_each_entry(chunk, &pcpu_chunk_lists[slot], lis [all...] |
/linux-master/drivers/mmc/core/ |
H A D | slot-gpio.c | 13 #include <linux/mmc/slot-gpio.h> 17 #include "slot-gpio.h" 33 struct mmc_gpio *ctx = host->slot.handler_priv; 58 host->slot.handler_priv = ctx; 59 host->slot.cd_irq = -EINVAL; 66 struct mmc_gpio *ctx = host->slot.handler_priv; 77 struct mmc_gpio *ctx = host->slot.handler_priv; 92 struct mmc_gpio *ctx = host->slot.handler_priv; 107 struct mmc_gpio *ctx = host->slot.handler_priv; 111 if (host->slot [all...] |
/linux-master/arch/x86/pci/ |
H A D | broadcom_bus.c | 18 static void __init cnb20le_res(u8 bus, u8 slot, u8 func) argument 27 fbus = read_pci_config_byte(bus, slot, func, 0x44); 28 lbus = read_pci_config_byte(bus, slot, func, 0x45); 46 word1 = read_pci_config_16(bus, slot, func, 0xc0); 47 word2 = read_pci_config_16(bus, slot, func, 0xc2); 56 word1 = read_pci_config_16(bus, slot, func, 0xc4); 57 word2 = read_pci_config_16(bus, slot, func, 0xc6); 66 word1 = read_pci_config_16(bus, slot, func, 0xd0); 67 word2 = read_pci_config_16(bus, slot, func, 0xd2); 87 u8 bus = 0, slot local [all...] |
/linux-master/fs/ocfs2/ |
H A D | sysfile.c | 28 u32 slot); 42 u32 slot) 47 BUG_ON(slot == OCFS2_INVALID_SLOT); 82 index = (slot * NUM_LOCAL_SYSTEM_INODES) + 90 u32 slot) 99 arr = get_local_system_inode(osb, type, slot); 112 inode = _ocfs2_get_system_file_inode(osb, type, slot); 125 u32 slot) 134 type, slot); 40 get_local_system_inode(struct ocfs2_super *osb, int type, u32 slot) argument 88 ocfs2_get_system_file_inode(struct ocfs2_super *osb, int type, u32 slot) argument 123 _ocfs2_get_system_file_inode(struct ocfs2_super *osb, int type, u32 slot) argument
|
/linux-master/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) argument 33 dprintk(MANTIS_DEBUG, 1, "Slot(%d): Request Attribute Mem Read", slot); 35 if (slot != 0) 41 static int mantis_ca_write_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr, u8 data) argument 46 dprintk(MANTIS_DEBUG, 1, "Slot(%d): Request Attribute Mem Write", slot); 48 if (slot != 0) 54 static int mantis_ca_read_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr) argument 59 dprintk(MANTIS_DEBUG, 1, "Slot(%d): Request CAM control Read", slot); 61 if (slot != 0) 67 static int mantis_ca_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u argument 80 mantis_ca_slot_reset(struct dvb_ca_en50221 *en50221, int slot) argument 96 mantis_ca_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) argument 106 mantis_ts_control(struct dvb_ca_en50221 *en50221, int slot) argument 116 mantis_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open) argument [all...] |
/linux-master/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) argument 257 if (mixer == NULL || slot > 30) 260 pslot = &mixer->slots[slot]; 280 int slot, int volume) 286 if (mixer == NULL || slot > 30) 289 pslot = &mixer->slots[slot]; 448 static void snd_mixer_oss_recsrce_set(struct snd_card *card, int slot) 452 mixer->mask_recsrc |= 1 << slot; 455 static int snd_mixer_oss_recsrce_get(struct snd_card *card, int slot) 458 if (mixer && (mixer->mask_recsrc & (1 << slot))) 279 snd_mixer_oss_set_volume(struct snd_mixer_oss_file *fmixer, int slot, int volume) argument 492 struct slot { struct 586 struct slot *slot = pslot->private_data; local 689 struct slot *slot = pslot->private_data; local 738 struct slot *slot = pslot->private_data; local 751 struct slot *slot = pslot->private_data; local 764 struct slot *slot = pslot->private_data; local 774 struct slot *slot = pslot->private_data; local 786 struct slot *slot; local 828 struct slot *slot = NULL; local 874 snd_mixer_oss_build_test(struct snd_mixer_oss *mixer, struct slot *slot, const char *name, int index, int item) argument 922 snd_mixer_oss_build_test_all(struct snd_mixer_oss *mixer, const struct snd_mixer_oss_assign_table *ptr, struct slot *slot) argument 991 struct slot slot; local 1136 struct slot *slot; local [all...] |
/linux-master/lib/ |
H A D | assoc_array.c | 29 int slot, ret; local 41 slot = 0; 51 for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) { 52 ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ 70 * We are guaranteed to make progress, however, as the slot number for 76 slot = 0; 80 for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) { 81 ptr = READ_ONCE(node->slots[slot]); /* Addres 155 int slot; member in struct:assoc_array_walk_result::__anon1333 181 int slot; local 312 int slot; local 349 int slot = -1; local 486 int slot, next_slot, free_slot, i, j; local 1039 int slot; member in struct:assoc_array_delete_collapse_context 1088 int slot, i; local 1465 int keylen, slot, nr_free, next_slot, i; local [all...] |
/linux-master/drivers/pci/controller/ |
H A D | pcie-mt7621.c | 75 * @slot: port slot 86 u32 slot; member in struct:mt7621_pcie_port 200 int slot) 212 port->base = devm_platform_ioremap_resource(pdev, slot + 1); 218 dev_err(dev, "failed to get pcie%d clock\n", slot); 224 dev_err(dev, "failed to get pcie%d reset control\n", slot); 228 snprintf(name, sizeof(name), "pcie-phy%d", slot); 231 dev_err(dev, "failed to get pcie-phy%d\n", slot); 236 port->gpio_rst = devm_gpiod_get_index_optional(dev, "reset", slot, 198 mt7621_pcie_parse_port(struct mt7621_pcie *pcie, struct device_node *node, int slot) argument 269 int slot; local 294 u32 slot = port->slot; local 359 u32 slot = port->slot; local 378 u32 slot = port->slot; local 403 u32 slot = port->slot; local [all...] |
/linux-master/include/linux/ |
H A D | blk-crypto-profile.h | 27 * Program @key into the specified @slot in the inline encryption 39 unsigned int slot); 45 * specified @slot. The slot will contain @key, but there should be no 46 * need for the @key argument to be used as @slot should be sufficient. 50 * @key from any underlying devices. @slot won't be valid in this case. 59 unsigned int slot); 116 /* List of idle slots, with least recently used slot at front */ 140 unsigned int blk_crypto_keyslot_index(struct blk_crypto_keyslot *slot);
|
H A D | of_pci.h | 32 int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin); 35 of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin) argument
|
/linux-master/arch/x86/kvm/mmu/ |
H A D | tdp_mmu.h | 37 const struct kvm_memory_slot *slot, int min_level); 39 const struct kvm_memory_slot *slot); 41 struct kvm_memory_slot *slot, 45 const struct kvm_memory_slot *slot); 48 struct kvm_memory_slot *slot, gfn_t gfn, 52 const struct kvm_memory_slot *slot,
|
/linux-master/arch/sh/drivers/pci/ |
H A D | fixups-sdk7780.c | 37 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument 39 return sdk7780_irq_tab[pin-1][slot];
|
/linux-master/include/linux/mfd/ |
H A D | menelaus.h | 18 extern int menelaus_set_mmc_opendrain(int slot, int enable); 19 extern int menelaus_set_mmc_slot(int slot, int enable, int power, int cd_on);
|