slot              121 arch/alpha/kernel/pci_impl.h    if (slot >= min_idsel && slot <= max_idsel && pin < irqs_per_slot)	\
slot              122 arch/alpha/kernel/pci_impl.h      _ctl_ = irq_tab[slot - min_idsel][pin];				\
slot             1132 arch/alpha/kernel/setup.c show_cpuinfo(struct seq_file *f, void *slot)
slot             1144 arch/alpha/kernel/setup.c 	struct percpu_struct *cpu = slot;
slot              186 arch/alpha/kernel/sys_alcor.c alcor_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              178 arch/alpha/kernel/sys_cabriolet.c eb66p_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              208 arch/alpha/kernel/sys_cabriolet.c cabriolet_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              292 arch/alpha/kernel/sys_cabriolet.c alphapc164_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              377 arch/alpha/kernel/sys_dp264.c dp264_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              399 arch/alpha/kernel/sys_dp264.c monet_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              431 arch/alpha/kernel/sys_dp264.c 	int slot, pin = *pinp;
slot              434 arch/alpha/kernel/sys_dp264.c 		slot = PCI_SLOT(dev->devfn);
slot              438 arch/alpha/kernel/sys_dp264.c 		slot = PCI_SLOT(dev->devfn);
slot              445 arch/alpha/kernel/sys_dp264.c 				slot = PCI_SLOT(dev->devfn);
slot              453 arch/alpha/kernel/sys_dp264.c 			slot = PCI_SLOT(dev->devfn);
slot              457 arch/alpha/kernel/sys_dp264.c 	return slot;
slot              461 arch/alpha/kernel/sys_dp264.c webbrick_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              483 arch/alpha/kernel/sys_dp264.c clipper_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              172 arch/alpha/kernel/sys_eb64p.c eb64p_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              146 arch/alpha/kernel/sys_eiger.c eiger_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              166 arch/alpha/kernel/sys_eiger.c 	int slot, pin = *pinp;
slot              181 arch/alpha/kernel/sys_eiger.c 	slot = PCI_SLOT(dev->devfn);
slot              187 arch/alpha/kernel/sys_eiger.c 			slot = PCI_SLOT(dev->devfn);
slot              197 arch/alpha/kernel/sys_eiger.c 	return slot;
slot              320 arch/alpha/kernel/sys_marvel.c marvel_map_irq(const struct pci_dev *cdev, u8 slot, u8 pin)
slot              154 arch/alpha/kernel/sys_miata.c miata_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              184 arch/alpha/kernel/sys_miata.c 	if((slot == 7) && (PCI_FUNC(dev->devfn) == 3)) {
slot              203 arch/alpha/kernel/sys_miata.c 	int slot, pin = *pinp;
slot              206 arch/alpha/kernel/sys_miata.c 		slot = PCI_SLOT(dev->devfn);
slot              211 arch/alpha/kernel/sys_miata.c 		slot = PCI_SLOT(dev->devfn) + 9;
slot              219 arch/alpha/kernel/sys_miata.c 				slot = PCI_SLOT(dev->devfn) + 9;
slot              227 arch/alpha/kernel/sys_miata.c 			slot = PCI_SLOT(dev->devfn);
slot              231 arch/alpha/kernel/sys_miata.c 	return slot;
slot              150 arch/alpha/kernel/sys_mikasa.c mikasa_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               67 arch/alpha/kernel/sys_nautilus.c nautilus_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               75 arch/alpha/kernel/sys_nautilus.c 	if (slot == 1 && pin == 2 &&
slot              198 arch/alpha/kernel/sys_noritake.c noritake_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              228 arch/alpha/kernel/sys_noritake.c 	int slot, pin = *pinp;
slot              231 arch/alpha/kernel/sys_noritake.c 		slot = PCI_SLOT(dev->devfn);
slot              235 arch/alpha/kernel/sys_noritake.c 		slot = PCI_SLOT(dev->devfn) + 15; /* WAG! */
slot              242 arch/alpha/kernel/sys_noritake.c 				slot = PCI_SLOT(dev->devfn) + 15;
slot              250 arch/alpha/kernel/sys_noritake.c 			slot = PCI_SLOT(dev->devfn);
slot              254 arch/alpha/kernel/sys_noritake.c 	return slot;
slot              226 arch/alpha/kernel/sys_rawhide.c rawhide_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              122 arch/alpha/kernel/sys_ruffian.c ruffian_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              146 arch/alpha/kernel/sys_ruffian.c 	int slot, pin = *pinp;
slot              149 arch/alpha/kernel/sys_ruffian.c 		slot = PCI_SLOT(dev->devfn);
slot              153 arch/alpha/kernel/sys_ruffian.c 		slot = PCI_SLOT(dev->devfn) + 10;
slot              160 arch/alpha/kernel/sys_ruffian.c 				slot = PCI_SLOT(dev->devfn) + 10;
slot              168 arch/alpha/kernel/sys_ruffian.c 			slot = PCI_SLOT(dev->devfn);
slot              172 arch/alpha/kernel/sys_ruffian.c 	return slot;
slot              147 arch/alpha/kernel/sys_rx164.c rx164_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              197 arch/alpha/kernel/sys_sable.c sable_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              379 arch/alpha/kernel/sys_sable.c lynx_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              411 arch/alpha/kernel/sys_sable.c 	int slot, pin = *pinp;
slot              414 arch/alpha/kernel/sys_sable.c 		slot = PCI_SLOT(dev->devfn);
slot              418 arch/alpha/kernel/sys_sable.c 		slot = PCI_SLOT(dev->devfn) + 11;
slot              425 arch/alpha/kernel/sys_sable.c 				slot = PCI_SLOT(dev->devfn) + 11;
slot              433 arch/alpha/kernel/sys_sable.c 			slot = PCI_SLOT(dev->devfn);
slot              437 arch/alpha/kernel/sys_sable.c 	return slot;
slot              165 arch/alpha/kernel/sys_sio.c noname_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              211 arch/alpha/kernel/sys_sio.c p2k_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               99 arch/alpha/kernel/sys_sx164.c sx164_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              160 arch/alpha/kernel/sys_takara.c takara_map_irq_srm(const struct pci_dev *dev, u8 slot, u8 pin)
slot              191 arch/alpha/kernel/sys_takara.c takara_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              217 arch/alpha/kernel/sys_takara.c 	int slot = PCI_SLOT(dev->devfn);
slot              223 arch/alpha/kernel/sys_takara.c 		return slot;
slot              243 arch/alpha/kernel/sys_takara.c 	return slot;
slot              308 arch/alpha/kernel/sys_titan.c titan_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              293 arch/alpha/kernel/sys_wildfire.c wildfire_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              145 arch/arm/common/it8152.c int __init it8152_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              112 arch/arm/include/asm/hardware/it8152.h extern int it8152_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
slot              326 arch/arm/include/asm/kvm_host.h void kvm_mmu_wp_memory_region(struct kvm *kvm, int slot);
slot               30 arch/arm/include/asm/mach/pci.h 	int		(*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
slot              382 arch/arm/kernel/bios32.c 	int slot, oldpin = *pin;
slot              385 arch/arm/kernel/bios32.c 		slot = sys->swizzle(dev, pin);
slot              387 arch/arm/kernel/bios32.c 		slot = pci_common_swizzle(dev, pin);
slot              391 arch/arm/kernel/bios32.c 			pci_name(dev), oldpin, *pin, slot);
slot              393 arch/arm/kernel/bios32.c 	return slot;
slot              399 arch/arm/kernel/bios32.c static int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              405 arch/arm/kernel/bios32.c 		irq = sys->map_irq(dev, slot, pin);
slot              409 arch/arm/kernel/bios32.c 			pci_name(dev), slot, pin, irq);
slot              325 arch/arm/kernel/hw_breakpoint.c 	struct perf_event **slot, **slots;
slot              347 arch/arm/kernel/hw_breakpoint.c 		slot = &slots[i];
slot              349 arch/arm/kernel/hw_breakpoint.c 		if (!*slot) {
slot              350 arch/arm/kernel/hw_breakpoint.c 			*slot = bp;
slot              382 arch/arm/kernel/hw_breakpoint.c 	struct perf_event **slot, **slots;
slot              399 arch/arm/kernel/hw_breakpoint.c 		slot = &slots[i];
slot              401 arch/arm/kernel/hw_breakpoint.c 		if (*slot == bp) {
slot              402 arch/arm/kernel/hw_breakpoint.c 			*slot = NULL;
slot               56 arch/arm/mach-cns3xxx/pcie.c 	int slot = PCI_SLOT(devfn);
slot               76 arch/arm/mach-cns3xxx/pcie.c 		if (slot == 0) /* device# is ignored by hw */
slot              128 arch/arm/mach-cns3xxx/pcie.c static int cns3xxx_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              135 arch/arm/mach-cns3xxx/pcie.c 		PCI_FUNC(dev->devfn), slot, pin, irq);
slot              174 arch/arm/mach-dove/pcie.c static int __init dove_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               25 arch/arm/mach-footbridge/cats-pci.c static int __init cats_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               19 arch/arm/mach-footbridge/ebsa285-pci.c static int __init ebsa285_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               29 arch/arm/mach-footbridge/ebsa285-pci.c 	return irqmap_ebsa285[(slot + pin) & 3];
slot               21 arch/arm/mach-footbridge/netwinder-pci.c static int __init netwinder_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               23 arch/arm/mach-footbridge/netwinder-pci.c 	switch (slot) {
slot               22 arch/arm/mach-footbridge/personal-pci.c static int __init personal_server_map_irq(const struct pci_dev *dev, u8 slot,
slot               80 arch/arm/mach-iop32x/em7210.c em7210_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               98 arch/arm/mach-iop32x/em7210.c 	return pci_irq_table[slot % 6][pin - 1];
slot               75 arch/arm/mach-iop32x/glantank.c glantank_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               90 arch/arm/mach-iop32x/glantank.c 	return pci_irq_table[slot % 4][pin - 1];
slot              101 arch/arm/mach-iop32x/iq31244.c ep80219_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              105 arch/arm/mach-iop32x/iq31244.c 	if (slot == 0) {
slot              108 arch/arm/mach-iop32x/iq31244.c 	} else if (slot == 1) {
slot              111 arch/arm/mach-iop32x/iq31244.c 	} else if (slot == 2) {
slot              114 arch/arm/mach-iop32x/iq31244.c 	} else if (slot == 3) {
slot              136 arch/arm/mach-iop32x/iq31244.c iq31244_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              140 arch/arm/mach-iop32x/iq31244.c 	if (slot == 0) {
slot              143 arch/arm/mach-iop32x/iq31244.c 	} else if (slot == 1) {
slot              146 arch/arm/mach-iop32x/iq31244.c 	} else if (slot == 2) {
slot              149 arch/arm/mach-iop32x/iq31244.c 	} else if (slot == 3) {
slot               69 arch/arm/mach-iop32x/iq80321.c iq80321_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               73 arch/arm/mach-iop32x/iq80321.c 	if ((slot == 2 || slot == 6) && pin == 1) {
slot               76 arch/arm/mach-iop32x/iq80321.c 	} else if ((slot == 2 || slot == 6) && pin == 2) {
slot               79 arch/arm/mach-iop32x/iq80321.c 	} else if ((slot == 2 || slot == 6) && pin == 3) {
slot               82 arch/arm/mach-iop32x/iq80321.c 	} else if ((slot == 2 || slot == 6) && pin == 4) {
slot               85 arch/arm/mach-iop32x/iq80321.c 	} else if (slot == 4 || slot == 8) {
slot               76 arch/arm/mach-iop32x/n2100.c static int n2100_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               47 arch/arm/mach-ixp4xx/avila-pci.c static int __init avila_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               56 arch/arm/mach-ixp4xx/avila-pci.c 	if (slot >= 1 &&
slot               57 arch/arm/mach-ixp4xx/avila-pci.c 	    slot <= (machine_is_loft() ? LOFT_MAX_DEV : AVILA_MAX_DEV) &&
slot               59 arch/arm/mach-ixp4xx/avila-pci.c 		return pci_irq_table[(slot + pin - 2) % 4];
slot               38 arch/arm/mach-ixp4xx/coyote-pci.c static int __init coyote_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               40 arch/arm/mach-ixp4xx/coyote-pci.c 	if (slot == SLOT0_DEVID)
slot               42 arch/arm/mach-ixp4xx/coyote-pci.c 	else if (slot == SLOT1_DEVID)
slot               45 arch/arm/mach-ixp4xx/dsmg600-pci.c static int __init dsmg600_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               55 arch/arm/mach-ixp4xx/dsmg600-pci.c 	if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES)
slot               56 arch/arm/mach-ixp4xx/dsmg600-pci.c 		return pci_irq_table[slot - 1][pin - 1];
slot               39 arch/arm/mach-ixp4xx/fsg-pci.c static int __init fsg_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               48 arch/arm/mach-ixp4xx/fsg-pci.c 	slot -= 11;
slot               50 arch/arm/mach-ixp4xx/fsg-pci.c 	if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES)
slot               51 arch/arm/mach-ixp4xx/fsg-pci.c 		irq = pci_irq_table[slot - 1];
slot               53 arch/arm/mach-ixp4xx/fsg-pci.c 	       __func__, slot, pin, irq);
slot               36 arch/arm/mach-ixp4xx/gateway7001-pci.c static int __init gateway7001_map_irq(const struct pci_dev *dev, u8 slot,
slot               39 arch/arm/mach-ixp4xx/gateway7001-pci.c 	if (slot == 1)
slot               41 arch/arm/mach-ixp4xx/gateway7001-pci.c 	else if (slot == 2)
slot              465 arch/arm/mach-ixp4xx/goramo_mlr.c static int __init gmlr_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              467 arch/arm/mach-ixp4xx/goramo_mlr.c 	switch(slot) {
slot               40 arch/arm/mach-ixp4xx/gtwx5715-pci.c static int __init gtwx5715_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               44 arch/arm/mach-ixp4xx/gtwx5715-pci.c 	if ((slot == SLOT0_DEVID && pin == 1) ||
slot               45 arch/arm/mach-ixp4xx/gtwx5715-pci.c 	    (slot == SLOT1_DEVID && pin == 2))
slot               47 arch/arm/mach-ixp4xx/gtwx5715-pci.c 	else if ((slot == SLOT0_DEVID && pin == 2) ||
slot               48 arch/arm/mach-ixp4xx/gtwx5715-pci.c 		 (slot == SLOT1_DEVID && pin == 1))
slot               52 arch/arm/mach-ixp4xx/gtwx5715-pci.c 	       __func__, slot, pin, rc);
slot               44 arch/arm/mach-ixp4xx/ixdp425-pci.c static int __init ixdp425_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               53 arch/arm/mach-ixp4xx/ixdp425-pci.c 	if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES)
slot               54 arch/arm/mach-ixp4xx/ixdp425-pci.c 		return pci_irq_table[(slot + pin - 2) % 4];
slot               32 arch/arm/mach-ixp4xx/ixdpg425-pci.c static int __init ixdpg425_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               34 arch/arm/mach-ixp4xx/ixdpg425-pci.c 	if (slot == 12 || slot == 13)
slot               36 arch/arm/mach-ixp4xx/ixdpg425-pci.c 	else if (slot == 14)
slot               45 arch/arm/mach-ixp4xx/miccpt-pci.c static int __init miccpt_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               54 arch/arm/mach-ixp4xx/miccpt-pci.c 	if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES)
slot               55 arch/arm/mach-ixp4xx/miccpt-pci.c 		return pci_irq_table[(slot + pin - 2) % 4];
slot               42 arch/arm/mach-ixp4xx/nas100d-pci.c static int __init nas100d_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               51 arch/arm/mach-ixp4xx/nas100d-pci.c 	if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES)
slot               52 arch/arm/mach-ixp4xx/nas100d-pci.c 		return pci_irq_table[slot - 1][pin - 1];
slot               39 arch/arm/mach-ixp4xx/nslu2-pci.c static int __init nslu2_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               47 arch/arm/mach-ixp4xx/nslu2-pci.c 	if (slot >= 1 && slot <= MAX_DEV && pin >= 1 && pin <= IRQ_LINES)
slot               48 arch/arm/mach-ixp4xx/nslu2-pci.c 		return pci_irq_table[(slot + pin - 2) % IRQ_LINES];
slot               44 arch/arm/mach-ixp4xx/vulcan-pci.c static int __init vulcan_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               46 arch/arm/mach-ixp4xx/vulcan-pci.c 	if (slot == 1)
slot               49 arch/arm/mach-ixp4xx/vulcan-pci.c 	if (slot == 2)
slot               36 arch/arm/mach-ixp4xx/wg302v2-pci.c static int __init wg302v2_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               38 arch/arm/mach-ixp4xx/wg302v2-pci.c 	if (slot == 1)
slot               40 arch/arm/mach-ixp4xx/wg302v2-pci.c 	else if (slot == 2)
slot              215 arch/arm/mach-mv78xx0/pcie.c static int __init mv78xx0_pcie_map_irq(const struct pci_dev *dev, u8 slot,
slot               21 arch/arm/mach-omap1/board-h2-mmc.c static int mmc_set_power(struct device *dev, int slot, int power_on,
slot               22 arch/arm/mach-omap1/board-h3-mmc.c static int mmc_set_power(struct device *dev, int slot, int power_on,
slot              330 arch/arm/mach-omap1/board-innovator.c static int mmc_set_power(struct device *dev, int slot, int power_on,
slot              164 arch/arm/mach-omap1/board-nokia770.c static int nokia770_mmc_set_power(struct device *dev, int slot, int power_on,
slot              171 arch/arm/mach-omap1/board-nokia770.c static int nokia770_mmc_get_cover_state(struct device *dev, int slot)
slot               22 arch/arm/mach-omap1/board-sx1-mmc.c static int mmc_set_power(struct device *dev, int slot, int power_on,
slot              182 arch/arm/mach-omap2/board-n8x0.c static int n8x0_mmc_switch_slot(struct device *dev, int slot)
slot              185 arch/arm/mach-omap2/board-n8x0.c 	dev_dbg(dev, "Choose slot %d\n", slot + 1);
slot              187 arch/arm/mach-omap2/board-n8x0.c 	gpio_set_value(N8X0_SLOT_SWITCH_GPIO, slot);
slot              191 arch/arm/mach-omap2/board-n8x0.c static int n8x0_mmc_set_power_menelaus(struct device *dev, int slot,
slot              197 arch/arm/mach-omap2/board-n8x0.c 	dev_dbg(dev, "Set slot %d power: %s (vdd %d)\n", slot + 1,
slot              200 arch/arm/mach-omap2/board-n8x0.c 	if (slot == 0) {
slot              278 arch/arm/mach-omap2/board-n8x0.c static int n8x0_mmc_set_power(struct device *dev, int slot, int power_on,
slot              281 arch/arm/mach-omap2/board-n8x0.c 	if (board_is_n800() || slot == 0)
slot              282 arch/arm/mach-omap2/board-n8x0.c 		return n8x0_mmc_set_power_menelaus(dev, slot, power_on, vdd);
slot              289 arch/arm/mach-omap2/board-n8x0.c static int n8x0_mmc_set_bus_mode(struct device *dev, int slot, int bus_mode)
slot              293 arch/arm/mach-omap2/board-n8x0.c 	dev_dbg(dev, "Set slot %d bus mode %s\n", slot + 1,
slot              295 arch/arm/mach-omap2/board-n8x0.c 	BUG_ON(slot != 0 && slot != 1);
slot              296 arch/arm/mach-omap2/board-n8x0.c 	slot++;
slot              299 arch/arm/mach-omap2/board-n8x0.c 		r = menelaus_set_mmc_opendrain(slot, 1);
slot              302 arch/arm/mach-omap2/board-n8x0.c 		r = menelaus_set_mmc_opendrain(slot, 0);
slot              309 arch/arm/mach-omap2/board-n8x0.c 			slot);
slot              313 arch/arm/mach-omap2/board-n8x0.c static int n8x0_mmc_get_cover_state(struct device *dev, int slot)
slot              315 arch/arm/mach-omap2/board-n8x0.c 	slot++;
slot              316 arch/arm/mach-omap2/board-n8x0.c 	BUG_ON(slot != 1 && slot != 2);
slot              317 arch/arm/mach-omap2/board-n8x0.c 	if (slot == 1)
slot               21 arch/arm/mach-omap2/mmc.h extern void omap_mmc_notify_cover_event(struct device *dev, int slot,
slot               27 arch/arm/mach-orion5x/board-mss2.c static int __init mss2_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               34 arch/arm/mach-orion5x/board-mss2.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot               74 arch/arm/mach-orion5x/board-rd88f5182.c static int __init rd88f5182_pci_map_irq(const struct pci_dev *dev, u8 slot,
slot               82 arch/arm/mach-orion5x/board-rd88f5182.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot               89 arch/arm/mach-orion5x/board-rd88f5182.c 	switch (slot - RD88F5182_PCI_SLOT0_OFFS) {
slot               67 arch/arm/mach-orion5x/common.h int orion5x_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
slot              239 arch/arm/mach-orion5x/db88f5281-setup.c static int __init db88f5281_pci_map_irq(const struct pci_dev *dev, u8 slot,
slot              247 arch/arm/mach-orion5x/db88f5281-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              254 arch/arm/mach-orion5x/db88f5281-setup.c 	switch (slot - DB88F5281_PCI_SLOT0_OFFS) {
slot               74 arch/arm/mach-orion5x/dns323-setup.c static int __init dns323_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               81 arch/arm/mach-orion5x/dns323-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              121 arch/arm/mach-orion5x/kurobox_pro-setup.c static int __init kurobox_pro_pci_map_irq(const struct pci_dev *dev, u8 slot,
slot              129 arch/arm/mach-orion5x/kurobox_pro-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              581 arch/arm/mach-orion5x/pci.c int __init orion5x_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              129 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c rd88f5181l_fxo_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              136 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              137 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c rd88f5181l_ge_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              144 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              145 arch/arm/mach-orion5x/rd88f5182-setup.c static int __init rd88f5182_pci_map_irq(const struct pci_dev *dev, u8 slot,
slot              153 arch/arm/mach-orion5x/rd88f5182-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              160 arch/arm/mach-orion5x/rd88f5182-setup.c 	switch (slot - RD88F5182_PCI_SLOT0_OFFS) {
slot               98 arch/arm/mach-orion5x/terastation_pro2-setup.c static int __init tsp2_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              105 arch/arm/mach-orion5x/terastation_pro2-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              112 arch/arm/mach-orion5x/terastation_pro2-setup.c 	if (slot == TSP2_PCI_SLOT0_OFFS)
slot              141 arch/arm/mach-orion5x/ts209-setup.c static int __init qnap_ts209_pci_map_irq(const struct pci_dev *dev, u8 slot,
slot              149 arch/arm/mach-orion5x/ts209-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              156 arch/arm/mach-orion5x/ts209-setup.c 	switch (slot - QNAP_TS209_PCI_SLOT0_OFFS) {
slot              119 arch/arm/mach-orion5x/ts409-setup.c static int __init qnap_ts409_pci_map_irq(const struct pci_dev *dev, u8 slot,
slot              127 arch/arm/mach-orion5x/ts409-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              132 arch/arm/mach-orion5x/wnr854t-setup.c static int __init wnr854t_pci_map_irq(const struct pci_dev *dev, u8 slot,
slot              140 arch/arm/mach-orion5x/wnr854t-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              147 arch/arm/mach-orion5x/wnr854t-setup.c 	if (slot == 7)
slot              220 arch/arm/mach-orion5x/wrt350n-v2-setup.c static int __init wrt350n_v2_pci_map_irq(const struct pci_dev *dev, u8 slot,
slot              228 arch/arm/mach-orion5x/wrt350n-v2-setup.c 	irq = orion5x_pci_map_irq(dev, slot, pin);
slot              235 arch/arm/mach-orion5x/wrt350n-v2-setup.c 	if (slot == 7)
slot               77 arch/arm/mach-pxa/cm-x2xx-pci.c static int __init cmx2xx_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               81 arch/arm/mach-pxa/cm-x2xx-pci.c 	dev_dbg(&dev->dev, "%s: slot=%x, pin=%x\n", __func__, slot, pin);
slot               83 arch/arm/mach-pxa/cm-x2xx-pci.c 	irq = it8152_pci_map_irq(dev, slot, pin);
slot               93 arch/arm/mach-pxa/cm-x2xx-pci.c 	if (slot == 7)
slot               97 arch/arm/mach-pxa/cm-x2xx-pci.c 	if (slot == 8 || slot == 0)
slot              101 arch/arm/mach-pxa/cm-x2xx-pci.c 	if (slot == 9)
slot              105 arch/arm/mach-pxa/cm-x2xx-pci.c 	if (slot == 15)
slot              109 arch/arm/mach-pxa/cm-x2xx-pci.c 	if (slot == 16)
slot              113 arch/arm/mach-pxa/cm-x2xx-pci.c 	if ((slot == 17) || (slot == 19))
slot              115 arch/arm/mach-pxa/cm-x2xx-pci.c 	if ((slot == 18) || (slot == 20))
slot              102 arch/arm/mach-rpc/ecard.c static inline ecard_t *slot_to_ecard(unsigned int slot)
slot              104 arch/arm/mach-rpc/ecard.c 	return slot < MAX_ECARDS ? slot_to_expcard[slot] : NULL;
slot              587 arch/arm/mach-rpc/ecard.c 	int slot = ec->slot_no;
slot              592 arch/arm/mach-rpc/ecard.c 	ectcr &= ~(1 << slot);
slot              596 arch/arm/mach-rpc/ecard.c 		if (slot < 4)
slot              597 arch/arm/mach-rpc/ecard.c 			address = ECARD_MEMC_BASE + (slot << 14);
slot              601 arch/arm/mach-rpc/ecard.c 		if (slot < 4)
slot              602 arch/arm/mach-rpc/ecard.c 			address = ECARD_IOC_BASE + (slot << 14);
slot              604 arch/arm/mach-rpc/ecard.c 			address = ECARD_IOC4_BASE + ((slot - 4) << 14);
slot              610 arch/arm/mach-rpc/ecard.c 		address = ECARD_EASI_BASE + (slot << 24);
slot              612 arch/arm/mach-rpc/ecard.c 			ectcr |= 1 << slot;
slot              689 arch/arm/mach-rpc/ecard.c static struct expansion_card *__init ecard_alloc_card(int type, int slot)
slot              701 arch/arm/mach-rpc/ecard.c 	ec->slot_no = slot;
slot              708 arch/arm/mach-rpc/ecard.c 	dev_set_name(&ec->dev, "ecard%d", slot);
slot              715 arch/arm/mach-rpc/ecard.c 	if (slot < 4) {
slot              717 arch/arm/mach-rpc/ecard.c 				PODSLOT_MEMC_BASE + (slot << 14),
slot              719 arch/arm/mach-rpc/ecard.c 		base = PODSLOT_IOC0_BASE + (slot << 14);
slot              721 arch/arm/mach-rpc/ecard.c 		base = PODSLOT_IOC4_BASE + ((slot - 4) << 14);
slot              724 arch/arm/mach-rpc/ecard.c 	if (slot < 8) {
slot              726 arch/arm/mach-rpc/ecard.c 				PODSLOT_EASI_BASE + (slot << 24),
slot              730 arch/arm/mach-rpc/ecard.c 	if (slot == 8) {
slot              891 arch/arm/mach-rpc/ecard.c static int __init ecard_probe(int slot, unsigned irq, card_type_t type)
slot              899 arch/arm/mach-rpc/ecard.c 	ec = ecard_alloc_card(type, slot);
slot              953 arch/arm/mach-rpc/ecard.c 	if (slot < 8) {
slot              962 arch/arm/mach-rpc/ecard.c 	if (slot < 2)
slot              963 arch/arm/mach-rpc/ecard.c 		ec->dma = 2 + slot;
slot              969 arch/arm/mach-rpc/ecard.c 	slot_to_expcard[slot] = ec;
slot              991 arch/arm/mach-rpc/ecard.c 	int slot, irqbase;
slot             1007 arch/arm/mach-rpc/ecard.c 	for (slot = 0; slot < 8; slot ++) {
slot             1008 arch/arm/mach-rpc/ecard.c 		if (ecard_probe(slot, irqbase + slot, ECARD_EASI) == -ENODEV)
slot             1009 arch/arm/mach-rpc/ecard.c 			ecard_probe(slot, irqbase + slot, ECARD_IOC);
slot              196 arch/arm/mach-s3c24xx/mach-anubis.c static void anubis_nand_select(struct s3c2410_nand_set *set, int slot)
slot              200 arch/arm/mach-s3c24xx/mach-anubis.c 	slot = set->nr_map[slot] & 3;
slot              203 arch/arm/mach-s3c24xx/mach-anubis.c 		 slot, set, set->nr_map);
slot              207 arch/arm/mach-s3c24xx/mach-anubis.c 	tmp |= slot;
slot              271 arch/arm/mach-s3c24xx/mach-bast.c static void bast_nand_select(struct s3c2410_nand_set *set, int slot)
slot              275 arch/arm/mach-s3c24xx/mach-bast.c 	slot = set->nr_map[slot] & 3;
slot              278 arch/arm/mach-s3c24xx/mach-bast.c 		 slot, set, set->nr_map);
slot              282 arch/arm/mach-s3c24xx/mach-bast.c 	tmp |= slot;
slot              212 arch/arm/mach-s3c24xx/mach-osiris.c static void osiris_nand_select(struct s3c2410_nand_set *set, int slot)
slot              216 arch/arm/mach-s3c24xx/mach-osiris.c 	slot = set->nr_map[slot] & 3;
slot              219 arch/arm/mach-s3c24xx/mach-osiris.c 		 slot, set, set->nr_map);
slot              223 arch/arm/mach-s3c24xx/mach-osiris.c 	tmp |= slot;
slot               35 arch/arm/mach-sa1100/pci-nanoengine.c static int __init pci_nanoengine_map_irq(const struct pci_dev *dev, u8 slot,
slot              113 arch/arm64/include/asm/acpi.h static inline void arch_fix_phys_package_id(int num, u32 slot) { }
slot              473 arch/arm64/include/asm/kvm_host.h void kvm_mmu_wp_memory_region(struct kvm *kvm, int slot);
slot              479 arch/arm64/include/asm/kvm_mmu.h 	int slot = -1;
slot              483 arch/arm64/include/asm/kvm_mmu.h 		slot = data->hyp_vectors_slot;
slot              488 arch/arm64/include/asm/kvm_mmu.h 		if (slot == -1)
slot              489 arch/arm64/include/asm/kvm_mmu.h 			slot = __kvm_harden_el2_vector_slot;
slot              492 arch/arm64/include/asm/kvm_mmu.h 	if (slot != -1)
slot              493 arch/arm64/include/asm/kvm_mmu.h 		vect += slot * SZ_2K;
slot              120 arch/arm64/kernel/cpu_errata.c static void __copy_hyp_vect_bpi(int slot, const char *hyp_vecs_start,
slot              123 arch/arm64/kernel/cpu_errata.c 	void *dst = lm_alias(__bp_harden_hyp_vecs_start + slot * SZ_2K);
slot              137 arch/arm64/kernel/cpu_errata.c 	int cpu, slot = -1;
slot              151 arch/arm64/kernel/cpu_errata.c 			slot = per_cpu(bp_hardening_data.hyp_vectors_slot, cpu);
slot              156 arch/arm64/kernel/cpu_errata.c 	if (slot == -1) {
slot              157 arch/arm64/kernel/cpu_errata.c 		slot = atomic_inc_return(&arm64_el2_vector_last_slot);
slot              158 arch/arm64/kernel/cpu_errata.c 		BUG_ON(slot >= BP_HARDEN_EL2_SLOTS);
slot              159 arch/arm64/kernel/cpu_errata.c 		__copy_hyp_vect_bpi(slot, hyp_vecs_start, hyp_vecs_end);
slot              162 arch/arm64/kernel/cpu_errata.c 	__this_cpu_write(bp_hardening_data.hyp_vectors_slot, slot);
slot              193 arch/arm64/kernel/hw_breakpoint.c 	struct perf_event **slot;
slot              196 arch/arm64/kernel/hw_breakpoint.c 		slot = &slots[i];
slot              199 arch/arm64/kernel/hw_breakpoint.c 			if (!*slot) {
slot              200 arch/arm64/kernel/hw_breakpoint.c 				*slot = bp;
slot              205 arch/arm64/kernel/hw_breakpoint.c 			if (*slot == bp) {
slot              206 arch/arm64/kernel/hw_breakpoint.c 				*slot = NULL;
slot              211 arch/arm64/kernel/hw_breakpoint.c 			if (*slot == bp)
slot              212 arch/arm64/kernel/probes/kprobes.c 	unsigned long slot;
slot              225 arch/arm64/kernel/probes/kprobes.c 		slot = (unsigned long)p->ainsn.api.insn;
slot              227 arch/arm64/kernel/probes/kprobes.c 		set_ss_context(kcb, slot);	/* mark pending ss */
slot              232 arch/arm64/kernel/probes/kprobes.c 		instruction_pointer_set(regs, slot);
slot              106 arch/ia64/include/asm/kprobes.h 	unsigned short slot;
slot               25 arch/ia64/include/asm/tlbflush.h extern void ia64_ptr_entry(u64 target_mask, int slot);
slot               48 arch/ia64/include/asm/topology.h extern void arch_fix_phys_package_id(int num, u32 slot);
slot               85 arch/ia64/kernel/kprobes.c static void __kprobes update_kprobe_inst_flag(uint template, uint  slot,
slot               92 arch/ia64/kernel/kprobes.c 	p->ainsn.slot = slot;
slot              105 arch/ia64/kernel/kprobes.c 	if (bundle_encoding[template][slot] == B) {
slot              121 arch/ia64/kernel/kprobes.c 	} else if (bundle_encoding[template][slot] == X) {
slot              138 arch/ia64/kernel/kprobes.c static uint __kprobes is_cmp_ctype_unc_inst(uint template, uint slot,
slot              145 arch/ia64/kernel/kprobes.c 	if (!((bundle_encoding[template][slot] == I) ||
slot              146 arch/ia64/kernel/kprobes.c 		(bundle_encoding[template][slot] == M)))
slot              174 arch/ia64/kernel/kprobes.c static int __kprobes unsupported_inst(uint template, uint  slot,
slot              182 arch/ia64/kernel/kprobes.c 	if (is_cmp_ctype_unc_inst(template, slot, major_opcode, kprobe_inst)) {
slot              183 arch/ia64/kernel/kprobes.c 		if (slot == 1 && qp)  {
slot              192 arch/ia64/kernel/kprobes.c 	else if (bundle_encoding[template][slot] == I) {
slot              222 arch/ia64/kernel/kprobes.c 			if (slot == 1 && qp) {
slot              231 arch/ia64/kernel/kprobes.c 	else if (bundle_encoding[template][slot] == B) {
slot              253 arch/ia64/kernel/kprobes.c 	else if (unlikely(bundle_encoding[template][slot] == F)) {
slot              257 arch/ia64/kernel/kprobes.c 			if (slot == 1 && qp) {
slot              269 arch/ia64/kernel/kprobes.c 			if (slot == 1 && qp) {
slot              285 arch/ia64/kernel/kprobes.c static void __kprobes prepare_break_inst(uint template, uint  slot,
slot              300 arch/ia64/kernel/kprobes.c 	switch (slot) {
slot              318 arch/ia64/kernel/kprobes.c 	update_kprobe_inst_flag(template, slot, major_opcode, kprobe_inst, p);
slot              321 arch/ia64/kernel/kprobes.c static void __kprobes get_kprobe_inst(bundle_t *bundle, uint slot,
slot              329 arch/ia64/kernel/kprobes.c 	switch (slot) {
slot              354 arch/ia64/kernel/kprobes.c static int __kprobes valid_kprobe_addr(int template, int slot,
slot              357 arch/ia64/kernel/kprobes.c 	if ((slot > 2) || ((bundle_encoding[template][1] == L) && slot > 1)) {
slot              494 arch/ia64/kernel/kprobes.c static int __kprobes __is_ia64_break_inst(bundle_t *bundle, uint slot)
slot              501 arch/ia64/kernel/kprobes.c 	if (slot == 1 && bundle_encoding[template][1] == L)
slot              502 arch/ia64/kernel/kprobes.c 		slot++;
slot              505 arch/ia64/kernel/kprobes.c 	get_kprobe_inst(bundle, slot, &kprobe_inst, &major_opcode);
slot              525 arch/ia64/kernel/kprobes.c static int __kprobes can_boost(bundle_t *bundle, uint slot,
slot              531 arch/ia64/kernel/kprobes.c 		if (search_exception_tables(bundle_addr + slot) ||
slot              532 arch/ia64/kernel/kprobes.c 		    __is_ia64_break_inst(bundle, slot))
slot              534 arch/ia64/kernel/kprobes.c 	} while ((++slot) < 3);
slot              548 arch/ia64/kernel/kprobes.c 	unsigned int slot = (unsigned long)p->addr & 0xf;
slot              551 arch/ia64/kernel/kprobes.c 	if (can_boost(&p->ainsn.insn[0].bundle, slot, addr)) {
slot              569 arch/ia64/kernel/kprobes.c 	unsigned int slot = addr & 0xf, template, major_opcode = 0;
slot              576 arch/ia64/kernel/kprobes.c 	if(valid_kprobe_addr(template, slot, addr))
slot              580 arch/ia64/kernel/kprobes.c 	if (slot == 1 && bundle_encoding[template][1] == L)
slot              581 arch/ia64/kernel/kprobes.c 		slot++;
slot              584 arch/ia64/kernel/kprobes.c 	get_kprobe_inst(bundle, slot, &kprobe_inst, &major_opcode);
slot              586 arch/ia64/kernel/kprobes.c 	qp = unsupported_inst(template, slot, major_opcode, kprobe_inst, addr);
slot              596 arch/ia64/kernel/kprobes.c 	prepare_break_inst(template, slot, major_opcode, kprobe_inst, p, qp);
slot              616 arch/ia64/kernel/kprobes.c 	switch (p->ainsn.slot) {
slot              639 arch/ia64/kernel/kprobes.c 	switch (p->ainsn.slot) {
slot              674 arch/ia64/kernel/kprobes.c 	int slot = ((unsigned long)p->addr & 0xf);
slot              678 arch/ia64/kernel/kprobes.c 	if (slot == 1 && bundle_encoding[template][1] == L)
slot              679 arch/ia64/kernel/kprobes.c 		slot = 2;
slot              722 arch/ia64/kernel/kprobes.c 	if (slot == 2) {
slot              740 arch/ia64/kernel/kprobes.c 	unsigned long slot = (unsigned long)p->addr & 0xf;
slot              748 arch/ia64/kernel/kprobes.c 	if (slot > 2)
slot              749 arch/ia64/kernel/kprobes.c 		slot = 0;
slot              751 arch/ia64/kernel/kprobes.c 	ia64_psr(regs)->ri = slot;
slot              759 arch/ia64/kernel/kprobes.c 	unsigned int slot = ia64_psr(regs)->ri;
slot              765 arch/ia64/kernel/kprobes.c 	return __is_ia64_break_inst(&bundle, slot);
slot              847 arch/ia64/kernel/kprobes.c 		ia64_psr(regs)->ri = p->ainsn.slot;
slot              158 arch/ia64/kernel/module.c 	if (slot(insn) != 1 && slot(insn) != 2) {
slot              160 arch/ia64/kernel/module.c 		       mod->name, slot(insn));
slot              170 arch/ia64/kernel/module.c 	if (slot(insn) != 1 && slot(insn) != 2) {
slot              172 arch/ia64/kernel/module.c 		       mod->name, slot(insn));
slot               32 arch/ia64/kernel/topology.c void arch_fix_phys_package_id(int num, u32 slot)
slot               36 arch/ia64/kernel/topology.c 		cpu_data(num)->socket_id = slot;
slot              558 arch/ia64/mm/tlb.c void ia64_ptr_entry(u64 target_mask, int slot)
slot              564 arch/ia64/mm/tlb.c 	if (slot < IA64_TR_ALLOC_BASE || slot >= per_cpu(ia64_tr_num, cpu))
slot              568 arch/ia64/mm/tlb.c 		p = ia64_idtrs[cpu] + slot;
slot              577 arch/ia64/mm/tlb.c 		p = ia64_idtrs[cpu] + IA64_TR_ALLOC_MAX + slot;
slot               45 arch/m68k/coldfire/clk.c 	__raw_writeb(clk->slot, MCFPM_PPMCR0);
slot               50 arch/m68k/coldfire/clk.c 	__raw_writeb(clk->slot, MCFPM_PPMSR0);
slot               61 arch/m68k/coldfire/clk.c 	__raw_writeb(clk->slot, MCFPM_PPMCR1);
slot               66 arch/m68k/coldfire/clk.c 	__raw_writeb(clk->slot, MCFPM_PPMSR1);
slot              156 arch/m68k/coldfire/pci.c static int mcf_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              160 arch/m68k/coldfire/pci.c 	sid = mcf_host_slot2sid[slot];
slot               22 arch/m68k/include/asm/mcfclk.h 	u8 slot;
slot               38 arch/m68k/include/asm/mcfclk.h 	.slot = clk_slot, \
slot              258 arch/mips/alchemy/board-gpr.c static int gpr_map_pci_irq(const struct pci_dev *d, u8 slot, u8 pin)
slot              260 arch/mips/alchemy/board-gpr.c 	if ((slot == 0) && (pin == 1))
slot              262 arch/mips/alchemy/board-gpr.c 	else if ((slot == 0) && (pin == 2))
slot              240 arch/mips/alchemy/board-mtx1.c static int mtx1_map_pci_irq(const struct pci_dev *d, u8 slot, u8 pin)
slot              242 arch/mips/alchemy/board-mtx1.c 	return mtx1_irqtab[slot][pin];
slot               55 arch/mips/alchemy/devboards/db1000.c static int db1500_map_pci_irq(const struct pci_dev *d, u8 slot, u8 pin)
slot               57 arch/mips/alchemy/devboards/db1000.c 	if ((slot < 12) || (slot > 13) || pin == 0)
slot               59 arch/mips/alchemy/devboards/db1000.c 	if (slot == 12)
slot               61 arch/mips/alchemy/devboards/db1000.c 	if (slot == 13) {
slot              417 arch/mips/alchemy/devboards/db1550.c static int db1550_map_pci_irq(const struct pci_dev *d, u8 slot, u8 pin)
slot              419 arch/mips/alchemy/devboards/db1550.c 	if ((slot < 11) || (slot > 13) || pin == 0)
slot              421 arch/mips/alchemy/devboards/db1550.c 	if (slot == 11)
slot              423 arch/mips/alchemy/devboards/db1550.c 	if (slot == 12) {
slot              431 arch/mips/alchemy/devboards/db1550.c 	if (slot == 13) {
slot              442 arch/mips/alchemy/devboards/db1550.c static int pb1550_map_pci_irq(const struct pci_dev *d, u8 slot, u8 pin)
slot              444 arch/mips/alchemy/devboards/db1550.c 	if ((slot < 12) || (slot > 13) || pin == 0)
slot              446 arch/mips/alchemy/devboards/db1550.c 	if (slot == 12) {
slot              454 arch/mips/alchemy/devboards/db1550.c 	if (slot == 13) {
slot               72 arch/mips/dec/tc.c 	switch (tdev->slot) {
slot              799 arch/mips/include/asm/kvm_host.h 				     const struct kvm_memory_slot *slot);
slot              798 arch/mips/include/asm/mach-au1x00/au1000.h 	int (*board_map_irq)(const struct pci_dev *d, u8 slot, u8 pin);
slot               33 arch/mips/include/asm/octeon/pci-octeon.h 				     u8 slot, u8 pin);
slot               64 arch/mips/include/asm/pci.h extern int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
slot               40 arch/mips/include/asm/txx9/generic.h 	int (*pci_map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
slot              177 arch/mips/include/asm/txx9/jmr3927.h int jmr3927_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
slot               90 arch/mips/include/asm/txx9/rbtx4927.h int rbtx4927_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
slot              143 arch/mips/include/asm/txx9/rbtx4938.h int rbtx4938_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
slot              290 arch/mips/include/asm/txx9/tx4938.h int tx4938_pcic1_map_irq(const struct pci_dev *dev, u8 slot);
slot              510 arch/mips/include/asm/txx9/tx4939.h int tx4939_pcic1_map_irq(const struct pci_dev *dev, u8 slot);
slot              511 arch/mips/include/asm/txx9/tx4939.h int tx4939_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
slot              191 arch/mips/kvm/mips.c int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
slot              207 arch/mips/kvm/mips.c 				   struct kvm_memory_slot *slot)
slot              216 arch/mips/kvm/mips.c 	kvm_mips_flush_gpa_pt(kvm, slot->base_gfn,
slot              217 arch/mips/kvm/mips.c 			      slot->base_gfn + slot->npages - 1);
slot              219 arch/mips/kvm/mips.c 	kvm_mips_callbacks->flush_shadow_memslot(kvm, slot);
slot              240 arch/mips/kvm/mips.c 		  __func__, kvm, mem->slot, mem->guest_phys_addr,
slot             1006 arch/mips/kvm/mips.c 		memslot = id_to_memslot(slots, log->slot);
slot             1029 arch/mips/kvm/mips.c 		memslot = id_to_memslot(slots, log->slot);
slot              442 arch/mips/kvm/mmu.c 		struct kvm_memory_slot *slot,
slot              445 arch/mips/kvm/mmu.c 	gfn_t base_gfn = slot->base_gfn + gfn_offset;
slot              705 arch/mips/kvm/trap_emul.c 					const struct kvm_memory_slot *slot)
slot             3127 arch/mips/kvm/vz.c 					const struct kvm_memory_slot *slot)
slot               15 arch/mips/pci/fixup-ath79.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               17 arch/mips/pci/fixup-ath79.c 	return of_irq_parse_and_map_pci(dev, slot, pin);
slot               13 arch/mips/pci/fixup-bcm63xx.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               28 arch/mips/pci/fixup-capcella.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               30 arch/mips/pci/fixup-capcella.c 	return irq_tab_capcella[slot][pin];
slot              177 arch/mips/pci/fixup-cobalt.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              180 arch/mips/pci/fixup-cobalt.c 		return irq_tab_qube1[slot];
slot              183 arch/mips/pci/fixup-cobalt.c 		return irq_tab_raq2[slot];
slot              185 arch/mips/pci/fixup-cobalt.c 	return irq_tab_cobalt[slot];
slot               75 arch/mips/pci/fixup-emma2rh.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               77 arch/mips/pci/fixup-emma2rh.c 	return irq_map[slot][pin];
slot               18 arch/mips/pci/fixup-fuloong2e.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               22 arch/mips/pci/fixup-fuloong2e.c 	if (slot == sb_slot) {
slot               43 arch/mips/pci/fixup-ip32.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               45 arch/mips/pci/fixup-ip32.c 	return irq_tab_mace[slot][pin];
slot               34 arch/mips/pci/fixup-jmr3927.c int jmr3927_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               40 arch/mips/pci/fixup-jmr3927.c 	if (slot == TX3927_PCIC_IDSEL_AD_TO_SLOT(23)) {
slot               45 arch/mips/pci/fixup-jmr3927.c 	} else if (slot == TX3927_PCIC_IDSEL_AD_TO_SLOT(22)) {
slot               53 arch/mips/pci/fixup-jmr3927.c 			irq = (irq + 33 - slot) % 4;
slot               55 arch/mips/pci/fixup-jmr3927.c 			irq = (irq + 3 + slot) % 4;
slot               76 arch/mips/pci/fixup-jmr3927.c 	    slot == TX3927_PCIC_IDSEL_AD_TO_SLOT(24))
slot               24 arch/mips/pci/fixup-lantiq.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               26 arch/mips/pci/fixup-lantiq.c 	return of_irq_parse_and_map_pci(dev, slot, pin);
slot               50 arch/mips/pci/fixup-lemote2f.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               56 arch/mips/pci/fixup-lemote2f.c 		virq = irq_tab[slot][pin];
slot               57 arch/mips/pci/fixup-lemote2f.c 		printk(KERN_INFO "slot: %d, pin: %d, irq: %d\n", slot, pin,
slot               35 arch/mips/pci/fixup-loongson3.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               42 arch/mips/pci/fixup-malta.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               45 arch/mips/pci/fixup-malta.c 	virq = irq_tab[slot][pin];
slot               24 arch/mips/pci/fixup-mpc30x.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               26 arch/mips/pci/fixup-mpc30x.c 	if (slot == 30)
slot               29 arch/mips/pci/fixup-mpc30x.c 	return irq_tab_mpc30x[slot];
slot              205 arch/mips/pci/fixup-pmcmsp.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              211 arch/mips/pci/fixup-pmcmsp.c 		irq_tab[slot][pin], slot, pin);
slot              213 arch/mips/pci/fixup-pmcmsp.c 	return irq_tab[slot][pin];
slot               39 arch/mips/pci/fixup-rbtx4927.c int rbtx4927_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               45 arch/mips/pci/fixup-rbtx4927.c 	if (slot == TX4927_PCIC_IDSEL_AD_TO_SLOT(23)) {
slot               48 arch/mips/pci/fixup-rbtx4927.c 		irq = (irq + 0 + slot) % 4;
slot               52 arch/mips/pci/fixup-rbtx4927.c 			irq = (irq + 33 - slot) % 4;
slot               54 arch/mips/pci/fixup-rbtx4927.c 			irq = (irq + 3 + slot) % 4;
slot               16 arch/mips/pci/fixup-rbtx4938.c int rbtx4938_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               18 arch/mips/pci/fixup-rbtx4938.c 	int irq = tx4938_pcic1_map_irq(dev, slot);
slot               25 arch/mips/pci/fixup-rbtx4938.c 	if (slot == TX4927_PCIC_IDSEL_AD_TO_SLOT(23)) {
slot               28 arch/mips/pci/fixup-rbtx4938.c 		irq = (irq + 0 + slot) % 4;
slot               32 arch/mips/pci/fixup-rbtx4938.c 			irq = (irq + 33 - slot) % 4;
slot               34 arch/mips/pci/fixup-rbtx4938.c 			irq = (irq + 3 + slot) % 4;
slot               39 arch/mips/pci/fixup-rc32434.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              133 arch/mips/pci/fixup-sni.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              137 arch/mips/pci/fixup-sni.c 		if (slot == 4) {
slot              145 arch/mips/pci/fixup-sni.c 				slot = 5;
slot              147 arch/mips/pci/fixup-sni.c 		return irq_tab_pcit_cplus[slot][pin];
slot              149 arch/mips/pci/fixup-sni.c 		return irq_tab_pcit[slot][pin];
slot              153 arch/mips/pci/fixup-sni.c 			return irq_tab_rm300d[slot][pin];
slot              157 arch/mips/pci/fixup-sni.c 		return irq_tab_rm200[slot][pin];
slot              160 arch/mips/pci/fixup-sni.c 		return irq_tab_rm300e[slot][pin];
slot               13 arch/mips/pci/fixup-tb0219.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               17 arch/mips/pci/fixup-tb0219.c 	switch (slot) {
slot               13 arch/mips/pci/fixup-tb0226.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               17 arch/mips/pci/fixup-tb0226.c 	switch (slot) {
slot               12 arch/mips/pci/fixup-tb0287.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               19 arch/mips/pci/fixup-tb0287.c 		switch (slot) {
slot              448 arch/mips/pci/msi-xlp.c 	int node, link, slot;
slot              455 arch/mips/pci/msi-xlp.c 	slot = PCI_SLOT(lnkdev->devfn);
slot              457 arch/mips/pci/msi-xlp.c 	node = slot / 8;
slot               67 arch/mips/pci/ops-bcm63xx.c 	unsigned int slot, func, reg;
slot               70 arch/mips/pci/ops-bcm63xx.c 	slot = PCI_SLOT(devfn);
slot               75 arch/mips/pci/ops-bcm63xx.c 	if (slot > (MPI_L2PCFG_DEVNUM_MASK >> MPI_L2PCFG_DEVNUM_SHIFT))
slot               87 arch/mips/pci/ops-bcm63xx.c 	val |= (slot << MPI_L2PCFG_DEVNUM_SHIFT);
slot               41 arch/mips/pci/ops-rc32434.c #define PCI_CFG_SET(bus, slot, func, off) \
slot               43 arch/mips/pci/ops-rc32434.c 				((bus) << 16) | ((slot)<<11) | \
slot               50 arch/mips/pci/ops-rc32434.c 	unsigned int slot = PCI_SLOT(devfn);
slot               54 arch/mips/pci/ops-rc32434.c 	PCI_CFG_SET(bus->number, slot, func, where);
slot               45 arch/mips/pci/pci-alchemy.c 	int (*board_map_irq)(const struct pci_dev *d, u8 slot, u8 pin);
slot              526 arch/mips/pci/pci-alchemy.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              530 arch/mips/pci/pci-alchemy.c 		return ctx->board_map_irq(dev, slot, pin);
slot              513 arch/mips/pci/pci-ar2315.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              517 arch/mips/pci/pci-ar2315.c 	return slot ? 0 : apc->irq_ext;
slot               65 arch/mips/pci/pci-bcm1480.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               31 arch/mips/pci/pci-bcm47xx.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               40 arch/mips/pci/pci-bcm47xx.c 	u8 slot, pin;
slot               50 arch/mips/pci/pci-bcm47xx.c 	slot = PCI_SLOT(dev->devfn);
slot               51 arch/mips/pci/pci-bcm47xx.c 	res = ssb_pcibios_map_irq(dev, slot, pin);
slot               64 arch/mips/pci/pci-lasat.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               66 arch/mips/pci/pci-lasat.c 	switch (slot) {
slot               70 arch/mips/pci/pci-lasat.c 		return LASAT_IRQ_PCIA + (((slot-1) + (pin-1)) % 4);
slot              139 arch/mips/pci/pci-mt7620.c 	unsigned int slot = PCI_SLOT(devfn);
slot              148 arch/mips/pci/pci-mt7620.c 	address = (((where & 0xF00) >> 8) << 24) | (num << 16) | (slot << 11) |
slot              171 arch/mips/pci/pci-mt7620.c 	unsigned int slot = PCI_SLOT(devfn);
slot              180 arch/mips/pci/pci-mt7620.c 	address = (((where & 0xF00) >> 8) << 24) | (num << 16) | (slot << 11) |
slot              361 arch/mips/pci/pci-mt7620.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              367 arch/mips/pci/pci-mt7620.c 	if ((dev->bus->number == 0) && (slot == 0)) {
slot              372 arch/mips/pci/pci-mt7620.c 	} else if ((dev->bus->number == 1) && (slot == 0x0)) {
slot              376 arch/mips/pci/pci-mt7620.c 			dev->bus->number, slot);
slot              380 arch/mips/pci/pci-mt7620.c 		dev->bus->number, slot, irq);
slot               60 arch/mips/pci/pci-octeon.c int (*octeon_pcibios_map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
slot               74 arch/mips/pci/pci-octeon.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               77 arch/mips/pci/pci-octeon.c 		return octeon_pcibios_map_irq(dev, slot, pin);
slot              235 arch/mips/pci/pci-octeon.c 				      u8 slot, u8 pin)
slot              249 arch/mips/pci/pci-octeon.c 		irq_num = ((slot + pin - 3) & 3) + OCTEON_IRQ_PCI_INT0;
slot               56 arch/mips/pci/pci-rt2880.c static inline u32 rt2880_pci_get_cfgaddr(unsigned int bus, unsigned int slot,
slot               59 arch/mips/pci/pci-rt2880.c 	return ((bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) |
slot              181 arch/mips/pci/pci-rt2880.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               92 arch/mips/pci/pci-rt3883.c static inline u32 rt3883_pci_get_cfgaddr(unsigned int bus, unsigned int slot,
slot               95 arch/mips/pci/pci-rt3883.c 	return (bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) |
slot              100 arch/mips/pci/pci-rt3883.c 			       unsigned bus, unsigned slot,
slot              107 arch/mips/pci/pci-rt3883.c 	address = rt3883_pci_get_cfgaddr(bus, slot, func, reg);
slot              116 arch/mips/pci/pci-rt3883.c 				 unsigned bus, unsigned slot,
slot              122 arch/mips/pci/pci-rt3883.c 	address = rt3883_pci_get_cfgaddr(bus, slot, func, reg);
slot              562 arch/mips/pci/pci-rt3883.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              564 arch/mips/pci/pci-rt3883.c 	return of_irq_parse_and_map_pci(dev, slot, pin);
slot               75 arch/mips/pci/pci-sb1250.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              115 arch/mips/pci/pci-tx4938.c int tx4938_pcic1_map_irq(const struct pci_dev *dev, u8 slot)
slot              118 arch/mips/pci/pci-tx4938.c 		switch (slot) {
slot               51 arch/mips/pci/pci-tx4939.c int tx4939_pcic1_map_irq(const struct pci_dev *dev, u8 slot)
slot               54 arch/mips/pci/pci-tx4939.c 		switch (slot) {
slot               71 arch/mips/pci/pci-tx4939.c int tx4939_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               73 arch/mips/pci/pci-tx4939.c 	int irq = tx4939_pcic1_map_irq(dev, slot);
slot               80 arch/mips/pci/pci-tx4939.c 	irq = (irq + 33 - slot) % 4;
slot               38 arch/mips/pci/pci-virtio-guest.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               40 arch/mips/pci/pci-virtio-guest.c 	return ((pin + slot) % 4)+ MIPS_IRQ_PCIA;
slot              208 arch/mips/pci/pci-xlp.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              318 arch/mips/pci/pci-xlr.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               72 arch/mips/pci/pci-xtalk-bridge.c 	int slot = PCI_SLOT(dev->devfn);
slot               75 arch/mips/pci/pci-xtalk-bridge.c 	bridge_clr(bc, b_device[slot].reg, BRIDGE_DEV_SWAP_DIR);
slot               98 arch/mips/pci/pci-xtalk-bridge.c 	int slot = PCI_SLOT(devfn);
slot              104 arch/mips/pci/pci-xtalk-bridge.c 	addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID];
slot              113 arch/mips/pci/pci-xtalk-bridge.c 		addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
slot              117 arch/mips/pci/pci-xtalk-bridge.c 	addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)];
slot              135 arch/mips/pci/pci-xtalk-bridge.c 	int slot = PCI_SLOT(devfn);
slot              141 arch/mips/pci/pci-xtalk-bridge.c 	bridge_write(bc, b_pci_cfg, (busno << 16) | (slot << 11));
slot              181 arch/mips/pci/pci-xtalk-bridge.c 	int slot = PCI_SLOT(devfn);
slot              187 arch/mips/pci/pci-xtalk-bridge.c 	addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID];
slot              196 arch/mips/pci/pci-xtalk-bridge.c 		addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
slot              200 arch/mips/pci/pci-xtalk-bridge.c 	addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)];
slot              220 arch/mips/pci/pci-xtalk-bridge.c 	int slot = PCI_SLOT(devfn);
slot              227 arch/mips/pci/pci-xtalk-bridge.c 	bridge_write(bc, b_pci_cfg, (busno << 16) | (slot << 11));
slot              237 arch/mips/pci/pci-xtalk-bridge.c 		addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
slot              407 arch/mips/pci/pci-xtalk-bridge.c static int bridge_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              413 arch/mips/pci/pci-xtalk-bridge.c 	irq = bc->pci_int[slot];
slot              417 arch/mips/pci/pci-xtalk-bridge.c 		info.pin = slot;
slot              423 arch/mips/pci/pci-xtalk-bridge.c 		bc->pci_int[slot] = irq;
slot              436 arch/mips/pci/pci-xtalk-bridge.c 	int slot;
slot              513 arch/mips/pci/pci-xtalk-bridge.c 	for (slot = 0; slot < 8; slot++) {
slot              514 arch/mips/pci/pci-xtalk-bridge.c 		bridge_set(bc, b_device[slot].reg, BRIDGE_DEV_SWAP_DIR);
slot              515 arch/mips/pci/pci-xtalk-bridge.c 		bc->pci_int[slot] = -1;
slot             1465 arch/mips/pci/pcie-octeon.c int octeon_pcie_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              257 arch/mips/sgi-ip27/ip27-memory.c static unsigned long __init slot_getbasepfn(cnodeid_t cnode, int slot)
slot              261 arch/mips/sgi-ip27/ip27-memory.c 	return ((unsigned long)nasid << PFN_NASIDSHFT) | (slot << SLOT_PFNSHIFT);
slot              264 arch/mips/sgi-ip27/ip27-memory.c static unsigned long __init slot_psize_compute(cnodeid_t node, int slot)
slot              283 arch/mips/sgi-ip27/ip27-memory.c 	size = (unsigned long)banks->membnk_bnksz[slot/4];
slot              287 arch/mips/sgi-ip27/ip27-memory.c 		if (slot % 4 == 0) {
slot              352 arch/mips/sgi-ip27/ip27-memory.c 	int slot;
slot              357 arch/mips/sgi-ip27/ip27-memory.c 		for (slot = 0; slot < MAX_MEM_SLOTS; slot++) {
slot              358 arch/mips/sgi-ip27/ip27-memory.c 			slot_psize = slot_psize_compute(node, slot);
slot              359 arch/mips/sgi-ip27/ip27-memory.c 			if (slot == 0)
slot              373 arch/mips/sgi-ip27/ip27-memory.c 								slot, node);
slot              374 arch/mips/sgi-ip27/ip27-memory.c 				slot = MAX_MEM_SLOTS;
slot              377 arch/mips/sgi-ip27/ip27-memory.c 			memblock_add_node(PFN_PHYS(slot_getbasepfn(node, slot)),
slot              389 arch/mips/txx9/generic/pci.c static int (*txx9_pci_map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
slot              390 arch/mips/txx9/generic/pci.c int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              392 arch/mips/txx9/generic/pci.c 	return txx9_pci_map_irq(dev, slot, pin);
slot               15 arch/parisc/include/asm/eisa_eeprom.h #define HPEE_SLOT_INFO(slot) (20+(48*slot))
slot              136 arch/powerpc/include/asm/book3s/64/mmu-hash.h 	void            (*hpte_invalidate)(unsigned long slot,
slot              140 arch/powerpc/include/asm/book3s/64/mmu-hash.h 	long		(*hpte_updatepp)(unsigned long slot,
slot               56 arch/powerpc/include/asm/kvm_book3s.h 	ulong slot;
slot              207 arch/powerpc/include/asm/kvm_ppc.h 				      struct kvm_memory_slot *slot,
slot              297 arch/powerpc/include/asm/kvm_ppc.h 	int (*create_memslot)(struct kvm_memory_slot *slot,
slot               95 arch/powerpc/include/asm/plpar_wrappers.h 		unsigned long hpte_r, unsigned long *slot)
slot              102 arch/powerpc/include/asm/plpar_wrappers.h 	*slot = retbuf[0];
slot               46 arch/powerpc/include/asm/pnv-pci.h 	struct hotplug_slot		slot;
slot               73 arch/powerpc/include/asm/pnv-pci.h extern int pnv_php_set_slot_power_state(struct hotplug_slot *slot,
slot               51 arch/powerpc/include/asm/spu_csa.h 	u32 slot[4];
slot              782 arch/powerpc/kernel/eeh_driver.c 	struct pci_slot *slot;
slot              792 arch/powerpc/kernel/eeh_driver.c 	slot = pdev->slot;
slot              793 arch/powerpc/kernel/eeh_driver.c 	if (!slot || !slot->hotplug)
slot              796 arch/powerpc/kernel/eeh_driver.c 	ops = slot->hotplug->ops;
slot              802 arch/powerpc/kernel/eeh_driver.c 		ops->set_attention_status(slot->hotplug, 1);
slot              804 arch/powerpc/kernel/eeh_driver.c 	rc = ops->get_adapter_status(slot->hotplug, &state);
slot              814 arch/powerpc/kernel/eeh_driver.c 	struct pci_slot *slot;
slot              822 arch/powerpc/kernel/eeh_driver.c 	slot = pdev->slot;
slot              823 arch/powerpc/kernel/eeh_driver.c 	if (!slot || !slot->hotplug)
slot              826 arch/powerpc/kernel/eeh_driver.c 	ops = slot->hotplug->ops;
slot              830 arch/powerpc/kernel/eeh_driver.c 	ops->set_attention_status(slot->hotplug, 0);
slot               57 arch/powerpc/kernel/hw_breakpoint.c 	struct perf_event **slot = this_cpu_ptr(&bp_per_reg);
slot               59 arch/powerpc/kernel/hw_breakpoint.c 	*slot = bp;
slot               82 arch/powerpc/kernel/hw_breakpoint.c 	struct perf_event **slot = this_cpu_ptr(&bp_per_reg);
slot               84 arch/powerpc/kernel/hw_breakpoint.c 	if (*slot != bp) {
slot               89 arch/powerpc/kernel/hw_breakpoint.c 	*slot = NULL;
slot             2530 arch/powerpc/kernel/ptrace.c 	int slot;
slot             2552 arch/powerpc/kernel/ptrace.c 			slot = 1;
slot             2563 arch/powerpc/kernel/ptrace.c 			slot = 3;
slot             2585 arch/powerpc/kernel/ptrace.c 				slot = 1;
slot             2592 arch/powerpc/kernel/ptrace.c 			slot = 2;
slot             2597 arch/powerpc/kernel/ptrace.c 			slot = 3;
slot             2601 arch/powerpc/kernel/ptrace.c 			slot = 4;
slot             2612 arch/powerpc/kernel/ptrace.c 	return slot;
slot             2615 arch/powerpc/kernel/ptrace.c static int del_instruction_bp(struct task_struct *child, int slot)
slot             2617 arch/powerpc/kernel/ptrace.c 	switch (slot) {
slot             2677 arch/powerpc/kernel/ptrace.c 	int slot;
slot             2686 arch/powerpc/kernel/ptrace.c 		slot = 1;
slot             2707 arch/powerpc/kernel/ptrace.c 		slot = 2;
slot             2727 arch/powerpc/kernel/ptrace.c 	return slot + 4;
slot             2730 arch/powerpc/kernel/ptrace.c static int del_dac(struct task_struct *child, int slot)
slot             2732 arch/powerpc/kernel/ptrace.c 	if (slot == 1) {
slot             2748 arch/powerpc/kernel/ptrace.c 	} else if (slot == 2) {
slot              843 arch/powerpc/kvm/book3s.c int kvmppc_core_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
slot              846 arch/powerpc/kvm/book3s.c 	return kvm->arch.kvm_ops->create_memslot(slot, npages);
slot               54 arch/powerpc/kvm/book3s_32_mmu_host.c 	pteg = (u32*)pte->slot;
slot              246 arch/powerpc/kvm/book3s_32_mmu_host.c 	pte->slot = (ulong)&pteg[rr];
slot               25 arch/powerpc/kvm/book3s_64_mmu_host.c 	mmu_hash_ops.hpte_invalidate(pte->slot, pte->host_vpn,
slot              192 arch/powerpc/kvm/book3s_64_mmu_host.c 		cpte->slot = hpteg + (ret & 7);
slot             4405 arch/powerpc/kvm/book3s_hv.c 	if (log->slot >= KVM_USER_MEM_SLOTS)
slot             4409 arch/powerpc/kvm/book3s_hv.c 	memslot = id_to_memslot(slots, log->slot);
slot             4467 arch/powerpc/kvm/book3s_hv.c static int kvmppc_core_create_memslot_hv(struct kvm_memory_slot *slot,
slot             4470 arch/powerpc/kvm/book3s_hv.c 	slot->arch.rmap = vzalloc(array_size(npages, sizeof(*slot->arch.rmap)));
slot             4471 arch/powerpc/kvm/book3s_hv.c 	if (!slot->arch.rmap)
slot             1882 arch/powerpc/kvm/book3s_pr.c 		memslot = id_to_memslot(slots, log->slot);
slot             1928 arch/powerpc/kvm/book3s_pr.c static int kvmppc_core_create_memslot_pr(struct kvm_memory_slot *slot,
slot             1809 arch/powerpc/kvm/booke.c int kvmppc_core_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
slot              327 arch/powerpc/kvm/e500_mmu_host.c 	struct kvm_memory_slot *slot;
slot              353 arch/powerpc/kvm/e500_mmu_host.c 	slot = gfn_to_memslot(vcpu_e500->vcpu.kvm, gfn);
slot              354 arch/powerpc/kvm/e500_mmu_host.c 	hva = gfn_to_hva_memslot(slot, gfn);
slot              381 arch/powerpc/kvm/e500_mmu_host.c 			slot_start = pfn - (gfn - slot->base_gfn);
slot              382 arch/powerpc/kvm/e500_mmu_host.c 			slot_end = slot_start + slot->npages;
slot              449 arch/powerpc/kvm/e500_mmu_host.c 		pfn = gfn_to_pfn_memslot(slot, gfn);
slot              690 arch/powerpc/kvm/powerpc.c int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
slot              693 arch/powerpc/kvm/powerpc.c 	return kvmppc_core_create_memslot(kvm, slot, npages);
slot              714 arch/powerpc/kvm/powerpc.c 				   struct kvm_memory_slot *slot)
slot              716 arch/powerpc/kvm/powerpc.c 	kvmppc_core_flush_memslot(kvm, slot);
slot               27 arch/powerpc/mm/book3s64/hash_4k.c 	unsigned long vpn, hash, slot;
slot               86 arch/powerpc/mm/book3s64/hash_4k.c 		slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0,
slot               91 arch/powerpc/mm/book3s64/hash_4k.c 		if (unlikely(slot == -1)) {
slot               93 arch/powerpc/mm/book3s64/hash_4k.c 			slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa,
slot               98 arch/powerpc/mm/book3s64/hash_4k.c 			if (slot == -1) {
slot              113 arch/powerpc/mm/book3s64/hash_4k.c 		if (unlikely(slot == -2)) {
slot              120 arch/powerpc/mm/book3s64/hash_4k.c 		new_pte |= pte_set_hidx(ptep, rpte, 0, slot, PTRS_PER_PTE);
slot               45 arch/powerpc/mm/book3s64/hash_64k.c 	unsigned long vpn, hash, slot, gslot;
slot              160 arch/powerpc/mm/book3s64/hash_64k.c 	slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0,
slot              165 arch/powerpc/mm/book3s64/hash_64k.c 	if (unlikely(slot == -1)) {
slot              169 arch/powerpc/mm/book3s64/hash_64k.c 		slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa,
slot              174 arch/powerpc/mm/book3s64/hash_64k.c 		soft_invalid = hpte_soft_invalid(slot);
slot              182 arch/powerpc/mm/book3s64/hash_64k.c 			gslot = slot & _PTEIDX_GROUP_IX;
slot              188 arch/powerpc/mm/book3s64/hash_64k.c 		if (unlikely(slot == -1 || soft_invalid)) {
slot              209 arch/powerpc/mm/book3s64/hash_64k.c 	if (unlikely(slot == -2)) {
slot              216 arch/powerpc/mm/book3s64/hash_64k.c 	new_pte |= pte_set_hidx(ptep, rpte, subpg_index, slot, PTRS_PER_PTE);
slot              231 arch/powerpc/mm/book3s64/hash_64k.c 	unsigned long vpn, hash, slot;
slot              293 arch/powerpc/mm/book3s64/hash_64k.c 		slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0,
slot              299 arch/powerpc/mm/book3s64/hash_64k.c 		if (unlikely(slot == -1)) {
slot              301 arch/powerpc/mm/book3s64/hash_64k.c 			slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa,
slot              306 arch/powerpc/mm/book3s64/hash_64k.c 			if (slot == -1) {
slot              321 arch/powerpc/mm/book3s64/hash_64k.c 		if (unlikely(slot == -2)) {
slot              329 arch/powerpc/mm/book3s64/hash_64k.c 		new_pte |= pte_set_hidx(ptep, rpte, 0, slot, PTRS_PER_PTE);
slot               30 arch/powerpc/mm/book3s64/hash_hugepage.c 	unsigned long vpn, hash, shift, slot;
slot              109 arch/powerpc/mm/book3s64/hash_hugepage.c 		slot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
slot              110 arch/powerpc/mm/book3s64/hash_hugepage.c 		slot += hidx & _PTEIDX_GROUP_IX;
slot              112 arch/powerpc/mm/book3s64/hash_hugepage.c 		ret = mmu_hash_ops.hpte_updatepp(slot, rflags, vpn,
slot              140 arch/powerpc/mm/book3s64/hash_hugepage.c 		slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0,
slot              145 arch/powerpc/mm/book3s64/hash_hugepage.c 		if (unlikely(slot == -1)) {
slot              147 arch/powerpc/mm/book3s64/hash_hugepage.c 			slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa,
slot              151 arch/powerpc/mm/book3s64/hash_hugepage.c 			if (slot == -1) {
slot              164 arch/powerpc/mm/book3s64/hash_hugepage.c 		if (unlikely(slot == -2)) {
slot              175 arch/powerpc/mm/book3s64/hash_hugepage.c 		mark_hpte_slot_valid(hpte_slot_array, index, slot);
slot               33 arch/powerpc/mm/book3s64/hash_hugetlbpage.c 	long slot, offset;
slot              108 arch/powerpc/mm/book3s64/hash_hugetlbpage.c 		slot = hpte_insert_repeating(hash, vpn, pa, rflags, 0,
slot              115 arch/powerpc/mm/book3s64/hash_hugetlbpage.c 		if (unlikely(slot == -2)) {
slot              122 arch/powerpc/mm/book3s64/hash_hugetlbpage.c 		new_pte |= pte_set_hidx(ptep, rpte, 0, slot, offset);
slot              432 arch/powerpc/mm/book3s64/hash_native.c static long native_hpte_updatepp(unsigned long slot, unsigned long newpp,
slot              436 arch/powerpc/mm/book3s64/hash_native.c 	struct hash_pte *hptep = htab_address + slot;
slot              443 arch/powerpc/mm/book3s64/hash_native.c 		vpn, want_v & HPTE_V_AVPN, slot, newpp);
slot              490 arch/powerpc/mm/book3s64/hash_native.c 	long slot;
slot              497 arch/powerpc/mm/book3s64/hash_native.c 	slot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
slot              500 arch/powerpc/mm/book3s64/hash_native.c 		hptep = htab_address + slot;
slot              504 arch/powerpc/mm/book3s64/hash_native.c 			return slot;
slot              505 arch/powerpc/mm/book3s64/hash_native.c 		++slot;
slot              523 arch/powerpc/mm/book3s64/hash_native.c 	long slot;
slot              529 arch/powerpc/mm/book3s64/hash_native.c 	slot = native_hpte_find(vpn, psize, ssize);
slot              530 arch/powerpc/mm/book3s64/hash_native.c 	if (slot == -1)
slot              532 arch/powerpc/mm/book3s64/hash_native.c 	hptep = htab_address + slot;
slot              554 arch/powerpc/mm/book3s64/hash_native.c 	long slot;
slot              560 arch/powerpc/mm/book3s64/hash_native.c 	slot = native_hpte_find(vpn, psize, ssize);
slot              561 arch/powerpc/mm/book3s64/hash_native.c 	if (slot == -1)
slot              564 arch/powerpc/mm/book3s64/hash_native.c 	hptep = htab_address + slot;
slot              577 arch/powerpc/mm/book3s64/hash_native.c static void native_hpte_invalidate(unsigned long slot, unsigned long vpn,
slot              580 arch/powerpc/mm/book3s64/hash_native.c 	struct hash_pte *hptep = htab_address + slot;
slot              587 arch/powerpc/mm/book3s64/hash_native.c 	DBG_LOW("    invalidate(vpn=%016lx, hash: %lx)\n", vpn, slot);
slot              627 arch/powerpc/mm/book3s64/hash_native.c 	unsigned long hidx, vpn = 0, hash, slot;
slot              646 arch/powerpc/mm/book3s64/hash_native.c 		slot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
slot              647 arch/powerpc/mm/book3s64/hash_native.c 		slot += hidx & _PTEIDX_GROUP_IX;
slot              649 arch/powerpc/mm/book3s64/hash_native.c 		hptep = htab_address + slot;
slot              687 arch/powerpc/mm/book3s64/hash_native.c static void hpte_decode(struct hash_pte *hpte, unsigned long slot,
slot              714 arch/powerpc/mm/book3s64/hash_native.c 	pteg = slot / HPTES_PER_GROUP;
slot              766 arch/powerpc/mm/book3s64/hash_native.c 	unsigned long slot, slots;
slot              776 arch/powerpc/mm/book3s64/hash_native.c 	for (slot = 0; slot < slots; slot++, hptep++) {
slot              789 arch/powerpc/mm/book3s64/hash_native.c 			hpte_decode(hptep, slot, &psize, &apsize, &ssize, &vpn);
slot              805 arch/powerpc/mm/book3s64/hash_native.c 	unsigned long hash, index, hidx, shift, slot;
slot              831 arch/powerpc/mm/book3s64/hash_native.c 			slot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
slot              832 arch/powerpc/mm/book3s64/hash_native.c 			slot += hidx & _PTEIDX_GROUP_IX;
slot              833 arch/powerpc/mm/book3s64/hash_native.c 			hptep = htab_address + slot;
slot             1751 arch/powerpc/mm/book3s64/hash_utils.c 	unsigned long hidx, shift, vpn, hash, slot;
slot             1791 arch/powerpc/mm/book3s64/hash_utils.c 		slot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
slot             1792 arch/powerpc/mm/book3s64/hash_utils.c 		slot += hidx & _PTEIDX_GROUP_IX;
slot             1793 arch/powerpc/mm/book3s64/hash_utils.c 		mmu_hash_ops.hpte_invalidate(slot, vpn, psize,
slot             1842 arch/powerpc/mm/book3s64/hash_utils.c 	long slot;
slot             1848 arch/powerpc/mm/book3s64/hash_utils.c 	slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, vflags,
slot             1852 arch/powerpc/mm/book3s64/hash_utils.c 	if (unlikely(slot == -1)) {
slot             1854 arch/powerpc/mm/book3s64/hash_utils.c 		slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags,
slot             1857 arch/powerpc/mm/book3s64/hash_utils.c 		if (slot == -1) {
slot             1867 arch/powerpc/mm/book3s64/hash_utils.c 	return slot;
slot             1898 arch/powerpc/mm/book3s64/hash_utils.c 	unsigned long hash, hidx, slot;
slot             1910 arch/powerpc/mm/book3s64/hash_utils.c 	slot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
slot             1911 arch/powerpc/mm/book3s64/hash_utils.c 	slot += hidx & _PTEIDX_GROUP_IX;
slot             1912 arch/powerpc/mm/book3s64/hash_utils.c 	mmu_hash_ops.hpte_invalidate(slot, vpn, mmu_linear_psize,
slot              325 arch/powerpc/mm/ptdump/hashpagetable.c 	unsigned long slot;
slot              334 arch/powerpc/mm/ptdump/hashpagetable.c 	slot = base_hpte_find(ea, psize, true, &v, &r);
slot              337 arch/powerpc/mm/ptdump/hashpagetable.c 	if (slot == -1)
slot              338 arch/powerpc/mm/ptdump/hashpagetable.c 		slot = base_hpte_find(ea, psize, false, &v, &r);
slot              341 arch/powerpc/mm/ptdump/hashpagetable.c 	if (slot == -1)
slot              281 arch/powerpc/oprofile/op_model_power4.c 	unsigned long slot;
slot              290 arch/powerpc/oprofile/op_model_power4.c 		slot = ((mmcra & MMCRA_SLOT) >> MMCRA_SLOT_SHIFT);
slot              291 arch/powerpc/oprofile/op_model_power4.c 		if (slot > 1)
slot              292 arch/powerpc/oprofile/op_model_power4.c 			pc += 4 * (slot - 1);
slot              166 arch/powerpc/perf/core-book3s.c 		unsigned long slot = (mmcra & MMCRA_SLOT) >> MMCRA_SLOT_SHIFT;
slot              167 arch/powerpc/perf/core-book3s.c 		if (slot > 1)
slot              168 arch/powerpc/perf/core-book3s.c 			return 4 * (slot - 1);
slot              145 arch/powerpc/platforms/cell/spufs/backing_ops.c 		int slot = ctx->csa.spu_chnlcnt_RW[29];
slot              152 arch/powerpc/platforms/cell/spufs/backing_ops.c 		BUG_ON(avail != (4 - slot));
slot              153 arch/powerpc/platforms/cell/spufs/backing_ops.c 		ctx->csa.spu_mailbox_data[slot] = data;
slot              154 arch/powerpc/platforms/cell/spufs/backing_ops.c 		ctx->csa.spu_chnlcnt_RW[29] = ++slot;
slot              156 arch/powerpc/platforms/cell/spufs/backing_ops.c 		ctx->csa.prob.mb_stat_R |= (((4 - slot) & 0xff) << 8);
slot             1793 arch/powerpc/platforms/cell/spufs/file.c 	lscsa->decr.slot[0] = (u32) val;
slot             1802 arch/powerpc/platforms/cell/spufs/file.c 	return lscsa->decr.slot[0];
slot             1844 arch/powerpc/platforms/cell/spufs/file.c 	lscsa->event_mask.slot[0] = (u32) val;
slot             1853 arch/powerpc/platforms/cell/spufs/file.c 	return lscsa->event_mask.slot[0];
slot             1881 arch/powerpc/platforms/cell/spufs/file.c 	lscsa->srr0.slot[0] = (u32) val;
slot             1890 arch/powerpc/platforms/cell/spufs/file.c 	return lscsa->srr0.slot[0];
slot             2095 arch/powerpc/platforms/cell/spufs/file.c 	info.dma_info_mask = ctx->csa.lscsa->tag_mask.slot[0];
slot               79 arch/powerpc/platforms/cell/spufs/spu_restore.c 	decr_running = regs_spill[offset].slot[0] & SPU_DECR_STATUS_RUNNING;
slot               82 arch/powerpc/platforms/cell/spufs/spu_restore.c 		decr = regs_spill[offset].slot[0];
slot               97 arch/powerpc/platforms/cell/spufs/spu_restore.c 	data = regs_spill[offset].slot[0];
slot              111 arch/powerpc/platforms/cell/spufs/spu_restore.c 	data = regs_spill[offset].slot[0];
slot              138 arch/powerpc/platforms/cell/spufs/spu_restore.c 	srr0 = regs_spill[offset].slot[0];
slot              151 arch/powerpc/platforms/cell/spufs/spu_restore.c 	event_mask = regs_spill[offset].slot[0];
slot              164 arch/powerpc/platforms/cell/spufs/spu_restore.c 	tag_mask = regs_spill[offset].slot[0];
slot              192 arch/powerpc/platforms/cell/spufs/spu_restore.c 	stopped_status = regs_spill[offset].slot[0];
slot              193 arch/powerpc/platforms/cell/spufs/spu_restore.c 	stopped_code = regs_spill[offset].slot[1];
slot               33 arch/powerpc/platforms/cell/spufs/spu_save.c 	regs_spill[offset].slot[0] = spu_readch(SPU_RdEventMask);
slot               44 arch/powerpc/platforms/cell/spufs/spu_save.c 	regs_spill[offset].slot[0] = spu_readch(MFC_RdTagMask);
slot               89 arch/powerpc/platforms/cell/spufs/spu_save.c 	regs_spill[offset].slot[0] = spu_readch(SPU_RdDec);
slot              101 arch/powerpc/platforms/cell/spufs/spu_save.c 	regs_spill[offset].slot[0] = spu_readch(SPU_RdSRR0);
slot               23 arch/powerpc/platforms/cell/spufs/spu_utils.h 	unsigned int slot[4];
slot               51 arch/powerpc/platforms/cell/spufs/spu_utils.h 	((char *)(&(dummy->_field)) - (char *)(&(dummy->gprs[0].slot[0])))
slot             1143 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_P_I;
slot             1144 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[1] = status_code;
slot             1152 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_P_H;
slot             1153 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[1] = status_code;
slot             1160 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_S_P;
slot             1161 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[1] = status_code;
slot             1168 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_S_I;
slot             1169 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[1] = status_code;
slot             1176 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_P;
slot             1177 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[1] = status_code;
slot             1184 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_H;
slot             1190 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_S;
slot             1197 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_I;
slot             1222 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->stopped_status.slot[0] = SPU_STOPPED_STATUS_R;
slot             1267 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->decr_status.slot[0] = SPU_DECR_STATUS_RUNNING;
slot             1268 arch/powerpc/platforms/cell/spufs/switch.c 		if (csa->lscsa->decr.slot[0] < delta_time) {
slot             1269 arch/powerpc/platforms/cell/spufs/switch.c 			csa->lscsa->decr_status.slot[0] |=
slot             1273 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->decr.slot[0] -= delta_time;
slot             1275 arch/powerpc/platforms/cell/spufs/switch.c 		csa->lscsa->decr_status.slot[0] = 0;
slot             1284 arch/powerpc/platforms/cell/spufs/switch.c 	csa->lscsa->ppu_mb.slot[0] = csa->prob.pu_mb_R;
slot             1292 arch/powerpc/platforms/cell/spufs/switch.c 	csa->lscsa->ppuint_mb.slot[0] = csa->priv2.puint_mb_R;
slot             1546 arch/powerpc/platforms/cell/spufs/switch.c 	if (!(csa->lscsa->decr_status.slot[0] & SPU_DECR_STATUS_WRAPPED))
slot               99 arch/powerpc/platforms/ps3/htab.c static long ps3_hpte_updatepp(unsigned long slot, unsigned long newpp,
slot              113 arch/powerpc/platforms/ps3/htab.c 	result = lv1_read_htab_entries(PS3_LPAR_VAS_ID_CURRENT, slot & ~0x3UL,
slot              120 arch/powerpc/platforms/ps3/htab.c 			__func__, ps3_result(result), vpn, slot, psize);
slot              124 arch/powerpc/platforms/ps3/htab.c 	hpte_v = hpte_v_array[slot % 4];
slot              139 arch/powerpc/platforms/ps3/htab.c 					      slot, 0, 0);
slot              153 arch/powerpc/platforms/ps3/htab.c static void ps3_hpte_invalidate(unsigned long slot, unsigned long vpn,
slot              161 arch/powerpc/platforms/ps3/htab.c 	result = lv1_write_htab_entry(PS3_LPAR_VAS_ID_CURRENT, slot, 0, 0);
slot              165 arch/powerpc/platforms/ps3/htab.c 			__func__, ps3_result(result), vpn, slot, psize);
slot              712 arch/powerpc/platforms/pseries/lpar.c 	unsigned long slot;
slot              737 arch/powerpc/platforms/pseries/lpar.c 	lpar_rc = plpar_pte_enter(flags, hpte_group, hpte_v, hpte_r, &slot);
slot              753 arch/powerpc/platforms/pseries/lpar.c 		pr_devel(" -> slot: %lu\n", slot & 7);
slot              758 arch/powerpc/platforms/pseries/lpar.c 	return (slot & 7) | (!!(vflags & HPTE_V_SECONDARY) << 3);
slot              869 arch/powerpc/platforms/pseries/lpar.c static long pSeries_lpar_hpte_updatepp(unsigned long slot,
slot              887 arch/powerpc/platforms/pseries/lpar.c 		 want_v, slot, flags, psize);
slot              889 arch/powerpc/platforms/pseries/lpar.c 	lpar_rc = plpar_pte_protect(flags, slot, want_v);
slot              933 arch/powerpc/platforms/pseries/lpar.c 	long slot;
slot              943 arch/powerpc/platforms/pseries/lpar.c 	slot = __pSeries_lpar_hpte_find(want_v, hpte_group);
slot              944 arch/powerpc/platforms/pseries/lpar.c 	if (slot < 0)
slot              946 arch/powerpc/platforms/pseries/lpar.c 	return hpte_group + slot;
slot              954 arch/powerpc/platforms/pseries/lpar.c 	unsigned long lpar_rc, slot, vsid, flags;
slot              959 arch/powerpc/platforms/pseries/lpar.c 	slot = pSeries_lpar_hpte_find(vpn, psize, ssize);
slot              960 arch/powerpc/platforms/pseries/lpar.c 	BUG_ON(slot == -1);
slot              967 arch/powerpc/platforms/pseries/lpar.c 	lpar_rc = plpar_pte_protect(flags, slot, 0);
slot              972 arch/powerpc/platforms/pseries/lpar.c static void pSeries_lpar_hpte_invalidate(unsigned long slot, unsigned long vpn,
slot              981 arch/powerpc/platforms/pseries/lpar.c 		 slot, vpn, psize, local);
slot              984 arch/powerpc/platforms/pseries/lpar.c 	lpar_rc = plpar_pte_remove(H_AVPN, slot, want_v, &dummy1, &dummy2);
slot             1082 arch/powerpc/platforms/pseries/lpar.c static void hugepage_block_invalidate(unsigned long *slot, unsigned long *vpn,
slot             1109 arch/powerpc/platforms/pseries/lpar.c 		param[pix++] = HBR_REQUEST | HBLKR_AVPN | slot[i];
slot             1128 arch/powerpc/platforms/pseries/lpar.c static void hugepage_bulk_invalidate(unsigned long *slot, unsigned long *vpn,
slot             1137 arch/powerpc/platforms/pseries/lpar.c 			pSeries_lpar_hpte_invalidate(slot[i], vpn[i], psize, 0,
slot             1140 arch/powerpc/platforms/pseries/lpar.c 			param[pix] = HBR_REQUEST | HBR_AVPN | slot[i];
slot             1162 arch/powerpc/platforms/pseries/lpar.c static inline void __pSeries_lpar_hugepage_invalidate(unsigned long *slot,
slot             1175 arch/powerpc/platforms/pseries/lpar.c 		hugepage_block_invalidate(slot, vpn, count, psize, ssize);
slot             1177 arch/powerpc/platforms/pseries/lpar.c 		hugepage_bulk_invalidate(slot, vpn, count, psize, ssize);
slot             1193 arch/powerpc/platforms/pseries/lpar.c 	unsigned long shift, hidx, vpn = 0, hash, slot;
slot             1211 arch/powerpc/platforms/pseries/lpar.c 		slot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
slot             1212 arch/powerpc/platforms/pseries/lpar.c 		slot += hidx & _PTEIDX_GROUP_IX;
slot             1214 arch/powerpc/platforms/pseries/lpar.c 		slot_array[index] = slot;
slot             1246 arch/powerpc/platforms/pseries/lpar.c 	unsigned long slot, vsid;
slot             1251 arch/powerpc/platforms/pseries/lpar.c 	slot = pSeries_lpar_hpte_find(vpn, psize, ssize);
slot             1252 arch/powerpc/platforms/pseries/lpar.c 	if (slot == -1)
slot             1258 arch/powerpc/platforms/pseries/lpar.c 	pSeries_lpar_hpte_invalidate(slot, vpn, psize, 0, ssize, 0);
slot             1269 arch/powerpc/platforms/pseries/lpar.c 	unsigned long slot, hash, hidx;
slot             1275 arch/powerpc/platforms/pseries/lpar.c 	slot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
slot             1276 arch/powerpc/platforms/pseries/lpar.c 	slot += hidx & _PTEIDX_GROUP_IX;
slot             1277 arch/powerpc/platforms/pseries/lpar.c 	return slot;
slot             1289 arch/powerpc/platforms/pseries/lpar.c 	unsigned long index, shift, slot, current_vpgb, vpgb;
slot             1319 arch/powerpc/platforms/pseries/lpar.c 			slot = compute_slot(pte, vpn, index, shift, ssize);
slot             1320 arch/powerpc/platforms/pseries/lpar.c 			param[pix++] = HBR_REQUEST | HBLKR_AVPN | slot;
slot             1488 arch/powerpc/platforms/pseries/lpar.c 	unsigned long index, shift, slot;
slot             1507 arch/powerpc/platforms/pseries/lpar.c 			slot = compute_slot(pte, vpn, index, shift, ssize);
slot             1512 arch/powerpc/platforms/pseries/lpar.c 				pSeries_lpar_hpte_invalidate(slot, vpn, psize,
slot             1515 arch/powerpc/platforms/pseries/lpar.c 				param[pix] = HBR_REQUEST | HBR_AVPN | slot;
slot              227 arch/powerpc/sysdev/fsl_rmu.c 		int slot = (dqp - rmu->msg_tx_ring.phys) >> 5;
slot              231 arch/powerpc/sysdev/fsl_rmu.c 					slot);
slot              923 arch/s390/include/asm/kvm_host.h 		struct kvm_memory_slot *slot) {}
slot              627 arch/s390/kvm/kvm-s390.c 	if (log->slot >= KVM_USER_MEM_SLOTS)
slot              631 arch/s390/kvm/kvm-s390.c 	memslot = id_to_memslot(slots, log->slot);
slot             1919 arch/s390/kvm/kvm-s390.c 	int slot = atomic_read(&slots->lru_slot);
slot             1922 arch/s390/kvm/kvm-s390.c 	if (gfn >= memslots[slot].base_gfn &&
slot             1923 arch/s390/kvm/kvm-s390.c 	    gfn < memslots[slot].base_gfn + memslots[slot].npages)
slot             1924 arch/s390/kvm/kvm-s390.c 		return slot;
slot             1927 arch/s390/kvm/kvm-s390.c 		slot = start + (end - start) / 2;
slot             1929 arch/s390/kvm/kvm-s390.c 		if (gfn >= memslots[slot].base_gfn)
slot             1930 arch/s390/kvm/kvm-s390.c 			end = slot;
slot             1932 arch/s390/kvm/kvm-s390.c 			start = slot + 1;
slot             4498 arch/s390/kvm/kvm-s390.c int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
slot              131 arch/s390/mm/gmap.c 	void __rcu **slot;
slot              138 arch/s390/mm/gmap.c 		radix_tree_for_each_slot(slot, root, &iter, index) {
slot              156 arch/s390/mm/gmap.c 	void __rcu **slot;
slot              163 arch/s390/mm/gmap.c 		radix_tree_for_each_slot(slot, root, &iter, index) {
slot             1180 arch/s390/mm/gmap.c 	void __rcu **slot;
slot             1183 arch/s390/mm/gmap.c 	slot = radix_tree_lookup_slot(&sg->host_to_rmap, vmaddr >> PAGE_SHIFT);
slot             1184 arch/s390/mm/gmap.c 	if (slot) {
slot             1185 arch/s390/mm/gmap.c 		rmap->next = radix_tree_deref_slot_protected(slot,
slot             1187 arch/s390/mm/gmap.c 		radix_tree_replace_slot(&sg->host_to_rmap, slot, rmap);
slot                9 arch/sh/drivers/pci/fixups-cayman.c int pcibios_map_platform_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               33 arch/sh/drivers/pci/fixups-cayman.c 		int slot;
slot               40 arch/sh/drivers/pci/fixups-cayman.c 		slot = path[i].slot = PCI_SLOT(dev->devfn);
slot               47 arch/sh/drivers/pci/fixups-cayman.c 	slot = PCI_SLOT(dev->devfn);
slot               52 arch/sh/drivers/pci/fixups-cayman.c 	if ((slot < 3) || (i == 0)) {
slot               58 arch/sh/drivers/pci/fixups-cayman.c 		slot = path[i].slot;
slot               60 arch/sh/drivers/pci/fixups-cayman.c 		if (slot > 0) {
slot               66 arch/sh/drivers/pci/fixups-cayman.c 				slot = path[i].slot;
slot               74 arch/sh/drivers/pci/fixups-dreamcast.c int pcibios_map_platform_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               21 arch/sh/drivers/pci/fixups-landisk.c int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
slot               29 arch/sh/drivers/pci/fixups-landisk.c 	int irq = ((slot + pin - 1) & 0x3) + evt2irq(0x2a0);
slot               31 arch/sh/drivers/pci/fixups-landisk.c 	if ((slot | (pin - 1)) > 0x3) {
slot               33 arch/sh/drivers/pci/fixups-landisk.c 		       slot, pin - 1 + 'A');
slot               15 arch/sh/drivers/pci/fixups-r7780rp.c int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
slot               17 arch/sh/drivers/pci/fixups-r7780rp.c 	return evt2irq(0xa20) + slot;
slot               31 arch/sh/drivers/pci/fixups-rts7751r2d.c int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
slot               34 arch/sh/drivers/pci/fixups-rts7751r2d.c 		return lboxre2_irq_tab[slot];
slot               36 arch/sh/drivers/pci/fixups-rts7751r2d.c 		return rts7751r2d_irq_tab[slot];
slot               37 arch/sh/drivers/pci/fixups-sdk7780.c int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
slot               39 arch/sh/drivers/pci/fixups-sdk7780.c        return sdk7780_irq_tab[pin-1][slot];
slot               11 arch/sh/drivers/pci/fixups-se7751.c int pcibios_map_platform_irq(const struct pci_dev *, u8 slot, u8 pin)
slot               13 arch/sh/drivers/pci/fixups-se7751.c         switch (slot) {
slot               20 arch/sh/drivers/pci/fixups-se7751.c                 printk("PCI: Bad IRQ mapping request for slot %d\n", slot);
slot                8 arch/sh/drivers/pci/fixups-sh03.c int pcibios_map_platform_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               13 arch/sh/drivers/pci/fixups-sh03.c 		switch (slot) {
slot               19 arch/sh/drivers/pci/fixups-sh03.c 					"for slot %d\n", slot);
slot               20 arch/sh/drivers/pci/fixups-snapgear.c int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
slot               24 arch/sh/drivers/pci/fixups-snapgear.c 	switch (slot) {
slot               34 arch/sh/drivers/pci/fixups-snapgear.c 	       slot, pin - 1 + 'A', irq);
slot               28 arch/sh/drivers/pci/fixups-titan.c int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
slot               30 arch/sh/drivers/pci/fixups-titan.c 	int irq = titan_irq_tab[slot];
slot               33 arch/sh/drivers/pci/fixups-titan.c 		slot, pin - 1 + 'A', irq);
slot              483 arch/sh/drivers/pci/pcie-sh7786.c int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
slot               83 arch/sh/include/asm/pci.h int pcibios_map_platform_irq(const struct pci_dev *dev, u8 slot, u8 pin);
slot              235 arch/sh/include/asm/pgtable_32.h #define PAGE_KERNEL_PCC(slot, type) \
slot              269 arch/sh/include/asm/pgtable_32.h #define PAGE_KERNEL_PCC(slot, type) \
slot              272 arch/sh/include/asm/pgtable_32.h 				 (slot ? _PAGE_PCC_AREA5 : _PAGE_PCC_AREA6) | \
slot              286 arch/sh/include/asm/pgtable_32.h #define PAGE_KERNEL_PCC(slot, type) \
slot               45 arch/sh/include/asm/tlb_64.h static inline void __flush_tlb_slot(unsigned long long slot)
slot               47 arch/sh/include/asm/tlb_64.h 	__asm__ __volatile__ ("putcfg %0, 0, r63\n" : : "r" (slot));
slot               53 arch/sh/kernel/hw_breakpoint.c 		struct perf_event **slot = this_cpu_ptr(&bp_per_reg[i]);
slot               55 arch/sh/kernel/hw_breakpoint.c 		if (!*slot) {
slot               56 arch/sh/kernel/hw_breakpoint.c 			*slot = bp;
slot               85 arch/sh/kernel/hw_breakpoint.c 		struct perf_event **slot = this_cpu_ptr(&bp_per_reg[i]);
slot               87 arch/sh/kernel/hw_breakpoint.c 		if (*slot == bp) {
slot               88 arch/sh/kernel/hw_breakpoint.c 			*slot = NULL;
slot               54 arch/sh/mm/ioremap_fixed.c 	int i, slot;
slot               63 arch/sh/mm/ioremap_fixed.c 	slot = -1;
slot               68 arch/sh/mm/ioremap_fixed.c 			slot = i;
slot               73 arch/sh/mm/ioremap_fixed.c 	if (slot < 0)
slot               86 arch/sh/mm/ioremap_fixed.c 	idx0 = FIX_IOREMAP_BEGIN + slot;
slot              105 arch/sh/mm/ioremap_fixed.c 	int i, slot;
slot              107 arch/sh/mm/ioremap_fixed.c 	slot = -1;
slot              111 arch/sh/mm/ioremap_fixed.c 			slot = i;
slot              119 arch/sh/mm/ioremap_fixed.c 	if (slot < 0)
slot              124 arch/sh/mm/ioremap_fixed.c 	idx = FIX_IOREMAP_BEGIN + slot + nrpages - 1;
slot               17 arch/sparc/include/asm/leon_pci.h 	int (*map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
slot              117 arch/sparc/include/asm/parport.h 	int slot, err;
slot              130 arch/sparc/include/asm/parport.h 	for (slot = 0; slot < PARPORT_PC_MAX_PORTS; slot++) {
slot              131 arch/sparc/include/asm/parport.h 		if (!test_and_set_bit(slot, dma_slot_map))
slot              135 arch/sparc/include/asm/parport.h 	if (slot >= PARPORT_PC_MAX_PORTS)
slot              138 arch/sparc/include/asm/parport.h 	spin_lock_init(&sparc_ebus_dmas[slot].info.lock);
slot              141 arch/sparc/include/asm/parport.h 	sparc_ebus_dmas[slot].info.regs =
slot              144 arch/sparc/include/asm/parport.h 	if (!sparc_ebus_dmas[slot].info.regs)
slot              147 arch/sparc/include/asm/parport.h 	sparc_ebus_dmas[slot].info.flags = 0;
slot              148 arch/sparc/include/asm/parport.h 	sparc_ebus_dmas[slot].info.callback = NULL;
slot              149 arch/sparc/include/asm/parport.h 	sparc_ebus_dmas[slot].info.client_cookie = NULL;
slot              150 arch/sparc/include/asm/parport.h 	sparc_ebus_dmas[slot].info.irq = 0xdeadbeef;
slot              151 arch/sparc/include/asm/parport.h 	strcpy(sparc_ebus_dmas[slot].info.name, "parport");
slot              152 arch/sparc/include/asm/parport.h 	if (ebus_dma_register(&sparc_ebus_dmas[slot].info))
slot              155 arch/sparc/include/asm/parport.h 	ebus_dma_irq_enable(&sparc_ebus_dmas[slot].info, 1);
slot              173 arch/sparc/include/asm/parport.h 				  slot,
slot              185 arch/sparc/include/asm/parport.h 	ebus_dma_irq_enable(&sparc_ebus_dmas[slot].info, 0);
slot              186 arch/sparc/include/asm/parport.h 	ebus_dma_unregister(&sparc_ebus_dmas[slot].info);
slot              189 arch/sparc/include/asm/parport.h 	of_iounmap(&op->resource[2], sparc_ebus_dmas[slot].info.regs, d_len);
slot              192 arch/sparc/include/asm/parport.h 	clear_bit(slot, dma_slot_map);
slot              201 arch/sparc/include/asm/parport.h 	int slot = p->dma;
slot              205 arch/sparc/include/asm/parport.h 	if (slot != PARPORT_DMA_NOFIFO) {
slot              211 arch/sparc/include/asm/parport.h 		ebus_dma_irq_enable(&sparc_ebus_dmas[slot].info, 0);
slot              212 arch/sparc/include/asm/parport.h 		ebus_dma_unregister(&sparc_ebus_dmas[slot].info);
slot              214 arch/sparc/include/asm/parport.h 			   sparc_ebus_dmas[slot].info.regs,
slot              216 arch/sparc/include/asm/parport.h 		clear_bit(slot, dma_slot_map);
slot              239 arch/sparc/kernel/kprobes.c 	unsigned long *slot = NULL;
slot              243 arch/sparc/kernel/kprobes.c 		slot = &regs->u_regs[UREG_I7];
slot              251 arch/sparc/kernel/kprobes.c 			slot = &regs->u_regs[rd];
slot              257 arch/sparc/kernel/kprobes.c 			slot = (unsigned long *)
slot              259 arch/sparc/kernel/kprobes.c 			slot += rd;
slot              262 arch/sparc/kernel/kprobes.c 	if (slot != NULL)
slot              263 arch/sparc/kernel/kprobes.c 		*slot = real_pc;
slot              105 arch/sparc/kernel/leon_pci_grpci1.c static int grpci1_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              111 arch/sparc/kernel/leon_pci_grpci1.c 	irq_group = slot & 0x3;
slot              222 arch/sparc/kernel/leon_pci_grpci2.c static int grpci2_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              228 arch/sparc/kernel/leon_pci_grpci2.c 	irq_group = slot & 0x3;
slot              485 arch/sparc/kernel/of_device_64.c 	unsigned int bus, devfn, slot, ret;
slot              496 arch/sparc/kernel/of_device_64.c 	slot = (devfn >> 3) & 0x1f;
slot              513 arch/sparc/kernel/of_device_64.c 			slot = (slot - 1) << 2;
slot              517 arch/sparc/kernel/of_device_64.c 			slot = (slot - 2) << 2;
slot              521 arch/sparc/kernel/of_device_64.c 		ret = (bus | slot | irq);
slot              526 arch/sparc/kernel/of_device_64.c 		ret = ((irq - 1 + (slot & 3)) & 3) + 1;
slot               22 arch/sparc/kernel/prom_irqtrans.c 	unsigned int slot = (ino & 0x0c) >> 2;
slot               25 arch/sparc/kernel/prom_irqtrans.c 		return PSYCHO_IMAP_A_SLOT0 + (slot * 8);
slot               27 arch/sparc/kernel/prom_irqtrans.c 		return PSYCHO_IMAP_B_SLOT0 + (slot * 8);
slot              165 arch/sparc/kernel/prom_irqtrans.c 	unsigned int slot = (ino & 0x0c) >> 2;
slot              168 arch/sparc/kernel/prom_irqtrans.c 		return SABRE_IMAP_A_SLOT0 + (slot * 8);
slot              170 arch/sparc/kernel/prom_irqtrans.c 		return SABRE_IMAP_B_SLOT0 + (slot * 8);
slot               66 arch/sparc/kernel/sbus.c 	int slot;
slot               75 arch/sparc/kernel/sbus.c 	slot = regs->which_io;
slot               78 arch/sparc/kernel/sbus.c 	switch (slot) {
slot               38 arch/sparc/kernel/sun4d_irq.c static unsigned int sun4d_encode_irq(int board, int lvl, int slot)
slot               40 arch/sparc/kernel/sun4d_irq.c 	return (board + 1) << 5 | (lvl << 2) | slot;
slot              101 arch/sparc/kernel/sun4d_irq.c 	unsigned int sbino, slot;
slot              123 arch/sparc/kernel/sun4d_irq.c 		slot = (1 << sbil);
slot              124 arch/sparc/kernel/sun4d_irq.c 		for (idx = 0; mask != 0; idx++, slot <<= 1) {
slot              128 arch/sparc/kernel/sun4d_irq.c 			if (!(mask & slot))
slot              131 arch/sparc/kernel/sun4d_irq.c 			mask &= ~slot;
slot              142 arch/sparc/kernel/sun4d_irq.c 			release_sbi(SBI2DEVID(sbino), slot);
slot              333 arch/sparc/kernel/sun4d_irq.c 	int board, slot;
slot              357 arch/sparc/kernel/sun4d_irq.c 	slot = regs->which_io;
slot              378 arch/sparc/kernel/sun4d_irq.c 		pil = sun4d_encode_irq(board, sbusl, slot);
slot              126 arch/sparc/kernel/uprobes.c 	unsigned long *slot = NULL;
slot              131 arch/sparc/kernel/uprobes.c 		slot = &regs->u_regs[UREG_I7];
slot              138 arch/sparc/kernel/uprobes.c 			slot = &regs->u_regs[rd];
slot              156 arch/sparc/kernel/uprobes.c 	if (slot != NULL)
slot              157 arch/sparc/kernel/uprobes.c 		*slot = real_pc;
slot              100 arch/unicore32/kernel/pci.c static int pci_puv3_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              554 arch/x86/boot/compressed/kaslr.c 	unsigned long slot;
slot              561 arch/x86/boot/compressed/kaslr.c 	slot = kaslr_get_random_long("Physical") % slot_max;
slot              564 arch/x86/boot/compressed/kaslr.c 		if (slot >= slot_areas[i].num) {
slot              565 arch/x86/boot/compressed/kaslr.c 			slot -= slot_areas[i].num;
slot              568 arch/x86/boot/compressed/kaslr.c 		return slot_areas[i].addr + slot * CONFIG_PHYSICAL_ALIGN;
slot             1156 arch/x86/include/asm/kvm_host.h 				      struct kvm_memory_slot *slot);
slot             1158 arch/x86/include/asm/kvm_host.h 				       struct kvm_memory_slot *slot);
slot             1161 arch/x86/include/asm/kvm_host.h 					   struct kvm_memory_slot *slot,
slot             1277 arch/x86/include/asm/kvm_host.h 				   struct kvm_memory_slot *slot,
slot               45 arch/x86/include/asm/kvm_page_track.h 	void (*track_flush_slot)(struct kvm *kvm, struct kvm_memory_slot *slot,
slot               54 arch/x86/include/asm/kvm_page_track.h int kvm_page_track_create_memslot(struct kvm_memory_slot *slot,
slot               58 arch/x86/include/asm/kvm_page_track.h 				  struct kvm_memory_slot *slot, gfn_t gfn,
slot               61 arch/x86/include/asm/kvm_page_track.h 				     struct kvm_memory_slot *slot, gfn_t gfn,
slot               74 arch/x86/include/asm/kvm_page_track.h void kvm_page_track_flush_slot(struct kvm *kvm, struct kvm_memory_slot *slot);
slot               67 arch/x86/include/asm/mmu_context.h 	int			slot;
slot               73 arch/x86/include/asm/mmu_context.h static inline void *ldt_slot_va(int slot)
slot               75 arch/x86/include/asm/mmu_context.h 	return (void *)(LDT_BASE_ADDR + LDT_SLOT_STRIDE * slot);
slot              124 arch/x86/include/asm/mmu_context.h 			if (WARN_ON_ONCE((unsigned long)ldt->slot > 1)) {
slot              140 arch/x86/include/asm/mmu_context.h 			set_ldt(ldt_slot_va(ldt->slot), ldt->nr_entries);
slot               10 arch/x86/include/asm/pci-direct.h extern u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset);
slot               11 arch/x86/include/asm/pci-direct.h extern u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset);
slot               12 arch/x86/include/asm/pci-direct.h extern u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset);
slot               13 arch/x86/include/asm/pci-direct.h extern void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, u32 val);
slot               14 arch/x86/include/asm/pci-direct.h extern void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val);
slot               15 arch/x86/include/asm/pci-direct.h extern void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val);
slot               74 arch/x86/include/asm/pci_x86.h 	u8 slot;			/* Slot number, 0=onboard */
slot              156 arch/x86/include/asm/topology.h static inline void arch_fix_phys_package_id(int num, u32 slot)
slot               56 arch/x86/include/uapi/asm/kvm.h 	__u32 slot;  /* this has a different namespace than memory slots */
slot              130 arch/x86/kernel/aperture_64.c static u32 __init find_cap(int bus, int slot, int func, int cap)
slot              135 arch/x86/kernel/aperture_64.c 	if (!(read_pci_config_16(bus, slot, func, PCI_STATUS) &
slot              139 arch/x86/kernel/aperture_64.c 	pos = read_pci_config_byte(bus, slot, func, PCI_CAPABILITY_LIST);
slot              144 arch/x86/kernel/aperture_64.c 		id = read_pci_config_byte(bus, slot, func, pos+PCI_CAP_LIST_ID);
slot              149 arch/x86/kernel/aperture_64.c 		pos = read_pci_config_byte(bus, slot, func,
slot              156 arch/x86/kernel/aperture_64.c static u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order)
slot              165 arch/x86/kernel/aperture_64.c 	pr_info("pci 0000:%02x:%02x:%02x: AGP bridge\n", bus, slot, func);
slot              166 arch/x86/kernel/aperture_64.c 	apsizereg = read_pci_config_16(bus, slot, func, cap + 0x14);
slot              169 arch/x86/kernel/aperture_64.c 		       bus, slot, func);
slot              185 arch/x86/kernel/aperture_64.c 	aper_low = read_pci_config(bus, slot, func, 0x10);
slot              186 arch/x86/kernel/aperture_64.c 	aper_hi = read_pci_config(bus, slot, func, 0x14);
slot              194 arch/x86/kernel/aperture_64.c 		bus, slot, func, aper, aper + (32ULL << (old_order + 20)) - 1,
slot              198 arch/x86/kernel/aperture_64.c 			bus, slot, func, 32 << *order, apsizereg);
slot              203 arch/x86/kernel/aperture_64.c 		bus, slot, func, aper, aper + (32ULL << (*order + 20)) - 1,
slot              226 arch/x86/kernel/aperture_64.c 	int bus, slot, func;
slot              230 arch/x86/kernel/aperture_64.c 		for (slot = 0; slot < 32; slot++) {
slot              234 arch/x86/kernel/aperture_64.c 				class = read_pci_config(bus, slot, func,
slot              243 arch/x86/kernel/aperture_64.c 					cap = find_cap(bus, slot, func,
slot              248 arch/x86/kernel/aperture_64.c 					return read_agp(bus, slot, func, cap,
slot              253 arch/x86/kernel/aperture_64.c 				type = read_pci_config_byte(bus, slot, func,
slot              291 arch/x86/kernel/aperture_64.c 	int i, fix, slot, valid_agp = 0;
slot              315 arch/x86/kernel/aperture_64.c 		for (slot = dev_base; slot < dev_limit; slot++) {
slot              316 arch/x86/kernel/aperture_64.c 			if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00)))
slot              319 arch/x86/kernel/aperture_64.c 			ctl = read_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL);
slot              323 arch/x86/kernel/aperture_64.c 			aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff;
slot              371 arch/x86/kernel/aperture_64.c 		for (slot = dev_base; slot < dev_limit; slot++) {
slot              372 arch/x86/kernel/aperture_64.c 			if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00)))
slot              375 arch/x86/kernel/aperture_64.c 			ctl = read_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL);
slot              377 arch/x86/kernel/aperture_64.c 			write_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL, ctl);
slot              390 arch/x86/kernel/aperture_64.c 	int fix, slot, valid_agp = 0;
slot              416 arch/x86/kernel/aperture_64.c 		for (slot = dev_base; slot < dev_limit; slot++) {
slot              417 arch/x86/kernel/aperture_64.c 			if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00)))
slot              424 arch/x86/kernel/aperture_64.c 			ctl = read_pci_config(bus, slot, 3,
slot              434 arch/x86/kernel/aperture_64.c 			write_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL, ctl);
slot              438 arch/x86/kernel/aperture_64.c 			aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff;
slot              544 arch/x86/kernel/aperture_64.c 		for (slot = dev_base; slot < dev_limit; slot++) {
slot              545 arch/x86/kernel/aperture_64.c 			if (!early_is_amd_nb(read_pci_config(bus, slot, 3, 0x00)))
slot              548 arch/x86/kernel/aperture_64.c 			write_pci_config(bus, slot, 3, AMD64_GARTAPERTURECTL, ctl);
slot              549 arch/x86/kernel/aperture_64.c 			write_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE, aper_alloc >> 25);
slot             1148 arch/x86/kernel/apic/io_apic.c int IO_APIC_get_PCI_irq_vector(int bus, int slot, int pin)
slot             1154 arch/x86/kernel/apic/io_apic.c 		    bus, slot, pin);
slot             1166 arch/x86/kernel/apic/io_apic.c 		    slot != ((mp_irqs[i].srcbusirq >> 2) & 0x1f))
slot              336 arch/x86/kernel/cpu/cacheinfo.c static int amd_get_l3_disable_slot(struct amd_northbridge *nb, unsigned slot)
slot              340 arch/x86/kernel/cpu/cacheinfo.c 	pci_read_config_dword(nb->misc, 0x1BC + slot * 4, &reg);
slot              350 arch/x86/kernel/cpu/cacheinfo.c 				  unsigned int slot)
slot              355 arch/x86/kernel/cpu/cacheinfo.c 	index = amd_get_l3_disable_slot(nb, slot);
slot              362 arch/x86/kernel/cpu/cacheinfo.c #define SHOW_CACHE_DISABLE(slot)					\
slot              364 arch/x86/kernel/cpu/cacheinfo.c cache_disable_##slot##_show(struct device *dev,				\
slot              368 arch/x86/kernel/cpu/cacheinfo.c 	return show_cache_disable(this_leaf, buf, slot);		\
slot              374 arch/x86/kernel/cpu/cacheinfo.c 				 unsigned slot, unsigned long idx)
slot              389 arch/x86/kernel/cpu/cacheinfo.c 		pci_write_config_dword(nb->misc, 0x1BC + slot * 4, reg);
slot              399 arch/x86/kernel/cpu/cacheinfo.c 		pci_write_config_dword(nb->misc, 0x1BC + slot * 4, reg);
slot              414 arch/x86/kernel/cpu/cacheinfo.c 			    unsigned slot, unsigned long index)
slot              419 arch/x86/kernel/cpu/cacheinfo.c 	ret = amd_get_l3_disable_slot(nb, slot);
slot              427 arch/x86/kernel/cpu/cacheinfo.c 	if (index == amd_get_l3_disable_slot(nb, !slot))
slot              430 arch/x86/kernel/cpu/cacheinfo.c 	amd_l3_disable_index(nb, cpu, slot, index);
slot              437 arch/x86/kernel/cpu/cacheinfo.c 				   unsigned int slot)
slot              451 arch/x86/kernel/cpu/cacheinfo.c 	err = amd_set_l3_disable_slot(nb, cpu, slot, val);
slot              455 arch/x86/kernel/cpu/cacheinfo.c 				   slot);
slot              461 arch/x86/kernel/cpu/cacheinfo.c #define STORE_CACHE_DISABLE(slot)					\
slot              463 arch/x86/kernel/cpu/cacheinfo.c cache_disable_##slot##_store(struct device *dev,			\
slot              468 arch/x86/kernel/cpu/cacheinfo.c 	return store_cache_disable(this_leaf, buf, count, slot);	\
slot               31 arch/x86/kernel/early-quirks.c static void __init fix_hypertransport_config(int num, int slot, int func)
slot               40 arch/x86/kernel/early-quirks.c 	htcfg = read_pci_config(num, slot, func, 0x68);
slot               50 arch/x86/kernel/early-quirks.c 			write_pci_config(num, slot, func, 0x68, htcfg);
slot               57 arch/x86/kernel/early-quirks.c static void __init via_bugs(int  num, int slot, int func)
slot               80 arch/x86/kernel/early-quirks.c static void __init nvidia_bugs(int num, int slot, int func)
slot              116 arch/x86/kernel/early-quirks.c static u32 __init ati_ixp4x0_rev(int num, int slot, int func)
slot              121 arch/x86/kernel/early-quirks.c 	b = read_pci_config_byte(num, slot, func, 0xac);
slot              123 arch/x86/kernel/early-quirks.c 	write_pci_config_byte(num, slot, func, 0xac, b);
slot              125 arch/x86/kernel/early-quirks.c 	d = read_pci_config(num, slot, func, 0x70);
slot              127 arch/x86/kernel/early-quirks.c 	write_pci_config(num, slot, func, 0x70, d);
slot              129 arch/x86/kernel/early-quirks.c 	d = read_pci_config(num, slot, func, 0x8);
slot              134 arch/x86/kernel/early-quirks.c static void __init ati_bugs(int num, int slot, int func)
slot              142 arch/x86/kernel/early-quirks.c 	d = ati_ixp4x0_rev(num, slot, func);
slot              160 arch/x86/kernel/early-quirks.c static u32 __init ati_sbx00_rev(int num, int slot, int func)
slot              164 arch/x86/kernel/early-quirks.c 	d = read_pci_config(num, slot, func, 0x8);
slot              170 arch/x86/kernel/early-quirks.c static void __init ati_bugs_contd(int num, int slot, int func)
slot              174 arch/x86/kernel/early-quirks.c 	rev = ati_sbx00_rev(num, slot, func);
slot              190 arch/x86/kernel/early-quirks.c 	d = read_pci_config(num, slot, func, 0x64);
slot              202 arch/x86/kernel/early-quirks.c static void __init ati_bugs(int num, int slot, int func)
slot              206 arch/x86/kernel/early-quirks.c static void __init ati_bugs_contd(int num, int slot, int func)
slot              211 arch/x86/kernel/early-quirks.c static void __init intel_remapping_check(int num, int slot, int func)
slot              216 arch/x86/kernel/early-quirks.c 	device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
slot              217 arch/x86/kernel/early-quirks.c 	revision = read_pci_config_byte(num, slot, func, PCI_REVISION_ID);
slot              298 arch/x86/kernel/early-quirks.c static resource_size_t __init i830_stolen_base(int num, int slot, int func,
slot              304 arch/x86/kernel/early-quirks.c static resource_size_t __init i845_stolen_base(int num, int slot, int func,
slot              310 arch/x86/kernel/early-quirks.c static resource_size_t __init i85x_stolen_base(int num, int slot, int func,
slot              316 arch/x86/kernel/early-quirks.c static resource_size_t __init i865_stolen_base(int num, int slot, int func,
slot              326 arch/x86/kernel/early-quirks.c static resource_size_t __init gen3_stolen_base(int num, int slot, int func,
slot              336 arch/x86/kernel/early-quirks.c 	bsm = read_pci_config(num, slot, func, INTEL_BSM);
slot              341 arch/x86/kernel/early-quirks.c static resource_size_t __init gen11_stolen_base(int num, int slot, int func,
slot              346 arch/x86/kernel/early-quirks.c 	bsm = read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW0);
slot              348 arch/x86/kernel/early-quirks.c 	bsm |= (u64)read_pci_config(num, slot, func, INTEL_GEN11_BSM_DW1) << 32;
slot              353 arch/x86/kernel/early-quirks.c static resource_size_t __init i830_stolen_size(int num, int slot, int func)
slot              374 arch/x86/kernel/early-quirks.c static resource_size_t __init gen3_stolen_size(int num, int slot, int func)
slot              403 arch/x86/kernel/early-quirks.c static resource_size_t __init gen6_stolen_size(int num, int slot, int func)
slot              408 arch/x86/kernel/early-quirks.c 	gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
slot              414 arch/x86/kernel/early-quirks.c static resource_size_t __init gen8_stolen_size(int num, int slot, int func)
slot              419 arch/x86/kernel/early-quirks.c 	gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
slot              425 arch/x86/kernel/early-quirks.c static resource_size_t __init chv_stolen_size(int num, int slot, int func)
slot              430 arch/x86/kernel/early-quirks.c 	gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
slot              446 arch/x86/kernel/early-quirks.c static resource_size_t __init gen9_stolen_size(int num, int slot, int func)
slot              451 arch/x86/kernel/early-quirks.c 	gmch_ctrl = read_pci_config_16(num, slot, func, SNB_GMCH_CTRL);
slot              463 arch/x86/kernel/early-quirks.c 	resource_size_t (*stolen_size)(int num, int slot, int func);
slot              464 arch/x86/kernel/early-quirks.c 	resource_size_t (*stolen_base)(int num, int slot, int func,
slot              559 arch/x86/kernel/early-quirks.c intel_graphics_stolen(int num, int slot, int func,
slot              565 arch/x86/kernel/early-quirks.c 	size = early_ops->stolen_size(num, slot, func);
slot              566 arch/x86/kernel/early-quirks.c 	base = early_ops->stolen_base(num, slot, func, size);
slot              584 arch/x86/kernel/early-quirks.c static void __init intel_graphics_quirks(int num, int slot, int func)
slot              590 arch/x86/kernel/early-quirks.c 	device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
slot              600 arch/x86/kernel/early-quirks.c 		intel_graphics_stolen(num, slot, func, early_ops);
slot              606 arch/x86/kernel/early-quirks.c static void __init force_disable_hpet(int num, int slot, int func)
slot              619 arch/x86/kernel/early-quirks.c static void __init apple_airport_reset(int bus, int slot, int func)
slot              630 arch/x86/kernel/early-quirks.c 	pmcsr = read_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL);
slot              634 arch/x86/kernel/early-quirks.c 		write_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL, pmcsr);
slot              637 arch/x86/kernel/early-quirks.c 		pmcsr = read_pci_config_16(bus, slot, func, BCM4331_PM_CAP + PCI_PM_CTRL);
slot              640 arch/x86/kernel/early-quirks.c 			       bus, slot, func);
slot              645 arch/x86/kernel/early-quirks.c 	addr  =      read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0);
slot              646 arch/x86/kernel/early-quirks.c 	addr |= (u64)read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_1) << 32;
slot              652 arch/x86/kernel/early-quirks.c 		       bus, slot, func);
slot              681 arch/x86/kernel/early-quirks.c 	void (*f)(int num, int slot, int func);
slot              737 arch/x86/kernel/early-quirks.c static int __init check_dev_quirk(int num, int slot, int func)
slot              746 arch/x86/kernel/early-quirks.c 	class = read_pci_config_16(num, slot, func, PCI_CLASS_DEVICE);
slot              751 arch/x86/kernel/early-quirks.c 	vendor = read_pci_config_16(num, slot, func, PCI_VENDOR_ID);
slot              753 arch/x86/kernel/early-quirks.c 	device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID);
slot              764 arch/x86/kernel/early-quirks.c 					early_qrk[i].f(num, slot, func);
slot              769 arch/x86/kernel/early-quirks.c 	type = read_pci_config_byte(num, slot, func,
slot              773 arch/x86/kernel/early-quirks.c 		sec = read_pci_config_byte(num, slot, func, PCI_SECONDARY_BUS);
slot              786 arch/x86/kernel/early-quirks.c 	int slot, func;
slot              789 arch/x86/kernel/early-quirks.c 	for (slot = 0; slot < 32; slot++)
slot              792 arch/x86/kernel/early-quirks.c 			if (check_dev_quirk(bus, slot, func))
slot              224 arch/x86/kernel/early_printk.c 	u8 bus, slot, func;
slot              250 arch/x86/kernel/early_printk.c 	slot = (u8)simple_strtoul(s, &e, 16);
slot              265 arch/x86/kernel/early_printk.c 	cmdreg = read_pci_config(bus, slot, func, PCI_COMMAND);
slot              266 arch/x86/kernel/early_printk.c 	classcode = read_pci_config(bus, slot, func, PCI_CLASS_REVISION);
slot              267 arch/x86/kernel/early_printk.c 	bar0 = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0);
slot              287 arch/x86/kernel/early_printk.c 		write_pci_config(bus, slot, func, PCI_COMMAND,
slot              296 arch/x86/kernel/early_printk.c 		write_pci_config(bus, slot, func, PCI_COMMAND,
slot               77 arch/x86/kernel/espfix_64.c 	unsigned long page, slot;
slot               81 arch/x86/kernel/espfix_64.c 	slot = (cpu + slot_random) % ESPFIX_STACKS_PER_PAGE;
slot               82 arch/x86/kernel/espfix_64.c 	addr = (page << PAGE_SHIFT) + (slot * ESPFIX_STACK_SIZE);
slot              101 arch/x86/kernel/hw_breakpoint.c 		struct perf_event **slot = this_cpu_ptr(&bp_per_reg[i]);
slot              103 arch/x86/kernel/hw_breakpoint.c 		if (!*slot) {
slot              104 arch/x86/kernel/hw_breakpoint.c 			*slot = bp;
slot              141 arch/x86/kernel/hw_breakpoint.c 		struct perf_event **slot = this_cpu_ptr(&bp_per_reg[i]);
slot              143 arch/x86/kernel/hw_breakpoint.c 		if (*slot == bp) {
slot              144 arch/x86/kernel/hw_breakpoint.c 			*slot = NULL;
slot              356 arch/x86/kernel/kprobes/opt.c 	u8 *buf = NULL, *slot;
slot              367 arch/x86/kernel/kprobes/opt.c 	op->optinsn.insn = slot = get_optinsn_slot();
slot              368 arch/x86/kernel/kprobes/opt.c 	if (!slot) {
slot              377 arch/x86/kernel/kprobes/opt.c 	rel = (long)slot - (long)op->kp.addr + RELATIVEJUMP_SIZE;
slot              388 arch/x86/kernel/kprobes/opt.c 					  slot + TMPL_END_IDX);
slot              399 arch/x86/kernel/kprobes/opt.c 			   slot + TMPL_CALL_IDX, optimized_callback);
slot              402 arch/x86/kernel/kprobes/opt.c 	synthesize_reljump(buf + len, slot + len,
slot              407 arch/x86/kernel/kprobes/opt.c 	text_poke(slot, buf, len);
slot               97 arch/x86/kernel/ldt.c 	new_ldt->slot = -1;
slot              204 arch/x86/kernel/ldt.c map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot)
slot              218 arch/x86/kernel/ldt.c 	WARN_ON(ldt->slot != -1);
slot              234 arch/x86/kernel/ldt.c 		va = (unsigned long)ldt_slot_va(slot) + offset;
slot              261 arch/x86/kernel/ldt.c 	ldt->slot = slot;
slot              284 arch/x86/kernel/ldt.c 		va = (unsigned long)ldt_slot_va(ldt->slot) + offset;
slot              290 arch/x86/kernel/ldt.c 	va = (unsigned long)ldt_slot_va(ldt->slot);
slot              297 arch/x86/kernel/ldt.c map_ldt_struct(struct mm_struct *mm, struct ldt_struct *ldt, int slot)
slot              529 arch/x86/kernel/ldt.c 	error = map_ldt_struct(mm, new_ldt, old_ldt ? !old_ldt->slot : 0);
slot               23 arch/x86/kernel/mmconf-fam10h_64.c 	u32 slot;
slot               57 arch/x86/kernel/mmconf-fam10h_64.c 	unsigned slot;
slot               82 arch/x86/kernel/mmconf-fam10h_64.c 		slot = pci_probes[i].slot;
slot               83 arch/x86/kernel/mmconf-fam10h_64.c 		id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID);
slot              123 arch/x86/kernel/mmconf-fam10h_64.c 		reg = read_pci_config(bus, slot, 1, 0x80 + (i << 3));
slot              128 arch/x86/kernel/mmconf-fam10h_64.c 		reg = read_pci_config(bus, slot, 1, 0x84 + (i << 3));
slot             1182 arch/x86/kvm/mmu.c 					      struct kvm_memory_slot *slot,
slot             1187 arch/x86/kvm/mmu.c 	idx = gfn_to_index(gfn, slot->base_gfn, level);
slot             1188 arch/x86/kvm/mmu.c 	return &slot->arch.lpage_info[level - 2][idx];
slot             1191 arch/x86/kvm/mmu.c static void update_gfn_disallow_lpage_count(struct kvm_memory_slot *slot,
slot             1198 arch/x86/kvm/mmu.c 		linfo = lpage_info_slot(gfn, slot, i);
slot             1204 arch/x86/kvm/mmu.c void kvm_mmu_gfn_disallow_lpage(struct kvm_memory_slot *slot, gfn_t gfn)
slot             1206 arch/x86/kvm/mmu.c 	update_gfn_disallow_lpage_count(slot, gfn, 1);
slot             1209 arch/x86/kvm/mmu.c void kvm_mmu_gfn_allow_lpage(struct kvm_memory_slot *slot, gfn_t gfn)
slot             1211 arch/x86/kvm/mmu.c 	update_gfn_disallow_lpage_count(slot, gfn, -1);
slot             1217 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             1223 arch/x86/kvm/mmu.c 	slot = __gfn_to_memslot(slots, gfn);
slot             1227 arch/x86/kvm/mmu.c 		return kvm_slot_page_track_add_page(kvm, slot, gfn,
slot             1230 arch/x86/kvm/mmu.c 	kvm_mmu_gfn_disallow_lpage(slot, gfn);
slot             1247 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             1253 arch/x86/kvm/mmu.c 	slot = __gfn_to_memslot(slots, gfn);
slot             1255 arch/x86/kvm/mmu.c 		return kvm_slot_page_track_remove_page(kvm, slot, gfn,
slot             1258 arch/x86/kvm/mmu.c 	kvm_mmu_gfn_allow_lpage(slot, gfn);
slot             1269 arch/x86/kvm/mmu.c 					  struct kvm_memory_slot *slot)
slot             1273 arch/x86/kvm/mmu.c 	if (slot) {
slot             1274 arch/x86/kvm/mmu.c 		linfo = lpage_info_slot(gfn, slot, level);
slot             1284 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             1286 arch/x86/kvm/mmu.c 	slot = kvm_vcpu_gfn_to_memslot(vcpu, gfn);
slot             1287 arch/x86/kvm/mmu.c 	return __mmu_gfn_lpage_is_disallowed(gfn, level, slot);
slot             1307 arch/x86/kvm/mmu.c static inline bool memslot_valid_for_gpte(struct kvm_memory_slot *slot,
slot             1310 arch/x86/kvm/mmu.c 	if (!slot || slot->flags & KVM_MEMSLOT_INVALID)
slot             1312 arch/x86/kvm/mmu.c 	if (no_dirty_log && slot->dirty_bitmap)
slot             1322 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             1324 arch/x86/kvm/mmu.c 	slot = kvm_vcpu_gfn_to_memslot(vcpu, gfn);
slot             1325 arch/x86/kvm/mmu.c 	if (!memslot_valid_for_gpte(slot, no_dirty_log))
slot             1326 arch/x86/kvm/mmu.c 		slot = NULL;
slot             1328 arch/x86/kvm/mmu.c 	return slot;
slot             1335 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             1340 arch/x86/kvm/mmu.c 	slot = kvm_vcpu_gfn_to_memslot(vcpu, large_gfn);
slot             1341 arch/x86/kvm/mmu.c 	*force_pt_level = !memslot_valid_for_gpte(slot, true);
slot             1353 arch/x86/kvm/mmu.c 		if (__mmu_gfn_lpage_is_disallowed(large_gfn, level, slot))
slot             1470 arch/x86/kvm/mmu.c 					   struct kvm_memory_slot *slot)
slot             1474 arch/x86/kvm/mmu.c 	idx = gfn_to_index(gfn, slot->base_gfn, level);
slot             1475 arch/x86/kvm/mmu.c 	return &slot->arch.rmap[level - PT_PAGE_TABLE_LEVEL][idx];
slot             1482 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             1485 arch/x86/kvm/mmu.c 	slot = __gfn_to_memslot(slots, gfn);
slot             1486 arch/x86/kvm/mmu.c 	return __gfn_to_rmap(gfn, sp->role.level, slot);
slot             1752 arch/x86/kvm/mmu.c 				     struct kvm_memory_slot *slot,
slot             1758 arch/x86/kvm/mmu.c 		rmap_head = __gfn_to_rmap(slot->base_gfn + gfn_offset + __ffs(mask),
slot             1759 arch/x86/kvm/mmu.c 					  PT_PAGE_TABLE_LEVEL, slot);
slot             1778 arch/x86/kvm/mmu.c 				     struct kvm_memory_slot *slot,
slot             1784 arch/x86/kvm/mmu.c 		rmap_head = __gfn_to_rmap(slot->base_gfn + gfn_offset + __ffs(mask),
slot             1785 arch/x86/kvm/mmu.c 					  PT_PAGE_TABLE_LEVEL, slot);
slot             1805 arch/x86/kvm/mmu.c 				struct kvm_memory_slot *slot,
slot             1809 arch/x86/kvm/mmu.c 		kvm_x86_ops->enable_log_dirty_pt_masked(kvm, slot, gfn_offset,
slot             1812 arch/x86/kvm/mmu.c 		kvm_mmu_write_protect_pt_masked(kvm, slot, gfn_offset, mask);
slot             1831 arch/x86/kvm/mmu.c 				    struct kvm_memory_slot *slot, u64 gfn)
slot             1838 arch/x86/kvm/mmu.c 		rmap_head = __gfn_to_rmap(gfn, i, slot);
slot             1847 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             1849 arch/x86/kvm/mmu.c 	slot = kvm_vcpu_gfn_to_memslot(vcpu, gfn);
slot             1850 arch/x86/kvm/mmu.c 	return kvm_mmu_slot_gfn_write_protect(vcpu->kvm, slot, gfn);
slot             1870 arch/x86/kvm/mmu.c 			   struct kvm_memory_slot *slot, gfn_t gfn, int level,
slot             1877 arch/x86/kvm/mmu.c 			     struct kvm_memory_slot *slot, gfn_t gfn, int level,
slot             1924 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             1944 arch/x86/kvm/mmu.c 	iterator->rmap = __gfn_to_rmap(iterator->gfn, level, iterator->slot);
slot             1946 arch/x86/kvm/mmu.c 					   iterator->slot);
slot             1951 arch/x86/kvm/mmu.c 		    struct kvm_memory_slot *slot, int start_level,
slot             1954 arch/x86/kvm/mmu.c 	iterator->slot = slot;
slot             1996 arch/x86/kvm/mmu.c 					       struct kvm_memory_slot *slot,
slot             2041 arch/x86/kvm/mmu.c 					 struct kvm_memory_slot *slot,
slot             2059 arch/x86/kvm/mmu.c 			 struct kvm_memory_slot *slot, gfn_t gfn, int level,
slot             2069 arch/x86/kvm/mmu.c 	trace_kvm_age_page(gfn, level, slot, young);
slot             2074 arch/x86/kvm/mmu.c 			      struct kvm_memory_slot *slot, gfn_t gfn,
slot             3222 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             3224 arch/x86/kvm/mmu.c 	slot = gfn_to_memslot_dirty_bitmap(vcpu, gfn, no_dirty_log);
slot             3225 arch/x86/kvm/mmu.c 	if (!slot)
slot             3228 arch/x86/kvm/mmu.c 	return gfn_to_pfn_memslot_atomic(slot, gfn);
slot             3236 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             3242 arch/x86/kvm/mmu.c 	slot = gfn_to_memslot_dirty_bitmap(vcpu, gfn, access & ACC_WRITE_MASK);
slot             3243 arch/x86/kvm/mmu.c 	if (!slot)
slot             3246 arch/x86/kvm/mmu.c 	ret = gfn_to_page_many_atomic(slot, gfn, pages, end - start);
slot             4199 arch/x86/kvm/mmu.c 	struct kvm_memory_slot *slot;
slot             4210 arch/x86/kvm/mmu.c 	slot = kvm_vcpu_gfn_to_memslot(vcpu, gfn);
slot             4212 arch/x86/kvm/mmu.c 	*pfn = __gfn_to_pfn_memslot(slot, gfn, false, &async, write, writable);
slot             4226 arch/x86/kvm/mmu.c 	*pfn = __gfn_to_pfn_memslot(slot, gfn, false, NULL, write, writable);
slot             5925 arch/x86/kvm/mmu.c 			struct kvm_memory_slot *slot,
slot              208 arch/x86/kvm/mmu.h void kvm_mmu_gfn_disallow_lpage(struct kvm_memory_slot *slot, gfn_t gfn);
slot              209 arch/x86/kvm/mmu.h void kvm_mmu_gfn_allow_lpage(struct kvm_memory_slot *slot, gfn_t gfn);
slot              211 arch/x86/kvm/mmu.h 				    struct kvm_memory_slot *slot, u64 gfn);
slot              132 arch/x86/kvm/mmu_audit.c 	struct kvm_memory_slot *slot;
slot              139 arch/x86/kvm/mmu_audit.c 	slot = __gfn_to_memslot(slots, gfn);
slot              140 arch/x86/kvm/mmu_audit.c 	if (!slot) {
slot              150 arch/x86/kvm/mmu_audit.c 	rmap_head = __gfn_to_rmap(gfn, rev_sp->role.level, slot);
slot              196 arch/x86/kvm/mmu_audit.c 	struct kvm_memory_slot *slot;
slot              202 arch/x86/kvm/mmu_audit.c 	slot = __gfn_to_memslot(slots, sp->gfn);
slot              203 arch/x86/kvm/mmu_audit.c 	rmap_head = __gfn_to_rmap(sp->gfn, PT_PAGE_TABLE_LEVEL, slot);
slot               35 arch/x86/kvm/page_track.c int kvm_page_track_create_memslot(struct kvm_memory_slot *slot,
slot               41 arch/x86/kvm/page_track.c 		slot->arch.gfn_track[i] =
slot               42 arch/x86/kvm/page_track.c 			kvcalloc(npages, sizeof(*slot->arch.gfn_track[i]),
slot               44 arch/x86/kvm/page_track.c 		if (!slot->arch.gfn_track[i])
slot               51 arch/x86/kvm/page_track.c 	kvm_page_track_free_memslot(slot, NULL);
slot               63 arch/x86/kvm/page_track.c static void update_gfn_track(struct kvm_memory_slot *slot, gfn_t gfn,
slot               68 arch/x86/kvm/page_track.c 	index = gfn_to_index(gfn, slot->base_gfn, PT_PAGE_TABLE_LEVEL);
slot               70 arch/x86/kvm/page_track.c 	val = slot->arch.gfn_track[mode][index];
slot               75 arch/x86/kvm/page_track.c 	slot->arch.gfn_track[mode][index] += count;
slot               91 arch/x86/kvm/page_track.c 				  struct kvm_memory_slot *slot, gfn_t gfn,
slot               98 arch/x86/kvm/page_track.c 	update_gfn_track(slot, gfn, mode, 1);
slot              104 arch/x86/kvm/page_track.c 	kvm_mmu_gfn_disallow_lpage(slot, gfn);
slot              107 arch/x86/kvm/page_track.c 		if (kvm_mmu_slot_gfn_write_protect(kvm, slot, gfn))
slot              126 arch/x86/kvm/page_track.c 				     struct kvm_memory_slot *slot, gfn_t gfn,
slot              132 arch/x86/kvm/page_track.c 	update_gfn_track(slot, gfn, mode, -1);
slot              138 arch/x86/kvm/page_track.c 	kvm_mmu_gfn_allow_lpage(slot, gfn);
slot              148 arch/x86/kvm/page_track.c 	struct kvm_memory_slot *slot;
slot              154 arch/x86/kvm/page_track.c 	slot = kvm_vcpu_gfn_to_memslot(vcpu, gfn);
slot              155 arch/x86/kvm/page_track.c 	if (!slot)
slot              158 arch/x86/kvm/page_track.c 	index = gfn_to_index(gfn, slot->base_gfn, PT_PAGE_TABLE_LEVEL);
slot              159 arch/x86/kvm/page_track.c 	return !!READ_ONCE(slot->arch.gfn_track[mode][index]);
slot              249 arch/x86/kvm/page_track.c void kvm_page_track_flush_slot(struct kvm *kvm, struct kvm_memory_slot *slot)
slot              263 arch/x86/kvm/page_track.c 			n->track_flush_slot(kvm, slot, n);
slot             7258 arch/x86/kvm/vmx/vmx.c 				     struct kvm_memory_slot *slot)
slot             7260 arch/x86/kvm/vmx/vmx.c 	kvm_mmu_slot_leaf_clear_dirty(kvm, slot);
slot             7261 arch/x86/kvm/vmx/vmx.c 	kvm_mmu_slot_largepage_remove_write_access(kvm, slot);
slot             7265 arch/x86/kvm/vmx/vmx.c 				       struct kvm_memory_slot *slot)
slot             7267 arch/x86/kvm/vmx/vmx.c 	kvm_mmu_slot_set_dirty(kvm, slot);
slot              240 arch/x86/kvm/x86.c 	unsigned slot;
slot              256 arch/x86/kvm/x86.c 	for (slot = 0; slot < shared_msrs_global.nr; ++slot) {
slot              257 arch/x86/kvm/x86.c 		values = &locals->values[slot];
slot              259 arch/x86/kvm/x86.c 			wrmsrl(shared_msrs_global.msrs[slot], values->host);
slot              265 arch/x86/kvm/x86.c static void shared_msr_update(unsigned slot, u32 msr)
slot              273 arch/x86/kvm/x86.c 	if (slot >= shared_msrs_global.nr) {
slot              278 arch/x86/kvm/x86.c 	smsr->values[slot].host = value;
slot              279 arch/x86/kvm/x86.c 	smsr->values[slot].curr = value;
slot              282 arch/x86/kvm/x86.c void kvm_define_shared_msr(unsigned slot, u32 msr)
slot              284 arch/x86/kvm/x86.c 	BUG_ON(slot >= KVM_NR_SHARED_MSRS);
slot              285 arch/x86/kvm/x86.c 	shared_msrs_global.msrs[slot] = msr;
slot              286 arch/x86/kvm/x86.c 	if (slot >= shared_msrs_global.nr)
slot              287 arch/x86/kvm/x86.c 		shared_msrs_global.nr = slot + 1;
slot              299 arch/x86/kvm/x86.c int kvm_set_shared_msr(unsigned slot, u64 value, u64 mask)
slot              305 arch/x86/kvm/x86.c 	value = (value & mask) | (smsr->values[slot].host & ~mask);
slot              306 arch/x86/kvm/x86.c 	if (value == smsr->values[slot].curr)
slot              308 arch/x86/kvm/x86.c 	err = wrmsrl_safe(shared_msrs_global.msrs[slot], value);
slot              312 arch/x86/kvm/x86.c 	smsr->values[slot].curr = value;
slot             9627 arch/x86/kvm/x86.c 	struct kvm_memory_slot *slot, old;
slot             9633 arch/x86/kvm/x86.c 	slot = id_to_memslot(slots, id);
slot             9635 arch/x86/kvm/x86.c 		if (slot->npages)
slot             9647 arch/x86/kvm/x86.c 		if (!slot->npages)
slot             9653 arch/x86/kvm/x86.c 	old = *slot;
slot             9657 arch/x86/kvm/x86.c 		m.slot = id | (i << 16);
slot             9738 arch/x86/kvm/x86.c int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
slot             9748 arch/x86/kvm/x86.c 	memset(&slot->arch, 0, sizeof(slot->arch));
slot             9756 arch/x86/kvm/x86.c 		lpages = gfn_to_index(slot->base_gfn + npages - 1,
slot             9757 arch/x86/kvm/x86.c 				      slot->base_gfn, level) + 1;
slot             9759 arch/x86/kvm/x86.c 		slot->arch.rmap[i] =
slot             9760 arch/x86/kvm/x86.c 			kvcalloc(lpages, sizeof(*slot->arch.rmap[i]),
slot             9762 arch/x86/kvm/x86.c 		if (!slot->arch.rmap[i])
slot             9771 arch/x86/kvm/x86.c 		slot->arch.lpage_info[i - 1] = linfo;
slot             9773 arch/x86/kvm/x86.c 		if (slot->base_gfn & (KVM_PAGES_PER_HPAGE(level) - 1))
slot             9775 arch/x86/kvm/x86.c 		if ((slot->base_gfn + npages) & (KVM_PAGES_PER_HPAGE(level) - 1))
slot             9777 arch/x86/kvm/x86.c 		ugfn = slot->userspace_addr >> PAGE_SHIFT;
slot             9783 arch/x86/kvm/x86.c 		if ((slot->base_gfn ^ ugfn) & (KVM_PAGES_PER_HPAGE(level) - 1) ||
slot             9792 arch/x86/kvm/x86.c 	if (kvm_page_track_create_memslot(slot, npages))
slot             9799 arch/x86/kvm/x86.c 		kvfree(slot->arch.rmap[i]);
slot             9800 arch/x86/kvm/x86.c 		slot->arch.rmap[i] = NULL;
slot             9804 arch/x86/kvm/x86.c 		kvfree(slot->arch.lpage_info[i - 1]);
slot             9805 arch/x86/kvm/x86.c 		slot->arch.lpage_info[i - 1] = NULL;
slot             9940 arch/x86/kvm/x86.c 				   struct kvm_memory_slot *slot)
slot             9942 arch/x86/kvm/x86.c 	kvm_page_track_flush_slot(kvm, slot);
slot               24 arch/x86/pci/amd_bus.c 	u32 slot;
slot               64 arch/x86/pci/amd_bus.c 	unsigned slot;
slot               91 arch/x86/pci/amd_bus.c 		slot = hb_probes[i].slot;
slot               92 arch/x86/pci/amd_bus.c 		id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID);
slot              117 arch/x86/pci/amd_bus.c 		reg = read_pci_config(bus, slot, 1,
slot              144 arch/x86/pci/amd_bus.c 	reg = read_pci_config(bus, slot, 0, AMD_NB_F0_NODE_ID);
slot              146 arch/x86/pci/amd_bus.c 	reg = read_pci_config(bus, slot, 0, AMD_NB_F0_UNIT_ID);
slot              153 arch/x86/pci/amd_bus.c 		reg = read_pci_config(bus, slot, 1, 0xc0 + (i << 3));
slot              158 arch/x86/pci/amd_bus.c 		reg = read_pci_config(bus, slot, 1, 0xc4 + (i << 3));
slot              219 arch/x86/pci/amd_bus.c 		reg = read_pci_config(bus, slot, 1, 0x80 + (i << 3));
slot              225 arch/x86/pci/amd_bus.c 		reg = read_pci_config(bus, slot, 1, 0x84 + (i << 3));
slot              351 arch/x86/pci/amd_bus.c 		u8 slot = amd_nb_bus_dev_ranges[i].dev_base;
slot              354 arch/x86/pci/amd_bus.c 		for (; slot < limit; ++slot) {
slot              355 arch/x86/pci/amd_bus.c 			u32 val = read_pci_config(bus, slot, 3, 0);
slot              360 arch/x86/pci/amd_bus.c 			val = read_pci_config(bus, slot, 3, 0x8c);
slot              363 arch/x86/pci/amd_bus.c 				write_pci_config(bus, slot, 3, 0x8c, val);
slot               18 arch/x86/pci/broadcom_bus.c static void __init cnb20le_res(u8 bus, u8 slot, u8 func)
slot               27 arch/x86/pci/broadcom_bus.c 	fbus = read_pci_config_byte(bus, slot, func, 0x44);
slot               28 arch/x86/pci/broadcom_bus.c 	lbus = read_pci_config_byte(bus, slot, func, 0x45);
slot               46 arch/x86/pci/broadcom_bus.c 	word1 = read_pci_config_16(bus, slot, func, 0xc0);
slot               47 arch/x86/pci/broadcom_bus.c 	word2 = read_pci_config_16(bus, slot, func, 0xc2);
slot               56 arch/x86/pci/broadcom_bus.c 	word1 = read_pci_config_16(bus, slot, func, 0xc4);
slot               57 arch/x86/pci/broadcom_bus.c 	word2 = read_pci_config_16(bus, slot, func, 0xc6);
slot               66 arch/x86/pci/broadcom_bus.c 	word1 = read_pci_config_16(bus, slot, func, 0xd0);
slot               67 arch/x86/pci/broadcom_bus.c 	word2 = read_pci_config_16(bus, slot, func, 0xd2);
slot               87 arch/x86/pci/broadcom_bus.c 	u8 bus = 0, slot = 0;
slot              100 arch/x86/pci/broadcom_bus.c 	id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID);
slot              106 arch/x86/pci/broadcom_bus.c 		cnb20le_res(bus, slot, 0);
slot              107 arch/x86/pci/broadcom_bus.c 		cnb20le_res(bus, slot, 1);
slot               11 arch/x86/pci/early.c u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset)
slot               14 arch/x86/pci/early.c 	outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
slot               19 arch/x86/pci/early.c u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset)
slot               22 arch/x86/pci/early.c 	outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
slot               27 arch/x86/pci/early.c u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset)
slot               30 arch/x86/pci/early.c 	outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
slot               35 arch/x86/pci/early.c void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset,
slot               38 arch/x86/pci/early.c 	outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
slot               42 arch/x86/pci/early.c void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val)
slot               44 arch/x86/pci/early.c 	outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
slot               48 arch/x86/pci/early.c void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val)
slot               50 arch/x86/pci/early.c 	outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
slot              132 arch/x86/pci/irq.c 			DBG(KERN_DEBUG "%02x:%02x slot=%02x", e->bus, e->devfn/8, e->slot);
slot              133 arch/xtensa/kernel/hw_breakpoint.c static int alloc_slot(struct perf_event **slot, size_t n,
slot              139 arch/xtensa/kernel/hw_breakpoint.c 		if (!slot[i]) {
slot              140 arch/xtensa/kernel/hw_breakpoint.c 			slot[i] = bp;
slot              192 arch/xtensa/kernel/hw_breakpoint.c static int free_slot(struct perf_event **slot, size_t n,
slot              198 arch/xtensa/kernel/hw_breakpoint.c 		if (slot[i] == bp) {
slot              199 arch/xtensa/kernel/hw_breakpoint.c 			slot[i] = NULL;
slot              578 arch/xtensa/kernel/setup.c c_show(struct seq_file *f, void *slot)
slot              227 block/cmdline-parser.c 		      int slot,
slot              235 block/cmdline-parser.c 	     subpart = subpart->next_subpart, slot++) {
slot              249 block/cmdline-parser.c 		if (add_part(slot, subpart, param))
slot              253 block/cmdline-parser.c 	return slot;
slot               27 block/partitions/acorn.c 	       unsigned long first_sector, int slot)
slot               48 block/partitions/acorn.c 	put_partition(state, slot, first_sector, nr_sects);
slot               72 block/partitions/acorn.c 			    unsigned long first_sect, int slot,
slot               91 block/partitions/acorn.c 		put_partition(state, slot++, first_sect, size);
slot               95 block/partitions/acorn.c 				put_partition(state, slot++,
slot              106 block/partitions/acorn.c 		put_partition(state, slot++, first_sect, nr_sects);
slot              110 block/partitions/acorn.c 	return slot;
slot              127 block/partitions/acorn.c 			   unsigned long first_sect, int slot,
slot              136 block/partitions/acorn.c 	put_partition(state, slot++, first_sect, size);
slot              145 block/partitions/acorn.c 		if (slot == state->limit)
slot              147 block/partitions/acorn.c 		put_partition(state, slot++, first_sect +
slot              155 block/partitions/acorn.c 	return slot;
slot              168 block/partitions/acorn.c 	int slot = 1;
slot              191 block/partitions/acorn.c 		if (slot == state->limit)
slot              194 block/partitions/acorn.c 		dr = adfs_partition(state, name, data, first_sector, slot++);
slot              219 block/partitions/acorn.c 			slot = riscix_partition(state, first_sector, slot,
slot              225 block/partitions/acorn.c 			slot = linux_partition(state, first_sector, slot,
slot              230 block/partitions/acorn.c 		if (slot == -1)
slot              258 block/partitions/acorn.c 	int slot = 1;
slot              264 block/partitions/acorn.c 	dr = adfs_partition(state, "ADFS", data, 0, slot++);
slot              286 block/partitions/acorn.c 			slot = riscix_partition(state, start_sect, slot,
slot              292 block/partitions/acorn.c 			slot = linux_partition(state, start_sect, slot,
slot              355 block/partitions/acorn.c 	int slot;
slot              372 block/partitions/acorn.c 	for (slot = 1, p = (const struct ics_part *)data; p->size; p++) {
slot              376 block/partitions/acorn.c 		if (slot == state->limit)
slot              400 block/partitions/acorn.c 			put_partition(state, slot++, start, size);
slot              452 block/partitions/acorn.c 	int slot = 1;
slot              471 block/partitions/acorn.c 			put_partition(state, slot++, start, size);
slot              515 block/partitions/acorn.c 	int i, slot = 1;
slot              537 block/partitions/acorn.c 			put_partition(state, slot++, start, next - start);
slot              545 block/partitions/acorn.c 		put_partition(state, slot++, start, size - start);
slot               37 block/partitions/amiga.c 	int slot = 1;
slot              114 block/partitions/amiga.c 		put_partition(state,slot++,start_sect,nr_sects);
slot               41 block/partitions/atari.c 	int slot;
slot               74 block/partitions/atari.c 	for (slot = 1; pi < &rs->part[4] && slot < state->limit; slot++, pi++) {
slot               84 block/partitions/atari.c 			put_partition (state, slot, be32_to_cpu(pi->st),
slot              109 block/partitions/atari.c 			put_partition(state, slot,
slot              126 block/partitions/atari.c 			if (++slot == state->limit) {
slot              139 block/partitions/atari.c 			for (; pi < &rs->icdpart[8] && slot < state->limit; slot++, pi++) {
slot              144 block/partitions/atari.c 				put_partition (state, slot,
slot               26 block/partitions/cmdline.c static int add_part(int slot, struct cmdline_subpart *subpart, void *param)
slot               33 block/partitions/cmdline.c 	if (slot >= state->limit)
slot               36 block/partitions/cmdline.c 	put_partition(state, slot, subpart->from >> 9,
slot               39 block/partitions/cmdline.c 	info = &state->parts[slot].info;
slot               49 block/partitions/cmdline.c 	state->parts[slot].has_info = true;
slot               88 block/partitions/cmdline.c static void cmdline_parts_verifier(int slot, struct parsed_partitions *state)
slot               93 block/partitions/cmdline.c 	for (; slot < state->limit && state->parts[slot].has_info; slot++) {
slot               94 block/partitions/cmdline.c 		for (i = slot+1; i < state->limit && state->parts[i].has_info;
slot               96 block/partitions/cmdline.c 			if (has_overlaps(state->parts[slot].from,
slot               97 block/partitions/cmdline.c 					 state->parts[slot].size,
slot              106 block/partitions/cmdline.c 					state->parts[slot].info.volname,
slot              107 block/partitions/cmdline.c 					(u64)state->parts[slot].from << 9,
slot              108 block/partitions/cmdline.c 					(u64)state->parts[slot].size << 9,
slot               17 block/partitions/karma.c 	int slot = 1;
slot               46 block/partitions/karma.c 		if (slot == state->limit)
slot               50 block/partitions/karma.c 			put_partition(state, slot, le32_to_cpu(p->p_offset),
slot               53 block/partitions/karma.c 		slot++;
slot               35 block/partitions/mac.c 	int slot, blocks_in_map;
slot               76 block/partitions/mac.c 	for (slot = 1; slot <= blocks_in_map; ++slot) {
slot               77 block/partitions/mac.c 		int pos = slot * secsize;
slot               85 block/partitions/mac.c 		put_partition(state, slot,
slot               90 block/partitions/mac.c 			state->parts[slot].flags = ADDPART_FLAG_RAID;
slot              128 block/partitions/mac.c 				found_root = slot;
slot               74 block/partitions/msdos.c 	int slot, ret = 0;
slot               82 block/partitions/msdos.c 	for (slot = 1; slot <= 4; slot++, pt++) {
slot               99 block/partitions/msdos.c static void set_info(struct parsed_partitions *state, int slot,
slot              102 block/partitions/msdos.c 	struct partition_meta_info *info = &state->parts[slot].info;
slot              105 block/partitions/msdos.c 		 slot);
slot              107 block/partitions/msdos.c 	state->parts[slot].has_info = true;
slot              459 block/partitions/msdos.c 	int slot;
slot              492 block/partitions/msdos.c 	for (slot = 1; slot <= 4; slot++, p++) {
slot              500 block/partitions/msdos.c 			if (slot == 1 && fb->reserved && fb->fats
slot              514 block/partitions/msdos.c 	for (slot = 1 ; slot <= 4 ; slot++, p++) {
slot              533 block/partitions/msdos.c 	for (slot = 1 ; slot <= 4 ; slot++, p++) {
slot              549 block/partitions/msdos.c 			put_partition(state, slot, start, n);
slot              556 block/partitions/msdos.c 		put_partition(state, slot, start, size);
slot              557 block/partitions/msdos.c 		set_info(state, slot, disksig);
slot              559 block/partitions/msdos.c 			state->parts[slot].flags = ADDPART_FLAG_RAID;
slot              570 block/partitions/msdos.c 	for (slot = 1 ; slot <= 4 ; slot++, p++) {
slot              583 block/partitions/msdos.c 				  nr_sects(p) * sector_size, slot);
slot               19 block/partitions/osf.c 	int slot = 1;
slot               76 block/partitions/osf.c 		if (slot == state->limit)
slot               79 block/partitions/osf.c 			put_partition(state, slot,
slot               82 block/partitions/osf.c 		slot++;
slot               35 block/partitions/sgi.c 	int slot = 1;
slot               74 block/partitions/sgi.c 			put_partition(state, slot, start, blocks);
slot               76 block/partitions/sgi.c 				state->parts[slot].flags = ADDPART_FLAG_RAID;
slot               78 block/partitions/sgi.c 		slot++;
slot               18 block/partitions/sun.c 	int slot = 1;
slot              109 block/partitions/sun.c 			put_partition(state, slot, st_sector, num_sectors);
slot              110 block/partitions/sun.c 			state->parts[slot].flags = 0;
slot              113 block/partitions/sun.c 					state->parts[slot].flags |= ADDPART_FLAG_RAID;
slot              115 block/partitions/sun.c 					state->parts[slot].flags |= ADDPART_FLAG_WHOLEDISK;
slot              118 block/partitions/sun.c 		slot++;
slot               53 block/partitions/sysv68.c 	int slot = 1;
slot               82 block/partitions/sysv68.c 		if (slot == state->limit)
slot               85 block/partitions/sysv68.c 			put_partition(state, slot,
slot               91 block/partitions/sysv68.c 		slot++;
slot              664 drivers/acpi/apei/ghes.c 	int i, slot = -1, count;
slot              676 drivers/acpi/apei/ghes.c 			slot = i;
slot              682 drivers/acpi/apei/ghes.c 			slot = i;
slot              691 drivers/acpi/apei/ghes.c 			slot = i;
slot              697 drivers/acpi/apei/ghes.c 	if (slot != -1 && cmpxchg(ghes_estatus_caches + slot,
slot               92 drivers/acpi/pci_slot.c 	struct acpi_pci_slot *slot;
slot              104 drivers/acpi/pci_slot.c 	list_for_each_entry(slot, &slot_list, list) {
slot              105 drivers/acpi/pci_slot.c 		pci_slot = slot->pci_slot;
slot              110 drivers/acpi/pci_slot.c 	slot = kmalloc(sizeof(*slot), GFP_KERNEL);
slot              111 drivers/acpi/pci_slot.c 	if (!slot)
slot              118 drivers/acpi/pci_slot.c 		kfree(slot);
slot              122 drivers/acpi/pci_slot.c 	slot->pci_slot = pci_slot;
slot              123 drivers/acpi/pci_slot.c 	list_add(&slot->list, &slot_list);
slot              147 drivers/acpi/pci_slot.c 	struct acpi_pci_slot *slot, *tmp;
slot              150 drivers/acpi/pci_slot.c 	list_for_each_entry_safe(slot, tmp, &slot_list, list) {
slot              151 drivers/acpi/pci_slot.c 		if (slot->pci_slot->bus == bus) {
slot              152 drivers/acpi/pci_slot.c 			list_del(&slot->list);
slot              153 drivers/acpi/pci_slot.c 			pci_destroy_slot(slot->pci_slot);
slot              155 drivers/acpi/pci_slot.c 			kfree(slot);
slot              128 drivers/acpi/x86/utils.c 		if (always_present_ids[i].dmi_ids[0].matches[0].slot &&
slot             1150 drivers/ata/ahci.c 		unsigned long slot = (unsigned long)dmi->driver_data;
slot             1152 drivers/ata/ahci.c 		return slot == PCI_SLOT(pdev->devfn);
slot             1297 drivers/ata/ahci.c #define ENCODE_BUSDEVFN(bus, slot, func)			\
slot             1298 drivers/ata/ahci.c 	(void *)(unsigned long)(((bus) << 8) | PCI_DEVFN((slot), (func)))
slot             1562 drivers/ata/ata_piix.c 		unsigned long slot = (unsigned long)dmi->driver_data;
slot             1564 drivers/ata/ata_piix.c 		return slot == PCI_SLOT(pdev->devfn);
slot               97 drivers/ata/pata_legacy.c 	unsigned int slot;
slot              860 drivers/ata/pata_legacy.c 	int mask = 1 << probe->slot;
slot              937 drivers/ata/pata_legacy.c 	u32 mask = (1 << probe->slot);
slot              939 drivers/ata/pata_legacy.c 	struct legacy_data *ld = &legacy_data[probe->slot];
slot              950 drivers/ata/pata_legacy.c 	pdev = platform_device_register_simple(DRV_NAME, probe->slot, NULL, 0);
slot              998 drivers/ata/pata_legacy.c 			legacy_host[probe->slot] = host;
slot             1177 drivers/ata/pata_legacy.c 	int slot = 0;
slot             1226 drivers/ata/pata_legacy.c 		pl->slot = slot++;
slot              712 drivers/ata/sata_sil.c 		unsigned long slot = (unsigned long)dmi->driver_data;
slot              714 drivers/ata/sata_sil.c 		return slot == PCI_SLOT(pdev->devfn);
slot              205 drivers/ata/sata_via.c 	int slot = 2 * link->ap->port_no + link->pmp;
slot              211 drivers/ata/sata_via.c 		pci_read_config_byte(pdev, 0xA0 + slot, &raw);
slot              229 drivers/ata/sata_via.c 		pci_read_config_dword(pdev, 0xB0 + slot * 4, &v);
slot              233 drivers/ata/sata_via.c 		pci_read_config_byte(pdev, 0xA4 + slot, &raw);
slot              253 drivers/ata/sata_via.c 	int slot = 2 * link->ap->port_no + link->pmp;
slot              260 drivers/ata/sata_via.c 		pci_write_config_dword(pdev, 0xB0 + slot * 4, val);
slot              270 drivers/ata/sata_via.c 		pci_write_config_byte(pdev, 0xA4 + slot, v);
slot             1808 drivers/atm/he.c 	int slot, updated = 0;
slot             1845 drivers/atm/he.c 		for (slot = 0; slot < TPD_MAXIOV; ++slot) {
slot             1846 drivers/atm/he.c 			if (tpd->iovec[slot].addr)
slot             1848 drivers/atm/he.c 					tpd->iovec[slot].addr,
slot             1849 drivers/atm/he.c 					tpd->iovec[slot].len & TPD_LEN_MASK,
slot             1851 drivers/atm/he.c 			if (tpd->iovec[slot].len & TPD_LST)
slot             2077 drivers/atm/he.c 			int slot;
slot             2086 drivers/atm/he.c 			for (slot = 0; slot < TPD_MAXIOV; ++slot) {
slot             2087 drivers/atm/he.c 				if (tpd->iovec[slot].addr)
slot             2089 drivers/atm/he.c 						tpd->iovec[slot].addr,
slot             2090 drivers/atm/he.c 						tpd->iovec[slot].len & TPD_LEN_MASK,
slot             2496 drivers/atm/he.c 	int i, slot = 0;
slot             2554 drivers/atm/he.c 	tpd->iovec[slot].addr = dma_map_single(&he_dev->pci_dev->dev, skb->data,
slot             2556 drivers/atm/he.c 	tpd->iovec[slot].len = skb_headlen(skb);
slot             2557 drivers/atm/he.c 	++slot;
slot             2562 drivers/atm/he.c 		if (slot == TPD_MAXIOV) {	/* queue tpd; start new tpd */
slot             2580 drivers/atm/he.c 			slot = 0;
slot             2583 drivers/atm/he.c 		tpd->iovec[slot].addr = skb_frag_dma_map(&he_dev->pci_dev->dev,
slot             2585 drivers/atm/he.c 		tpd->iovec[slot].len = skb_frag_size(frag);
slot             2586 drivers/atm/he.c 		++slot;
slot             2590 drivers/atm/he.c 	tpd->iovec[slot - 1].len |= TPD_LST;
slot             2633 drivers/block/mtip32xx/mtip32xx.c 	unsigned long slot, slot_start, slot_wrap, to;
slot             2698 drivers/block/mtip32xx/mtip32xx.c 			slot = 1;
slot             2703 drivers/block/mtip32xx/mtip32xx.c 				slot = find_next_bit(port->cmds_to_issue,
slot             2704 drivers/block/mtip32xx/mtip32xx.c 						num_cmd_slots, slot);
slot             2706 drivers/block/mtip32xx/mtip32xx.c 					if ((slot_start >= slot) ||
slot             2707 drivers/block/mtip32xx/mtip32xx.c 						(slot >= num_cmd_slots))
slot             2711 drivers/block/mtip32xx/mtip32xx.c 					slot_start = slot;
slot             2713 drivers/block/mtip32xx/mtip32xx.c 				if (unlikely(slot == num_cmd_slots)) {
slot             2714 drivers/block/mtip32xx/mtip32xx.c 					slot = 1;
slot             2720 drivers/block/mtip32xx/mtip32xx.c 				mtip_issue_ncq_command(port, slot);
slot             2722 drivers/block/mtip32xx/mtip32xx.c 				clear_bit(slot, port->cmds_to_issue);
slot             1328 drivers/cdrom/cdrom.c static int cdrom_slot_status(struct cdrom_device_info *cdi, int slot)
slot             1344 drivers/cdrom/cdrom.c 	if (info->slots[slot].disc_present)
slot             1380 drivers/cdrom/cdrom.c static int cdrom_load_unload(struct cdrom_device_info *cdi, int slot) 
slot             1385 drivers/cdrom/cdrom.c 	if (cdi->sanyo_slot && slot < 0)
slot             1390 drivers/cdrom/cdrom.c 	cgc.cmd[4] = 2 + (slot >= 0);
slot             1391 drivers/cdrom/cdrom.c 	cgc.cmd[8] = slot;
slot             1397 drivers/cdrom/cdrom.c 	if (cdi->sanyo_slot && -1 < slot) {
slot             1399 drivers/cdrom/cdrom.c 		cgc.cmd[7] = slot;
slot             1401 drivers/cdrom/cdrom.c 		cdi->sanyo_slot = slot ? slot : 3;
slot             1407 drivers/cdrom/cdrom.c static int cdrom_select_disc(struct cdrom_device_info *cdi, int slot)
slot             1418 drivers/cdrom/cdrom.c 		cdi->ops->check_events(cdi, 0, slot);
slot             1420 drivers/cdrom/cdrom.c 		cdi->ops->media_changed(cdi, slot);
slot             1422 drivers/cdrom/cdrom.c 	if (slot == CDSL_NONE) {
slot             1441 drivers/cdrom/cdrom.c 		if (slot == CDSL_CURRENT) {
slot             1453 drivers/cdrom/cdrom.c 	if (slot == CDSL_CURRENT)
slot             1454 drivers/cdrom/cdrom.c 		slot = curslot;
slot             1458 drivers/cdrom/cdrom.c 	if ((ret = cdrom_load_unload(cdi, slot)))
slot             1461 drivers/cdrom/cdrom.c 	return slot;
slot             4599 drivers/char/ipmi/ipmi_msghandler.c 			      int slot, unsigned long *flags,
slot             4640 drivers/char/ipmi/ipmi_msghandler.c 		smi_msg = smi_from_recv_msg(intf, ent->recv_msg, slot,
slot              323 drivers/char/ipmi/ipmi_poweroff.c 	int                               slot;
slot              349 drivers/char/ipmi/ipmi_poweroff.c 	slot = halt_recv_msg.msg.data[1];
slot              350 drivers/char/ipmi/ipmi_poweroff.c 	hotswap_ipmb = (slot > 9) ? (0xb0 + 2 * slot) : (0xae + 2 * slot);
slot               38 drivers/crypto/ccree/cc_cipher.c 	u8 slot;
slot              361 drivers/crypto/ccree/cc_cipher.c 		ctx_p->cpp.slot = cc_slot_to_cpp_key(hki.hw_key1);
slot              368 drivers/crypto/ccree/cc_cipher.c 			ctx_p->cpp.alg, ctx_p->cpp.slot);
slot              690 drivers/crypto/ccree/cc_cipher.c 			set_cpp_crypto_key(&desc[*seq_size], ctx_p->cpp.slot);
slot              907 drivers/crypto/ccree/cc_cipher.c 		cc_req.cpp.slot = ctx_p->cpp.slot;
slot              122 drivers/crypto/ccree/cc_driver.h 	u8 slot;
slot              274 drivers/crypto/ccree/cc_hw_queue_defs.h static inline void set_cpp_crypto_key(struct cc_hw_desc *pdesc, u8 slot)
slot              281 drivers/crypto/ccree/cc_hw_queue_defs.h 	pdesc->word[4] |= FIELD_PREP(WORD4_SETUP_OPERATION, slot);
slot               78 drivers/crypto/ccree/cc_request_mgr.c static inline u32 cc_cpp_int_mask(enum cc_cpp_alg alg, int slot)
slot               81 drivers/crypto/ccree/cc_request_mgr.c 	slot = array_index_nospec(slot, CC_CPP_NUM_SLOTS);
slot               83 drivers/crypto/ccree/cc_request_mgr.c 	return cc_cpp_int_masks[alg][slot];
slot              602 drivers/crypto/ccree/cc_request_mgr.c 				cc_req->cpp.slot, cc_req->cpp.alg);
slot              604 drivers/crypto/ccree/cc_request_mgr.c 					       cc_req->cpp.slot);
slot              488 drivers/crypto/nx/nx.c static bool nx_check_prop(struct device *dev, u32 fc, u32 mode, int slot)
slot              490 drivers/crypto/nx/nx.c 	struct alg_props *props = &nx_driver.of.ap[fc][mode][slot];
slot              495 drivers/crypto/nx/nx.c 				 "%u/%u (ignored)\n", fc, mode, slot,
slot              526 drivers/crypto/nx/nx.c static int nx_register_shash(struct shash_alg *alg, u32 fc, u32 mode, int slot)
slot              528 drivers/crypto/nx/nx.c 	return (slot >= 0 ? nx_check_prop(&nx_driver.viodev->dev,
slot              529 drivers/crypto/nx/nx.c 					  fc, mode, slot) :
slot              547 drivers/crypto/nx/nx.c 				int slot)
slot              549 drivers/crypto/nx/nx.c 	if (slot >= 0 ? nx_check_prop(NULL, fc, mode, slot) :
slot              173 drivers/dca/dca-core.c 	int err, slot = -ENODEV;
slot              198 drivers/dca/dca-core.c 		slot = dca->ops->add_requester(dca, dev);
slot              199 drivers/dca/dca-core.c 		if (slot >= 0)
slot              205 drivers/dca/dca-core.c 	if (slot < 0)
slot              206 drivers/dca/dca-core.c 		return slot;
slot              208 drivers/dca/dca-core.c 	err = dca_sysfs_add_req(dca, dev, slot);
slot              228 drivers/dca/dca-core.c 	int slot;
slot              240 drivers/dca/dca-core.c 	slot = dca->ops->remove_requester(dca, dev);
slot              243 drivers/dca/dca-core.c 	if (slot < 0)
slot              244 drivers/dca/dca-core.c 		return slot;
slot              246 drivers/dca/dca-core.c 	dca_sysfs_remove_req(dca, slot);
slot               20 drivers/dca/dca-sysfs.c int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot)
slot               25 drivers/dca/dca-sysfs.c 	cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL,
slot               32 drivers/dca/dca-sysfs.c void dca_sysfs_remove_req(struct dca_provider *dca, int slot)
slot               34 drivers/dca/dca-sysfs.c 	device_destroy(dca_class, MKDEV(0, slot + 1));
slot               81 drivers/dma/fsl-edma-common.c 			   u32 off, u32 slot, bool enable)
slot               86 drivers/dma/fsl-edma-common.c 		val8 = EDMAMUX_CHCFG_ENBL | slot;
slot               94 drivers/dma/fsl-edma-common.c 			    u32 off, u32 slot, bool enable)
slot               99 drivers/dma/fsl-edma-common.c 		val = EDMAMUX_CHCFG_ENBL << 24 | slot;
slot              107 drivers/dma/fsl-edma-common.c 		       unsigned int slot, bool enable)
slot              117 drivers/dma/fsl-edma-common.c 	slot = EDMAMUX_CHCFG_SOURCE(slot);
slot              120 drivers/dma/fsl-edma-common.c 		mux_configure32(fsl_chan, muxaddr, ch_off, slot, enable);
slot              122 drivers/dma/fsl-edma-common.c 		mux_configure8(fsl_chan, muxaddr, ch_off, slot, enable);
slot              225 drivers/dma/fsl-edma-common.h 			unsigned int slot, bool enable);
slot              515 drivers/dma/imx-dma.c 	int slot = -1;
slot              528 drivers/dma/imx-dma.c 			slot = i;
slot              531 drivers/dma/imx-dma.c 		if (slot < 0)
slot              534 drivers/dma/imx-dma.c 		imxdma->slots_2d[slot].xsr = d->x;
slot              535 drivers/dma/imx-dma.c 		imxdma->slots_2d[slot].ysr = d->y;
slot              536 drivers/dma/imx-dma.c 		imxdma->slots_2d[slot].wsr = d->w;
slot              537 drivers/dma/imx-dma.c 		imxdma->slots_2d[slot].count++;
slot              539 drivers/dma/imx-dma.c 		imxdmac->slot_2d = slot;
slot              542 drivers/dma/imx-dma.c 		if (slot == IMX_DMA_2D_SLOT_A) {
slot               39 drivers/dma/iop-adma.c static void iop_adma_free_slots(struct iop_adma_desc_slot *slot)
slot               41 drivers/dma/iop-adma.c 	int stride = slot->slots_per_op;
slot               44 drivers/dma/iop-adma.c 		slot->slots_per_op = 0;
slot               45 drivers/dma/iop-adma.c 		slot = list_entry(slot->slot_node.next,
slot              422 drivers/dma/iop-adma.c 	struct iop_adma_desc_slot *slot = NULL;
slot              434 drivers/dma/iop-adma.c 		slot = kzalloc(sizeof(*slot), GFP_KERNEL);
slot              435 drivers/dma/iop-adma.c 		if (!slot) {
slot              441 drivers/dma/iop-adma.c 		slot->hw_desc = (void *) &hw_desc[idx * IOP_ADMA_SLOT_SIZE];
slot              443 drivers/dma/iop-adma.c 		dma_async_tx_descriptor_init(&slot->async_tx, chan);
slot              444 drivers/dma/iop-adma.c 		slot->async_tx.tx_submit = iop_adma_tx_submit;
slot              445 drivers/dma/iop-adma.c 		INIT_LIST_HEAD(&slot->tx_list);
slot              446 drivers/dma/iop-adma.c 		INIT_LIST_HEAD(&slot->chain_node);
slot              447 drivers/dma/iop-adma.c 		INIT_LIST_HEAD(&slot->slot_node);
slot              449 drivers/dma/iop-adma.c 		slot->async_tx.phys =
slot              451 drivers/dma/iop-adma.c 		slot->idx = idx;
slot              455 drivers/dma/iop-adma.c 		list_add_tail(&slot->slot_node, &iop_chan->all_slots);
slot              440 drivers/dma/mv_xor.c 	struct mv_xor_desc_slot *slot = NULL;
slot              446 drivers/dma/mv_xor.c 		slot = kzalloc(sizeof(*slot), GFP_KERNEL);
slot              447 drivers/dma/mv_xor.c 		if (!slot) {
slot              454 drivers/dma/mv_xor.c 		slot->hw_desc = virt_desc + idx * MV_XOR_SLOT_SIZE;
slot              456 drivers/dma/mv_xor.c 		dma_async_tx_descriptor_init(&slot->async_tx, chan);
slot              457 drivers/dma/mv_xor.c 		slot->async_tx.tx_submit = mv_xor_tx_submit;
slot              458 drivers/dma/mv_xor.c 		INIT_LIST_HEAD(&slot->node);
slot              459 drivers/dma/mv_xor.c 		INIT_LIST_HEAD(&slot->sg_tx_list);
slot              461 drivers/dma/mv_xor.c 		slot->async_tx.phys = dma_desc + idx * MV_XOR_SLOT_SIZE;
slot              462 drivers/dma/mv_xor.c 		slot->idx = idx++;
slot              466 drivers/dma/mv_xor.c 		list_add_tail(&slot->node, &mv_chan->free_slots);
slot             1446 drivers/dma/ppc4xx/adma.c static void ppc440spe_adma_free_slots(struct ppc440spe_adma_desc_slot *slot,
slot             1449 drivers/dma/ppc4xx/adma.c 	int stride = slot->slots_per_op;
slot             1452 drivers/dma/ppc4xx/adma.c 		slot->slots_per_op = 0;
slot             1453 drivers/dma/ppc4xx/adma.c 		slot = list_entry(slot->slot_node.next,
slot             1769 drivers/dma/ppc4xx/adma.c 	struct ppc440spe_adma_desc_slot *slot = NULL;
slot             1786 drivers/dma/ppc4xx/adma.c 		slot = kzalloc(sizeof(struct ppc440spe_adma_desc_slot),
slot             1788 drivers/dma/ppc4xx/adma.c 		if (!slot) {
slot             1795 drivers/dma/ppc4xx/adma.c 		slot->hw_desc = (void *) &hw_desc[i * db_sz];
slot             1796 drivers/dma/ppc4xx/adma.c 		dma_async_tx_descriptor_init(&slot->async_tx, chan);
slot             1797 drivers/dma/ppc4xx/adma.c 		slot->async_tx.tx_submit = ppc440spe_adma_tx_submit;
slot             1798 drivers/dma/ppc4xx/adma.c 		INIT_LIST_HEAD(&slot->chain_node);
slot             1799 drivers/dma/ppc4xx/adma.c 		INIT_LIST_HEAD(&slot->slot_node);
slot             1800 drivers/dma/ppc4xx/adma.c 		INIT_LIST_HEAD(&slot->group_list);
slot             1801 drivers/dma/ppc4xx/adma.c 		slot->phys = ppc440spe_chan->device->dma_desc_pool + i * db_sz;
slot             1802 drivers/dma/ppc4xx/adma.c 		slot->idx = i;
slot             1806 drivers/dma/ppc4xx/adma.c 		list_add_tail(&slot->slot_node, &ppc440spe_chan->all_slots);
slot              233 drivers/dma/ti/edma.c 	int				slot[EDMA_MAX_SLOTS];
slot              435 drivers/dma/ti/edma.c static void edma_set_chmap(struct edma_chan *echan, int slot)
slot              441 drivers/dma/ti/edma.c 		slot = EDMA_CHAN_SLOT(slot);
slot              442 drivers/dma/ti/edma.c 		edma_write_array(ecc, EDMA_DCHMAP, channel, (slot << 5));
slot              464 drivers/dma/ti/edma.c static void edma_write_slot(struct edma_cc *ecc, unsigned slot,
slot              467 drivers/dma/ti/edma.c 	slot = EDMA_CHAN_SLOT(slot);
slot              468 drivers/dma/ti/edma.c 	if (slot >= ecc->num_slots)
slot              470 drivers/dma/ti/edma.c 	memcpy_toio(ecc->base + PARM_OFFSET(slot), param, PARM_SIZE);
slot              473 drivers/dma/ti/edma.c static int edma_read_slot(struct edma_cc *ecc, unsigned slot,
slot              476 drivers/dma/ti/edma.c 	slot = EDMA_CHAN_SLOT(slot);
slot              477 drivers/dma/ti/edma.c 	if (slot >= ecc->num_slots)
slot              479 drivers/dma/ti/edma.c 	memcpy_fromio(param, ecc->base + PARM_OFFSET(slot), PARM_SIZE);
slot              499 drivers/dma/ti/edma.c static int edma_alloc_slot(struct edma_cc *ecc, int slot)
slot              501 drivers/dma/ti/edma.c 	if (slot >= 0) {
slot              502 drivers/dma/ti/edma.c 		slot = EDMA_CHAN_SLOT(slot);
slot              504 drivers/dma/ti/edma.c 		if (ecc->chmap_exist && slot < ecc->num_channels)
slot              505 drivers/dma/ti/edma.c 			slot = EDMA_SLOT_ANY;
slot              508 drivers/dma/ti/edma.c 	if (slot < 0) {
slot              510 drivers/dma/ti/edma.c 			slot = 0;
slot              512 drivers/dma/ti/edma.c 			slot = ecc->num_channels;
slot              514 drivers/dma/ti/edma.c 			slot = find_next_zero_bit(ecc->slot_inuse,
slot              516 drivers/dma/ti/edma.c 						  slot);
slot              517 drivers/dma/ti/edma.c 			if (slot == ecc->num_slots)
slot              519 drivers/dma/ti/edma.c 			if (!test_and_set_bit(slot, ecc->slot_inuse))
slot              522 drivers/dma/ti/edma.c 	} else if (slot >= ecc->num_slots) {
slot              524 drivers/dma/ti/edma.c 	} else if (test_and_set_bit(slot, ecc->slot_inuse)) {
slot              528 drivers/dma/ti/edma.c 	edma_write_slot(ecc, slot, &dummy_paramset);
slot              530 drivers/dma/ti/edma.c 	return EDMA_CTLR_CHAN(ecc->id, slot);
slot              533 drivers/dma/ti/edma.c static void edma_free_slot(struct edma_cc *ecc, unsigned slot)
slot              535 drivers/dma/ti/edma.c 	slot = EDMA_CHAN_SLOT(slot);
slot              536 drivers/dma/ti/edma.c 	if (slot >= ecc->num_slots)
slot              539 drivers/dma/ti/edma.c 	edma_write_slot(ecc, slot, &dummy_paramset);
slot              540 drivers/dma/ti/edma.c 	clear_bit(slot, ecc->slot_inuse);
slot              573 drivers/dma/ti/edma.c static dma_addr_t edma_get_position(struct edma_cc *ecc, unsigned slot,
slot              578 drivers/dma/ti/edma.c 	slot = EDMA_CHAN_SLOT(slot);
slot              579 drivers/dma/ti/edma.c 	offs = PARM_OFFSET(slot);
slot              789 drivers/dma/ti/edma.c 		edma_write_slot(ecc, echan->slot[i], &edesc->pset[j].param);
slot              803 drivers/dma/ti/edma.c 			 j, echan->ch_num, echan->slot[i],
slot              814 drivers/dma/ti/edma.c 			edma_link(ecc, echan->slot[i], echan->slot[i + 1]);
slot              826 drivers/dma/ti/edma.c 			edma_link(ecc, echan->slot[nslots - 1], echan->slot[1]);
slot              828 drivers/dma/ti/edma.c 			edma_link(ecc, echan->slot[nslots - 1],
slot             1101 drivers/dma/ti/edma.c 		if (echan->slot[i] < 0) {
slot             1102 drivers/dma/ti/edma.c 			echan->slot[i] =
slot             1104 drivers/dma/ti/edma.c 			if (echan->slot[i] < 0) {
slot             1232 drivers/dma/ti/edma.c 		if (echan->slot[1] < 0) {
slot             1233 drivers/dma/ti/edma.c 			echan->slot[1] = edma_alloc_slot(echan->ecc,
slot             1235 drivers/dma/ti/edma.c 			if (echan->slot[1] < 0) {
slot             1348 drivers/dma/ti/edma.c 		if (echan->slot[i] < 0) {
slot             1349 drivers/dma/ti/edma.c 			echan->slot[i] =
slot             1351 drivers/dma/ti/edma.c 			if (echan->slot[i] < 0) {
slot             1391 drivers/dma/ti/edma.c 			i, echan->ch_num, echan->slot[i],
slot             1487 drivers/dma/ti/edma.c 		u32 slot;
slot             1490 drivers/dma/ti/edma.c 		slot = __ffs(sh_ipr);
slot             1491 drivers/dma/ti/edma.c 		sh_ipr &= ~(BIT(slot));
slot             1493 drivers/dma/ti/edma.c 		if (sh_ier & BIT(slot)) {
slot             1494 drivers/dma/ti/edma.c 			channel = (bank << 5) | slot;
slot             1496 drivers/dma/ti/edma.c 			edma_shadow0_write_array(ecc, SH_ICR, bank, BIT(slot));
slot             1517 drivers/dma/ti/edma.c 	err = edma_read_slot(ecc, echan->slot[0], &p);
slot             1655 drivers/dma/ti/edma.c 	echan->slot[0] = edma_alloc_slot(ecc, echan->ch_num);
slot             1656 drivers/dma/ti/edma.c 	if (echan->slot[0] < 0) {
slot             1659 drivers/dma/ti/edma.c 		ret = echan->slot[0];
slot             1664 drivers/dma/ti/edma.c 	edma_set_chmap(echan, echan->slot[0]);
slot             1692 drivers/dma/ti/edma.c 		if (echan->slot[i] >= 0) {
slot             1693 drivers/dma/ti/edma.c 			edma_free_slot(echan->ecc, echan->slot[i]);
slot             1694 drivers/dma/ti/edma.c 			echan->slot[i] = -1;
slot             1752 drivers/dma/ti/edma.c 	pos = edma_get_position(echan->ecc, echan->slot[0], dst);
slot             1769 drivers/dma/ti/edma.c 		pos = edma_get_position(echan->ecc, echan->slot[0], dst);
slot             1980 drivers/dma/ti/edma.c 			echan->slot[j] = -1;
slot             2554 drivers/dma/ti/edma.c 			edma_set_chmap(&echan[i], echan[i].slot[0]);
slot              951 drivers/edac/i5000_edac.c static int determine_mtr(struct i5000_pvt *pvt, int slot, int channel)
slot              956 drivers/edac/i5000_edac.c 		mtr = pvt->b0_mtr[slot];
slot              958 drivers/edac/i5000_edac.c 		mtr = pvt->b1_mtr[slot];
slot              992 drivers/edac/i5000_edac.c static void handle_channel(struct i5000_pvt *pvt, int slot, int channel,
slot              999 drivers/edac/i5000_edac.c 	mtr = determine_mtr(pvt, slot, channel);
slot             1037 drivers/edac/i5000_edac.c 	int slot, channel, branch;
slot             1055 drivers/edac/i5000_edac.c 	for (slot = pvt->maxdimmperch - 1; slot >= 0; slot--) {
slot             1059 drivers/edac/i5000_edac.c 		if (slot & 0x1) {
slot             1068 drivers/edac/i5000_edac.c 		n = snprintf(p, space, "slot %2d    ", slot);
slot             1073 drivers/edac/i5000_edac.c 			dinfo = &pvt->dimm_info[slot][channel];
slot             1074 drivers/edac/i5000_edac.c 			handle_channel(pvt, slot, channel, dinfo);
slot             1256 drivers/edac/i5000_edac.c 	int slot;
slot             1270 drivers/edac/i5000_edac.c 	for (slot = 0; slot < max_csrows; slot++) {
slot             1273 drivers/edac/i5000_edac.c 			mtr = determine_mtr(pvt, slot, channel);
slot             1280 drivers/edac/i5000_edac.c 				       channel % MAX_BRANCHES, slot);
slot             1282 drivers/edac/i5000_edac.c 			csrow_megs = pvt->dimm_info[slot][channel].megabytes;
slot              712 drivers/edac/i5100_edac.c 			       u8 ch, u8 slot, u8 addr, u8 *byte)
slot              723 drivers/edac/i5100_edac.c 			       i5100_spdcmd_create(0xa, 1, ch * 4 + slot, addr,
slot             1177 drivers/edac/i5400_edac.c 	int  channel, slot;
slot             1192 drivers/edac/i5400_edac.c 		for (slot = 0; slot < mci->layers[2].size; slot++) {
slot             1193 drivers/edac/i5400_edac.c 			mtr = determine_mtr(pvt, slot, channel);
slot             1200 drivers/edac/i5400_edac.c 				       channel / 2, channel % 2, slot);
slot             1202 drivers/edac/i5400_edac.c 			size_mb =  pvt->dimm_info[slot][channel].megabytes;
slot             1205 drivers/edac/i5400_edac.c 				 channel / 2, channel % 2, slot,
slot               69 drivers/edac/i7300_edac.c #define to_csrow(slot, ch, branch)					\
slot               70 drivers/edac/i7300_edac.c 		(to_channel(ch, branch) | ((slot) << 2))
slot              586 drivers/edac/i7300_edac.c 		      int slot, int ch, int branch,
slot              594 drivers/edac/i7300_edac.c 	mtr = pvt->mtr[slot][branch];
slot              598 drivers/edac/i7300_edac.c 		 slot, channel, ans ? "" : "NOT ");
slot              688 drivers/edac/i7300_edac.c 	int channel, slot;
slot              712 drivers/edac/i7300_edac.c 	for (slot = 0; slot < MAX_SLOTS; slot++) {
slot              713 drivers/edac/i7300_edac.c 		n = snprintf(p, space, "csrow/SLOT %d  ", slot);
slot              718 drivers/edac/i7300_edac.c 			dinfo = &pvt->dimm_info[slot][channel];
slot              751 drivers/edac/i7300_edac.c 	int ch, branch, slot, channel, max_channel, max_branch;
slot              788 drivers/edac/i7300_edac.c 	for (slot = 0; slot < MAX_SLOTS; slot++) {
slot              789 drivers/edac/i7300_edac.c 		int where = mtr_regs[slot];
slot              793 drivers/edac/i7300_edac.c 					&pvt->mtr[slot][branch]);
slot              798 drivers/edac/i7300_edac.c 					       mci->n_layers, branch, ch, slot);
slot              800 drivers/edac/i7300_edac.c 				dinfo = &pvt->dimm_info[slot][channel];
slot              802 drivers/edac/i7300_edac.c 				mtr = decode_mtr(pvt, slot, ch, branch,
slot             1458 drivers/edac/i7core_edac.c 	int i, func, slot;
slot             1469 drivers/edac/i7core_edac.c 		slot = PCI_SLOT(pdev->devfn);
slot             1470 drivers/edac/i7core_edac.c 		if (slot == 3) {
slot             1474 drivers/edac/i7core_edac.c 		} else if (likely(slot >= 4 && slot < 4 + NUM_CHANS)) {
slot             1477 drivers/edac/i7core_edac.c 			pvt->pci_ch[slot - 4][func] = pdev;
slot             1478 drivers/edac/i7core_edac.c 		} else if (!slot && !func) {
slot             1525 drivers/edac/i7core_edac.c 		      slot, func);
slot               49 drivers/eisa/eisa-bus.c 		x = (root->bus_nr << 8) | edev->slot;
slot              189 drivers/eisa/eisa-bus.c 				   int slot)
slot              195 drivers/eisa/eisa-bus.c 	sig_addr = SLOT_ADDRESS(root, slot) + EISA_VENDOR_ID_OFFSET;
slot              202 drivers/eisa/eisa-bus.c 	edev->slot = slot;
slot              203 drivers/eisa/eisa-bus.c 	edev->state = inb(SLOT_ADDRESS(root, slot) + EISA_CONFIG_OFFSET)
slot              205 drivers/eisa/eisa-bus.c 	edev->base_addr = SLOT_ADDRESS(root, slot);
slot              212 drivers/eisa/eisa-bus.c 	dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot);
slot              262 drivers/eisa/eisa-bus.c 					 int slot)
slot              273 drivers/eisa/eisa-bus.c 		if (!slot && i > 0) {
slot              278 drivers/eisa/eisa-bus.c 		if (slot) {
slot              280 drivers/eisa/eisa-bus.c 			edev->res[i].start = SLOT_ADDRESS(root, slot)
slot              286 drivers/eisa/eisa-bus.c 			edev->res[i].start = SLOT_ADDRESS(root, slot)
slot              235 drivers/firewire/init_ohci1394_dma.c static inline void __init init_ohci1394_controller(int num, int slot, int func)
slot              241 drivers/firewire/init_ohci1394_dma.c 			 " at %02x:%02x.%x\n", num, slot, func);
slot              243 drivers/firewire/init_ohci1394_dma.c 	ohci_base = read_pci_config(num, slot, func, PCI_BASE_ADDRESS_0+(0<<2))
slot              259 drivers/firewire/init_ohci1394_dma.c 	int num, slot, func;
slot              267 drivers/firewire/init_ohci1394_dma.c 		for (slot = 0; slot < 32; slot++) {
slot              269 drivers/firewire/init_ohci1394_dma.c 				class = read_pci_config(num, slot, func,
slot              277 drivers/firewire/init_ohci1394_dma.c 				init_ohci1394_controller(num, slot, func);
slot              221 drivers/firmware/arm_scpi.c 	u32 slot; /* has to be first element */
slot              497 drivers/firmware/arm_scpi.c 		msg->slot = msg->cmd;
slot              499 drivers/firmware/arm_scpi.c 		msg->slot = BIT(SCPI_SLOT);
slot              168 drivers/firmware/dmi_scan.c static void __init dmi_save_ident(const struct dmi_header *dm, int slot,
slot              174 drivers/firmware/dmi_scan.c 	if (dmi_ident[slot] || dm->length <= string)
slot              181 drivers/firmware/dmi_scan.c 	dmi_ident[slot] = p;
slot              184 drivers/firmware/dmi_scan.c static void __init dmi_save_uuid(const struct dmi_header *dm, int slot,
slot              191 drivers/firmware/dmi_scan.c 	if (dmi_ident[slot] || dm->length < index + 16)
slot              219 drivers/firmware/dmi_scan.c 	dmi_ident[slot] = s;
slot              222 drivers/firmware/dmi_scan.c static void __init dmi_save_type(const struct dmi_header *dm, int slot,
slot              228 drivers/firmware/dmi_scan.c 	if (dmi_ident[slot] || dm->length <= index)
slot              237 drivers/firmware/dmi_scan.c 	dmi_ident[slot] = s;
slot              796 drivers/firmware/dmi_scan.c 		int s = dmi->matches[i].slot;
slot              831 drivers/firmware/dmi_scan.c 	return dmi->matches[0].slot == DMI_NONE;
slot              150 drivers/firmware/edd.c 			     info->params.interface_path.pci.slot,
slot              665 drivers/firmware/edd.c 				PCI_DEVFN(info->params.interface_path.pci.slot,
slot              378 drivers/firmware/efi/cper.c 		       pcie->device_id.slot >> CPER_PCIE_SLOT_SHIFT);
slot             2911 drivers/gpu/drm/drm_dp_mst_topology.c 		int slot = -1;
slot             2923 drivers/gpu/drm/drm_dp_mst_topology.c 		slot = mgr->down_rep_recv.initial_hdr.seqno;
slot             2925 drivers/gpu/drm/drm_dp_mst_topology.c 		txmsg = mstb->tx_slots[slot];
slot             2956 drivers/gpu/drm/drm_dp_mst_topology.c 		mstb->tx_slots[slot] = NULL;
slot              160 drivers/gpu/drm/drm_drv.c 	struct drm_minor **slot, *minor;
slot              163 drivers/gpu/drm/drm_drv.c 	slot = drm_minor_get_slot(dev, type);
slot              164 drivers/gpu/drm/drm_drv.c 	minor = *slot;
slot              175 drivers/gpu/drm/drm_drv.c 	*slot = NULL;
slot              100 drivers/gpu/drm/i915/gem/i915_gem_context.c 	void __rcu **slot;
slot              105 drivers/gpu/drm/i915/gem/i915_gem_context.c 	radix_tree_for_each_slot(slot, &ctx->handles_vma, &iter, 0) {
slot              106 drivers/gpu/drm/i915/gem/i915_gem_context.c 		struct i915_vma *vma = rcu_dereference_raw(*slot);
slot              130 drivers/gpu/drm/i915/gem/i915_gem_context.c 			radix_tree_iter_delete(&ctx->handles_vma, &iter, slot);
slot              145 drivers/gpu/drm/i915/gem/i915_gem_pages.c 	void __rcu **slot;
slot              148 drivers/gpu/drm/i915/gem/i915_gem_pages.c 	radix_tree_for_each_slot(slot, &obj->mm.get_page.radix, &iter, 0)
slot              277 drivers/gpu/drm/i915/gvt/execlist.c 	return &execlist->slot[status.execlist_write_pointer];
slot              284 drivers/gpu/drm/i915/gvt/execlist.c 	struct intel_vgpu_execlist_slot *slot =
slot              293 drivers/gpu/drm/i915/gvt/execlist.c 	if (!slot) {
slot              299 drivers/gpu/drm/i915/gvt/execlist.c 	memset(slot->ctx, 0, sizeof(slot->ctx));
slot              301 drivers/gpu/drm/i915/gvt/execlist.c 	slot->ctx[0] = ctx[0];
slot              302 drivers/gpu/drm/i915/gvt/execlist.c 	slot->ctx[1] = ctx[1];
slot              305 drivers/gpu/drm/i915/gvt/execlist.c 			slot->index, ctx[0].context_id,
slot              315 drivers/gpu/drm/i915/gvt/execlist.c 		execlist->running_slot = slot;
slot              317 drivers/gpu/drm/i915/gvt/execlist.c 		execlist->running_context = &slot->ctx[0];
slot              346 drivers/gpu/drm/i915/gvt/execlist.c 	if ((valid_context(ctx1) && same_context(ctx1, &slot->ctx[0]) &&
slot              350 drivers/gpu/drm/i915/gvt/execlist.c 			 same_context(ctx0, &slot->ctx[0]))) { /* condition b */
slot              353 drivers/gpu/drm/i915/gvt/execlist.c 		execlist->pending_slot = slot;
slot              368 drivers/gpu/drm/i915/gvt/execlist.c 		execlist->pending_slot = slot;
slot              518 drivers/gpu/drm/i915/gvt/execlist.c 	execlist->slot[0].index = 0;
slot              519 drivers/gpu/drm/i915/gvt/execlist.c 	execlist->slot[1].index = 1;
slot              167 drivers/gpu/drm/i915/gvt/execlist.h 	struct intel_vgpu_execlist_slot slot[2];
slot              762 drivers/gpu/drm/i915/gvt/gtt.c 	void __rcu **slot;
slot              765 drivers/gpu/drm/i915/gvt/gtt.c 	radix_tree_for_each_slot(slot, &vgpu->gtt.spt_tree, &iter, 0) {
slot              766 drivers/gpu/drm/i915/gvt/gtt.c 		spt = radix_tree_deref_slot(slot);
slot             1638 drivers/gpu/drm/i915/gvt/kvmgt.c 	struct kvm_memory_slot *slot;
slot             1648 drivers/gpu/drm/i915/gvt/kvmgt.c 	slot = gfn_to_memslot(kvm, gfn);
slot             1649 drivers/gpu/drm/i915/gvt/kvmgt.c 	if (!slot) {
slot             1659 drivers/gpu/drm/i915/gvt/kvmgt.c 	kvm_slot_page_track_add_page(kvm, slot, gfn, KVM_PAGE_TRACK_WRITE);
slot             1672 drivers/gpu/drm/i915/gvt/kvmgt.c 	struct kvm_memory_slot *slot;
slot             1682 drivers/gpu/drm/i915/gvt/kvmgt.c 	slot = gfn_to_memslot(kvm, gfn);
slot             1683 drivers/gpu/drm/i915/gvt/kvmgt.c 	if (!slot) {
slot             1693 drivers/gpu/drm/i915/gvt/kvmgt.c 	kvm_slot_page_track_remove_page(kvm, slot, gfn, KVM_PAGE_TRACK_WRITE);
slot             1715 drivers/gpu/drm/i915/gvt/kvmgt.c 		struct kvm_memory_slot *slot,
slot             1724 drivers/gpu/drm/i915/gvt/kvmgt.c 	for (i = 0; i < slot->npages; i++) {
slot             1725 drivers/gpu/drm/i915/gvt/kvmgt.c 		gfn = slot->base_gfn + i;
slot             1727 drivers/gpu/drm/i915/gvt/kvmgt.c 			kvm_slot_page_track_remove_page(kvm, slot, gfn,
slot              962 drivers/gpu/drm/i915/i915_gpu_error.c 	const u64 slot = ggtt->error_capture.start;
slot              995 drivers/gpu/drm/i915/i915_gpu_error.c 		ggtt->vm.insert_page(&ggtt->vm, dma, slot, I915_CACHE_NONE, 0);
slot              997 drivers/gpu/drm/i915/i915_gpu_error.c 		s = io_mapping_map_wc(&ggtt->iomap, slot, PAGE_SIZE);
slot             1276 drivers/gpu/drm/i915/i915_gpu_error.c 	void **slot;
slot             1299 drivers/gpu/drm/i915/i915_gpu_error.c 	c->slot = (void **)out;
slot             1300 drivers/gpu/drm/i915/i915_gpu_error.c 	*c->slot = i915_vma_get(vma);
slot             1429 drivers/gpu/drm/i915/i915_gpu_error.c 			struct i915_vma *vma = *this->slot;
slot             1431 drivers/gpu/drm/i915/i915_gpu_error.c 			*this->slot =
slot             1667 drivers/gpu/drm/i915/i915_gpu_error.c 	const u64 slot = ggtt->error_capture.start;
slot             1669 drivers/gpu/drm/i915/i915_gpu_error.c 	ggtt->vm.clear_range(&ggtt->vm, slot, PAGE_SIZE);
slot             1022 drivers/gpu/drm/i915/i915_pmu.c 	enum cpuhp_state slot;
slot             1032 drivers/gpu/drm/i915/i915_pmu.c 	slot = ret;
slot             1033 drivers/gpu/drm/i915/i915_pmu.c 	ret = cpuhp_state_add_instance(slot, &pmu->node);
slot             1035 drivers/gpu/drm/i915/i915_pmu.c 		cpuhp_remove_multi_state(slot);
slot             1039 drivers/gpu/drm/i915/i915_pmu.c 	cpuhp_slot = slot;
slot               40 drivers/gpu/drm/i915/selftests/i915_gem.c 	const u64 slot = ggtt->error_capture.start;
slot               50 drivers/gpu/drm/i915/selftests/i915_gem.c 		ggtt->vm.insert_page(&ggtt->vm, dma, slot, I915_CACHE_NONE, 0);
slot               52 drivers/gpu/drm/i915/selftests/i915_gem.c 		s = io_mapping_map_atomic_wc(&ggtt->iomap, slot);
slot               60 drivers/gpu/drm/i915/selftests/i915_gem.c 	ggtt->vm.clear_range(&ggtt->vm, slot, PAGE_SIZE);
slot               79 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h 		void (*vcpi)(struct nvkm_ior *, int head, u8 slot,
slot               61 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 		  u8 slot, u8 slot_nr, u16 pbn, u16 aligned)
slot               66 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	nvkm_mask(device, 0x616588 + hoff, 0x00003f3f, (slot_nr << 8) | slot);
slot               28 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c 		  u8 slot, u8 slot_nr, u16 pbn, u16 aligned)
slot               34 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c 	nvkm_mask(device, 0x616578 + hoff, 0x00003f3f, (slot_nr << 8) | slot);
slot              330 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfctr_new(struct nvkm_perfdom *dom, int slot, u8 domain,
slot              346 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c 	ctr->slot     = slot;
slot              141 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c 	nvkm_wr32(device, dom->addr + 0x040 + (ctr->slot * 0x08), src);
slot              142 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c 	nvkm_wr32(device, dom->addr + 0x044 + (ctr->slot * 0x08), log);
slot              151 drivers/gpu/drm/nouveau/nvkm/engine/pm/gf100.c 	switch (ctr->slot) {
slot               39 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c 	nvkm_wr32(device, 0x00a400 + dom->addr + (ctr->slot * 0x40), src);
slot               40 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c 	nvkm_wr32(device, 0x00a420 + dom->addr + (ctr->slot * 0x40), log);
slot               49 drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c 	switch (ctr->slot) {
slot               19 drivers/gpu/drm/nouveau/nvkm/engine/pm/priv.h 	int slot;
slot               44 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	const int slot = pt->base >> pt->ptp->shift;
slot               52 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	ptp->free |= BIT(slot);
slot               69 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	int slot;
slot               90 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 		slot = nvkm_memory_size(ptp->pt->memory) >> ptp->shift;
slot               91 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 		ptp->mask = (1 << slot) - 1;
slot              101 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	slot = __ffs(ptp->free);
slot              102 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	ptp->free &= ~BIT(slot);
slot              107 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c 	pt->base = slot << ptp->shift;
slot               16 drivers/gpu/drm/panfrost/panfrost_devfreq.c static void panfrost_devfreq_update_utilization(struct panfrost_device *pfdev, int slot);
slot               82 drivers/gpu/drm/panfrost/panfrost_devfreq.c 		pfdev->devfreq.slot[i].busy_time = 0;
slot               83 drivers/gpu/drm/panfrost/panfrost_devfreq.c 		pfdev->devfreq.slot[i].idle_time = 0;
slot               84 drivers/gpu/drm/panfrost/panfrost_devfreq.c 		pfdev->devfreq.slot[i].time_last_update = now;
slot               99 drivers/gpu/drm/panfrost/panfrost_devfreq.c 	status->total_time = ktime_to_ns(ktime_add(pfdev->devfreq.slot[0].busy_time,
slot              100 drivers/gpu/drm/panfrost/panfrost_devfreq.c 						   pfdev->devfreq.slot[0].idle_time));
slot              104 drivers/gpu/drm/panfrost/panfrost_devfreq.c 		status->busy_time += ktime_to_ns(pfdev->devfreq.slot[i].busy_time);
slot              186 drivers/gpu/drm/panfrost/panfrost_devfreq.c 		pfdev->devfreq.slot[i].busy = false;
slot              199 drivers/gpu/drm/panfrost/panfrost_devfreq.c static void panfrost_devfreq_update_utilization(struct panfrost_device *pfdev, int slot)
slot              201 drivers/gpu/drm/panfrost/panfrost_devfreq.c 	struct panfrost_devfreq_slot *devfreq_slot = &pfdev->devfreq.slot[slot];
slot              209 drivers/gpu/drm/panfrost/panfrost_devfreq.c 	last = pfdev->devfreq.slot[slot].time_last_update;
slot              213 drivers/gpu/drm/panfrost/panfrost_devfreq.c 		pfdev->devfreq.slot[slot].busy_time += ktime_sub(now, last);
slot              215 drivers/gpu/drm/panfrost/panfrost_devfreq.c 		pfdev->devfreq.slot[slot].idle_time += ktime_sub(now, last);
slot              217 drivers/gpu/drm/panfrost/panfrost_devfreq.c 	pfdev->devfreq.slot[slot].time_last_update = now;
slot              221 drivers/gpu/drm/panfrost/panfrost_devfreq.c void panfrost_devfreq_record_transition(struct panfrost_device *pfdev, int slot)
slot              223 drivers/gpu/drm/panfrost/panfrost_devfreq.c 	struct panfrost_devfreq_slot *devfreq_slot = &pfdev->devfreq.slot[slot];
slot              225 drivers/gpu/drm/panfrost/panfrost_devfreq.c 	panfrost_devfreq_update_utilization(pfdev, slot);
slot               13 drivers/gpu/drm/panfrost/panfrost_devfreq.h void panfrost_devfreq_record_transition(struct panfrost_device *pfdev, int slot);
slot               98 drivers/gpu/drm/panfrost/panfrost_device.h 		struct panfrost_devfreq_slot slot[NUM_JOB_SLOTS];
slot              213 drivers/gpu/drm/panfrost/panfrost_job.c 	int slot = panfrost_job_get_slot(job);
slot              214 drivers/gpu/drm/panfrost/panfrost_job.c 	struct drm_sched_entity *entity = &job->file_priv->sched_entity[slot];
slot              343 drivers/gpu/drm/panfrost/panfrost_job.c 	int slot = panfrost_job_get_slot(job);
slot              349 drivers/gpu/drm/panfrost/panfrost_job.c 	pfdev->jobs[slot] = job;
slot              351 drivers/gpu/drm/panfrost/panfrost_job.c 	fence = panfrost_fence_create(pfdev, slot);
slot              359 drivers/gpu/drm/panfrost/panfrost_job.c 	panfrost_job_hw_submit(job, slot);
slot              595 drivers/gpu/drm/panfrost/panfrost_job.c 		if (pfdev->devfreq.slot[i].busy)
slot              309 drivers/gpu/drm/qxl/qxl_drv.h 	struct qxl_memslot *slot =
slot              313 drivers/gpu/drm/qxl/qxl_drv.h 	WARN_ON_ONCE((bo->tbo.offset & slot->gpu_offset) != slot->gpu_offset);
slot              316 drivers/gpu/drm/qxl/qxl_drv.h 	return slot->high_bits | (bo->tbo.offset - slot->gpu_offset + offset);
slot               59 drivers/gpu/drm/qxl/qxl_kms.c static void setup_hw_slot(struct qxl_device *qdev, struct qxl_memslot *slot)
slot               61 drivers/gpu/drm/qxl/qxl_kms.c 	qdev->ram_header->mem_slot.mem_start = slot->start_phys_addr;
slot               62 drivers/gpu/drm/qxl/qxl_kms.c 	qdev->ram_header->mem_slot.mem_end = slot->start_phys_addr + slot->size;
slot               63 drivers/gpu/drm/qxl/qxl_kms.c 	qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index);
slot               67 drivers/gpu/drm/qxl/qxl_kms.c 		       struct qxl_memslot *slot,
slot               75 drivers/gpu/drm/qxl/qxl_kms.c 	slot->index = slot_index;
slot               76 drivers/gpu/drm/qxl/qxl_kms.c 	slot->name = slot_name;
slot               77 drivers/gpu/drm/qxl/qxl_kms.c 	slot->start_phys_addr = start_phys_addr;
slot               78 drivers/gpu/drm/qxl/qxl_kms.c 	slot->size = size;
slot               80 drivers/gpu/drm/qxl/qxl_kms.c 	setup_hw_slot(qdev, slot);
slot               82 drivers/gpu/drm/qxl/qxl_kms.c 	slot->generation = qdev->rom->slot_generation;
slot               83 drivers/gpu/drm/qxl/qxl_kms.c 	high_bits = (qdev->rom->slots_start + slot->index)
slot               85 drivers/gpu/drm/qxl/qxl_kms.c 	high_bits |= slot->generation;
slot               87 drivers/gpu/drm/qxl/qxl_kms.c 	slot->high_bits = high_bits;
slot               90 drivers/gpu/drm/qxl/qxl_kms.c 		 slot->index, slot->name,
slot               91 drivers/gpu/drm/qxl/qxl_kms.c 		 (unsigned long)slot->start_phys_addr,
slot               92 drivers/gpu/drm/qxl/qxl_kms.c 		 (unsigned long)slot->size,
slot               93 drivers/gpu/drm/qxl/qxl_kms.c 		 (unsigned long)slot->gpu_offset);
slot              103 drivers/gpu/drm/qxl/qxl_ttm.c 	struct qxl_memslot *slot;
slot              115 drivers/gpu/drm/qxl/qxl_ttm.c 		slot = (type == TTM_PL_VRAM) ?
slot              117 drivers/gpu/drm/qxl/qxl_ttm.c 		slot->gpu_offset = (uint64_t)type << gpu_offset_shift;
slot              119 drivers/gpu/drm/qxl/qxl_ttm.c 		man->gpu_offset = slot->gpu_offset;
slot              298 drivers/gpu/drm/sti/sti_hdmi.c 				 u32 slot)
slot              303 drivers/gpu/drm/sti/sti_hdmi.c 	switch (slot) {
slot              317 drivers/gpu/drm/sti/sti_hdmi.c 		DRM_ERROR("unsupported infoframe slot: %#x\n", slot);
slot              323 drivers/gpu/drm/sti/sti_hdmi.c 	val &= ~HDMI_IFRAME_CFG_DI_N(HDMI_IFRAME_MASK, slot);
slot              362 drivers/gpu/drm/sti/sti_hdmi.c 	u32 val, slot, mode, i;
slot              367 drivers/gpu/drm/sti/sti_hdmi.c 		slot = HDMI_IFRAME_SLOT_AVI;
slot              373 drivers/gpu/drm/sti/sti_hdmi.c 		slot = HDMI_IFRAME_SLOT_AUDIO;
slot              379 drivers/gpu/drm/sti/sti_hdmi.c 		slot = HDMI_IFRAME_SLOT_VENDOR;
slot              391 drivers/gpu/drm/sti/sti_hdmi.c 	val &= ~HDMI_IFRAME_CFG_DI_N(HDMI_IFRAME_MASK, slot);
slot              416 drivers/gpu/drm/sti/sti_hdmi.c 	val |= HDMI_IFRAME_CFG_DI_N(mode, slot);
slot              595 drivers/gpu/drm/sti/sti_hdmi.c #define DBGFS_DUMP_DI(reg, slot) DBGFS_DUMP("\n", reg(slot))
slot              173 drivers/gpu/drm/vc4/vc4_v3d.c 	int slot;
slot              179 drivers/gpu/drm/vc4/vc4_v3d.c 	slot = ffs(~vc4->bin_alloc_used);
slot              180 drivers/gpu/drm/vc4/vc4_v3d.c 	if (slot != 0) {
slot              182 drivers/gpu/drm/vc4/vc4_v3d.c 		slot--;
slot              183 drivers/gpu/drm/vc4/vc4_v3d.c 		vc4->bin_alloc_used |= BIT(slot);
slot              185 drivers/gpu/drm/vc4/vc4_v3d.c 		return slot;
slot              398 drivers/gpu/drm/via/via_dmablit.c 	uint32_t slot;
slot              411 drivers/gpu/drm/via/via_dmablit.c 		slot = handle - blitq->done_blit_handle + blitq->cur - 1;
slot              412 drivers/gpu/drm/via/via_dmablit.c 		if (slot >= VIA_NUM_BLIT_SLOTS)
slot              413 drivers/gpu/drm/via/via_dmablit.c 			slot -= VIA_NUM_BLIT_SLOTS;
slot              414 drivers/gpu/drm/via/via_dmablit.c 		*queue = blitq->blit_queue + slot;
slot              263 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 		enum vmw_ctx_binding_type bt, u32 shader_slot, u32 slot)
slot              266 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 	size_t offset = b->offsets[shader_slot] + b->size*slot;
slot              299 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 		    u32 shader_slot, u32 slot)
slot              302 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 		vmw_binding_loc(cbs, bi->bt, shader_slot, slot);
slot              541 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 	cmd->body.type = binding->slot;
slot              639 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 	cmd->body.slot = binding->slot;
slot             1066 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 	__set_bit(biv->slot, cbs->per_shader[biv->shader_slot].dirty_sr);
slot             1122 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c 	__set_bit(bivb->slot, cbs->dirty_vb);
slot              114 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h 	uint32 slot;
slot              127 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h 	uint32 slot;
slot              142 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h 	uint32 slot;
slot              157 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h 	uint32 slot;
slot              194 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h 			    u32 shader_slot, u32 slot);
slot              810 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		binding.slot = first_slot + i;
slot              812 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 				shader_slot, binding.slot);
slot              908 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		binding.slot = cmd->body.type;
slot              909 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		vmw_binding_add(node->staged, &binding.bi, 0, binding.slot);
slot             2140 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	binding.slot = cmd->body.slot;
slot             2143 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 	    binding.slot >= SVGA3D_DX_MAX_CONSTBUFFERS) {
slot             2146 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 			       (unsigned int) binding.slot);
slot             2151 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 			binding.slot);
slot             2286 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		binding.slot = i + cmd->body.startBuffer;
slot             2288 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		vmw_binding_add(ctx_node->staged, &binding.bi, 0, binding.slot);
slot             2497 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		binding.slot = i;
slot             2499 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 		vmw_binding_add(ctx_node->staged, &binding.bi, 0, binding.slot);
slot               86 drivers/gpu/host1x/cdma.h void host1x_cdma_peek(struct host1x_cdma *cdma, u32 dmaget, int slot,
slot              991 drivers/gpu/vga/vgaarb.c 	unsigned int slot, func;
slot              994 drivers/gpu/vga/vgaarb.c 	n = sscanf(buf, "PCI:%x:%x:%x.%x", domain, bus, &slot, &func);
slot              998 drivers/gpu/vga/vgaarb.c 	*devfn = PCI_DEVFN(slot, func);
slot             1755 drivers/hid/hid-logitech-hidpp.c 	u8 slot;
slot             1784 drivers/hid/hid-logitech-hidpp.c 		slot = response.fap.params[0];
slot             1785 drivers/hid/hid-logitech-hidpp.c 		if (slot > 0 && slot <= data->num_effects) {
slot             1788 drivers/hid/hid-logitech-hidpp.c 				data->effect_ids[slot-1] = wd->effect_id;
slot             1791 drivers/hid/hid-logitech-hidpp.c 				data->slot_autocenter = slot;
slot             2006 drivers/hid/hid-logitech-hidpp.c 	u8 slot = 0;
slot             2010 drivers/hid/hid-logitech-hidpp.c 	return hidpp_ff_queue_work(data, effect_id, HIDPP_FF_DESTROY_EFFECT, &slot, 1);
slot             2243 drivers/hid/hid-logitech-hidpp.c 	int slot;
slot             2249 drivers/hid/hid-logitech-hidpp.c 	slot = input_mt_get_slot_by_key(hidpp->input, touch_report->finger_id);
slot             2251 drivers/hid/hid-logitech-hidpp.c 	input_mt_slot(hidpp->input, slot);
slot              230 drivers/hid/hid-multitouch.c 				struct mt_usages *slot)
slot              232 drivers/hid/hid-multitouch.c 	if (*slot->contactid != 0 || application->num_received == 0)
slot              233 drivers/hid/hid-multitouch.c 		return *slot->contactid;
slot              879 drivers/hid/hid-multitouch.c 			   struct mt_usages *slot,
slot              885 drivers/hid/hid-multitouch.c 		return *slot->contactid;
slot              888 drivers/hid/hid-multitouch.c 		return cypress_compute_slot(app, slot);
slot              894 drivers/hid/hid-multitouch.c 		return *slot->contactid - 1;
slot              896 drivers/hid/hid-multitouch.c 	return input_mt_get_slot_by_key(input, *slot->contactid);
slot              979 drivers/hid/hid-multitouch.c 			    struct mt_usages *slot)
slot              990 drivers/hid/hid-multitouch.c 	if (!slot)
slot              999 drivers/hid/hid-multitouch.c 			valid = *slot->inrange_state;
slot             1001 drivers/hid/hid-multitouch.c 			valid = *slot->tip_state;
slot             1003 drivers/hid/hid-multitouch.c 			valid = *slot->confidence_state;
slot             1009 drivers/hid/hid-multitouch.c 	slotnum = mt_compute_slot(td, app, slot, input);
slot             1022 drivers/hid/hid-multitouch.c 		confidence_state = *slot->confidence_state;
slot             1025 drivers/hid/hid-multitouch.c 		inrange_state = *slot->inrange_state;
slot             1027 drivers/hid/hid-multitouch.c 	active = *slot->tip_state || inrange_state;
slot             1053 drivers/hid/hid-multitouch.c 		int wide = (*slot->w > *slot->h);
slot             1054 drivers/hid/hid-multitouch.c 		int major = max(*slot->w, *slot->h);
slot             1055 drivers/hid/hid-multitouch.c 		int minor = min(*slot->w, *slot->h);
slot             1060 drivers/hid/hid-multitouch.c 		if (slot->a != DEFAULT_ZERO) {
slot             1071 drivers/hid/hid-multitouch.c 			azimuth = *slot->a;
slot             1088 drivers/hid/hid-multitouch.c 		input_event(input, EV_ABS, ABS_MT_POSITION_X, *slot->x);
slot             1089 drivers/hid/hid-multitouch.c 		input_event(input, EV_ABS, ABS_MT_POSITION_Y, *slot->y);
slot             1090 drivers/hid/hid-multitouch.c 		input_event(input, EV_ABS, ABS_MT_TOOL_X, *slot->cx);
slot             1091 drivers/hid/hid-multitouch.c 		input_event(input, EV_ABS, ABS_MT_TOOL_Y, *slot->cy);
slot             1092 drivers/hid/hid-multitouch.c 		input_event(input, EV_ABS, ABS_MT_DISTANCE, !*slot->tip_state);
slot             1094 drivers/hid/hid-multitouch.c 		input_event(input, EV_ABS, ABS_MT_PRESSURE, *slot->p);
slot             1151 drivers/hid/hid-multitouch.c 	struct mt_usages *slot;
slot             1193 drivers/hid/hid-multitouch.c 	list_for_each_entry(slot, &app->mt_usages, list) {
slot             1194 drivers/hid/hid-multitouch.c 		if (!mt_process_slot(td, input, app, slot))
slot             1389 drivers/hid/wacom_wac.c 			int slot = input_mt_get_slot_by_key(touch_input, touch[0]);
slot             1395 drivers/hid/wacom_wac.c 			if (slot < 0)
slot             1398 drivers/hid/wacom_wac.c 			input_mt_slot(touch_input, slot);
slot             1553 drivers/hid/wacom_wac.c 		int slot = input_mt_get_slot_by_key(input, data[offset + 1]);
slot             1555 drivers/hid/wacom_wac.c 		if (slot < 0)
slot             1557 drivers/hid/wacom_wac.c 		input_mt_slot(input, slot);
slot             1618 drivers/hid/wacom_wac.c 		int slot = input_mt_get_slot_by_key(input, id);
slot             1620 drivers/hid/wacom_wac.c 		if (slot < 0)
slot             1623 drivers/hid/wacom_wac.c 		input_mt_slot(input, slot);
slot             2544 drivers/hid/wacom_wac.c 		int slot;
slot             2546 drivers/hid/wacom_wac.c 		slot = input_mt_get_slot_by_key(input, hid_data->id);
slot             2547 drivers/hid/wacom_wac.c 		input_mt_slot(input, slot);
slot             2882 drivers/hid/wacom_wac.c 	int slot = input_mt_get_slot_by_key(input, data[0]);
slot             2884 drivers/hid/wacom_wac.c 	if (slot < 0)
slot             2889 drivers/hid/wacom_wac.c 	input_mt_slot(input, slot);
slot              691 drivers/hsi/clients/cmt_speech.c static int cs_hsi_write_on_data(struct cs_hsi_iface *hi, unsigned int slot)
slot              716 drivers/hsi/clients/cmt_speech.c 	hi->tx_slot = slot;
slot              344 drivers/hwspinlock/hwspinlock_core.c 	void **slot;
slot              361 drivers/hwspinlock/hwspinlock_core.c 	radix_tree_for_each_slot(slot, &hwspinlock_tree, &iter, 0) {
slot              362 drivers/hwspinlock/hwspinlock_core.c 		hwlock = radix_tree_deref_slot(slot);
slot              366 drivers/hwspinlock/hwspinlock_core.c 			slot = radix_tree_iter_retry(&iter);
slot             2181 drivers/i3c/master.c void i3c_master_queue_ibi(struct i3c_dev_desc *dev, struct i3c_ibi_slot *slot)
slot             2184 drivers/i3c/master.c 	queue_work(dev->common.master->wq, &slot->work);
slot             2190 drivers/i3c/master.c 	struct i3c_ibi_slot *slot = container_of(work, struct i3c_ibi_slot,
slot             2192 drivers/i3c/master.c 	struct i3c_dev_desc *dev = slot->dev;
slot             2196 drivers/i3c/master.c 	payload.data = slot->data;
slot             2197 drivers/i3c/master.c 	payload.len = slot->len;
slot             2202 drivers/i3c/master.c 	master->ops->recycle_ibi_slot(dev, slot);
slot             2208 drivers/i3c/master.c 				     struct i3c_ibi_slot *slot)
slot             2210 drivers/i3c/master.c 	slot->dev = dev;
slot             2211 drivers/i3c/master.c 	INIT_WORK(&slot->work, i3c_master_handle_ibi);
slot             2236 drivers/i3c/master.c 	struct i3c_generic_ibi_slot *slot;
slot             2240 drivers/i3c/master.c 		slot = list_first_entry(&pool->free_slots,
slot             2242 drivers/i3c/master.c 		list_del(&slot->node);
slot             2272 drivers/i3c/master.c 	struct i3c_generic_ibi_slot *slot;
slot             2284 drivers/i3c/master.c 	pool->slots = kcalloc(req->num_slots, sizeof(*slot), GFP_KERNEL);
slot             2300 drivers/i3c/master.c 		slot = &pool->slots[i];
slot             2301 drivers/i3c/master.c 		i3c_master_init_ibi_slot(dev, &slot->base);
slot             2304 drivers/i3c/master.c 			slot->base.data = pool->payload_buf +
slot             2307 drivers/i3c/master.c 		list_add_tail(&slot->node, &pool->free_slots);
slot             2332 drivers/i3c/master.c 	struct i3c_generic_ibi_slot *slot;
slot             2336 drivers/i3c/master.c 	slot = list_first_entry_or_null(&pool->free_slots,
slot             2338 drivers/i3c/master.c 	if (slot)
slot             2339 drivers/i3c/master.c 		list_del(&slot->node);
slot             2342 drivers/i3c/master.c 	return slot ? &slot->base : NULL;
slot             2357 drivers/i3c/master.c 	struct i3c_generic_ibi_slot *slot;
slot             2363 drivers/i3c/master.c 	slot = container_of(s, struct i3c_generic_ibi_slot, base);
slot             2365 drivers/i3c/master.c 	list_add_tail(&slot->node, &pool->free_slots);
slot              945 drivers/i3c/master/i3c-master-cdns.c 	int slot;
slot              951 drivers/i3c/master/i3c-master-cdns.c 	slot = cdns_i3c_master_get_rr_slot(master, dev->info.dyn_addr);
slot              952 drivers/i3c/master/i3c-master-cdns.c 	if (slot < 0) {
slot              954 drivers/i3c/master/i3c-master-cdns.c 		return slot;
slot              958 drivers/i3c/master/i3c-master-cdns.c 	data->id = slot;
slot              960 drivers/i3c/master/i3c-master-cdns.c 	master->free_rr_slots &= ~BIT(slot);
slot              992 drivers/i3c/master/i3c-master-cdns.c 	int slot;
slot              994 drivers/i3c/master/i3c-master-cdns.c 	slot = cdns_i3c_master_get_rr_slot(master, 0);
slot              995 drivers/i3c/master/i3c-master-cdns.c 	if (slot < 0)
slot              996 drivers/i3c/master/i3c-master-cdns.c 		return slot;
slot             1002 drivers/i3c/master/i3c-master-cdns.c 	data->id = slot;
slot             1003 drivers/i3c/master/i3c-master-cdns.c 	master->free_rr_slots &= ~BIT(slot);
slot             1039 drivers/i3c/master/i3c-master-cdns.c 					   unsigned int slot,
slot             1045 drivers/i3c/master/i3c-master-cdns.c 	rr = readl(master->regs + DEV_ID_RR0(slot));
slot             1047 drivers/i3c/master/i3c-master-cdns.c 	rr = readl(master->regs + DEV_ID_RR2(slot));
slot             1051 drivers/i3c/master/i3c-master-cdns.c 	info->pid |= (u64)readl(master->regs + DEV_ID_RR1(slot)) << 16;
slot             1128 drivers/i3c/master/i3c-master-cdns.c 	int ret, slot;
slot             1136 drivers/i3c/master/i3c-master-cdns.c 	for_each_clear_bit(slot, &olddevs, master->maxdevs + 1) {
slot             1142 drivers/i3c/master/i3c-master-cdns.c 		addrs[slot] = last_addr;
slot             1144 drivers/i3c/master/i3c-master-cdns.c 		       master->regs + DEV_ID_RR0(slot));
slot             1145 drivers/i3c/master/i3c-master-cdns.c 		writel(0, master->regs + DEV_ID_RR1(slot));
slot             1146 drivers/i3c/master/i3c-master-cdns.c 		writel(0, master->regs + DEV_ID_RR2(slot));
slot             1160 drivers/i3c/master/i3c-master-cdns.c 	for_each_set_bit(slot, &newdevs, master->maxdevs + 1)
slot             1161 drivers/i3c/master/i3c-master-cdns.c 		i3c_master_add_i3c_dev_locked(m, addrs[slot]);
slot             1279 drivers/i3c/master/i3c-master-cdns.c 	struct i3c_ibi_slot *slot;
slot             1296 drivers/i3c/master/i3c-master-cdns.c 	slot = i3c_generic_ibi_get_free_slot(data->ibi_pool);
slot             1297 drivers/i3c/master/i3c-master-cdns.c 	if (!slot)
slot             1300 drivers/i3c/master/i3c-master-cdns.c 	buf = slot->data;
slot             1310 drivers/i3c/master/i3c-master-cdns.c 	slot->len = min_t(unsigned int, IBIR_XFER_BYTES(ibir),
slot             1312 drivers/i3c/master/i3c-master-cdns.c 	i3c_master_queue_ibi(dev, slot);
slot             1488 drivers/i3c/master/i3c-master-cdns.c 					     struct i3c_ibi_slot *slot)
slot             1492 drivers/i3c/master/i3c-master-cdns.c 	i3c_generic_ibi_recycle_slot(data->ibi_pool, slot);
slot              369 drivers/infiniband/core/uverbs_ioctl.c 	void __rcu **slot;
slot              374 drivers/infiniband/core/uverbs_ioctl.c 		slot = pbundle->radix_slots + attr_key;
slot              375 drivers/infiniband/core/uverbs_ioctl.c 		entry = rcu_dereference_raw(*slot);
slot              377 drivers/infiniband/core/uverbs_ioctl.c 			return slot;
slot              390 drivers/infiniband/core/uverbs_ioctl.c 	void __rcu **slot;
slot              393 drivers/infiniband/core/uverbs_ioctl.c 	slot = uapi_get_attr_for_method(pbundle, attr_key);
slot              394 drivers/infiniband/core/uverbs_ioctl.c 	if (!slot) {
slot              403 drivers/infiniband/core/uverbs_ioctl.c 	attr = rcu_dereference_protected(*slot, true);
slot              525 drivers/infiniband/core/uverbs_ioctl.c 		void __rcu **slot;
slot              528 drivers/infiniband/core/uverbs_ioctl.c 		slot = uapi_get_attr_for_method(
slot              531 drivers/infiniband/core/uverbs_ioctl.c 		if (WARN_ON(!slot))
slot              534 drivers/infiniband/core/uverbs_ioctl.c 		attr_uapi = rcu_dereference_protected(*slot, true);
slot              564 drivers/infiniband/core/uverbs_ioctl.c 	void __rcu **slot;
slot              571 drivers/infiniband/core/uverbs_ioctl.c 	slot = radix_tree_iter_lookup(
slot              575 drivers/infiniband/core/uverbs_ioctl.c 	if (unlikely(!slot))
slot              577 drivers/infiniband/core/uverbs_ioctl.c 	method_elm = rcu_dereference_protected(*slot, true);
slot              600 drivers/infiniband/core/uverbs_ioctl.c 	pbundle->radix_slots = slot;
slot              363 drivers/infiniband/core/uverbs_uapi.c 	void __rcu **slot;
slot              366 drivers/infiniband/core/uverbs_uapi.c 	radix_tree_for_each_slot (slot, &uapi->radix, &iter,
slot              369 drivers/infiniband/core/uverbs_uapi.c 			rcu_dereference_protected(*slot, true);
slot              424 drivers/infiniband/core/uverbs_uapi.c 	void __rcu **slot;
slot              428 drivers/infiniband/core/uverbs_uapi.c 	radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) {
slot              430 drivers/infiniband/core/uverbs_uapi.c 			rcu_dereference_protected(*slot, true);
slot              458 drivers/infiniband/core/uverbs_uapi.c 	radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) {
slot              462 drivers/infiniband/core/uverbs_uapi.c 				rcu_dereference_protected(*slot, true);
slot              466 drivers/infiniband/core/uverbs_uapi.c 				rcu_dereference_protected(*slot, true);
slot              475 drivers/infiniband/core/uverbs_uapi.c 	void __rcu **slot;
slot              477 drivers/infiniband/core/uverbs_uapi.c 	radix_tree_for_each_slot (slot, &uapi->radix, &iter, start) {
slot              480 drivers/infiniband/core/uverbs_uapi.c 		kfree(rcu_dereference_protected(*slot, true));
slot              481 drivers/infiniband/core/uverbs_uapi.c 		radix_tree_iter_delete(&uapi->radix, &iter, slot);
slot              531 drivers/infiniband/core/uverbs_uapi.c 	void __rcu **slot;
slot              534 drivers/infiniband/core/uverbs_uapi.c 	radix_tree_for_each_slot (slot, &uapi->radix, &iter, starting_key) {
slot              539 drivers/infiniband/core/uverbs_uapi.c 				rcu_dereference_protected(*slot, true);
slot              553 drivers/infiniband/core/uverbs_uapi.c 				rcu_dereference_protected(*slot, true);
slot              566 drivers/infiniband/core/uverbs_uapi.c 				rcu_dereference_protected(*slot, true);
slot              570 drivers/infiniband/core/uverbs_uapi.c 				radix_tree_iter_delete(&uapi->radix, &iter, slot);
slot              577 drivers/infiniband/core/uverbs_uapi.c 				rcu_dereference_protected(*slot, true);
slot              684 drivers/infiniband/core/uverbs_uapi.c 	void __rcu **slot;
slot              688 drivers/infiniband/core/uverbs_uapi.c 	radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) {
slot              691 drivers/infiniband/core/uverbs_uapi.c 				rcu_dereference_protected(*slot, true);
slot              709 drivers/infiniband/core/uverbs_uapi.c 	void __rcu **slot;
slot              711 drivers/infiniband/core/uverbs_uapi.c 	radix_tree_for_each_slot (slot, &uapi->radix, &iter, 0) {
slot              714 drivers/infiniband/core/uverbs_uapi.c 				rcu_dereference_protected(*slot, true);
slot              724 drivers/infiniband/core/uverbs_uapi.c 				rcu_dereference_protected(*slot, true);
slot              693 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 	unsigned int slot;
slot              719 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 		slot = PCI_SLOT(dev->pdev->devfn);
slot              721 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 					PCI_DEVFN(slot, 0));
slot              250 drivers/infiniband/ulp/srpt/ib_srpt.c static void srpt_set_ioc(u8 *c_list, u32 slot, u8 value)
slot              255 drivers/infiniband/ulp/srpt/ib_srpt.c 	id = (slot - 1) / 2;
slot              256 drivers/infiniband/ulp/srpt/ib_srpt.c 	if (slot & 0x1) {
slot              295 drivers/infiniband/ulp/srpt/ib_srpt.c 	u8 slot;
slot              304 drivers/infiniband/ulp/srpt/ib_srpt.c 	for (i = 1, slot = 2; i < 16; i++, slot++)
slot              305 drivers/infiniband/ulp/srpt/ib_srpt.c 		srpt_set_ioc(ioui->controller_list, slot, 0);
slot              320 drivers/infiniband/ulp/srpt/ib_srpt.c static void srpt_get_ioc(struct srpt_port *sport, u32 slot,
slot              329 drivers/infiniband/ulp/srpt/ib_srpt.c 	if (!slot || slot > 16) {
slot              335 drivers/infiniband/ulp/srpt/ib_srpt.c 	if (slot > 2) {
slot              383 drivers/infiniband/ulp/srpt/ib_srpt.c 				 u16 slot, u8 hi, u8 lo, struct ib_dm_mad *mad)
slot              389 drivers/infiniband/ulp/srpt/ib_srpt.c 	if (!slot || slot > 16) {
slot              395 drivers/infiniband/ulp/srpt/ib_srpt.c 	if (slot > 2 || lo > hi || hi > 1) {
slot              423 drivers/infiniband/ulp/srpt/ib_srpt.c 	u32 slot;
slot              435 drivers/infiniband/ulp/srpt/ib_srpt.c 		slot = be32_to_cpu(rq_mad->mad_hdr.attr_mod);
slot              436 drivers/infiniband/ulp/srpt/ib_srpt.c 		srpt_get_ioc(sp, slot, rsp_mad);
slot              439 drivers/infiniband/ulp/srpt/ib_srpt.c 		slot = be32_to_cpu(rq_mad->mad_hdr.attr_mod);
slot              440 drivers/infiniband/ulp/srpt/ib_srpt.c 		hi = (u8) ((slot >> 8) & 0xff);
slot              441 drivers/infiniband/ulp/srpt/ib_srpt.c 		lo = (u8) (slot & 0xff);
slot              442 drivers/infiniband/ulp/srpt/ib_srpt.c 		slot = (u16) ((slot >> 16) & 0xffff);
slot              444 drivers/infiniband/ulp/srpt/ib_srpt.c 				     slot, hi, lo, rsp_mad);
slot              138 drivers/input/input-mt.c 	struct input_mt_slot *slot;
slot              144 drivers/input/input-mt.c 	slot = &mt->slots[mt->slot];
slot              145 drivers/input/input-mt.c 	slot->frame = mt->frame;
slot              152 drivers/input/input-mt.c 	id = input_mt_get_value(slot, ABS_MT_TRACKING_ID);
slot              224 drivers/input/input.c 			mt->slot = *pval;
slot              234 drivers/input/input.c 		pold = &mt->slots[mt->slot].abs[code - ABS_MT_FIRST];
slot              253 drivers/input/input.c 	if (is_mt_event && mt && mt->slot != input_abs_get_val(dev, ABS_MT_SLOT)) {
slot              254 drivers/input/input.c 		input_abs_set_val(dev, ABS_MT_SLOT, mt->slot);
slot              388 drivers/input/input.c 			v->value = dev->mt->slot;
slot              363 drivers/input/joystick/grip_mp.c 	int slot;
slot              381 drivers/input/joystick/grip_mp.c 	slot = ((packet >> 21) & 0xf) - 1;
slot              382 drivers/input/joystick/grip_mp.c 	if ((slot < 0) || (slot > 3))
slot              385 drivers/input/joystick/grip_mp.c 	port = grip->port[slot];
slot              397 drivers/input/joystick/grip_mp.c 			       grip_name[port->mode], slot);
slot              401 drivers/input/joystick/grip_mp.c 		dbg("Reset: grip multiport slot %d\n", slot);
slot              423 drivers/input/joystick/grip_mp.c 			dbg("New Grip pad in multiport slot %d.\n", slot);
slot              424 drivers/input/joystick/grip_mp.c 			if (register_slot(slot, grip)) {
slot              451 drivers/input/joystick/grip_mp.c 	int flags, slot, invalid = 0, active = 0;
slot              457 drivers/input/joystick/grip_mp.c 	for (slot = 0; slot < 4; slot++) {
slot              458 drivers/input/joystick/grip_mp.c 		if (grip->port[slot]->mode == GRIP_MODE_RESET)
slot              460 drivers/input/joystick/grip_mp.c 		if (grip->port[slot]->mode != GRIP_MODE_NONE)
slot              510 drivers/input/joystick/grip_mp.c static void report_slot(struct grip_mp *grip, int slot)
slot              512 drivers/input/joystick/grip_mp.c 	struct grip_port *port = grip->port[slot];
slot              584 drivers/input/joystick/grip_mp.c static int register_slot(int slot, struct grip_mp *grip)
slot              586 drivers/input/joystick/grip_mp.c 	struct grip_port *port = grip->port[slot];
slot              625 drivers/input/joystick/grip_mp.c 		report_slot(grip, slot);
slot              989 drivers/input/keyboard/applespi.c static void report_finger_data(struct input_dev *input, int slot,
slot              993 drivers/input/keyboard/applespi.c 	input_mt_slot(input, slot);
slot              502 drivers/input/mouse/alps.c static void alps_set_slot(struct input_dev *dev, int slot, int x, int y)
slot              504 drivers/input/mouse/alps.c 	input_mt_slot(dev, slot);
slot              515 drivers/input/mouse/alps.c 	int i, slot[MAX_TOUCHES];
slot              517 drivers/input/mouse/alps.c 	input_mt_assign_slots(dev, slot, f->mt, n, 0);
slot              519 drivers/input/mouse/alps.c 		alps_set_slot(dev, slot[i], f->mt[i].x, f->mt[i].y);
slot              564 drivers/input/mouse/bcm5974.c static void report_finger_data(struct input_dev *input, int slot,
slot              568 drivers/input/mouse/bcm5974.c 	input_mt_slot(input, slot);
slot             1155 drivers/input/mouse/cyapa_gen3.c 		int slot = touch->id - 1;
slot             1157 drivers/input/mouse/cyapa_gen3.c 		input_mt_slot(input, slot);
slot             2713 drivers/input/mouse/cyapa_gen5.c 	int slot = PIP_GET_TOUCH_ID(touch->touch_tip_event_id);
slot             2719 drivers/input/mouse/cyapa_gen5.c 	input_mt_slot(input, slot);
slot              342 drivers/input/mouse/elantech.c static void elantech_set_slot(struct input_dev *dev, int slot, bool active,
slot              345 drivers/input/mouse/elantech.c 	input_mt_slot(dev, slot);
slot              682 drivers/input/mouse/sentelic.c static void fsp_set_slot(struct input_dev *dev, int slot, bool active,
slot              685 drivers/input/mouse/sentelic.c 	input_mt_slot(dev, slot);
slot              887 drivers/input/mouse/synaptics.c static void synaptics_report_semi_mt_slot(struct input_dev *dev, int slot,
slot              890 drivers/input/mouse/synaptics.c 	input_mt_slot(dev, slot);
slot              991 drivers/input/mouse/synaptics.c 	int slot[2], nsemi, i;
slot             1000 drivers/input/mouse/synaptics.c 	input_mt_assign_slots(dev, slot, pos, nsemi, DMAX * priv->info.x_res);
slot             1003 drivers/input/mouse/synaptics.c 		input_mt_slot(dev, slot[i]);
slot               24 drivers/input/rmi4/rmi_2d_sensor.c 				int slot)
slot               61 drivers/input/rmi4/rmi_2d_sensor.c 	sensor->tracking_pos[slot].x = obj->x;
slot               62 drivers/input/rmi4/rmi_2d_sensor.c 	sensor->tracking_pos[slot].y = obj->y;
slot               68 drivers/input/rmi4/rmi_2d_sensor.c 				int slot)
slot               75 drivers/input/rmi4/rmi_2d_sensor.c 		input_mt_slot(input, sensor->tracking_slots[slot]);
slot               77 drivers/input/rmi4/rmi_2d_sensor.c 		input_mt_slot(input, slot);
slot               83 drivers/input/rmi4/rmi_2d_sensor.c 		obj->x = sensor->tracking_pos[slot].x;
slot               84 drivers/input/rmi4/rmi_2d_sensor.c 		obj->y = sensor->tracking_pos[slot].y;
slot              107 drivers/input/rmi4/rmi_2d_sensor.c 			__func__, slot, obj->type, obj->x, obj->y, obj->z,
slot               76 drivers/input/rmi4/rmi_2d_sensor.h 				int slot);
slot               80 drivers/input/rmi4/rmi_2d_sensor.h 				int slot);
slot               30 drivers/input/touchscreen/chipone_icn8318.c 	__u8 slot;
slot              115 drivers/input/touchscreen/chipone_icn8318.c 		input_mt_slot(data->input, touch->slot);
slot               50 drivers/input/touchscreen/chipone_icn8505.c 	u8 slot;
slot              346 drivers/input/touchscreen/chipone_icn8505.c 		input_mt_slot(icn8505->input, touch->slot);
slot              101 drivers/input/touchscreen/pixcir_i2c_ts.c 	int n, i, slot;
slot              114 drivers/input/touchscreen/pixcir_i2c_ts.c 			slot = input_mt_get_slot_by_key(ts->input,
slot              116 drivers/input/touchscreen/pixcir_i2c_ts.c 			if (slot < 0) {
slot              122 drivers/input/touchscreen/pixcir_i2c_ts.c 			slot = slots[i];
slot              125 drivers/input/touchscreen/pixcir_i2c_ts.c 		input_mt_slot(ts->input, slot);
slot              134 drivers/input/touchscreen/pixcir_i2c_ts.c 			i, slot, report->pos[i].x, report->pos[i].y);
slot              175 drivers/input/touchscreen/sis_i2c.c 	int slot;
slot              187 drivers/input/touchscreen/sis_i2c.c 	slot = input_mt_get_slot_by_key(input, data[SIS_CONTACT_ID_OFFSET]);
slot              188 drivers/input/touchscreen/sis_i2c.c 	if (slot < 0)
slot              191 drivers/input/touchscreen/sis_i2c.c 	input_mt_slot(input, slot);
slot               70 drivers/input/touchscreen/surface3_spi.c 	int slot;
slot               72 drivers/input/touchscreen/surface3_spi.c 	slot = input_mt_get_slot_by_key(ts_data->input_dev,
slot               74 drivers/input/touchscreen/surface3_spi.c 	if (slot < 0)
slot               77 drivers/input/touchscreen/surface3_spi.c 	input_mt_slot(ts_data->input_dev, slot);
slot              681 drivers/interconnect/core.c 	size_t slot;
slot              692 drivers/interconnect/core.c 	for (slot = 0; slot < src->num_links; slot++)
slot              693 drivers/interconnect/core.c 		if (src->links[slot] == dst)
slot              696 drivers/interconnect/core.c 	if (WARN_ON(slot == src->num_links)) {
slot              701 drivers/interconnect/core.c 	src->links[slot] = src->links[--src->num_links];
slot               61 drivers/ipack/carriers/tpci200.c 	if (dev->slot >= TPCI200_NB_SLOT) {
slot               64 drivers/ipack/carriers/tpci200.c 			 dev->bus->bus_nr, dev->slot, TPCI200_NB_SLOT-1);
slot              179 drivers/ipack/carriers/tpci200.c 	if (tpci200->slots[dev->slot].irq == NULL) {
slot              184 drivers/ipack/carriers/tpci200.c 	tpci200_disable_irq(tpci200, dev->slot);
slot              185 drivers/ipack/carriers/tpci200.c 	slot_irq = tpci200->slots[dev->slot].irq;
slot              187 drivers/ipack/carriers/tpci200.c 	RCU_INIT_POINTER(tpci200->slots[dev->slot].irq, NULL);
slot              208 drivers/ipack/carriers/tpci200.c 	if (tpci200->slots[dev->slot].irq != NULL) {
slot              212 drivers/ipack/carriers/tpci200.c 			dev->slot);
slot              221 drivers/ipack/carriers/tpci200.c 			dev->bus->bus_nr, dev->slot);
slot              236 drivers/ipack/carriers/tpci200.c 	rcu_assign_pointer(tpci200->slots[dev->slot].irq, slot_irq);
slot              237 drivers/ipack/carriers/tpci200.c 	tpci200_enable_irq(tpci200, dev->slot);
slot              373 drivers/ipack/carriers/tpci200.c 	addr = &tpci200->info->interface_regs->control[dev->slot];
slot              385 drivers/ipack/carriers/tpci200.c 	addr = &tpci200->info->interface_regs->control[dev->slot];
slot              410 drivers/ipack/carriers/tpci200.c 	mask = tpci200_status_error[dev->slot];
slot              424 drivers/ipack/carriers/tpci200.c 	mask = tpci200_status_timeout[dev->slot];
slot              439 drivers/ipack/carriers/tpci200.c 	mask = tpci200_status_timeout[dev->slot];
slot              494 drivers/ipack/carriers/tpci200.c 	dev->slot = i;
slot              264 drivers/ipack/devices/ipoctal.c 			     unsigned int slot)
slot              284 drivers/ipack/devices/ipoctal.c 			bus_nr, slot);
slot              300 drivers/ipack/devices/ipoctal.c 			bus_nr, slot);
slot              311 drivers/ipack/devices/ipoctal.c 			bus_nr, slot);
slot              360 drivers/ipack/devices/ipoctal.c 	sprintf(name, KBUILD_MODNAME ".%d.%d.", bus_nr, slot);
slot              677 drivers/ipack/devices/ipoctal.c 	res = ipoctal_inst_slot(ipoctal, dev->bus->bus_nr, dev->slot);
slot              436 drivers/ipack/ipack.c 		     "ipack-dev.%u.%u", dev->bus->bus_nr, dev->slot);
slot             3237 drivers/isdn/hardware/mISDN/hfcmulti.c 			HFC_outb(hc, R_ST_SEL, hc->chan[dch->slot].port);
slot             3258 drivers/isdn/hardware/mISDN/hfcmulti.c 			HFC_outb(hc, R_ST_SEL, hc->chan[dch->slot].port);
slot             3265 drivers/isdn/hardware/mISDN/hfcmulti.c 					~(1 << hc->chan[dch->slot].port);
slot             3292 drivers/isdn/hardware/mISDN/hfcmulti.c 			HFC_outb(hc, R_ST_SEL, hc->chan[dch->slot].port);
slot             3343 drivers/isdn/hardware/mISDN/hfcmulti.c 			hfcmulti_tx(hc, dch->slot);
slot             3360 drivers/isdn/hardware/mISDN/hfcmulti.c 				       __func__, hc->chan[dch->slot].port,
slot             3371 drivers/isdn/hardware/mISDN/hfcmulti.c 					 hc->chan[dch->slot].port);
slot             3393 drivers/isdn/hardware/mISDN/hfcmulti.c 				       __func__, hc->chan[dch->slot].port,
slot             3403 drivers/isdn/hardware/mISDN/hfcmulti.c 					 hc->chan[dch->slot].port);
slot             3446 drivers/isdn/hardware/mISDN/hfcmulti.c 	hc->chan[bch->slot].coeff_count = 0;
slot             3447 drivers/isdn/hardware/mISDN/hfcmulti.c 	hc->chan[bch->slot].rx_off = 0;
slot             3448 drivers/isdn/hardware/mISDN/hfcmulti.c 	hc->chan[bch->slot].conf = -1;
slot             3449 drivers/isdn/hardware/mISDN/hfcmulti.c 	mode_hfcmulti(hc, bch->slot, ISDN_P_NONE, -1, 0, -1, 0);
slot             3469 drivers/isdn/hardware/mISDN/hfcmulti.c 			hfcmulti_tx(hc, bch->slot);
slot             3480 drivers/isdn/hardware/mISDN/hfcmulti.c 			       __func__, bch->slot);
slot             3484 drivers/isdn/hardware/mISDN/hfcmulti.c 			hc->chan[bch->slot].txpending = 0;
slot             3485 drivers/isdn/hardware/mISDN/hfcmulti.c 			ret = mode_hfcmulti(hc, bch->slot,
slot             3487 drivers/isdn/hardware/mISDN/hfcmulti.c 					    hc->chan[bch->slot].slot_tx,
slot             3488 drivers/isdn/hardware/mISDN/hfcmulti.c 					    hc->chan[bch->slot].bank_tx,
slot             3489 drivers/isdn/hardware/mISDN/hfcmulti.c 					    hc->chan[bch->slot].slot_rx,
slot             3490 drivers/isdn/hardware/mISDN/hfcmulti.c 					    hc->chan[bch->slot].bank_rx);
slot             3570 drivers/isdn/hardware/mISDN/hfcmulti.c 		hc->chan[bch->slot].rx_off = !!cq->p1;
slot             3571 drivers/isdn/hardware/mISDN/hfcmulti.c 		if (!hc->chan[bch->slot].rx_off) {
slot             3573 drivers/isdn/hardware/mISDN/hfcmulti.c 			HFC_outb_nodebug(hc, R_FIFO, (bch->slot << 1) | 1);
slot             3580 drivers/isdn/hardware/mISDN/hfcmulti.c 			       __func__, bch->nr, hc->chan[bch->slot].rx_off);
slot             3619 drivers/isdn/hardware/mISDN/hfcmulti.c 			hfcmulti_pcm(hc, bch->slot,
slot             3634 drivers/isdn/hardware/mISDN/hfcmulti.c 		hfcmulti_pcm(hc, bch->slot, -1, 0, -1, 0);
slot             3642 drivers/isdn/hardware/mISDN/hfcmulti.c 			hfcmulti_conf(hc, bch->slot, num);
slot             3653 drivers/isdn/hardware/mISDN/hfcmulti.c 		hfcmulti_conf(hc, bch->slot, -1);
slot             3659 drivers/isdn/hardware/mISDN/hfcmulti.c 			vpm_echocan_on(hc, bch->slot, cq->p1);
slot             3669 drivers/isdn/hardware/mISDN/hfcmulti.c 			vpm_echocan_off(hc, bch->slot);
slot             3728 drivers/isdn/hardware/mISDN/hfcmulti.c 	ch = dch->slot;
slot             3856 drivers/isdn/hardware/mISDN/hfcmulti.c 	i = dch->slot;
slot             3864 drivers/isdn/hardware/mISDN/hfcmulti.c 			mode_hfcmulti(hc, dch->slot, dch->dev.D.protocol,
slot             4031 drivers/isdn/hardware/mISDN/hfcmulti.c 				~(1 << hc->chan[dch->slot].port);
slot             4095 drivers/isdn/hardware/mISDN/hfcmulti.c 		ch = (rq->adr.channel - 1) + (dch->slot - 2);
slot             4519 drivers/isdn/hardware/mISDN/hfcmulti.c 	ci = dch->slot;
slot             4815 drivers/isdn/hardware/mISDN/hfcmulti.c 	dch->slot = hc->dnum[pt];
slot             4838 drivers/isdn/hardware/mISDN/hfcmulti.c 		bch->slot = ch;
slot             4890 drivers/isdn/hardware/mISDN/hfcmulti.c 	dch->slot = i + 2;
slot             4911 drivers/isdn/hardware/mISDN/hfcmulti.c 		bch->slot = i + ch;
slot             1778 drivers/isdn/hardware/mISDN/hfcpci.c 	u_char	slot;
slot             1793 drivers/isdn/hardware/mISDN/hfcpci.c 				slot = 0xC0;
slot             1795 drivers/isdn/hardware/mISDN/hfcpci.c 				slot = 0x80;
slot             1797 drivers/isdn/hardware/mISDN/hfcpci.c 			       __func__, slot);
slot             1798 drivers/isdn/hardware/mISDN/hfcpci.c 			Write_hfc(hc, HFCPCI_B1_SSL, slot);
slot             1799 drivers/isdn/hardware/mISDN/hfcpci.c 			Write_hfc(hc, HFCPCI_B1_RSL, slot);
slot             1805 drivers/isdn/hardware/mISDN/hfcpci.c 				slot = 0xC1;
slot             1807 drivers/isdn/hardware/mISDN/hfcpci.c 				slot = 0x81;
slot             1809 drivers/isdn/hardware/mISDN/hfcpci.c 			       __func__, slot);
slot             1810 drivers/isdn/hardware/mISDN/hfcpci.c 			Write_hfc(hc, HFCPCI_B2_SSL, slot);
slot             1811 drivers/isdn/hardware/mISDN/hfcpci.c 			Write_hfc(hc, HFCPCI_B2_RSL, slot);
slot             1835 drivers/isdn/hardware/mISDN/hfcpci.c 			slot = 0xC0;
slot             1837 drivers/isdn/hardware/mISDN/hfcpci.c 			slot = 0x80;
slot             1839 drivers/isdn/hardware/mISDN/hfcpci.c 		       __func__, slot);
slot             1840 drivers/isdn/hardware/mISDN/hfcpci.c 		Write_hfc(hc, HFCPCI_B1_SSL, slot);
slot             1841 drivers/isdn/hardware/mISDN/hfcpci.c 		Write_hfc(hc, HFCPCI_B2_RSL, slot);
slot             1843 drivers/isdn/hardware/mISDN/hfcpci.c 			slot = 0xC1;
slot             1845 drivers/isdn/hardware/mISDN/hfcpci.c 			slot = 0x81;
slot             1847 drivers/isdn/hardware/mISDN/hfcpci.c 		       __func__, slot);
slot             1848 drivers/isdn/hardware/mISDN/hfcpci.c 		Write_hfc(hc, HFCPCI_B2_SSL, slot);
slot             1849 drivers/isdn/hardware/mISDN/hfcpci.c 		Write_hfc(hc, HFCPCI_B1_RSL, slot);
slot               51 drivers/isdn/hardware/mISDN/ipac.h 	u8			slot;
slot              551 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->ipac.hscx[0].slot = 0x1f;
slot              552 drivers/isdn/hardware/mISDN/mISDNinfineon.c 		hw->ipac.hscx[1].slot = 0x23;
slot             1257 drivers/isdn/hardware/mISDN/mISDNipac.c 		WriteHSCX(hscx, IPAC_TSAX, hscx->slot);
slot             1258 drivers/isdn/hardware/mISDN/mISDNipac.c 		WriteHSCX(hscx, IPAC_TSAR, hscx->slot);
slot             1293 drivers/isdn/hardware/mISDN/mISDNipac.c 		WriteHSCX(hscx, IPAC_TSAX, hscx->slot);
slot             1294 drivers/isdn/hardware/mISDN/mISDNipac.c 		WriteHSCX(hscx, IPAC_TSAR, hscx->slot);
slot             1610 drivers/isdn/hardware/mISDN/mISDNipac.c 		ipac->hscx[i].slot = (i == 0) ? 0x2f : 0x03;
slot              895 drivers/isdn/mISDN/l1oip_core.c 			l1oip_socket_send(hc, 0, dch->slot, 0,
slot              896 drivers/isdn/mISDN/l1oip_core.c 					  hc->chan[dch->slot].tx_counter++, p, ll);
slot              906 drivers/isdn/mISDN/l1oip_core.c 			       , __func__, dch->slot, hc->b_num + 1);
slot              916 drivers/isdn/mISDN/l1oip_core.c 			       "(1..%d)\n", __func__, dch->slot,
slot             1111 drivers/isdn/mISDN/l1oip_core.c 			hc->chan[bch->slot].tx_counter += l;
slot             1122 drivers/isdn/mISDN/l1oip_core.c 			hc->chan[bch->slot].tx_counter += l;
slot             1137 drivers/isdn/mISDN/l1oip_core.c 			l1oip_socket_send(hc, hc->codec, bch->slot, 0,
slot             1138 drivers/isdn/mISDN/l1oip_core.c 					  hc->chan[bch->slot].tx_counter, p, ll);
slot             1139 drivers/isdn/mISDN/l1oip_core.c 			hc->chan[bch->slot].tx_counter += ll;
slot             1149 drivers/isdn/mISDN/l1oip_core.c 			       , __func__, bch->slot, hc->b_num + 1);
slot             1150 drivers/isdn/mISDN/l1oip_core.c 		hc->chan[bch->slot].codecstate = 0;
slot             1158 drivers/isdn/mISDN/l1oip_core.c 			       "(1..%d)\n", __func__, bch->slot,
slot             1386 drivers/isdn/mISDN/l1oip_core.c 	dch->slot = hc->d_idx;
slot             1399 drivers/isdn/mISDN/l1oip_core.c 		bch->slot = i + ch;
slot               62 drivers/mailbox/hi6220-mailbox.c 	unsigned int slot;
slot               90 drivers/mailbox/hi6220-mailbox.c 			   unsigned int slot, u32 val)
slot               94 drivers/mailbox/hi6220-mailbox.c 	status = readl(mbox->base + MBOX_MODE_REG(slot));
slot               96 drivers/mailbox/hi6220-mailbox.c 	writel(status, mbox->base + MBOX_MODE_REG(slot));
slot              100 drivers/mailbox/hi6220-mailbox.c 			  unsigned int slot, u32 val)
slot              104 drivers/mailbox/hi6220-mailbox.c 	mode = readl(mbox->base + MBOX_MODE_REG(slot));
slot              106 drivers/mailbox/hi6220-mailbox.c 	writel(mode, mbox->base + MBOX_MODE_REG(slot));
slot              118 drivers/mailbox/hi6220-mailbox.c 	state = readl(mbox->base + MBOX_MODE_REG(mchan->slot));
slot              126 drivers/mailbox/hi6220-mailbox.c 	unsigned int slot = mchan->slot;
slot              133 drivers/mailbox/hi6220-mailbox.c 	mbox_set_state(mbox, slot, MBOX_STATE_TX);
slot              136 drivers/mailbox/hi6220-mailbox.c 		mbox_set_mode(mbox, slot, MBOX_ACK_IRQ);
slot              138 drivers/mailbox/hi6220-mailbox.c 		mbox_set_mode(mbox, slot, MBOX_ACK_AUTOMATIC);
slot              141 drivers/mailbox/hi6220-mailbox.c 		writel(buf[i], mbox->base + MBOX_DATA_REG(slot) + i * 4);
slot              180 drivers/mailbox/hi6220-mailbox.c 					MBOX_DATA_REG(mchan->slot) + i * 4);
slot              187 drivers/mailbox/hi6220-mailbox.c 		mbox_set_state(mbox, mchan->slot, MBOX_STATE_IDLE);
slot              323 drivers/mailbox/hi6220-mailbox.c 		mbox->mchan[i].slot   = i;
slot              674 drivers/md/dm-snap.c 	struct hlist_bl_head *slot;
slot              681 drivers/md/dm-snap.c 		slot = et->table + i;
slot              683 drivers/md/dm-snap.c 		hlist_bl_for_each_entry_safe(ex, pos, n, slot, hash_list)
slot              707 drivers/md/dm-snap.c 	struct hlist_bl_head *slot;
slot              711 drivers/md/dm-snap.c 	slot = &et->table[exception_hash(et, chunk)];
slot              712 drivers/md/dm-snap.c 	hlist_bl_for_each_entry(e, pos, slot, hash_list)
slot             1812 drivers/md/md-bitmap.c struct bitmap *md_bitmap_create(struct mddev *mddev, int slot)
slot             1841 drivers/md/md-bitmap.c 	bitmap->cluster_slot = slot;
slot             1957 drivers/md/md-bitmap.c struct bitmap *get_bitmap_from_slot(struct mddev *mddev, int slot)
slot             1962 drivers/md/md-bitmap.c 	bitmap = md_bitmap_create(mddev, slot);
slot             1981 drivers/md/md-bitmap.c int md_bitmap_copy_from_slot(struct mddev *mddev, int slot,
slot             1989 drivers/md/md-bitmap.c 	bitmap = get_bitmap_from_slot(mddev, slot);
slot             1991 drivers/md/md-bitmap.c 		pr_err("%s can't get bitmap from slot %d\n", __func__, slot);
slot              239 drivers/md/md-bitmap.h struct bitmap *md_bitmap_create(struct mddev *mddev, int slot);
slot              271 drivers/md/md-bitmap.h struct bitmap *get_bitmap_from_slot(struct mddev *mddev, int slot);
slot              272 drivers/md/md-bitmap.h int md_bitmap_copy_from_slot(struct mddev *mddev, int slot,
slot              107 drivers/md/md-cluster.c 	__le32 slot;
slot              292 drivers/md/md-cluster.c 	int slot, ret;
slot              296 drivers/md/md-cluster.c 		slot = fls64((u64)cinfo->recovery_map) - 1;
slot              298 drivers/md/md-cluster.c 		snprintf(str, 64, "bitmap%04d", slot);
slot              311 drivers/md/md-cluster.c 		ret = md_bitmap_copy_from_slot(mddev, slot, &lo, &hi, true);
slot              313 drivers/md/md-cluster.c 			pr_err("md-cluster: Could not copy data from bitmap %d\n", slot);
slot              348 drivers/md/md-cluster.c 		clear_bit(slot, &cinfo->recovery_map);
slot              359 drivers/md/md-cluster.c static void __recover_slot(struct mddev *mddev, int slot)
slot              363 drivers/md/md-cluster.c 	set_bit(slot, &cinfo->recovery_map);
slot              375 drivers/md/md-cluster.c static void recover_slot(void *arg, struct dlm_slot *slot)
slot              382 drivers/md/md-cluster.c 			slot->nodeid, slot->slot,
slot              386 drivers/md/md-cluster.c 	__recover_slot(mddev, slot->slot - 1);
slot              432 drivers/md/md-cluster.c static void remove_suspend_info(struct mddev *mddev, int slot)
slot              444 drivers/md/md-cluster.c 		int slot, sector_t lo, sector_t hi)
slot              456 drivers/md/md-cluster.c 		remove_suspend_info(mddev, slot);
slot              497 drivers/md/md-cluster.c 	cinfo->suspend_from = slot;
slot              576 drivers/md/md-cluster.c 	if (WARN(mddev->cluster_info->slot_number - 1 == le32_to_cpu(msg->slot),
slot              577 drivers/md/md-cluster.c 		"node %d received it's own msg\n", le32_to_cpu(msg->slot)))
slot              589 drivers/md/md-cluster.c 		process_suspend_info(mddev, le32_to_cpu(msg->slot),
slot              603 drivers/md/md-cluster.c 		__recover_slot(mddev, le32_to_cpu(msg->slot));
slot              613 drivers/md/md-cluster.c 			__func__, __LINE__, msg->slot);
slot              734 drivers/md/md-cluster.c 	int slot = cinfo->slot_number - 1;
slot              736 drivers/md/md-cluster.c 	cmsg->slot = cpu_to_le32(slot);
slot             1475 drivers/md/md-cluster.c 	int slot, my_slot, ret, held = 1, i = 0;
slot             1488 drivers/md/md-cluster.c 	for (slot = 0; slot < mddev->bitmap_info.nodes; slot++) {
slot             1489 drivers/md/md-cluster.c 		if (slot == my_slot)
slot             1493 drivers/md/md-cluster.c 		snprintf(str, 64, "bitmap%04d", slot);
slot             3044 drivers/md/md.c 	int slot;
slot             3050 drivers/md/md.c 		slot = -1;
slot             3052 drivers/md/md.c 		err = kstrtouint(buf, 10, (unsigned int *)&slot);
slot             3056 drivers/md/md.c 	if (rdev->mddev->pers && slot == -1) {
slot             3090 drivers/md/md.c 		if (slot >= rdev->mddev->raid_disks &&
slot             3091 drivers/md/md.c 		    slot >= rdev->mddev->raid_disks + rdev->mddev->delta_disks)
slot             3094 drivers/md/md.c 		rdev->raid_disk = slot;
slot             3096 drivers/md/md.c 			rdev->saved_raid_disk = slot;
slot             3112 drivers/md/md.c 		if (slot >= rdev->mddev->raid_disks &&
slot             3113 drivers/md/md.c 		    slot >= rdev->mddev->raid_disks + rdev->mddev->delta_disks)
slot             3115 drivers/md/md.c 		rdev->raid_disk = slot;
slot             3126 drivers/md/md.c __ATTR(slot, S_IRUGO|S_IWUSR, slot_show, slot_store);
slot              313 drivers/md/raid10.c static inline void update_head_pos(int slot, struct r10bio *r10_bio)
slot              317 drivers/md/raid10.c 	conf->mirrors[r10_bio->devs[slot].devnum].head_position =
slot              318 drivers/md/raid10.c 		r10_bio->devs[slot].addr + (r10_bio->sectors);
slot              327 drivers/md/raid10.c 	int slot;
slot              330 drivers/md/raid10.c 	for (slot = 0; slot < conf->copies; slot++) {
slot              331 drivers/md/raid10.c 		if (r10_bio->devs[slot].bio == bio)
slot              333 drivers/md/raid10.c 		if (r10_bio->devs[slot].repl_bio == bio) {
slot              339 drivers/md/raid10.c 	BUG_ON(slot == conf->copies);
slot              340 drivers/md/raid10.c 	update_head_pos(slot, r10_bio);
slot              343 drivers/md/raid10.c 		*slotp = slot;
slot              346 drivers/md/raid10.c 	return r10_bio->devs[slot].devnum;
slot              353 drivers/md/raid10.c 	int slot;
slot              357 drivers/md/raid10.c 	slot = r10_bio->read_slot;
slot              358 drivers/md/raid10.c 	rdev = r10_bio->devs[slot].rdev;
slot              362 drivers/md/raid10.c 	update_head_pos(slot, r10_bio);
slot              433 drivers/md/raid10.c 	int slot, repl;
slot              440 drivers/md/raid10.c 	dev = find_bio_disk(conf, r10_bio, bio, &slot, &repl);
slot              479 drivers/md/raid10.c 				r10_bio->devs[slot].bio = NULL;
slot              511 drivers/md/raid10.c 				r10_bio->devs[slot].addr,
slot              516 drivers/md/raid10.c 				r10_bio->devs[slot].repl_bio = IO_MADE_GOOD;
slot              518 drivers/md/raid10.c 				r10_bio->devs[slot].bio = IO_MADE_GOOD;
slot              568 drivers/md/raid10.c 	int slot = 0;
slot              594 drivers/md/raid10.c 		r10bio->devs[slot].devnum = d;
slot              595 drivers/md/raid10.c 		r10bio->devs[slot].addr = s;
slot              596 drivers/md/raid10.c 		slot++;
slot              612 drivers/md/raid10.c 			r10bio->devs[slot].devnum = d;
slot              613 drivers/md/raid10.c 			r10bio->devs[slot].addr = s;
slot              614 drivers/md/raid10.c 			slot++;
slot              708 drivers/md/raid10.c 	int disk, slot;
slot              742 drivers/md/raid10.c 	for (slot = 0; slot < conf->copies ; slot++) {
slot              749 drivers/md/raid10.c 		if (r10_bio->devs[slot].bio == IO_BLOCKED)
slot              751 drivers/md/raid10.c 		disk = r10_bio->devs[slot].devnum;
slot              754 drivers/md/raid10.c 		    r10_bio->devs[slot].addr + sectors > rdev->recovery_offset)
slot              760 drivers/md/raid10.c 		    r10_bio->devs[slot].addr + sectors > rdev->recovery_offset)
slot              763 drivers/md/raid10.c 		dev_sector = r10_bio->devs[slot].addr;
slot              784 drivers/md/raid10.c 					best_dist_slot = slot;
slot              803 drivers/md/raid10.c 			best_pending_slot = slot;
slot              819 drivers/md/raid10.c 			new_distance = r10_bio->devs[slot].addr;
slot              821 drivers/md/raid10.c 			new_distance = abs(r10_bio->devs[slot].addr -
slot              826 drivers/md/raid10.c 			best_dist_slot = slot;
slot              830 drivers/md/raid10.c 	if (slot >= conf->copies) {
slot              832 drivers/md/raid10.c 			slot = best_pending_slot;
slot              835 drivers/md/raid10.c 			slot = best_dist_slot;
slot              840 drivers/md/raid10.c 	if (slot >= 0) {
slot              842 drivers/md/raid10.c 		r10_bio->read_slot = slot;
slot             1144 drivers/md/raid10.c 	int slot = r10_bio->read_slot;
slot             1148 drivers/md/raid10.c 	if (r10_bio->devs[slot].rdev) {
slot             1164 drivers/md/raid10.c 		disk = r10_bio->devs[slot].devnum;
slot             1171 drivers/md/raid10.c 			err_rdev = r10_bio->devs[slot].rdev;
slot             1203 drivers/md/raid10.c 	slot = r10_bio->read_slot;
slot             1207 drivers/md/raid10.c 	r10_bio->devs[slot].bio = read_bio;
slot             1208 drivers/md/raid10.c 	r10_bio->devs[slot].rdev = rdev;
slot             1210 drivers/md/raid10.c 	read_bio->bi_iter.bi_sector = r10_bio->devs[slot].addr +
slot             1961 drivers/md/raid10.c 	int slot;
slot             1965 drivers/md/raid10.c 	d = find_bio_disk(conf, r10_bio, bio, &slot, &repl);
slot             1982 drivers/md/raid10.c 			     r10_bio->devs[slot].addr,
slot             2578 drivers/md/raid10.c 	int slot = r10_bio->read_slot;
slot             2581 drivers/md/raid10.c 	struct md_rdev *rdev = r10_bio->devs[slot].rdev;
slot             2591 drivers/md/raid10.c 	bio = r10_bio->devs[slot].bio;
slot             2593 drivers/md/raid10.c 	r10_bio->devs[slot].bio = NULL;
slot             2596 drivers/md/raid10.c 		r10_bio->devs[slot].bio = IO_BLOCKED;
slot             4771 drivers/md/raid10.c 	int slot = 0;
slot             4790 drivers/md/raid10.c 		int first_slot = slot;
slot             4797 drivers/md/raid10.c 			int d = r10b->devs[slot].devnum;
slot             4805 drivers/md/raid10.c 			addr = r10b->devs[slot].addr + idx * PAGE_SIZE;
slot             4818 drivers/md/raid10.c 			slot++;
slot             4819 drivers/md/raid10.c 			if (slot >= conf->copies)
slot             4820 drivers/md/raid10.c 				slot = 0;
slot             4821 drivers/md/raid10.c 			if (slot == first_slot)
slot             4845 drivers/md/raid10.c 	int slot;
slot             4849 drivers/md/raid10.c 	d = find_bio_disk(conf, r10_bio, bio, &slot, &repl);
slot             2947 drivers/md/raid5-cache.c 	void *slot;
slot             2954 drivers/md/raid5-cache.c 	slot = radix_tree_lookup(&log->big_stripe_tree, tree_index);
slot             2955 drivers/md/raid5-cache.c 	return slot != NULL;
slot              137 drivers/md/raid5.c 	int slot = *count;
slot              147 drivers/md/raid5.c 	return slot;
slot             1464 drivers/md/raid5.c 		int slot = raid6_idx_to_slot(i, sh, &count, syndrome_disks);
slot             1476 drivers/md/raid5.c 				srcs[slot] = sh->dev[i].orig_page;
slot             1478 drivers/md/raid5.c 				srcs[slot] = sh->dev[i].page;
slot             1574 drivers/md/raid5.c 		int slot = raid6_idx_to_slot(i, sh, &count, syndrome_disks);
slot             1576 drivers/md/raid5.c 		blocks[slot] = sh->dev[i].page;
slot             1579 drivers/md/raid5.c 			faila = slot;
slot             1581 drivers/md/raid5.c 			failb = slot;
slot              187 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_read_data(struct dvb_ca_private *ca, int slot,
slot              189 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot,
slot              222 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_check_camstatus(struct dvb_ca_private *ca, int slot)
slot              224 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot              234 drivers/media/dvb-core/dvb_ca_en50221.c 	slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open);
slot              272 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot,
slot              287 drivers/media/dvb-core/dvb_ca_en50221.c 		res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS);
slot              320 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_link_init(struct dvb_ca_private *ca, int slot)
slot              322 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot              339 drivers/media/dvb-core/dvb_ca_en50221.c 	ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND,
slot              343 drivers/media/dvb-core/dvb_ca_en50221.c 	ret = dvb_ca_en50221_wait_if_status(ca, slot, STATUSREG_DA, HZ);
slot              346 drivers/media/dvb-core/dvb_ca_en50221.c 	ret = dvb_ca_en50221_read_data(ca, slot, buf, 2);
slot              349 drivers/media/dvb-core/dvb_ca_en50221.c 	ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN);
slot              366 drivers/media/dvb-core/dvb_ca_en50221.c 	ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND,
slot              370 drivers/media/dvb-core/dvb_ca_en50221.c 	ret = dvb_ca_en50221_wait_if_status(ca, slot, STATUSREG_FR, HZ / 10);
slot              373 drivers/media/dvb-core/dvb_ca_en50221.c 	ret = dvb_ca_en50221_write_data(ca, slot, buf, 2);
slot              376 drivers/media/dvb-core/dvb_ca_en50221.c 	ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN);
slot              396 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_read_tuple(struct dvb_ca_private *ca, int slot,
slot              406 drivers/media/dvb-core/dvb_ca_en50221.c 	_tuple_type = ca->pub->read_attribute_mem(ca->pub, slot, _address);
slot              416 drivers/media/dvb-core/dvb_ca_en50221.c 	_tuple_length = ca->pub->read_attribute_mem(ca->pub, slot,
slot              426 drivers/media/dvb-core/dvb_ca_en50221.c 		tuple[i] = ca->pub->read_attribute_mem(ca->pub, slot,
slot              450 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot)
slot              467 drivers/media/dvb-core/dvb_ca_en50221.c 	status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tuple_type,
slot              475 drivers/media/dvb-core/dvb_ca_en50221.c 	status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tuple_type,
slot              483 drivers/media/dvb-core/dvb_ca_en50221.c 	status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tuple_type,
slot              491 drivers/media/dvb-core/dvb_ca_en50221.c 	status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tuple_type,
slot              503 drivers/media/dvb-core/dvb_ca_en50221.c 	status = dvb_ca_en50221_read_tuple(ca, slot, &address, &tuple_type,
slot              516 drivers/media/dvb-core/dvb_ca_en50221.c 	sl = &ca->slot_info[slot];
slot              538 drivers/media/dvb-core/dvb_ca_en50221.c 		status = dvb_ca_en50221_read_tuple(ca, slot, &address,
slot              595 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_set_configoption(struct dvb_ca_private *ca, int slot)
slot              597 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot              603 drivers/media/dvb-core/dvb_ca_en50221.c 	ca->pub->write_attribute_mem(ca->pub, slot, sl->config_base,
slot              607 drivers/media/dvb-core/dvb_ca_en50221.c 	configoption = ca->pub->read_attribute_mem(ca->pub, slot,
slot              631 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_read_data(struct dvb_ca_private *ca, int slot,
slot              634 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot              662 drivers/media/dvb-core/dvb_ca_en50221.c 			status = ca->pub->read_data(ca->pub, slot, buf,
slot              665 drivers/media/dvb-core/dvb_ca_en50221.c 			status = ca->pub->read_data(ca->pub, slot, buf, ecount);
slot              673 drivers/media/dvb-core/dvb_ca_en50221.c 		status = ca->pub->read_cam_control(ca->pub, slot,
slot              684 drivers/media/dvb-core/dvb_ca_en50221.c 		status = ca->pub->read_cam_control(ca->pub, slot,
slot              689 drivers/media/dvb-core/dvb_ca_en50221.c 		status = ca->pub->read_cam_control(ca->pub, slot,
slot              724 drivers/media/dvb-core/dvb_ca_en50221.c 			status = ca->pub->read_cam_control(ca->pub, slot,
slot              734 drivers/media/dvb-core/dvb_ca_en50221.c 		status = ca->pub->read_cam_control(ca->pub, slot,
slot              759 drivers/media/dvb-core/dvb_ca_en50221.c 	dprintk("Received CA packet for slot %i connection id 0x%x last_frag:%i size:0x%x\n", slot,
slot              784 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot,
slot              787 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot              799 drivers/media/dvb-core/dvb_ca_en50221.c 		return ca->pub->write_data(ca->pub, slot, buf, bytes_write);
slot              807 drivers/media/dvb-core/dvb_ca_en50221.c 	status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS);
slot              819 drivers/media/dvb-core/dvb_ca_en50221.c 	status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND,
slot              825 drivers/media/dvb-core/dvb_ca_en50221.c 	status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS);
slot              845 drivers/media/dvb-core/dvb_ca_en50221.c 	status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS);
slot              858 drivers/media/dvb-core/dvb_ca_en50221.c 	status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_SIZE_HIGH,
slot              862 drivers/media/dvb-core/dvb_ca_en50221.c 	status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_SIZE_LOW,
slot              869 drivers/media/dvb-core/dvb_ca_en50221.c 		status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_DATA,
slot              876 drivers/media/dvb-core/dvb_ca_en50221.c 	status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS);
slot              886 drivers/media/dvb-core/dvb_ca_en50221.c 	dprintk("Wrote CA packet for slot %i, connection id 0x%x last_frag:%i size:0x%x\n", slot,
slot              890 drivers/media/dvb-core/dvb_ca_en50221.c 	ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN);
slot              905 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_slot_shutdown(struct dvb_ca_private *ca, int slot)
slot              909 drivers/media/dvb-core/dvb_ca_en50221.c 	ca->pub->slot_shutdown(ca->pub, slot);
slot              910 drivers/media/dvb-core/dvb_ca_en50221.c 	ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_NONE;
slot              918 drivers/media/dvb-core/dvb_ca_en50221.c 	dprintk("Slot %i shutdown\n", slot);
slot              931 drivers/media/dvb-core/dvb_ca_en50221.c void dvb_ca_en50221_camchange_irq(struct dvb_ca_en50221 *pubca, int slot,
slot              935 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot              937 drivers/media/dvb-core/dvb_ca_en50221.c 	dprintk("CAMCHANGE IRQ slot:%i change_type:%i\n", slot, change_type);
slot              960 drivers/media/dvb-core/dvb_ca_en50221.c void dvb_ca_en50221_camready_irq(struct dvb_ca_en50221 *pubca, int slot)
slot              963 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot              965 drivers/media/dvb-core/dvb_ca_en50221.c 	dprintk("CAMREADY IRQ slot:%i\n", slot);
slot              980 drivers/media/dvb-core/dvb_ca_en50221.c void dvb_ca_en50221_frda_irq(struct dvb_ca_en50221 *pubca, int slot)
slot              983 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot              986 drivers/media/dvb-core/dvb_ca_en50221.c 	dprintk("FR/DA IRQ slot:%i\n", slot);
slot              990 drivers/media/dvb-core/dvb_ca_en50221.c 		flags = ca->pub->read_cam_control(pubca, slot, CTRLIF_STATUS);
slot             1031 drivers/media/dvb-core/dvb_ca_en50221.c 	int slot;
slot             1037 drivers/media/dvb-core/dvb_ca_en50221.c 	for (slot = 0; slot < ca->slot_count; slot++) {
slot             1038 drivers/media/dvb-core/dvb_ca_en50221.c 		struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot             1089 drivers/media/dvb-core/dvb_ca_en50221.c static int dvb_ca_en50221_poll_cam_gone(struct dvb_ca_private *ca, int slot)
slot             1100 drivers/media/dvb-core/dvb_ca_en50221.c 		status = ca->pub->poll_slot_status(ca->pub, slot, 0);
slot             1103 drivers/media/dvb-core/dvb_ca_en50221.c 			ca->slot_info[slot].slot_state = DVB_CA_SLOTSTATE_NONE;
slot             1118 drivers/media/dvb-core/dvb_ca_en50221.c 						int slot)
slot             1120 drivers/media/dvb-core/dvb_ca_en50221.c 	struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot             1128 drivers/media/dvb-core/dvb_ca_en50221.c 	while (dvb_ca_en50221_check_camstatus(ca, slot)) {
slot             1131 drivers/media/dvb-core/dvb_ca_en50221.c 			dvb_ca_en50221_slot_shutdown(ca, slot);
slot             1151 drivers/media/dvb-core/dvb_ca_en50221.c 		ca->pub->slot_reset(ca->pub, slot);
slot             1170 drivers/media/dvb-core/dvb_ca_en50221.c 		if (dvb_ca_en50221_parse_attributes(ca, slot) != 0) {
slot             1171 drivers/media/dvb-core/dvb_ca_en50221.c 			if (dvb_ca_en50221_poll_cam_gone(ca, slot))
slot             1180 drivers/media/dvb-core/dvb_ca_en50221.c 		if (dvb_ca_en50221_set_configoption(ca, slot) != 0) {
slot             1187 drivers/media/dvb-core/dvb_ca_en50221.c 		if (ca->pub->write_cam_control(ca->pub, slot,
slot             1212 drivers/media/dvb-core/dvb_ca_en50221.c 		flags = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS);
slot             1220 drivers/media/dvb-core/dvb_ca_en50221.c 		if (dvb_ca_en50221_link_init(ca, slot) != 0) {
slot             1221 drivers/media/dvb-core/dvb_ca_en50221.c 			if (dvb_ca_en50221_poll_cam_gone(ca, slot))
slot             1244 drivers/media/dvb-core/dvb_ca_en50221.c 		ca->pub->slot_ts_enable(ca->pub, slot);
slot             1257 drivers/media/dvb-core/dvb_ca_en50221.c 		while (dvb_ca_en50221_read_data(ca, slot, NULL, 0) > 0) {
slot             1265 drivers/media/dvb-core/dvb_ca_en50221.c 			if (dvb_ca_en50221_check_camstatus(ca, slot)) {
slot             1297 drivers/media/dvb-core/dvb_ca_en50221.c 	int slot;
slot             1316 drivers/media/dvb-core/dvb_ca_en50221.c 		for (slot = 0; slot < ca->slot_count; slot++)
slot             1317 drivers/media/dvb-core/dvb_ca_en50221.c 			dvb_ca_en50221_thread_state_machine(ca, slot);
slot             1342 drivers/media/dvb-core/dvb_ca_en50221.c 	int slot;
slot             1351 drivers/media/dvb-core/dvb_ca_en50221.c 		for (slot = 0; slot < ca->slot_count; slot++) {
slot             1352 drivers/media/dvb-core/dvb_ca_en50221.c 			struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot             1356 drivers/media/dvb-core/dvb_ca_en50221.c 				dvb_ca_en50221_slot_shutdown(ca, slot);
slot             1359 drivers/media/dvb-core/dvb_ca_en50221.c 								     slot,
slot             1382 drivers/media/dvb-core/dvb_ca_en50221.c 		slot = info->num;
slot             1383 drivers/media/dvb-core/dvb_ca_en50221.c 		if ((slot >= ca->slot_count) || (slot < 0)) {
slot             1390 drivers/media/dvb-core/dvb_ca_en50221.c 		sl = &ca->slot_info[slot];
slot             1442 drivers/media/dvb-core/dvb_ca_en50221.c 	u8 slot, connection_id;
slot             1460 drivers/media/dvb-core/dvb_ca_en50221.c 	if (copy_from_user(&slot, buf, 1))
slot             1467 drivers/media/dvb-core/dvb_ca_en50221.c 	if (slot >= ca->slot_count)
slot             1469 drivers/media/dvb-core/dvb_ca_en50221.c 	slot = array_index_nospec(slot, ca->slot_count);
slot             1470 drivers/media/dvb-core/dvb_ca_en50221.c 	sl = &ca->slot_info[slot];
slot             1507 drivers/media/dvb-core/dvb_ca_en50221.c 			status = dvb_ca_en50221_write_data(ca, slot, fragbuf,
slot             1538 drivers/media/dvb-core/dvb_ca_en50221.c 	int slot;
slot             1546 drivers/media/dvb-core/dvb_ca_en50221.c 	slot = ca->next_read_slot;
slot             1548 drivers/media/dvb-core/dvb_ca_en50221.c 		struct dvb_ca_slot *sl = &ca->slot_info[slot];
slot             1563 drivers/media/dvb-core/dvb_ca_en50221.c 				*_slot = slot;
slot             1573 drivers/media/dvb-core/dvb_ca_en50221.c 		slot = (slot + 1) % ca->slot_count;
slot             1577 drivers/media/dvb-core/dvb_ca_en50221.c 	ca->next_read_slot = slot;
slot             1600 drivers/media/dvb-core/dvb_ca_en50221.c 	int slot;
slot             1618 drivers/media/dvb-core/dvb_ca_en50221.c 	status = dvb_ca_en50221_io_read_condition(ca, &result, &slot);
slot             1627 drivers/media/dvb-core/dvb_ca_en50221.c 						  (ca, &result, &slot));
slot             1635 drivers/media/dvb-core/dvb_ca_en50221.c 	sl = &ca->slot_info[slot];
slot             1679 drivers/media/dvb-core/dvb_ca_en50221.c 	hdr[0] = slot;
slot             1784 drivers/media/dvb-core/dvb_ca_en50221.c 	int slot;
slot             1791 drivers/media/dvb-core/dvb_ca_en50221.c 	if (dvb_ca_en50221_io_read_condition(ca, &result, &slot) == 1)
slot             1798 drivers/media/dvb-core/dvb_ca_en50221.c 	if (dvb_ca_en50221_io_read_condition(ca, &result, &slot) == 1)
slot               33 drivers/media/dvb-frontends/cxd2099.c static int read_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount);
slot              386 drivers/media/dvb-frontends/cxd2099.c 			      int slot, int address)
slot              398 drivers/media/dvb-frontends/cxd2099.c static int write_attribute_mem(struct dvb_ca_en50221 *ca, int slot,
slot              411 drivers/media/dvb-frontends/cxd2099.c 			    int slot, u8 address)
slot              423 drivers/media/dvb-frontends/cxd2099.c static int write_cam_control(struct dvb_ca_en50221 *ca, int slot,
slot              435 drivers/media/dvb-frontends/cxd2099.c static int slot_reset(struct dvb_ca_en50221 *ca, int slot)
slot              440 drivers/media/dvb-frontends/cxd2099.c 		read_data(ca, slot, ci->rbuf, 0);
slot              464 drivers/media/dvb-frontends/cxd2099.c static int slot_shutdown(struct dvb_ca_en50221 *ca, int slot)
slot              470 drivers/media/dvb-frontends/cxd2099.c 		read_data(ca, slot, ci->rbuf, 0);
slot              486 drivers/media/dvb-frontends/cxd2099.c static int slot_ts_enable(struct dvb_ca_en50221 *ca, int slot)
slot              540 drivers/media/dvb-frontends/cxd2099.c static int poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open)
slot              553 drivers/media/dvb-frontends/cxd2099.c static int read_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount)
slot              582 drivers/media/dvb-frontends/cxd2099.c static int write_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount)
slot               92 drivers/media/dvb-frontends/sp2.c static int sp2_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, u8 acs,
slot              100 drivers/media/dvb-frontends/sp2.c 	if (slot != 0)
slot              135 drivers/media/dvb-frontends/sp2.c 			(read) ? "read" : "write", slot, addr,
slot              147 drivers/media/dvb-frontends/sp2.c 				int slot, int addr)
slot              149 drivers/media/dvb-frontends/sp2.c 	return sp2_ci_op_cam(en50221, slot, SP2_CI_ATTR_ACS,
slot              154 drivers/media/dvb-frontends/sp2.c 				int slot, int addr, u8 data)
slot              156 drivers/media/dvb-frontends/sp2.c 	return sp2_ci_op_cam(en50221, slot, SP2_CI_ATTR_ACS,
slot              161 drivers/media/dvb-frontends/sp2.c 				int slot, u8 addr)
slot              163 drivers/media/dvb-frontends/sp2.c 	return sp2_ci_op_cam(en50221, slot, SP2_CI_IO_ACS,
slot              168 drivers/media/dvb-frontends/sp2.c 				int slot, u8 addr, u8 data)
slot              170 drivers/media/dvb-frontends/sp2.c 	return sp2_ci_op_cam(en50221, slot, SP2_CI_IO_ACS,
slot              174 drivers/media/dvb-frontends/sp2.c int sp2_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot)
slot              180 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "slot: %d\n", slot);
slot              182 drivers/media/dvb-frontends/sp2.c 	if (slot != 0)
slot              206 drivers/media/dvb-frontends/sp2.c int sp2_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot)
slot              210 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "slot:%d\n", slot);
slot              216 drivers/media/dvb-frontends/sp2.c int sp2_ci_slot_ts_enable(struct dvb_ca_en50221 *en50221, int slot)
slot              221 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "slot:%d\n", slot);
slot              223 drivers/media/dvb-frontends/sp2.c 	if (slot != 0)
slot              234 drivers/media/dvb-frontends/sp2.c 				int slot, int open)
slot              240 drivers/media/dvb-frontends/sp2.c 	dev_dbg(&s->client->dev, "slot:%d open:%d\n", slot, open);
slot               30 drivers/media/dvb-frontends/sp2.h 					int slot, int addr);
slot               32 drivers/media/dvb-frontends/sp2.h 					int slot, int addr, u8 data);
slot               34 drivers/media/dvb-frontends/sp2.h 					int slot, u8 addr);
slot               36 drivers/media/dvb-frontends/sp2.h 					int slot, u8 addr, u8 data);
slot               37 drivers/media/dvb-frontends/sp2.h extern int sp2_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot);
slot               38 drivers/media/dvb-frontends/sp2.h extern int sp2_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot);
slot               39 drivers/media/dvb-frontends/sp2.h extern int sp2_ci_slot_ts_enable(struct dvb_ca_en50221 *en50221, int slot);
slot               41 drivers/media/dvb-frontends/sp2.h 					int slot, int open);
slot               58 drivers/media/firewire/firedtv-ci.c 	struct ca_slot_info *slot = arg;
slot               65 drivers/media/firewire/firedtv-ci.c 	if (slot->num != 0)
slot               68 drivers/media/firewire/firedtv-ci.c 	slot->type = CA_CI;
slot               69 drivers/media/firewire/firedtv-ci.c 	slot->flags = fdtv_get_ca_flags(&stat);
slot              544 drivers/media/pci/bt8xx/bttv-risc.c bttv_risc_hook(struct bttv *btv, int slot, struct btcx_riscmem *risc,
slot              548 drivers/media/pci/bt8xx/bttv-risc.c 	unsigned long next = btv->main.dma + ((slot+2) << 2);
slot              551 drivers/media/pci/bt8xx/bttv-risc.c 		d2printk("%d: risc=%p slot[%d]=NULL\n", btv->c.nr, risc, slot);
slot              552 drivers/media/pci/bt8xx/bttv-risc.c 		btv->main.cpu[slot+1] = cpu_to_le32(next);
slot              555 drivers/media/pci/bt8xx/bttv-risc.c 			 btv->c.nr, risc, slot,
slot              565 drivers/media/pci/bt8xx/bttv-risc.c 		btv->main.cpu[slot+1] = cpu_to_le32(risc->dma);
slot              247 drivers/media/pci/bt8xx/bttvp.h int bttv_risc_hook(struct bttv *btv, int slot, struct btcx_riscmem *risc,
slot              257 drivers/media/pci/cx23885/altera-ci.c static int altera_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot,
slot              267 drivers/media/pci/cx23885/altera-ci.c 	if (0 != slot)
slot              293 drivers/media/pci/cx23885/altera-ci.c 					int slot, int addr)
slot              295 drivers/media/pci/cx23885/altera-ci.c 	return altera_ci_op_cam(en50221, slot, 0, NETUP_CI_FLG_RD, addr, 0);
slot              299 drivers/media/pci/cx23885/altera-ci.c 					 int slot, int addr, u8 data)
slot              301 drivers/media/pci/cx23885/altera-ci.c 	return altera_ci_op_cam(en50221, slot, 0, 0, addr, data);
slot              305 drivers/media/pci/cx23885/altera-ci.c 				  int slot, u8 addr)
slot              307 drivers/media/pci/cx23885/altera-ci.c 	return altera_ci_op_cam(en50221, slot, NETUP_CI_FLG_CTL,
slot              311 drivers/media/pci/cx23885/altera-ci.c static int altera_ci_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot,
slot              314 drivers/media/pci/cx23885/altera-ci.c 	return altera_ci_op_cam(en50221, slot, NETUP_CI_FLG_CTL, 0, addr, data);
slot              317 drivers/media/pci/cx23885/altera-ci.c static int altera_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot)
slot              327 drivers/media/pci/cx23885/altera-ci.c 	if (0 != slot)
slot              360 drivers/media/pci/cx23885/altera-ci.c static int altera_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot)
slot              366 drivers/media/pci/cx23885/altera-ci.c static int altera_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot)
slot              374 drivers/media/pci/cx23885/altera-ci.c 	if (0 != slot)
slot              444 drivers/media/pci/cx23885/altera-ci.c 				      int slot, int open)
slot              448 drivers/media/pci/cx23885/altera-ci.c 	if (0 != slot)
slot              167 drivers/media/pci/cx23885/cimax2.c static int netup_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot,
slot              178 drivers/media/pci/cx23885/cimax2.c 	if (0 != slot)
slot              238 drivers/media/pci/cx23885/cimax2.c 						int slot, int addr)
slot              240 drivers/media/pci/cx23885/cimax2.c 	return netup_ci_op_cam(en50221, slot, 0, NETUP_CI_RD, addr, 0);
slot              244 drivers/media/pci/cx23885/cimax2.c 						int slot, int addr, u8 data)
slot              246 drivers/media/pci/cx23885/cimax2.c 	return netup_ci_op_cam(en50221, slot, 0, 0, addr, data);
slot              249 drivers/media/pci/cx23885/cimax2.c int netup_ci_read_cam_ctl(struct dvb_ca_en50221 *en50221, int slot,
slot              252 drivers/media/pci/cx23885/cimax2.c 	return netup_ci_op_cam(en50221, slot, NETUP_CI_CTL,
slot              256 drivers/media/pci/cx23885/cimax2.c int netup_ci_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot,
slot              259 drivers/media/pci/cx23885/cimax2.c 	return netup_ci_op_cam(en50221, slot, NETUP_CI_CTL, 0, addr, data);
slot              262 drivers/media/pci/cx23885/cimax2.c int netup_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot)
slot              268 drivers/media/pci/cx23885/cimax2.c 	if (0 != slot)
slot              291 drivers/media/pci/cx23885/cimax2.c int netup_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot)
slot              318 drivers/media/pci/cx23885/cimax2.c int netup_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot)
slot              323 drivers/media/pci/cx23885/cimax2.c 	if (0 != slot)
slot              399 drivers/media/pci/cx23885/cimax2.c 				     int slot, int open)
slot              403 drivers/media/pci/cx23885/cimax2.c 	if (0 != slot)
slot               17 drivers/media/pci/cx23885/cimax2.h 						int slot, int addr);
slot               19 drivers/media/pci/cx23885/cimax2.h 						int slot, int addr, u8 data);
slot               21 drivers/media/pci/cx23885/cimax2.h 						int slot, u8 addr);
slot               23 drivers/media/pci/cx23885/cimax2.h 						int slot, u8 addr, u8 data);
slot               24 drivers/media/pci/cx23885/cimax2.h extern int netup_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot);
slot               25 drivers/media/pci/cx23885/cimax2.h extern int netup_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot);
slot               26 drivers/media/pci/cx23885/cimax2.h extern int netup_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot);
slot               29 drivers/media/pci/cx23885/cimax2.h 						int slot, int open);
slot               46 drivers/media/pci/ddbridge/ddbridge-ci.c 			      int slot, int address)
slot               60 drivers/media/pci/ddbridge/ddbridge-ci.c static int write_attribute_mem(struct dvb_ca_en50221 *ca, int slot,
slot               72 drivers/media/pci/ddbridge/ddbridge-ci.c 			    int slot, u8 address)
slot               92 drivers/media/pci/ddbridge/ddbridge-ci.c static int write_cam_control(struct dvb_ca_en50221 *ca, int slot,
slot              103 drivers/media/pci/ddbridge/ddbridge-ci.c static int slot_reset(struct dvb_ca_en50221 *ca, int slot)
slot              120 drivers/media/pci/ddbridge/ddbridge-ci.c static int slot_shutdown(struct dvb_ca_en50221 *ca, int slot)
slot              129 drivers/media/pci/ddbridge/ddbridge-ci.c static int slot_ts_enable(struct dvb_ca_en50221 *ca, int slot)
slot              139 drivers/media/pci/ddbridge/ddbridge-ci.c static int poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open)
slot              190 drivers/media/pci/ddbridge/ddbridge-ci.c 				  int slot, int address)
slot              202 drivers/media/pci/ddbridge/ddbridge-ci.c static int write_attribute_mem_xo2(struct dvb_ca_en50221 *ca, int slot,
slot              213 drivers/media/pci/ddbridge/ddbridge-ci.c 				int slot, u8 address)
slot              225 drivers/media/pci/ddbridge/ddbridge-ci.c static int write_cam_control_xo2(struct dvb_ca_en50221 *ca, int slot,
slot              235 drivers/media/pci/ddbridge/ddbridge-ci.c static int slot_reset_xo2(struct dvb_ca_en50221 *ca, int slot)
slot              249 drivers/media/pci/ddbridge/ddbridge-ci.c static int slot_shutdown_xo2(struct dvb_ca_en50221 *ca, int slot)
slot              259 drivers/media/pci/ddbridge/ddbridge-ci.c static int slot_ts_enable_xo2(struct dvb_ca_en50221 *ca, int slot)
slot              268 drivers/media/pci/ddbridge/ddbridge-ci.c static int poll_slot_status_xo2(struct dvb_ca_en50221 *ca, int slot, int open)
slot               28 drivers/media/pci/mantis/mantis_ca.c static int mantis_ca_read_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr)
slot               33 drivers/media/pci/mantis/mantis_ca.c 	dprintk(MANTIS_DEBUG, 1, "Slot(%d): Request Attribute Mem Read", slot);
slot               35 drivers/media/pci/mantis/mantis_ca.c 	if (slot != 0)
slot               41 drivers/media/pci/mantis/mantis_ca.c static int mantis_ca_write_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr, u8 data)
slot               46 drivers/media/pci/mantis/mantis_ca.c 	dprintk(MANTIS_DEBUG, 1, "Slot(%d): Request Attribute Mem Write", slot);
slot               48 drivers/media/pci/mantis/mantis_ca.c 	if (slot != 0)
slot               54 drivers/media/pci/mantis/mantis_ca.c static int mantis_ca_read_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr)
slot               59 drivers/media/pci/mantis/mantis_ca.c 	dprintk(MANTIS_DEBUG, 1, "Slot(%d): Request CAM control Read", slot);
slot               61 drivers/media/pci/mantis/mantis_ca.c 	if (slot != 0)
slot               67 drivers/media/pci/mantis/mantis_ca.c static int mantis_ca_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr, u8 data)
slot               72 drivers/media/pci/mantis/mantis_ca.c 	dprintk(MANTIS_DEBUG, 1, "Slot(%d): Request CAM control Write", slot);
slot               74 drivers/media/pci/mantis/mantis_ca.c 	if (slot != 0)
slot               80 drivers/media/pci/mantis/mantis_ca.c static int mantis_ca_slot_reset(struct dvb_ca_en50221 *en50221, int slot)
slot               85 drivers/media/pci/mantis/mantis_ca.c 	dprintk(MANTIS_DEBUG, 1, "Slot(%d): Slot RESET", slot);
slot               96 drivers/media/pci/mantis/mantis_ca.c static int mantis_ca_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot)
slot              101 drivers/media/pci/mantis/mantis_ca.c 	dprintk(MANTIS_DEBUG, 1, "Slot(%d): Slot shutdown", slot);
slot              106 drivers/media/pci/mantis/mantis_ca.c static int mantis_ts_control(struct dvb_ca_en50221 *en50221, int slot)
slot              111 drivers/media/pci/mantis/mantis_ca.c 	dprintk(MANTIS_DEBUG, 1, "Slot(%d): TS control", slot);
slot              117 drivers/media/pci/mantis/mantis_ca.c static int mantis_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open)
slot              122 drivers/media/pci/mantis/mantis_ca.c 	dprintk(MANTIS_DEBUG, 1, "Slot(%d): Poll Slot status", slot);
slot              107 drivers/media/pci/mantis/mantis_hif.c 	struct mantis_slot *slot = ca->slot;
slot              119 drivers/media/pci/mantis/mantis_hif.c 	mmwrite(slot->slave_cfg, MANTIS_GPIF_CFGSLA); /* Slot0 alone for now */
slot              194 drivers/media/pci/mantis/mantis_hif.c 	struct mantis_slot *slot = ca->slot;
slot              198 drivers/media/pci/mantis/mantis_hif.c 	slot[0].slave_cfg = 0x70773028;
slot               35 drivers/media/pci/mantis/mantis_link.h 	struct mantis_slot		slot[4];
slot               53 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 				       int slot)
slot               61 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 	if (slot != 0)
slot               71 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 					 int slot)
slot               81 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 				      int slot)
slot              115 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 					    int slot, int open)
slot              137 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 					      int slot, int addr)
slot              149 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 					       int slot, int addr, u8 data)
slot              161 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 					int slot, u8 addr)
slot              173 drivers/media/pci/netup_unidvb/netup_unidvb_ci.c 					 int slot, u8 addr, u8 data)
slot              108 drivers/media/pci/ttpci/av7110_ca.c 		       int slots, struct ca_slot_info *slot)
slot              126 drivers/media/pci/ttpci/av7110_ca.c 			slot[i].flags = 0;
slot               63 drivers/media/pci/ttpci/budget-av.c static int ciintf_slot_shutdown(struct dvb_ca_en50221 *ca, int slot);
slot              123 drivers/media/pci/ttpci/budget-av.c static int ciintf_read_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address)
slot              128 drivers/media/pci/ttpci/budget-av.c 	if (slot != 0)
slot              136 drivers/media/pci/ttpci/budget-av.c 		ciintf_slot_shutdown(ca, slot);
slot              142 drivers/media/pci/ttpci/budget-av.c static int ciintf_write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address, u8 value)
slot              147 drivers/media/pci/ttpci/budget-av.c 	if (slot != 0)
slot              155 drivers/media/pci/ttpci/budget-av.c 		ciintf_slot_shutdown(ca, slot);
slot              161 drivers/media/pci/ttpci/budget-av.c static int ciintf_read_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address)
slot              166 drivers/media/pci/ttpci/budget-av.c 	if (slot != 0)
slot              174 drivers/media/pci/ttpci/budget-av.c 		ciintf_slot_shutdown(ca, slot);
slot              181 drivers/media/pci/ttpci/budget-av.c static int ciintf_write_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address, u8 value)
slot              186 drivers/media/pci/ttpci/budget-av.c 	if (slot != 0)
slot              194 drivers/media/pci/ttpci/budget-av.c 		ciintf_slot_shutdown(ca, slot);
slot              200 drivers/media/pci/ttpci/budget-av.c static int ciintf_slot_reset(struct dvb_ca_en50221 *ca, int slot)
slot              205 drivers/media/pci/ttpci/budget-av.c 	if (slot != 0)
slot              229 drivers/media/pci/ttpci/budget-av.c static int ciintf_slot_shutdown(struct dvb_ca_en50221 *ca, int slot)
slot              234 drivers/media/pci/ttpci/budget-av.c 	if (slot != 0)
slot              245 drivers/media/pci/ttpci/budget-av.c static int ciintf_slot_ts_enable(struct dvb_ca_en50221 *ca, int slot)
slot              250 drivers/media/pci/ttpci/budget-av.c 	if (slot != 0)
slot              260 drivers/media/pci/ttpci/budget-av.c static int ciintf_poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open)
slot              266 drivers/media/pci/ttpci/budget-av.c 	if (slot != 0)
slot              297 drivers/media/pci/ttpci/budget-av.c 				ciintf_slot_shutdown(ca, slot);
slot              306 drivers/media/pci/ttpci/budget-av.c 		result = ciintf_read_attribute_mem(ca, slot, 0);
slot              252 drivers/media/pci/ttpci/budget-ci.c static int ciintf_read_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address)
slot              256 drivers/media/pci/ttpci/budget-ci.c 	if (slot != 0)
slot              263 drivers/media/pci/ttpci/budget-ci.c static int ciintf_write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address, u8 value)
slot              267 drivers/media/pci/ttpci/budget-ci.c 	if (slot != 0)
slot              274 drivers/media/pci/ttpci/budget-ci.c static int ciintf_read_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address)
slot              278 drivers/media/pci/ttpci/budget-ci.c 	if (slot != 0)
slot              285 drivers/media/pci/ttpci/budget-ci.c static int ciintf_write_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address, u8 value)
slot              289 drivers/media/pci/ttpci/budget-ci.c 	if (slot != 0)
slot              296 drivers/media/pci/ttpci/budget-ci.c static int ciintf_slot_reset(struct dvb_ca_en50221 *ca, int slot)
slot              301 drivers/media/pci/ttpci/budget-ci.c 	if (slot != 0)
slot              319 drivers/media/pci/ttpci/budget-ci.c static int ciintf_slot_shutdown(struct dvb_ca_en50221 *ca, int slot)
slot              324 drivers/media/pci/ttpci/budget-ci.c 	if (slot != 0)
slot              332 drivers/media/pci/ttpci/budget-ci.c static int ciintf_slot_ts_enable(struct dvb_ca_en50221 *ca, int slot)
slot              338 drivers/media/pci/ttpci/budget-ci.c 	if (slot != 0)
slot              400 drivers/media/pci/ttpci/budget-ci.c static int ciintf_poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open)
slot              419 drivers/media/pci/ttpci/budget-ci.c 			if (ciintf_read_attribute_mem(ca, slot, 0) == 0x1d) {
slot              471 drivers/media/platform/qcom/venus/helpers.c 	int slot = -1;
slot              476 drivers/media/platform/qcom/venus/helpers.c 			slot = i;
slot              481 drivers/media/platform/qcom/venus/helpers.c 	if (slot == -1) {
slot              488 drivers/media/platform/qcom/venus/helpers.c 	inst->tss[slot].used = true;
slot              489 drivers/media/platform/qcom/venus/helpers.c 	inst->tss[slot].flags = vbuf->flags;
slot              490 drivers/media/platform/qcom/venus/helpers.c 	inst->tss[slot].tc = vbuf->timecode;
slot              491 drivers/media/platform/qcom/venus/helpers.c 	inst->tss[slot].ts_us = ts_us;
slot              492 drivers/media/platform/qcom/venus/helpers.c 	inst->tss[slot].ts_ns = vb->timestamp;
slot              802 drivers/media/platform/rcar-vin/rcar-dma.c static void rvin_set_slot_addr(struct rvin_dev *vin, int slot, dma_addr_t addr)
slot              825 drivers/media/platform/rcar-vin/rcar-dma.c 	rvin_write(vin, offset, VNMB_REG(slot));
slot              834 drivers/media/platform/rcar-vin/rcar-dma.c static void rvin_fill_hw_slot(struct rvin_dev *vin, int slot)
slot              841 drivers/media/platform/rcar-vin/rcar-dma.c 	if (WARN_ON(vin->queue_buf[slot] != NULL))
slot              844 drivers/media/platform/rcar-vin/rcar-dma.c 	vin_dbg(vin, "Filling HW slot: %d\n", slot);
slot              847 drivers/media/platform/rcar-vin/rcar-dma.c 		vin->queue_buf[slot] = NULL;
slot              854 drivers/media/platform/rcar-vin/rcar-dma.c 		vin->queue_buf[slot] = vbuf;
slot              860 drivers/media/platform/rcar-vin/rcar-dma.c 	rvin_set_slot_addr(vin, slot, phys_addr);
slot              865 drivers/media/platform/rcar-vin/rcar-dma.c 	int slot, ret;
slot              867 drivers/media/platform/rcar-vin/rcar-dma.c 	for (slot = 0; slot < HW_BUFFER_NUM; slot++)
slot              868 drivers/media/platform/rcar-vin/rcar-dma.c 		rvin_fill_hw_slot(vin, slot);
slot              906 drivers/media/platform/rcar-vin/rcar-dma.c 	int slot;
slot              933 drivers/media/platform/rcar-vin/rcar-dma.c 	slot = (vnms & VNMS_FBS_MASK) >> VNMS_FBS_SHIFT;
slot              940 drivers/media/platform/rcar-vin/rcar-dma.c 		if (slot != 0) {
slot              941 drivers/media/platform/rcar-vin/rcar-dma.c 			vin_dbg(vin, "Starting sync slot: %d\n", slot);
slot              950 drivers/media/platform/rcar-vin/rcar-dma.c 	if (vin->queue_buf[slot]) {
slot              951 drivers/media/platform/rcar-vin/rcar-dma.c 		vin->queue_buf[slot]->field = vin->format.field;
slot              952 drivers/media/platform/rcar-vin/rcar-dma.c 		vin->queue_buf[slot]->sequence = vin->sequence;
slot              953 drivers/media/platform/rcar-vin/rcar-dma.c 		vin->queue_buf[slot]->vb2_buf.timestamp = ktime_get_ns();
slot              954 drivers/media/platform/rcar-vin/rcar-dma.c 		vb2_buffer_done(&vin->queue_buf[slot]->vb2_buf,
slot              956 drivers/media/platform/rcar-vin/rcar-dma.c 		vin->queue_buf[slot] = NULL;
slot              965 drivers/media/platform/rcar-vin/rcar-dma.c 	rvin_fill_hw_slot(vin, slot);
slot               94 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 					  unsigned int slot)
slot              103 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		writel(addr, csi->regs + CSI_BUF_ADDR_REG(plane, slot));
slot              107 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	csi->current_buf[slot] = NULL;
slot              111 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c static int sun4i_csi_buffer_fill_slot(struct sun4i_csi *csi, unsigned int slot)
slot              121 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	if (WARN_ON(csi->current_buf[slot]))
slot              125 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		return sun4i_csi_setup_scratch_buffer(csi, slot);
slot              131 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	csi->current_buf[slot] = v_buf;
slot              138 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		writel(buf_addr, csi->regs + CSI_BUF_ADDR_REG(plane, slot));
slot              146 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	unsigned int slot;
slot              149 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	for (slot = 0; slot < CSI_MAX_BUFFER; slot++) {
slot              150 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		ret = sun4i_csi_buffer_fill_slot(csi, slot);
slot              159 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 				       unsigned int slot,
slot              164 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	if (!csi->current_buf[slot]) {
slot              169 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	v_buf = csi->current_buf[slot];
slot              175 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	csi->current_buf[slot] = NULL;
slot              208 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	unsigned int slot;
slot              215 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 	for (slot = 0; slot < CSI_MAX_BUFFER; slot++) {
slot              216 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		struct vb2_v4l2_buffer *v_buf = csi->current_buf[slot];
slot              222 drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c 		csi->current_buf[slot] = NULL;
slot             1155 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_ci_read_attribute_mem(struct dvb_ca_en50221 *ci, int slot,
slot             1170 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_ci_write_attribute_mem(struct dvb_ca_en50221 *ci, int slot,
slot             1184 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_ci_read_cam_control(struct dvb_ca_en50221 *ci, int slot,
slot             1199 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_ci_write_cam_control(struct dvb_ca_en50221 *ci, int slot,
slot             1213 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_ci_slot_reset(struct dvb_ca_en50221 *ci, int slot)
slot             1234 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_ci_slot_shutdown(struct dvb_ca_en50221 *ci, int slot)
slot             1252 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_ci_slot_ts_enable(struct dvb_ca_en50221 *ci, int slot)
slot             1264 drivers/media/usb/dvb-usb-v2/anysee.c static int anysee_ci_poll_slot_status(struct dvb_ca_en50221 *ci, int slot,
slot              248 drivers/media/usb/dvb-usb-v2/az6007.c 					int slot,
slot              261 drivers/media/usb/dvb-usb-v2/az6007.c 	if (slot != 0)
slot              289 drivers/media/usb/dvb-usb-v2/az6007.c 					 int slot,
slot              302 drivers/media/usb/dvb-usb-v2/az6007.c 	pr_debug("%s(), slot %d\n", __func__, slot);
slot              303 drivers/media/usb/dvb-usb-v2/az6007.c 	if (slot != 0)
slot              321 drivers/media/usb/dvb-usb-v2/az6007.c 				      int slot,
slot              334 drivers/media/usb/dvb-usb-v2/az6007.c 	if (slot != 0)
slot              366 drivers/media/usb/dvb-usb-v2/az6007.c 				       int slot,
slot              379 drivers/media/usb/dvb-usb-v2/az6007.c 	if (slot != 0)
slot              399 drivers/media/usb/dvb-usb-v2/az6007.c static int CI_CamReady(struct dvb_ca_en50221 *ca, int slot)
slot              430 drivers/media/usb/dvb-usb-v2/az6007.c static int az6007_ci_slot_reset(struct dvb_ca_en50221 *ca, int slot)
slot              469 drivers/media/usb/dvb-usb-v2/az6007.c 		if (CI_CamReady(ca, slot)) {
slot              481 drivers/media/usb/dvb-usb-v2/az6007.c static int az6007_ci_slot_shutdown(struct dvb_ca_en50221 *ca, int slot)
slot              486 drivers/media/usb/dvb-usb-v2/az6007.c static int az6007_ci_slot_ts_enable(struct dvb_ca_en50221 *ca, int slot)
slot              515 drivers/media/usb/dvb-usb-v2/az6007.c static int az6007_ci_poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open)
slot              406 drivers/media/usb/dvb-usb/az6027.c 					int slot,
slot              419 drivers/media/usb/dvb-usb/az6027.c 	if (slot != 0)
slot              447 drivers/media/usb/dvb-usb/az6027.c 					 int slot,
slot              460 drivers/media/usb/dvb-usb/az6027.c 	deb_info("%s %d", __func__, slot);
slot              461 drivers/media/usb/dvb-usb/az6027.c 	if (slot != 0)
slot              479 drivers/media/usb/dvb-usb/az6027.c 				      int slot,
slot              492 drivers/media/usb/dvb-usb/az6027.c 	if (slot != 0)
slot              524 drivers/media/usb/dvb-usb/az6027.c 				       int slot,
slot              537 drivers/media/usb/dvb-usb/az6027.c 	if (slot != 0)
slot              557 drivers/media/usb/dvb-usb/az6027.c static int CI_CamReady(struct dvb_ca_en50221 *ca, int slot)
slot              588 drivers/media/usb/dvb-usb/az6027.c static int az6027_ci_slot_reset(struct dvb_ca_en50221 *ca, int slot)
slot              627 drivers/media/usb/dvb-usb/az6027.c 		if (CI_CamReady(ca, slot)) {
slot              639 drivers/media/usb/dvb-usb/az6027.c static int az6027_ci_slot_shutdown(struct dvb_ca_en50221 *ca, int slot)
slot              644 drivers/media/usb/dvb-usb/az6027.c static int az6027_ci_slot_ts_enable(struct dvb_ca_en50221 *ca, int slot)
slot              673 drivers/media/usb/dvb-usb/az6027.c static int az6027_ci_poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open)
slot              164 drivers/media/usb/dvb-usb/pctv452e.c 				 int slot, int address)
slot              169 drivers/media/usb/dvb-usb/pctv452e.c 	if (0 != slot)
slot              187 drivers/media/usb/dvb-usb/pctv452e.c 				 int slot, int address, u8 value)
slot              192 drivers/media/usb/dvb-usb/pctv452e.c 		__func__, slot, address, value);
slot              194 drivers/media/usb/dvb-usb/pctv452e.c 	if (0 != slot)
slot              205 drivers/media/usb/dvb-usb/pctv452e.c 				 int			slot,
slot              211 drivers/media/usb/dvb-usb/pctv452e.c 	if (0 != slot)
slot              228 drivers/media/usb/dvb-usb/pctv452e.c 				 int			slot,
slot              235 drivers/media/usb/dvb-usb/pctv452e.c 		__func__, slot, address, value);
slot              237 drivers/media/usb/dvb-usb/pctv452e.c 	if (0 != slot)
slot              247 drivers/media/usb/dvb-usb/pctv452e.c 				 int			slot,
slot              253 drivers/media/usb/dvb-usb/pctv452e.c 	ci_dbg("%s %d %d", __func__, slot, enable);
slot              255 drivers/media/usb/dvb-usb/pctv452e.c 	if (0 != slot)
slot              273 drivers/media/usb/dvb-usb/pctv452e.c static int tt3650_ci_slot_shutdown(struct dvb_ca_en50221 *ca, int slot)
slot              275 drivers/media/usb/dvb-usb/pctv452e.c 	return tt3650_ci_set_video_port(ca, slot, /* enable */ 0);
slot              278 drivers/media/usb/dvb-usb/pctv452e.c static int tt3650_ci_slot_ts_enable(struct dvb_ca_en50221 *ca, int slot)
slot              280 drivers/media/usb/dvb-usb/pctv452e.c 	return tt3650_ci_set_video_port(ca, slot, /* enable */ 1);
slot              283 drivers/media/usb/dvb-usb/pctv452e.c static int tt3650_ci_slot_reset(struct dvb_ca_en50221 *ca, int slot)
slot              290 drivers/media/usb/dvb-usb/pctv452e.c 	ci_dbg("%s %d", __func__, slot);
slot              292 drivers/media/usb/dvb-usb/pctv452e.c 	if (0 != slot)
slot              324 drivers/media/usb/dvb-usb/pctv452e.c 				 int			slot,
slot              330 drivers/media/usb/dvb-usb/pctv452e.c 	if (0 != slot)
slot              143 drivers/media/usb/dvb-usb/ttusb2.c static int tt3650_ci_read_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address)
slot              148 drivers/media/usb/dvb-usb/ttusb2.c 	if (slot)
slot              165 drivers/media/usb/dvb-usb/ttusb2.c static int tt3650_ci_write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address, u8 value)
slot              169 drivers/media/usb/dvb-usb/ttusb2.c 	ci_dbg("%d 0x%04x 0x%02x", slot, address, value);
slot              171 drivers/media/usb/dvb-usb/ttusb2.c 	if (slot)
slot              181 drivers/media/usb/dvb-usb/ttusb2.c static int tt3650_ci_read_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address)
slot              186 drivers/media/usb/dvb-usb/ttusb2.c 	if (slot)
slot              201 drivers/media/usb/dvb-usb/ttusb2.c static int tt3650_ci_write_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address, u8 value)
slot              205 drivers/media/usb/dvb-usb/ttusb2.c 	ci_dbg("%d 0x%02x 0x%02x", slot, address, value);
slot              207 drivers/media/usb/dvb-usb/ttusb2.c 	if (slot)
slot              216 drivers/media/usb/dvb-usb/ttusb2.c static int tt3650_ci_set_video_port(struct dvb_ca_en50221 *ca, int slot, int enable)
slot              221 drivers/media/usb/dvb-usb/ttusb2.c 	ci_dbg("%d %d", slot, enable);
slot              223 drivers/media/usb/dvb-usb/ttusb2.c 	if (slot)
slot              240 drivers/media/usb/dvb-usb/ttusb2.c static int tt3650_ci_slot_shutdown(struct dvb_ca_en50221 *ca, int slot)
slot              242 drivers/media/usb/dvb-usb/ttusb2.c 	return tt3650_ci_set_video_port(ca, slot, 0);
slot              245 drivers/media/usb/dvb-usb/ttusb2.c static int tt3650_ci_slot_ts_enable(struct dvb_ca_en50221 *ca, int slot)
slot              247 drivers/media/usb/dvb-usb/ttusb2.c 	return tt3650_ci_set_video_port(ca, slot, 1);
slot              250 drivers/media/usb/dvb-usb/ttusb2.c static int tt3650_ci_slot_reset(struct dvb_ca_en50221 *ca, int slot)
slot              257 drivers/media/usb/dvb-usb/ttusb2.c 	ci_dbg("%d", slot);
slot              259 drivers/media/usb/dvb-usb/ttusb2.c 	if (slot)
slot              292 drivers/media/usb/dvb-usb/ttusb2.c static int tt3650_ci_poll_slot_status(struct dvb_ca_en50221 *ca, int slot, int open)
slot              297 drivers/media/usb/dvb-usb/ttusb2.c 	if (slot)
slot             2651 drivers/message/fusion/mptbase.c 	unsigned int slot = PCI_SLOT(pdev->devfn);
slot             2660 drivers/message/fusion/mptbase.c 	peer = pci_get_slot(pdev->bus, PCI_DEVFN(slot,func-1));
slot             2662 drivers/message/fusion/mptbase.c 		peer = pci_get_slot(pdev->bus, PCI_DEVFN(slot,func+1));
slot              555 drivers/message/fusion/mptsas.c 	u64 sas_address, u32 device_info, u16 slot, u64 enclosure_logical_id)
slot              589 drivers/message/fusion/mptsas.c 	sas_info->slot = slot;
slot              640 drivers/message/fusion/mptsas.c 	    sas_device.slot, enclosure_info.enclosure_logical_id);
slot              779 drivers/message/fusion/mptsas.c 		phy_info->attached.slot, enclosure_info.enclosure_logical_id);
slot             2201 drivers/message/fusion/mptsas.c 				rc = p->phy_info[i].attached.slot;
slot             2616 drivers/message/fusion/mptsas.c 	device_info->slot = le16_to_cpu(buffer->Slot);
slot               83 drivers/message/fusion/mptsas.h 	u16			slot;		/* enclosure slot id */
slot              133 drivers/message/fusion/mptsas.h 	u16	slot;		/* physical slot in enclosure */
slot              349 drivers/mfd/dln2.c static bool find_free_slot(struct dln2_dev *dln2, u16 handle, int *slot)
slot              355 drivers/mfd/dln2.c 		*slot = -ENODEV;
slot              363 drivers/mfd/dln2.c 	*slot = find_first_zero_bit(rxs->bmap, DLN2_MAX_RX_SLOTS);
slot              365 drivers/mfd/dln2.c 	if (*slot < DLN2_MAX_RX_SLOTS) {
slot              366 drivers/mfd/dln2.c 		struct dln2_rx_context *rxc = &rxs->slots[*slot];
slot              368 drivers/mfd/dln2.c 		set_bit(*slot, rxs->bmap);
slot              374 drivers/mfd/dln2.c 	return *slot < DLN2_MAX_RX_SLOTS;
slot              380 drivers/mfd/dln2.c 	int slot;
slot              387 drivers/mfd/dln2.c 				       find_free_slot(dln2, handle, &slot));
slot              391 drivers/mfd/dln2.c 	return slot;
slot              394 drivers/mfd/dln2.c static void free_rx_slot(struct dln2_dev *dln2, u16 handle, int slot)
slot              405 drivers/mfd/dln2.c 	clear_bit(slot, rxs->bmap);
slot              407 drivers/mfd/dln2.c 	rxc = &rxs->slots[slot];
slot              806 drivers/mfd/kempld-core.c 		     id->matches[0].slot != DMI_NONE; id++)
slot              810 drivers/mfd/kempld-core.c 		if (id->matches[0].slot == DMI_NONE)
slot              285 drivers/mfd/menelaus.c int menelaus_set_mmc_opendrain(int slot, int enable)
slot              289 drivers/mfd/menelaus.c 	if (slot != 1 && slot != 2)
slot              298 drivers/mfd/menelaus.c 	if (slot == 1) {
slot              336 drivers/mfd/menelaus.c int menelaus_set_mmc_slot(int slot, int enable, int power, int cd_en)
slot              340 drivers/mfd/menelaus.c 	if (slot != 1 && slot != 2)
slot              351 drivers/mfd/menelaus.c 	if (slot == 1) {
slot              370 drivers/mfd/menelaus.c 	if (slot == 1) {
slot              308 drivers/mfd/twl6030-irq.c int twl6030_mmc_card_detect(struct device *dev, int slot)
slot               67 drivers/misc/cb710/core.c 	struct cb710_slot *slot = &chip->slot[0];
slot               73 drivers/misc/cb710/core.c 	for (nr = chip->slots; nr; ++slot, --nr) {
slot               74 drivers/misc/cb710/core.c 		cb710_irq_handler_t handler_func = slot->irq_handler;
slot               75 drivers/misc/cb710/core.c 		if (handler_func && handler_func(slot))
slot               87 drivers/misc/cb710/core.c 	struct cb710_slot *slot = cb710_pdev_to_slot(to_platform_device(dev));
slot               88 drivers/misc/cb710/core.c 	struct cb710_chip *chip = cb710_slot_to_chip(slot);
slot               99 drivers/misc/cb710/core.c 	struct cb710_slot *slot = &chip->slot[nr];
slot              111 drivers/misc/cb710/core.c 	slot->iobase = chip->iobase + io_offset;
slot              112 drivers/misc/cb710/core.c 	slot->pdev.name = name;
slot              113 drivers/misc/cb710/core.c 	slot->pdev.id = chip->platform_id;
slot              114 drivers/misc/cb710/core.c 	slot->pdev.dev.parent = &chip->pdev->dev;
slot              115 drivers/misc/cb710/core.c 	slot->pdev.dev.release = cb710_release_slot;
slot              117 drivers/misc/cb710/core.c 	err = platform_device_register(&slot->pdev);
slot              126 drivers/misc/cb710/core.c 		platform_device_put(&slot->pdev);
slot              146 drivers/misc/cb710/core.c 	platform_device_unregister(&chip->slot[nr].pdev);
slot              150 drivers/misc/cb710/core.c 	BUG_ON(chip->slot[nr].irq_handler != NULL);
slot              157 drivers/misc/cb710/core.c void cb710_set_irq_handler(struct cb710_slot *slot,
slot              160 drivers/misc/cb710/core.c 	struct cb710_chip *chip = cb710_slot_to_chip(slot);
slot              164 drivers/misc/cb710/core.c 	slot->irq_handler = handler;
slot              230 drivers/misc/cb710/core.c 	chip = devm_kzalloc(&pdev->dev, struct_size(chip, slot, n),
slot              137 drivers/misc/enclosure.c 		edev->component[i].slot = -1;
slot              631 drivers/misc/enclosure.c 	int slot;
slot              634 drivers/misc/enclosure.c 	if (ecomp->slot >= 0)
slot              635 drivers/misc/enclosure.c 		slot = ecomp->slot;
slot              637 drivers/misc/enclosure.c 		slot = ecomp->number;
slot              639 drivers/misc/enclosure.c 	return snprintf(buf, 40, "%d\n", slot);
slot              653 drivers/misc/enclosure.c static DEVICE_ATTR(slot, S_IRUGO, get_component_slot, NULL);
slot              262 drivers/misc/hpilo.c static int ilo_ccb_setup(struct ilo_hwinfo *hw, struct ccb_data *data, int slot)
slot              318 drivers/misc/hpilo.c 	driver_ccb->channel = slot;
slot              319 drivers/misc/hpilo.c 	ilo_ccb->channel = slot;
slot              321 drivers/misc/hpilo.c 	driver_ccb->ccb_u5.db_base = hw->db_vaddr + (slot << L2_DB_SIZE);
slot              327 drivers/misc/hpilo.c static void ilo_ccb_open(struct ilo_hwinfo *hw, struct ccb_data *data, int slot)
slot              334 drivers/misc/hpilo.c 				(hw->ram_vaddr + (slot * ILOHW_CCB_SZ));
slot              426 drivers/misc/hpilo.c 	int slot;
slot              432 drivers/misc/hpilo.c 	for (slot = 0; slot < max_ccb; slot++) {
slot              433 drivers/misc/hpilo.c 		if (!hw->ccb_alloc[slot])
slot              435 drivers/misc/hpilo.c 		set_channel_reset(&hw->ccb_alloc[slot]->driver_ccb);
slot              538 drivers/misc/hpilo.c 	int slot;
slot              543 drivers/misc/hpilo.c 	slot = iminor(ip) % max_ccb;
slot              548 drivers/misc/hpilo.c 	if (hw->ccb_alloc[slot]->ccb_cnt == 1) {
slot              553 drivers/misc/hpilo.c 		hw->ccb_alloc[slot] = NULL;
slot              560 drivers/misc/hpilo.c 		hw->ccb_alloc[slot]->ccb_cnt--;
slot              569 drivers/misc/hpilo.c 	int slot, error;
slot              574 drivers/misc/hpilo.c 	slot = iminor(ip) % max_ccb;
slot              585 drivers/misc/hpilo.c 	if (hw->ccb_alloc[slot] == NULL) {
slot              587 drivers/misc/hpilo.c 		error = ilo_ccb_setup(hw, data, slot);
slot              600 drivers/misc/hpilo.c 		ilo_ccb_open(hw, data, slot);
slot              601 drivers/misc/hpilo.c 		hw->ccb_alloc[slot] = data;
slot              609 drivers/misc/hpilo.c 			hw->ccb_alloc[slot] = NULL;
slot              620 drivers/misc/hpilo.c 		if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) {
slot              628 drivers/misc/hpilo.c 			hw->ccb_alloc[slot]->ccb_cnt++;
slot              636 drivers/misc/hpilo.c 		fp->private_data = hw->ccb_alloc[slot];
slot             2366 drivers/mmc/core/core.c 	if (host->slot.cd_irq >= 0) {
slot             2368 drivers/mmc/core/core.c 		disable_irq(host->slot.cd_irq);
slot               33 drivers/mmc/core/slot-gpio.c 	struct mmc_gpio *ctx = host->slot.handler_priv;
slot               56 drivers/mmc/core/slot-gpio.c 		host->slot.handler_priv = ctx;
slot               57 drivers/mmc/core/slot-gpio.c 		host->slot.cd_irq = -EINVAL;
slot               65 drivers/mmc/core/slot-gpio.c 	struct mmc_gpio *ctx = host->slot.handler_priv;
slot               76 drivers/mmc/core/slot-gpio.c 	struct mmc_gpio *ctx = host->slot.handler_priv;
slot               98 drivers/mmc/core/slot-gpio.c 	struct mmc_gpio *ctx = host->slot.handler_priv;
slot              102 drivers/mmc/core/slot-gpio.c 	if (host->slot.cd_irq >= 0 || !ctx || !ctx->cd_gpio)
slot              123 drivers/mmc/core/slot-gpio.c 	host->slot.cd_irq = irq;
slot              135 drivers/mmc/core/slot-gpio.c 	    host->slot.cd_irq < 0 ||
slot              136 drivers/mmc/core/slot-gpio.c 	    on == host->slot.cd_wake_enabled)
slot              140 drivers/mmc/core/slot-gpio.c 		ret = enable_irq_wake(host->slot.cd_irq);
slot              141 drivers/mmc/core/slot-gpio.c 		host->slot.cd_wake_enabled = !ret;
slot              143 drivers/mmc/core/slot-gpio.c 		disable_irq_wake(host->slot.cd_irq);
slot              144 drivers/mmc/core/slot-gpio.c 		host->slot.cd_wake_enabled = false;
slot              157 drivers/mmc/core/slot-gpio.c 	struct mmc_gpio *ctx = host->slot.handler_priv;
slot              183 drivers/mmc/core/slot-gpio.c 	struct mmc_gpio *ctx = host->slot.handler_priv;
slot              209 drivers/mmc/core/slot-gpio.c 	struct mmc_gpio *ctx = host->slot.handler_priv;
slot              230 drivers/mmc/core/slot-gpio.c 	struct mmc_gpio *ctx = host->slot.handler_priv;
slot              258 drivers/mmc/core/slot-gpio.c 	struct mmc_gpio *ctx = host->slot.handler_priv;
slot              344 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot	*slot[ATMCI_MAX_NR_SLOTS];
slot              408 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot	*slot = s->private;
slot              415 drivers/mmc/host/atmel-mci.c 	spin_lock_bh(&slot->host->lock);
slot              416 drivers/mmc/host/atmel-mci.c 	mrq = slot->mrq;
slot              441 drivers/mmc/host/atmel-mci.c 	spin_unlock_bh(&slot->host->lock);
slot              574 drivers/mmc/host/atmel-mci.c static void atmci_init_debugfs(struct atmel_mci_slot *slot)
slot              576 drivers/mmc/host/atmel-mci.c 	struct mmc_host		*mmc = slot->mmc;
slot              577 drivers/mmc/host/atmel-mci.c 	struct atmel_mci	*host = slot->host;
slot              585 drivers/mmc/host/atmel-mci.c 	debugfs_create_file("req", S_IRUSR, root, slot, &atmci_req_fops);
slot              633 drivers/mmc/host/atmel-mci.c 		                         &pdata->slot[slot_id].bus_width))
slot              634 drivers/mmc/host/atmel-mci.c 			pdata->slot[slot_id].bus_width = 1;
slot              636 drivers/mmc/host/atmel-mci.c 		pdata->slot[slot_id].detect_pin =
slot              639 drivers/mmc/host/atmel-mci.c 		pdata->slot[slot_id].detect_is_active_high =
slot              642 drivers/mmc/host/atmel-mci.c 		pdata->slot[slot_id].non_removable =
slot              645 drivers/mmc/host/atmel-mci.c 		pdata->slot[slot_id].wp_pin =
slot              729 drivers/mmc/host/atmel-mci.c 		struct atmel_mci_slot *slot, struct mmc_data *data)
slot              753 drivers/mmc/host/atmel-mci.c 	dev_vdbg(&slot->mmc->class_dev, "setting timeout to %u cycles\n",
slot             1226 drivers/mmc/host/atmel-mci.c 		struct atmel_mci_slot *slot)
slot             1234 drivers/mmc/host/atmel-mci.c 	mrq = slot->mrq;
slot             1235 drivers/mmc/host/atmel-mci.c 	host->cur_slot = slot;
slot             1256 drivers/mmc/host/atmel-mci.c 	atmci_writel(host, ATMCI_SDCR, slot->sdc_reg);
slot             1260 drivers/mmc/host/atmel-mci.c 		dev_dbg(&slot->mmc->class_dev, "WARNING: IMR=0x%08x\n",
slot             1263 drivers/mmc/host/atmel-mci.c 	if (unlikely(test_and_clear_bit(ATMCI_CARD_NEED_INIT, &slot->flags))) {
slot             1272 drivers/mmc/host/atmel-mci.c 		atmci_set_timeout(host, slot, data);
slot             1277 drivers/mmc/host/atmel-mci.c 		dev_vdbg(&slot->mmc->class_dev, "BLKR=0x%08x\n",
slot             1285 drivers/mmc/host/atmel-mci.c 	cmdflags = atmci_prepare_command(slot->mmc, cmd);
slot             1303 drivers/mmc/host/atmel-mci.c 		host->stop_cmdr = atmci_prepare_command(slot->mmc, mrq->stop);
slot             1322 drivers/mmc/host/atmel-mci.c 		struct atmel_mci_slot *slot, struct mmc_request *mrq)
slot             1324 drivers/mmc/host/atmel-mci.c 	dev_vdbg(&slot->mmc->class_dev, "queue request: state=%d\n",
slot             1328 drivers/mmc/host/atmel-mci.c 	slot->mrq = mrq;
slot             1331 drivers/mmc/host/atmel-mci.c 		atmci_start_request(host, slot);
slot             1334 drivers/mmc/host/atmel-mci.c 		list_add_tail(&slot->queue_node, &host->queue);
slot             1341 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot	*slot = mmc_priv(mmc);
slot             1342 drivers/mmc/host/atmel-mci.c 	struct atmel_mci	*host = slot->host;
slot             1345 drivers/mmc/host/atmel-mci.c 	WARN_ON(slot->mrq);
slot             1356 drivers/mmc/host/atmel-mci.c 	if (!test_bit(ATMCI_CARD_PRESENT, &slot->flags)) {
slot             1369 drivers/mmc/host/atmel-mci.c 	atmci_queue_request(host, slot, mrq);
slot             1374 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot	*slot = mmc_priv(mmc);
slot             1375 drivers/mmc/host/atmel-mci.c 	struct atmel_mci	*host = slot->host;
slot             1378 drivers/mmc/host/atmel-mci.c 	slot->sdc_reg &= ~ATMCI_SDCBUS_MASK;
slot             1381 drivers/mmc/host/atmel-mci.c 		slot->sdc_reg |= ATMCI_SDCBUS_1BIT;
slot             1384 drivers/mmc/host/atmel-mci.c 		slot->sdc_reg |= ATMCI_SDCBUS_4BIT;
slot             1387 drivers/mmc/host/atmel-mci.c 		slot->sdc_reg |= ATMCI_SDCBUS_8BIT;
slot             1407 drivers/mmc/host/atmel-mci.c 		slot->clock = ios->clock;
slot             1409 drivers/mmc/host/atmel-mci.c 			if (host->slot[i] && host->slot[i]->clock
slot             1410 drivers/mmc/host/atmel-mci.c 					&& host->slot[i]->clock < clock_min)
slot             1411 drivers/mmc/host/atmel-mci.c 				clock_min = host->slot[i]->clock;
slot             1470 drivers/mmc/host/atmel-mci.c 		slot->clock = 0;
slot             1472 drivers/mmc/host/atmel-mci.c 			if (host->slot[i] && host->slot[i]->clock) {
slot             1493 drivers/mmc/host/atmel-mci.c 		set_bit(ATMCI_CARD_NEED_INIT, &slot->flags);
slot             1505 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot	*slot = mmc_priv(mmc);
slot             1507 drivers/mmc/host/atmel-mci.c 	if (gpio_is_valid(slot->wp_pin)) {
slot             1508 drivers/mmc/host/atmel-mci.c 		read_only = gpio_get_value(slot->wp_pin);
slot             1519 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot	*slot = mmc_priv(mmc);
slot             1521 drivers/mmc/host/atmel-mci.c 	if (gpio_is_valid(slot->detect_pin)) {
slot             1522 drivers/mmc/host/atmel-mci.c 		present = !(gpio_get_value(slot->detect_pin) ^
slot             1523 drivers/mmc/host/atmel-mci.c 			    slot->detect_is_active_high);
slot             1533 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot	*slot = mmc_priv(mmc);
slot             1534 drivers/mmc/host/atmel-mci.c 	struct atmel_mci	*host = slot->host;
slot             1537 drivers/mmc/host/atmel-mci.c 		atmci_writel(host, ATMCI_IER, slot->sdio_irq);
slot             1539 drivers/mmc/host/atmel-mci.c 		atmci_writel(host, ATMCI_IDR, slot->sdio_irq);
slot             1555 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot	*slot = NULL;
slot             1574 drivers/mmc/host/atmel-mci.c 		slot = list_entry(host->queue.next,
slot             1576 drivers/mmc/host/atmel-mci.c 		list_del(&slot->queue_node);
slot             1578 drivers/mmc/host/atmel-mci.c 				mmc_hostname(slot->mmc));
slot             1580 drivers/mmc/host/atmel-mci.c 		atmci_start_request(host, slot);
slot             1621 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot	*slot = from_timer(slot, t, detect_timer);
slot             1632 drivers/mmc/host/atmel-mci.c 	if (test_bit(ATMCI_SHUTDOWN, &slot->flags))
slot             1635 drivers/mmc/host/atmel-mci.c 	enable_irq(gpio_to_irq(slot->detect_pin));
slot             1636 drivers/mmc/host/atmel-mci.c 	present = !(gpio_get_value(slot->detect_pin) ^
slot             1637 drivers/mmc/host/atmel-mci.c 		    slot->detect_is_active_high);
slot             1638 drivers/mmc/host/atmel-mci.c 	present_old = test_bit(ATMCI_CARD_PRESENT, &slot->flags);
slot             1640 drivers/mmc/host/atmel-mci.c 	dev_vdbg(&slot->mmc->class_dev, "detect change: %d (was %d)\n",
slot             1644 drivers/mmc/host/atmel-mci.c 		struct atmel_mci	*host = slot->host;
slot             1647 drivers/mmc/host/atmel-mci.c 		dev_dbg(&slot->mmc->class_dev, "card %s\n",
slot             1653 drivers/mmc/host/atmel-mci.c 			clear_bit(ATMCI_CARD_PRESENT, &slot->flags);
slot             1655 drivers/mmc/host/atmel-mci.c 			set_bit(ATMCI_CARD_PRESENT, &slot->flags);
slot             1658 drivers/mmc/host/atmel-mci.c 		mrq = slot->mrq;
slot             1698 drivers/mmc/host/atmel-mci.c 				list_del(&slot->queue_node);
slot             1706 drivers/mmc/host/atmel-mci.c 				mmc_request_done(slot->mmc, mrq);
slot             1712 drivers/mmc/host/atmel-mci.c 		mmc_detect_change(slot->mmc, 0);
slot             2063 drivers/mmc/host/atmel-mci.c 		struct atmel_mci_slot *slot = host->slot[i];
slot             2064 drivers/mmc/host/atmel-mci.c 		if (slot && (status & slot->sdio_irq)) {
slot             2065 drivers/mmc/host/atmel-mci.c 			mmc_signal_sdio_irq(slot->mmc);
slot             2201 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot	*slot = dev_id;
slot             2209 drivers/mmc/host/atmel-mci.c 	mod_timer(&slot->detect_timer, jiffies + msecs_to_jiffies(20));
slot             2219 drivers/mmc/host/atmel-mci.c 	struct atmel_mci_slot		*slot;
slot             2225 drivers/mmc/host/atmel-mci.c 	slot = mmc_priv(mmc);
slot             2226 drivers/mmc/host/atmel-mci.c 	slot->mmc = mmc;
slot             2227 drivers/mmc/host/atmel-mci.c 	slot->host = host;
slot             2228 drivers/mmc/host/atmel-mci.c 	slot->detect_pin = slot_data->detect_pin;
slot             2229 drivers/mmc/host/atmel-mci.c 	slot->wp_pin = slot_data->wp_pin;
slot             2230 drivers/mmc/host/atmel-mci.c 	slot->detect_is_active_high = slot_data->detect_is_active_high;
slot             2231 drivers/mmc/host/atmel-mci.c 	slot->sdc_reg = sdc_reg;
slot             2232 drivers/mmc/host/atmel-mci.c 	slot->sdio_irq = sdio_irq;
slot             2274 drivers/mmc/host/atmel-mci.c 	set_bit(ATMCI_CARD_PRESENT, &slot->flags);
slot             2275 drivers/mmc/host/atmel-mci.c 	if (gpio_is_valid(slot->detect_pin)) {
slot             2276 drivers/mmc/host/atmel-mci.c 		if (devm_gpio_request(&host->pdev->dev, slot->detect_pin,
slot             2279 drivers/mmc/host/atmel-mci.c 			slot->detect_pin = -EBUSY;
slot             2280 drivers/mmc/host/atmel-mci.c 		} else if (gpio_get_value(slot->detect_pin) ^
slot             2281 drivers/mmc/host/atmel-mci.c 				slot->detect_is_active_high) {
slot             2282 drivers/mmc/host/atmel-mci.c 			clear_bit(ATMCI_CARD_PRESENT, &slot->flags);
slot             2286 drivers/mmc/host/atmel-mci.c 	if (!gpio_is_valid(slot->detect_pin)) {
slot             2293 drivers/mmc/host/atmel-mci.c 	if (gpio_is_valid(slot->wp_pin)) {
slot             2294 drivers/mmc/host/atmel-mci.c 		if (devm_gpio_request(&host->pdev->dev, slot->wp_pin,
slot             2297 drivers/mmc/host/atmel-mci.c 			slot->wp_pin = -EBUSY;
slot             2301 drivers/mmc/host/atmel-mci.c 	host->slot[id] = slot;
slot             2305 drivers/mmc/host/atmel-mci.c 	if (gpio_is_valid(slot->detect_pin)) {
slot             2308 drivers/mmc/host/atmel-mci.c 		timer_setup(&slot->detect_timer, atmci_detect_change, 0);
slot             2310 drivers/mmc/host/atmel-mci.c 		ret = request_irq(gpio_to_irq(slot->detect_pin),
slot             2313 drivers/mmc/host/atmel-mci.c 				"mmc-detect", slot);
slot             2317 drivers/mmc/host/atmel-mci.c 				gpio_to_irq(slot->detect_pin));
slot             2318 drivers/mmc/host/atmel-mci.c 			slot->detect_pin = -EBUSY;
slot             2322 drivers/mmc/host/atmel-mci.c 	atmci_init_debugfs(slot);
slot             2327 drivers/mmc/host/atmel-mci.c static void atmci_cleanup_slot(struct atmel_mci_slot *slot,
slot             2332 drivers/mmc/host/atmel-mci.c 	set_bit(ATMCI_SHUTDOWN, &slot->flags);
slot             2335 drivers/mmc/host/atmel-mci.c 	mmc_remove_host(slot->mmc);
slot             2337 drivers/mmc/host/atmel-mci.c 	if (gpio_is_valid(slot->detect_pin)) {
slot             2338 drivers/mmc/host/atmel-mci.c 		int pin = slot->detect_pin;
slot             2340 drivers/mmc/host/atmel-mci.c 		free_irq(gpio_to_irq(pin), slot);
slot             2341 drivers/mmc/host/atmel-mci.c 		del_timer_sync(&slot->detect_timer);
slot             2344 drivers/mmc/host/atmel-mci.c 	slot->host->slot[id] = NULL;
slot             2345 drivers/mmc/host/atmel-mci.c 	mmc_free_host(slot->mmc);
slot             2536 drivers/mmc/host/atmel-mci.c 	if (pdata->slot[0].bus_width) {
slot             2537 drivers/mmc/host/atmel-mci.c 		ret = atmci_init_slot(host, &pdata->slot[0],
slot             2541 drivers/mmc/host/atmel-mci.c 			host->buf_size = host->slot[0]->mmc->max_req_size;
slot             2544 drivers/mmc/host/atmel-mci.c 	if (pdata->slot[1].bus_width) {
slot             2545 drivers/mmc/host/atmel-mci.c 		ret = atmci_init_slot(host, &pdata->slot[1],
slot             2549 drivers/mmc/host/atmel-mci.c 			if (host->slot[1]->mmc->max_req_size > host->buf_size)
slot             2551 drivers/mmc/host/atmel-mci.c 					host->slot[1]->mmc->max_req_size;
slot             2582 drivers/mmc/host/atmel-mci.c 		if (host->slot[i])
slot             2583 drivers/mmc/host/atmel-mci.c 			atmci_cleanup_slot(host->slot[i], i);
slot             2611 drivers/mmc/host/atmel-mci.c 		if (host->slot[i])
slot             2612 drivers/mmc/host/atmel-mci.c 			atmci_cleanup_slot(host->slot[i], i);
slot              299 drivers/mmc/host/cavium-octeon.c 		if (host->slot[i])
slot              300 drivers/mmc/host/cavium-octeon.c 			cvm_mmc_of_slot_remove(host->slot[i]);
slot              314 drivers/mmc/host/cavium-octeon.c 		if (host->slot[i])
slot              315 drivers/mmc/host/cavium-octeon.c 			cvm_mmc_of_slot_remove(host->slot[i]);
slot              151 drivers/mmc/host/cavium-thunderx.c 		if (host->slot[i])
slot              152 drivers/mmc/host/cavium-thunderx.c 			cvm_mmc_of_slot_remove(host->slot[i]);
slot              170 drivers/mmc/host/cavium-thunderx.c 		if (host->slot[i])
slot              171 drivers/mmc/host/cavium-thunderx.c 			cvm_mmc_of_slot_remove(host->slot[i]);
slot              228 drivers/mmc/host/cavium.c static bool switch_val_changed(struct cvm_mmc_slot *slot, u64 new_val)
slot              233 drivers/mmc/host/cavium.c 	return (slot->cached_switch & match) != (new_val & match);
slot              236 drivers/mmc/host/cavium.c static void set_wdog(struct cvm_mmc_slot *slot, unsigned int ns)
slot              240 drivers/mmc/host/cavium.c 	if (!slot->clock)
slot              244 drivers/mmc/host/cavium.c 		timeout = (slot->clock * ns) / NSEC_PER_SEC;
slot              246 drivers/mmc/host/cavium.c 		timeout = (slot->clock * 850ull) / 1000ull;
slot              247 drivers/mmc/host/cavium.c 	writeq(timeout, slot->host->base + MIO_EMM_WDOG(slot->host));
slot              250 drivers/mmc/host/cavium.c static void cvm_mmc_reset_bus(struct cvm_mmc_slot *slot)
slot              252 drivers/mmc/host/cavium.c 	struct cvm_mmc_host *host = slot->host;
slot              255 drivers/mmc/host/cavium.c 	emm_switch = readq(slot->host->base + MIO_EMM_SWITCH(host));
slot              258 drivers/mmc/host/cavium.c 	set_bus_id(&emm_switch, slot->bus_id);
slot              260 drivers/mmc/host/cavium.c 	wdog = readq(slot->host->base + MIO_EMM_WDOG(host));
slot              261 drivers/mmc/host/cavium.c 	do_switch(slot->host, emm_switch);
slot              263 drivers/mmc/host/cavium.c 	slot->cached_switch = emm_switch;
slot              267 drivers/mmc/host/cavium.c 	writeq(wdog, slot->host->base + MIO_EMM_WDOG(host));
slot              271 drivers/mmc/host/cavium.c static void cvm_mmc_switch_to(struct cvm_mmc_slot *slot)
slot              273 drivers/mmc/host/cavium.c 	struct cvm_mmc_host *host = slot->host;
slot              277 drivers/mmc/host/cavium.c 	if (slot->bus_id == host->last_slot)
slot              280 drivers/mmc/host/cavium.c 	if (host->last_slot >= 0 && host->slot[host->last_slot]) {
slot              281 drivers/mmc/host/cavium.c 		old_slot = host->slot[host->last_slot];
slot              286 drivers/mmc/host/cavium.c 	writeq(slot->cached_rca, host->base + MIO_EMM_RCA(host));
slot              287 drivers/mmc/host/cavium.c 	emm_switch = slot->cached_switch;
slot              288 drivers/mmc/host/cavium.c 	set_bus_id(&emm_switch, slot->bus_id);
slot              291 drivers/mmc/host/cavium.c 	emm_sample = FIELD_PREP(MIO_EMM_SAMPLE_CMD_CNT, slot->cmd_cnt) |
slot              292 drivers/mmc/host/cavium.c 		     FIELD_PREP(MIO_EMM_SAMPLE_DAT_CNT, slot->dat_cnt);
slot              295 drivers/mmc/host/cavium.c 	host->last_slot = slot->bus_id;
slot              628 drivers/mmc/host/cavium.c 	struct cvm_mmc_slot *slot = mmc_priv(mmc);
slot              638 drivers/mmc/host/cavium.c 	set_bus_id(&emm_dma, slot->bus_id);
slot              653 drivers/mmc/host/cavium.c 	struct cvm_mmc_slot *slot = mmc_priv(mmc);
slot              654 drivers/mmc/host/cavium.c 	struct cvm_mmc_host *host = slot->host;
slot              665 drivers/mmc/host/cavium.c 	cvm_mmc_switch_to(slot);
slot              671 drivers/mmc/host/cavium.c 		set_wdog(slot, data->timeout_ns);
slot              754 drivers/mmc/host/cavium.c 	struct cvm_mmc_slot *slot = mmc_priv(mmc);
slot              755 drivers/mmc/host/cavium.c 	struct cvm_mmc_host *host = slot->host;
slot              776 drivers/mmc/host/cavium.c 	cvm_mmc_switch_to(slot);
slot              790 drivers/mmc/host/cavium.c 			set_wdog(slot, cmd->data->timeout_ns);
slot              792 drivers/mmc/host/cavium.c 		set_wdog(slot, 0);
slot              802 drivers/mmc/host/cavium.c 	set_bus_id(&emm_cmd, slot->bus_id);
slot              826 drivers/mmc/host/cavium.c 	struct cvm_mmc_slot *slot = mmc_priv(mmc);
slot              827 drivers/mmc/host/cavium.c 	struct cvm_mmc_host *host = slot->host;
slot              832 drivers/mmc/host/cavium.c 	cvm_mmc_switch_to(slot);
slot              840 drivers/mmc/host/cavium.c 		cvm_mmc_reset_bus(slot);
slot              876 drivers/mmc/host/cavium.c 	slot->clock = clock;
slot              887 drivers/mmc/host/cavium.c 	set_bus_id(&emm_switch, slot->bus_id);
slot              889 drivers/mmc/host/cavium.c 	if (!switch_val_changed(slot, emm_switch))
slot              892 drivers/mmc/host/cavium.c 	set_wdog(slot, 0);
slot              894 drivers/mmc/host/cavium.c 	slot->cached_switch = emm_switch;
slot              906 drivers/mmc/host/cavium.c static void cvm_mmc_set_clock(struct cvm_mmc_slot *slot, unsigned int clock)
slot              908 drivers/mmc/host/cavium.c 	struct mmc_host *mmc = slot->mmc;
slot              912 drivers/mmc/host/cavium.c 	slot->clock = clock;
slot              915 drivers/mmc/host/cavium.c static int cvm_mmc_init_lowlevel(struct cvm_mmc_slot *slot)
slot              917 drivers/mmc/host/cavium.c 	struct cvm_mmc_host *host = slot->host;
slot              921 drivers/mmc/host/cavium.c 	host->emm_cfg |= (1ull << slot->bus_id);
slot              922 drivers/mmc/host/cavium.c 	writeq(host->emm_cfg, slot->host->base + MIO_EMM_CFG(host));
slot              926 drivers/mmc/host/cavium.c 	cvm_mmc_set_clock(slot, slot->mmc->f_min);
slot              929 drivers/mmc/host/cavium.c 				 (host->sys_freq / slot->clock) / 2);
slot              931 drivers/mmc/host/cavium.c 				 (host->sys_freq / slot->clock) / 2);
slot              934 drivers/mmc/host/cavium.c 	set_bus_id(&emm_switch, slot->bus_id);
slot              937 drivers/mmc/host/cavium.c 	slot->cached_switch = emm_switch;
slot              945 drivers/mmc/host/cavium.c 	set_wdog(slot, 0);
slot              951 drivers/mmc/host/cavium.c static int cvm_mmc_of_parse(struct device *dev, struct cvm_mmc_slot *slot)
slot              955 drivers/mmc/host/cavium.c 	struct mmc_host *mmc = slot->mmc;
slot              965 drivers/mmc/host/cavium.c 	if (id >= CAVIUM_MAX_MMC || slot->host->slot[id]) {
slot             1002 drivers/mmc/host/cavium.c 	clock_period = 1000000000000ull / slot->host->sys_freq;
slot             1005 drivers/mmc/host/cavium.c 	slot->cmd_cnt = (cmd_skew + clock_period / 2) / clock_period;
slot             1006 drivers/mmc/host/cavium.c 	slot->dat_cnt = (dat_skew + clock_period / 2) / clock_period;
slot             1013 drivers/mmc/host/cavium.c 	struct cvm_mmc_slot *slot;
slot             1021 drivers/mmc/host/cavium.c 	slot = mmc_priv(mmc);
slot             1022 drivers/mmc/host/cavium.c 	slot->mmc = mmc;
slot             1023 drivers/mmc/host/cavium.c 	slot->host = host;
slot             1025 drivers/mmc/host/cavium.c 	ret = cvm_mmc_of_parse(dev, slot);
slot             1058 drivers/mmc/host/cavium.c 	slot->clock = mmc->f_min;
slot             1059 drivers/mmc/host/cavium.c 	slot->bus_id = id;
slot             1060 drivers/mmc/host/cavium.c 	slot->cached_rca = 1;
slot             1063 drivers/mmc/host/cavium.c 	host->slot[id] = slot;
slot             1064 drivers/mmc/host/cavium.c 	cvm_mmc_switch_to(slot);
slot             1065 drivers/mmc/host/cavium.c 	cvm_mmc_init_lowlevel(slot);
slot             1071 drivers/mmc/host/cavium.c 		slot->host->slot[id] = NULL;
slot             1077 drivers/mmc/host/cavium.c 	mmc_free_host(slot->mmc);
slot             1081 drivers/mmc/host/cavium.c int cvm_mmc_of_slot_remove(struct cvm_mmc_slot *slot)
slot             1083 drivers/mmc/host/cavium.c 	mmc_remove_host(slot->mmc);
slot             1084 drivers/mmc/host/cavium.c 	slot->host->slot[slot->bus_id] = NULL;
slot             1085 drivers/mmc/host/cavium.c 	mmc_free_host(slot->mmc);
slot               81 drivers/mmc/host/cavium.h 	struct cvm_mmc_slot *slot[CAVIUM_MAX_MMC];
slot              212 drivers/mmc/host/cavium.h int cvm_mmc_of_slot_remove(struct cvm_mmc_slot *slot);
slot               27 drivers/mmc/host/cb710-mmc.c 	struct cb710_slot *slot = cb710_mmc_to_slot(mmc);
slot               28 drivers/mmc/host/cb710-mmc.c 	struct pci_dev *pdev = cb710_slot_to_chip(slot)->pdev;
slot               54 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot),
slot               60 drivers/mmc/host/cb710-mmc.c static void __cb710_mmc_enable_irq(struct cb710_slot *slot,
slot               72 drivers/mmc/host/cb710-mmc.c 	enable = (cb710_read_port_16(slot, CB710_MMC_IRQ_ENABLE_PORT)
slot               78 drivers/mmc/host/cb710-mmc.c 	cb710_write_port_16(slot, CB710_MMC_IRQ_ENABLE_PORT, enable);
slot               81 drivers/mmc/host/cb710-mmc.c static void cb710_mmc_enable_irq(struct cb710_slot *slot,
slot               84 drivers/mmc/host/cb710-mmc.c 	struct cb710_mmc_reader *reader = mmc_priv(cb710_slot_to_mmc(slot));
slot               89 drivers/mmc/host/cb710-mmc.c 	__cb710_mmc_enable_irq(slot, enable, mask);
slot               93 drivers/mmc/host/cb710-mmc.c static void cb710_mmc_reset_events(struct cb710_slot *slot)
slot               95 drivers/mmc/host/cb710-mmc.c 	cb710_write_port_8(slot, CB710_MMC_STATUS0_PORT, 0xFF);
slot               96 drivers/mmc/host/cb710-mmc.c 	cb710_write_port_8(slot, CB710_MMC_STATUS1_PORT, 0xFF);
slot               97 drivers/mmc/host/cb710-mmc.c 	cb710_write_port_8(slot, CB710_MMC_STATUS2_PORT, 0xFF);
slot              100 drivers/mmc/host/cb710-mmc.c static void cb710_mmc_enable_4bit_data(struct cb710_slot *slot, int enable)
slot              103 drivers/mmc/host/cb710-mmc.c 		cb710_modify_port_8(slot, CB710_MMC_CONFIG1_PORT,
slot              106 drivers/mmc/host/cb710-mmc.c 		cb710_modify_port_8(slot, CB710_MMC_CONFIG1_PORT,
slot              110 drivers/mmc/host/cb710-mmc.c static int cb710_check_event(struct cb710_slot *slot, u8 what)
slot              114 drivers/mmc/host/cb710-mmc.c 	status = cb710_read_port_16(slot, CB710_MMC_STATUS_PORT);
slot              118 drivers/mmc/host/cb710-mmc.c 		dev_dbg(cb710_slot_dev(slot),
slot              120 drivers/mmc/host/cb710-mmc.c 		cb710_write_port_8(slot, CB710_MMC_STATUS0_PORT,
slot              126 drivers/mmc/host/cb710-mmc.c 		dev_dbg(cb710_slot_dev(slot),
slot              128 drivers/mmc/host/cb710-mmc.c 		cb710_write_port_8(slot, CB710_MMC_STATUS0_PORT, status & 0xFF);
slot              129 drivers/mmc/host/cb710-mmc.c 		cb710_write_port_8(slot, CB710_MMC_STATUS1_PORT,
slot              136 drivers/mmc/host/cb710-mmc.c 		cb710_write_port_8(slot, CB710_MMC_STATUS1_PORT, what);
slot              143 drivers/mmc/host/cb710-mmc.c static int cb710_wait_for_event(struct cb710_slot *slot, u8 what)
slot              150 drivers/mmc/host/cb710-mmc.c 	e = cb710_read_port_32(slot, CB710_MMC_STATUS_PORT);
slot              153 drivers/mmc/host/cb710-mmc.c 	while (!(err = cb710_check_event(slot, what))) {
slot              155 drivers/mmc/host/cb710-mmc.c 			cb710_dump_regs(cb710_slot_to_chip(slot),
slot              164 drivers/mmc/host/cb710-mmc.c 	x = cb710_read_port_32(slot, CB710_MMC_STATUS_PORT);
slot              168 drivers/mmc/host/cb710-mmc.c 		dev_dbg(cb710_slot_dev(slot),
slot              176 drivers/mmc/host/cb710-mmc.c static int cb710_wait_while_busy(struct cb710_slot *slot, uint8_t mask)
slot              183 drivers/mmc/host/cb710-mmc.c 	e = cb710_read_port_32(slot, CB710_MMC_STATUS_PORT);
slot              186 drivers/mmc/host/cb710-mmc.c 	while (cb710_read_port_8(slot, CB710_MMC_STATUS2_PORT) & mask) {
slot              188 drivers/mmc/host/cb710-mmc.c 			cb710_dump_regs(cb710_slot_to_chip(slot),
slot              197 drivers/mmc/host/cb710-mmc.c 	x = cb710_read_port_32(slot, CB710_MMC_STATUS_PORT);
slot              201 drivers/mmc/host/cb710-mmc.c 		dev_dbg(cb710_slot_dev(slot),
slot              208 drivers/mmc/host/cb710-mmc.c static void cb710_mmc_set_transfer_size(struct cb710_slot *slot,
slot              211 drivers/mmc/host/cb710-mmc.c 	cb710_wait_while_busy(slot, CB710_MMC_S2_BUSY_20);
slot              212 drivers/mmc/host/cb710-mmc.c 	cb710_write_port_32(slot, CB710_MMC_TRANSFER_SIZE_PORT,
slot              215 drivers/mmc/host/cb710-mmc.c 	dev_vdbg(cb710_slot_dev(slot), "set up for %zu block%s of %zu bytes\n",
slot              219 drivers/mmc/host/cb710-mmc.c static void cb710_mmc_fifo_hack(struct cb710_slot *slot)
slot              225 drivers/mmc/host/cb710-mmc.c 	r1 = cb710_read_port_32(slot, CB710_MMC_DATA_PORT);
slot              226 drivers/mmc/host/cb710-mmc.c 	r2 = cb710_read_port_32(slot, CB710_MMC_DATA_PORT);
slot              227 drivers/mmc/host/cb710-mmc.c 	if (cb710_read_port_8(slot, CB710_MMC_STATUS0_PORT)
slot              229 drivers/mmc/host/cb710-mmc.c 		cb710_write_port_8(slot, CB710_MMC_STATUS0_PORT,
slot              234 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot),
slot              237 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot),
slot              242 drivers/mmc/host/cb710-mmc.c static int cb710_mmc_receive_pio(struct cb710_slot *slot,
slot              245 drivers/mmc/host/cb710-mmc.c 	if (!(cb710_read_port_8(slot, CB710_MMC_STATUS2_PORT) & CB710_MMC_S2_FIFO_READY)) {
slot              246 drivers/mmc/host/cb710-mmc.c 		int err = cb710_wait_for_event(slot,
slot              253 drivers/mmc/host/cb710-mmc.c 		slot->iobase + CB710_MMC_DATA_PORT, dw_count);
slot              263 drivers/mmc/host/cb710-mmc.c static int cb710_mmc_receive(struct cb710_slot *slot, struct mmc_data *data)
slot              276 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG2_PORT,
slot              279 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_fifo_hack(slot);
slot              285 drivers/mmc/host/cb710-mmc.c 			err = cb710_mmc_receive_pio(slot, &miter, 4);
slot              294 drivers/mmc/host/cb710-mmc.c 		cb710_modify_port_8(slot, CB710_MMC_CONFIG2_PORT,
slot              298 drivers/mmc/host/cb710-mmc.c 		err = cb710_mmc_receive_pio(slot, &miter, len);
slot              307 drivers/mmc/host/cb710-mmc.c static int cb710_mmc_send(struct cb710_slot *slot, struct mmc_data *data)
slot              320 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG2_PORT,
slot              326 drivers/mmc/host/cb710-mmc.c 			if (!(cb710_read_port_8(slot, CB710_MMC_STATUS2_PORT)
slot              328 drivers/mmc/host/cb710-mmc.c 				err = cb710_wait_for_event(slot,
slot              334 drivers/mmc/host/cb710-mmc.c 				slot->iobase + CB710_MMC_DATA_PORT, 4);
slot              393 drivers/mmc/host/cb710-mmc.c static void cb710_receive_response(struct cb710_slot *slot,
slot              402 drivers/mmc/host/cb710-mmc.c 		resp[0] = cb710_read_port_32(slot, CB710_MMC_RESPONSE3_PORT);
slot              403 drivers/mmc/host/cb710-mmc.c 		resp[1] = cb710_read_port_32(slot, CB710_MMC_RESPONSE2_PORT);
slot              404 drivers/mmc/host/cb710-mmc.c 		resp[2] = cb710_read_port_32(slot, CB710_MMC_RESPONSE1_PORT);
slot              405 drivers/mmc/host/cb710-mmc.c 		resp[3] = cb710_read_port_32(slot, CB710_MMC_RESPONSE0_PORT);
slot              413 drivers/mmc/host/cb710-mmc.c 		rsp_opcode = cb710_read_port_32(slot, CB710_MMC_RESPONSE1_PORT) & 0x3F;
slot              414 drivers/mmc/host/cb710-mmc.c 		cmd->resp[0] = cb710_read_port_32(slot, CB710_MMC_RESPONSE0_PORT);
slot              422 drivers/mmc/host/cb710-mmc.c static int cb710_mmc_transfer_data(struct cb710_slot *slot,
slot              428 drivers/mmc/host/cb710-mmc.c 		error = cb710_mmc_receive(slot, data);
slot              430 drivers/mmc/host/cb710-mmc.c 		error = cb710_mmc_send(slot, data);
slot              432 drivers/mmc/host/cb710-mmc.c 	to = cb710_wait_for_event(slot, CB710_MMC_S1_DATA_TRANSFER_DONE);
slot              443 drivers/mmc/host/cb710-mmc.c 	struct cb710_slot *slot = cb710_mmc_to_slot(mmc);
slot              448 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot), "cmd request: 0x%04X\n", cb_cmd);
slot              455 drivers/mmc/host/cb710-mmc.c 		cb710_mmc_set_transfer_size(slot, data->blocks, data->blksz);
slot              458 drivers/mmc/host/cb710-mmc.c 	cb710_wait_while_busy(slot, CB710_MMC_S2_BUSY_20|CB710_MMC_S2_BUSY_10);
slot              459 drivers/mmc/host/cb710-mmc.c 	cb710_write_port_16(slot, CB710_MMC_CMD_TYPE_PORT, cb_cmd);
slot              460 drivers/mmc/host/cb710-mmc.c 	cb710_wait_while_busy(slot, CB710_MMC_S2_BUSY_20);
slot              461 drivers/mmc/host/cb710-mmc.c 	cb710_write_port_32(slot, CB710_MMC_CMD_PARAM_PORT, cmd->arg);
slot              462 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_reset_events(slot);
slot              463 drivers/mmc/host/cb710-mmc.c 	cb710_wait_while_busy(slot, CB710_MMC_S2_BUSY_20);
slot              464 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG0_PORT, 0x01, 0);
slot              466 drivers/mmc/host/cb710-mmc.c 	cmd->error = cb710_wait_for_event(slot, CB710_MMC_S1_COMMAND_SENT);
slot              471 drivers/mmc/host/cb710-mmc.c 		cb710_receive_response(slot, cmd);
slot              477 drivers/mmc/host/cb710-mmc.c 		data->error = cb710_mmc_transfer_data(slot, data);
slot              483 drivers/mmc/host/cb710-mmc.c 	struct cb710_slot *slot = cb710_mmc_to_slot(mmc);
slot              489 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_enable_irq(slot, CB710_MMC_IE_TEST_MASK, 0);
slot              497 drivers/mmc/host/cb710-mmc.c static int cb710_mmc_powerup(struct cb710_slot *slot)
slot              500 drivers/mmc/host/cb710-mmc.c 	struct cb710_chip *chip = cb710_slot_to_chip(slot);
slot              505 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot), "bus powerup\n");
slot              507 drivers/mmc/host/cb710-mmc.c 	err = cb710_wait_while_busy(slot, CB710_MMC_S2_BUSY_20);
slot              510 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG1_PORT, 0x80, 0);
slot              511 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG3_PORT, 0x80, 0);
slot              514 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot), "after delay 1\n");
slot              516 drivers/mmc/host/cb710-mmc.c 	err = cb710_wait_while_busy(slot, CB710_MMC_S2_BUSY_20);
slot              519 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG1_PORT, 0x09, 0);
slot              522 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot), "after delay 2\n");
slot              524 drivers/mmc/host/cb710-mmc.c 	err = cb710_wait_while_busy(slot, CB710_MMC_S2_BUSY_20);
slot              527 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG1_PORT, 0, 0x08);
slot              530 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot), "after delay 3\n");
slot              532 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG0_PORT, 0x06, 0);
slot              533 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG1_PORT, 0x70, 0);
slot              534 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG2_PORT, 0x80, 0);
slot              535 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG3_PORT, 0x03, 0);
slot              537 drivers/mmc/host/cb710-mmc.c 	err = cb710_wait_while_busy(slot, CB710_MMC_S2_BUSY_20);
slot              544 drivers/mmc/host/cb710-mmc.c 	cb710_write_port_16(slot, CB710_MMC_CONFIGB_PORT, 0xFFFF);
slot              545 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG0_PORT, 0x06, 0);
slot              547 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot), "bus powerup finished\n");
slot              549 drivers/mmc/host/cb710-mmc.c 	return cb710_check_event(slot, 0);
slot              552 drivers/mmc/host/cb710-mmc.c static void cb710_mmc_powerdown(struct cb710_slot *slot)
slot              554 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG1_PORT, 0, 0x81);
slot              555 drivers/mmc/host/cb710-mmc.c 	cb710_modify_port_8(slot, CB710_MMC_CONFIG3_PORT, 0, 0x80);
slot              560 drivers/mmc/host/cb710-mmc.c 	struct cb710_slot *slot = cb710_mmc_to_slot(mmc);
slot              569 drivers/mmc/host/cb710-mmc.c 			err = cb710_mmc_powerup(slot);
slot              571 drivers/mmc/host/cb710-mmc.c 				dev_warn(cb710_slot_dev(slot),
slot              573 drivers/mmc/host/cb710-mmc.c 				cb710_mmc_powerdown(slot);
slot              575 drivers/mmc/host/cb710-mmc.c 				err = cb710_mmc_powerup(slot);
slot              577 drivers/mmc/host/cb710-mmc.c 					dev_warn(cb710_slot_dev(slot),
slot              584 drivers/mmc/host/cb710-mmc.c 			cb710_mmc_powerdown(slot);
slot              594 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_enable_4bit_data(slot, ios->bus_width != MMC_BUS_WIDTH_1);
slot              596 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_enable_irq(slot, CB710_MMC_IE_TEST_MASK, 0);
slot              601 drivers/mmc/host/cb710-mmc.c 	struct cb710_slot *slot = cb710_mmc_to_slot(mmc);
slot              603 drivers/mmc/host/cb710-mmc.c 	return cb710_read_port_8(slot, CB710_MMC_STATUS3_PORT)
slot              609 drivers/mmc/host/cb710-mmc.c 	struct cb710_slot *slot = cb710_mmc_to_slot(mmc);
slot              611 drivers/mmc/host/cb710-mmc.c 	return cb710_read_port_8(slot, CB710_MMC_STATUS3_PORT)
slot              615 drivers/mmc/host/cb710-mmc.c static int cb710_mmc_irq_handler(struct cb710_slot *slot)
slot              617 drivers/mmc/host/cb710-mmc.c 	struct mmc_host *mmc = cb710_slot_to_mmc(slot);
slot              621 drivers/mmc/host/cb710-mmc.c 	status = cb710_read_port_32(slot, CB710_MMC_STATUS_PORT);
slot              622 drivers/mmc/host/cb710-mmc.c 	irqen = cb710_read_port_32(slot, CB710_MMC_IRQ_ENABLE_PORT);
slot              623 drivers/mmc/host/cb710-mmc.c 	config2 = cb710_read_port_32(slot, CB710_MMC_CONFIGB_PORT);
slot              624 drivers/mmc/host/cb710-mmc.c 	config1 = cb710_read_port_32(slot, CB710_MMC_CONFIG_PORT);
slot              626 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot), "interrupt; status: %08X, "
slot              632 drivers/mmc/host/cb710-mmc.c 		cb710_write_port_8(slot, CB710_MMC_STATUS1_PORT,
slot              638 drivers/mmc/host/cb710-mmc.c 		dev_dbg(cb710_slot_dev(slot), "unknown interrupt (test)\n");
slot              640 drivers/mmc/host/cb710-mmc.c 		__cb710_mmc_enable_irq(slot, 0, CB710_MMC_IE_TEST_MASK);
slot              668 drivers/mmc/host/cb710-mmc.c 	struct cb710_slot *slot = cb710_pdev_to_slot(pdev);
slot              670 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_enable_irq(slot, 0, ~0);
slot              676 drivers/mmc/host/cb710-mmc.c 	struct cb710_slot *slot = cb710_pdev_to_slot(pdev);
slot              678 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_enable_irq(slot, 0, ~0);
slot              686 drivers/mmc/host/cb710-mmc.c 	struct cb710_slot *slot = cb710_pdev_to_slot(pdev);
slot              687 drivers/mmc/host/cb710-mmc.c 	struct cb710_chip *chip = cb710_slot_to_chip(slot);
slot              693 drivers/mmc/host/cb710-mmc.c 	mmc = mmc_alloc_host(sizeof(*reader), cb710_slot_dev(slot));
slot              702 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot), "source frequency: %dMHz\n", val);
slot              718 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_enable_irq(slot, 0, ~0);
slot              719 drivers/mmc/host/cb710-mmc.c 	cb710_set_irq_handler(slot, cb710_mmc_irq_handler);
slot              725 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot), "mmc_hostname is %s\n",
slot              728 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_enable_irq(slot, CB710_MMC_IE_CARD_INSERTION_STATUS, 0);
slot              733 drivers/mmc/host/cb710-mmc.c 	dev_dbg(cb710_slot_dev(slot), "mmc_add_host() failed: %d\n", err);
slot              735 drivers/mmc/host/cb710-mmc.c 	cb710_set_irq_handler(slot, NULL);
slot              742 drivers/mmc/host/cb710-mmc.c 	struct cb710_slot *slot = cb710_pdev_to_slot(pdev);
slot              743 drivers/mmc/host/cb710-mmc.c 	struct mmc_host *mmc = cb710_slot_to_mmc(slot);
slot              746 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_enable_irq(slot, 0, CB710_MMC_IE_CARD_INSERTION_STATUS);
slot              751 drivers/mmc/host/cb710-mmc.c 	cb710_mmc_enable_irq(slot, 0, ~0);
slot              752 drivers/mmc/host/cb710-mmc.c 	cb710_set_irq_handler(slot, NULL);
slot              755 drivers/mmc/host/cb710-mmc.c 	cb710_write_port_32(slot, CB710_MMC_CONFIG_PORT, 0);
slot              756 drivers/mmc/host/cb710-mmc.c 	cb710_write_port_16(slot, CB710_MMC_CONFIGB_PORT, 0);
slot               22 drivers/mmc/host/cb710-mmc.h static inline struct mmc_host *cb710_slot_to_mmc(struct cb710_slot *slot)
slot               24 drivers/mmc/host/cb710-mmc.h 	return platform_get_drvdata(&slot->pdev);
slot              609 drivers/mmc/host/cqhci.c 	cq_host->slot[tag].mrq = mrq;
slot              610 drivers/mmc/host/cqhci.c 	cq_host->slot[tag].flags = 0;
slot              660 drivers/mmc/host/cqhci.c 	struct cqhci_slot *slot;
slot              684 drivers/mmc/host/cqhci.c 		slot = &cq_host->slot[tag];
slot              685 drivers/mmc/host/cqhci.c 		if (slot->mrq) {
slot              686 drivers/mmc/host/cqhci.c 			slot->flags = cqhci_error_flags(cmd_error, data_error);
slot              687 drivers/mmc/host/cqhci.c 			cqhci_recovery_needed(mmc, slot->mrq, true);
slot              693 drivers/mmc/host/cqhci.c 		slot = &cq_host->slot[tag];
slot              694 drivers/mmc/host/cqhci.c 		if (slot->mrq) {
slot              695 drivers/mmc/host/cqhci.c 			slot->flags = cqhci_error_flags(data_error, cmd_error);
slot              696 drivers/mmc/host/cqhci.c 			cqhci_recovery_needed(mmc, slot->mrq, true);
slot              706 drivers/mmc/host/cqhci.c 			slot = &cq_host->slot[tag];
slot              707 drivers/mmc/host/cqhci.c 			if (!slot->mrq)
slot              709 drivers/mmc/host/cqhci.c 			slot->flags = cqhci_error_flags(data_error, cmd_error);
slot              710 drivers/mmc/host/cqhci.c 			cqhci_recovery_needed(mmc, slot->mrq, true);
slot              722 drivers/mmc/host/cqhci.c 	struct cqhci_slot *slot = &cq_host->slot[tag];
slot              723 drivers/mmc/host/cqhci.c 	struct mmc_request *mrq = slot->mrq;
slot              734 drivers/mmc/host/cqhci.c 		slot->flags |= CQHCI_COMPLETED;
slot              738 drivers/mmc/host/cqhci.c 	slot->mrq = NULL;
slot              831 drivers/mmc/host/cqhci.c 	struct cqhci_slot *slot = &cq_host->slot[tag];
slot              836 drivers/mmc/host/cqhci.c 	timed_out = slot->mrq == mrq;
slot              838 drivers/mmc/host/cqhci.c 		slot->flags |= CQHCI_EXTERNAL_TIMEOUT;
slot              958 drivers/mmc/host/cqhci.c 	struct cqhci_slot *slot = &cq_host->slot[tag];
slot              959 drivers/mmc/host/cqhci.c 	struct mmc_request *mrq = slot->mrq;
slot              965 drivers/mmc/host/cqhci.c 	slot->mrq = NULL;
slot              972 drivers/mmc/host/cqhci.c 		data->error = cqhci_error_from_flags(slot->flags);
slot              974 drivers/mmc/host/cqhci.c 		mrq->cmd->error = cqhci_error_from_flags(slot->flags);
slot             1125 drivers/mmc/host/cqhci.c 	cq_host->slot = devm_kcalloc(mmc_dev(mmc), cq_host->num_slots,
slot             1126 drivers/mmc/host/cqhci.c 				     sizeof(*cq_host->slot), GFP_KERNEL);
slot             1127 drivers/mmc/host/cqhci.c 	if (!cq_host->slot) {
slot              198 drivers/mmc/host/cqhci.h 	struct cqhci_slot *slot;
slot              156 drivers/mmc/host/dw_mmc-exynos.c 	if (!SDMMC_CLKSEL_GET_DRV_WD3(clksel) && host->slot)
slot              157 drivers/mmc/host/dw_mmc-exynos.c 		set_bit(DW_MMC_CARD_NO_USE_HOLD, &host->slot->flags);
slot              469 drivers/mmc/host/dw_mmc-exynos.c static int dw_mci_exynos_execute_tuning(struct dw_mci_slot *slot, u32 opcode)
slot              471 drivers/mmc/host/dw_mmc-exynos.c 	struct dw_mci *host = slot->host;
slot              473 drivers/mmc/host/dw_mmc-exynos.c 	struct mmc_host *mmc = slot->mmc;
slot               66 drivers/mmc/host/dw_mmc-hi3798cv200.c static int dw_mci_hi3798cv200_execute_tuning(struct dw_mci_slot *slot,
slot               70 drivers/mmc/host/dw_mmc-hi3798cv200.c 	struct dw_mci *host = slot->host;
slot               81 drivers/mmc/host/dw_mmc-hi3798cv200.c 		err = mmc_send_tuning(slot->mmc, opcode, NULL);
slot              143 drivers/mmc/host/dw_mmc-k3.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot              149 drivers/mmc/host/dw_mmc-k3.c 	host = slot->host;
slot              202 drivers/mmc/host/dw_mmc-k3.c static int dw_mci_hi6220_execute_tuning(struct dw_mci_slot *slot, u32 opcode)
slot              367 drivers/mmc/host/dw_mmc-k3.c static int dw_mci_hi3660_execute_tuning(struct dw_mci_slot *slot, u32 opcode)
slot              370 drivers/mmc/host/dw_mmc-k3.c 	struct dw_mci *host = slot->host;
slot              371 drivers/mmc/host/dw_mmc-k3.c 	struct mmc_host *mmc = slot->mmc;
slot              405 drivers/mmc/host/dw_mmc-k3.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot              409 drivers/mmc/host/dw_mmc-k3.c 	host = slot->host;
slot              135 drivers/mmc/host/dw_mmc-rockchip.c static int dw_mci_rk3288_execute_tuning(struct dw_mci_slot *slot, u32 opcode)
slot              137 drivers/mmc/host/dw_mmc-rockchip.c 	struct dw_mci *host = slot->host;
slot              139 drivers/mmc/host/dw_mmc-rockchip.c 	struct mmc_host *mmc = slot->mmc;
slot               88 drivers/mmc/host/dw_mmc-zx.c static int dw_mci_zx_emmc_execute_tuning(struct dw_mci_slot *slot, u32 opcode)
slot               90 drivers/mmc/host/dw_mmc-zx.c 	struct dw_mci *host = slot->host;
slot               91 drivers/mmc/host/dw_mmc-zx.c 	struct mmc_host *mmc = slot->mmc;
slot              141 drivers/mmc/host/dw_mmc-zx.c static int dw_mci_zx_execute_tuning(struct dw_mci_slot *slot, u32 opcode)
slot              143 drivers/mmc/host/dw_mmc-zx.c 	struct dw_mci *host = slot->host;
slot              146 drivers/mmc/host/dw_mmc-zx.c 		return dw_mci_zx_emmc_execute_tuning(slot, opcode);
slot              109 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = s->private;
slot              116 drivers/mmc/host/dw_mmc.c 	spin_lock_bh(&slot->host->lock);
slot              117 drivers/mmc/host/dw_mmc.c 	mrq = slot->mrq;
slot              142 drivers/mmc/host/dw_mmc.c 	spin_unlock_bh(&slot->host->lock);
slot              167 drivers/mmc/host/dw_mmc.c static void dw_mci_init_debugfs(struct dw_mci_slot *slot)
slot              169 drivers/mmc/host/dw_mmc.c 	struct mmc_host	*mmc = slot->mmc;
slot              170 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot              178 drivers/mmc/host/dw_mmc.c 	debugfs_create_file("req", S_IRUSR, root, slot, &dw_mci_req_fops);
slot              230 drivers/mmc/host/dw_mmc.c static void mci_send_cmd(struct dw_mci_slot *slot, u32 cmd, u32 arg)
slot              232 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot              243 drivers/mmc/host/dw_mmc.c 		dev_err(&slot->mmc->class_dev,
slot              250 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot              251 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot              273 drivers/mmc/host/dw_mmc.c 		WARN_ON(slot->host->state != STATE_SENDING_CMD);
slot              274 drivers/mmc/host/dw_mmc.c 		slot->host->state = STATE_SENDING_CMD11;
slot              288 drivers/mmc/host/dw_mmc.c 		clk_en_a &= ~(SDMMC_CLKEN_LOW_PWR << slot->id);
slot              290 drivers/mmc/host/dw_mmc.c 		mci_send_cmd(slot, SDMMC_CMD_UPD_CLK |
slot              310 drivers/mmc/host/dw_mmc.c 	if (!test_bit(DW_MMC_CARD_NO_USE_HOLD, &slot->flags))
slot              349 drivers/mmc/host/dw_mmc.c 	if (!test_bit(DW_MMC_CARD_NO_USE_HOLD, &host->slot->flags))
slot              479 drivers/mmc/host/dw_mmc.c 		dma_sync_sg_for_cpu(mmc_dev(host->slot->mmc),
slot              821 drivers/mmc/host/dw_mmc.c 		dma_sync_sg_for_device(mmc_dev(host->slot->mmc), sgl,
slot              909 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot              912 drivers/mmc/host/dw_mmc.c 	if (!slot->host->use_dma || !data)
slot              918 drivers/mmc/host/dw_mmc.c 	if (dw_mci_pre_dma_transfer(slot->host, mrq->data,
slot              927 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot              930 drivers/mmc/host/dw_mmc.c 	if (!slot->host->use_dma || !data)
slot              934 drivers/mmc/host/dw_mmc.c 		dma_unmap_sg(slot->host->dev,
slot              944 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot              945 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot              953 drivers/mmc/host/dw_mmc.c 		if (!test_bit(DW_MMC_CARD_PRESENT, &slot->flags)) {
slot              961 drivers/mmc/host/dw_mmc.c 			set_bit(DW_MMC_CARD_PRESENT, &slot->flags);
slot              968 drivers/mmc/host/dw_mmc.c 		present = (mci_readl(slot->host, CDETECT) & (1 << slot->id))
slot              972 drivers/mmc/host/dw_mmc.c 	if (present && !test_and_set_bit(DW_MMC_CARD_PRESENT, &slot->flags))
slot              975 drivers/mmc/host/dw_mmc.c 			!test_and_clear_bit(DW_MMC_CARD_PRESENT, &slot->flags))
slot             1196 drivers/mmc/host/dw_mmc.c static void dw_mci_setup_bus(struct dw_mci_slot *slot, bool force_clkinit)
slot             1198 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot             1199 drivers/mmc/host/dw_mmc.c 	unsigned int clock = slot->clock;
slot             1208 drivers/mmc/host/dw_mmc.c 	slot->mmc->actual_clock = 0;
slot             1212 drivers/mmc/host/dw_mmc.c 		mci_send_cmd(slot, sdmmc_cmd_bits, 0);
slot             1224 drivers/mmc/host/dw_mmc.c 		if ((clock != slot->__clk_old &&
slot             1225 drivers/mmc/host/dw_mmc.c 			!test_bit(DW_MMC_CARD_NEEDS_POLL, &slot->flags)) ||
slot             1229 drivers/mmc/host/dw_mmc.c 				dev_info(&slot->mmc->class_dev,
slot             1231 drivers/mmc/host/dw_mmc.c 					 slot->id, host->bus_hz, clock,
slot             1239 drivers/mmc/host/dw_mmc.c 			if (slot->mmc->caps & MMC_CAP_NEEDS_POLL &&
slot             1240 drivers/mmc/host/dw_mmc.c 					slot->mmc->f_min == clock)
slot             1241 drivers/mmc/host/dw_mmc.c 				set_bit(DW_MMC_CARD_NEEDS_POLL, &slot->flags);
slot             1249 drivers/mmc/host/dw_mmc.c 		mci_send_cmd(slot, sdmmc_cmd_bits, 0);
slot             1255 drivers/mmc/host/dw_mmc.c 		mci_send_cmd(slot, sdmmc_cmd_bits, 0);
slot             1258 drivers/mmc/host/dw_mmc.c 		clk_en_a = SDMMC_CLKEN_ENABLE << slot->id;
slot             1259 drivers/mmc/host/dw_mmc.c 		if (!test_bit(DW_MMC_CARD_NO_LOW_PWR, &slot->flags))
slot             1260 drivers/mmc/host/dw_mmc.c 			clk_en_a |= SDMMC_CLKEN_LOW_PWR << slot->id;
slot             1264 drivers/mmc/host/dw_mmc.c 		mci_send_cmd(slot, sdmmc_cmd_bits, 0);
slot             1267 drivers/mmc/host/dw_mmc.c 		slot->__clk_old = clock;
slot             1268 drivers/mmc/host/dw_mmc.c 		slot->mmc->actual_clock = div ? ((host->bus_hz / div) >> 1) :
slot             1275 drivers/mmc/host/dw_mmc.c 	mci_writel(host, CTYPE, (slot->ctype << slot->id));
slot             1279 drivers/mmc/host/dw_mmc.c 				   struct dw_mci_slot *slot,
slot             1286 drivers/mmc/host/dw_mmc.c 	mrq = slot->mrq;
slot             1303 drivers/mmc/host/dw_mmc.c 	cmdflags = dw_mci_prepare_command(slot->mmc, cmd);
slot             1306 drivers/mmc/host/dw_mmc.c 	if (test_and_clear_bit(DW_MMC_CARD_NEED_INIT, &slot->flags))
slot             1340 drivers/mmc/host/dw_mmc.c 				 struct dw_mci_slot *slot)
slot             1342 drivers/mmc/host/dw_mmc.c 	struct mmc_request *mrq = slot->mrq;
slot             1346 drivers/mmc/host/dw_mmc.c 	__dw_mci_start_request(host, slot, cmd);
slot             1350 drivers/mmc/host/dw_mmc.c static void dw_mci_queue_request(struct dw_mci *host, struct dw_mci_slot *slot,
slot             1353 drivers/mmc/host/dw_mmc.c 	dev_vdbg(&slot->mmc->class_dev, "queue request: state=%d\n",
slot             1356 drivers/mmc/host/dw_mmc.c 	slot->mrq = mrq;
slot             1359 drivers/mmc/host/dw_mmc.c 		dev_warn(&slot->mmc->class_dev,
slot             1371 drivers/mmc/host/dw_mmc.c 		dw_mci_start_request(host, slot);
slot             1373 drivers/mmc/host/dw_mmc.c 		list_add_tail(&slot->queue_node, &host->queue);
slot             1379 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1380 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot             1382 drivers/mmc/host/dw_mmc.c 	WARN_ON(slot->mrq);
slot             1398 drivers/mmc/host/dw_mmc.c 	dw_mci_queue_request(host, slot, mrq);
slot             1405 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1406 drivers/mmc/host/dw_mmc.c 	const struct dw_mci_drv_data *drv_data = slot->host->drv_data;
slot             1412 drivers/mmc/host/dw_mmc.c 		slot->ctype = SDMMC_CTYPE_4BIT;
slot             1415 drivers/mmc/host/dw_mmc.c 		slot->ctype = SDMMC_CTYPE_8BIT;
slot             1419 drivers/mmc/host/dw_mmc.c 		slot->ctype = SDMMC_CTYPE_1BIT;
slot             1422 drivers/mmc/host/dw_mmc.c 	regs = mci_readl(slot->host, UHS_REG);
slot             1428 drivers/mmc/host/dw_mmc.c 		regs |= ((0x1 << slot->id) << 16);
slot             1430 drivers/mmc/host/dw_mmc.c 		regs &= ~((0x1 << slot->id) << 16);
slot             1432 drivers/mmc/host/dw_mmc.c 	mci_writel(slot->host, UHS_REG, regs);
slot             1433 drivers/mmc/host/dw_mmc.c 	slot->host->timing = ios->timing;
slot             1439 drivers/mmc/host/dw_mmc.c 	slot->clock = ios->clock;
slot             1442 drivers/mmc/host/dw_mmc.c 		drv_data->set_ios(slot->host, ios);
slot             1450 drivers/mmc/host/dw_mmc.c 				dev_err(slot->host->dev,
slot             1456 drivers/mmc/host/dw_mmc.c 		set_bit(DW_MMC_CARD_NEED_INIT, &slot->flags);
slot             1457 drivers/mmc/host/dw_mmc.c 		regs = mci_readl(slot->host, PWREN);
slot             1458 drivers/mmc/host/dw_mmc.c 		regs |= (1 << slot->id);
slot             1459 drivers/mmc/host/dw_mmc.c 		mci_writel(slot->host, PWREN, regs);
slot             1462 drivers/mmc/host/dw_mmc.c 		if (!slot->host->vqmmc_enabled) {
slot             1466 drivers/mmc/host/dw_mmc.c 					dev_err(slot->host->dev,
slot             1469 drivers/mmc/host/dw_mmc.c 					slot->host->vqmmc_enabled = true;
slot             1473 drivers/mmc/host/dw_mmc.c 				slot->host->vqmmc_enabled = true;
slot             1477 drivers/mmc/host/dw_mmc.c 			dw_mci_ctrl_reset(slot->host,
slot             1482 drivers/mmc/host/dw_mmc.c 		dw_mci_setup_bus(slot, false);
slot             1487 drivers/mmc/host/dw_mmc.c 		dw_mci_setup_bus(slot, false);
slot             1492 drivers/mmc/host/dw_mmc.c 		if (!IS_ERR(mmc->supply.vqmmc) && slot->host->vqmmc_enabled)
slot             1494 drivers/mmc/host/dw_mmc.c 		slot->host->vqmmc_enabled = false;
slot             1496 drivers/mmc/host/dw_mmc.c 		regs = mci_readl(slot->host, PWREN);
slot             1497 drivers/mmc/host/dw_mmc.c 		regs &= ~(1 << slot->id);
slot             1498 drivers/mmc/host/dw_mmc.c 		mci_writel(slot->host, PWREN, regs);
slot             1504 drivers/mmc/host/dw_mmc.c 	if (slot->host->state == STATE_WAITING_CMD11_DONE && ios->clock != 0)
slot             1505 drivers/mmc/host/dw_mmc.c 		slot->host->state = STATE_IDLE;
slot             1510 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1517 drivers/mmc/host/dw_mmc.c 	status = mci_readl(slot->host, STATUS);
slot             1524 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1525 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot             1528 drivers/mmc/host/dw_mmc.c 	u32 v18 = SDMMC_UHS_18V << slot->id;
slot             1563 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1571 drivers/mmc/host/dw_mmc.c 			mci_readl(slot->host, WRTPRT) & (1 << slot->id) ? 1 : 0;
slot             1581 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1582 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot             1599 drivers/mmc/host/dw_mmc.c 	reset &= ~(SDMMC_RST_HWACTIVE << slot->id);
slot             1602 drivers/mmc/host/dw_mmc.c 	reset |= SDMMC_RST_HWACTIVE << slot->id;
slot             1609 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1610 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot             1618 drivers/mmc/host/dw_mmc.c 		const u32 clken_low_pwr = SDMMC_CLKEN_LOW_PWR << slot->id;
slot             1626 drivers/mmc/host/dw_mmc.c 			set_bit(DW_MMC_CARD_NO_LOW_PWR, &slot->flags);
slot             1629 drivers/mmc/host/dw_mmc.c 			clear_bit(DW_MMC_CARD_NO_LOW_PWR, &slot->flags);
slot             1635 drivers/mmc/host/dw_mmc.c 			mci_send_cmd(slot, SDMMC_CMD_UPD_CLK |
slot             1641 drivers/mmc/host/dw_mmc.c static void __dw_mci_enable_sdio_irq(struct dw_mci_slot *slot, int enb)
slot             1643 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot             1652 drivers/mmc/host/dw_mmc.c 		int_mask |= SDMMC_INT_SDIO(slot->sdio_id);
slot             1654 drivers/mmc/host/dw_mmc.c 		int_mask &= ~SDMMC_INT_SDIO(slot->sdio_id);
slot             1662 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1663 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot             1665 drivers/mmc/host/dw_mmc.c 	__dw_mci_enable_sdio_irq(slot, enb);
slot             1676 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1678 drivers/mmc/host/dw_mmc.c 	__dw_mci_enable_sdio_irq(slot, 1);
slot             1683 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1684 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot             1689 drivers/mmc/host/dw_mmc.c 		err = drv_data->execute_tuning(slot, opcode);
slot             1696 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = mmc_priv(mmc);
slot             1697 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot             1768 drivers/mmc/host/dw_mmc.c 	mci_send_cmd(host->slot, SDMMC_CMD_UPD_CLK, 0);
slot             1794 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot;
slot             1795 drivers/mmc/host/dw_mmc.c 	struct mmc_host	*prev_mmc = host->slot->mmc;
slot             1799 drivers/mmc/host/dw_mmc.c 	host->slot->mrq = NULL;
slot             1802 drivers/mmc/host/dw_mmc.c 		slot = list_entry(host->queue.next,
slot             1804 drivers/mmc/host/dw_mmc.c 		list_del(&slot->queue_node);
slot             1806 drivers/mmc/host/dw_mmc.c 			 mmc_hostname(slot->mmc));
slot             1808 drivers/mmc/host/dw_mmc.c 		dw_mci_start_request(host, slot);
slot             1988 drivers/mmc/host/dw_mmc.c 				__dw_mci_start_request(host, host->slot,
slot             2606 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = host->slot;
slot             2608 drivers/mmc/host/dw_mmc.c 	if (slot->mmc->ops->card_event)
slot             2609 drivers/mmc/host/dw_mmc.c 		slot->mmc->ops->card_event(slot->mmc);
slot             2610 drivers/mmc/host/dw_mmc.c 	mmc_detect_change(slot->mmc,
slot             2618 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot = host->slot;
slot             2707 drivers/mmc/host/dw_mmc.c 		if (pending & SDMMC_INT_SDIO(slot->sdio_id)) {
slot             2709 drivers/mmc/host/dw_mmc.c 				   SDMMC_INT_SDIO(slot->sdio_id));
slot             2710 drivers/mmc/host/dw_mmc.c 			__dw_mci_enable_sdio_irq(slot, 0);
slot             2711 drivers/mmc/host/dw_mmc.c 			sdio_signal_irq(slot->mmc);
slot             2743 drivers/mmc/host/dw_mmc.c static int dw_mci_init_slot_caps(struct dw_mci_slot *slot)
slot             2745 drivers/mmc/host/dw_mmc.c 	struct dw_mci *host = slot->host;
slot             2747 drivers/mmc/host/dw_mmc.c 	struct mmc_host *mmc = slot->mmc;
slot             2796 drivers/mmc/host/dw_mmc.c 	struct dw_mci_slot *slot;
slot             2803 drivers/mmc/host/dw_mmc.c 	slot = mmc_priv(mmc);
slot             2804 drivers/mmc/host/dw_mmc.c 	slot->id = 0;
slot             2805 drivers/mmc/host/dw_mmc.c 	slot->sdio_id = host->sdio_id0 + slot->id;
slot             2806 drivers/mmc/host/dw_mmc.c 	slot->mmc = mmc;
slot             2807 drivers/mmc/host/dw_mmc.c 	slot->host = host;
slot             2808 drivers/mmc/host/dw_mmc.c 	host->slot = slot;
slot             2824 drivers/mmc/host/dw_mmc.c 	ret = dw_mci_init_slot_caps(slot);
slot             2859 drivers/mmc/host/dw_mmc.c 	dw_mci_init_debugfs(slot);
slot             2869 drivers/mmc/host/dw_mmc.c static void dw_mci_cleanup_slot(struct dw_mci_slot *slot)
slot             2872 drivers/mmc/host/dw_mmc.c 	mmc_remove_host(slot->mmc);
slot             2873 drivers/mmc/host/dw_mmc.c 	slot->host->slot = NULL;
slot             2874 drivers/mmc/host/dw_mmc.c 	mmc_free_host(slot->mmc);
slot             3149 drivers/mmc/host/dw_mmc.c 	if (host->slot->mmc->caps & MMC_CAP_NEEDS_POLL)
slot             3152 drivers/mmc/host/dw_mmc.c 	if (mmc_gpio_get_cd(host->slot->mmc) < 0) {
slot             3372 drivers/mmc/host/dw_mmc.c 	if (host->slot)
slot             3373 drivers/mmc/host/dw_mmc.c 		dw_mci_cleanup_slot(host->slot);
slot             3405 drivers/mmc/host/dw_mmc.c 	if (host->slot &&
slot             3406 drivers/mmc/host/dw_mmc.c 	    (mmc_can_gpio_cd(host->slot->mmc) ||
slot             3407 drivers/mmc/host/dw_mmc.c 	     !mmc_card_is_removable(host->slot->mmc)))
slot             3419 drivers/mmc/host/dw_mmc.c 	if (host->slot &&
slot             3420 drivers/mmc/host/dw_mmc.c 	    (mmc_can_gpio_cd(host->slot->mmc) ||
slot             3421 drivers/mmc/host/dw_mmc.c 	     !mmc_card_is_removable(host->slot->mmc))) {
slot             3457 drivers/mmc/host/dw_mmc.c 	if (host->slot->mmc->pm_flags & MMC_PM_KEEP_POWER)
slot             3458 drivers/mmc/host/dw_mmc.c 		dw_mci_set_ios(host->slot->mmc, &host->slot->mmc->ios);
slot             3461 drivers/mmc/host/dw_mmc.c 	dw_mci_setup_bus(host->slot, true);
slot             3464 drivers/mmc/host/dw_mmc.c 	if (sdio_irq_claimed(host->slot->mmc))
slot             3465 drivers/mmc/host/dw_mmc.c 		__dw_mci_enable_sdio_irq(host->slot, 1);
slot             3473 drivers/mmc/host/dw_mmc.c 	if (host->slot &&
slot             3474 drivers/mmc/host/dw_mmc.c 	    (mmc_can_gpio_cd(host->slot->mmc) ||
slot             3475 drivers/mmc/host/dw_mmc.c 	     !mmc_card_is_removable(host->slot->mmc)))
slot              209 drivers/mmc/host/dw_mmc.h 	struct dw_mci_slot	*slot;
slot              561 drivers/mmc/host/dw_mmc.h 	int		(*execute_tuning)(struct dw_mci_slot *slot, u32 opcode);
slot              172 drivers/mmc/host/omap.c static void mmc_omap_fclk_offdelay(struct mmc_omap_slot *slot)
slot              176 drivers/mmc/host/omap.c 	if (slot != NULL && slot->host->fclk_enabled && slot->fclk_freq > 0) {
slot              177 drivers/mmc/host/omap.c 		tick_ns = DIV_ROUND_UP(NSEC_PER_SEC, slot->fclk_freq);
slot              197 drivers/mmc/host/omap.c static void mmc_omap_select_slot(struct mmc_omap_slot *slot, int claimed)
slot              199 drivers/mmc/host/omap.c 	struct mmc_omap_host *host = slot->host;
slot              210 drivers/mmc/host/omap.c 	host->mmc = slot->mmc;
slot              214 drivers/mmc/host/omap.c 	if (host->current_slot != slot || !claimed)
slot              217 drivers/mmc/host/omap.c 	if (host->current_slot != slot) {
slot              218 drivers/mmc/host/omap.c 		OMAP_MMC_WRITE(host, CON, slot->saved_con & 0xFC00);
slot              220 drivers/mmc/host/omap.c 			host->pdata->switch_slot(mmc_dev(slot->mmc), slot->id);
slot              221 drivers/mmc/host/omap.c 		host->current_slot = slot;
slot              232 drivers/mmc/host/omap.c 		OMAP_MMC_WRITE(host, CON, slot->saved_con);
slot              255 drivers/mmc/host/omap.c static void mmc_omap_release_slot(struct mmc_omap_slot *slot, int clk_enabled)
slot              257 drivers/mmc/host/omap.c 	struct mmc_omap_host *host = slot->host;
slot              261 drivers/mmc/host/omap.c 	BUG_ON(slot == NULL || host->mmc == NULL);
slot              268 drivers/mmc/host/omap.c 		mmc_omap_fclk_offdelay(slot);
slot              298 drivers/mmc/host/omap.c int mmc_omap_cover_is_open(struct mmc_omap_slot *slot)
slot              300 drivers/mmc/host/omap.c 	if (slot->pdata->get_cover_state)
slot              301 drivers/mmc/host/omap.c 		return slot->pdata->get_cover_state(mmc_dev(slot->mmc),
slot              302 drivers/mmc/host/omap.c 						    slot->id);
slot              311 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = mmc_priv(mmc);
slot              313 drivers/mmc/host/omap.c 	return sprintf(buf, "%s\n", mmc_omap_cover_is_open(slot) ? "open" :
slot              324 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = mmc_priv(mmc);
slot              326 drivers/mmc/host/omap.c 	return sprintf(buf, "%s\n", slot->pdata->name);
slot              431 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = host->current_slot;
slot              435 drivers/mmc/host/omap.c 	tick_ns = DIV_ROUND_UP(NSEC_PER_SEC, slot->fclk_freq);
slot              472 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = host->current_slot;
slot              477 drivers/mmc/host/omap.c 	timeout = DIV_ROUND_UP(120 * USEC_PER_SEC, slot->fclk_freq);
slot              790 drivers/mmc/host/omap.c 				struct mmc_omap_slot *slot =
slot              792 drivers/mmc/host/omap.c 				if (slot == NULL ||
slot              793 drivers/mmc/host/omap.c 				    !mmc_omap_cover_is_open(slot))
slot              858 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = host->slots[num];
slot              866 drivers/mmc/host/omap.c 	cover_open = mmc_omap_cover_is_open(slot);
slot              867 drivers/mmc/host/omap.c 	if (cover_open != slot->cover_open) {
slot              868 drivers/mmc/host/omap.c 		slot->cover_open = cover_open;
slot              869 drivers/mmc/host/omap.c 		sysfs_notify(&slot->mmc->class_dev.kobj, NULL, "cover_switch");
slot              872 drivers/mmc/host/omap.c 	tasklet_hi_schedule(&slot->cover_tasklet);
slot              877 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = from_timer(slot, t, cover_timer);
slot              878 drivers/mmc/host/omap.c 	tasklet_schedule(&slot->cover_tasklet);
slot              883 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = (struct mmc_omap_slot *)param;
slot              884 drivers/mmc/host/omap.c 	int cover_open = mmc_omap_cover_is_open(slot);
slot              886 drivers/mmc/host/omap.c 	mmc_detect_change(slot->mmc, 0);
slot              894 drivers/mmc/host/omap.c 	if (slot->mmc->card == NULL)
slot              897 drivers/mmc/host/omap.c 	mod_timer(&slot->cover_timer,
slot             1085 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = mmc_priv(mmc);
slot             1086 drivers/mmc/host/omap.c 	struct mmc_omap_host *host = slot->host;
slot             1091 drivers/mmc/host/omap.c 		BUG_ON(slot->mrq != NULL);
slot             1092 drivers/mmc/host/omap.c 		slot->mrq = req;
slot             1098 drivers/mmc/host/omap.c 	mmc_omap_select_slot(slot, 1);
slot             1102 drivers/mmc/host/omap.c static void mmc_omap_set_power(struct mmc_omap_slot *slot, int power_on,
slot             1107 drivers/mmc/host/omap.c 	host = slot->host;
slot             1109 drivers/mmc/host/omap.c 	if (slot->pdata->set_power != NULL)
slot             1110 drivers/mmc/host/omap.c 		slot->pdata->set_power(mmc_dev(slot->mmc), slot->id, power_on,
slot             1127 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = mmc_priv(mmc);
slot             1128 drivers/mmc/host/omap.c 	struct mmc_omap_host *host = slot->host;
slot             1145 drivers/mmc/host/omap.c 	slot->fclk_freq = func_clk_rate / dsor;
slot             1155 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = mmc_priv(mmc);
slot             1156 drivers/mmc/host/omap.c 	struct mmc_omap_host *host = slot->host;
slot             1160 drivers/mmc/host/omap.c 	mmc_omap_select_slot(slot, 0);
slot             1164 drivers/mmc/host/omap.c 	if (ios->vdd != slot->vdd)
slot             1165 drivers/mmc/host/omap.c 		slot->vdd = ios->vdd;
slot             1171 drivers/mmc/host/omap.c 		mmc_omap_set_power(slot, 0, ios->vdd);
slot             1175 drivers/mmc/host/omap.c 		mmc_omap_set_power(slot, 1, ios->vdd);
slot             1176 drivers/mmc/host/omap.c 		slot->power_mode = ios->power_mode;
slot             1182 drivers/mmc/host/omap.c 		if (slot->power_mode != MMC_POWER_ON)
slot             1186 drivers/mmc/host/omap.c 	slot->power_mode = ios->power_mode;
slot             1188 drivers/mmc/host/omap.c 	if (slot->bus_mode != ios->bus_mode) {
slot             1189 drivers/mmc/host/omap.c 		if (slot->pdata->set_bus_mode != NULL)
slot             1190 drivers/mmc/host/omap.c 			slot->pdata->set_bus_mode(mmc_dev(mmc), slot->id,
slot             1192 drivers/mmc/host/omap.c 		slot->bus_mode = ios->bus_mode;
slot             1201 drivers/mmc/host/omap.c 	slot->saved_con = dsor;
slot             1218 drivers/mmc/host/omap.c 	mmc_omap_release_slot(slot, clk_enabled);
slot             1228 drivers/mmc/host/omap.c 	struct mmc_omap_slot *slot = NULL;
slot             1236 drivers/mmc/host/omap.c 	slot = mmc_priv(mmc);
slot             1237 drivers/mmc/host/omap.c 	slot->host = host;
slot             1238 drivers/mmc/host/omap.c 	slot->mmc = mmc;
slot             1239 drivers/mmc/host/omap.c 	slot->id = id;
slot             1240 drivers/mmc/host/omap.c 	slot->power_mode = MMC_POWER_UNDEFINED;
slot             1241 drivers/mmc/host/omap.c 	slot->pdata = &host->pdata->slots[id];
slot             1243 drivers/mmc/host/omap.c 	host->slots[id] = slot;
slot             1258 drivers/mmc/host/omap.c 	mmc->ocr_avail = slot->pdata->ocr_mask;
slot             1270 drivers/mmc/host/omap.c 	if (slot->pdata->get_cover_state != NULL) {
slot             1271 drivers/mmc/host/omap.c 		timer_setup(&slot->cover_timer, mmc_omap_cover_timer, 0);
slot             1272 drivers/mmc/host/omap.c 		tasklet_init(&slot->cover_tasklet, mmc_omap_cover_handler,
slot             1273 drivers/mmc/host/omap.c 			     (unsigned long)slot);
slot             1280 drivers/mmc/host/omap.c 	if (slot->pdata->name != NULL) {
slot             1287 drivers/mmc/host/omap.c 	if (slot->pdata->get_cover_state != NULL) {
slot             1292 drivers/mmc/host/omap.c 		tasklet_schedule(&slot->cover_tasklet);
slot             1298 drivers/mmc/host/omap.c 	if (slot->pdata->name != NULL)
slot             1306 drivers/mmc/host/omap.c static void mmc_omap_remove_slot(struct mmc_omap_slot *slot)
slot             1308 drivers/mmc/host/omap.c 	struct mmc_host *mmc = slot->mmc;
slot             1310 drivers/mmc/host/omap.c 	if (slot->pdata->name != NULL)
slot             1312 drivers/mmc/host/omap.c 	if (slot->pdata->get_cover_state != NULL)
slot             1315 drivers/mmc/host/omap.c 	tasklet_kill(&slot->cover_tasklet);
slot             1316 drivers/mmc/host/omap.c 	del_timer_sync(&slot->cover_timer);
slot             1317 drivers/mmc/host/omap.c 	flush_workqueue(slot->host->mmc_omap_wq);
slot               72 drivers/mmc/host/sdhci-acpi.c 	const struct sdhci_acpi_slot	*slot;
slot               85 drivers/mmc/host/sdhci-acpi.c 	return c->slot && (c->slot->flags & flag);
slot              299 drivers/mmc/host/sdhci-acpi.c 				    unsigned int slot, unsigned int parent_slot)
slot              309 drivers/mmc/host/sdhci-acpi.c 		if (ACPI_COMPANION(&dev->dev) && PCI_SLOT(dev->devfn) == slot &&
slot              617 drivers/mmc/host/sdhci-acpi.c 	const struct sdhci_acpi_slot *slot;
slot              668 drivers/mmc/host/sdhci-acpi.c 			return u->slot;
slot              670 drivers/mmc/host/sdhci-acpi.c 			return u->slot;
slot              678 drivers/mmc/host/sdhci-acpi.c 	const struct sdhci_acpi_slot *slot;
slot              696 drivers/mmc/host/sdhci-acpi.c 	slot = sdhci_acpi_get_slot(hid, uid);
slot              720 drivers/mmc/host/sdhci-acpi.c 	priv_size = slot ? slot->priv_size : 0;
slot              727 drivers/mmc/host/sdhci-acpi.c 	c->slot = slot;
slot              748 drivers/mmc/host/sdhci-acpi.c 	if (c->slot) {
slot              749 drivers/mmc/host/sdhci-acpi.c 		if (c->slot->probe_slot) {
slot              750 drivers/mmc/host/sdhci-acpi.c 			err = c->slot->probe_slot(pdev, hid, uid);
slot              754 drivers/mmc/host/sdhci-acpi.c 		if (c->slot->chip) {
slot              755 drivers/mmc/host/sdhci-acpi.c 			host->ops            = c->slot->chip->ops;
slot              756 drivers/mmc/host/sdhci-acpi.c 			host->quirks        |= c->slot->chip->quirks;
slot              757 drivers/mmc/host/sdhci-acpi.c 			host->quirks2       |= c->slot->chip->quirks2;
slot              758 drivers/mmc/host/sdhci-acpi.c 			host->mmc->caps     |= c->slot->chip->caps;
slot              759 drivers/mmc/host/sdhci-acpi.c 			host->mmc->caps2    |= c->slot->chip->caps2;
slot              760 drivers/mmc/host/sdhci-acpi.c 			host->mmc->pm_caps  |= c->slot->chip->pm_caps;
slot              762 drivers/mmc/host/sdhci-acpi.c 		host->quirks        |= c->slot->quirks;
slot              763 drivers/mmc/host/sdhci-acpi.c 		host->quirks2       |= c->slot->quirks2;
slot              764 drivers/mmc/host/sdhci-acpi.c 		host->mmc->caps     |= c->slot->caps;
slot              765 drivers/mmc/host/sdhci-acpi.c 		host->mmc->caps2    |= c->slot->caps2;
slot              766 drivers/mmc/host/sdhci-acpi.c 		host->mmc->pm_caps  |= c->slot->pm_caps;
slot              787 drivers/mmc/host/sdhci-acpi.c 	if (c->slot && c->slot->setup_host) {
slot              788 drivers/mmc/host/sdhci-acpi.c 		err = c->slot->setup_host(pdev);
slot              812 drivers/mmc/host/sdhci-acpi.c 	if (c->slot && c->slot->free_slot)
slot              813 drivers/mmc/host/sdhci-acpi.c 		c->slot->free_slot(pdev);
slot              831 drivers/mmc/host/sdhci-acpi.c 	if (c->slot && c->slot->remove_slot)
slot              832 drivers/mmc/host/sdhci-acpi.c 		c->slot->remove_slot(pdev);
slot              837 drivers/mmc/host/sdhci-acpi.c 	if (c->slot && c->slot->free_slot)
slot              838 drivers/mmc/host/sdhci-acpi.c 		c->slot->free_slot(pdev);
slot              152 drivers/mmc/host/sdhci-of-aspeed.c 	int slot;
slot              164 drivers/mmc/host/sdhci-of-aspeed.c 	slot = aspeed_sdhci_calculate_slot(dev, res);
slot              166 drivers/mmc/host/sdhci-of-aspeed.c 	if (slot < 0)
slot              167 drivers/mmc/host/sdhci-of-aspeed.c 		return slot;
slot              168 drivers/mmc/host/sdhci-of-aspeed.c 	else if (slot >= 2)
slot              171 drivers/mmc/host/sdhci-of-aspeed.c 	dev_info(&pdev->dev, "Configuring for slot %d\n", slot);
slot              172 drivers/mmc/host/sdhci-of-aspeed.c 	dev->width_mask = !slot ? ASPEED_SDC_S0MMC8 : ASPEED_SDC_S1MMC8;
slot              246 drivers/mmc/host/sdhci-pci-arasan.c 	struct sdhci_pci_slot *slot = sdhci_priv(host);
slot              247 drivers/mmc/host/sdhci-pci-arasan.c 	struct arasan_host *arasan_host = sdhci_pci_priv(slot);
slot              300 drivers/mmc/host/sdhci-pci-arasan.c static int arasan_pci_probe_slot(struct sdhci_pci_slot *slot)
slot              304 drivers/mmc/host/sdhci-pci-arasan.c 	slot->host->mmc->caps |= MMC_CAP_NONREMOVABLE | MMC_CAP_8_BIT_DATA;
slot              305 drivers/mmc/host/sdhci-pci-arasan.c 	err = arasan_phy_init(slot->host);
slot               51 drivers/mmc/host/sdhci-pci-core.c 		struct sdhci_pci_slot *slot = chip->slots[i];
slot               53 drivers/mmc/host/sdhci-pci-core.c 		if (slot) {
slot               54 drivers/mmc/host/sdhci-pci-core.c 			pm_flags |= slot->host->mmc->pm_flags;
slot               55 drivers/mmc/host/sdhci-pci-core.c 			if (slot->host->mmc->caps & MMC_CAP_CD_WAKE)
slot               75 drivers/mmc/host/sdhci-pci-core.c 		struct sdhci_pci_slot *slot = chip->slots[i];
slot               78 drivers/mmc/host/sdhci-pci-core.c 		if (!slot)
slot               81 drivers/mmc/host/sdhci-pci-core.c 		host = slot->host;
slot              104 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot;
slot              108 drivers/mmc/host/sdhci-pci-core.c 		slot = chip->slots[i];
slot              109 drivers/mmc/host/sdhci-pci-core.c 		if (!slot)
slot              112 drivers/mmc/host/sdhci-pci-core.c 		ret = sdhci_resume_host(slot->host);
slot              116 drivers/mmc/host/sdhci-pci-core.c 		mmc_gpio_set_cd_wake(slot->host->mmc, false);
slot              148 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot;
slot              153 drivers/mmc/host/sdhci-pci-core.c 		slot = chip->slots[i];
slot              154 drivers/mmc/host/sdhci-pci-core.c 		if (!slot)
slot              157 drivers/mmc/host/sdhci-pci-core.c 		host = slot->host;
slot              178 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot;
slot              182 drivers/mmc/host/sdhci-pci-core.c 		slot = chip->slots[i];
slot              183 drivers/mmc/host/sdhci-pci-core.c 		if (!slot)
slot              186 drivers/mmc/host/sdhci-pci-core.c 		ret = sdhci_runtime_resume_host(slot->host, 0);
slot              249 drivers/mmc/host/sdhci-pci-core.c static int ricoh_mmc_probe_slot(struct sdhci_pci_slot *slot)
slot              251 drivers/mmc/host/sdhci-pci-core.c 	slot->host->caps =
slot              316 drivers/mmc/host/sdhci-pci-core.c static int mrst_hc_probe_slot(struct sdhci_pci_slot *slot)
slot              318 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA;
slot              336 drivers/mmc/host/sdhci-pci-core.c static int pch_hc_probe_slot(struct sdhci_pci_slot *slot)
slot              338 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA;
slot              346 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot = dev_id;
slot              347 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_host *host = slot->host;
slot              353 drivers/mmc/host/sdhci-pci-core.c static void sdhci_pci_add_own_cd(struct sdhci_pci_slot *slot)
slot              355 drivers/mmc/host/sdhci-pci-core.c 	int err, irq, gpio = slot->cd_gpio;
slot              357 drivers/mmc/host/sdhci-pci-core.c 	slot->cd_gpio = -EINVAL;
slot              358 drivers/mmc/host/sdhci-pci-core.c 	slot->cd_irq = -EINVAL;
slot              363 drivers/mmc/host/sdhci-pci-core.c 	err = devm_gpio_request(&slot->chip->pdev->dev, gpio, "sd_cd");
slot              376 drivers/mmc/host/sdhci-pci-core.c 			  IRQF_TRIGGER_FALLING, "sd_cd", slot);
slot              380 drivers/mmc/host/sdhci-pci-core.c 	slot->cd_gpio = gpio;
slot              381 drivers/mmc/host/sdhci-pci-core.c 	slot->cd_irq = irq;
slot              386 drivers/mmc/host/sdhci-pci-core.c 	devm_gpio_free(&slot->chip->pdev->dev, gpio);
slot              388 drivers/mmc/host/sdhci-pci-core.c 	dev_warn(&slot->chip->pdev->dev, "failed to setup card detect wake up\n");
slot              391 drivers/mmc/host/sdhci-pci-core.c static void sdhci_pci_remove_own_cd(struct sdhci_pci_slot *slot)
slot              393 drivers/mmc/host/sdhci-pci-core.c 	if (slot->cd_irq >= 0)
slot              394 drivers/mmc/host/sdhci-pci-core.c 		free_irq(slot->cd_irq, slot);
slot              399 drivers/mmc/host/sdhci-pci-core.c static inline void sdhci_pci_add_own_cd(struct sdhci_pci_slot *slot)
slot              403 drivers/mmc/host/sdhci-pci-core.c static inline void sdhci_pci_remove_own_cd(struct sdhci_pci_slot *slot)
slot              409 drivers/mmc/host/sdhci-pci-core.c static int mfd_emmc_probe_slot(struct sdhci_pci_slot *slot)
slot              411 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE;
slot              412 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC;
slot              416 drivers/mmc/host/sdhci-pci-core.c static int mfd_sdio_probe_slot(struct sdhci_pci_slot *slot)
slot              418 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_NONREMOVABLE;
slot              601 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot = sdhci_priv(host);
slot              602 drivers/mmc/host/sdhci-pci-core.c 	struct intel_host *intel_host = sdhci_pci_priv(slot);
slot              682 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot = sdhci_priv(host);
slot              683 drivers/mmc/host/sdhci-pci-core.c 	struct intel_host *intel_host = sdhci_pci_priv(slot);
slot              731 drivers/mmc/host/sdhci-pci-core.c static void byt_read_dsm(struct sdhci_pci_slot *slot)
slot              733 drivers/mmc/host/sdhci-pci-core.c 	struct intel_host *intel_host = sdhci_pci_priv(slot);
slot              734 drivers/mmc/host/sdhci-pci-core.c 	struct device *dev = &slot->chip->pdev->dev;
slot              735 drivers/mmc/host/sdhci-pci-core.c 	struct mmc_host *mmc = slot->host->mmc;
slot              738 drivers/mmc/host/sdhci-pci-core.c 	slot->chip->rpm_retune = intel_host->d3_retune;
slot              759 drivers/mmc/host/sdhci-pci-core.c static void byt_probe_slot(struct sdhci_pci_slot *slot)
slot              761 drivers/mmc/host/sdhci-pci-core.c 	struct mmc_host_ops *ops = &slot->host->mmc_host_ops;
slot              762 drivers/mmc/host/sdhci-pci-core.c 	struct device *dev = &slot->chip->pdev->dev;
slot              763 drivers/mmc/host/sdhci-pci-core.c 	struct mmc_host *mmc = slot->host->mmc;
slot              765 drivers/mmc/host/sdhci-pci-core.c 	byt_read_dsm(slot);
slot              767 drivers/mmc/host/sdhci-pci-core.c 	byt_ocp_setting(slot->chip->pdev);
slot              775 drivers/mmc/host/sdhci-pci-core.c static int byt_emmc_probe_slot(struct sdhci_pci_slot *slot)
slot              777 drivers/mmc/host/sdhci-pci-core.c 	byt_probe_slot(slot);
slot              778 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE |
slot              782 drivers/mmc/host/sdhci-pci-core.c 	slot->hw_reset = sdhci_pci_int_hw_reset;
slot              783 drivers/mmc/host/sdhci-pci-core.c 	if (slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_BSW_EMMC)
slot              784 drivers/mmc/host/sdhci-pci-core.c 		slot->host->timeout_clk = 1000; /* 1000 kHz i.e. 1 MHz */
slot              785 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc_host_ops.select_drive_strength =
slot              790 drivers/mmc/host/sdhci-pci-core.c static bool glk_broken_cqhci(struct sdhci_pci_slot *slot)
slot              792 drivers/mmc/host/sdhci-pci-core.c 	return slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_GLK_EMMC &&
slot              796 drivers/mmc/host/sdhci-pci-core.c static int glk_emmc_probe_slot(struct sdhci_pci_slot *slot)
slot              798 drivers/mmc/host/sdhci-pci-core.c 	int ret = byt_emmc_probe_slot(slot);
slot              800 drivers/mmc/host/sdhci-pci-core.c 	if (!glk_broken_cqhci(slot))
slot              801 drivers/mmc/host/sdhci-pci-core.c 		slot->host->mmc->caps2 |= MMC_CAP2_CQE;
slot              803 drivers/mmc/host/sdhci-pci-core.c 	if (slot->chip->pdev->device != PCI_DEVICE_ID_INTEL_GLK_EMMC) {
slot              804 drivers/mmc/host/sdhci-pci-core.c 		slot->host->mmc->caps2 |= MMC_CAP2_HS400_ES,
slot              805 drivers/mmc/host/sdhci-pci-core.c 		slot->host->mmc_host_ops.hs400_enhanced_strobe =
slot              807 drivers/mmc/host/sdhci-pci-core.c 		slot->host->mmc->caps2 |= MMC_CAP2_CQE_DCMD;
slot              819 drivers/mmc/host/sdhci-pci-core.c static int glk_emmc_add_host(struct sdhci_pci_slot *slot)
slot              821 drivers/mmc/host/sdhci-pci-core.c 	struct device *dev = &slot->chip->pdev->dev;
slot              822 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_host *host = slot->host;
slot              868 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot = chip->slots[0];
slot              869 drivers/mmc/host/sdhci-pci-core.c 	struct intel_host *intel_host = sdhci_pci_priv(slot);
slot              870 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_host *host = slot->host;
slot              932 drivers/mmc/host/sdhci-pci-core.c static int ni_set_max_freq(struct sdhci_pci_slot *slot)
slot              937 drivers/mmc/host/sdhci-pci-core.c 	status = acpi_evaluate_integer(ACPI_HANDLE(&slot->chip->pdev->dev),
slot              940 drivers/mmc/host/sdhci-pci-core.c 		dev_err(&slot->chip->pdev->dev,
slot              945 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->f_max = max_freq * 1000000;
slot              950 drivers/mmc/host/sdhci-pci-core.c static inline int ni_set_max_freq(struct sdhci_pci_slot *slot)
slot              956 drivers/mmc/host/sdhci-pci-core.c static int ni_byt_sdio_probe_slot(struct sdhci_pci_slot *slot)
slot              960 drivers/mmc/host/sdhci-pci-core.c 	byt_probe_slot(slot);
slot              962 drivers/mmc/host/sdhci-pci-core.c 	err = ni_set_max_freq(slot);
slot              966 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_NONREMOVABLE |
slot              971 drivers/mmc/host/sdhci-pci-core.c static int byt_sdio_probe_slot(struct sdhci_pci_slot *slot)
slot              973 drivers/mmc/host/sdhci-pci-core.c 	byt_probe_slot(slot);
slot              974 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_NONREMOVABLE |
slot              979 drivers/mmc/host/sdhci-pci-core.c static int byt_sd_probe_slot(struct sdhci_pci_slot *slot)
slot              981 drivers/mmc/host/sdhci-pci-core.c 	byt_probe_slot(slot);
slot              982 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY |
slot              984 drivers/mmc/host/sdhci-pci-core.c 	slot->cd_idx = 0;
slot              985 drivers/mmc/host/sdhci-pci-core.c 	slot->cd_override_level = true;
slot              986 drivers/mmc/host/sdhci-pci-core.c 	if (slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_BXT_SD ||
slot              987 drivers/mmc/host/sdhci-pci-core.c 	    slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_BXTM_SD ||
slot              988 drivers/mmc/host/sdhci-pci-core.c 	    slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_APL_SD ||
slot              989 drivers/mmc/host/sdhci-pci-core.c 	    slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_GLK_SD)
slot              990 drivers/mmc/host/sdhci-pci-core.c 		slot->host->mmc_host_ops.get_cd = bxt_get_cd;
slot              992 drivers/mmc/host/sdhci-pci-core.c 	if (slot->chip->pdev->subsystem_vendor == PCI_VENDOR_ID_NI &&
slot              993 drivers/mmc/host/sdhci-pci-core.c 	    slot->chip->pdev->subsystem_device == PCI_SUBDEVICE_ID_NI_78E3)
slot              994 drivers/mmc/host/sdhci-pci-core.c 		slot->host->mmc->caps2 |= MMC_CAP2_AVOID_3_3V;
slot             1120 drivers/mmc/host/sdhci-pci-core.c static void intel_mrfld_mmc_fix_up_power_slot(struct sdhci_pci_slot *slot)
slot             1124 drivers/mmc/host/sdhci-pci-core.c 	device = ACPI_COMPANION(&slot->chip->pdev->dev);
slot             1134 drivers/mmc/host/sdhci-pci-core.c static inline void intel_mrfld_mmc_fix_up_power_slot(struct sdhci_pci_slot *slot) {}
slot             1137 drivers/mmc/host/sdhci-pci-core.c static int intel_mrfld_mmc_probe_slot(struct sdhci_pci_slot *slot)
slot             1139 drivers/mmc/host/sdhci-pci-core.c 	unsigned int func = PCI_FUNC(slot->chip->pdev->devfn);
slot             1144 drivers/mmc/host/sdhci-pci-core.c 		slot->host->mmc->caps |= MMC_CAP_NONREMOVABLE |
slot             1149 drivers/mmc/host/sdhci-pci-core.c 		slot->host->quirks2 |= SDHCI_QUIRK2_NO_1_8_V;
slot             1153 drivers/mmc/host/sdhci-pci-core.c 		slot->host->ocr_mask = MMC_VDD_20_21 | MMC_VDD_165_195;
slot             1154 drivers/mmc/host/sdhci-pci-core.c 		slot->host->mmc->caps |= MMC_CAP_NONREMOVABLE |
slot             1161 drivers/mmc/host/sdhci-pci-core.c 	intel_mrfld_mmc_fix_up_power_slot(slot);
slot             1276 drivers/mmc/host/sdhci-pci-core.c static int jmicron_probe_slot(struct sdhci_pci_slot *slot)
slot             1278 drivers/mmc/host/sdhci-pci-core.c 	if (slot->chip->pdev->revision == 0) {
slot             1281 drivers/mmc/host/sdhci-pci-core.c 		version = readl(slot->host->ioaddr + SDHCI_HOST_VERSION);
slot             1291 drivers/mmc/host/sdhci-pci-core.c 			slot->host->quirks |= SDHCI_QUIRK_BROKEN_ADMA;
slot             1295 drivers/mmc/host/sdhci-pci-core.c 	if (slot->chip->pdev->device == PCI_DEVICE_ID_JMICRON_JMB388_ESD) {
slot             1296 drivers/mmc/host/sdhci-pci-core.c 		slot->host->ocr_avail_sd = MMC_VDD_32_33 | MMC_VDD_33_34 |
slot             1299 drivers/mmc/host/sdhci-pci-core.c 		slot->host->ocr_avail_mmc = MMC_VDD_32_33 | MMC_VDD_33_34 |
slot             1307 drivers/mmc/host/sdhci-pci-core.c 	if (slot->chip->pdev->device == PCI_DEVICE_ID_JMICRON_JMB38X_MMC ||
slot             1308 drivers/mmc/host/sdhci-pci-core.c 	    slot->chip->pdev->device == PCI_DEVICE_ID_JMICRON_JMB388_ESD)
slot             1309 drivers/mmc/host/sdhci-pci-core.c 		jmicron_enable_mmc(slot->host, 1);
slot             1311 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps |= MMC_CAP_BUS_WIDTH_TEST;
slot             1316 drivers/mmc/host/sdhci-pci-core.c static void jmicron_remove_slot(struct sdhci_pci_slot *slot, int dead)
slot             1321 drivers/mmc/host/sdhci-pci-core.c 	if (slot->chip->pdev->device == PCI_DEVICE_ID_JMICRON_JMB38X_MMC ||
slot             1322 drivers/mmc/host/sdhci-pci-core.c 	    slot->chip->pdev->device == PCI_DEVICE_ID_JMICRON_JMB388_ESD)
slot             1323 drivers/mmc/host/sdhci-pci-core.c 		jmicron_enable_mmc(slot->host, 0);
slot             1404 drivers/mmc/host/sdhci-pci-core.c static int syskt_probe_slot(struct sdhci_pci_slot *slot)
slot             1408 drivers/mmc/host/sdhci-pci-core.c 	u8 board_rev = readb(slot->host->ioaddr + SYSKT_BOARD_REV);
slot             1409 drivers/mmc/host/sdhci-pci-core.c 	u8  chip_rev = readb(slot->host->ioaddr + SYSKT_CHIP_REV);
slot             1410 drivers/mmc/host/sdhci-pci-core.c 	dev_info(&slot->chip->pdev->dev, "SysKonnect CardBus2SDIO, "
slot             1415 drivers/mmc/host/sdhci-pci-core.c 		slot->host->quirks |= SDHCI_QUIRK_FORCE_DMA;
slot             1417 drivers/mmc/host/sdhci-pci-core.c 	writeb(SYSKT_POWER_330, slot->host->ioaddr + SYSKT_POWER_DATA);
slot             1418 drivers/mmc/host/sdhci-pci-core.c 	writeb(SYSKT_POWER_START, slot->host->ioaddr + SYSKT_POWER_CMD);
slot             1422 drivers/mmc/host/sdhci-pci-core.c 		ps = readw(slot->host->ioaddr + SYSKT_POWER_STATUS);
slot             1428 drivers/mmc/host/sdhci-pci-core.c 		dev_err(&slot->chip->pdev->dev,
slot             1430 drivers/mmc/host/sdhci-pci-core.c 		writeb(0, slot->host->ioaddr + SYSKT_POWER_CMD);
slot             1455 drivers/mmc/host/sdhci-pci-core.c static int rtsx_probe_slot(struct sdhci_pci_slot *slot)
slot             1457 drivers/mmc/host/sdhci-pci-core.c 	slot->host->mmc->caps2 |= MMC_CAP2_HS200;
slot             1519 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot = sdhci_priv(host);
slot             1520 drivers/mmc/host/sdhci-pci-core.c 	struct pci_dev *pdev = slot->chip->pdev;
slot             1568 drivers/mmc/host/sdhci-pci-core.c static int amd_probe_slot(struct sdhci_pci_slot *slot)
slot             1570 drivers/mmc/host/sdhci-pci-core.c 	struct mmc_host_ops *ops = &slot->host->mmc_host_ops;
slot             1612 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot = sdhci_priv(host);
slot             1613 drivers/mmc/host/sdhci-pci-core.c 	struct pci_dev *pdev = slot->chip->pdev;
slot             1768 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot;
slot             1771 drivers/mmc/host/sdhci-pci-core.c 	slot = sdhci_priv(host);
slot             1772 drivers/mmc/host/sdhci-pci-core.c 	pdev = slot->chip->pdev;
slot             1788 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot = sdhci_priv(host);
slot             1789 drivers/mmc/host/sdhci-pci-core.c 	int rst_n_gpio = slot->rst_n_gpio;
slot             1803 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot = sdhci_priv(host);
slot             1805 drivers/mmc/host/sdhci-pci-core.c 	if (slot->hw_reset)
slot             1806 drivers/mmc/host/sdhci-pci-core.c 		slot->hw_reset(host);
slot             1896 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot;
slot             1921 drivers/mmc/host/sdhci-pci-core.c 	host = sdhci_alloc_host(&pdev->dev, sizeof(*slot) + priv_size);
slot             1927 drivers/mmc/host/sdhci-pci-core.c 	slot = sdhci_priv(host);
slot             1929 drivers/mmc/host/sdhci-pci-core.c 	slot->chip = chip;
slot             1930 drivers/mmc/host/sdhci-pci-core.c 	slot->host = host;
slot             1931 drivers/mmc/host/sdhci-pci-core.c 	slot->rst_n_gpio = -EINVAL;
slot             1932 drivers/mmc/host/sdhci-pci-core.c 	slot->cd_gpio = -EINVAL;
slot             1933 drivers/mmc/host/sdhci-pci-core.c 	slot->cd_idx = -1;
slot             1937 drivers/mmc/host/sdhci-pci-core.c 		slot->data = sdhci_pci_get_data(pdev, slotno);
slot             1939 drivers/mmc/host/sdhci-pci-core.c 	if (slot->data) {
slot             1940 drivers/mmc/host/sdhci-pci-core.c 		if (slot->data->setup) {
slot             1941 drivers/mmc/host/sdhci-pci-core.c 			ret = slot->data->setup(slot->data);
slot             1947 drivers/mmc/host/sdhci-pci-core.c 		slot->rst_n_gpio = slot->data->rst_n_gpio;
slot             1948 drivers/mmc/host/sdhci-pci-core.c 		slot->cd_gpio = slot->data->cd_gpio;
slot             1969 drivers/mmc/host/sdhci-pci-core.c 		ret = chip->fixes->probe_slot(slot);
slot             1974 drivers/mmc/host/sdhci-pci-core.c 	if (gpio_is_valid(slot->rst_n_gpio)) {
slot             1975 drivers/mmc/host/sdhci-pci-core.c 		if (!devm_gpio_request(&pdev->dev, slot->rst_n_gpio, "eMMC_reset")) {
slot             1976 drivers/mmc/host/sdhci-pci-core.c 			gpio_direction_output(slot->rst_n_gpio, 1);
slot             1977 drivers/mmc/host/sdhci-pci-core.c 			slot->host->mmc->caps |= MMC_CAP_HW_RESET;
slot             1978 drivers/mmc/host/sdhci-pci-core.c 			slot->hw_reset = sdhci_pci_gpio_hw_reset;
slot             1981 drivers/mmc/host/sdhci-pci-core.c 			slot->rst_n_gpio = -EINVAL;
slot             1995 drivers/mmc/host/sdhci-pci-core.c 	if (slot->cd_idx >= 0) {
slot             1996 drivers/mmc/host/sdhci-pci-core.c 		ret = mmc_gpiod_request_cd(host->mmc, "cd", slot->cd_idx,
slot             1997 drivers/mmc/host/sdhci-pci-core.c 					   slot->cd_override_level, 0, NULL);
slot             2000 drivers/mmc/host/sdhci-pci-core.c 						   slot->cd_idx,
slot             2001 drivers/mmc/host/sdhci-pci-core.c 						   slot->cd_override_level,
slot             2008 drivers/mmc/host/sdhci-pci-core.c 			slot->cd_idx = -1;
slot             2013 drivers/mmc/host/sdhci-pci-core.c 		ret = chip->fixes->add_host(slot);
slot             2019 drivers/mmc/host/sdhci-pci-core.c 	sdhci_pci_add_own_cd(slot);
slot             2027 drivers/mmc/host/sdhci-pci-core.c 	    !gpio_is_valid(slot->cd_gpio) && slot->cd_idx < 0)
slot             2030 drivers/mmc/host/sdhci-pci-core.c 	return slot;
slot             2034 drivers/mmc/host/sdhci-pci-core.c 		chip->fixes->remove_slot(slot, 0);
slot             2037 drivers/mmc/host/sdhci-pci-core.c 	if (slot->data && slot->data->cleanup)
slot             2038 drivers/mmc/host/sdhci-pci-core.c 		slot->data->cleanup(slot->data);
slot             2046 drivers/mmc/host/sdhci-pci-core.c static void sdhci_pci_remove_slot(struct sdhci_pci_slot *slot)
slot             2051 drivers/mmc/host/sdhci-pci-core.c 	sdhci_pci_remove_own_cd(slot);
slot             2054 drivers/mmc/host/sdhci-pci-core.c 	scratch = readl(slot->host->ioaddr + SDHCI_INT_STATUS);
slot             2058 drivers/mmc/host/sdhci-pci-core.c 	sdhci_remove_host(slot->host, dead);
slot             2060 drivers/mmc/host/sdhci-pci-core.c 	if (slot->chip->fixes && slot->chip->fixes->remove_slot)
slot             2061 drivers/mmc/host/sdhci-pci-core.c 		slot->chip->fixes->remove_slot(slot, dead);
slot             2063 drivers/mmc/host/sdhci-pci-core.c 	if (slot->data && slot->data->cleanup)
slot             2064 drivers/mmc/host/sdhci-pci-core.c 		slot->data->cleanup(slot->data);
slot             2066 drivers/mmc/host/sdhci-pci-core.c 	sdhci_free_host(slot->host);
slot             2089 drivers/mmc/host/sdhci-pci-core.c 	struct sdhci_pci_slot *slot;
slot             2150 drivers/mmc/host/sdhci-pci-core.c 		slot = sdhci_pci_probe_slot(pdev, chip, first_bar, i);
slot             2151 drivers/mmc/host/sdhci-pci-core.c 		if (IS_ERR(slot)) {
slot             2154 drivers/mmc/host/sdhci-pci-core.c 			return PTR_ERR(slot);
slot             2157 drivers/mmc/host/sdhci-pci-core.c 		chip->slots[i] = slot;
slot              270 drivers/mmc/host/sdhci-pci-gli.c static void gli_pcie_enable_msi(struct sdhci_pci_slot *slot)
slot              274 drivers/mmc/host/sdhci-pci-gli.c 	ret = pci_alloc_irq_vectors(slot->chip->pdev, 1, 1,
slot              278 drivers/mmc/host/sdhci-pci-gli.c 		       mmc_hostname(slot->host->mmc), ret);
slot              282 drivers/mmc/host/sdhci-pci-gli.c 	slot->host->irq = pci_irq_vector(slot->chip->pdev, 0);
slot              285 drivers/mmc/host/sdhci-pci-gli.c static int gli_probe_slot_gl9750(struct sdhci_pci_slot *slot)
slot              287 drivers/mmc/host/sdhci-pci-gli.c 	struct sdhci_host *host = slot->host;
slot              289 drivers/mmc/host/sdhci-pci-gli.c 	gli_pcie_enable_msi(slot);
slot              290 drivers/mmc/host/sdhci-pci-gli.c 	slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO;
slot              296 drivers/mmc/host/sdhci-pci-gli.c static int gli_probe_slot_gl9755(struct sdhci_pci_slot *slot)
slot              298 drivers/mmc/host/sdhci-pci-gli.c 	struct sdhci_host *host = slot->host;
slot              300 drivers/mmc/host/sdhci-pci-gli.c 	gli_pcie_enable_msi(slot);
slot              301 drivers/mmc/host/sdhci-pci-gli.c 	slot->host->mmc->caps2 |= MMC_CAP2_NO_SDIO;
slot              345 drivers/mmc/host/sdhci-pci-gli.c 	struct sdhci_pci_slot *slot = chip->slots[0];
slot              347 drivers/mmc/host/sdhci-pci-gli.c 	pci_free_irq_vectors(slot->chip->pdev);
slot              348 drivers/mmc/host/sdhci-pci-gli.c 	gli_pcie_enable_msi(slot);
slot              234 drivers/mmc/host/sdhci-pci-o2micro.c 	struct sdhci_pci_slot *slot = sdhci_priv(host);
slot              235 drivers/mmc/host/sdhci-pci-o2micro.c 	struct sdhci_pci_chip *chip = slot->chip;
slot              236 drivers/mmc/host/sdhci-pci-o2micro.c 	struct o2_host *o2_host = sdhci_pci_priv(slot);
slot              512 drivers/mmc/host/sdhci-pci-o2micro.c int sdhci_pci_o2_probe_slot(struct sdhci_pci_slot *slot)
slot              516 drivers/mmc/host/sdhci-pci-o2micro.c 	struct o2_host *o2_host = sdhci_pci_priv(slot);
slot              520 drivers/mmc/host/sdhci-pci-o2micro.c 	chip = slot->chip;
slot              521 drivers/mmc/host/sdhci-pci-o2micro.c 	host = slot->host;
slot              561 drivers/mmc/host/sdhci-pci-o2micro.c 			slot->host->mmc_host_ops.get_cd = sdhci_o2_get_cd;
slot              183 drivers/mmc/host/sdhci-pci.h static inline void *sdhci_pci_priv(struct sdhci_pci_slot *slot)
slot              185 drivers/mmc/host/sdhci-pci.h 	return (void *)slot->private;
slot              983 drivers/net/bonding/bond_options.c static void _bond_options_arp_ip_target_set(struct bonding *bond, int slot,
slot              991 drivers/net/bonding/bond_options.c 	if (slot >= 0 && slot < BOND_MAX_ARP_TARGETS) {
slot              993 drivers/net/bonding/bond_options.c 			slave->target_last_arp_rx[slot] = last_rx;
slot              994 drivers/net/bonding/bond_options.c 		targets[slot] = target;
slot             1172 drivers/net/can/grcan.c 	u32 *slot;
slot             1193 drivers/net/can/grcan.c 		slot = dma->rx.buf + rd;
slot             1194 drivers/net/can/grcan.c 		eff = slot[0] & GRCAN_MSG_IDE;
slot             1195 drivers/net/can/grcan.c 		rtr = slot[0] & GRCAN_MSG_RTR;
slot             1197 drivers/net/can/grcan.c 			cf->can_id = ((slot[0] & GRCAN_MSG_EID)
slot             1201 drivers/net/can/grcan.c 			cf->can_id = ((slot[0] & GRCAN_MSG_BID)
slot             1204 drivers/net/can/grcan.c 		cf->can_dlc = get_can_dlc((slot[1] & GRCAN_MSG_DLC)
slot             1212 drivers/net/can/grcan.c 				cf->data[i] = (u8)(slot[j] >> shift);
slot             1357 drivers/net/can/grcan.c 	u32 *slot;
slot             1382 drivers/net/can/grcan.c 	slot = dma->tx.buf + txwr;
slot             1407 drivers/net/can/grcan.c 	slot[0] = (eff ? GRCAN_MSG_IDE : 0) | (rtr ? GRCAN_MSG_RTR : 0) | tmp;
slot             1409 drivers/net/can/grcan.c 	slot[1] = ((dlc << GRCAN_MSG_DLC_BIT) & GRCAN_MSG_DLC);
slot             1410 drivers/net/can/grcan.c 	slot[2] = 0;
slot             1411 drivers/net/can/grcan.c 	slot[3] = 0;
slot             1415 drivers/net/can/grcan.c 		slot[j] |= cf->data[i] << shift;
slot             1757 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_mgmt_xmit(struct dsa_switch *ds, int port, int slot,
slot             1775 drivers/net/dsa/sja1105/sja1105_main.c 					  slot, &mgmt_route, true);
slot             1787 drivers/net/dsa/sja1105/sja1105_main.c 						 slot, &mgmt_route);
slot             1808 drivers/net/dsa/sja1105/sja1105_main.c 					     slot, &mgmt_route, false);
slot             1825 drivers/net/dsa/sja1105/sja1105_main.c 	int slot = sp->mgmt_slot;
slot             1849 drivers/net/dsa/sja1105/sja1105_main.c 	sja1105_mgmt_xmit(ds, port, slot, skb, !!clone);
slot             1860 drivers/net/dsa/sja1105/sja1105_main.c 	rc = sja1105_ptpegr_ts_poll(priv, slot, &ts);
slot              303 drivers/net/ethernet/8390/mac8390.c 	dev->irq = SLOT2IRQ(board->slot);
slot              305 drivers/net/ethernet/8390/mac8390.c 	dev->base_addr = board->slot_addr | ((board->slot & 0xf) << 20);
slot              114 drivers/net/ethernet/broadcom/bgmac.c 	struct bgmac_slot_info *slot;
slot              123 drivers/net/ethernet/broadcom/bgmac.c 	slot = &ring->slots[i];
slot              125 drivers/net/ethernet/broadcom/bgmac.c 	dma_desc->addr_low = cpu_to_le32(lower_32_bits(slot->dma_addr));
slot              126 drivers/net/ethernet/broadcom/bgmac.c 	dma_desc->addr_high = cpu_to_le32(upper_32_bits(slot->dma_addr));
slot              138 drivers/net/ethernet/broadcom/bgmac.c 	struct bgmac_slot_info *slot = &ring->slots[index];
slot              162 drivers/net/ethernet/broadcom/bgmac.c 	slot->dma_addr = dma_map_single(dma_dev, skb->data, skb_headlen(skb),
slot              164 drivers/net/ethernet/broadcom/bgmac.c 	if (unlikely(dma_mapping_error(dma_dev, slot->dma_addr)))
slot              179 drivers/net/ethernet/broadcom/bgmac.c 		slot = &ring->slots[index];
slot              180 drivers/net/ethernet/broadcom/bgmac.c 		slot->dma_addr = skb_frag_dma_map(dma_dev, frag, 0,
slot              182 drivers/net/ethernet/broadcom/bgmac.c 		if (unlikely(dma_mapping_error(dma_dev, slot->dma_addr)))
slot              191 drivers/net/ethernet/broadcom/bgmac.c 	slot->skb = skb;
slot              211 drivers/net/ethernet/broadcom/bgmac.c 	dma_unmap_single(dma_dev, slot->dma_addr, skb_headlen(skb),
slot              216 drivers/net/ethernet/broadcom/bgmac.c 		struct bgmac_slot_info *slot = &ring->slots[index];
slot              220 drivers/net/ethernet/broadcom/bgmac.c 		dma_unmap_page(dma_dev, slot->dma_addr, len, DMA_TO_DEVICE);
slot              250 drivers/net/ethernet/broadcom/bgmac.c 		struct bgmac_slot_info *slot = &ring->slots[slot_idx];
slot              262 drivers/net/ethernet/broadcom/bgmac.c 			dma_unmap_single(dma_dev, slot->dma_addr, len,
slot              265 drivers/net/ethernet/broadcom/bgmac.c 			dma_unmap_page(dma_dev, slot->dma_addr, len,
slot              268 drivers/net/ethernet/broadcom/bgmac.c 		if (slot->skb) {
slot              269 drivers/net/ethernet/broadcom/bgmac.c 			bgmac->net_dev->stats.tx_bytes += slot->skb->len;
slot              271 drivers/net/ethernet/broadcom/bgmac.c 			bytes_compl += slot->skb->len;
slot              275 drivers/net/ethernet/broadcom/bgmac.c 			dev_kfree_skb(slot->skb);
slot              276 drivers/net/ethernet/broadcom/bgmac.c 			slot->skb = NULL;
slot              279 drivers/net/ethernet/broadcom/bgmac.c 		slot->dma_addr = 0;
slot              334 drivers/net/ethernet/broadcom/bgmac.c 				     struct bgmac_slot_info *slot)
slot              361 drivers/net/ethernet/broadcom/bgmac.c 	slot->buf = buf;
slot              362 drivers/net/ethernet/broadcom/bgmac.c 	slot->dma_addr = dma_addr;
slot              400 drivers/net/ethernet/broadcom/bgmac.c 				    struct bgmac_slot_info *slot)
slot              402 drivers/net/ethernet/broadcom/bgmac.c 	struct bgmac_rx_header *rx = slot->buf + BGMAC_RX_BUF_OFFSET;
slot              404 drivers/net/ethernet/broadcom/bgmac.c 	dma_sync_single_for_cpu(dma_dev, slot->dma_addr, BGMAC_RX_BUF_SIZE,
slot              408 drivers/net/ethernet/broadcom/bgmac.c 	dma_sync_single_for_device(dma_dev, slot->dma_addr, BGMAC_RX_BUF_SIZE,
slot              426 drivers/net/ethernet/broadcom/bgmac.c 		struct bgmac_slot_info *slot = &ring->slots[ring->start];
slot              427 drivers/net/ethernet/broadcom/bgmac.c 		struct bgmac_rx_header *rx = slot->buf + BGMAC_RX_BUF_OFFSET;
slot              429 drivers/net/ethernet/broadcom/bgmac.c 		void *buf = slot->buf;
slot              430 drivers/net/ethernet/broadcom/bgmac.c 		dma_addr_t dma_addr = slot->dma_addr;
slot              435 drivers/net/ethernet/broadcom/bgmac.c 			if (bgmac_dma_rx_skb_for_slot(bgmac, slot)) {
slot              436 drivers/net/ethernet/broadcom/bgmac.c 				bgmac_dma_rx_poison_buf(dma_dev, slot);
slot              530 drivers/net/ethernet/broadcom/bgmac.c 	struct bgmac_slot_info *slot;
slot              537 drivers/net/ethernet/broadcom/bgmac.c 		slot = &ring->slots[i];
slot              538 drivers/net/ethernet/broadcom/bgmac.c 		dev_kfree_skb(slot->skb);
slot              540 drivers/net/ethernet/broadcom/bgmac.c 		if (!slot->dma_addr)
slot              543 drivers/net/ethernet/broadcom/bgmac.c 		if (slot->skb)
slot              544 drivers/net/ethernet/broadcom/bgmac.c 			dma_unmap_single(dma_dev, slot->dma_addr,
slot              547 drivers/net/ethernet/broadcom/bgmac.c 			dma_unmap_page(dma_dev, slot->dma_addr,
slot              556 drivers/net/ethernet/broadcom/bgmac.c 	struct bgmac_slot_info *slot;
slot              560 drivers/net/ethernet/broadcom/bgmac.c 		slot = &ring->slots[i];
slot              561 drivers/net/ethernet/broadcom/bgmac.c 		if (!slot->dma_addr)
slot              564 drivers/net/ethernet/broadcom/bgmac.c 		dma_unmap_single(dma_dev, slot->dma_addr,
slot              567 drivers/net/ethernet/broadcom/bgmac.c 		put_page(virt_to_head_page(slot->buf));
slot              568 drivers/net/ethernet/broadcom/bgmac.c 		slot->dma_addr = 0;
slot             1296 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 	u8 slot;
slot             10626 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		if (PCI_SLOT(bp->pdev->devfn) == tmp_list->slot &&
slot             10733 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	tmp_list->slot = PCI_SLOT(bp->pdev->devfn);
slot              168 drivers/net/ethernet/cirrus/mac89x0.c 	int i, slot;
slot              180 drivers/net/ethernet/cirrus/mac89x0.c 	slot = 0xE;
slot              183 drivers/net/ethernet/cirrus/mac89x0.c 		if (fres->board->slot == slot)
slot              189 drivers/net/ethernet/cirrus/mac89x0.c 		nubus_slot_addr(slot) | (((slot&0xf) << 20) + DEFAULTIOBASE);
slot              214 drivers/net/ethernet/cirrus/mac89x0.c 		nubus_slot_addr(slot) | (((slot&0xf) << 20) + MMIOBASE);
slot              253 drivers/net/ethernet/cirrus/mac89x0.c 	dev->irq = SLOT2IRQ(slot);
slot               49 drivers/net/ethernet/google/gve/gve_rx.c 				struct gve_rx_data_slot *slot,
slot               55 drivers/net/ethernet/google/gve/gve_rx.c 	slot->qpl_offset = cpu_to_be64(addr);
slot              430 drivers/net/ethernet/ibm/emac/core.c 		int slot, reg, mask;
slot              433 drivers/net/ethernet/ibm/emac/core.c 		slot = EMAC_XAHT_CRC_TO_SLOT(dev,
slot              435 drivers/net/ethernet/ibm/emac/core.c 		reg = EMAC_XAHT_SLOT_TO_REG(dev, slot);
slot              436 drivers/net/ethernet/ibm/emac/core.c 		mask = EMAC_XAHT_SLOT_TO_MASK(dev, slot);
slot             1175 drivers/net/ethernet/ibm/emac/core.c __emac_prepare_rx_skb(struct sk_buff *skb, struct emac_instance *dev, int slot)
slot             1180 drivers/net/ethernet/ibm/emac/core.c 	dev->rx_skb[slot] = skb;
slot             1181 drivers/net/ethernet/ibm/emac/core.c 	dev->rx_desc[slot].data_len = 0;
slot             1183 drivers/net/ethernet/ibm/emac/core.c 	dev->rx_desc[slot].data_ptr =
slot             1187 drivers/net/ethernet/ibm/emac/core.c 	dev->rx_desc[slot].ctrl = MAL_RX_CTRL_EMPTY |
slot             1188 drivers/net/ethernet/ibm/emac/core.c 	    (slot == (NUM_RX_BUFF - 1) ? MAL_RX_CTRL_WRAP : 0);
slot             1194 drivers/net/ethernet/ibm/emac/core.c emac_alloc_rx_skb(struct emac_instance *dev, int slot)
slot             1201 drivers/net/ethernet/ibm/emac/core.c 	return __emac_prepare_rx_skb(skb, dev, slot);
slot             1205 drivers/net/ethernet/ibm/emac/core.c emac_alloc_rx_skb_napi(struct emac_instance *dev, int slot)
slot             1211 drivers/net/ethernet/ibm/emac/core.c 	return __emac_prepare_rx_skb(skb, dev, slot);
slot             1459 drivers/net/ethernet/ibm/emac/core.c 	int slot;
slot             1464 drivers/net/ethernet/ibm/emac/core.c 	slot = dev->tx_slot++;
slot             1470 drivers/net/ethernet/ibm/emac/core.c 	DBG2(dev, "xmit(%u) %d" NL, len, slot);
slot             1472 drivers/net/ethernet/ibm/emac/core.c 	dev->tx_skb[slot] = skb;
slot             1473 drivers/net/ethernet/ibm/emac/core.c 	dev->tx_desc[slot].data_ptr = dma_map_single(&dev->ofdev->dev,
slot             1476 drivers/net/ethernet/ibm/emac/core.c 	dev->tx_desc[slot].data_len = (u16) len;
slot             1478 drivers/net/ethernet/ibm/emac/core.c 	dev->tx_desc[slot].ctrl = ctrl;
slot             1483 drivers/net/ethernet/ibm/emac/core.c static inline int emac_xmit_split(struct emac_instance *dev, int slot,
slot             1491 drivers/net/ethernet/ibm/emac/core.c 		slot = (slot + 1) % NUM_TX_BUFF;
slot             1495 drivers/net/ethernet/ibm/emac/core.c 		if (slot == NUM_TX_BUFF - 1)
slot             1498 drivers/net/ethernet/ibm/emac/core.c 		dev->tx_skb[slot] = NULL;
slot             1499 drivers/net/ethernet/ibm/emac/core.c 		dev->tx_desc[slot].data_ptr = pd;
slot             1500 drivers/net/ethernet/ibm/emac/core.c 		dev->tx_desc[slot].data_len = (u16) chunk;
slot             1501 drivers/net/ethernet/ibm/emac/core.c 		dev->tx_desc[slot].ctrl = ctrl;
slot             1509 drivers/net/ethernet/ibm/emac/core.c 	return slot;
slot             1519 drivers/net/ethernet/ibm/emac/core.c 	int slot, i;
slot             1538 drivers/net/ethernet/ibm/emac/core.c 	slot = dev->tx_slot;
slot             1541 drivers/net/ethernet/ibm/emac/core.c 	dev->tx_skb[slot] = NULL;
slot             1543 drivers/net/ethernet/ibm/emac/core.c 	dev->tx_desc[slot].data_ptr = pd =
slot             1545 drivers/net/ethernet/ibm/emac/core.c 	dev->tx_desc[slot].data_len = (u16) chunk;
slot             1548 drivers/net/ethernet/ibm/emac/core.c 		slot = emac_xmit_split(dev, slot, pd + chunk, len, !nr_frags,
slot             1561 drivers/net/ethernet/ibm/emac/core.c 		slot = emac_xmit_split(dev, slot, pd, len, i == nr_frags - 1,
slot             1565 drivers/net/ethernet/ibm/emac/core.c 	DBG2(dev, "xmit_sg(%u) %d - %d" NL, skb->len, dev->tx_slot, slot);
slot             1568 drivers/net/ethernet/ibm/emac/core.c 	dev->tx_skb[slot] = skb;
slot             1575 drivers/net/ethernet/ibm/emac/core.c 	dev->tx_slot = (slot + 1) % NUM_TX_BUFF;
slot             1583 drivers/net/ethernet/ibm/emac/core.c 	while (slot != dev->tx_slot) {
slot             1584 drivers/net/ethernet/ibm/emac/core.c 		dev->tx_desc[slot].ctrl = 0;
slot             1586 drivers/net/ethernet/ibm/emac/core.c 		if (--slot < 0)
slot             1587 drivers/net/ethernet/ibm/emac/core.c 			slot = NUM_TX_BUFF - 1;
slot             1640 drivers/net/ethernet/ibm/emac/core.c 		int slot = dev->ack_slot, n = 0;
slot             1642 drivers/net/ethernet/ibm/emac/core.c 		ctrl = dev->tx_desc[slot].ctrl;
slot             1644 drivers/net/ethernet/ibm/emac/core.c 			struct sk_buff *skb = dev->tx_skb[slot];
slot             1649 drivers/net/ethernet/ibm/emac/core.c 				dev->tx_skb[slot] = NULL;
slot             1651 drivers/net/ethernet/ibm/emac/core.c 			slot = (slot + 1) % NUM_TX_BUFF;
slot             1660 drivers/net/ethernet/ibm/emac/core.c 			dev->ack_slot = slot;
slot             1671 drivers/net/ethernet/ibm/emac/core.c static inline void emac_recycle_rx_skb(struct emac_instance *dev, int slot,
slot             1674 drivers/net/ethernet/ibm/emac/core.c 	struct sk_buff *skb = dev->rx_skb[slot];
slot             1676 drivers/net/ethernet/ibm/emac/core.c 	DBG2(dev, "recycle %d %d" NL, slot, len);
slot             1683 drivers/net/ethernet/ibm/emac/core.c 	dev->rx_desc[slot].data_len = 0;
slot             1685 drivers/net/ethernet/ibm/emac/core.c 	dev->rx_desc[slot].ctrl = MAL_RX_CTRL_EMPTY |
slot             1686 drivers/net/ethernet/ibm/emac/core.c 	    (slot == (NUM_RX_BUFF - 1) ? MAL_RX_CTRL_WRAP : 0);
slot             1727 drivers/net/ethernet/ibm/emac/core.c static inline int emac_rx_sg_append(struct emac_instance *dev, int slot)
slot             1730 drivers/net/ethernet/ibm/emac/core.c 		int len = dev->rx_desc[slot].data_len;
slot             1739 drivers/net/ethernet/ibm/emac/core.c 					 dev->rx_skb[slot]->data, len);
slot             1741 drivers/net/ethernet/ibm/emac/core.c 			emac_recycle_rx_skb(dev, slot, len);
slot             1745 drivers/net/ethernet/ibm/emac/core.c 	emac_recycle_rx_skb(dev, slot, 0);
slot             1753 drivers/net/ethernet/ibm/emac/core.c 	int slot = dev->rx_slot, received = 0;
slot             1761 drivers/net/ethernet/ibm/emac/core.c 		u16 ctrl = dev->rx_desc[slot].ctrl;
slot             1766 drivers/net/ethernet/ibm/emac/core.c 		skb = dev->rx_skb[slot];
slot             1768 drivers/net/ethernet/ibm/emac/core.c 		len = dev->rx_desc[slot].data_len;
slot             1777 drivers/net/ethernet/ibm/emac/core.c 			emac_recycle_rx_skb(dev, slot, 0);
slot             1784 drivers/net/ethernet/ibm/emac/core.c 			emac_recycle_rx_skb(dev, slot, len);
slot             1798 drivers/net/ethernet/ibm/emac/core.c 			emac_recycle_rx_skb(dev, slot, len);
slot             1800 drivers/net/ethernet/ibm/emac/core.c 		} else if (unlikely(emac_alloc_rx_skb_napi(dev, slot)))
slot             1814 drivers/net/ethernet/ibm/emac/core.c 		slot = (slot + 1) % NUM_RX_BUFF;
slot             1821 drivers/net/ethernet/ibm/emac/core.c 			if (unlikely(emac_alloc_rx_skb_napi(dev, slot))) {
slot             1822 drivers/net/ethernet/ibm/emac/core.c 				DBG(dev, "rx OOM %d" NL, slot);
slot             1824 drivers/net/ethernet/ibm/emac/core.c 				emac_recycle_rx_skb(dev, slot, 0);
slot             1829 drivers/net/ethernet/ibm/emac/core.c 		} else if (!emac_rx_sg_append(dev, slot) &&
slot             1846 drivers/net/ethernet/ibm/emac/core.c 		DBG(dev, "rx OOM %d" NL, slot);
slot             1849 drivers/net/ethernet/ibm/emac/core.c 		emac_recycle_rx_skb(dev, slot, 0);
slot             1855 drivers/net/ethernet/ibm/emac/core.c 		dev->rx_slot = slot;
slot             1860 drivers/net/ethernet/ibm/emac/core.c 		if (!(dev->rx_desc[slot].ctrl & MAL_RX_CTRL_EMPTY)) {
slot             1894 drivers/net/ethernet/ibm/emac/core.c 	int slot = dev->rx_slot;
slot             1896 drivers/net/ethernet/ibm/emac/core.c 		u16 ctrl = dev->rx_desc[slot].ctrl;
slot             1902 drivers/net/ethernet/ibm/emac/core.c 		slot = (slot + 1) % NUM_RX_BUFF;
slot             1905 drivers/net/ethernet/ibm/emac/core.c 		if (unlikely(slot == dev->rx_slot))
slot              397 drivers/net/ethernet/ibm/emac/core.h #define	EMAC_XAHT_SLOT_TO_REG(dev, slot)		\
slot              398 drivers/net/ethernet/ibm/emac/core.h 	((slot) >> (dev)->xaht_width_shift)
slot              400 drivers/net/ethernet/ibm/emac/core.h #define	EMAC_XAHT_SLOT_TO_MASK(dev, slot)		\
slot              402 drivers/net/ethernet/ibm/emac/core.h 	 ((slot) & (u32)(EMAC_XAHT_WIDTH(dev) - 1)))
slot              165 drivers/net/ethernet/marvell/octeontx2/af/rvu.c int rvu_get_lf(struct rvu *rvu, struct rvu_block *block, u16 pcifunc, u16 slot)
slot              173 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 			if (slot == match) {
slot              925 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 			   int pcifunc, int slot)
slot              929 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	val = ((u64)pcifunc << 24) | (slot << 16) | (1ULL << 13);
slot              950 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	int slot, lf, num_lfs;
slot              963 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (slot = 0; slot < num_lfs; slot++) {
slot              964 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		lf = rvu_lookup_rsrc(rvu, block, pcifunc, slot);
slot             1039 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	int slot, lf;
slot             1054 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (slot = 0; slot < num_lfs; slot++) {
slot             1060 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		cfg = (1ULL << 63) | (pcifunc << 8) | slot;
slot             1303 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	int lf, slot;
slot             1317 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (slot = 0; slot < rsp->sso; slot++) {
slot             1318 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		lf = rvu_get_lf(rvu, &hw->block[BLKADDR_SSO], pcifunc, slot);
slot             1319 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		rsp->sso_msixoff[slot] =
slot             1324 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (slot = 0; slot < rsp->ssow; slot++) {
slot             1325 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		lf = rvu_get_lf(rvu, &hw->block[BLKADDR_SSOW], pcifunc, slot);
slot             1326 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		rsp->ssow_msixoff[slot] =
slot             1331 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (slot = 0; slot < rsp->timlfs; slot++) {
slot             1332 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		lf = rvu_get_lf(rvu, &hw->block[BLKADDR_TIM], pcifunc, slot);
slot             1333 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		rsp->timlf_msixoff[slot] =
slot             1338 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (slot = 0; slot < rsp->cptlfs; slot++) {
slot             1339 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		lf = rvu_get_lf(rvu, &hw->block[BLKADDR_CPT0], pcifunc, slot);
slot             1340 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		rsp->cptlf_msixoff[slot] =
slot             1759 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	int slot, lf, num_lfs;
slot             1767 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 	for (slot = 0; slot < num_lfs; slot++) {
slot             1768 drivers/net/ethernet/marvell/octeontx2/af/rvu.c 		lf = rvu_get_lf(rvu, block, pcifunc, slot);
slot              315 drivers/net/ethernet/marvell/octeontx2/af/rvu.h int rvu_get_lf(struct rvu *rvu, struct rvu_block *block, u16 pcifunc, u16 slot);
slot             1100 drivers/net/ethernet/marvell/sky2.c static inline struct sky2_tx_le *get_tx_le(struct sky2_port *sky2, u16 *slot)
slot             1102 drivers/net/ethernet/marvell/sky2.c 	struct sky2_tx_le *le = sky2->tx_le + *slot;
slot             1104 drivers/net/ethernet/marvell/sky2.c 	*slot = RING_NEXT(*slot, sky2->tx_ring_size);
slot             1835 drivers/net/ethernet/marvell/sky2.c 	u16 slot;
slot             1848 drivers/net/ethernet/marvell/sky2.c 	slot = sky2->tx_prod;
slot             1850 drivers/net/ethernet/marvell/sky2.c 		     "tx queued, slot %u, len %d\n", slot, skb->len);
slot             1855 drivers/net/ethernet/marvell/sky2.c 		le = get_tx_le(sky2, &slot);
slot             1869 drivers/net/ethernet/marvell/sky2.c 			le = get_tx_le(sky2, &slot);
slot             1885 drivers/net/ethernet/marvell/sky2.c 			le = get_tx_le(sky2, &slot);
slot             1913 drivers/net/ethernet/marvell/sky2.c 				le = get_tx_le(sky2, &slot);
slot             1922 drivers/net/ethernet/marvell/sky2.c 	re = sky2->tx_ring + slot;
slot             1927 drivers/net/ethernet/marvell/sky2.c 	le = get_tx_le(sky2, &slot);
slot             1945 drivers/net/ethernet/marvell/sky2.c 			le = get_tx_le(sky2, &slot);
slot             1951 drivers/net/ethernet/marvell/sky2.c 		re = sky2->tx_ring + slot;
slot             1956 drivers/net/ethernet/marvell/sky2.c 		le = get_tx_le(sky2, &slot);
slot             1966 drivers/net/ethernet/marvell/sky2.c 	sky2->tx_prod = slot;
slot             1977 drivers/net/ethernet/marvell/sky2.c 	for (i = sky2->tx_prod; i != slot; i = RING_NEXT(i, sky2->tx_ring_size)) {
slot              486 drivers/net/ethernet/natsemi/macsonic.c 	dev->irq = SLOT2IRQ(board->slot);
slot               27 drivers/net/ethernet/netronome/nfp/abm/qdisc.c static void *nfp_abm_qdisc_tree_deref_slot(void __rcu **slot)
slot               29 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	return rtnl_dereference(*slot);
slot              250 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	void __rcu **slot;
slot              260 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	radix_tree_for_each_slot(slot, &alink->qdiscs, &iter, 0) {
slot              261 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 		qdisc = nfp_abm_qdisc_tree_deref_slot(slot);
slot              269 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	radix_tree_for_each_slot(slot, &alink->qdiscs, &iter, 0) {
slot              270 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 		qdisc = nfp_abm_qdisc_tree_deref_slot(slot);
slot              290 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	void __rcu **slot;
slot              303 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 	radix_tree_for_each_slot(slot, &alink->qdiscs, &iter, 0) {
slot              304 drivers/net/ethernet/netronome/nfp/abm/qdisc.c 		struct nfp_qdisc *mq = nfp_abm_qdisc_tree_deref_slot(slot);
slot              103 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_CFG_BAR_PCIETOCPPEXPANSIONBAR(bar, slot) \
slot              104 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c 	(0x400 + ((bar) * 8 + (slot)) * 4)
slot              106 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_CPP_BAR_PCIETOCPPEXPANSIONBAR(bar, slot) \
slot              107 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c 	(((bar) * 8 + (slot)) * 4)
slot              272 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c 	int base, slot;
slot              276 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c 	slot = bar->index & 7;
slot              279 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c 		xbar = NFP_PCIE_CPP_BAR_PCIETOCPPEXPANSIONBAR(base, slot);
slot              284 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c 		xbar = NFP_PCIE_CFG_BAR_PCIETOCPPEXPANSIONBAR(base, slot);
slot             1777 drivers/net/ethernet/pensando/ionic/ionic_if.h 	u8  slot;
slot             1790 drivers/net/ethernet/pensando/ionic/ionic_if.h 	u8     slot;
slot             1025 drivers/net/ethernet/sgi/ioc3-eth.c static int ioc3_adjacent_is_ioc3(struct pci_dev *pdev, int slot)
slot             1027 drivers/net/ethernet/sgi/ioc3-eth.c 	struct pci_dev *dev = pci_get_slot(pdev->bus, PCI_DEVFN(slot, 0));
slot             4717 drivers/net/ethernet/sun/niu.c 		int slot;
slot             4719 drivers/net/ethernet/sun/niu.c 		for (slot = 0; slot < NIU_RDC_TABLE_SLOTS; slot++)
slot             4720 drivers/net/ethernet/sun/niu.c 			nw64(RDC_TBL(this_table, slot),
slot             4721 drivers/net/ethernet/sun/niu.c 			     tbl->rxdma_channel[slot]);
slot             8720 drivers/net/ethernet/sun/niu.c 			int slot;
slot             8724 drivers/net/ethernet/sun/niu.c 			for (slot = 0; slot < NIU_RDC_TABLE_SLOTS; slot++) {
slot             8725 drivers/net/ethernet/sun/niu.c 				rt->rxdma_channel[slot] =
slot             8728 drivers/net/ethernet/sun/niu.c 				pr_cont("%d ", rt->rxdma_channel[slot]);
slot             1062 drivers/net/fddi/skfp/fplustm.c 	struct s_fpmc	*slot ;
slot             1075 drivers/net/fddi/skfp/fplustm.c 	slot = NULL;
slot             1078 drivers/net/fddi/skfp/fplustm.c 			if (!del && !slot)	/* if !del save first free */
slot             1079 drivers/net/fddi/skfp/fplustm.c 				slot = tb ;
slot             1086 drivers/net/fddi/skfp/fplustm.c 	return slot;			/* return first free or NULL */
slot               70 drivers/net/fddi/skfp/h/targethw.h 	short	slot ;			/* slot number */
slot              267 drivers/net/fddi/skfp/skfddi.c 	smc->hw.slot = -1;
slot              114 drivers/net/hamradio/yam.c 	int slot;				/* slottime */
slot              619 drivers/net/hamradio/yam.c 		yp->slotcnt = yp->slot / 10;
slot              626 drivers/net/hamradio/yam.c 	yp->slotcnt = yp->slot / 10;
slot              812 drivers/net/hamradio/yam.c 	seq_printf(seq, "  SlotTime %u\n", yp->slot);
slot              875 drivers/net/hamradio/yam.c 	yp->slotcnt = yp->slot / 10;
slot             1030 drivers/net/hamradio/yam.c 			yp->slot = yi.cfg.slottime;
slot             1031 drivers/net/hamradio/yam.c 			yp->slotcnt = yp->slot / 10;
slot             1047 drivers/net/hamradio/yam.c 		yi.cfg.slottime = yp->slot;
slot             1094 drivers/net/hamradio/yam.c 	yp->slot = DEFAULT_SLOT;
slot             2139 drivers/net/hyperv/netvsc_drv.c 	if (!pdev->slot) {
slot             2144 drivers/net/hyperv/netvsc_drv.c 	if (kstrtou32(pci_slot_name(pdev->slot), 10, &serial)) {
slot             2146 drivers/net/hyperv/netvsc_drv.c 			      pci_slot_name(pdev->slot));
slot              265 drivers/net/rionet.c static void rionet_inb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot)
slot              273 drivers/net/rionet.c 		       DRV_NAME, mbox, slot);
slot              281 drivers/net/rionet.c static void rionet_outb_msg_event(struct rio_mport *mport, void *dev_id, int mbox, int slot)
slot              291 drivers/net/rionet.c 		       DRV_NAME, mbox, slot);
slot              293 drivers/net/rionet.c 	while (rnet->tx_cnt && (rnet->ack_slot != slot)) {
slot             1971 drivers/net/wireless/ath/ath5k/base.c 		int slot = ((tsftu % ah->bintval) * ATH_BCBUF) / ah->bintval;
slot             1972 drivers/net/wireless/ath/ath5k/base.c 		vif = ah->bslot[(slot + 1) % ATH_BCBUF];
slot             1975 drivers/net/wireless/ath/ath5k/base.c 			(unsigned long long)tsf, tsftu, ah->bintval, slot, vif);
slot              120 drivers/net/wireless/ath/ath5k/mac80211-ops.c 		int slot;
slot              128 drivers/net/wireless/ath/ath5k/mac80211-ops.c 		for (slot = 0; slot < ATH_BCBUF; slot++) {
slot              129 drivers/net/wireless/ath/ath5k/mac80211-ops.c 			if (!ah->bslot[slot]) {
slot              130 drivers/net/wireless/ath/ath5k/mac80211-ops.c 				avf->bslot = slot;
slot              338 drivers/net/wireless/ath/ath6kl/debug.c 	struct ath6kl_fwlog_slot *slot;
slot              345 drivers/net/wireless/ath/ath6kl/debug.c 	slot_len = sizeof(*slot) + ATH6KL_FWLOG_PAYLOAD_SIZE;
slot              351 drivers/net/wireless/ath/ath6kl/debug.c 	slot = skb_put(skb, slot_len);
slot              352 drivers/net/wireless/ath/ath6kl/debug.c 	slot->timestamp = cpu_to_le32(jiffies);
slot              353 drivers/net/wireless/ath/ath6kl/debug.c 	slot->length = cpu_to_le32(len);
slot              354 drivers/net/wireless/ath/ath6kl/debug.c 	memcpy(slot->payload, buf, len);
slot              357 drivers/net/wireless/ath/ath6kl/debug.c 	memset(slot->payload + len, 0, ATH6KL_FWLOG_PAYLOAD_SIZE - len);
slot              199 drivers/net/wireless/ath/ath9k/beacon.c 	int slot;
slot              204 drivers/net/wireless/ath/ath9k/beacon.c 	for (slot = 0; slot < ATH_BCBUF; slot++) {
slot              205 drivers/net/wireless/ath/ath9k/beacon.c 		if (sc->beacon.bslot[slot] == NULL) {
slot              206 drivers/net/wireless/ath/ath9k/beacon.c 			avp->av_bslot = slot;
slot              252 drivers/net/wireless/ath/ath9k/beacon.c 	int slot;
slot              257 drivers/net/wireless/ath/ath9k/beacon.c 	for (slot = 0; slot < ATH_BCBUF; slot++) {
slot              258 drivers/net/wireless/ath/ath9k/beacon.c 		if (sc->beacon.bslot[slot]) {
slot              259 drivers/net/wireless/ath/ath9k/beacon.c 			first_slot = slot;
slot              267 drivers/net/wireless/ath/ath9k/beacon.c 	for (slot = 0; slot < ATH_BCBUF; slot++) {
slot              268 drivers/net/wireless/ath/ath9k/beacon.c 		if (slot + first_slot < ATH_BCBUF) {
slot              269 drivers/net/wireless/ath/ath9k/beacon.c 			vif = sc->beacon.bslot[slot + first_slot];
slot              270 drivers/net/wireless/ath/ath9k/beacon.c 			sc->beacon.bslot[slot] = vif;
slot              274 drivers/net/wireless/ath/ath9k/beacon.c 				avp->av_bslot = slot;
slot              277 drivers/net/wireless/ath/ath9k/beacon.c 			sc->beacon.bslot[slot] = NULL;
slot              313 drivers/net/wireless/ath/ath9k/beacon.c 	int slot;
slot              326 drivers/net/wireless/ath/ath9k/beacon.c 	slot = (tsftu % (intval * ATH_BCBUF)) / intval;
slot              329 drivers/net/wireless/ath/ath9k/beacon.c 		slot, tsf, tsftu / ATH_BCBUF);
slot              331 drivers/net/wireless/ath/ath9k/beacon.c 	return slot;
slot              339 drivers/net/wireless/ath/ath9k/beacon.c 	int slot;
slot              341 drivers/net/wireless/ath/ath9k/beacon.c 	for (slot = 0; slot < ATH_BCBUF; slot++) {
slot              344 drivers/net/wireless/ath/ath9k/beacon.c 		if (!sc->beacon.bslot[slot])
slot              347 drivers/net/wireless/ath/ath9k/beacon.c 		avp = (void *)sc->beacon.bslot[slot]->drv_priv;
slot              396 drivers/net/wireless/ath/ath9k/beacon.c 	int slot;
slot              441 drivers/net/wireless/ath/ath9k/beacon.c 	slot = ath9k_beacon_choose_slot(sc);
slot              442 drivers/net/wireless/ath/ath9k/beacon.c 	vif = sc->beacon.bslot[slot];
slot              488 drivers/net/wireless/ath/ath9k/beacon.c 		sc->beacon.slotupdate = slot;
slot              490 drivers/net/wireless/ath/ath9k/beacon.c 		   sc->beacon.slotupdate == slot) {
slot              500 drivers/net/wireless/ath/ath9k/beacon.c 			"Transmitting beacon for slot: %d\n", slot);
slot              573 drivers/net/wireless/ath/ath9k/htc.h 		       struct sk_buff *skb, u8 slot, bool is_cab);
slot              583 drivers/net/wireless/ath/ath9k/htc.h void ath9k_htc_tx_clear_slot(struct ath9k_htc_priv *priv, int slot);
slot              138 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 				    int slot)
slot              148 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	vif = priv->beacon.bslot[slot];
slot              192 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 				  int slot)
slot              209 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	vif = priv->beacon.bslot[slot];
slot              271 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	int slot;
slot              277 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	slot = ((tsftu % intval) * ATH9K_HTC_MAX_BCN_VIF) / intval;
slot              278 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	slot = ATH9K_HTC_MAX_BCN_VIF - slot - 1;
slot              282 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 		slot, tsf, tsftu, intval);
slot              284 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	return slot;
slot              291 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	int slot;
slot              310 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	slot = ath9k_htc_choose_bslot(priv, swba);
slot              312 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	if (priv->beacon.bslot[slot] == NULL) {
slot              318 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	ath9k_htc_send_buffered(priv, slot);
slot              319 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 	ath9k_htc_send_beacon(priv, slot);
slot              869 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	int padpos, padsize, ret, slot;
slot              885 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	slot = ath9k_htc_tx_get_slot(priv);
slot              886 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	if (slot < 0) {
slot              891 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	ret = ath9k_htc_tx_start(priv, control->sta, skb, slot, false);
slot              902 drivers/net/wireless/ath/ath9k/htc_drv_main.c 	ath9k_htc_tx_clear_slot(priv, slot);
slot               81 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	int slot;
slot               84 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	slot = find_first_zero_bit(priv->tx.tx_slot, MAX_TX_BUF_NUM);
slot               85 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	if (slot >= MAX_TX_BUF_NUM) {
slot               89 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	__set_bit(slot, priv->tx.tx_slot);
slot               92 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	return slot;
slot               95 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c void ath9k_htc_tx_clear_slot(struct ath9k_htc_priv *priv, int slot)
slot               98 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	__clear_bit(slot, priv->tx.tx_slot);
slot              162 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	int slot;
slot              169 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 		slot = tx_mhdr->cookie;
slot              178 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 		slot = tx_fhdr->cookie;
slot              182 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 		slot = -EINVAL;
slot              185 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	return slot;
slot              217 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 			      u8 sta_idx, u8 vif_idx, u8 slot)
slot              247 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	mgmt_hdr.cookie = slot;
slot              263 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 			      u8 sta_idx, u8 vif_idx, u8 slot,
slot              282 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	tx_hdr.cookie = slot;
slot              338 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 		       u8 slot, bool is_cab)
slot              378 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 				  sta_idx, vif_idx, slot, is_cab);
slot              381 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 				  sta_idx, vif_idx, slot);
slot              450 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	int slot;
slot              453 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	slot = strip_drv_header(priv, skb);
slot              454 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	if (slot < 0) {
slot              509 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 	ath9k_htc_tx_clear_slot(priv, slot);
slot               73 drivers/net/wireless/broadcom/b43/dma.c 					  int slot,
slot               78 drivers/net/wireless/broadcom/b43/dma.c 	*meta = &(ring->meta[slot]);
slot               80 drivers/net/wireless/broadcom/b43/dma.c 	desc = &(desc[slot]);
slot               91 drivers/net/wireless/broadcom/b43/dma.c 	int slot;
slot               96 drivers/net/wireless/broadcom/b43/dma.c 	slot = (int)(&(desc->dma32) - descbase);
slot               97 drivers/net/wireless/broadcom/b43/dma.c 	B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots));
slot              103 drivers/net/wireless/broadcom/b43/dma.c 	if (slot == ring->nr_slots - 1)
slot              118 drivers/net/wireless/broadcom/b43/dma.c static void op32_poke_tx(struct b43_dmaring *ring, int slot)
slot              121 drivers/net/wireless/broadcom/b43/dma.c 		      (u32) (slot * sizeof(struct b43_dmadesc32)));
slot              146 drivers/net/wireless/broadcom/b43/dma.c static void op32_set_current_rxslot(struct b43_dmaring *ring, int slot)
slot              149 drivers/net/wireless/broadcom/b43/dma.c 		      (u32) (slot * sizeof(struct b43_dmadesc32)));
slot              165 drivers/net/wireless/broadcom/b43/dma.c 					  int slot,
slot              170 drivers/net/wireless/broadcom/b43/dma.c 	*meta = &(ring->meta[slot]);
slot              172 drivers/net/wireless/broadcom/b43/dma.c 	desc = &(desc[slot]);
slot              183 drivers/net/wireless/broadcom/b43/dma.c 	int slot;
slot              188 drivers/net/wireless/broadcom/b43/dma.c 	slot = (int)(&(desc->dma64) - descbase);
slot              189 drivers/net/wireless/broadcom/b43/dma.c 	B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots));
slot              195 drivers/net/wireless/broadcom/b43/dma.c 	if (slot == ring->nr_slots - 1)
slot              213 drivers/net/wireless/broadcom/b43/dma.c static void op64_poke_tx(struct b43_dmaring *ring, int slot)
slot              216 drivers/net/wireless/broadcom/b43/dma.c 		      (u32) (slot * sizeof(struct b43_dmadesc64)));
slot              241 drivers/net/wireless/broadcom/b43/dma.c static void op64_set_current_rxslot(struct b43_dmaring *ring, int slot)
slot              244 drivers/net/wireless/broadcom/b43/dma.c 		      (u32) (slot * sizeof(struct b43_dmadesc64)));
slot              262 drivers/net/wireless/broadcom/b43/dma.c static inline int next_slot(struct b43_dmaring *ring, int slot)
slot              264 drivers/net/wireless/broadcom/b43/dma.c 	B43_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1));
slot              265 drivers/net/wireless/broadcom/b43/dma.c 	if (slot == ring->nr_slots - 1)
slot              267 drivers/net/wireless/broadcom/b43/dma.c 	return slot + 1;
slot              270 drivers/net/wireless/broadcom/b43/dma.c static inline int prev_slot(struct b43_dmaring *ring, int slot)
slot              272 drivers/net/wireless/broadcom/b43/dma.c 	B43_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1));
slot              273 drivers/net/wireless/broadcom/b43/dma.c 	if (slot == 0)
slot              275 drivers/net/wireless/broadcom/b43/dma.c 	return slot - 1;
slot              302 drivers/net/wireless/broadcom/b43/dma.c 	int slot;
slot              308 drivers/net/wireless/broadcom/b43/dma.c 	slot = next_slot(ring, ring->current_slot);
slot              309 drivers/net/wireless/broadcom/b43/dma.c 	ring->current_slot = slot;
slot              314 drivers/net/wireless/broadcom/b43/dma.c 	return slot;
slot             1136 drivers/net/wireless/broadcom/b43/dma.c static u16 generate_cookie(struct b43_dmaring *ring, int slot)
slot             1149 drivers/net/wireless/broadcom/b43/dma.c 	B43_WARN_ON(slot & ~0x0FFF);
slot             1150 drivers/net/wireless/broadcom/b43/dma.c 	cookie |= (u16)slot;
slot             1157 drivers/net/wireless/broadcom/b43/dma.c struct b43_dmaring *parse_cookie(struct b43_wldev *dev, u16 cookie, int *slot)
slot             1179 drivers/net/wireless/broadcom/b43/dma.c 	*slot = (cookie & 0x0FFF);
slot             1180 drivers/net/wireless/broadcom/b43/dma.c 	if (unlikely(!ring || *slot < 0 || *slot >= ring->nr_slots)) {
slot             1196 drivers/net/wireless/broadcom/b43/dma.c 	int slot, old_top_slot, old_used_slots;
slot             1213 drivers/net/wireless/broadcom/b43/dma.c 	slot = request_slot(ring);
slot             1214 drivers/net/wireless/broadcom/b43/dma.c 	desc = ops->idx2desc(ring, slot, &meta_hdr);
slot             1217 drivers/net/wireless/broadcom/b43/dma.c 	header = &(ring->txhdr_cache[(slot / TX_SLOTS_PER_FRAME) * hdrsize]);
slot             1218 drivers/net/wireless/broadcom/b43/dma.c 	cookie = generate_cookie(ring, slot);
slot             1238 drivers/net/wireless/broadcom/b43/dma.c 	slot = request_slot(ring);
slot             1239 drivers/net/wireless/broadcom/b43/dma.c 	desc = ops->idx2desc(ring, slot, &meta);
slot             1279 drivers/net/wireless/broadcom/b43/dma.c 	ops->poke_tx(ring, next_slot(ring, slot));
slot             1422 drivers/net/wireless/broadcom/b43/dma.c 	int slot, firstused;
slot             1427 drivers/net/wireless/broadcom/b43/dma.c 	ring = parse_cookie(dev, status->cookie, &slot);
slot             1440 drivers/net/wireless/broadcom/b43/dma.c 	if (unlikely(slot != firstused)) {
slot             1444 drivers/net/wireless/broadcom/b43/dma.c 		if (slot == next_slot(ring, next_slot(ring, firstused))) {
slot             1448 drivers/net/wireless/broadcom/b43/dma.c 			slot = firstused;
slot             1454 drivers/net/wireless/broadcom/b43/dma.c 				       ring->index, slot);
slot             1465 drivers/net/wireless/broadcom/b43/dma.c 			       ring->index, firstused, slot);
slot             1474 drivers/net/wireless/broadcom/b43/dma.c 		B43_WARN_ON(slot < 0 || slot >= ring->nr_slots);
slot             1476 drivers/net/wireless/broadcom/b43/dma.c 		ops->idx2desc(ring, slot, &meta);
slot             1481 drivers/net/wireless/broadcom/b43/dma.c 			       slot, firstused, ring->index);
slot             1507 drivers/net/wireless/broadcom/b43/dma.c 				       slot, firstused, ring->index);
slot             1546 drivers/net/wireless/broadcom/b43/dma.c 				       slot, firstused, ring->index);
slot             1559 drivers/net/wireless/broadcom/b43/dma.c 		slot = next_slot(ring, slot);
slot             1582 drivers/net/wireless/broadcom/b43/dma.c static void dma_rx(struct b43_dmaring *ring, int *slot)
slot             1593 drivers/net/wireless/broadcom/b43/dma.c 	desc = ops->idx2desc(ring, *slot, &meta);
slot             1630 drivers/net/wireless/broadcom/b43/dma.c 			desc = ops->idx2desc(ring, *slot, &meta);
slot             1635 drivers/net/wireless/broadcom/b43/dma.c 			*slot = next_slot(ring, *slot);
slot             1690 drivers/net/wireless/broadcom/b43/dma.c 	int slot, current_slot;
slot             1697 drivers/net/wireless/broadcom/b43/dma.c 	slot = ring->current_slot;
slot             1698 drivers/net/wireless/broadcom/b43/dma.c 	for (; slot != current_slot; slot = next_slot(ring, slot)) {
slot             1699 drivers/net/wireless/broadcom/b43/dma.c 		dma_rx(ring, &slot);
slot             1703 drivers/net/wireless/broadcom/b43/dma.c 	ops->set_current_rxslot(ring, slot);
slot             1704 drivers/net/wireless/broadcom/b43/dma.c 	ring->current_slot = slot;
slot              200 drivers/net/wireless/broadcom/b43/dma.h 						 int slot,
slot              207 drivers/net/wireless/broadcom/b43/dma.h 	void (*poke_tx) (struct b43_dmaring * ring, int slot);
slot              211 drivers/net/wireless/broadcom/b43/dma.h 	void (*set_current_rxslot) (struct b43_dmaring * ring, int slot);
slot               33 drivers/net/wireless/broadcom/b43legacy/dma.c 					  int slot,
slot               38 drivers/net/wireless/broadcom/b43legacy/dma.c 	*meta = &(ring->meta[slot]);
slot               40 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc = &(desc[slot]);
slot               51 drivers/net/wireless/broadcom/b43legacy/dma.c 	int slot;
slot               56 drivers/net/wireless/broadcom/b43legacy/dma.c 	slot = (int)(desc - descbase);
slot               57 drivers/net/wireless/broadcom/b43legacy/dma.c 	B43legacy_WARN_ON(!(slot >= 0 && slot < ring->nr_slots));
slot               65 drivers/net/wireless/broadcom/b43legacy/dma.c 	if (slot == ring->nr_slots - 1)
slot               80 drivers/net/wireless/broadcom/b43legacy/dma.c static void op32_poke_tx(struct b43legacy_dmaring *ring, int slot)
slot               83 drivers/net/wireless/broadcom/b43legacy/dma.c 			    (u32)(slot * sizeof(struct b43legacy_dmadesc32)));
slot              111 drivers/net/wireless/broadcom/b43legacy/dma.c 				    int slot)
slot              114 drivers/net/wireless/broadcom/b43legacy/dma.c 			    (u32)(slot * sizeof(struct b43legacy_dmadesc32)));
slot              122 drivers/net/wireless/broadcom/b43legacy/dma.c static inline int next_slot(struct b43legacy_dmaring *ring, int slot)
slot              124 drivers/net/wireless/broadcom/b43legacy/dma.c 	B43legacy_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1));
slot              125 drivers/net/wireless/broadcom/b43legacy/dma.c 	if (slot == ring->nr_slots - 1)
slot              127 drivers/net/wireless/broadcom/b43legacy/dma.c 	return slot + 1;
slot              130 drivers/net/wireless/broadcom/b43legacy/dma.c static inline int prev_slot(struct b43legacy_dmaring *ring, int slot)
slot              132 drivers/net/wireless/broadcom/b43legacy/dma.c 	B43legacy_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1));
slot              133 drivers/net/wireless/broadcom/b43legacy/dma.c 	if (slot == 0)
slot              135 drivers/net/wireless/broadcom/b43legacy/dma.c 	return slot - 1;
slot              163 drivers/net/wireless/broadcom/b43legacy/dma.c 	int slot;
slot              169 drivers/net/wireless/broadcom/b43legacy/dma.c 	slot = next_slot(ring, ring->current_slot);
slot              170 drivers/net/wireless/broadcom/b43legacy/dma.c 	ring->current_slot = slot;
slot              175 drivers/net/wireless/broadcom/b43legacy/dma.c 	return slot;
slot              874 drivers/net/wireless/broadcom/b43legacy/dma.c 			   int slot)
slot              904 drivers/net/wireless/broadcom/b43legacy/dma.c 	B43legacy_WARN_ON(!(((u16)slot & 0xF000) == 0x0000));
slot              905 drivers/net/wireless/broadcom/b43legacy/dma.c 	cookie |= (u16)slot;
slot              913 drivers/net/wireless/broadcom/b43legacy/dma.c 				      u16 cookie, int *slot)
slot              940 drivers/net/wireless/broadcom/b43legacy/dma.c 	*slot = (cookie & 0x0FFF);
slot              941 drivers/net/wireless/broadcom/b43legacy/dma.c 	B43legacy_WARN_ON(!(ring && *slot >= 0 && *slot < ring->nr_slots));
slot              952 drivers/net/wireless/broadcom/b43legacy/dma.c 	int slot, old_top_slot, old_used_slots;
slot              966 drivers/net/wireless/broadcom/b43legacy/dma.c 	slot = request_slot(ring);
slot              967 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc = op32_idx2desc(ring, slot, &meta_hdr);
slot              970 drivers/net/wireless/broadcom/b43legacy/dma.c 	header = &(ring->txhdr_cache[slot * sizeof(
slot              974 drivers/net/wireless/broadcom/b43legacy/dma.c 				 generate_cookie(ring, slot));
slot              993 drivers/net/wireless/broadcom/b43legacy/dma.c 	slot = request_slot(ring);
slot              994 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc = op32_idx2desc(ring, slot, &meta);
slot             1035 drivers/net/wireless/broadcom/b43legacy/dma.c 	op32_poke_tx(ring, next_slot(ring, slot));
slot             1128 drivers/net/wireless/broadcom/b43legacy/dma.c 	int slot;
slot             1131 drivers/net/wireless/broadcom/b43legacy/dma.c 	ring = parse_cookie(dev, status->cookie, &slot);
slot             1142 drivers/net/wireless/broadcom/b43legacy/dma.c 	if (unlikely(slot != firstused)) {
slot             1148 drivers/net/wireless/broadcom/b43legacy/dma.c 			     ring->index, firstused, slot);
slot             1153 drivers/net/wireless/broadcom/b43legacy/dma.c 		B43legacy_WARN_ON(!(slot >= 0 && slot < ring->nr_slots));
slot             1154 drivers/net/wireless/broadcom/b43legacy/dma.c 		op32_idx2desc(ring, slot, &meta);
slot             1219 drivers/net/wireless/broadcom/b43legacy/dma.c 		slot = next_slot(ring, slot);
slot             1242 drivers/net/wireless/broadcom/b43legacy/dma.c 		   int *slot)
slot             1252 drivers/net/wireless/broadcom/b43legacy/dma.c 	desc = op32_idx2desc(ring, *slot, &meta);
slot             1304 drivers/net/wireless/broadcom/b43legacy/dma.c 			desc = op32_idx2desc(ring, *slot, &meta);
slot             1308 drivers/net/wireless/broadcom/b43legacy/dma.c 			*slot = next_slot(ring, *slot);
slot             1341 drivers/net/wireless/broadcom/b43legacy/dma.c 	int slot;
slot             1350 drivers/net/wireless/broadcom/b43legacy/dma.c 	slot = ring->current_slot;
slot             1351 drivers/net/wireless/broadcom/b43legacy/dma.c 	for (; slot != current_slot; slot = next_slot(ring, slot)) {
slot             1352 drivers/net/wireless/broadcom/b43legacy/dma.c 		dma_rx(ring, &slot);
slot             1355 drivers/net/wireless/broadcom/b43legacy/dma.c 	op32_set_current_rxslot(ring, slot);
slot             1356 drivers/net/wireless/broadcom/b43legacy/dma.c 	ring->current_slot = slot;
slot              652 drivers/net/wireless/intersil/p54/fwio.c int p54_upload_key(struct p54_common *priv, u8 algo, int slot, u8 idx, u8 len,
slot              664 drivers/net/wireless/intersil/p54/fwio.c 	rxkey->entry = slot;
slot              548 drivers/net/wireless/intersil/p54/lmac.h int p54_upload_key(struct p54_common *priv, u8 algo, int slot,
slot              502 drivers/net/wireless/intersil/p54/main.c 	int slot, ret = 0;
slot              553 drivers/net/wireless/intersil/p54/main.c 		slot = bitmap_find_free_region(priv->used_rxkeys,
slot              556 drivers/net/wireless/intersil/p54/main.c 		if (slot < 0) {
slot              573 drivers/net/wireless/intersil/p54/main.c 		slot = key->hw_key_idx;
slot              575 drivers/net/wireless/intersil/p54/main.c 		if (slot == 0xff) {
slot              581 drivers/net/wireless/intersil/p54/main.c 		bitmap_release_region(priv->used_rxkeys, slot, 0);
slot              588 drivers/net/wireless/intersil/p54/main.c 	ret = p54_upload_key(priv, algo, slot, key->keyidx,
slot              591 drivers/net/wireless/intersil/p54/main.c 		bitmap_release_region(priv->used_rxkeys, slot, 0);
slot              596 drivers/net/wireless/intersil/p54/main.c 	key->hw_key_idx = slot;
slot              358 drivers/net/wireless/ti/wl1251/acx.c 	struct acx_slot *slot;
slot              363 drivers/net/wireless/ti/wl1251/acx.c 	slot = kzalloc(sizeof(*slot), GFP_KERNEL);
slot              364 drivers/net/wireless/ti/wl1251/acx.c 	if (!slot)
slot              367 drivers/net/wireless/ti/wl1251/acx.c 	slot->wone_index = STATION_WONE_INDEX;
slot              368 drivers/net/wireless/ti/wl1251/acx.c 	slot->slot_time = slot_time;
slot              370 drivers/net/wireless/ti/wl1251/acx.c 	ret = wl1251_cmd_configure(wl, ACX_SLOT, slot, sizeof(*slot));
slot              377 drivers/net/wireless/ti/wl1251/acx.c 	kfree(slot);
slot              187 drivers/net/wireless/ti/wlcore/acx.c 	struct acx_slot *slot;
slot              192 drivers/net/wireless/ti/wlcore/acx.c 	slot = kzalloc(sizeof(*slot), GFP_KERNEL);
slot              193 drivers/net/wireless/ti/wlcore/acx.c 	if (!slot) {
slot              198 drivers/net/wireless/ti/wlcore/acx.c 	slot->role_id = wlvif->role_id;
slot              199 drivers/net/wireless/ti/wlcore/acx.c 	slot->wone_index = STATION_WONE_INDEX;
slot              200 drivers/net/wireless/ti/wlcore/acx.c 	slot->slot_time = slot_time;
slot              202 drivers/net/wireless/ti/wlcore/acx.c 	ret = wl1271_cmd_configure(wl, ACX_SLOT, slot, sizeof(*slot));
slot              209 drivers/net/wireless/ti/wlcore/acx.c 	kfree(slot);
slot              223 drivers/net/xen-netback/rx.c 	unsigned int slot;
slot              379 drivers/net/xen-netback/rx.c 	if (pkt->slot == 0) {
slot              438 drivers/net/xen-netback/rx.c 		if (pkt.slot != 0 && pkt.extra_count != 0)
slot              444 drivers/net/xen-netback/rx.c 		pkt.slot++;
slot              234 drivers/nfc/pn533/usb.c 	u8 slot;
slot              271 drivers/nfc/pn533/usb.c 	frame->ccid.slot = 0;
slot               96 drivers/nubus/bus.c 	dev_set_name(&board->dev, "slot.%X", board->slot);
slot              107 drivers/nubus/bus.c 	seq_printf(m, "Slot %X: %s\n", board->slot, board->name);
slot              140 drivers/nubus/nubus.c static inline void *nubus_rom_addr(int slot)
slot              146 drivers/nubus/nubus.c 	return (void *)(0xF1000000 + (slot << 24));
slot              490 drivers/nubus/nubus.c nubus_get_functional_resource(struct nubus_board *board, int slot,
slot              631 drivers/nubus/nubus.c static int __init nubus_get_board_resource(struct nubus_board *board, int slot,
slot              655 drivers/nubus/nubus.c 				       slot);
slot              717 drivers/nubus/nubus.c static void __init nubus_add_board(int slot, int bytelanes)
slot              727 drivers/nubus/nubus.c 	rp = nubus_rom_addr(slot);
slot              736 drivers/nubus/nubus.c 	pr_debug("Slot %X, format block at 0x%p:\n", slot, rp);
slot              747 drivers/nubus/nubus.c 	board->slot = slot;
slot              748 drivers/nubus/nubus.c 	board->slot_addr = (unsigned long)nubus_slot_addr(slot);
slot              764 drivers/nubus/nubus.c 		pr_warn("Slot %X: Dodgy doffset!\n", slot);
slot              767 drivers/nubus/nubus.c 		pr_warn("Slot %X: Wrong test pattern %08lx!\n", slot, dpat);
slot              784 drivers/nubus/nubus.c 	pr_debug("Slot %X resources:\n", slot);
slot              794 drivers/nubus/nubus.c 		pr_err("Slot %X: Board resource not found!\n", slot);
slot              800 drivers/nubus/nubus.c 		pr_warn("Slot %X: Board resource ID is invalid!\n", slot);
slot              804 drivers/nubus/nubus.c 	nubus_get_board_resource(board, slot, &ent);
slot              809 drivers/nubus/nubus.c 		fres = nubus_get_functional_resource(board, slot, &ent);
slot              829 drivers/nubus/nubus.c static void __init nubus_probe_slot(int slot)
slot              835 drivers/nubus/nubus.c 	rp = nubus_rom_addr(slot);
slot              854 drivers/nubus/nubus.c 		nubus_add_board(slot, dp);
slot              862 drivers/nubus/nubus.c 	int slot;
slot              865 drivers/nubus/nubus.c 	for (slot = 9; slot < 15; slot++) {
slot              866 drivers/nubus/nubus.c 		nubus_probe_slot(slot);
slot               43 drivers/nubus/proc.c 			   fres->board->slot, fres->category, fres->type,
slot               60 drivers/nubus/proc.c 	snprintf(name, sizeof(name), "%x", board->slot);
slot              284 drivers/nvdimm/label.c static struct nd_namespace_label *to_label(struct nvdimm_drvdata *ndd, int slot)
slot              289 drivers/nvdimm/label.c 	label = base + sizeof_namespace_label(ndd) * slot;
slot              350 drivers/nvdimm/label.c 		struct nd_namespace_label *nd_label, u32 slot)
slot              353 drivers/nvdimm/label.c 	if (slot != __le32_to_cpu(nd_label->slot))
slot              366 drivers/nvdimm/label.c 				slot, sum);
slot              378 drivers/nvdimm/label.c 	u32 nslot, slot;
slot              383 drivers/nvdimm/label.c 	for_each_clear_bit_le(slot, free, nslot) {
slot              392 drivers/nvdimm/label.c 		nd_label = to_label(ndd, slot);
slot              394 drivers/nvdimm/label.c 		if (!slot_valid(ndd, nd_label, slot))
slot              539 drivers/nvdimm/label.c 	u32 nslot, slot;
slot              545 drivers/nvdimm/label.c 	for_each_clear_bit_le(slot, free, nslot) {
slot              548 drivers/nvdimm/label.c 		nd_label = to_label(ndd, slot);
slot              550 drivers/nvdimm/label.c 		if (!slot_valid(ndd, nd_label, slot)) {
slot              551 drivers/nvdimm/label.c 			u32 label_slot = __le32_to_cpu(nd_label->slot);
slot              557 drivers/nvdimm/label.c 					slot, label_slot, dpa, size);
slot              569 drivers/nvdimm/label.c 	u32 nslot, slot;
slot              574 drivers/nvdimm/label.c 	for_each_clear_bit_le(slot, free, nslot) {
slot              577 drivers/nvdimm/label.c 		nd_label = to_label(ndd, slot);
slot              578 drivers/nvdimm/label.c 		if (!slot_valid(ndd, nd_label, slot))
slot              582 drivers/nvdimm/label.c 			return to_label(ndd, slot);
slot              592 drivers/nvdimm/label.c 	u32 nslot, slot;
slot              599 drivers/nvdimm/label.c 	slot = find_next_bit_le(free, nslot, 0);
slot              600 drivers/nvdimm/label.c 	if (slot == nslot)
slot              603 drivers/nvdimm/label.c 	clear_bit_le(slot, free);
slot              605 drivers/nvdimm/label.c 	return slot;
slot              608 drivers/nvdimm/label.c bool nd_label_free_slot(struct nvdimm_drvdata *ndd, u32 slot)
slot              619 drivers/nvdimm/label.c 	if (slot < nslot)
slot              620 drivers/nvdimm/label.c 		return !test_and_set_bit_le(slot, free);
slot              752 drivers/nvdimm/label.c 	u32 slot = to_slot(ndd, victim->label);
slot              754 drivers/nvdimm/label.c 	dev_dbg(ndd->dev, "free: %d\n", slot);
slot              755 drivers/nvdimm/label.c 	nd_label_free_slot(ndd, slot);
slot              772 drivers/nvdimm/label.c 	u32 nslot, slot;
slot              792 drivers/nvdimm/label.c 	slot = nd_label_alloc_slot(ndd);
slot              793 drivers/nvdimm/label.c 	if (slot == UINT_MAX)
slot              795 drivers/nvdimm/label.c 	dev_dbg(ndd->dev, "allocated: %d\n", slot);
slot              797 drivers/nvdimm/label.c 	nd_label = to_label(ndd, slot);
slot              809 drivers/nvdimm/label.c 	nd_label->slot = __cpu_to_le32(slot);
slot              914 drivers/nvdimm/label.c 	u32 nslot, slot;
slot              947 drivers/nvdimm/label.c 		for_each_clear_bit_le(slot, free, nslot) {
slot              948 drivers/nvdimm/label.c 			nd_label = to_label(ndd, slot);
slot              956 drivers/nvdimm/label.c 			slot = to_slot(ndd, nd_label);
slot              957 drivers/nvdimm/label.c 			set_bit(slot, victim_map);
slot             1001 drivers/nvdimm/label.c 		slot = nd_label_alloc_slot(ndd);
slot             1002 drivers/nvdimm/label.c 		if (slot == UINT_MAX)
slot             1004 drivers/nvdimm/label.c 		dev_dbg(ndd->dev, "allocated: %d\n", slot);
slot             1006 drivers/nvdimm/label.c 		nd_label = to_label(ndd, slot);
slot             1037 drivers/nvdimm/label.c 		nd_label->slot = __cpu_to_le32(slot);
slot             1063 drivers/nvdimm/label.c 	for_each_set_bit(slot, victim_map, victim_map ? nslot : 0) {
slot             1064 drivers/nvdimm/label.c 		dev_dbg(ndd->dev, "free: %d\n", slot);
slot             1065 drivers/nvdimm/label.c 		nd_label_free_slot(ndd, slot);
slot             1114 drivers/nvdimm/label.c 	for_each_clear_bit_le(slot, free, nslot) {
slot             1115 drivers/nvdimm/label.c 		nd_label = to_label(ndd, slot);
slot             1121 drivers/nvdimm/label.c 		dev_vdbg(&nsblk->common.dev, "assign label slot: %d\n", slot);
slot             1131 drivers/nvdimm/label.c 					"failed to track label slot%d\n", slot);
slot             1205 drivers/nvdimm/label.c 	u32 nslot, slot;
slot             1226 drivers/nvdimm/label.c 		slot = to_slot(ndd, nd_label);
slot             1227 drivers/nvdimm/label.c 		nd_label_free_slot(ndd, slot);
slot             1228 drivers/nvdimm/label.c 		dev_dbg(ndd->dev, "free: %d\n", slot);
slot               92 drivers/nvdimm/label.h 	__le32 slot;
slot              136 drivers/nvdimm/label.h bool nd_label_free_slot(struct nvdimm_drvdata *ndd, u32 slot);
slot               42 drivers/nvme/target/admin-cmd.c 	u64 slot;
slot               46 drivers/nvme/target/admin-cmd.c 	slot = ctrl->err_counter % NVMET_ERROR_LOG_SLOTS;
slot               49 drivers/nvme/target/admin-cmd.c 		if (nvmet_copy_to_sgl(req, offset, &ctrl->slots[slot],
slot               53 drivers/nvme/target/admin-cmd.c 		if (slot == 0)
slot               54 drivers/nvme/target/admin-cmd.c 			slot = NVMET_ERROR_LOG_SLOTS - 1;
slot               56 drivers/nvme/target/admin-cmd.c 			slot--;
slot             1189 drivers/nvme/target/core.c 	void __rcu **slot;
slot             1191 drivers/nvme/target/core.c 	radix_tree_for_each_slot(slot, &ctrl->p2p_ns_map, &iter, 0)
slot             1192 drivers/nvme/target/core.c 		pci_dev_put(radix_tree_deref_slot(slot));
slot              312 drivers/parisc/eisa_enumerator.c static int parse_slot_config(int slot,
slot              334 drivers/parisc/eisa_enumerator.c 	       slot, board, es->flags&HPEE_FLAG_BOARD_IS_ISA ? "ISA" : "EISA");
slot              425 drivers/parisc/eisa_enumerator.c static int init_slot(int slot, struct eeprom_eisa_slot_info *es)
slot              433 drivers/parisc/eisa_enumerator.c 		id = le32_to_cpu(inl(SLOT2PORT(slot)+EPI));
slot              444 drivers/parisc/eisa_enumerator.c 			       slot);
slot              455 drivers/parisc/eisa_enumerator.c 			       slot, id_string);
slot              472 drivers/parisc/eisa_enumerator.c 		outb(0x01| inb(SLOT2PORT(slot)+EPI+4),
slot              473 drivers/parisc/eisa_enumerator.c 		     SLOT2PORT(slot)+EPI+4);
slot              390 drivers/parisc/iosapic.c irt_find_irqline(struct iosapic_info *isi, u8 slot, u8 intr_pin)
slot              394 drivers/parisc/iosapic.c 	u8 irq_devno = (slot << IRT_DEV_SHIFT) | (intr_pin-1);
slot              396 drivers/parisc/iosapic.c 	DBG_IRT("irt_find_irqline() SLOT %d pin %d\n", slot, intr_pin);
slot              440 drivers/parisc/iosapic.c 			isi->isi_hpa, slot, intr_pin);
slot              154 drivers/pci/controller/pci-hyperv.c 	u32 slot;
slot              624 drivers/pci/controller/pci-hyperv.c 	wslot.slot = 0;
slot              628 drivers/pci/controller/pci-hyperv.c 	return wslot.slot;
slot              643 drivers/pci/controller/pci-hyperv.c 	slot_no.slot = wslot;
slot              696 drivers/pci/controller/pci-hyperv.c 		writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr);
slot              733 drivers/pci/controller/pci-hyperv.c 	writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr);
slot              767 drivers/pci/controller/pci-hyperv.c 		writel(hpdev->desc.win_slot.slot, hpdev->hbus->cfg_addr);
slot              959 drivers/pci/controller/pci-hyperv.c 	read_blk->wslot.slot = devfn_to_wslot(pdev->devfn);
slot             1039 drivers/pci/controller/pci-hyperv.c 	write_blk->wslot.slot = devfn_to_wslot(pdev->devfn);
slot             1117 drivers/pci/controller/pci-hyperv.c 	int_pkt->wslot.slot = hpdev->desc.win_slot.slot;
slot             1299 drivers/pci/controller/pci-hyperv.c 	u32 slot, u8 vector)
slot             1302 drivers/pci/controller/pci-hyperv.c 	int_pkt->wslot.slot = slot;
slot             1318 drivers/pci/controller/pci-hyperv.c 	u32 slot, u8 vector)
slot             1323 drivers/pci/controller/pci-hyperv.c 	int_pkt->wslot.slot = slot;
slot             1401 drivers/pci/controller/pci-hyperv.c 					hpdev->desc.win_slot.slot,
slot             1408 drivers/pci/controller/pci-hyperv.c 					hpdev->desc.win_slot.slot,
slot             1761 drivers/pci/controller/pci-hyperv.c 		slot_nr = PCI_SLOT(wslot_to_devfn(hpdev->desc.win_slot.slot));
slot             1890 drivers/pci/controller/pci-hyperv.c 	res_req->wslot.slot = desc->win_slot.slot;
slot             1938 drivers/pci/controller/pci-hyperv.c 		if (iter->desc.win_slot.slot == wslot) {
slot             2024 drivers/pci/controller/pci-hyperv.c 			if ((hpdev->desc.win_slot.slot == new_desc->win_slot.slot) &&
slot             2182 drivers/pci/controller/pci-hyperv.c 	wslot = wslot_to_devfn(hpdev->desc.win_slot.slot);
slot             2201 drivers/pci/controller/pci-hyperv.c 	ejct_pkt->wslot.slot = hpdev->desc.win_slot.slot;
slot             2325 drivers/pci/controller/pci-hyperv.c 						      dev_message->wslot.slot);
slot             2336 drivers/pci/controller/pci-hyperv.c 							   inval->wslot.slot);
slot             2734 drivers/pci/controller/pci-hyperv.c 			res_assigned->wslot.slot = hpdev->desc.win_slot.slot;
slot             2740 drivers/pci/controller/pci-hyperv.c 			res_assigned2->wslot.slot = hpdev->desc.win_slot.slot;
slot             2788 drivers/pci/controller/pci-hyperv.c 		pkt.wslot.slot = hpdev->desc.win_slot.slot;
slot              749 drivers/pci/controller/pci-mvebu.c 		u32 slot = of_read_number(range + 1, 1);
slot              760 drivers/pci/controller/pci-mvebu.c 		if (slot == PCI_SLOT(devfn) && type == rtype) {
slot              114 drivers/pci/controller/pci-rcar-gen2.c 	int slot, val;
slot              120 drivers/pci/controller/pci-rcar-gen2.c 	slot = PCI_SLOT(devfn);
slot              121 drivers/pci/controller/pci-rcar-gen2.c 	if (slot > 2)
slot              125 drivers/pci/controller/pci-rcar-gen2.c 	if (slot == 0x0 && where >= 0x40)
slot              128 drivers/pci/controller/pci-rcar-gen2.c 	val = slot ? RCAR_AHBPCI_WIN1_DEVICE | RCAR_AHBPCI_WIN_CTR_CFG :
slot              132 drivers/pci/controller/pci-rcar-gen2.c 	return priv->reg + (slot >> 1) * 0x100 + where;
slot              136 drivers/pci/controller/pci-rcar-gen2.c static int rcar_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              142 drivers/pci/controller/pci-rcar-gen2.c 	irq = of_irq_parse_and_map_pci(dev, slot, pin);
slot              470 drivers/pci/controller/pci-tegra.c 		unsigned int slot = PCI_SLOT(devfn);
slot              474 drivers/pci/controller/pci-tegra.c 			if (port->index + 1 == slot) {
slot              832 drivers/pci/controller/pci-tegra.c static int tegra_pcie_map_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
slot              839 drivers/pci/controller/pci-tegra.c 	irq = of_irq_parse_and_map_pci(pdev, slot, pin);
slot              323 drivers/pci/controller/pci-v3-semi.c 		int slot = PCI_SLOT(devfn);
slot              338 drivers/pci/controller/pci-v3-semi.c 		if (slot > 12)
slot              342 drivers/pci/controller/pci-v3-semi.c 			mapaddress |= BIT(slot - 5);
slot              347 drivers/pci/controller/pci-v3-semi.c 			address |= BIT(slot + 11);
slot               35 drivers/pci/controller/pci-versatile.c 	int slot;
slot               37 drivers/pci/controller/pci-versatile.c 	while ((retval = get_option(&str, &slot))) {
slot               38 drivers/pci/controller/pci-versatile.c 		if ((slot < 0) || (slot > 31))
slot               39 drivers/pci/controller/pci-versatile.c 			pr_err("Illegal slot value: %d\n", slot);
slot               41 drivers/pci/controller/pci-versatile.c 			pci_slot_ignore |= (1 << slot);
slot               26 drivers/pci/controller/pcie-iproc-bcma.c static int iproc_pcie_bcma_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              462 drivers/pci/controller/pcie-iproc.c 					       unsigned int slot,
slot              471 drivers/pci/controller/pcie-iproc.c 		(slot << CFG_ADDR_DEV_NUM_SHIFT) |
slot              577 drivers/pci/controller/pcie-iproc.c 	unsigned int slot = PCI_SLOT(devfn);
slot              593 drivers/pci/controller/pcie-iproc.c 	cfg_data_p = iproc_pcie_map_ep_cfg_reg(pcie, busno, slot, fn, where);
slot              634 drivers/pci/controller/pcie-iproc.c 	unsigned slot = PCI_SLOT(devfn);
slot              640 drivers/pci/controller/pcie-iproc.c 		if (slot > 0 || fn > 0)
slot              652 drivers/pci/controller/pcie-iproc.c 	return iproc_pcie_map_ep_cfg_reg(pcie, busno, slot, fn, where);
slot              195 drivers/pci/controller/pcie-mediatek.c 	u32 slot;
slot              354 drivers/pci/controller/pcie-mediatek.c 		if (port->slot == PCI_SLOT(devfn))
slot              654 drivers/pci/controller/pcie-mediatek.c 	port->irq = platform_get_irq(pdev, port->slot);
slot              672 drivers/pci/controller/pcie-mediatek.c 		val |= PCIE_CSR_LTSSM_EN(port->slot) |
slot              673 drivers/pci/controller/pcie-mediatek.c 		       PCIE_CSR_ASPM_L1_EN(port->slot);
slot              755 drivers/pci/controller/pcie-mediatek.c 	u32 func = PCI_FUNC(port->slot << 3);
slot              756 drivers/pci/controller/pcie-mediatek.c 	u32 slot = PCI_SLOT(port->slot << 3);
slot              762 drivers/pci/controller/pcie-mediatek.c 	val |= PCIE_PORT_PERST(port->slot);
slot              767 drivers/pci/controller/pcie-mediatek.c 	val &= ~PCIE_PORT_PERST(port->slot);
slot              779 drivers/pci/controller/pcie-mediatek.c 	val |= PCIE_PORT_INT_EN(port->slot);
slot              790 drivers/pci/controller/pcie-mediatek.c 	writel(PCIE_CONF_ADDR(PCIE_FC_CREDIT, func, slot, 0),
slot              795 drivers/pci/controller/pcie-mediatek.c 	writel(PCIE_CONF_ADDR(PCIE_FC_CREDIT, func, slot, 0),
slot              800 drivers/pci/controller/pcie-mediatek.c 	writel(PCIE_CONF_ADDR(PCIE_FTS_NUM, func, slot, 0),
slot              805 drivers/pci/controller/pcie-mediatek.c 	writel(PCIE_CONF_ADDR(PCIE_FTS_NUM, func, slot, 0),
slot              820 drivers/pci/controller/pcie-mediatek.c 		dev_err(dev, "failed to enable sys_ck%d clock\n", port->slot);
slot              826 drivers/pci/controller/pcie-mediatek.c 		dev_err(dev, "failed to enable ahb_ck%d\n", port->slot);
slot              832 drivers/pci/controller/pcie-mediatek.c 		dev_err(dev, "failed to enable aux_ck%d\n", port->slot);
slot              838 drivers/pci/controller/pcie-mediatek.c 		dev_err(dev, "failed to enable axi_ck%d\n", port->slot);
slot              844 drivers/pci/controller/pcie-mediatek.c 		dev_err(dev, "failed to enable obff_ck%d\n", port->slot);
slot              850 drivers/pci/controller/pcie-mediatek.c 		dev_err(dev, "failed to enable pipe_ck%d\n", port->slot);
slot              859 drivers/pci/controller/pcie-mediatek.c 		dev_err(dev, "failed to initialize port%d phy\n", port->slot);
slot              865 drivers/pci/controller/pcie-mediatek.c 		dev_err(dev, "failed to power on port%d phy\n", port->slot);
slot              872 drivers/pci/controller/pcie-mediatek.c 	dev_info(dev, "Port%d link down\n", port->slot);
slot              895 drivers/pci/controller/pcie-mediatek.c 			       int slot)
slot              908 drivers/pci/controller/pcie-mediatek.c 	snprintf(name, sizeof(name), "port%d", slot);
slot              912 drivers/pci/controller/pcie-mediatek.c 		dev_err(dev, "failed to map port%d base\n", slot);
slot              916 drivers/pci/controller/pcie-mediatek.c 	snprintf(name, sizeof(name), "sys_ck%d", slot);
slot              919 drivers/pci/controller/pcie-mediatek.c 		dev_err(dev, "failed to get sys_ck%d clock\n", slot);
slot              924 drivers/pci/controller/pcie-mediatek.c 	snprintf(name, sizeof(name), "ahb_ck%d", slot);
slot              929 drivers/pci/controller/pcie-mediatek.c 	snprintf(name, sizeof(name), "axi_ck%d", slot);
slot              934 drivers/pci/controller/pcie-mediatek.c 	snprintf(name, sizeof(name), "aux_ck%d", slot);
slot              939 drivers/pci/controller/pcie-mediatek.c 	snprintf(name, sizeof(name), "obff_ck%d", slot);
slot              944 drivers/pci/controller/pcie-mediatek.c 	snprintf(name, sizeof(name), "pipe_ck%d", slot);
slot              949 drivers/pci/controller/pcie-mediatek.c 	snprintf(name, sizeof(name), "pcie-rst%d", slot);
slot              955 drivers/pci/controller/pcie-mediatek.c 	snprintf(name, sizeof(name), "pcie-phy%d", slot);
slot              960 drivers/pci/controller/pcie-mediatek.c 	port->slot = slot;
slot             1061 drivers/pci/controller/pcie-mediatek.c 		int slot;
slot             1069 drivers/pci/controller/pcie-mediatek.c 		slot = PCI_SLOT(err);
slot             1071 drivers/pci/controller/pcie-mediatek.c 		err = mtk_pcie_parse_port(pcie, child, slot);
slot               41 drivers/pci/hotplug/acpiphp.h static inline const char *slot_name(struct slot *slot)
slot               43 drivers/pci/hotplug/acpiphp.h 	return hotplug_slot_name(&slot->hotplug_slot);
slot               46 drivers/pci/hotplug/acpiphp.h static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
slot               48 drivers/pci/hotplug/acpiphp.h 	return container_of(hotplug_slot, struct slot, hotplug_slot);
slot               85 drivers/pci/hotplug/acpiphp.h 	struct slot *slot;
slot              100 drivers/pci/hotplug/acpiphp.h 	struct acpiphp_slot *slot;
slot              153 drivers/pci/hotplug/acpiphp.h 	int (*set_attn)(struct hotplug_slot *slot, u8 status);
slot              154 drivers/pci/hotplug/acpiphp.h 	int (*get_attn)(struct hotplug_slot *slot, u8 *status);
slot              176 drivers/pci/hotplug/acpiphp.h int acpiphp_register_hotplug_slot(struct acpiphp_slot *slot, unsigned int sun);
slot              177 drivers/pci/hotplug/acpiphp.h void acpiphp_unregister_hotplug_slot(struct acpiphp_slot *slot);
slot              180 drivers/pci/hotplug/acpiphp.h typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data);
slot              182 drivers/pci/hotplug/acpiphp.h int acpiphp_enable_slot(struct acpiphp_slot *slot);
slot              183 drivers/pci/hotplug/acpiphp.h int acpiphp_disable_slot(struct acpiphp_slot *slot);
slot              184 drivers/pci/hotplug/acpiphp.h u8 acpiphp_get_power_status(struct acpiphp_slot *slot);
slot              185 drivers/pci/hotplug/acpiphp.h u8 acpiphp_get_attention_status(struct acpiphp_slot *slot);
slot              186 drivers/pci/hotplug/acpiphp.h u8 acpiphp_get_latch_status(struct acpiphp_slot *slot);
slot              187 drivers/pci/hotplug/acpiphp.h u8 acpiphp_get_adapter_status(struct acpiphp_slot *slot);
slot               52 drivers/pci/hotplug/acpiphp_core.c static int enable_slot(struct hotplug_slot *slot);
slot               53 drivers/pci/hotplug/acpiphp_core.c static int disable_slot(struct hotplug_slot *slot);
slot               54 drivers/pci/hotplug/acpiphp_core.c static int set_attention_status(struct hotplug_slot *slot, u8 value);
slot               55 drivers/pci/hotplug/acpiphp_core.c static int get_power_status(struct hotplug_slot *slot, u8 *value);
slot               56 drivers/pci/hotplug/acpiphp_core.c static int get_attention_status(struct hotplug_slot *slot, u8 *value);
slot               57 drivers/pci/hotplug/acpiphp_core.c static int get_latch_status(struct hotplug_slot *slot, u8 *value);
slot               58 drivers/pci/hotplug/acpiphp_core.c static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
slot              121 drivers/pci/hotplug/acpiphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              123 drivers/pci/hotplug/acpiphp_core.c 	pr_debug("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              126 drivers/pci/hotplug/acpiphp_core.c 	return acpiphp_enable_slot(slot->acpi_slot);
slot              138 drivers/pci/hotplug/acpiphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              140 drivers/pci/hotplug/acpiphp_core.c 	pr_debug("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              143 drivers/pci/hotplug/acpiphp_core.c 	return acpiphp_disable_slot(slot->acpi_slot);
slot              182 drivers/pci/hotplug/acpiphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              184 drivers/pci/hotplug/acpiphp_core.c 	pr_debug("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              186 drivers/pci/hotplug/acpiphp_core.c 	*value = acpiphp_get_power_status(slot->acpi_slot);
slot              228 drivers/pci/hotplug/acpiphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              230 drivers/pci/hotplug/acpiphp_core.c 	pr_debug("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              232 drivers/pci/hotplug/acpiphp_core.c 	*value = acpiphp_get_latch_status(slot->acpi_slot);
slot              248 drivers/pci/hotplug/acpiphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              250 drivers/pci/hotplug/acpiphp_core.c 	pr_debug("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              252 drivers/pci/hotplug/acpiphp_core.c 	*value = acpiphp_get_adapter_status(slot->acpi_slot);
slot              261 drivers/pci/hotplug/acpiphp_core.c 	struct slot *slot;
slot              265 drivers/pci/hotplug/acpiphp_core.c 	slot = kzalloc(sizeof(*slot), GFP_KERNEL);
slot              266 drivers/pci/hotplug/acpiphp_core.c 	if (!slot)
slot              269 drivers/pci/hotplug/acpiphp_core.c 	slot->hotplug_slot.ops = &acpi_hotplug_slot_ops;
slot              271 drivers/pci/hotplug/acpiphp_core.c 	slot->acpi_slot = acpiphp_slot;
slot              273 drivers/pci/hotplug/acpiphp_core.c 	acpiphp_slot->slot = slot;
slot              274 drivers/pci/hotplug/acpiphp_core.c 	slot->sun = sun;
slot              277 drivers/pci/hotplug/acpiphp_core.c 	retval = pci_hp_register(&slot->hotplug_slot, acpiphp_slot->bus,
slot              286 drivers/pci/hotplug/acpiphp_core.c 	pr_info("Slot [%s] registered\n", slot_name(slot));
slot              290 drivers/pci/hotplug/acpiphp_core.c 	kfree(slot);
slot              298 drivers/pci/hotplug/acpiphp_core.c 	struct slot *slot = acpiphp_slot->slot;
slot              300 drivers/pci/hotplug/acpiphp_core.c 	pr_info("Slot [%s] unregistered\n", slot_name(slot));
slot              302 drivers/pci/hotplug/acpiphp_core.c 	pci_hp_deregister(&slot->hotplug_slot);
slot              303 drivers/pci/hotplug/acpiphp_core.c 	kfree(slot);
slot              145 drivers/pci/hotplug/acpiphp_glue.c 	struct acpiphp_slot *slot, *next;
slot              152 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry_safe(slot, next, &bridge->slots, node) {
slot              153 drivers/pci/hotplug/acpiphp_glue.c 		list_for_each_entry_safe(func, tmp, &slot->funcs, sibling)
slot              156 drivers/pci/hotplug/acpiphp_glue.c 		kfree(slot);
slot              190 drivers/pci/hotplug/acpiphp_glue.c 	bus = context->func.slot->bus;
slot              224 drivers/pci/hotplug/acpiphp_glue.c 	struct acpiphp_slot *slot;
slot              269 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry(slot, &bridge->slots, node)
slot              270 drivers/pci/hotplug/acpiphp_glue.c 		if (slot->device == device)
slot              273 drivers/pci/hotplug/acpiphp_glue.c 	slot = kzalloc(sizeof(struct acpiphp_slot), GFP_KERNEL);
slot              274 drivers/pci/hotplug/acpiphp_glue.c 	if (!slot) {
slot              281 drivers/pci/hotplug/acpiphp_glue.c 	slot->bus = bridge->pci_bus;
slot              282 drivers/pci/hotplug/acpiphp_glue.c 	slot->device = device;
slot              283 drivers/pci/hotplug/acpiphp_glue.c 	INIT_LIST_HEAD(&slot->funcs);
slot              285 drivers/pci/hotplug/acpiphp_glue.c 	list_add_tail(&slot->node, &bridge->slots);
slot              307 drivers/pci/hotplug/acpiphp_glue.c 		retval = acpiphp_register_hotplug_slot(slot, sun);
slot              309 drivers/pci/hotplug/acpiphp_glue.c 			slot->slot = NULL;
slot              320 drivers/pci/hotplug/acpiphp_glue.c 	newfunc->slot = slot;
slot              321 drivers/pci/hotplug/acpiphp_glue.c 	list_add_tail(&newfunc->sibling, &slot->funcs);
slot              325 drivers/pci/hotplug/acpiphp_glue.c 		slot->flags |= SLOT_ENABLED;
slot              332 drivers/pci/hotplug/acpiphp_glue.c 	struct acpiphp_slot *slot;
slot              335 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry(slot, &bridge->slots, node) {
slot              336 drivers/pci/hotplug/acpiphp_glue.c 		list_for_each_entry(func, &slot->funcs, sibling) {
slot              344 drivers/pci/hotplug/acpiphp_glue.c 		slot->flags |= SLOT_IS_GOING_AWAY;
slot              345 drivers/pci/hotplug/acpiphp_glue.c 		if (slot->slot)
slot              346 drivers/pci/hotplug/acpiphp_glue.c 			acpiphp_unregister_hotplug_slot(slot);
slot              385 drivers/pci/hotplug/acpiphp_glue.c static void acpiphp_set_acpi_region(struct acpiphp_slot *slot)
slot              391 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry(func, &slot->funcs, sibling) {
slot              404 drivers/pci/hotplug/acpiphp_glue.c static void check_hotplug_bridge(struct acpiphp_slot *slot, struct pci_dev *dev)
slot              412 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry(func, &slot->funcs, sibling) {
slot              420 drivers/pci/hotplug/acpiphp_glue.c static int acpiphp_rescan_slot(struct acpiphp_slot *slot)
slot              424 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry(func, &slot->funcs, sibling) {
slot              431 drivers/pci/hotplug/acpiphp_glue.c 	return pci_scan_slot(slot->bus, PCI_DEVFN(slot->device, 0));
slot              472 drivers/pci/hotplug/acpiphp_glue.c static void enable_slot(struct acpiphp_slot *slot, bool bridge)
slot              475 drivers/pci/hotplug/acpiphp_glue.c 	struct pci_bus *bus = slot->bus;
slot              487 drivers/pci/hotplug/acpiphp_glue.c 			if (PCI_SLOT(dev->devfn) == slot->device)
slot              494 drivers/pci/hotplug/acpiphp_glue.c 		acpiphp_rescan_slot(slot);
slot              498 drivers/pci/hotplug/acpiphp_glue.c 				if (PCI_SLOT(dev->devfn) != slot->device)
slot              503 drivers/pci/hotplug/acpiphp_glue.c 					check_hotplug_bridge(slot, dev);
slot              515 drivers/pci/hotplug/acpiphp_glue.c 	acpiphp_set_acpi_region(slot);
slot              525 drivers/pci/hotplug/acpiphp_glue.c 	slot->flags |= SLOT_ENABLED;
slot              526 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry(func, &slot->funcs, sibling) {
slot              527 drivers/pci/hotplug/acpiphp_glue.c 		dev = pci_get_slot(bus, PCI_DEVFN(slot->device,
slot              532 drivers/pci/hotplug/acpiphp_glue.c 			slot->flags &= ~SLOT_ENABLED;
slot              542 drivers/pci/hotplug/acpiphp_glue.c static void disable_slot(struct acpiphp_slot *slot)
slot              544 drivers/pci/hotplug/acpiphp_glue.c 	struct pci_bus *bus = slot->bus;
slot              555 drivers/pci/hotplug/acpiphp_glue.c 		if (PCI_SLOT(dev->devfn) == slot->device)
slot              558 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry(func, &slot->funcs, sibling)
slot              561 drivers/pci/hotplug/acpiphp_glue.c 	slot->flags &= ~SLOT_ENABLED;
slot              564 drivers/pci/hotplug/acpiphp_glue.c static bool slot_no_hotplug(struct acpiphp_slot *slot)
slot              566 drivers/pci/hotplug/acpiphp_glue.c 	struct pci_bus *bus = slot->bus;
slot              570 drivers/pci/hotplug/acpiphp_glue.c 		if (PCI_SLOT(dev->devfn) == slot->device && dev->ignore_hotplug)
slot              588 drivers/pci/hotplug/acpiphp_glue.c static unsigned int get_slot_status(struct acpiphp_slot *slot)
slot              594 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry(func, &slot->funcs, sibling) {
slot              603 drivers/pci/hotplug/acpiphp_glue.c 			if (pci_bus_read_dev_vendor_id(slot->bus,
slot              604 drivers/pci/hotplug/acpiphp_glue.c 					PCI_DEVFN(slot->device, func->function),
slot              618 drivers/pci/hotplug/acpiphp_glue.c 		if (pci_bus_read_dev_vendor_id(slot->bus,
slot              619 drivers/pci/hotplug/acpiphp_glue.c 				PCI_DEVFN(slot->device, 0), &dvid, 0)) {
slot              688 drivers/pci/hotplug/acpiphp_glue.c 	struct acpiphp_slot *slot;
slot              697 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry(slot, &bridge->slots, node) {
slot              698 drivers/pci/hotplug/acpiphp_glue.c 		struct pci_bus *bus = slot->bus;
slot              701 drivers/pci/hotplug/acpiphp_glue.c 		if (slot_no_hotplug(slot)) {
slot              703 drivers/pci/hotplug/acpiphp_glue.c 		} else if (device_status_valid(get_slot_status(slot))) {
slot              707 drivers/pci/hotplug/acpiphp_glue.c 				if (PCI_SLOT(dev->devfn) == slot->device)
slot              711 drivers/pci/hotplug/acpiphp_glue.c 			enable_slot(slot, true);
slot              713 drivers/pci/hotplug/acpiphp_glue.c 			disable_slot(slot);
slot              770 drivers/pci/hotplug/acpiphp_glue.c static int acpiphp_disable_and_eject_slot(struct acpiphp_slot *slot);
slot              776 drivers/pci/hotplug/acpiphp_glue.c 	struct acpiphp_slot *slot = func->slot;
slot              794 drivers/pci/hotplug/acpiphp_glue.c 		else if (!(slot->flags & SLOT_IS_GOING_AWAY))
slot              795 drivers/pci/hotplug/acpiphp_glue.c 			enable_slot(slot, false);
slot              804 drivers/pci/hotplug/acpiphp_glue.c 		} else if (!(slot->flags & SLOT_IS_GOING_AWAY)) {
slot              809 drivers/pci/hotplug/acpiphp_glue.c 			if (acpiphp_rescan_slot(slot))
slot              817 drivers/pci/hotplug/acpiphp_glue.c 		acpiphp_disable_and_eject_slot(slot);
slot              972 drivers/pci/hotplug/acpiphp_glue.c int acpiphp_enable_slot(struct acpiphp_slot *slot)
slot              976 drivers/pci/hotplug/acpiphp_glue.c 	if (slot->flags & SLOT_IS_GOING_AWAY) {
slot              982 drivers/pci/hotplug/acpiphp_glue.c 	if (!(slot->flags & SLOT_ENABLED))
slot              983 drivers/pci/hotplug/acpiphp_glue.c 		enable_slot(slot, false);
slot              993 drivers/pci/hotplug/acpiphp_glue.c static int acpiphp_disable_and_eject_slot(struct acpiphp_slot *slot)
slot              997 drivers/pci/hotplug/acpiphp_glue.c 	if (slot->flags & SLOT_IS_GOING_AWAY)
slot             1001 drivers/pci/hotplug/acpiphp_glue.c 	disable_slot(slot);
slot             1003 drivers/pci/hotplug/acpiphp_glue.c 	list_for_each_entry(func, &slot->funcs, sibling)
slot             1016 drivers/pci/hotplug/acpiphp_glue.c int acpiphp_disable_slot(struct acpiphp_slot *slot)
slot             1026 drivers/pci/hotplug/acpiphp_glue.c 	ret = acpiphp_disable_and_eject_slot(slot);
slot             1036 drivers/pci/hotplug/acpiphp_glue.c u8 acpiphp_get_power_status(struct acpiphp_slot *slot)
slot             1038 drivers/pci/hotplug/acpiphp_glue.c 	return (slot->flags & SLOT_ENABLED);
slot             1045 drivers/pci/hotplug/acpiphp_glue.c u8 acpiphp_get_latch_status(struct acpiphp_slot *slot)
slot             1047 drivers/pci/hotplug/acpiphp_glue.c 	return !(get_slot_status(slot) & ACPI_STA_DEVICE_UI);
slot             1054 drivers/pci/hotplug/acpiphp_glue.c u8 acpiphp_get_adapter_status(struct acpiphp_slot *slot)
slot             1056 drivers/pci/hotplug/acpiphp_glue.c 	return !!get_slot_status(slot);
slot               67 drivers/pci/hotplug/acpiphp_ibm.c 	} slot;
slot               82 drivers/pci/hotplug/acpiphp_ibm.c static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status);
slot               83 drivers/pci/hotplug/acpiphp_ibm.c static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status);
slot              135 drivers/pci/hotplug/acpiphp_ibm.c 			des->slot.slot_num != id)) {
slot              139 drivers/pci/hotplug/acpiphp_ibm.c 	if (ind < size && des->slot.slot_num == id)
slot              160 drivers/pci/hotplug/acpiphp_ibm.c static int ibm_set_attention_status(struct hotplug_slot *slot, u8 status)
slot              167 drivers/pci/hotplug/acpiphp_ibm.c 	int id = hpslot_to_sun(slot);
slot              176 drivers/pci/hotplug/acpiphp_ibm.c 			ibm_slot->slot.slot_num, ibm_slot->slot.slot_id,
slot              180 drivers/pci/hotplug/acpiphp_ibm.c 	args[0].integer.value = ibm_slot->slot.slot_id;
slot              209 drivers/pci/hotplug/acpiphp_ibm.c static int ibm_get_attention_status(struct hotplug_slot *slot, u8 *status)
slot              212 drivers/pci/hotplug/acpiphp_ibm.c 	int id = hpslot_to_sun(slot);
slot              220 drivers/pci/hotplug/acpiphp_ibm.c 	if (ibm_slot->slot.attn & 0xa0 || ibm_slot->slot.status[1] & 0x08)
slot              226 drivers/pci/hotplug/acpiphp_ibm.c 			ibm_slot->slot.slot_num, ibm_slot->slot.slot_id,
slot               47 drivers/pci/hotplug/cpci_hotplug.h 	int (*hardware_test)(struct slot *slot, u32 value);
slot               48 drivers/pci/hotplug/cpci_hotplug.h 	u8  (*get_power)(struct slot *slot);
slot               49 drivers/pci/hotplug/cpci_hotplug.h 	int (*set_power)(struct slot *slot, int value);
slot               61 drivers/pci/hotplug/cpci_hotplug.h static inline const char *slot_name(struct slot *slot)
slot               63 drivers/pci/hotplug/cpci_hotplug.h 	return hotplug_slot_name(&slot->hotplug_slot);
slot               66 drivers/pci/hotplug/cpci_hotplug.h static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
slot               68 drivers/pci/hotplug/cpci_hotplug.h 	return container_of(hotplug_slot, struct slot, hotplug_slot);
slot               82 drivers/pci/hotplug/cpci_hotplug.h u8 cpci_get_attention_status(struct slot *slot);
slot               83 drivers/pci/hotplug/cpci_hotplug.h u8 cpci_get_latch_status(struct slot *slot);
slot               84 drivers/pci/hotplug/cpci_hotplug.h u8 cpci_get_adapter_status(struct slot *slot);
slot               85 drivers/pci/hotplug/cpci_hotplug.h u16 cpci_get_hs_csr(struct slot *slot);
slot               86 drivers/pci/hotplug/cpci_hotplug.h int cpci_set_attention_status(struct slot *slot, int status);
slot               87 drivers/pci/hotplug/cpci_hotplug.h int cpci_check_and_clear_ins(struct slot *slot);
slot               88 drivers/pci/hotplug/cpci_hotplug.h int cpci_check_ext(struct slot *slot);
slot               89 drivers/pci/hotplug/cpci_hotplug.h int cpci_clear_ext(struct slot *slot);
slot               90 drivers/pci/hotplug/cpci_hotplug.h int cpci_led_on(struct slot *slot);
slot               91 drivers/pci/hotplug/cpci_hotplug.h int cpci_led_off(struct slot *slot);
slot               92 drivers/pci/hotplug/cpci_hotplug.h int cpci_configure_slot(struct slot *slot);
slot               93 drivers/pci/hotplug/cpci_hotplug.h int cpci_unconfigure_slot(struct slot *slot);
slot               52 drivers/pci/hotplug/cpci_hotplug_core.c static int enable_slot(struct hotplug_slot *slot);
slot               53 drivers/pci/hotplug/cpci_hotplug_core.c static int disable_slot(struct hotplug_slot *slot);
slot               54 drivers/pci/hotplug/cpci_hotplug_core.c static int set_attention_status(struct hotplug_slot *slot, u8 value);
slot               55 drivers/pci/hotplug/cpci_hotplug_core.c static int get_power_status(struct hotplug_slot *slot, u8 *value);
slot               56 drivers/pci/hotplug/cpci_hotplug_core.c static int get_attention_status(struct hotplug_slot *slot, u8 *value);
slot               57 drivers/pci/hotplug/cpci_hotplug_core.c static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
slot               58 drivers/pci/hotplug/cpci_hotplug_core.c static int get_latch_status(struct hotplug_slot *slot, u8 *value);
slot               73 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot               76 drivers/pci/hotplug/cpci_hotplug_core.c 	dbg("%s - physical_slot = %s", __func__, slot_name(slot));
slot               79 drivers/pci/hotplug/cpci_hotplug_core.c 		retval = controller->ops->set_power(slot, 1);
slot               86 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot               89 drivers/pci/hotplug/cpci_hotplug_core.c 	dbg("%s - physical_slot = %s", __func__, slot_name(slot));
slot               94 drivers/pci/hotplug/cpci_hotplug_core.c 	dbg("%s - unconfiguring slot %s", __func__, slot_name(slot));
slot               95 drivers/pci/hotplug/cpci_hotplug_core.c 	retval = cpci_unconfigure_slot(slot);
slot               98 drivers/pci/hotplug/cpci_hotplug_core.c 		    __func__, slot_name(slot));
slot              101 drivers/pci/hotplug/cpci_hotplug_core.c 	dbg("%s - finished unconfiguring slot %s", __func__, slot_name(slot));
slot              104 drivers/pci/hotplug/cpci_hotplug_core.c 	if (cpci_clear_ext(slot)) {
slot              106 drivers/pci/hotplug/cpci_hotplug_core.c 		    __func__, slot_name(slot));
slot              110 drivers/pci/hotplug/cpci_hotplug_core.c 	cpci_led_on(slot);
slot              113 drivers/pci/hotplug/cpci_hotplug_core.c 		retval = controller->ops->set_power(slot, 0);
slot              118 drivers/pci/hotplug/cpci_hotplug_core.c 	slot->adapter_status = 0;
slot              120 drivers/pci/hotplug/cpci_hotplug_core.c 	if (slot->extracting) {
slot              121 drivers/pci/hotplug/cpci_hotplug_core.c 		slot->extracting = 0;
slot              130 drivers/pci/hotplug/cpci_hotplug_core.c cpci_get_power_status(struct slot *slot)
slot              135 drivers/pci/hotplug/cpci_hotplug_core.c 		power = controller->ops->get_power(slot);
slot              142 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              144 drivers/pci/hotplug/cpci_hotplug_core.c 	*value = cpci_get_power_status(slot);
slot              151 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              153 drivers/pci/hotplug/cpci_hotplug_core.c 	*value = cpci_get_attention_status(slot);
slot              166 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              168 drivers/pci/hotplug/cpci_hotplug_core.c 	*value = slot->adapter_status;
slot              175 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              177 drivers/pci/hotplug/cpci_hotplug_core.c 	*value = slot->latch_status;
slot              181 drivers/pci/hotplug/cpci_hotplug_core.c static void release_slot(struct slot *slot)
slot              183 drivers/pci/hotplug/cpci_hotplug_core.c 	pci_dev_put(slot->dev);
slot              184 drivers/pci/hotplug/cpci_hotplug_core.c 	kfree(slot);
slot              192 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot;
slot              205 drivers/pci/hotplug/cpci_hotplug_core.c 		slot = kzalloc(sizeof(struct slot), GFP_KERNEL);
slot              206 drivers/pci/hotplug/cpci_hotplug_core.c 		if (!slot) {
slot              211 drivers/pci/hotplug/cpci_hotplug_core.c 		slot->bus = bus;
slot              212 drivers/pci/hotplug/cpci_hotplug_core.c 		slot->number = i;
slot              213 drivers/pci/hotplug/cpci_hotplug_core.c 		slot->devfn = PCI_DEVFN(i, 0);
slot              217 drivers/pci/hotplug/cpci_hotplug_core.c 		slot->hotplug_slot.ops = &cpci_hotplug_slot_ops;
slot              220 drivers/pci/hotplug/cpci_hotplug_core.c 		status = pci_hp_register(&slot->hotplug_slot, bus, i, name);
slot              225 drivers/pci/hotplug/cpci_hotplug_core.c 		dbg("slot registered with name: %s", slot_name(slot));
slot              229 drivers/pci/hotplug/cpci_hotplug_core.c 		list_add(&slot->slot_list, &slot_list);
slot              235 drivers/pci/hotplug/cpci_hotplug_core.c 	kfree(slot);
slot              244 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot;
slot              245 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *tmp;
slot              253 drivers/pci/hotplug/cpci_hotplug_core.c 	list_for_each_entry_safe(slot, tmp, &slot_list, slot_list) {
slot              254 drivers/pci/hotplug/cpci_hotplug_core.c 		if (slot->bus == bus) {
slot              255 drivers/pci/hotplug/cpci_hotplug_core.c 			list_del(&slot->slot_list);
slot              258 drivers/pci/hotplug/cpci_hotplug_core.c 			dbg("deregistering slot %s", slot_name(slot));
slot              259 drivers/pci/hotplug/cpci_hotplug_core.c 			pci_hp_deregister(&slot->hotplug_slot);
slot              260 drivers/pci/hotplug/cpci_hotplug_core.c 			release_slot(slot);
slot              297 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot;
slot              306 drivers/pci/hotplug/cpci_hotplug_core.c 	list_for_each_entry(slot, &slot_list, slot_list) {
slot              307 drivers/pci/hotplug/cpci_hotplug_core.c 		dbg("%s - looking at slot %s", __func__, slot_name(slot));
slot              308 drivers/pci/hotplug/cpci_hotplug_core.c 		if (clear_ins && cpci_check_and_clear_ins(slot))
slot              310 drivers/pci/hotplug/cpci_hotplug_core.c 			    __func__, slot_name(slot));
slot              311 drivers/pci/hotplug/cpci_hotplug_core.c 		dev = pci_get_slot(slot->bus, PCI_DEVFN(slot->number, 0));
slot              313 drivers/pci/hotplug/cpci_hotplug_core.c 			slot->adapter_status = 1;
slot              314 drivers/pci/hotplug/cpci_hotplug_core.c 			slot->latch_status = 1;
slot              315 drivers/pci/hotplug/cpci_hotplug_core.c 			slot->dev = dev;
slot              326 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot;
slot              338 drivers/pci/hotplug/cpci_hotplug_core.c 	list_for_each_entry(slot, &slot_list, slot_list) {
slot              339 drivers/pci/hotplug/cpci_hotplug_core.c 		dbg("%s - looking at slot %s", __func__, slot_name(slot));
slot              340 drivers/pci/hotplug/cpci_hotplug_core.c 		if (cpci_check_and_clear_ins(slot)) {
slot              345 drivers/pci/hotplug/cpci_hotplug_core.c 			if (slot->dev) {
slot              347 drivers/pci/hotplug/cpci_hotplug_core.c 				     slot_name(slot));
slot              353 drivers/pci/hotplug/cpci_hotplug_core.c 			dbg("%s - slot %s inserted", __func__, slot_name(slot));
slot              356 drivers/pci/hotplug/cpci_hotplug_core.c 			hs_csr = cpci_get_hs_csr(slot);
slot              358 drivers/pci/hotplug/cpci_hotplug_core.c 			    __func__, slot_name(slot), hs_csr);
slot              362 drivers/pci/hotplug/cpci_hotplug_core.c 			    __func__, slot_name(slot));
slot              363 drivers/pci/hotplug/cpci_hotplug_core.c 			if (cpci_configure_slot(slot)) {
slot              365 drivers/pci/hotplug/cpci_hotplug_core.c 				    __func__, slot_name(slot));
slot              369 drivers/pci/hotplug/cpci_hotplug_core.c 			    __func__, slot_name(slot));
slot              372 drivers/pci/hotplug/cpci_hotplug_core.c 			hs_csr = cpci_get_hs_csr(slot);
slot              374 drivers/pci/hotplug/cpci_hotplug_core.c 			    __func__, slot_name(slot), hs_csr);
slot              376 drivers/pci/hotplug/cpci_hotplug_core.c 			slot->latch_status = 1;
slot              377 drivers/pci/hotplug/cpci_hotplug_core.c 			slot->adapter_status = 1;
slot              379 drivers/pci/hotplug/cpci_hotplug_core.c 			cpci_led_off(slot);
slot              382 drivers/pci/hotplug/cpci_hotplug_core.c 			hs_csr = cpci_get_hs_csr(slot);
slot              384 drivers/pci/hotplug/cpci_hotplug_core.c 			    __func__, slot_name(slot), hs_csr);
slot              387 drivers/pci/hotplug/cpci_hotplug_core.c 		} else if (cpci_check_ext(slot)) {
slot              390 drivers/pci/hotplug/cpci_hotplug_core.c 			    __func__, slot_name(slot));
slot              393 drivers/pci/hotplug/cpci_hotplug_core.c 			hs_csr = cpci_get_hs_csr(slot);
slot              395 drivers/pci/hotplug/cpci_hotplug_core.c 			    __func__, slot_name(slot), hs_csr);
slot              397 drivers/pci/hotplug/cpci_hotplug_core.c 			if (!slot->extracting) {
slot              398 drivers/pci/hotplug/cpci_hotplug_core.c 				slot->latch_status = 0;
slot              399 drivers/pci/hotplug/cpci_hotplug_core.c 				slot->extracting = 1;
slot              403 drivers/pci/hotplug/cpci_hotplug_core.c 		} else if (slot->extracting) {
slot              404 drivers/pci/hotplug/cpci_hotplug_core.c 			hs_csr = cpci_get_hs_csr(slot);
slot              411 drivers/pci/hotplug/cpci_hotplug_core.c 				    slot_name(slot));
slot              412 drivers/pci/hotplug/cpci_hotplug_core.c 				slot->adapter_status = 0;
slot              413 drivers/pci/hotplug/cpci_hotplug_core.c 				slot->extracting = 0;
slot              549 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *slot;
slot              550 drivers/pci/hotplug/cpci_hotplug_core.c 	struct slot *tmp;
slot              559 drivers/pci/hotplug/cpci_hotplug_core.c 	list_for_each_entry_safe(slot, tmp, &slot_list, slot_list) {
slot              560 drivers/pci/hotplug/cpci_hotplug_core.c 		list_del(&slot->slot_list);
slot              561 drivers/pci/hotplug/cpci_hotplug_core.c 		pci_hp_deregister(&slot->hotplug_slot);
slot              562 drivers/pci/hotplug/cpci_hotplug_core.c 		release_slot(slot);
slot               35 drivers/pci/hotplug/cpci_hotplug_pci.c u8 cpci_get_attention_status(struct slot *slot)
slot               40 drivers/pci/hotplug/cpci_hotplug_pci.c 	hs_cap = pci_bus_find_capability(slot->bus,
slot               41 drivers/pci/hotplug/cpci_hotplug_pci.c 					 slot->devfn,
slot               46 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (pci_bus_read_config_word(slot->bus,
slot               47 drivers/pci/hotplug/cpci_hotplug_pci.c 				     slot->devfn,
slot               55 drivers/pci/hotplug/cpci_hotplug_pci.c int cpci_set_attention_status(struct slot *slot, int status)
slot               60 drivers/pci/hotplug/cpci_hotplug_pci.c 	hs_cap = pci_bus_find_capability(slot->bus,
slot               61 drivers/pci/hotplug/cpci_hotplug_pci.c 					 slot->devfn,
slot               65 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (pci_bus_read_config_word(slot->bus,
slot               66 drivers/pci/hotplug/cpci_hotplug_pci.c 				     slot->devfn,
slot               74 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (pci_bus_write_config_word(slot->bus,
slot               75 drivers/pci/hotplug/cpci_hotplug_pci.c 				      slot->devfn,
slot               82 drivers/pci/hotplug/cpci_hotplug_pci.c u16 cpci_get_hs_csr(struct slot *slot)
slot               87 drivers/pci/hotplug/cpci_hotplug_pci.c 	hs_cap = pci_bus_find_capability(slot->bus,
slot               88 drivers/pci/hotplug/cpci_hotplug_pci.c 					 slot->devfn,
slot               92 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (pci_bus_read_config_word(slot->bus,
slot               93 drivers/pci/hotplug/cpci_hotplug_pci.c 				     slot->devfn,
slot              100 drivers/pci/hotplug/cpci_hotplug_pci.c int cpci_check_and_clear_ins(struct slot *slot)
slot              106 drivers/pci/hotplug/cpci_hotplug_pci.c 	hs_cap = pci_bus_find_capability(slot->bus,
slot              107 drivers/pci/hotplug/cpci_hotplug_pci.c 					 slot->devfn,
slot              111 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (pci_bus_read_config_word(slot->bus,
slot              112 drivers/pci/hotplug/cpci_hotplug_pci.c 				     slot->devfn,
slot              118 drivers/pci/hotplug/cpci_hotplug_pci.c 		if (pci_bus_write_config_word(slot->bus,
slot              119 drivers/pci/hotplug/cpci_hotplug_pci.c 					      slot->devfn,
slot              129 drivers/pci/hotplug/cpci_hotplug_pci.c int cpci_check_ext(struct slot *slot)
slot              135 drivers/pci/hotplug/cpci_hotplug_pci.c 	hs_cap = pci_bus_find_capability(slot->bus,
slot              136 drivers/pci/hotplug/cpci_hotplug_pci.c 					 slot->devfn,
slot              140 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (pci_bus_read_config_word(slot->bus,
slot              141 drivers/pci/hotplug/cpci_hotplug_pci.c 				     slot->devfn,
slot              150 drivers/pci/hotplug/cpci_hotplug_pci.c int cpci_clear_ext(struct slot *slot)
slot              155 drivers/pci/hotplug/cpci_hotplug_pci.c 	hs_cap = pci_bus_find_capability(slot->bus,
slot              156 drivers/pci/hotplug/cpci_hotplug_pci.c 					 slot->devfn,
slot              160 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (pci_bus_read_config_word(slot->bus,
slot              161 drivers/pci/hotplug/cpci_hotplug_pci.c 				     slot->devfn,
slot              167 drivers/pci/hotplug/cpci_hotplug_pci.c 		if (pci_bus_write_config_word(slot->bus,
slot              168 drivers/pci/hotplug/cpci_hotplug_pci.c 					      slot->devfn,
slot              176 drivers/pci/hotplug/cpci_hotplug_pci.c int cpci_led_on(struct slot *slot)
slot              181 drivers/pci/hotplug/cpci_hotplug_pci.c 	hs_cap = pci_bus_find_capability(slot->bus,
slot              182 drivers/pci/hotplug/cpci_hotplug_pci.c 					 slot->devfn,
slot              186 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (pci_bus_read_config_word(slot->bus,
slot              187 drivers/pci/hotplug/cpci_hotplug_pci.c 				     slot->devfn,
slot              193 drivers/pci/hotplug/cpci_hotplug_pci.c 		if (pci_bus_write_config_word(slot->bus,
slot              194 drivers/pci/hotplug/cpci_hotplug_pci.c 					      slot->devfn,
slot              197 drivers/pci/hotplug/cpci_hotplug_pci.c 			err("Could not set LOO for slot %s", slot_name(slot));
slot              204 drivers/pci/hotplug/cpci_hotplug_pci.c int cpci_led_off(struct slot *slot)
slot              209 drivers/pci/hotplug/cpci_hotplug_pci.c 	hs_cap = pci_bus_find_capability(slot->bus,
slot              210 drivers/pci/hotplug/cpci_hotplug_pci.c 					 slot->devfn,
slot              214 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (pci_bus_read_config_word(slot->bus,
slot              215 drivers/pci/hotplug/cpci_hotplug_pci.c 				     slot->devfn,
slot              221 drivers/pci/hotplug/cpci_hotplug_pci.c 		if (pci_bus_write_config_word(slot->bus,
slot              222 drivers/pci/hotplug/cpci_hotplug_pci.c 					      slot->devfn,
slot              225 drivers/pci/hotplug/cpci_hotplug_pci.c 			err("Could not clear LOO for slot %s", slot_name(slot));
slot              237 drivers/pci/hotplug/cpci_hotplug_pci.c int cpci_configure_slot(struct slot *slot)
slot              247 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (slot->dev == NULL) {
slot              249 drivers/pci/hotplug/cpci_hotplug_pci.c 		    slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn));
slot              250 drivers/pci/hotplug/cpci_hotplug_pci.c 		slot->dev = pci_get_slot(slot->bus, slot->devfn);
slot              254 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (slot->dev == NULL) {
slot              262 drivers/pci/hotplug/cpci_hotplug_pci.c 		n = pci_scan_slot(slot->bus, slot->devfn);
slot              264 drivers/pci/hotplug/cpci_hotplug_pci.c 		slot->dev = pci_get_slot(slot->bus, slot->devfn);
slot              265 drivers/pci/hotplug/cpci_hotplug_pci.c 		if (slot->dev == NULL) {
slot              266 drivers/pci/hotplug/cpci_hotplug_pci.c 			err("Could not find PCI device for slot %02x", slot->number);
slot              271 drivers/pci/hotplug/cpci_hotplug_pci.c 	parent = slot->dev->bus;
slot              274 drivers/pci/hotplug/cpci_hotplug_pci.c 		if (PCI_SLOT(dev->devfn) == PCI_SLOT(slot->devfn))
slot              288 drivers/pci/hotplug/cpci_hotplug_pci.c int cpci_unconfigure_slot(struct slot *slot)
slot              293 drivers/pci/hotplug/cpci_hotplug_pci.c 	if (!slot->dev) {
slot              294 drivers/pci/hotplug/cpci_hotplug_pci.c 		err("No device for slot %02x\n", slot->number);
slot              300 drivers/pci/hotplug/cpci_hotplug_pci.c 	list_for_each_entry_safe(dev, temp, &slot->bus->devices, bus_list) {
slot              301 drivers/pci/hotplug/cpci_hotplug_pci.c 		if (PCI_SLOT(dev->devfn) != PCI_SLOT(slot->devfn))
slot              307 drivers/pci/hotplug/cpci_hotplug_pci.c 	pci_dev_put(slot->dev);
slot              308 drivers/pci/hotplug/cpci_hotplug_pci.c 	slot->dev = NULL;
slot              248 drivers/pci/hotplug/cpqphp.h 	struct slot *next;
slot              289 drivers/pci/hotplug/cpqphp.h 	struct slot *slot;
slot              418 drivers/pci/hotplug/cpqphp.h 		      u8 slot);
slot              446 drivers/pci/hotplug/cpqphp.h static inline const char *slot_name(struct slot *slot)
slot              448 drivers/pci/hotplug/cpqphp.h 	return hotplug_slot_name(&slot->hotplug_slot);
slot              451 drivers/pci/hotplug/cpqphp.h static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
slot              453 drivers/pci/hotplug/cpqphp.h 	return container_of(hotplug_slot, struct slot, hotplug_slot);
slot              480 drivers/pci/hotplug/cpqphp.h static inline void amber_LED_on(struct controller *ctrl, u8 slot)
slot              485 drivers/pci/hotplug/cpqphp.h 	led_control |= (0x01010000L << slot);
slot              490 drivers/pci/hotplug/cpqphp.h static inline void amber_LED_off(struct controller *ctrl, u8 slot)
slot              495 drivers/pci/hotplug/cpqphp.h 	led_control &= ~(0x01010000L << slot);
slot              500 drivers/pci/hotplug/cpqphp.h static inline int read_amber_LED(struct controller *ctrl, u8 slot)
slot              505 drivers/pci/hotplug/cpqphp.h 	led_control &= (0x01010000L << slot);
slot              511 drivers/pci/hotplug/cpqphp.h static inline void green_LED_on(struct controller *ctrl, u8 slot)
slot              516 drivers/pci/hotplug/cpqphp.h 	led_control |= 0x0101L << slot;
slot              520 drivers/pci/hotplug/cpqphp.h static inline void green_LED_off(struct controller *ctrl, u8 slot)
slot              525 drivers/pci/hotplug/cpqphp.h 	led_control &= ~(0x0101L << slot);
slot              530 drivers/pci/hotplug/cpqphp.h static inline void green_LED_blink(struct controller *ctrl, u8 slot)
slot              535 drivers/pci/hotplug/cpqphp.h 	led_control &= ~(0x0101L << slot);
slot              536 drivers/pci/hotplug/cpqphp.h 	led_control |= (0x0001L << slot);
slot              541 drivers/pci/hotplug/cpqphp.h static inline void slot_disable(struct controller *ctrl, u8 slot)
slot              546 drivers/pci/hotplug/cpqphp.h 	slot_enable &= ~(0x01 << slot);
slot              551 drivers/pci/hotplug/cpqphp.h static inline void slot_enable(struct controller *ctrl, u8 slot)
slot              556 drivers/pci/hotplug/cpqphp.h 	slot_enable |= (0x01 << slot);
slot              561 drivers/pci/hotplug/cpqphp.h static inline u8 is_slot_enabled(struct controller *ctrl, u8 slot)
slot              566 drivers/pci/hotplug/cpqphp.h 	slot_enable &= (0x01 << slot);
slot              633 drivers/pci/hotplug/cpqphp.h static inline void enable_slot_power(struct controller *ctrl, u8 slot)
slot              638 drivers/pci/hotplug/cpqphp.h 	slot_power |= (0x01 << slot);
slot              642 drivers/pci/hotplug/cpqphp.h static inline void disable_slot_power(struct controller *ctrl, u8 slot)
slot              647 drivers/pci/hotplug/cpqphp.h 	slot_power &= ~(0x01 << slot);
slot              652 drivers/pci/hotplug/cpqphp.h static inline int cpq_get_attention_status(struct controller *ctrl, struct slot *slot)
slot              656 drivers/pci/hotplug/cpqphp.h 	hp_slot = slot->device - ctrl->slot_device_offset;
slot              662 drivers/pci/hotplug/cpqphp.h static inline int get_slot_enabled(struct controller *ctrl, struct slot *slot)
slot              666 drivers/pci/hotplug/cpqphp.h 	hp_slot = slot->device - ctrl->slot_device_offset;
slot              673 drivers/pci/hotplug/cpqphp.h 				       struct slot *slot)
slot              678 drivers/pci/hotplug/cpqphp.h 	hp_slot = slot->device - ctrl->slot_device_offset;
slot              680 drivers/pci/hotplug/cpqphp.h 	    __func__, slot->device, ctrl->slot_device_offset);
slot              689 drivers/pci/hotplug/cpqphp.h 				      struct slot *slot)
slot              695 drivers/pci/hotplug/cpqphp.h 	hp_slot = slot->device - ctrl->slot_device_offset;
slot               66 drivers/pci/hotplug/cpqphp_core.c static inline int is_slot64bit(struct slot *slot)
slot               68 drivers/pci/hotplug/cpqphp_core.c 	return (readb(slot->p_sm_slot + SMBIOS_SLOT_WIDTH) == 0x06) ? 1 : 0;
slot               71 drivers/pci/hotplug/cpqphp_core.c static inline int is_slot66mhz(struct slot *slot)
slot               73 drivers/pci/hotplug/cpqphp_core.c 	return (readb(slot->p_sm_slot + SMBIOS_SLOT_TYPE) == 0x0E) ? 1 : 0;
slot              172 drivers/pci/hotplug/cpqphp_core.c 		tslot = cpqhp_routing_table->slots[loop].slot;
slot              268 drivers/pci/hotplug/cpqphp_core.c 	struct slot *old_slot, *next_slot;
slot              270 drivers/pci/hotplug/cpqphp_core.c 	old_slot = ctrl->slot;
slot              271 drivers/pci/hotplug/cpqphp_core.c 	ctrl->slot = NULL;
slot              306 drivers/pci/hotplug/cpqphp_core.c get_slot_mapping(struct pci_bus *bus, u8 bus_num, u8 dev_num, u8 *slot)
slot              314 drivers/pci/hotplug/cpqphp_core.c 	dbg("%s: %p, %d, %d, %p\n", __func__, bus, bus_num, dev_num, slot);
slot              322 drivers/pci/hotplug/cpqphp_core.c 		tslot = cpqhp_routing_table->slots[loop].slot;
slot              325 drivers/pci/hotplug/cpqphp_core.c 			*slot = tslot;
slot              359 drivers/pci/hotplug/cpqphp_core.c 		*slot = bridgeSlot;
slot              417 drivers/pci/hotplug/cpqphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              418 drivers/pci/hotplug/cpqphp_core.c 	struct controller *ctrl = slot->ctrl;
slot              424 drivers/pci/hotplug/cpqphp_core.c 	dbg("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              426 drivers/pci/hotplug/cpqphp_core.c 	if (cpqhp_get_bus_dev(ctrl, &bus, &devfn, slot->number) == -1)
slot              444 drivers/pci/hotplug/cpqphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              445 drivers/pci/hotplug/cpqphp_core.c 	struct controller *ctrl = slot->ctrl;
slot              451 drivers/pci/hotplug/cpqphp_core.c 	dbg("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              453 drivers/pci/hotplug/cpqphp_core.c 	if (cpqhp_get_bus_dev(ctrl, &bus, &devfn, slot->number) == -1)
slot              476 drivers/pci/hotplug/cpqphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              477 drivers/pci/hotplug/cpqphp_core.c 	struct controller *ctrl = slot->ctrl;
slot              483 drivers/pci/hotplug/cpqphp_core.c 	dbg("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              485 drivers/pci/hotplug/cpqphp_core.c 	if (cpqhp_get_bus_dev(ctrl, &bus, &devfn, slot->number) == -1)
slot              503 drivers/pci/hotplug/cpqphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              504 drivers/pci/hotplug/cpqphp_core.c 	struct controller *ctrl = slot->ctrl;
slot              506 drivers/pci/hotplug/cpqphp_core.c 	dbg("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              514 drivers/pci/hotplug/cpqphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              515 drivers/pci/hotplug/cpqphp_core.c 	struct controller *ctrl = slot->ctrl;
slot              517 drivers/pci/hotplug/cpqphp_core.c 	dbg("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              519 drivers/pci/hotplug/cpqphp_core.c 	*value = get_slot_enabled(ctrl, slot);
slot              525 drivers/pci/hotplug/cpqphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              526 drivers/pci/hotplug/cpqphp_core.c 	struct controller *ctrl = slot->ctrl;
slot              528 drivers/pci/hotplug/cpqphp_core.c 	dbg("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              530 drivers/pci/hotplug/cpqphp_core.c 	*value = cpq_get_attention_status(ctrl, slot);
slot              536 drivers/pci/hotplug/cpqphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              537 drivers/pci/hotplug/cpqphp_core.c 	struct controller *ctrl = slot->ctrl;
slot              539 drivers/pci/hotplug/cpqphp_core.c 	dbg("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              541 drivers/pci/hotplug/cpqphp_core.c 	*value = cpq_get_latch_status(ctrl, slot);
slot              548 drivers/pci/hotplug/cpqphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              549 drivers/pci/hotplug/cpqphp_core.c 	struct controller *ctrl = slot->ctrl;
slot              551 drivers/pci/hotplug/cpqphp_core.c 	dbg("%s - physical_slot = %s\n", __func__, slot_name(slot));
slot              553 drivers/pci/hotplug/cpqphp_core.c 	*value = get_presence_status(ctrl, slot);
slot              575 drivers/pci/hotplug/cpqphp_core.c 	struct slot *slot;
slot              595 drivers/pci/hotplug/cpqphp_core.c 		slot = kzalloc(sizeof(*slot), GFP_KERNEL);
slot              596 drivers/pci/hotplug/cpqphp_core.c 		if (!slot) {
slot              601 drivers/pci/hotplug/cpqphp_core.c 		slot->ctrl = ctrl;
slot              602 drivers/pci/hotplug/cpqphp_core.c 		slot->bus = ctrl->bus;
slot              603 drivers/pci/hotplug/cpqphp_core.c 		slot->device = slot_device;
slot              604 drivers/pci/hotplug/cpqphp_core.c 		slot->number = slot_number;
slot              605 drivers/pci/hotplug/cpqphp_core.c 		dbg("slot->number = %u\n", slot->number);
slot              611 drivers/pci/hotplug/cpqphp_core.c 				slot->number)) {
slot              616 drivers/pci/hotplug/cpqphp_core.c 		slot->p_sm_slot = slot_entry;
slot              618 drivers/pci/hotplug/cpqphp_core.c 		timer_setup(&slot->task_event, cpqhp_pushbutton_thread, 0);
slot              619 drivers/pci/hotplug/cpqphp_core.c 		slot->task_event.expires = jiffies + 5 * HZ;
slot              624 drivers/pci/hotplug/cpqphp_core.c 		slot->capabilities |= PCISLOT_REPLACE_SUPPORTED;
slot              625 drivers/pci/hotplug/cpqphp_core.c 		slot->capabilities |= PCISLOT_INTERLOCK_SUPPORTED;
slot              627 drivers/pci/hotplug/cpqphp_core.c 		if (is_slot64bit(slot))
slot              628 drivers/pci/hotplug/cpqphp_core.c 			slot->capabilities |= PCISLOT_64_BIT_SUPPORTED;
slot              629 drivers/pci/hotplug/cpqphp_core.c 		if (is_slot66mhz(slot))
slot              630 drivers/pci/hotplug/cpqphp_core.c 			slot->capabilities |= PCISLOT_66_MHZ_SUPPORTED;
slot              632 drivers/pci/hotplug/cpqphp_core.c 			slot->capabilities |= PCISLOT_66_MHZ_OPERATION;
slot              638 drivers/pci/hotplug/cpqphp_core.c 		slot->capabilities |=
slot              642 drivers/pci/hotplug/cpqphp_core.c 		slot->capabilities |=
slot              645 drivers/pci/hotplug/cpqphp_core.c 		slot->capabilities |=
slot              649 drivers/pci/hotplug/cpqphp_core.c 		snprintf(name, SLOT_NAME_SIZE, "%u", slot->number);
slot              650 drivers/pci/hotplug/cpqphp_core.c 		slot->hotplug_slot.ops = &cpqphp_hotplug_slot_ops;
slot              653 drivers/pci/hotplug/cpqphp_core.c 				slot->bus, slot->device,
slot              654 drivers/pci/hotplug/cpqphp_core.c 				slot->number, ctrl->slot_device_offset,
slot              656 drivers/pci/hotplug/cpqphp_core.c 		result = pci_hp_register(&slot->hotplug_slot,
slot              658 drivers/pci/hotplug/cpqphp_core.c 					 slot->device,
slot              665 drivers/pci/hotplug/cpqphp_core.c 		slot->next = ctrl->slot;
slot              666 drivers/pci/hotplug/cpqphp_core.c 		ctrl->slot = slot;
slot              675 drivers/pci/hotplug/cpqphp_core.c 	kfree(slot);
slot              116 drivers/pci/hotplug/cpqphp_ctrl.c static struct slot *cpqhp_find_slot(struct controller *ctrl, u8 device)
slot              118 drivers/pci/hotplug/cpqphp_ctrl.c 	struct slot *slot = ctrl->slot;
slot              120 drivers/pci/hotplug/cpqphp_ctrl.c 	while (slot && (slot->device != device))
slot              121 drivers/pci/hotplug/cpqphp_ctrl.c 		slot = slot->next;
slot              123 drivers/pci/hotplug/cpqphp_ctrl.c 	return slot;
slot              135 drivers/pci/hotplug/cpqphp_ctrl.c 	struct slot *p_slot;
slot             1117 drivers/pci/hotplug/cpqphp_ctrl.c 	struct slot *slot;
slot             1130 drivers/pci/hotplug/cpqphp_ctrl.c 	for (slot = ctrl->slot; slot; slot = slot->next) {
slot             1131 drivers/pci/hotplug/cpqphp_ctrl.c 		if (slot->device == (hp_slot + ctrl->slot_device_offset))
slot             1133 drivers/pci/hotplug/cpqphp_ctrl.c 		if (get_presence_status(ctrl, slot) == 0)
slot             1231 drivers/pci/hotplug/cpqphp_ctrl.c 	slot = cpqhp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset);
slot             1234 drivers/pci/hotplug/cpqphp_ctrl.c 			slot->number);
slot             1415 drivers/pci/hotplug/cpqphp_ctrl.c 	struct slot *p_slot;
slot             1774 drivers/pci/hotplug/cpqphp_ctrl.c 	struct slot *p_slot;
slot             1890 drivers/pci/hotplug/cpqphp_ctrl.c 	struct slot *p_slot = from_timer(p_slot, t, task_event);
slot             1953 drivers/pci/hotplug/cpqphp_ctrl.c 	struct slot *p_slot;
slot             2044 drivers/pci/hotplug/cpqphp_ctrl.c 	struct slot *p_slot;
slot              237 drivers/pci/hotplug/cpqphp_pci.c static int PCI_GetBusDevHelper(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot, u8 nobridge)
slot              247 drivers/pci/hotplug/cpqphp_pci.c 		tslot = cpqhp_routing_table->slots[loop].slot;
slot              249 drivers/pci/hotplug/cpqphp_pci.c 		if (tslot == slot) {
slot              276 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_get_bus_dev(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot)
slot              279 drivers/pci/hotplug/cpqphp_pci.c 	return PCI_GetBusDevHelper(ctrl, bus_num, dev_num, slot, 0);
slot               72 drivers/pci/hotplug/cpqphp_sysfs.c 	struct slot *slot;
slot               74 drivers/pci/hotplug/cpqphp_sysfs.c 	slot = ctrl->slot;
slot               76 drivers/pci/hotplug/cpqphp_sysfs.c 	while (slot) {
slot               77 drivers/pci/hotplug/cpqphp_sysfs.c 		new_slot = cpqhp_slot_find(slot->bus, slot->device, 0);
slot              108 drivers/pci/hotplug/cpqphp_sysfs.c 		slot = slot->next;
slot              266 drivers/pci/hotplug/ibmphp.h struct slot *ibmphp_get_slot_from_physical_num(u8);
slot              268 drivers/pci/hotplug/ibmphp.h void ibmphp_free_ibm_slot(struct slot *);
slot              381 drivers/pci/hotplug/ibmphp.h int ibmphp_hpc_readslot(struct slot *, u8, u8 *);
slot              382 drivers/pci/hotplug/ibmphp.h int ibmphp_hpc_writeslot(struct slot *, u8);
slot              737 drivers/pci/hotplug/ibmphp.h int ibmphp_init_devno(struct slot **);	/* This function is called from EBDA, so we need it not be static */
slot              738 drivers/pci/hotplug/ibmphp.h int ibmphp_do_disable_slot(struct slot *slot_cur);
slot              739 drivers/pci/hotplug/ibmphp.h int ibmphp_update_slot_info(struct slot *);	/* This function is called from HPC, so we need it to not be be static */
slot              741 drivers/pci/hotplug/ibmphp.h int ibmphp_unconfigure_card(struct slot **, int);
slot              744 drivers/pci/hotplug/ibmphp.h static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
slot              746 drivers/pci/hotplug/ibmphp.h 	return container_of(hotplug_slot, struct slot, hotplug_slot);
slot               61 drivers/pci/hotplug/ibmphp_core.c static inline int get_cur_bus_info(struct slot **sl)
slot               64 drivers/pci/hotplug/ibmphp_core.c 	struct slot *slot_cur = *sl;
slot               91 drivers/pci/hotplug/ibmphp_core.c static inline int slot_update(struct slot **sl)
slot              104 drivers/pci/hotplug/ibmphp_core.c 	struct slot *slot_cur;
slot              120 drivers/pci/hotplug/ibmphp_core.c int ibmphp_init_devno(struct slot **cur_slot)
slot              141 drivers/pci/hotplug/ibmphp_core.c 		if ((*cur_slot)->number == rtable->slots[loop].slot &&
slot              186 drivers/pci/hotplug/ibmphp_core.c static inline int power_on(struct slot *slot_cur)
slot              204 drivers/pci/hotplug/ibmphp_core.c static inline int power_off(struct slot *slot_cur)
slot              224 drivers/pci/hotplug/ibmphp_core.c 	struct slot *pslot;
slot              265 drivers/pci/hotplug/ibmphp_core.c 	struct slot *pslot;
slot              266 drivers/pci/hotplug/ibmphp_core.c 	struct slot myslot;
slot              274 drivers/pci/hotplug/ibmphp_core.c 		memcpy(&myslot, pslot, sizeof(struct slot));
slot              292 drivers/pci/hotplug/ibmphp_core.c 	struct slot *pslot;
slot              293 drivers/pci/hotplug/ibmphp_core.c 	struct slot myslot;
slot              300 drivers/pci/hotplug/ibmphp_core.c 		memcpy(&myslot, pslot, sizeof(struct slot));
slot              317 drivers/pci/hotplug/ibmphp_core.c 	struct slot *pslot;
slot              318 drivers/pci/hotplug/ibmphp_core.c 	struct slot myslot;
slot              325 drivers/pci/hotplug/ibmphp_core.c 		memcpy(&myslot, pslot, sizeof(struct slot));
slot              341 drivers/pci/hotplug/ibmphp_core.c 	struct slot *pslot;
slot              343 drivers/pci/hotplug/ibmphp_core.c 	struct slot myslot;
slot              350 drivers/pci/hotplug/ibmphp_core.c 		memcpy(&myslot, pslot, sizeof(struct slot));
slot              367 drivers/pci/hotplug/ibmphp_core.c static int get_max_bus_speed(struct slot *slot)
slot              372 drivers/pci/hotplug/ibmphp_core.c 	struct pci_bus *bus = slot->hotplug_slot.pci_slot->bus;
slot              374 drivers/pci/hotplug/ibmphp_core.c 	debug("%s - Entry slot[%p]\n", __func__, slot);
slot              377 drivers/pci/hotplug/ibmphp_core.c 	mode = slot->supported_bus_mode;
slot              378 drivers/pci/hotplug/ibmphp_core.c 	speed = slot->supported_speed;
slot              474 drivers/pci/hotplug/ibmphp_core.c 	struct slot *slot_cur;
slot              529 drivers/pci/hotplug/ibmphp_core.c static int validate(struct slot *slot_cur, int opn)
slot              570 drivers/pci/hotplug/ibmphp_core.c int ibmphp_update_slot_info(struct slot *slot_cur)
slot              613 drivers/pci/hotplug/ibmphp_core.c 	struct slot *slot_cur;
slot              636 drivers/pci/hotplug/ibmphp_core.c 	struct slot *slot_cur, *next;
slot              778 drivers/pci/hotplug/ibmphp_core.c static int is_bus_empty(struct slot *slot_cur)
slot              781 drivers/pci/hotplug/ibmphp_core.c 	struct slot *tmp_slot;
slot              809 drivers/pci/hotplug/ibmphp_core.c static int set_bus(struct slot *slot_cur)
slot              906 drivers/pci/hotplug/ibmphp_core.c static int check_limitations(struct slot *slot_cur)
slot              909 drivers/pci/hotplug/ibmphp_core.c 	struct slot *tmp_slot;
slot              945 drivers/pci/hotplug/ibmphp_core.c static inline void print_card_capability(struct slot *slot_cur)
slot              967 drivers/pci/hotplug/ibmphp_core.c 	struct slot *slot_cur;
slot             1135 drivers/pci/hotplug/ibmphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot             1139 drivers/pci/hotplug/ibmphp_core.c 	rc = ibmphp_do_disable_slot(slot);
slot             1144 drivers/pci/hotplug/ibmphp_core.c int ibmphp_do_disable_slot(struct slot *slot_cur)
slot              172 drivers/pci/hotplug/ibmphp_ebda.c 	struct slot *ptr;
slot              581 drivers/pci/hotplug/ibmphp_ebda.c 	struct slot *slot_cur;
slot              595 drivers/pci/hotplug/ibmphp_ebda.c static char *create_file_name(struct slot *slot_cur)
slot              666 drivers/pci/hotplug/ibmphp_ebda.c 	struct slot *slot;
slot              669 drivers/pci/hotplug/ibmphp_ebda.c 	slot = to_slot(hotplug_slot);
slot              670 drivers/pci/hotplug/ibmphp_ebda.c 	rc = ibmphp_hpc_readslot(slot, READ_ALLSTAT, NULL);
slot              685 drivers/pci/hotplug/ibmphp_ebda.c 	u16 ctlr, slot, bus;
slot              692 drivers/pci/hotplug/ibmphp_ebda.c 	struct slot *tmp_slot;
slot              732 drivers/pci/hotplug/ibmphp_ebda.c 		for (slot = 0; slot < slot_num; slot++) {
slot              992 drivers/pci/hotplug/ibmphp_ebda.c struct slot *ibmphp_get_slot_from_physical_num(u8 physical_num)
slot              994 drivers/pci/hotplug/ibmphp_ebda.c 	struct slot *slot;
slot              996 drivers/pci/hotplug/ibmphp_ebda.c 	list_for_each_entry(slot, &ibmphp_slot_head, ibm_slot_list) {
slot              997 drivers/pci/hotplug/ibmphp_ebda.c 		if (slot->number == physical_num)
slot              998 drivers/pci/hotplug/ibmphp_ebda.c 			return slot;
slot              106 drivers/pci/hotplug/ibmphp_hpc.c static int process_changeinstatus(struct slot *, struct slot *);
slot              505 drivers/pci/hotplug/ibmphp_hpc.c int ibmphp_hpc_readslot(struct slot *pslot, u8 cmd, u8 *pstatus)
slot              643 drivers/pci/hotplug/ibmphp_hpc.c int ibmphp_hpc_writeslot(struct slot *pslot, u8 cmd)
slot              789 drivers/pci/hotplug/ibmphp_hpc.c 	struct slot myslot;
slot              790 drivers/pci/hotplug/ibmphp_hpc.c 	struct slot *pslot = NULL;
slot              833 drivers/pci/hotplug/ibmphp_hpc.c 					sizeof(struct slot));
slot              899 drivers/pci/hotplug/ibmphp_hpc.c static int process_changeinstatus(struct slot *pslot, struct slot *poldslot)
slot              987 drivers/pci/hotplug/ibmphp_hpc.c 	struct slot myslot, *pslot;
slot             1000 drivers/pci/hotplug/ibmphp_hpc.c 				memcpy((void *) &myslot, (void *) pslot, sizeof(struct slot));
slot             1416 drivers/pci/hotplug/ibmphp_pci.c static int unconfigure_boot_card(struct slot *slot_cur)
slot             1533 drivers/pci/hotplug/ibmphp_pci.c int ibmphp_unconfigure_card(struct slot **slot_cur, int the_end)
slot             1538 drivers/pci/hotplug/ibmphp_pci.c 	struct slot *sl = *slot_cur;
slot               50 drivers/pci/hotplug/pci_hotplug_core.c static int get_##name(struct hotplug_slot *slot, type *value)		\
slot               52 drivers/pci/hotplug/pci_hotplug_core.c 	const struct hotplug_slot_ops *ops = slot->ops;			\
slot               54 drivers/pci/hotplug/pci_hotplug_core.c 	if (!try_module_get(slot->owner))				\
slot               57 drivers/pci/hotplug/pci_hotplug_core.c 		retval = ops->get_##name(slot, value);			\
slot               58 drivers/pci/hotplug/pci_hotplug_core.c 	module_put(slot->owner);					\
slot               82 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
slot               91 drivers/pci/hotplug/pci_hotplug_core.c 	if (!try_module_get(slot->owner)) {
slot               97 drivers/pci/hotplug/pci_hotplug_core.c 		if (slot->ops->disable_slot)
slot               98 drivers/pci/hotplug/pci_hotplug_core.c 			retval = slot->ops->disable_slot(slot);
slot              102 drivers/pci/hotplug/pci_hotplug_core.c 		if (slot->ops->enable_slot)
slot              103 drivers/pci/hotplug/pci_hotplug_core.c 			retval = slot->ops->enable_slot(slot);
slot              110 drivers/pci/hotplug/pci_hotplug_core.c 	module_put(slot->owner);
slot              139 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
slot              140 drivers/pci/hotplug/pci_hotplug_core.c 	const struct hotplug_slot_ops *ops = slot->ops;
slot              149 drivers/pci/hotplug/pci_hotplug_core.c 	if (!try_module_get(slot->owner)) {
slot              154 drivers/pci/hotplug/pci_hotplug_core.c 		retval = ops->set_attention_status(slot, attention);
slot              155 drivers/pci/hotplug/pci_hotplug_core.c 	module_put(slot->owner);
slot              206 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
slot              215 drivers/pci/hotplug/pci_hotplug_core.c 	if (!try_module_get(slot->owner)) {
slot              219 drivers/pci/hotplug/pci_hotplug_core.c 	if (slot->ops->hardware_test)
slot              220 drivers/pci/hotplug/pci_hotplug_core.c 		retval = slot->ops->hardware_test(slot, test);
slot              221 drivers/pci/hotplug/pci_hotplug_core.c 	module_put(slot->owner);
slot              236 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
slot              238 drivers/pci/hotplug/pci_hotplug_core.c 	if ((!slot) || (!slot->ops))
slot              240 drivers/pci/hotplug/pci_hotplug_core.c 	if ((slot->ops->enable_slot) ||
slot              241 drivers/pci/hotplug/pci_hotplug_core.c 	    (slot->ops->disable_slot) ||
slot              242 drivers/pci/hotplug/pci_hotplug_core.c 	    (slot->ops->get_power_status))
slot              249 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
slot              251 drivers/pci/hotplug/pci_hotplug_core.c 	if ((!slot) || (!slot->ops))
slot              253 drivers/pci/hotplug/pci_hotplug_core.c 	if ((slot->ops->set_attention_status) ||
slot              254 drivers/pci/hotplug/pci_hotplug_core.c 	    (slot->ops->get_attention_status))
slot              261 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
slot              263 drivers/pci/hotplug/pci_hotplug_core.c 	if ((!slot) || (!slot->ops))
slot              265 drivers/pci/hotplug/pci_hotplug_core.c 	if (slot->ops->get_latch_status)
slot              272 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
slot              274 drivers/pci/hotplug/pci_hotplug_core.c 	if ((!slot) || (!slot->ops))
slot              276 drivers/pci/hotplug/pci_hotplug_core.c 	if (slot->ops->get_adapter_status)
slot              283 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot = pci_slot->hotplug;
slot              285 drivers/pci/hotplug/pci_hotplug_core.c 	if ((!slot) || (!slot->ops))
slot              287 drivers/pci/hotplug/pci_hotplug_core.c 	if (slot->ops->hardware_test)
slot              380 drivers/pci/hotplug/pci_hotplug_core.c 	struct hotplug_slot *slot;
slot              382 drivers/pci/hotplug/pci_hotplug_core.c 	list_for_each_entry(slot, &pci_hotplug_slot_list, slot_list) {
slot              383 drivers/pci/hotplug/pci_hotplug_core.c 		if (strcmp(hotplug_slot_name(slot), name) == 0)
slot              384 drivers/pci/hotplug/pci_hotplug_core.c 			return slot;
slot              404 drivers/pci/hotplug/pci_hotplug_core.c int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus,
slot              410 drivers/pci/hotplug/pci_hotplug_core.c 	result = __pci_hp_initialize(slot, bus, devnr, name, owner, mod_name);
slot              414 drivers/pci/hotplug/pci_hotplug_core.c 	result = pci_hp_add(slot);
slot              416 drivers/pci/hotplug/pci_hotplug_core.c 		pci_hp_destroy(slot);
slot              438 drivers/pci/hotplug/pci_hotplug_core.c int __pci_hp_initialize(struct hotplug_slot *slot, struct pci_bus *bus,
slot              444 drivers/pci/hotplug/pci_hotplug_core.c 	if (slot == NULL)
slot              446 drivers/pci/hotplug/pci_hotplug_core.c 	if (slot->ops == NULL)
slot              449 drivers/pci/hotplug/pci_hotplug_core.c 	slot->owner = owner;
slot              450 drivers/pci/hotplug/pci_hotplug_core.c 	slot->mod_name = mod_name;
slot              457 drivers/pci/hotplug/pci_hotplug_core.c 	pci_slot = pci_create_slot(bus, devnr, name, slot);
slot              461 drivers/pci/hotplug/pci_hotplug_core.c 	slot->pci_slot = pci_slot;
slot              462 drivers/pci/hotplug/pci_hotplug_core.c 	pci_slot->hotplug = slot;
slot              477 drivers/pci/hotplug/pci_hotplug_core.c int pci_hp_add(struct hotplug_slot *slot)
slot              479 drivers/pci/hotplug/pci_hotplug_core.c 	struct pci_slot *pci_slot = slot->pci_slot;
slot              488 drivers/pci/hotplug/pci_hotplug_core.c 	list_add(&slot->slot_list, &pci_hotplug_slot_list);
slot              490 drivers/pci/hotplug/pci_hotplug_core.c 	dbg("Added slot %s to the list\n", hotplug_slot_name(slot));
slot              504 drivers/pci/hotplug/pci_hotplug_core.c void pci_hp_deregister(struct hotplug_slot *slot)
slot              506 drivers/pci/hotplug/pci_hotplug_core.c 	pci_hp_del(slot);
slot              507 drivers/pci/hotplug/pci_hotplug_core.c 	pci_hp_destroy(slot);
slot              519 drivers/pci/hotplug/pci_hotplug_core.c void pci_hp_del(struct hotplug_slot *slot)
slot              523 drivers/pci/hotplug/pci_hotplug_core.c 	if (WARN_ON(!slot))
slot              527 drivers/pci/hotplug/pci_hotplug_core.c 	temp = get_slot_from_name(hotplug_slot_name(slot));
slot              528 drivers/pci/hotplug/pci_hotplug_core.c 	if (WARN_ON(temp != slot)) {
slot              533 drivers/pci/hotplug/pci_hotplug_core.c 	list_del(&slot->slot_list);
slot              535 drivers/pci/hotplug/pci_hotplug_core.c 	dbg("Removed slot %s from the list\n", hotplug_slot_name(slot));
slot              536 drivers/pci/hotplug/pci_hotplug_core.c 	fs_remove_slot(slot->pci_slot);
slot              551 drivers/pci/hotplug/pci_hotplug_core.c void pci_hp_destroy(struct hotplug_slot *slot)
slot              553 drivers/pci/hotplug/pci_hotplug_core.c 	struct pci_slot *pci_slot = slot->pci_slot;
slot              555 drivers/pci/hotplug/pci_hotplug_core.c 	slot->pci_slot = NULL;
slot               45 drivers/pci/hotplug/pciehp_core.c static int set_attention_status(struct hotplug_slot *slot, u8 value);
slot               46 drivers/pci/hotplug/pciehp_core.c static int get_power_status(struct hotplug_slot *slot, u8 *value);
slot               47 drivers/pci/hotplug/pciehp_core.c static int get_latch_status(struct hotplug_slot *slot, u8 *value);
slot               48 drivers/pci/hotplug/pciehp_core.c static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
slot              250 drivers/pci/hotplug/pnv_php.c static void pnv_php_add_pdns(struct pnv_php_slot *slot)
slot              252 drivers/pci/hotplug/pnv_php.c 	struct pci_controller *hose = pci_bus_to_host(slot->bus);
slot              254 drivers/pci/hotplug/pnv_php.c 	pci_traverse_device_nodes(slot->dn, pnv_php_add_one_pdn, hose);
slot              330 drivers/pci/hotplug/pnv_php.c static inline struct pnv_php_slot *to_pnv_php_slot(struct hotplug_slot *slot)
slot              332 drivers/pci/hotplug/pnv_php.c 	return container_of(slot, struct pnv_php_slot, slot);
slot              335 drivers/pci/hotplug/pnv_php.c int pnv_php_set_slot_power_state(struct hotplug_slot *slot,
slot              338 drivers/pci/hotplug/pnv_php.c 	struct pnv_php_slot *php_slot = to_pnv_php_slot(slot);
slot              368 drivers/pci/hotplug/pnv_php.c static int pnv_php_get_power_state(struct hotplug_slot *slot, u8 *state)
slot              370 drivers/pci/hotplug/pnv_php.c 	struct pnv_php_slot *php_slot = to_pnv_php_slot(slot);
slot              390 drivers/pci/hotplug/pnv_php.c static int pnv_php_get_adapter_state(struct hotplug_slot *slot, u8 *state)
slot              392 drivers/pci/hotplug/pnv_php.c 	struct pnv_php_slot *php_slot = to_pnv_php_slot(slot);
slot              411 drivers/pci/hotplug/pnv_php.c static int pnv_php_get_attention_state(struct hotplug_slot *slot, u8 *state)
slot              413 drivers/pci/hotplug/pnv_php.c 	struct pnv_php_slot *php_slot = to_pnv_php_slot(slot);
slot              419 drivers/pci/hotplug/pnv_php.c static int pnv_php_set_attention_state(struct hotplug_slot *slot, u8 state)
slot              421 drivers/pci/hotplug/pnv_php.c 	struct pnv_php_slot *php_slot = to_pnv_php_slot(slot);
slot              443 drivers/pci/hotplug/pnv_php.c 	struct hotplug_slot *slot = &php_slot->slot;
slot              453 drivers/pci/hotplug/pnv_php.c 	ret = pnv_php_get_adapter_state(slot, &presence);
slot              486 drivers/pci/hotplug/pnv_php.c 		ret = pnv_php_get_power_state(slot, &power_status);
slot              495 drivers/pci/hotplug/pnv_php.c 	ret = pnv_php_get_power_state(slot, &power_status);
slot              503 drivers/pci/hotplug/pnv_php.c 	ret = pnv_php_set_slot_power_state(slot, OPAL_PCI_SLOT_POWER_ON);
slot              526 drivers/pci/hotplug/pnv_php.c static int pnv_php_reset_slot(struct hotplug_slot *slot, int probe)
slot              528 drivers/pci/hotplug/pnv_php.c 	struct pnv_php_slot *php_slot = to_pnv_php_slot(slot);
slot              557 drivers/pci/hotplug/pnv_php.c static int pnv_php_enable_slot(struct hotplug_slot *slot)
slot              559 drivers/pci/hotplug/pnv_php.c 	struct pnv_php_slot *php_slot = to_pnv_php_slot(slot);
slot              564 drivers/pci/hotplug/pnv_php.c static int pnv_php_disable_slot(struct hotplug_slot *slot)
slot              566 drivers/pci/hotplug/pnv_php.c 	struct pnv_php_slot *php_slot = to_pnv_php_slot(slot);
slot              581 drivers/pci/hotplug/pnv_php.c 	ret = pnv_php_set_slot_power_state(slot, OPAL_PCI_SLOT_POWER_OFF);
slot              652 drivers/pci/hotplug/pnv_php.c 	php_slot->slot.ops              = &php_slot_ops;
slot              675 drivers/pci/hotplug/pnv_php.c 	ret = pci_hp_register(&php_slot->slot, php_slot->bus,
slot              745 drivers/pci/hotplug/pnv_php.c 		pnv_php_enable_slot(&php_slot->slot);
slot              747 drivers/pci/hotplug/pnv_php.c 		pnv_php_disable_slot(&php_slot->slot);
slot              985 drivers/pci/hotplug/pnv_php.c 	pci_hp_deregister(&php_slot->slot);
slot              110 drivers/pci/hotplug/rpadlpar_core.c static struct slot *find_php_slot(struct device_node *dn)
slot              112 drivers/pci/hotplug/rpadlpar_core.c 	struct slot *slot, *next;
slot              114 drivers/pci/hotplug/rpadlpar_core.c 	list_for_each_entry_safe(slot, next, &rpaphp_slot_head,
slot              116 drivers/pci/hotplug/rpadlpar_core.c 		if (slot->dn == dn)
slot              117 drivers/pci/hotplug/rpadlpar_core.c 			return slot;
slot              206 drivers/pci/hotplug/rpadlpar_core.c 	struct slot *slot;
slot              214 drivers/pci/hotplug/rpadlpar_core.c 	slot = find_php_slot(dn);
slot              215 drivers/pci/hotplug/rpadlpar_core.c 	if (slot && rpaphp_deregister_slot(slot)) {
slot              358 drivers/pci/hotplug/rpadlpar_core.c 	struct slot *slot;
slot              372 drivers/pci/hotplug/rpadlpar_core.c 	slot = find_php_slot(dn);
slot              373 drivers/pci/hotplug/rpadlpar_core.c 	if (slot) {
slot              377 drivers/pci/hotplug/rpadlpar_core.c 		if (rpaphp_deregister_slot(slot)) {
slot               77 drivers/pci/hotplug/rpaphp.h static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
slot               79 drivers/pci/hotplug/rpaphp.h 	return container_of(hotplug_slot, struct slot, hotplug_slot);
slot               85 drivers/pci/hotplug/rpaphp.h int rpaphp_enable_slot(struct slot *slot);
slot               86 drivers/pci/hotplug/rpaphp.h int rpaphp_get_sensor_state(struct slot *slot, int *state);
slot               94 drivers/pci/hotplug/rpaphp.h void dealloc_slot_struct(struct slot *slot);
slot               95 drivers/pci/hotplug/rpaphp.h struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain);
slot               96 drivers/pci/hotplug/rpaphp.h int rpaphp_register_slot(struct slot *slot);
slot               97 drivers/pci/hotplug/rpaphp.h int rpaphp_deregister_slot(struct slot *slot);
slot               55 drivers/pci/hotplug/rpaphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot               67 drivers/pci/hotplug/rpaphp_core.c 	rc = rtas_set_indicator(DR_INDICATOR, slot->index, value);
slot               69 drivers/pci/hotplug/rpaphp_core.c 		slot->attention_status = value;
slot               82 drivers/pci/hotplug/rpaphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot               84 drivers/pci/hotplug/rpaphp_core.c 	retval = rtas_get_power_level(slot->power_domain, &level);
slot               97 drivers/pci/hotplug/rpaphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot               98 drivers/pci/hotplug/rpaphp_core.c 	*value = slot->attention_status;
slot              104 drivers/pci/hotplug/rpaphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              107 drivers/pci/hotplug/rpaphp_core.c 	rc = rpaphp_get_sensor_state(slot, &state);
slot              116 drivers/pci/hotplug/rpaphp_core.c 		*value = slot->state;
slot              121 drivers/pci/hotplug/rpaphp_core.c static enum pci_bus_speed get_max_bus_speed(struct slot *slot)
slot              124 drivers/pci/hotplug/rpaphp_core.c 	switch (slot->type) {
slot              351 drivers/pci/hotplug/rpaphp_core.c 	struct slot *slot;
slot              373 drivers/pci/hotplug/rpaphp_core.c 		slot = alloc_slot_struct(dn, index, name,
slot              375 drivers/pci/hotplug/rpaphp_core.c 		if (!slot)
slot              378 drivers/pci/hotplug/rpaphp_core.c 		slot->type = simple_strtoul(type, NULL, 10);
slot              383 drivers/pci/hotplug/rpaphp_core.c 		retval = rpaphp_enable_slot(slot);
slot              385 drivers/pci/hotplug/rpaphp_core.c 			retval = rpaphp_register_slot(slot);
slot              388 drivers/pci/hotplug/rpaphp_core.c 			dealloc_slot_struct(slot);
slot              402 drivers/pci/hotplug/rpaphp_core.c 	struct slot *slot, *next;
slot              409 drivers/pci/hotplug/rpaphp_core.c 	list_for_each_entry_safe(slot, next, &rpaphp_slot_head,
slot              411 drivers/pci/hotplug/rpaphp_core.c 		list_del(&slot->rpaphp_slot_list);
slot              412 drivers/pci/hotplug/rpaphp_core.c 		pci_hp_deregister(&slot->hotplug_slot);
slot              413 drivers/pci/hotplug/rpaphp_core.c 		dealloc_slot_struct(slot);
slot              436 drivers/pci/hotplug/rpaphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              440 drivers/pci/hotplug/rpaphp_core.c 	if (slot->state == CONFIGURED)
slot              443 drivers/pci/hotplug/rpaphp_core.c 	retval = rpaphp_get_sensor_state(slot, &state);
slot              449 drivers/pci/hotplug/rpaphp_core.c 		pci_hp_add_devices(slot->bus);
slot              451 drivers/pci/hotplug/rpaphp_core.c 		slot->state = CONFIGURED;
slot              453 drivers/pci/hotplug/rpaphp_core.c 		slot->state = EMPTY;
slot              455 drivers/pci/hotplug/rpaphp_core.c 		err("%s: slot[%s] is in invalid state\n", __func__, slot->name);
slot              456 drivers/pci/hotplug/rpaphp_core.c 		slot->state = NOT_VALID;
slot              460 drivers/pci/hotplug/rpaphp_core.c 	slot->bus->max_bus_speed = get_max_bus_speed(slot);
slot              466 drivers/pci/hotplug/rpaphp_core.c 	struct slot *slot = to_slot(hotplug_slot);
slot              467 drivers/pci/hotplug/rpaphp_core.c 	if (slot->state == NOT_CONFIGURED)
slot              471 drivers/pci/hotplug/rpaphp_core.c 	pci_hp_remove_devices(slot->bus);
slot              475 drivers/pci/hotplug/rpaphp_core.c 	slot->state = NOT_CONFIGURED;
slot               21 drivers/pci/hotplug/rpaphp_pci.c int rpaphp_get_sensor_state(struct slot *slot, int *state)
slot               26 drivers/pci/hotplug/rpaphp_pci.c 	rc = rtas_get_sensor(DR_ENTITY_SENSE, slot->index, state);
slot               36 drivers/pci/hotplug/rpaphp_pci.c 			rc = rtas_set_power_level(slot->power_domain, POWER_ON,
slot               40 drivers/pci/hotplug/rpaphp_pci.c 				    __func__, slot->name, rc);
slot               43 drivers/pci/hotplug/rpaphp_pci.c 						     slot->index, state);
slot               61 drivers/pci/hotplug/rpaphp_pci.c int rpaphp_enable_slot(struct slot *slot)
slot               66 drivers/pci/hotplug/rpaphp_pci.c 	slot->state = EMPTY;
slot               69 drivers/pci/hotplug/rpaphp_pci.c 	rc = rtas_get_power_level(slot->power_domain, &level);
slot               74 drivers/pci/hotplug/rpaphp_pci.c 	rc = rpaphp_get_sensor_state(slot, &state);
slot               78 drivers/pci/hotplug/rpaphp_pci.c 	bus = pci_find_bus_by_node(slot->dn);
slot               80 drivers/pci/hotplug/rpaphp_pci.c 		err("%s: no pci_bus for dn %pOF\n", __func__, slot->dn);
slot               84 drivers/pci/hotplug/rpaphp_pci.c 	slot->bus = bus;
slot               85 drivers/pci/hotplug/rpaphp_pci.c 	slot->pci_devs = &bus->devices;
slot               89 drivers/pci/hotplug/rpaphp_pci.c 		slot->state = NOT_CONFIGURED;
slot               92 drivers/pci/hotplug/rpaphp_pci.c 		if (!slot->dn->child) {
slot               94 drivers/pci/hotplug/rpaphp_pci.c 			    __func__, slot->name);
slot              102 drivers/pci/hotplug/rpaphp_pci.c 			slot->state = CONFIGURED;
slot              107 drivers/pci/hotplug/rpaphp_pci.c 			dbg("%s: pci_devs of slot[%pOF]\n", __func__, slot->dn);
slot               22 drivers/pci/hotplug/rpaphp_slot.c void dealloc_slot_struct(struct slot *slot)
slot               24 drivers/pci/hotplug/rpaphp_slot.c 	of_node_put(slot->dn);
slot               25 drivers/pci/hotplug/rpaphp_slot.c 	kfree(slot->name);
slot               26 drivers/pci/hotplug/rpaphp_slot.c 	kfree(slot);
slot               29 drivers/pci/hotplug/rpaphp_slot.c struct slot *alloc_slot_struct(struct device_node *dn,
slot               32 drivers/pci/hotplug/rpaphp_slot.c 	struct slot *slot;
slot               34 drivers/pci/hotplug/rpaphp_slot.c 	slot = kzalloc(sizeof(struct slot), GFP_KERNEL);
slot               35 drivers/pci/hotplug/rpaphp_slot.c 	if (!slot)
slot               37 drivers/pci/hotplug/rpaphp_slot.c 	slot->name = kstrdup(drc_name, GFP_KERNEL);
slot               38 drivers/pci/hotplug/rpaphp_slot.c 	if (!slot->name)
slot               40 drivers/pci/hotplug/rpaphp_slot.c 	slot->dn = of_node_get(dn);
slot               41 drivers/pci/hotplug/rpaphp_slot.c 	slot->index = drc_index;
slot               42 drivers/pci/hotplug/rpaphp_slot.c 	slot->power_domain = power_domain;
slot               43 drivers/pci/hotplug/rpaphp_slot.c 	slot->hotplug_slot.ops = &rpaphp_hotplug_slot_ops;
slot               45 drivers/pci/hotplug/rpaphp_slot.c 	return (slot);
slot               48 drivers/pci/hotplug/rpaphp_slot.c 	kfree(slot);
slot               53 drivers/pci/hotplug/rpaphp_slot.c static int is_registered(struct slot *slot)
slot               55 drivers/pci/hotplug/rpaphp_slot.c 	struct slot *tmp_slot;
slot               58 drivers/pci/hotplug/rpaphp_slot.c 		if (!strcmp(tmp_slot->name, slot->name))
slot               64 drivers/pci/hotplug/rpaphp_slot.c int rpaphp_deregister_slot(struct slot *slot)
slot               67 drivers/pci/hotplug/rpaphp_slot.c 	struct hotplug_slot *php_slot = &slot->hotplug_slot;
slot               70 drivers/pci/hotplug/rpaphp_slot.c 		__func__, slot->name);
slot               72 drivers/pci/hotplug/rpaphp_slot.c 	list_del(&slot->rpaphp_slot_list);
slot               74 drivers/pci/hotplug/rpaphp_slot.c 	dealloc_slot_struct(slot);
slot               81 drivers/pci/hotplug/rpaphp_slot.c int rpaphp_register_slot(struct slot *slot)
slot               83 drivers/pci/hotplug/rpaphp_slot.c 	struct hotplug_slot *php_slot = &slot->hotplug_slot;
slot               90 drivers/pci/hotplug/rpaphp_slot.c 		__func__, slot->dn, slot->index, slot->name,
slot               91 drivers/pci/hotplug/rpaphp_slot.c 		slot->power_domain, slot->type);
slot               94 drivers/pci/hotplug/rpaphp_slot.c 	if (is_registered(slot)) {
slot               95 drivers/pci/hotplug/rpaphp_slot.c 		err("rpaphp_register_slot: slot[%s] is already registered\n", slot->name);
slot               99 drivers/pci/hotplug/rpaphp_slot.c 	for_each_child_of_node(slot->dn, child) {
slot              101 drivers/pci/hotplug/rpaphp_slot.c 		if (my_index == slot->index) {
slot              108 drivers/pci/hotplug/rpaphp_slot.c 	retval = pci_hp_register(php_slot, slot->bus, slotno, slot->name);
slot              115 drivers/pci/hotplug/rpaphp_slot.c 	list_add(&slot->rpaphp_slot_list, &rpaphp_slot_head);
slot              116 drivers/pci/hotplug/rpaphp_slot.c 	info("Slot [%s] registered\n", slot->name);
slot               39 drivers/pci/hotplug/s390_pci_hpc.c static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
slot               41 drivers/pci/hotplug/s390_pci_hpc.c 	return container_of(hotplug_slot, struct slot, hotplug_slot);
slot               44 drivers/pci/hotplug/s390_pci_hpc.c static inline int slot_configure(struct slot *slot)
slot               46 drivers/pci/hotplug/s390_pci_hpc.c 	int ret = sclp_pci_configure(slot->zdev->fid);
slot               48 drivers/pci/hotplug/s390_pci_hpc.c 	zpci_dbg(3, "conf fid:%x, rc:%d\n", slot->zdev->fid, ret);
slot               50 drivers/pci/hotplug/s390_pci_hpc.c 		slot->zdev->state = ZPCI_FN_STATE_CONFIGURED;
slot               55 drivers/pci/hotplug/s390_pci_hpc.c static inline int slot_deconfigure(struct slot *slot)
slot               57 drivers/pci/hotplug/s390_pci_hpc.c 	int ret = sclp_pci_deconfigure(slot->zdev->fid);
slot               59 drivers/pci/hotplug/s390_pci_hpc.c 	zpci_dbg(3, "deconf fid:%x, rc:%d\n", slot->zdev->fid, ret);
slot               61 drivers/pci/hotplug/s390_pci_hpc.c 		slot->zdev->state = ZPCI_FN_STATE_STANDBY;
slot               68 drivers/pci/hotplug/s390_pci_hpc.c 	struct slot *slot = to_slot(hotplug_slot);
slot               71 drivers/pci/hotplug/s390_pci_hpc.c 	if (slot->zdev->state != ZPCI_FN_STATE_STANDBY)
slot               74 drivers/pci/hotplug/s390_pci_hpc.c 	rc = slot_configure(slot);
slot               78 drivers/pci/hotplug/s390_pci_hpc.c 	rc = zpci_enable_device(slot->zdev);
slot               82 drivers/pci/hotplug/s390_pci_hpc.c 	pci_scan_slot(slot->zdev->bus, ZPCI_DEVFN);
slot               84 drivers/pci/hotplug/s390_pci_hpc.c 	pci_bus_add_devices(slot->zdev->bus);
slot               90 drivers/pci/hotplug/s390_pci_hpc.c 	slot_deconfigure(slot);
slot               96 drivers/pci/hotplug/s390_pci_hpc.c 	struct slot *slot = to_slot(hotplug_slot);
slot              100 drivers/pci/hotplug/s390_pci_hpc.c 	if (!zpci_fn_configured(slot->zdev->state))
slot              103 drivers/pci/hotplug/s390_pci_hpc.c 	pdev = pci_get_slot(slot->zdev->bus, ZPCI_DEVFN);
slot              109 drivers/pci/hotplug/s390_pci_hpc.c 	rc = zpci_disable_device(slot->zdev);
slot              113 drivers/pci/hotplug/s390_pci_hpc.c 	return slot_deconfigure(slot);
slot              118 drivers/pci/hotplug/s390_pci_hpc.c 	struct slot *slot = to_slot(hotplug_slot);
slot              120 drivers/pci/hotplug/s390_pci_hpc.c 	switch (slot->zdev->state) {
slot              148 drivers/pci/hotplug/s390_pci_hpc.c 	struct slot *slot;
slot              154 drivers/pci/hotplug/s390_pci_hpc.c 	slot = kzalloc(sizeof(*slot), GFP_KERNEL);
slot              155 drivers/pci/hotplug/s390_pci_hpc.c 	if (!slot)
slot              158 drivers/pci/hotplug/s390_pci_hpc.c 	slot->zdev = zdev;
slot              159 drivers/pci/hotplug/s390_pci_hpc.c 	slot->hotplug_slot.ops = &s390_hotplug_slot_ops;
slot              162 drivers/pci/hotplug/s390_pci_hpc.c 	rc = pci_hp_register(&slot->hotplug_slot, zdev->bus,
slot              167 drivers/pci/hotplug/s390_pci_hpc.c 	list_add(&slot->slot_list, &s390_hotplug_slot_list);
slot              171 drivers/pci/hotplug/s390_pci_hpc.c 	kfree(slot);
slot              178 drivers/pci/hotplug/s390_pci_hpc.c 	struct slot *slot, *next;
slot              180 drivers/pci/hotplug/s390_pci_hpc.c 	list_for_each_entry_safe(slot, next, &s390_hotplug_slot_list,
slot              182 drivers/pci/hotplug/s390_pci_hpc.c 		if (slot->zdev != zdev)
slot              184 drivers/pci/hotplug/s390_pci_hpc.c 		list_del(&slot->slot_list);
slot              185 drivers/pci/hotplug/s390_pci_hpc.c 		pci_hp_deregister(&slot->hotplug_slot);
slot              186 drivers/pci/hotplug/s390_pci_hpc.c 		kfree(slot);
slot               86 drivers/pci/hotplug/shpchp.h 	struct slot *p_slot;
slot              160 drivers/pci/hotplug/shpchp.h int shpchp_sysfs_enable_slot(struct slot *slot);
slot              161 drivers/pci/hotplug/shpchp.h int shpchp_sysfs_disable_slot(struct slot *slot);
slot              166 drivers/pci/hotplug/shpchp.h int shpchp_configure_device(struct slot *p_slot);
slot              167 drivers/pci/hotplug/shpchp.h int shpchp_unconfigure_device(struct slot *p_slot);
slot              172 drivers/pci/hotplug/shpchp.h static inline const char *slot_name(struct slot *slot)
slot              174 drivers/pci/hotplug/shpchp.h 	return hotplug_slot_name(&slot->hotplug_slot);
slot              210 drivers/pci/hotplug/shpchp.h static inline struct slot *get_slot(struct hotplug_slot *hotplug_slot)
slot              212 drivers/pci/hotplug/shpchp.h 	return container_of(hotplug_slot, struct slot, hotplug_slot);
slot              215 drivers/pci/hotplug/shpchp.h static inline struct slot *shpchp_find_slot(struct controller *ctrl, u8 device)
slot              217 drivers/pci/hotplug/shpchp.h 	struct slot *slot;
slot              219 drivers/pci/hotplug/shpchp.h 	list_for_each_entry(slot, &ctrl->slot_list, slot_list) {
slot              220 drivers/pci/hotplug/shpchp.h 		if (slot->device == device)
slot              221 drivers/pci/hotplug/shpchp.h 			return slot;
slot              228 drivers/pci/hotplug/shpchp.h static inline void amd_pogo_errata_save_misc_reg(struct slot *p_slot)
slot              246 drivers/pci/hotplug/shpchp.h static inline void amd_pogo_errata_restore_misc_reg(struct slot *p_slot)
slot              304 drivers/pci/hotplug/shpchp.h 	int (*power_on_slot)(struct slot *slot);
slot              305 drivers/pci/hotplug/shpchp.h 	int (*slot_enable)(struct slot *slot);
slot              306 drivers/pci/hotplug/shpchp.h 	int (*slot_disable)(struct slot *slot);
slot              307 drivers/pci/hotplug/shpchp.h 	int (*set_bus_speed_mode)(struct slot *slot, enum pci_bus_speed speed);
slot              308 drivers/pci/hotplug/shpchp.h 	int (*get_power_status)(struct slot *slot, u8 *status);
slot              309 drivers/pci/hotplug/shpchp.h 	int (*get_attention_status)(struct slot *slot, u8 *status);
slot              310 drivers/pci/hotplug/shpchp.h 	int (*set_attention_status)(struct slot *slot, u8 status);
slot              311 drivers/pci/hotplug/shpchp.h 	int (*get_latch_status)(struct slot *slot, u8 *status);
slot              312 drivers/pci/hotplug/shpchp.h 	int (*get_adapter_status)(struct slot *slot, u8 *status);
slot              313 drivers/pci/hotplug/shpchp.h 	int (*get_adapter_speed)(struct slot *slot, enum pci_bus_speed *speed);
slot              314 drivers/pci/hotplug/shpchp.h 	int (*get_mode1_ECC_cap)(struct slot *slot, u8 *mode);
slot              315 drivers/pci/hotplug/shpchp.h 	int (*get_prog_int)(struct slot *slot, u8 *prog_int);
slot              316 drivers/pci/hotplug/shpchp.h 	int (*query_power_fault)(struct slot *slot);
slot              317 drivers/pci/hotplug/shpchp.h 	void (*green_led_on)(struct slot *slot);
slot              318 drivers/pci/hotplug/shpchp.h 	void (*green_led_off)(struct slot *slot);
slot              319 drivers/pci/hotplug/shpchp.h 	void (*green_led_blink)(struct slot *slot);
slot               46 drivers/pci/hotplug/shpchp_core.c static int set_attention_status(struct hotplug_slot *slot, u8 value);
slot               47 drivers/pci/hotplug/shpchp_core.c static int enable_slot(struct hotplug_slot *slot);
slot               48 drivers/pci/hotplug/shpchp_core.c static int disable_slot(struct hotplug_slot *slot);
slot               49 drivers/pci/hotplug/shpchp_core.c static int get_power_status(struct hotplug_slot *slot, u8 *value);
slot               50 drivers/pci/hotplug/shpchp_core.c static int get_attention_status(struct hotplug_slot *slot, u8 *value);
slot               51 drivers/pci/hotplug/shpchp_core.c static int get_latch_status(struct hotplug_slot *slot, u8 *value);
slot               52 drivers/pci/hotplug/shpchp_core.c static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
slot               66 drivers/pci/hotplug/shpchp_core.c 	struct slot *slot;
slot               73 drivers/pci/hotplug/shpchp_core.c 		slot = kzalloc(sizeof(*slot), GFP_KERNEL);
slot               74 drivers/pci/hotplug/shpchp_core.c 		if (!slot) {
slot               79 drivers/pci/hotplug/shpchp_core.c 		hotplug_slot = &slot->hotplug_slot;
slot               81 drivers/pci/hotplug/shpchp_core.c 		slot->hp_slot = i;
slot               82 drivers/pci/hotplug/shpchp_core.c 		slot->ctrl = ctrl;
slot               83 drivers/pci/hotplug/shpchp_core.c 		slot->bus = ctrl->pci_dev->subordinate->number;
slot               84 drivers/pci/hotplug/shpchp_core.c 		slot->device = ctrl->slot_device_offset + i;
slot               85 drivers/pci/hotplug/shpchp_core.c 		slot->hpc_ops = ctrl->hpc_ops;
slot               86 drivers/pci/hotplug/shpchp_core.c 		slot->number = ctrl->first_slot + (ctrl->slot_num_inc * i);
slot               88 drivers/pci/hotplug/shpchp_core.c 		slot->wq = alloc_workqueue("shpchp-%d", 0, 0, slot->number);
slot               89 drivers/pci/hotplug/shpchp_core.c 		if (!slot->wq) {
slot               94 drivers/pci/hotplug/shpchp_core.c 		mutex_init(&slot->lock);
slot               95 drivers/pci/hotplug/shpchp_core.c 		INIT_DELAYED_WORK(&slot->work, shpchp_queue_pushbutton_work);
slot               98 drivers/pci/hotplug/shpchp_core.c 		snprintf(name, SLOT_NAME_SIZE, "%d", slot->number);
slot              103 drivers/pci/hotplug/shpchp_core.c 			 slot->bus, slot->device, slot->hp_slot, slot->number,
slot              106 drivers/pci/hotplug/shpchp_core.c 				ctrl->pci_dev->subordinate, slot->device, name);
slot              113 drivers/pci/hotplug/shpchp_core.c 		get_power_status(hotplug_slot, &slot->pwr_save);
slot              114 drivers/pci/hotplug/shpchp_core.c 		get_attention_status(hotplug_slot, &slot->attention_save);
slot              115 drivers/pci/hotplug/shpchp_core.c 		get_latch_status(hotplug_slot, &slot->latch_save);
slot              116 drivers/pci/hotplug/shpchp_core.c 		get_adapter_status(hotplug_slot, &slot->presence_save);
slot              118 drivers/pci/hotplug/shpchp_core.c 		list_add(&slot->slot_list, &ctrl->slot_list);
slot              123 drivers/pci/hotplug/shpchp_core.c 	destroy_workqueue(slot->wq);
slot              125 drivers/pci/hotplug/shpchp_core.c 	kfree(slot);
slot              132 drivers/pci/hotplug/shpchp_core.c 	struct slot *slot, *next;
slot              134 drivers/pci/hotplug/shpchp_core.c 	list_for_each_entry_safe(slot, next, &ctrl->slot_list, slot_list) {
slot              135 drivers/pci/hotplug/shpchp_core.c 		list_del(&slot->slot_list);
slot              136 drivers/pci/hotplug/shpchp_core.c 		cancel_delayed_work(&slot->work);
slot              137 drivers/pci/hotplug/shpchp_core.c 		destroy_workqueue(slot->wq);
slot              138 drivers/pci/hotplug/shpchp_core.c 		pci_hp_deregister(&slot->hotplug_slot);
slot              139 drivers/pci/hotplug/shpchp_core.c 		kfree(slot);
slot              148 drivers/pci/hotplug/shpchp_core.c 	struct slot *slot = get_slot(hotplug_slot);
slot              150 drivers/pci/hotplug/shpchp_core.c 	ctrl_dbg(slot->ctrl, "%s: physical_slot = %s\n",
slot              151 drivers/pci/hotplug/shpchp_core.c 		 __func__, slot_name(slot));
slot              153 drivers/pci/hotplug/shpchp_core.c 	slot->attention_save = status;
slot              154 drivers/pci/hotplug/shpchp_core.c 	slot->hpc_ops->set_attention_status(slot, status);
slot              161 drivers/pci/hotplug/shpchp_core.c 	struct slot *slot = get_slot(hotplug_slot);
slot              163 drivers/pci/hotplug/shpchp_core.c 	ctrl_dbg(slot->ctrl, "%s: physical_slot = %s\n",
slot              164 drivers/pci/hotplug/shpchp_core.c 		 __func__, slot_name(slot));
slot              166 drivers/pci/hotplug/shpchp_core.c 	return shpchp_sysfs_enable_slot(slot);
slot              171 drivers/pci/hotplug/shpchp_core.c 	struct slot *slot = get_slot(hotplug_slot);
slot              173 drivers/pci/hotplug/shpchp_core.c 	ctrl_dbg(slot->ctrl, "%s: physical_slot = %s\n",
slot              174 drivers/pci/hotplug/shpchp_core.c 		 __func__, slot_name(slot));
slot              176 drivers/pci/hotplug/shpchp_core.c 	return shpchp_sysfs_disable_slot(slot);
slot              181 drivers/pci/hotplug/shpchp_core.c 	struct slot *slot = get_slot(hotplug_slot);
slot              184 drivers/pci/hotplug/shpchp_core.c 	ctrl_dbg(slot->ctrl, "%s: physical_slot = %s\n",
slot              185 drivers/pci/hotplug/shpchp_core.c 		 __func__, slot_name(slot));
slot              187 drivers/pci/hotplug/shpchp_core.c 	retval = slot->hpc_ops->get_power_status(slot, value);
slot              189 drivers/pci/hotplug/shpchp_core.c 		*value = slot->pwr_save;
slot              196 drivers/pci/hotplug/shpchp_core.c 	struct slot *slot = get_slot(hotplug_slot);
slot              199 drivers/pci/hotplug/shpchp_core.c 	ctrl_dbg(slot->ctrl, "%s: physical_slot = %s\n",
slot              200 drivers/pci/hotplug/shpchp_core.c 		 __func__, slot_name(slot));
slot              202 drivers/pci/hotplug/shpchp_core.c 	retval = slot->hpc_ops->get_attention_status(slot, value);
slot              204 drivers/pci/hotplug/shpchp_core.c 		*value = slot->attention_save;
slot              211 drivers/pci/hotplug/shpchp_core.c 	struct slot *slot = get_slot(hotplug_slot);
slot              214 drivers/pci/hotplug/shpchp_core.c 	ctrl_dbg(slot->ctrl, "%s: physical_slot = %s\n",
slot              215 drivers/pci/hotplug/shpchp_core.c 		 __func__, slot_name(slot));
slot              217 drivers/pci/hotplug/shpchp_core.c 	retval = slot->hpc_ops->get_latch_status(slot, value);
slot              219 drivers/pci/hotplug/shpchp_core.c 		*value = slot->latch_save;
slot              226 drivers/pci/hotplug/shpchp_core.c 	struct slot *slot = get_slot(hotplug_slot);
slot              229 drivers/pci/hotplug/shpchp_core.c 	ctrl_dbg(slot->ctrl, "%s: physical_slot = %s\n",
slot              230 drivers/pci/hotplug/shpchp_core.c 		 __func__, slot_name(slot));
slot              232 drivers/pci/hotplug/shpchp_core.c 	retval = slot->hpc_ops->get_adapter_status(slot, value);
slot              234 drivers/pci/hotplug/shpchp_core.c 		*value = slot->presence_save;
slot               25 drivers/pci/hotplug/shpchp_ctrl.c static int shpchp_enable_slot(struct slot *p_slot);
slot               26 drivers/pci/hotplug/shpchp_ctrl.c static int shpchp_disable_slot(struct slot *p_slot);
slot               28 drivers/pci/hotplug/shpchp_ctrl.c static int queue_interrupt_event(struct slot *p_slot, u32 event_type)
slot               47 drivers/pci/hotplug/shpchp_ctrl.c 	struct slot *p_slot;
slot               70 drivers/pci/hotplug/shpchp_ctrl.c 	struct slot *p_slot;
slot              108 drivers/pci/hotplug/shpchp_ctrl.c 	struct slot *p_slot;
slot              143 drivers/pci/hotplug/shpchp_ctrl.c 	struct slot *p_slot;
slot              178 drivers/pci/hotplug/shpchp_ctrl.c static int change_bus_speed(struct controller *ctrl, struct slot *p_slot,
slot              193 drivers/pci/hotplug/shpchp_ctrl.c static int fix_bus_speed(struct controller *ctrl, struct slot *pslot,
slot              229 drivers/pci/hotplug/shpchp_ctrl.c static int board_added(struct slot *p_slot)
slot              338 drivers/pci/hotplug/shpchp_ctrl.c static int remove_board(struct slot *p_slot)
slot              378 drivers/pci/hotplug/shpchp_ctrl.c 	struct slot *p_slot;
slot              393 drivers/pci/hotplug/shpchp_ctrl.c 	struct slot *p_slot = info->p_slot;
slot              420 drivers/pci/hotplug/shpchp_ctrl.c 	struct slot *p_slot = container_of(work, struct slot, work.work);
slot              449 drivers/pci/hotplug/shpchp_ctrl.c static void update_slot_info(struct slot *slot)
slot              451 drivers/pci/hotplug/shpchp_ctrl.c 	slot->hpc_ops->get_power_status(slot, &slot->pwr_save);
slot              452 drivers/pci/hotplug/shpchp_ctrl.c 	slot->hpc_ops->get_attention_status(slot, &slot->attention_save);
slot              453 drivers/pci/hotplug/shpchp_ctrl.c 	slot->hpc_ops->get_latch_status(slot, &slot->latch_save);
slot              454 drivers/pci/hotplug/shpchp_ctrl.c 	slot->hpc_ops->get_adapter_status(slot, &slot->presence_save);
slot              460 drivers/pci/hotplug/shpchp_ctrl.c static void handle_button_press_event(struct slot *p_slot)
slot              522 drivers/pci/hotplug/shpchp_ctrl.c 	struct slot *p_slot = info->p_slot;
slot              544 drivers/pci/hotplug/shpchp_ctrl.c static int shpchp_enable_slot (struct slot *p_slot)
slot              601 drivers/pci/hotplug/shpchp_ctrl.c static int shpchp_disable_slot (struct slot *p_slot)
slot              637 drivers/pci/hotplug/shpchp_ctrl.c int shpchp_sysfs_enable_slot(struct slot *p_slot)
slot              673 drivers/pci/hotplug/shpchp_ctrl.c int shpchp_sysfs_disable_slot(struct slot *p_slot)
slot              293 drivers/pci/hotplug/shpchp_hpc.c static int shpc_write_cmd(struct slot *slot, u8 t_slot, u8 cmd)
slot              295 drivers/pci/hotplug/shpchp_hpc.c 	struct controller *ctrl = slot->ctrl;
slot              300 drivers/pci/hotplug/shpchp_hpc.c 	mutex_lock(&slot->ctrl->cmd_lock);
slot              321 drivers/pci/hotplug/shpchp_hpc.c 	retval = shpc_wait_cmd(slot->ctrl);
slot              325 drivers/pci/hotplug/shpchp_hpc.c 	cmd_status = hpc_check_cmd_status(slot->ctrl);
slot              332 drivers/pci/hotplug/shpchp_hpc.c 	mutex_unlock(&slot->ctrl->cmd_lock);
slot              365 drivers/pci/hotplug/shpchp_hpc.c static int hpc_get_attention_status(struct slot *slot, u8 *status)
slot              367 drivers/pci/hotplug/shpchp_hpc.c 	struct controller *ctrl = slot->ctrl;
slot              368 drivers/pci/hotplug/shpchp_hpc.c 	u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
slot              389 drivers/pci/hotplug/shpchp_hpc.c static int hpc_get_power_status(struct slot *slot, u8 *status)
slot              391 drivers/pci/hotplug/shpchp_hpc.c 	struct controller *ctrl = slot->ctrl;
slot              392 drivers/pci/hotplug/shpchp_hpc.c 	u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
slot              414 drivers/pci/hotplug/shpchp_hpc.c static int hpc_get_latch_status(struct slot *slot, u8 *status)
slot              416 drivers/pci/hotplug/shpchp_hpc.c 	struct controller *ctrl = slot->ctrl;
slot              417 drivers/pci/hotplug/shpchp_hpc.c 	u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
slot              424 drivers/pci/hotplug/shpchp_hpc.c static int hpc_get_adapter_status(struct slot *slot, u8 *status)
slot              426 drivers/pci/hotplug/shpchp_hpc.c 	struct controller *ctrl = slot->ctrl;
slot              427 drivers/pci/hotplug/shpchp_hpc.c 	u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
slot              435 drivers/pci/hotplug/shpchp_hpc.c static int hpc_get_prog_int(struct slot *slot, u8 *prog_int)
slot              437 drivers/pci/hotplug/shpchp_hpc.c 	struct controller *ctrl = slot->ctrl;
slot              444 drivers/pci/hotplug/shpchp_hpc.c static int hpc_get_adapter_speed(struct slot *slot, enum pci_bus_speed *value)
slot              447 drivers/pci/hotplug/shpchp_hpc.c 	struct controller *ctrl = slot->ctrl;
slot              448 drivers/pci/hotplug/shpchp_hpc.c 	u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
slot              452 drivers/pci/hotplug/shpchp_hpc.c 	retval = hpc_get_prog_int(slot, &pi);
slot              497 drivers/pci/hotplug/shpchp_hpc.c static int hpc_get_mode1_ECC_cap(struct slot *slot, u8 *mode)
slot              500 drivers/pci/hotplug/shpchp_hpc.c 	struct controller *ctrl = slot->ctrl;
slot              514 drivers/pci/hotplug/shpchp_hpc.c static int hpc_query_power_fault(struct slot *slot)
slot              516 drivers/pci/hotplug/shpchp_hpc.c 	struct controller *ctrl = slot->ctrl;
slot              517 drivers/pci/hotplug/shpchp_hpc.c 	u32 slot_reg = shpc_readl(ctrl, SLOT_REG(slot->hp_slot));
slot              523 drivers/pci/hotplug/shpchp_hpc.c static int hpc_set_attention_status(struct slot *slot, u8 value)
slot              541 drivers/pci/hotplug/shpchp_hpc.c 	return shpc_write_cmd(slot, slot->hp_slot, slot_cmd);
slot              545 drivers/pci/hotplug/shpchp_hpc.c static void hpc_set_green_led_on(struct slot *slot)
slot              547 drivers/pci/hotplug/shpchp_hpc.c 	shpc_write_cmd(slot, slot->hp_slot, SET_PWR_ON);
slot              550 drivers/pci/hotplug/shpchp_hpc.c static void hpc_set_green_led_off(struct slot *slot)
slot              552 drivers/pci/hotplug/shpchp_hpc.c 	shpc_write_cmd(slot, slot->hp_slot, SET_PWR_OFF);
slot              555 drivers/pci/hotplug/shpchp_hpc.c static void hpc_set_green_led_blink(struct slot *slot)
slot              557 drivers/pci/hotplug/shpchp_hpc.c 	shpc_write_cmd(slot, slot->hp_slot, SET_PWR_BLINK);
slot              600 drivers/pci/hotplug/shpchp_hpc.c static int hpc_power_on_slot(struct slot *slot)
slot              604 drivers/pci/hotplug/shpchp_hpc.c 	retval = shpc_write_cmd(slot, slot->hp_slot, SET_SLOT_PWR);
slot              606 drivers/pci/hotplug/shpchp_hpc.c 		ctrl_err(slot->ctrl, "%s: Write command failed!\n", __func__);
slot              611 drivers/pci/hotplug/shpchp_hpc.c static int hpc_slot_enable(struct slot *slot)
slot              616 drivers/pci/hotplug/shpchp_hpc.c 	retval = shpc_write_cmd(slot, slot->hp_slot,
slot              619 drivers/pci/hotplug/shpchp_hpc.c 		ctrl_err(slot->ctrl, "%s: Write command failed!\n", __func__);
slot              624 drivers/pci/hotplug/shpchp_hpc.c static int hpc_slot_disable(struct slot *slot)
slot              629 drivers/pci/hotplug/shpchp_hpc.c 	retval = shpc_write_cmd(slot, slot->hp_slot,
slot              632 drivers/pci/hotplug/shpchp_hpc.c 		ctrl_err(slot->ctrl, "%s: Write command failed!\n", __func__);
slot              706 drivers/pci/hotplug/shpchp_hpc.c static int hpc_set_bus_speed_mode(struct slot *slot, enum pci_bus_speed value)
slot              709 drivers/pci/hotplug/shpchp_hpc.c 	struct controller *ctrl = slot->ctrl;
slot              763 drivers/pci/hotplug/shpchp_hpc.c 	retval = shpc_write_cmd(slot, 0, cmd);
slot               23 drivers/pci/hotplug/shpchp_pci.c int shpchp_configure_device(struct slot *p_slot)
slot               64 drivers/pci/hotplug/shpchp_pci.c int shpchp_unconfigure_device(struct slot *p_slot)
slot              469 drivers/pci/of.c int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin)
slot              221 drivers/pci/pci.c 	int seg, bus, slot, func;
slot              235 drivers/pci/pci.c 		ret = sscanf(p, "/%x.%x%c", &slot, &func, &end);
slot              241 drivers/pci/pci.c 		if (dev->devfn != PCI_DEVFN(slot, func)) {
slot              261 drivers/pci/pci.c 	ret = sscanf(wpath, "%x:%x:%x.%x%c", &seg, &bus, &slot,
slot              265 drivers/pci/pci.c 		ret = sscanf(wpath, "%x:%x.%x%c", &bus, &slot, &func, &end);
slot              274 drivers/pci/pci.c 	       dev->devfn == PCI_DEVFN(slot, func));
slot             3609 drivers/pci/pci.c 	int slot;
slot             3612 drivers/pci/pci.c 		slot = 0;
slot             3614 drivers/pci/pci.c 		slot = PCI_SLOT(dev->devfn);
slot             3616 drivers/pci/pci.c 	return (((pin - 1) + slot) % 4) + 1;
slot             4875 drivers/pci/pci.c 	if (dev->subordinate || !dev->slot ||
slot             4880 drivers/pci/pci.c 		if (pdev != dev && pdev->slot == dev->slot)
slot             4883 drivers/pci/pci.c 	return pci_reset_hotplug_slot(dev->slot->hotplug, probe);
slot             5211 drivers/pci/pci.c static bool pci_slot_resetable(struct pci_slot *slot)
slot             5215 drivers/pci/pci.c 	if (slot->bus->self &&
slot             5216 drivers/pci/pci.c 	    (slot->bus->self->dev_flags & PCI_DEV_FLAGS_NO_BUS_RESET))
slot             5219 drivers/pci/pci.c 	list_for_each_entry(dev, &slot->bus->devices, bus_list) {
slot             5220 drivers/pci/pci.c 		if (!dev->slot || dev->slot != slot)
slot             5231 drivers/pci/pci.c static void pci_slot_lock(struct pci_slot *slot)
slot             5235 drivers/pci/pci.c 	list_for_each_entry(dev, &slot->bus->devices, bus_list) {
slot             5236 drivers/pci/pci.c 		if (!dev->slot || dev->slot != slot)
slot             5245 drivers/pci/pci.c static void pci_slot_unlock(struct pci_slot *slot)
slot             5249 drivers/pci/pci.c 	list_for_each_entry(dev, &slot->bus->devices, bus_list) {
slot             5250 drivers/pci/pci.c 		if (!dev->slot || dev->slot != slot)
slot             5259 drivers/pci/pci.c static int pci_slot_trylock(struct pci_slot *slot)
slot             5263 drivers/pci/pci.c 	list_for_each_entry(dev, &slot->bus->devices, bus_list) {
slot             5264 drivers/pci/pci.c 		if (!dev->slot || dev->slot != slot)
slot             5279 drivers/pci/pci.c 					     &slot->bus->devices, bus_list) {
slot             5280 drivers/pci/pci.c 		if (!dev->slot || dev->slot != slot)
slot             5324 drivers/pci/pci.c static void pci_slot_save_and_disable_locked(struct pci_slot *slot)
slot             5328 drivers/pci/pci.c 	list_for_each_entry(dev, &slot->bus->devices, bus_list) {
slot             5329 drivers/pci/pci.c 		if (!dev->slot || dev->slot != slot)
slot             5342 drivers/pci/pci.c static void pci_slot_restore_locked(struct pci_slot *slot)
slot             5346 drivers/pci/pci.c 	list_for_each_entry(dev, &slot->bus->devices, bus_list) {
slot             5347 drivers/pci/pci.c 		if (!dev->slot || dev->slot != slot)
slot             5355 drivers/pci/pci.c static int pci_slot_reset(struct pci_slot *slot, int probe)
slot             5359 drivers/pci/pci.c 	if (!slot || !pci_slot_resetable(slot))
slot             5363 drivers/pci/pci.c 		pci_slot_lock(slot);
slot             5367 drivers/pci/pci.c 	rc = pci_reset_hotplug_slot(slot->hotplug, probe);
slot             5370 drivers/pci/pci.c 		pci_slot_unlock(slot);
slot             5381 drivers/pci/pci.c int pci_probe_reset_slot(struct pci_slot *slot)
slot             5383 drivers/pci/pci.c 	return pci_slot_reset(slot, 1);
slot             5402 drivers/pci/pci.c static int __pci_reset_slot(struct pci_slot *slot)
slot             5406 drivers/pci/pci.c 	rc = pci_slot_reset(slot, 1);
slot             5410 drivers/pci/pci.c 	if (pci_slot_trylock(slot)) {
slot             5411 drivers/pci/pci.c 		pci_slot_save_and_disable_locked(slot);
slot             5413 drivers/pci/pci.c 		rc = pci_reset_hotplug_slot(slot->hotplug, 0);
slot             5414 drivers/pci/pci.c 		pci_slot_restore_locked(slot);
slot             5415 drivers/pci/pci.c 		pci_slot_unlock(slot);
slot             5454 drivers/pci/pci.c 	struct pci_slot *slot;
slot             5463 drivers/pci/pci.c 	list_for_each_entry(slot, &bus->slots, list)
slot             5464 drivers/pci/pci.c 		if (pci_probe_reset_slot(slot))
slot             5467 drivers/pci/pci.c 	list_for_each_entry(slot, &bus->slots, list)
slot             5468 drivers/pci/pci.c 		if (pci_slot_reset(slot, 0))
slot             5524 drivers/pci/pci.c 	return (!pci_probe_reset_slot(pdev->slot)) ?
slot             5525 drivers/pci/pci.c 	    __pci_reset_slot(pdev->slot) : __pci_reset_bus(pdev->bus);
slot             4161 drivers/pci/quirks.c 	unsigned int slot;
slot             4163 drivers/pci/quirks.c 	for (slot = 0; slot < num_pci_slots; slot++)
slot             4164 drivers/pci/quirks.c 		pci_add_dma_alias(pdev, PCI_DEVFN(slot, 0x0), 5);
slot               22 drivers/pci/setup-irq.c 	u8 slot = -1;
slot               45 drivers/pci/setup-irq.c 			slot = (*(hbrg->swizzle_irq))(dev, &pin);
slot               51 drivers/pci/setup-irq.c 		irq = (*(hbrg->map_irq))(dev, slot, pin);
slot               21 drivers/pci/slot.c 	struct pci_slot *slot = to_pci_slot(kobj);
slot               23 drivers/pci/slot.c 	return attribute->show ? attribute->show(slot, buf) : -EIO;
slot               29 drivers/pci/slot.c 	struct pci_slot *slot = to_pci_slot(kobj);
slot               31 drivers/pci/slot.c 	return attribute->store ? attribute->store(slot, buf, len) : -EIO;
slot               39 drivers/pci/slot.c static ssize_t address_read_file(struct pci_slot *slot, char *buf)
slot               41 drivers/pci/slot.c 	if (slot->number == 0xff)
slot               43 drivers/pci/slot.c 				pci_domain_nr(slot->bus),
slot               44 drivers/pci/slot.c 				slot->bus->number);
slot               47 drivers/pci/slot.c 				pci_domain_nr(slot->bus),
slot               48 drivers/pci/slot.c 				slot->bus->number,
slot               49 drivers/pci/slot.c 				slot->number);
slot               93 drivers/pci/slot.c static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf)
slot               95 drivers/pci/slot.c 	return bus_speed_read(slot->bus->max_bus_speed, buf);
slot               98 drivers/pci/slot.c static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf)
slot              100 drivers/pci/slot.c 	return bus_speed_read(slot->bus->cur_bus_speed, buf);
slot              106 drivers/pci/slot.c 	struct pci_slot *slot = to_pci_slot(kobj);
slot              108 drivers/pci/slot.c 	dev_dbg(&slot->bus->dev, "dev %02x, released physical slot %s\n",
slot              109 drivers/pci/slot.c 		slot->number, pci_slot_name(slot));
slot              112 drivers/pci/slot.c 	list_for_each_entry(dev, &slot->bus->devices, bus_list)
slot              113 drivers/pci/slot.c 		if (PCI_SLOT(dev->devfn) == slot->number)
slot              114 drivers/pci/slot.c 			dev->slot = NULL;
slot              117 drivers/pci/slot.c 	list_del(&slot->list);
slot              119 drivers/pci/slot.c 	kfree(slot);
slot              180 drivers/pci/slot.c static int rename_slot(struct pci_slot *slot, const char *name)
slot              185 drivers/pci/slot.c 	if (strcmp(pci_slot_name(slot), name) == 0)
slot              192 drivers/pci/slot.c 	result = kobject_rename(&slot->kobj, slot_name);
slot              200 drivers/pci/slot.c 	struct pci_slot *slot;
slot              203 drivers/pci/slot.c 	list_for_each_entry(slot, &dev->bus->slots, list)
slot              204 drivers/pci/slot.c 		if (PCI_SLOT(dev->devfn) == slot->number)
slot              205 drivers/pci/slot.c 			dev->slot = slot;
slot              211 drivers/pci/slot.c 	struct pci_slot *slot;
slot              214 drivers/pci/slot.c 	list_for_each_entry(slot, &parent->slots, list)
slot              215 drivers/pci/slot.c 		if (slot->number == slot_nr) {
slot              216 drivers/pci/slot.c 			kobject_get(&slot->kobj);
slot              217 drivers/pci/slot.c 			return slot;
slot              266 drivers/pci/slot.c 	struct pci_slot *slot;
slot              279 drivers/pci/slot.c 	slot = get_slot(parent, slot_nr);
slot              280 drivers/pci/slot.c 	if (slot) {
slot              282 drivers/pci/slot.c 			if ((err = slot->hotplug ? -EBUSY : 0)
slot              283 drivers/pci/slot.c 			     || (err = rename_slot(slot, name))) {
slot              284 drivers/pci/slot.c 				kobject_put(&slot->kobj);
slot              285 drivers/pci/slot.c 				slot = NULL;
slot              293 drivers/pci/slot.c 	slot = kzalloc(sizeof(*slot), GFP_KERNEL);
slot              294 drivers/pci/slot.c 	if (!slot) {
slot              299 drivers/pci/slot.c 	slot->bus = parent;
slot              300 drivers/pci/slot.c 	slot->number = slot_nr;
slot              302 drivers/pci/slot.c 	slot->kobj.kset = pci_slots_kset;
slot              310 drivers/pci/slot.c 	err = kobject_init_and_add(&slot->kobj, &pci_slot_ktype, NULL,
slot              315 drivers/pci/slot.c 	INIT_LIST_HEAD(&slot->list);
slot              316 drivers/pci/slot.c 	list_add(&slot->list, &parent->slots);
slot              321 drivers/pci/slot.c 			dev->slot = slot;
slot              325 drivers/pci/slot.c 		slot_nr, pci_slot_name(slot));
slot              330 drivers/pci/slot.c 	return slot;
slot              332 drivers/pci/slot.c 	kfree(slot);
slot              333 drivers/pci/slot.c 	slot = ERR_PTR(err);
slot              346 drivers/pci/slot.c void pci_destroy_slot(struct pci_slot *slot)
slot              348 drivers/pci/slot.c 	dev_dbg(&slot->bus->dev, "dev %02x, dec refcount to %d\n",
slot              349 drivers/pci/slot.c 		slot->number, kref_read(&slot->kobj.kref) - 1);
slot              352 drivers/pci/slot.c 	kobject_put(&slot->kobj);
slot              368 drivers/pci/slot.c 	struct hotplug_slot *slot = pci_slot->hotplug;
slot              372 drivers/pci/slot.c 	if (!slot || !slot->ops)
slot              374 drivers/pci/slot.c 	kobj = kset_find_obj(module_kset, slot->mod_name);
slot             1015 drivers/pci/xen-pcifront.c 	unsigned int domain, bus, slot, func;
slot             1054 drivers/pci/xen-pcifront.c 				   "%x:%x:%x.%x", &domain, &bus, &slot, &func);
slot             1064 drivers/pci/xen-pcifront.c 				PCI_DEVFN(slot, func));
slot             1068 drivers/pci/xen-pcifront.c 				domain, bus, slot, func);
slot             1078 drivers/pci/xen-pcifront.c 			domain, bus, slot, func);
slot              134 drivers/pcmcia/i82365.h #define I365_REG(slot, reg)	(((slot) << 6) + reg)
slot               90 drivers/pcmcia/vrc4171_card.c 	enum vrc4171_slot slot;
slot              158 drivers/pcmcia/vrc4171_card.c static inline uint8_t exca_read_byte(int slot, uint8_t index)
slot              160 drivers/pcmcia/vrc4171_card.c 	if (slot == CARD_SLOTB)
slot              167 drivers/pcmcia/vrc4171_card.c static inline uint16_t exca_read_word(int slot, uint8_t index)
slot              171 drivers/pcmcia/vrc4171_card.c 	if (slot == CARD_SLOTB)
slot              183 drivers/pcmcia/vrc4171_card.c static inline uint8_t exca_write_byte(int slot, uint8_t index, uint8_t data)
slot              185 drivers/pcmcia/vrc4171_card.c 	if (slot == CARD_SLOTB)
slot              194 drivers/pcmcia/vrc4171_card.c static inline uint16_t exca_write_word(int slot, uint8_t index, uint16_t data)
slot              196 drivers/pcmcia/vrc4171_card.c 	if (slot == CARD_SLOTB)
slot              225 drivers/pcmcia/vrc4171_card.c 	unsigned int slot;
slot              232 drivers/pcmcia/vrc4171_card.c 	slot = sock->sock;
slot              233 drivers/pcmcia/vrc4171_card.c 	socket = &vrc4171_sockets[slot];
slot              243 drivers/pcmcia/vrc4171_card.c 	unsigned int slot;
slot              250 drivers/pcmcia/vrc4171_card.c 	slot = sock->sock;
slot              252 drivers/pcmcia/vrc4171_card.c 	status = exca_read_byte(slot, I365_STATUS);
slot              253 drivers/pcmcia/vrc4171_card.c 	if (exca_read_byte(slot, I365_INTCTL) & I365_PC_IOCARD) {
slot              271 drivers/pcmcia/vrc4171_card.c 	sense = exca_read_byte(slot, CARD_VOLTAGE_SENSE);
slot              308 drivers/pcmcia/vrc4171_card.c 	unsigned int slot;
slot              316 drivers/pcmcia/vrc4171_card.c 	slot = sock->sock;
slot              317 drivers/pcmcia/vrc4171_card.c 	socket = &vrc4171_sockets[slot];
slot              322 drivers/pcmcia/vrc4171_card.c 	exca_write_byte(slot, CARD_VOLTAGE_SELECT, voltage);
slot              329 drivers/pcmcia/vrc4171_card.c 	exca_write_byte(slot, I365_POWER, power);
slot              340 drivers/pcmcia/vrc4171_card.c 	exca_write_byte(slot, I365_INTCTL, control);
slot              343 drivers/pcmcia/vrc4171_card.c         exca_write_byte(slot, I365_CSCINT, cscint);
slot              344 drivers/pcmcia/vrc4171_card.c 	exca_read_byte(slot, I365_CSC);	/* clear CardStatus change */
slot              360 drivers/pcmcia/vrc4171_card.c         exca_write_byte(slot, I365_CSCINT, cscint);
slot              369 drivers/pcmcia/vrc4171_card.c 	unsigned int slot;
slot              378 drivers/pcmcia/vrc4171_card.c 	slot = sock->sock;
slot              381 drivers/pcmcia/vrc4171_card.c 	addrwin = exca_read_byte(slot, I365_ADDRWIN);
slot              384 drivers/pcmcia/vrc4171_card.c 		exca_write_byte(slot, I365_ADDRWIN, addrwin);
slot              387 drivers/pcmcia/vrc4171_card.c 	exca_write_word(slot, I365_IO(map)+I365_W_START, io->start);
slot              388 drivers/pcmcia/vrc4171_card.c 	exca_write_word(slot, I365_IO(map)+I365_W_STOP, io->stop);
slot              399 drivers/pcmcia/vrc4171_card.c 	exca_write_byte(slot, I365_IOCTL, ioctl);
slot              403 drivers/pcmcia/vrc4171_card.c 		exca_write_byte(slot, I365_ADDRWIN, addrwin);
slot              411 drivers/pcmcia/vrc4171_card.c 	unsigned int slot;
slot              425 drivers/pcmcia/vrc4171_card.c 	slot = sock->sock;
slot              428 drivers/pcmcia/vrc4171_card.c 	addrwin = exca_read_byte(slot, I365_ADDRWIN);
slot              431 drivers/pcmcia/vrc4171_card.c 		exca_write_byte(slot, I365_ADDRWIN, addrwin);
slot              437 drivers/pcmcia/vrc4171_card.c 	exca_write_word(slot, I365_MEM(map)+I365_W_START, start);
slot              453 drivers/pcmcia/vrc4171_card.c 	exca_write_word(slot, I365_MEM(map)+I365_W_STOP, stop);
slot              460 drivers/pcmcia/vrc4171_card.c 	exca_write_word(slot, I365_MEM(map)+I365_W_OFF, offset);
slot              464 drivers/pcmcia/vrc4171_card.c 		exca_write_byte(slot, I365_ADDRWIN, addrwin);
slot              478 drivers/pcmcia/vrc4171_card.c static inline unsigned int get_events(int slot)
slot              483 drivers/pcmcia/vrc4171_card.c 	status = exca_read_byte(slot, I365_STATUS);
slot              484 drivers/pcmcia/vrc4171_card.c 	csc = exca_read_byte(slot, I365_CSC);
slot              486 drivers/pcmcia/vrc4171_card.c 	if (exca_read_byte(slot, I365_INTCTL) & I365_PC_IOCARD) {
slot              515 drivers/pcmcia/vrc4171_card.c 		if (socket->slot == SLOT_INITIALIZED) {
slot              528 drivers/pcmcia/vrc4171_card.c 		if (socket->slot == SLOT_INITIALIZED) {
slot              542 drivers/pcmcia/vrc4171_card.c static inline void reserve_using_irq(int slot)
slot              546 drivers/pcmcia/vrc4171_card.c 	irq = exca_read_byte(slot, I365_INTCTL);
slot              550 drivers/pcmcia/vrc4171_card.c 	irq = exca_read_byte(slot, I365_CSCINT);
slot              558 drivers/pcmcia/vrc4171_card.c 	int slot, retval;
slot              560 drivers/pcmcia/vrc4171_card.c 	for (slot = 0; slot < CARD_MAX_SLOTS; slot++) {
slot              561 drivers/pcmcia/vrc4171_card.c 		if (slot == CARD_SLOTB && vrc4171_slotb == SLOTB_IS_NONE)
slot              564 drivers/pcmcia/vrc4171_card.c 		socket = &vrc4171_sockets[slot];
slot              565 drivers/pcmcia/vrc4171_card.c 		if (socket->slot != SLOT_PROBE) {
slot              568 drivers/pcmcia/vrc4171_card.c 			switch (socket->slot) {
slot              570 drivers/pcmcia/vrc4171_card.c 				addrwin = exca_read_byte(slot, I365_ADDRWIN);
slot              572 drivers/pcmcia/vrc4171_card.c 				exca_write_byte(slot, I365_ADDRWIN, addrwin);
slot              575 drivers/pcmcia/vrc4171_card.c 				addrwin = exca_read_byte(slot, I365_ADDRWIN);
slot              577 drivers/pcmcia/vrc4171_card.c 				exca_write_byte(slot, I365_ADDRWIN, addrwin);
slot              583 drivers/pcmcia/vrc4171_card.c 			reserve_using_irq(slot);
slot              587 drivers/pcmcia/vrc4171_card.c 		sprintf(socket->name, "NEC VRC4171 Card Slot %1c", 'A' + slot);
slot              596 drivers/pcmcia/vrc4171_card.c 		exca_write_byte(slot, I365_ADDRWIN, 0);
slot              597 drivers/pcmcia/vrc4171_card.c 		exca_write_byte(slot, GLOBAL_CONTROL, 0);
slot              599 drivers/pcmcia/vrc4171_card.c 		socket->slot = SLOT_INITIALIZED;
slot              608 drivers/pcmcia/vrc4171_card.c 	int slot;
slot              610 drivers/pcmcia/vrc4171_card.c 	for (slot = 0; slot < CARD_MAX_SLOTS; slot++) {
slot              611 drivers/pcmcia/vrc4171_card.c 		if (slot == CARD_SLOTB && vrc4171_slotb == SLOTB_IS_NONE)
slot              614 drivers/pcmcia/vrc4171_card.c 		socket = &vrc4171_sockets[slot];
slot              615 drivers/pcmcia/vrc4171_card.c 		if (socket->slot == SLOT_INITIALIZED)
slot              618 drivers/pcmcia/vrc4171_card.c 		socket->slot = SLOT_PROBE;
slot              643 drivers/pcmcia/vrc4171_card.c 				vrc4171_sockets[CARD_SLOTA].slot = SLOT_NOPROBE_MEM;
slot              646 drivers/pcmcia/vrc4171_card.c 				vrc4171_sockets[CARD_SLOTA].slot = SLOT_NOPROBE_IO;
slot              649 drivers/pcmcia/vrc4171_card.c 				vrc4171_sockets[CARD_SLOTA].slot = SLOT_NOPROBE_ALL;
slot              683 drivers/pcmcia/vrc4171_card.c 				vrc4171_sockets[CARD_SLOTB].slot = SLOT_NOPROBE_MEM;
slot              685 drivers/pcmcia/vrc4171_card.c 				vrc4171_sockets[CARD_SLOTB].slot = SLOT_NOPROBE_IO;
slot              687 drivers/pcmcia/vrc4171_card.c 				vrc4171_sockets[CARD_SLOTB].slot = SLOT_NOPROBE_ALL;
slot               51 drivers/pcmcia/vrc4173_cardu.c extern struct socket_info_t *pcmcia_register_socket (int slot,
slot              122 drivers/pcmcia/vrc4173_cardu.c static int cardu_init(unsigned int slot)
slot              124 drivers/pcmcia/vrc4173_cardu.c 	vrc4173_socket_t *socket = &cardu_sockets[slot];
slot              464 drivers/pcmcia/vrc4173_cardu.c 	int slot, err, ret;
slot              466 drivers/pcmcia/vrc4173_cardu.c 	slot = vrc4173_cardu_slots++;
slot              467 drivers/pcmcia/vrc4173_cardu.c 	socket = &cardu_sockets[slot];
slot              471 drivers/pcmcia/vrc4173_cardu.c 	sprintf(socket->name, "NEC VRC4173 CARDU%1d", slot+1);
slot              508 drivers/pcmcia/vrc4173_cardu.c 	socket->pcmcia_socket = pcmcia_register_socket(slot, &cardu_operations, 1);
slot              693 drivers/pinctrl/core.c 	void __rcu **slot;
slot              695 drivers/pinctrl/core.c 	radix_tree_for_each_slot(slot, &pctldev->pin_group_tree, &iter, 0)
slot              843 drivers/pinctrl/pinmux.c 	void __rcu **slot;
slot              845 drivers/pinctrl/pinmux.c 	radix_tree_for_each_slot(slot, &pctldev->pin_function_tree, &iter, 0)
slot              237 drivers/rapidio/rio.c 				       int slot))
slot              321 drivers/rapidio/rio.c 			  void (*moutb) (struct rio_mport * mport, void *dev_id, int mbox, int slot))
slot              618 drivers/rapidio/rio_cm.c 				int mbox, int slot)
slot              635 drivers/rapidio/rio_cm.c static void rio_txcq_handler(struct cm_dev *cm, int slot)
slot              644 drivers/rapidio/rio_cm.c 		    cm->mport->id, slot, cm->tx_cnt);
slot              649 drivers/rapidio/rio_cm.c 	if (ack_slot == slot)
slot              652 drivers/rapidio/rio_cm.c 	while (cm->tx_cnt && ((ack_slot != slot) ||
slot              695 drivers/rapidio/rio_cm.c 				 int mbox, int slot)
slot              700 drivers/rapidio/rio_cm.c 		rio_txcq_handler(cm, slot);
slot              751 drivers/s390/net/lcs.c 	cmd->slot = 0;
slot             1568 drivers/s390/net/lcs.c 	header->slot = card->portno;
slot              186 drivers/s390/net/lcs.h 	__u8   slot;
slot              204 drivers/s390/net/lcs.h 	__u8   slot;
slot              495 drivers/scsi/53c700.c 	struct NCR_700_command_slot *slot = hostdata->free_list;
slot              497 drivers/scsi/53c700.c 	if(slot == NULL) {
slot              504 drivers/scsi/53c700.c 	if(slot->state != NCR_700_SLOT_FREE)
slot              509 drivers/scsi/53c700.c 	hostdata->free_list = slot->ITL_forw;
slot              510 drivers/scsi/53c700.c 	slot->ITL_forw = NULL;
slot              517 drivers/scsi/53c700.c 	slot->state = NCR_700_SLOT_BUSY;
slot              518 drivers/scsi/53c700.c 	slot->flags = 0;
slot              521 drivers/scsi/53c700.c 	return slot;
slot              525 drivers/scsi/53c700.c free_slot(struct NCR_700_command_slot *slot,
slot              528 drivers/scsi/53c700.c 	if((slot->state & NCR_700_SLOT_MASK) != NCR_700_SLOT_MAGIC) {
slot              529 drivers/scsi/53c700.c 		printk(KERN_ERR "53c700: SLOT %p is not MAGIC!!!\n", slot);
slot              531 drivers/scsi/53c700.c 	if(slot->state == NCR_700_SLOT_FREE) {
slot              532 drivers/scsi/53c700.c 		printk(KERN_ERR "53c700: SLOT %p is FREE!!!\n", slot);
slot              535 drivers/scsi/53c700.c 	slot->resume_offset = 0;
slot              536 drivers/scsi/53c700.c 	slot->cmnd = NULL;
slot              537 drivers/scsi/53c700.c 	slot->state = NCR_700_SLOT_FREE;
slot              538 drivers/scsi/53c700.c 	slot->ITL_forw = hostdata->free_list;
slot              539 drivers/scsi/53c700.c 	hostdata->free_list = slot;
slot              552 drivers/scsi/53c700.c 		struct NCR_700_command_slot *slot =
slot              555 drivers/scsi/53c700.c 		slot->resume_offset = dsp;
slot              563 drivers/scsi/53c700.c 	      struct NCR_700_command_slot *slot)
slot              578 drivers/scsi/53c700.c 		struct NCR_700_command_slot *slot =
slot              581 drivers/scsi/53c700.c 		dma_unmap_single(hostdata->dev, slot->pCmd,
slot              583 drivers/scsi/53c700.c 		if (slot->flags == NCR_700_FLAG_AUTOSENSE) {
slot              586 drivers/scsi/53c700.c 			dma_unmap_single(hostdata->dev, slot->dma_handle,
slot              595 drivers/scsi/53c700.c 			NCR_700_unmap(hostdata, SCp, slot);
slot              597 drivers/scsi/53c700.c 		free_slot(slot, hostdata);
slot              959 drivers/scsi/53c700.c 			struct NCR_700_command_slot *slot =
slot              961 drivers/scsi/53c700.c 			if(slot->flags == NCR_700_FLAG_AUTOSENSE) {
slot              982 drivers/scsi/53c700.c 				NCR_700_unmap(hostdata, SCp, slot);
slot              983 drivers/scsi/53c700.c 				dma_unmap_single(hostdata->dev, slot->pCmd,
slot             1004 drivers/scsi/53c700.c 				slot->pCmd = dma_map_single(hostdata->dev, cmnd, MAX_COMMAND_SIZE, DMA_TO_DEVICE);
slot             1005 drivers/scsi/53c700.c 				slot->dma_handle = dma_map_single(hostdata->dev, SCp->sense_buffer, SCSI_SENSE_BUFFERSIZE, DMA_FROM_DEVICE);
slot             1006 drivers/scsi/53c700.c 				slot->SG[0].ins = bS_to_host(SCRIPT_MOVE_DATA_IN | SCSI_SENSE_BUFFERSIZE);
slot             1007 drivers/scsi/53c700.c 				slot->SG[0].pAddr = bS_to_host(slot->dma_handle);
slot             1008 drivers/scsi/53c700.c 				slot->SG[1].ins = bS_to_host(SCRIPT_RETURN);
slot             1009 drivers/scsi/53c700.c 				slot->SG[1].pAddr = 0;
slot             1010 drivers/scsi/53c700.c 				slot->resume_offset = hostdata->pScript;
slot             1011 drivers/scsi/53c700.c 				dma_cache_sync(hostdata->dev, slot->SG, sizeof(slot->SG[0])*2, DMA_TO_DEVICE);
slot             1015 drivers/scsi/53c700.c 				slot->state = NCR_700_SLOT_QUEUED;
slot             1016 drivers/scsi/53c700.c 				slot->flags = NCR_700_FLAG_AUTOSENSE;
slot             1077 drivers/scsi/53c700.c 		struct NCR_700_command_slot *slot;
slot             1103 drivers/scsi/53c700.c 			slot = (struct NCR_700_command_slot *)SCp->host_scribble;
slot             1106 drivers/scsi/53c700.c 				hostdata->msgin[2], slot, slot->tag);
slot             1116 drivers/scsi/53c700.c 			slot = (struct NCR_700_command_slot *)SCp->host_scribble;
slot             1119 drivers/scsi/53c700.c 		if(slot == NULL) {
slot             1128 drivers/scsi/53c700.c 			resume_offset = slot->resume_offset;
slot             1129 drivers/scsi/53c700.c 			hostdata->cmd = slot->cmnd;
slot             1133 drivers/scsi/53c700.c 			                    CommandAddress, slot->pCmd);
slot             1135 drivers/scsi/53c700.c 					CommandCount, slot->cmnd->cmd_len);
slot             1138 drivers/scsi/53c700.c 					    to32bit(&slot->pSG[0].ins));
slot             1153 drivers/scsi/53c700.c 			dma_cache_sync(hostdata->dev, slot->cmnd->cmnd,
slot             1154 drivers/scsi/53c700.c 				       slot->cmnd->cmd_len, DMA_TO_DEVICE);
slot             1169 drivers/scsi/53c700.c 		struct NCR_700_command_slot *slot;
slot             1194 drivers/scsi/53c700.c 			slot = (struct NCR_700_command_slot *)SCp->host_scribble;
slot             1196 drivers/scsi/53c700.c 			slot->state = NCR_700_SLOT_QUEUED;
slot             1297 drivers/scsi/53c700.c 		struct NCR_700_command_slot *slot =
slot             1299 drivers/scsi/53c700.c 		DEBUG(("  ID %d WARNING: RESELECTION OF BUSY HOST, saving cmd %p, slot %p, addr %x [%04x], resume %x!\n", id, hostdata->cmd, slot, dsp, dsp - hostdata->pScript, resume_offset));
slot             1324 drivers/scsi/53c700.c 			slot->state = NCR_700_SLOT_QUEUED;
slot             1378 drivers/scsi/53c700.c 	struct NCR_700_command_slot *slot =
slot             1389 drivers/scsi/53c700.c 		slot->state = NCR_700_SLOT_QUEUED;
slot             1392 drivers/scsi/53c700.c 		       SCp->device->host->host_no, slot->cmnd, slot));
slot             1397 drivers/scsi/53c700.c 	slot->state = NCR_700_SLOT_BUSY;
slot             1402 drivers/scsi/53c700.c 						slot->flags != NCR_700_FLAG_AUTOSENSE),
slot             1408 drivers/scsi/53c700.c 	   slot->flags == NCR_700_FLAG_AUTOSENSE) {
slot             1417 drivers/scsi/53c700.c 	   && (slot->tag != SCSI_NO_TAG && SCp->cmnd[0] != REQUEST_SENSE &&
slot             1418 drivers/scsi/53c700.c 	       slot->flags != NCR_700_FLAG_AUTOSENSE)) {
slot             1437 drivers/scsi/53c700.c 			    slot->pCmd);
slot             1443 drivers/scsi/53c700.c 	                    SGScriptStartAddress, to32bit(&slot->pSG[0].ins));
slot             1446 drivers/scsi/53c700.c 	if(slot->resume_offset == 0)
slot             1447 drivers/scsi/53c700.c 		slot->resume_offset = hostdata->pScript;
slot             1458 drivers/scsi/53c700.c 	NCR_700_writel(slot->temp, SCp->device->host, TEMP_REG);
slot             1459 drivers/scsi/53c700.c 	NCR_700_writel(slot->resume_offset, SCp->device->host, DSP_REG);
slot             1537 drivers/scsi/53c700.c 				struct NCR_700_command_slot *slot =
slot             1540 drivers/scsi/53c700.c 				if(slot->state == NCR_700_SLOT_FREE)
slot             1543 drivers/scsi/53c700.c 				SCp = slot->cmnd;
slot             1545 drivers/scsi/53c700.c 				       slot, SCp);
slot             1546 drivers/scsi/53c700.c 				free_slot(slot, hostdata);
slot             1572 drivers/scsi/53c700.c 			struct NCR_700_command_slot *slot = (SCp == NULL) ? NULL :
slot             1584 drivers/scsi/53c700.c 			} else if(dsp >= to32bit(&slot->pSG[0].ins) &&
slot             1585 drivers/scsi/53c700.c 				  dsp <= to32bit(&slot->pSG[NCR_700_SG_SEGMENTS].ins)) {
slot             1587 drivers/scsi/53c700.c 				int SGcount = (dsp - to32bit(&slot->pSG[0].ins))/sizeof(struct NCR_700_SG_List);
slot             1611 drivers/scsi/53c700.c 					count = (bS_to_cpu(slot->SG[SGcount].ins) & 0x00ffffff);
slot             1613 drivers/scsi/53c700.c 					slot->SG[SGcount].ins &= bS_to_host(0xff000000);
slot             1614 drivers/scsi/53c700.c 					slot->SG[SGcount].ins |= bS_to_host(data_transfer);
slot             1615 drivers/scsi/53c700.c 					pAddr = bS_to_cpu(slot->SG[SGcount].pAddr);
slot             1622 drivers/scsi/53c700.c 					slot->SG[SGcount].pAddr = bS_to_host(pAddr);
slot             1626 drivers/scsi/53c700.c 					slot->SG[i].ins = bS_to_host(SCRIPT_NOP);
slot             1627 drivers/scsi/53c700.c 					slot->SG[i].pAddr = 0;
slot             1629 drivers/scsi/53c700.c 				dma_cache_sync(hostdata->dev, slot->SG, sizeof(slot->SG), DMA_TO_DEVICE);
slot             1743 drivers/scsi/53c700.c 	struct NCR_700_command_slot *slot;
slot             1774 drivers/scsi/53c700.c 	slot = find_empty_slot(hostdata);
slot             1776 drivers/scsi/53c700.c 	slot->cmnd = SCp;
slot             1779 drivers/scsi/53c700.c 	SCp->host_scribble = (unsigned char *)slot;
slot             1809 drivers/scsi/53c700.c 		slot->tag = SCp->request->tag;
slot             1811 drivers/scsi/53c700.c 		       slot->tag, slot);
slot             1815 drivers/scsi/53c700.c 		slot->tag = SCSI_NO_TAG;
slot             1874 drivers/scsi/53c700.c 			slot->SG[i].ins = bS_to_host(move_ins | count);
slot             1876 drivers/scsi/53c700.c 			       i, count, slot->SG[i].ins, (unsigned long)vPtr));
slot             1877 drivers/scsi/53c700.c 			slot->SG[i].pAddr = bS_to_host(vPtr);
slot             1879 drivers/scsi/53c700.c 		slot->SG[i].ins = bS_to_host(SCRIPT_RETURN);
slot             1880 drivers/scsi/53c700.c 		slot->SG[i].pAddr = 0;
slot             1881 drivers/scsi/53c700.c 		dma_cache_sync(hostdata->dev, slot->SG, sizeof(slot->SG), DMA_TO_DEVICE);
slot             1883 drivers/scsi/53c700.c 		       (&slot->pSG[i].ins),
slot             1884 drivers/scsi/53c700.c 		       slot->SG[i].ins));
slot             1886 drivers/scsi/53c700.c 	slot->resume_offset = 0;
slot             1887 drivers/scsi/53c700.c 	slot->pCmd = dma_map_single(hostdata->dev, SCp->cmnd,
slot             1898 drivers/scsi/53c700.c 	struct NCR_700_command_slot *slot;
slot             1902 drivers/scsi/53c700.c 	slot = (struct NCR_700_command_slot *)SCp->host_scribble;
slot             1904 drivers/scsi/53c700.c 	if(slot == NULL)
slot              987 drivers/scsi/aacraid/commctrl.c 	u32 slot;
slot              996 drivers/scsi/aacraid/commctrl.c 	pci_info.slot = PCI_SLOT(dev->pdev->devfn);
slot              114 drivers/scsi/aha1740.c 		      shpnt->io_port, shpnt->irq, host->edev->slot,
slot              574 drivers/scsi/aha1740.c 	       edev->slot, slotbase, irq_level, irq_type ? "edge" : "level");
slot               47 drivers/scsi/hisi_sas/hisi_sas.h #define hisi_sas_status_buf_addr_mem(slot) hisi_sas_status_buf_addr((slot)->buf)
slot               48 drivers/scsi/hisi_sas/hisi_sas.h #define hisi_sas_status_buf_addr_dma(slot) \
slot               49 drivers/scsi/hisi_sas/hisi_sas.h 	hisi_sas_status_buf_addr((slot)->buf_dma)
slot               53 drivers/scsi/hisi_sas/hisi_sas.h #define hisi_sas_cmd_hdr_addr_mem(slot) hisi_sas_cmd_hdr_addr((slot)->buf)
slot               54 drivers/scsi/hisi_sas/hisi_sas.h #define hisi_sas_cmd_hdr_addr_dma(slot) hisi_sas_cmd_hdr_addr((slot)->buf_dma)
slot               58 drivers/scsi/hisi_sas/hisi_sas.h #define hisi_sas_sge_addr_mem(slot) hisi_sas_sge_addr((slot)->buf)
slot               59 drivers/scsi/hisi_sas/hisi_sas.h #define hisi_sas_sge_addr_dma(slot) hisi_sas_sge_addr((slot)->buf_dma)
slot               63 drivers/scsi/hisi_sas/hisi_sas.h #define hisi_sas_sge_dif_addr_mem(slot) hisi_sas_sge_dif_addr((slot)->buf)
slot               64 drivers/scsi/hisi_sas/hisi_sas.h #define hisi_sas_sge_dif_addr_dma(slot) hisi_sas_sge_dif_addr((slot)->buf_dma)
slot              283 drivers/scsi/hisi_sas/hisi_sas.h 			struct hisi_sas_slot *slot);
slot              285 drivers/scsi/hisi_sas/hisi_sas.h 			struct hisi_sas_slot *slot);
slot              287 drivers/scsi/hisi_sas/hisi_sas.h 			struct hisi_sas_slot *slot);
slot              289 drivers/scsi/hisi_sas/hisi_sas.h 			  struct hisi_sas_slot *slot,
slot              568 drivers/scsi/hisi_sas/hisi_sas.h 			    struct hisi_sas_slot *slot);
slot              583 drivers/scsi/hisi_sas/hisi_sas.h 				    struct hisi_sas_slot *slot);
slot              105 drivers/scsi/hisi_sas/hisi_sas_main.c 			    struct hisi_sas_slot *slot)
slot              110 drivers/scsi/hisi_sas/hisi_sas_main.c 			hisi_sas_status_buf_addr_mem(slot);
slot              221 drivers/scsi/hisi_sas/hisi_sas_main.c 			     struct hisi_sas_slot *slot)
slot              224 drivers/scsi/hisi_sas/hisi_sas_main.c 	int device_id = slot->device_id;
slot              239 drivers/scsi/hisi_sas/hisi_sas_main.c 			if (slot->n_elem)
slot              243 drivers/scsi/hisi_sas/hisi_sas_main.c 			if (slot->n_elem_dif)
slot              251 drivers/scsi/hisi_sas/hisi_sas_main.c 	list_del_init(&slot->entry);
slot              254 drivers/scsi/hisi_sas/hisi_sas_main.c 	memset(slot, 0, offsetof(struct hisi_sas_slot, buf));
slot              256 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_sas_slot_index_free(hisi_hba, slot->idx);
slot              261 drivers/scsi/hisi_sas/hisi_sas_main.c 				  struct hisi_sas_slot *slot)
slot              263 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_hba->hw->prep_smp(hisi_hba, slot);
slot              267 drivers/scsi/hisi_sas/hisi_sas_main.c 				  struct hisi_sas_slot *slot)
slot              269 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_hba->hw->prep_ssp(hisi_hba, slot);
slot              273 drivers/scsi/hisi_sas/hisi_sas_main.c 				  struct hisi_sas_slot *slot)
slot              275 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_hba->hw->prep_stp(hisi_hba, slot);
slot              279 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct hisi_sas_slot *slot,
slot              282 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_hba->hw->prep_abort(hisi_hba, slot,
slot              418 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct hisi_sas_slot *slot;
slot              490 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot = &hisi_hba->slot_info[slot_idx];
slot              495 drivers/scsi/hisi_sas/hisi_sas_main.c 	list_add_tail(&slot->delivery, &dq->list);
slot              498 drivers/scsi/hisi_sas/hisi_sas_main.c 	list_add_tail(&slot->entry, &sas_dev->list);
slot              504 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->device_id = sas_dev->device_id;
slot              505 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->n_elem = n_elem;
slot              506 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->n_elem_dif = n_elem_dif;
slot              507 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->dlvry_queue = dlvry_queue;
slot              508 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->dlvry_queue_slot = dlvry_queue_slot;
slot              510 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->cmd_hdr = &cmd_hdr_base[dlvry_queue_slot];
slot              511 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->task = task;
slot              512 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->port = port;
slot              513 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->tmf = tmf;
slot              514 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->is_internal = is_tmf;
slot              515 drivers/scsi/hisi_sas/hisi_sas_main.c 	task->lldd_task = slot;
slot              517 drivers/scsi/hisi_sas/hisi_sas_main.c 	memset(slot->cmd_hdr, 0, sizeof(struct hisi_sas_cmd_hdr));
slot              518 drivers/scsi/hisi_sas/hisi_sas_main.c 	memset(hisi_sas_cmd_hdr_addr_mem(slot), 0, HISI_SAS_COMMAND_TABLE_SZ);
slot              519 drivers/scsi/hisi_sas/hisi_sas_main.c 	memset(hisi_sas_status_buf_addr_mem(slot), 0,
slot              524 drivers/scsi/hisi_sas/hisi_sas_main.c 		hisi_sas_task_prep_smp(hisi_hba, slot);
slot              527 drivers/scsi/hisi_sas/hisi_sas_main.c 		hisi_sas_task_prep_ssp(hisi_hba, slot);
slot              532 drivers/scsi/hisi_sas/hisi_sas_main.c 		hisi_sas_task_prep_ata(hisi_hba, slot);
slot              545 drivers/scsi/hisi_sas/hisi_sas_main.c 	WRITE_ONCE(slot->ready, 1);
slot              993 drivers/scsi/hisi_sas/hisi_sas_main.c 				     struct hisi_sas_slot *slot)
slot             1006 drivers/scsi/hisi_sas/hisi_sas_main.c 		if (!slot->is_internal && task->task_proto != SAS_PROTOCOL_SMP)
slot             1011 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_sas_slot_task_free(hisi_hba, task, slot);
slot             1017 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct hisi_sas_slot *slot, *slot2;
slot             1020 drivers/scsi/hisi_sas/hisi_sas_main.c 	list_for_each_entry_safe(slot, slot2, &sas_dev->list, entry)
slot             1021 drivers/scsi/hisi_sas/hisi_sas_main.c 		hisi_sas_do_release_task(hisi_hba, slot->task, slot);
slot             1225 drivers/scsi/hisi_sas/hisi_sas_main.c 				struct hisi_sas_slot *slot = task->lldd_task;
slot             1228 drivers/scsi/hisi_sas/hisi_sas_main.c 				if (slot) {
slot             1230 drivers/scsi/hisi_sas/hisi_sas_main.c 					       &hisi_hba->cq[slot->dlvry_queue];
slot             1236 drivers/scsi/hisi_sas/hisi_sas_main.c 					slot->task = NULL;
slot             1620 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct hisi_sas_slot *slot = task->lldd_task;
slot             1623 drivers/scsi/hisi_sas/hisi_sas_main.c 		if (slot) {
slot             1628 drivers/scsi/hisi_sas/hisi_sas_main.c 			cq = &hisi_hba->cq[slot->dlvry_queue];
slot             1640 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct hisi_sas_slot *slot = task->lldd_task;
slot             1641 drivers/scsi/hisi_sas/hisi_sas_main.c 		u16 tag = slot->idx;
slot             1667 drivers/scsi/hisi_sas/hisi_sas_main.c 				hisi_sas_do_release_task(hisi_hba, task, slot);
slot             1684 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct hisi_sas_slot *slot = task->lldd_task;
slot             1685 drivers/scsi/hisi_sas/hisi_sas_main.c 		u32 tag = slot->idx;
slot             1686 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct hisi_sas_cq *cq = &hisi_hba->cq[slot->dlvry_queue];
slot             1697 drivers/scsi/hisi_sas/hisi_sas_main.c 			slot->task = NULL;
slot             1907 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct hisi_sas_slot *slot = task->lldd_task;
slot             1908 drivers/scsi/hisi_sas/hisi_sas_main.c 		u32 tag = slot->idx;
slot             1941 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct hisi_sas_slot *slot;
slot             1962 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot = &hisi_hba->slot_info[slot_idx];
slot             1967 drivers/scsi/hisi_sas/hisi_sas_main.c 	list_add_tail(&slot->delivery, &dq->list);
slot             1970 drivers/scsi/hisi_sas/hisi_sas_main.c 	list_add_tail(&slot->entry, &sas_dev->list);
slot             1976 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->device_id = sas_dev->device_id;
slot             1977 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->n_elem = n_elem;
slot             1978 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->dlvry_queue = dlvry_queue;
slot             1979 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->dlvry_queue_slot = dlvry_queue_slot;
slot             1981 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->cmd_hdr = &cmd_hdr_base[dlvry_queue_slot];
slot             1982 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->task = task;
slot             1983 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->port = port;
slot             1984 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->is_internal = true;
slot             1985 drivers/scsi/hisi_sas/hisi_sas_main.c 	task->lldd_task = slot;
slot             1987 drivers/scsi/hisi_sas/hisi_sas_main.c 	memset(slot->cmd_hdr, 0, sizeof(struct hisi_sas_cmd_hdr));
slot             1988 drivers/scsi/hisi_sas/hisi_sas_main.c 	memset(hisi_sas_cmd_hdr_addr_mem(slot), 0, HISI_SAS_COMMAND_TABLE_SZ);
slot             1989 drivers/scsi/hisi_sas/hisi_sas_main.c 	memset(hisi_sas_status_buf_addr_mem(slot), 0,
slot             1992 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_sas_task_prep_abort(hisi_hba, slot, device_id,
slot             1998 drivers/scsi/hisi_sas/hisi_sas_main.c 	WRITE_ONCE(slot->ready, 1);
slot             2069 drivers/scsi/hisi_sas/hisi_sas_main.c 			struct hisi_sas_slot *slot = task->lldd_task;
slot             2071 drivers/scsi/hisi_sas/hisi_sas_main.c 			if (slot) {
slot             2073 drivers/scsi/hisi_sas/hisi_sas_main.c 					&hisi_hba->cq[slot->dlvry_queue];
slot             2079 drivers/scsi/hisi_sas/hisi_sas_main.c 				slot->task = NULL;
slot             2116 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct hisi_sas_slot *slot;
slot             2123 drivers/scsi/hisi_sas/hisi_sas_main.c 		slot = &hisi_hba->slot_info[tag];
slot             2124 drivers/scsi/hisi_sas/hisi_sas_main.c 		dq = &hisi_hba->dq[slot->dlvry_queue];
slot             2390 drivers/scsi/hisi_sas/hisi_sas_main.c 			struct hisi_sas_slot *slot;
slot             2392 drivers/scsi/hisi_sas/hisi_sas_main.c 			slot = &hisi_hba->slot_info[slot_index];
slot             2393 drivers/scsi/hisi_sas/hisi_sas_main.c 			slot->buf = buf;
slot             2394 drivers/scsi/hisi_sas/hisi_sas_main.c 			slot->buf_dma = buf_dma;
slot             2395 drivers/scsi/hisi_sas/hisi_sas_main.c 			slot->idx = slot_index;
slot             2986 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_cq_show_slot(struct seq_file *s, int slot, void *cq_ptr)
slot             2992 drivers/scsi/hisi_sas/hisi_sas_main.c 			(hisi_hba->hw->complete_hdr_size * slot);
slot             2994 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_sas_show_row_32(s, slot,
slot             3002 drivers/scsi/hisi_sas/hisi_sas_main.c 	int slot;
slot             3004 drivers/scsi/hisi_sas/hisi_sas_main.c 	for (slot = 0; slot < HISI_SAS_QUEUE_SLOTS; slot++) {
slot             3005 drivers/scsi/hisi_sas/hisi_sas_main.c 		hisi_sas_cq_show_slot(s, slot, cq);
slot             3023 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_dq_show_slot(struct seq_file *s, int slot, void *dq_ptr)
slot             3029 drivers/scsi/hisi_sas/hisi_sas_main.c 		sizeof(struct hisi_sas_cmd_hdr) * slot;
slot             3031 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_sas_show_row_32(s, slot, sizeof(struct hisi_sas_cmd_hdr), cmd_hdr);
slot             3036 drivers/scsi/hisi_sas/hisi_sas_main.c 	int slot;
slot             3038 drivers/scsi/hisi_sas/hisi_sas_main.c 	for (slot = 0; slot < HISI_SAS_QUEUE_SLOTS; slot++) {
slot             3039 drivers/scsi/hisi_sas/hisi_sas_main.c 		hisi_sas_dq_show_slot(s, slot, s->private);
slot              888 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 			      struct hisi_sas_slot *slot,
slot              893 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct hisi_sas_sge_page *sge_page = hisi_sas_sge_addr_mem(slot);
slot              906 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	hdr->prd_table_addr = cpu_to_le64(hisi_sas_sge_addr_dma(slot));
slot              912 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 			  struct hisi_sas_slot *slot)
slot              914 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct sas_task *task = slot->task;
slot              915 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
slot              917 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct hisi_sas_port *port = slot->port;
slot              943 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	hdr->transfer_tags = cpu_to_le32(slot->idx << CMD_HDR_IPTT_OFF);
slot              946 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot));
slot              950 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 			  struct hisi_sas_slot *slot)
slot              952 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct sas_task *task = slot->task;
slot              953 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
slot              956 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct hisi_sas_port *port = slot->port;
slot              959 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct hisi_sas_tmf_task *tmf = slot->tmf;
slot             1007 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	hdr->transfer_tags = cpu_to_le32(slot->idx << CMD_HDR_IPTT_OFF);
slot             1010 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		prep_prd_sge_v1_hw(hisi_hba, slot, hdr, task->scatter,
slot             1011 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 					slot->n_elem);
slot             1014 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	hdr->cmd_table_addr = cpu_to_le64(hisi_sas_cmd_hdr_addr_dma(slot));
slot             1015 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot));
slot             1017 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot) +
slot             1050 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 			   struct hisi_sas_slot *slot)
slot             1054 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 			hisi_sas_status_buf_addr_mem(slot);
slot             1148 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 			slot->abort = 1;
slot             1177 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 			       struct hisi_sas_slot *slot)
slot             1179 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct sas_task *task = slot->task;
slot             1186 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 			hisi_hba->complete_hdr[slot->cmplt_queue];
slot             1191 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	complete_hdr = &complete_queue[slot->cmplt_queue_slot];
slot             1221 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				slot->cmplt_queue, slot->cmplt_queue_slot);
slot             1225 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				slot->cmplt_queue, slot->cmplt_queue_slot);
slot             1229 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				slot->cmplt_queue, slot->cmplt_queue_slot);
slot             1233 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				slot->cmplt_queue, slot->cmplt_queue_slot);
slot             1237 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				slot->cmplt_queue, slot->cmplt_queue_slot);
slot             1241 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				slot->cmplt_queue, slot->cmplt_queue_slot);
slot             1245 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				slot->cmplt_queue, slot->cmplt_queue_slot);
slot             1249 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				slot->cmplt_queue, slot->cmplt_queue_slot);
slot             1259 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		slot_err_v1_hw(hisi_hba, task, slot);
slot             1260 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		if (unlikely(slot->abort))
slot             1269 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				hisi_sas_status_buf_addr_mem(slot);
slot             1286 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		       hisi_sas_status_buf_addr_mem(slot) +
slot             1302 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	if (!slot->port->port_attached) {
slot             1304 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 			slot->port->sas_port.id);
slot             1309 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	hisi_sas_slot_task_free(hisi_hba, task, slot);
slot             1495 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct hisi_sas_slot *slot;
slot             1516 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		slot = &hisi_hba->slot_info[idx];
slot             1522 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		slot->cmplt_queue_slot = rd_point;
slot             1523 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		slot->cmplt_queue = queue;
slot             1524 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		slot_complete_v1_hw(hisi_hba, slot);
slot             1668 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			      struct hisi_sas_slot *slot,
slot             1673 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_sge_page *sge_page = hisi_sas_sge_addr_mem(slot);
slot             1686 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hdr->prd_table_addr = cpu_to_le64(hisi_sas_sge_addr_dma(slot));
slot             1692 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			  struct hisi_sas_slot *slot)
slot             1694 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct sas_task *task = slot->task;
slot             1695 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
slot             1697 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_port *port = slot->port;
slot             1724 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hdr->transfer_tags = cpu_to_le32(slot->idx << CMD_HDR_IPTT_OFF);
slot             1727 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot));
slot             1731 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			  struct hisi_sas_slot *slot)
slot             1733 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct sas_task *task = slot->task;
slot             1734 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
slot             1737 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_port *port = slot->port;
slot             1740 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_tmf_task *tmf = slot->tmf;
slot             1781 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hdr->transfer_tags = cpu_to_le32(slot->idx);
slot             1784 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		prep_prd_sge_v2_hw(hisi_hba, slot, hdr, task->scatter,
slot             1785 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 					slot->n_elem);
slot             1788 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hdr->cmd_table_addr = cpu_to_le64(hisi_sas_cmd_hdr_addr_dma(slot));
slot             1789 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot));
slot             1791 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot) +
slot             2013 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			   struct hisi_sas_slot *slot,
slot             2018 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			hisi_sas_status_buf_addr_mem(slot);
slot             2157 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			slot->abort = 1;
slot             2298 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			slot->abort = 1;
slot             2308 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		hisi_sas_sata_done(task, slot);
slot             2317 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c slot_complete_v2_hw(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot)
slot             2319 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct sas_task *task = slot->task;
slot             2327 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			hisi_hba->complete_hdr[slot->cmplt_queue];
slot             2329 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			&complete_queue[slot->cmplt_queue_slot];
slot             2331 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	bool is_internal = slot->is_internal;
slot             2367 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		del_timer(&slot->internal_abort_timer);
slot             2371 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		del_timer(&slot->internal_abort_timer);
slot             2378 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		del_timer(&slot->internal_abort_timer);
slot             2387 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		u32 *error_info = hisi_sas_status_buf_addr_mem(slot);
slot             2391 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			slot_err_v2_hw(hisi_hba, task, slot, 1);
slot             2393 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			slot_err_v2_hw(hisi_hba, task, slot, 2);
slot             2397 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				 slot->idx, task, sas_dev->device_id,
slot             2403 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		if (unlikely(slot->abort))
slot             2412 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				hisi_sas_status_buf_addr_mem(slot);
slot             2429 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		       hisi_sas_status_buf_addr_mem(slot) +
slot             2439 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		hisi_sas_sata_done(task, slot);
slot             2447 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	if (!slot->port->port_attached) {
slot             2449 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			slot->port->sas_port.id);
slot             2463 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hisi_sas_slot_task_free(hisi_hba, task, slot);
slot             2483 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			  struct hisi_sas_slot *slot)
slot             2485 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct sas_task *task = slot->task;
slot             2489 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
slot             2492 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_tmf_task *tmf = slot->tmf;
slot             2550 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hdr->transfer_tags = cpu_to_le32(slot->idx);
slot             2553 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		prep_prd_sge_v2_hw(hisi_hba, slot, hdr, task->scatter,
slot             2554 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 					slot->n_elem);
slot             2557 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hdr->cmd_table_addr = cpu_to_le64(hisi_sas_cmd_hdr_addr_dma(slot));
slot             2558 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot));
slot             2560 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot);
slot             2570 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_slot *slot = from_timer(slot, t, internal_abort_timer);
slot             2571 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_port *port = slot->port;
slot             2603 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		struct hisi_sas_slot *slot,
slot             2606 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct sas_task *task = slot->task;
slot             2608 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
slot             2609 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_port *port = slot->port;
slot             2610 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct timer_list *timer = &slot->internal_abort_timer;
slot             2629 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	hdr->transfer_tags = cpu_to_le32(slot->idx);
slot             3111 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_slot *slot;
slot             3152 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				slot = &hisi_hba->slot_info[iptt];
slot             3153 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				slot->cmplt_queue_slot = rd_point;
slot             3154 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				slot->cmplt_queue = queue;
slot             3155 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				slot_complete_v2_hw(hisi_hba, slot);
slot             3164 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			slot = &hisi_hba->slot_info[iptt];
slot             3165 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			slot->cmplt_queue_slot = rd_point;
slot             3166 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			slot->cmplt_queue = queue;
slot             3167 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			slot_complete_v2_hw(hisi_hba, slot);
slot              824 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_slot *slot, *slot2;
slot              830 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	list_for_each_entry_safe(slot, slot2, &sas_dev->list, entry) {
slot              833 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			(slot->idx << CFG_SET_ABORTED_IPTT_OFF);
slot             1049 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			      struct hisi_sas_slot *slot,
slot             1054 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_sge_page *sge_page = hisi_sas_sge_addr_mem(slot);
slot             1067 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hdr->prd_table_addr = cpu_to_le64(hisi_sas_sge_addr_dma(slot));
slot             1073 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 				   struct hisi_sas_slot *slot,
slot             1082 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sge_dif_page = hisi_sas_sge_dif_addr_mem(slot);
slot             1095 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		cpu_to_le64(hisi_sas_sge_dif_addr_dma(slot));
slot             1168 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			  struct hisi_sas_slot *slot)
slot             1170 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_task *task = slot->task;
slot             1171 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
slot             1174 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_port *port = slot->port;
slot             1177 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_tmf_task *tmf = slot->tmf;
slot             1218 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hdr->transfer_tags = cpu_to_le32(slot->idx);
slot             1221 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		prep_prd_sge_v3_hw(hisi_hba, slot, hdr, task->scatter,
slot             1222 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 				   slot->n_elem);
slot             1225 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			prep_prd_sge_dif_v3_hw(hisi_hba, slot, hdr,
slot             1227 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 					       slot->n_elem_dif);
slot             1230 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hdr->cmd_table_addr = cpu_to_le64(hisi_sas_cmd_hdr_addr_dma(slot));
slot             1231 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot));
slot             1233 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot) +
slot             1261 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		buf_cmd_prot = hisi_sas_cmd_hdr_addr_mem(slot) +
slot             1290 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			  struct hisi_sas_slot *slot)
slot             1292 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_task *task = slot->task;
slot             1293 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
slot             1295 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_port *port = slot->port;
slot             1322 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hdr->transfer_tags = cpu_to_le32(slot->idx << CMD_HDR_IPTT_OFF);
slot             1325 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot));
slot             1330 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			  struct hisi_sas_slot *slot)
slot             1332 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_task *task = slot->task;
slot             1336 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
slot             1390 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hdr->transfer_tags = cpu_to_le32(slot->idx);
slot             1393 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		prep_prd_sge_v3_hw(hisi_hba, slot, hdr, task->scatter,
slot             1394 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 					slot->n_elem);
slot             1397 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hdr->cmd_table_addr = cpu_to_le64(hisi_sas_cmd_hdr_addr_dma(slot));
slot             1398 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hdr->sts_buffer_addr = cpu_to_le64(hisi_sas_status_buf_addr_dma(slot));
slot             1400 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot);
slot             1409 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		struct hisi_sas_slot *slot,
slot             1412 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_task *task = slot->task;
slot             1414 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_cmd_hdr *hdr = slot->cmd_hdr;
slot             1415 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_port *port = slot->port;
slot             1431 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hdr->transfer_tags = cpu_to_le32(slot->idx);
slot             2090 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	       struct hisi_sas_slot *slot)
slot             2094 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			hisi_hba->complete_hdr[slot->cmplt_queue];
slot             2096 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			&complete_queue[slot->cmplt_queue_slot];
slot             2098 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			hisi_sas_status_buf_addr_mem(slot);
slot             2110 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			slot->abort = 1;
slot             2124 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			slot->abort = 1;
slot             2129 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		hisi_sas_sata_done(task, slot);
slot             2140 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c slot_complete_v3_hw(struct hisi_hba *hisi_hba, struct hisi_sas_slot *slot)
slot             2142 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_task *task = slot->task;
slot             2150 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			hisi_hba->complete_hdr[slot->cmplt_queue];
slot             2152 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			&complete_queue[slot->cmplt_queue_slot];
slot             2154 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	bool is_internal = slot->is_internal;
slot             2210 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		u32 *error_info = hisi_sas_status_buf_addr_mem(slot);
slot             2212 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		slot_err_v3_hw(hisi_hba, task, slot);
slot             2215 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 				 slot->idx, task, sas_dev->device_id,
slot             2219 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		if (unlikely(slot->abort))
slot             2227 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			hisi_sas_status_buf_addr_mem(slot) +
slot             2242 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			hisi_sas_status_buf_addr_mem(slot) +
slot             2251 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		hisi_sas_sata_done(task, slot);
slot             2258 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	if (!slot->port->port_attached) {
slot             2260 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			slot->port->sas_port.id);
slot             2274 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	hisi_sas_slot_task_free(hisi_hba, task, slot);
slot             2297 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_slot *slot;
slot             2318 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			slot = &hisi_hba->slot_info[iptt];
slot             2319 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			slot->cmplt_queue_slot = rd_point;
slot             2320 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			slot->cmplt_queue = queue;
slot             2321 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			slot_complete_v3_hw(hisi_hba, slot);
slot              538 drivers/scsi/mpt3sas/mpt3sas_base.h 	u16	slot;
slot              597 drivers/scsi/mpt3sas/mpt3sas_base.h 	u16	slot;
slot              214 drivers/scsi/mpt3sas/mpt3sas_ctl.c 				 sas_device->slot);
slot              227 drivers/scsi/mpt3sas/mpt3sas_ctl.c 						 pcie_device->slot);
slot              372 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	u64 enclosure_logical_id, u16 slot, u8 form,
slot              389 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		    slot, &boot_device->EnclosureSlot);
slot              476 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	u16 slot;
slot              491 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		slot = 0;
slot              497 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		slot = 0;
slot              503 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		slot = sas_device->slot;
slot              508 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		    enclosure_logical_id, slot,
slot              522 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		    enclosure_logical_id, slot,
slot              536 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		    enclosure_logical_id, slot,
slot              726 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			    sas_device->slot);
slot              741 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			    sas_device->slot);
slot              755 drivers/scsi/mpt3sas/mpt3sas_scsih.c 				 sas_device->slot);
slot             1074 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			 pcie_device->slot);
slot             1146 drivers/scsi/mpt3sas/mpt3sas_scsih.c 				    pcie_device->slot));
slot             1197 drivers/scsi/mpt3sas/mpt3sas_scsih.c 				    pcie_device->slot));
slot             2387 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			pcie_device->slot);
slot             2824 drivers/scsi/mpt3sas/mpt3sas_scsih.c 					pcie_device->slot);
slot             3660 drivers/scsi/mpt3sas/mpt3sas_scsih.c 						    sas_device->slot));
slot             3671 drivers/scsi/mpt3sas/mpt3sas_scsih.c 						    pcie_device->slot));
slot             4978 drivers/scsi/mpt3sas/mpt3sas_scsih.c 					 pcie_device->slot);
slot             5083 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	mpi_request.Slot = cpu_to_le16(sas_device->slot);
slot             6126 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		sas_device->slot =
slot             6665 drivers/scsi/mpt3sas/mpt3sas_scsih.c 				    pcie_device->slot));
slot             6685 drivers/scsi/mpt3sas/mpt3sas_scsih.c 			 pcie_device->slot);
slot             6703 drivers/scsi/mpt3sas/mpt3sas_scsih.c 				    pcie_device->slot));
slot             6910 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		pcie_device->slot = le16_to_cpu(pcie_device_pg0.Slot);
slot             8401 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		    sas_device_pg0->SASAddress)) && (sas_device->slot ==
slot             8424 drivers/scsi/mpt3sas/mpt3sas_scsih.c 					 sas_device->slot);
slot             8571 drivers/scsi/mpt3sas/mpt3sas_scsih.c 		    && (pcie_device->slot == le16_to_cpu(
slot             8594 drivers/scsi/mpt3sas/mpt3sas_scsih.c 					    pcie_device->slot);
slot             1300 drivers/scsi/mpt3sas/mpt3sas_transport.c 		rc = sas_device->slot;
slot              124 drivers/scsi/mvsas/mv_init.c 	if (mvi->slot)
slot              126 drivers/scsi/mvsas/mv_init.c 				  sizeof(*mvi->slot) * slot_nr,
slot              127 drivers/scsi/mvsas/mv_init.c 				  mvi->slot, mvi->slot_dma);
slot              260 drivers/scsi/mvsas/mv_init.c 	mvi->slot = dma_alloc_coherent(mvi->dev,
slot              261 drivers/scsi/mvsas/mv_init.c 				       sizeof(*mvi->slot) * slot_nr,
slot              263 drivers/scsi/mvsas/mv_init.c 	if (!mvi->slot)
slot              265 drivers/scsi/mvsas/mv_init.c 	memset(mvi->slot, 0, sizeof(*mvi->slot) * slot_nr);
slot               15 drivers/scsi/mvsas/mv_sas.c 		struct mvs_slot_info *slot;
slot               16 drivers/scsi/mvsas/mv_sas.c 		slot = task->lldd_task;
slot               17 drivers/scsi/mvsas/mv_sas.c 		*tag = slot->slot_tag;
slot              316 drivers/scsi/mvsas/mv_sas.c 	struct mvs_slot_info *slot = &mvi->slot_info[tag];
slot              347 drivers/scsi/mvsas/mv_sas.c 	buf_tmp = slot->buf;
slot              348 drivers/scsi/mvsas/mv_sas.c 	buf_tmp_dma = slot->buf_dma;
slot              371 drivers/scsi/mvsas/mv_sas.c 	slot->response = buf_tmp;
slot              379 drivers/scsi/mvsas/mv_sas.c 	slot->tx = mvi->tx_prod;
slot              436 drivers/scsi/mvsas/mv_sas.c 	struct mvs_slot_info *slot;
slot              451 drivers/scsi/mvsas/mv_sas.c 	slot = &mvi->slot_info[tag];
slot              452 drivers/scsi/mvsas/mv_sas.c 	slot->tx = mvi->tx_prod;
slot              487 drivers/scsi/mvsas/mv_sas.c 	buf_cmd = buf_tmp = slot->buf;
slot              488 drivers/scsi/mvsas/mv_sas.c 	buf_tmp_dma = slot->buf_dma;
slot              516 drivers/scsi/mvsas/mv_sas.c 	slot->response = buf_tmp;
slot              564 drivers/scsi/mvsas/mv_sas.c 	struct mvs_slot_info *slot;
slot              575 drivers/scsi/mvsas/mv_sas.c 	slot = &mvi->slot_info[tag];
slot              580 drivers/scsi/mvsas/mv_sas.c 	slot->tx = mvi->tx_prod;
slot              604 drivers/scsi/mvsas/mv_sas.c 	buf_cmd = buf_tmp = slot->buf;
slot              605 drivers/scsi/mvsas/mv_sas.c 	buf_tmp_dma = slot->buf_dma;
slot              631 drivers/scsi/mvsas/mv_sas.c 	slot->response = buf_tmp;
slot              701 drivers/scsi/mvsas/mv_sas.c 	struct mvs_slot_info *slot;
slot              771 drivers/scsi/mvsas/mv_sas.c 	slot = &mvi->slot_info[tag];
slot              774 drivers/scsi/mvsas/mv_sas.c 	slot->n_elem = n_elem;
slot              775 drivers/scsi/mvsas/mv_sas.c 	slot->slot_tag = tag;
slot              777 drivers/scsi/mvsas/mv_sas.c 	slot->buf = dma_pool_zalloc(mvi->dma_pool, GFP_ATOMIC, &slot->buf_dma);
slot              778 drivers/scsi/mvsas/mv_sas.c 	if (!slot->buf) {
slot              784 drivers/scsi/mvsas/mv_sas.c 	tei.hdr = &mvi->slot[tag];
slot              811 drivers/scsi/mvsas/mv_sas.c 	slot->task = task;
slot              812 drivers/scsi/mvsas/mv_sas.c 	slot->port = tei.port;
slot              813 drivers/scsi/mvsas/mv_sas.c 	task->lldd_task = slot;
slot              814 drivers/scsi/mvsas/mv_sas.c 	list_add_tail(&slot->entry, &tei.port->list);
slot              826 drivers/scsi/mvsas/mv_sas.c 	dma_pool_free(mvi->dma_pool, slot->buf, slot->buf_dma);
slot              876 drivers/scsi/mvsas/mv_sas.c 			  struct mvs_slot_info *slot, u32 slot_idx)
slot              878 drivers/scsi/mvsas/mv_sas.c 	if (!slot)
slot              880 drivers/scsi/mvsas/mv_sas.c 	if (!slot->task)
slot              883 drivers/scsi/mvsas/mv_sas.c 		if (slot->n_elem)
slot              885 drivers/scsi/mvsas/mv_sas.c 				     slot->n_elem, task->data_dir);
slot              903 drivers/scsi/mvsas/mv_sas.c 	if (slot->buf) {
slot              904 drivers/scsi/mvsas/mv_sas.c 		dma_pool_free(mvi->dma_pool, slot->buf, slot->buf_dma);
slot              905 drivers/scsi/mvsas/mv_sas.c 		slot->buf = NULL;
slot              907 drivers/scsi/mvsas/mv_sas.c 	list_del_init(&slot->entry);
slot              909 drivers/scsi/mvsas/mv_sas.c 	slot->task = NULL;
slot              910 drivers/scsi/mvsas/mv_sas.c 	slot->port = NULL;
slot              911 drivers/scsi/mvsas/mv_sas.c 	slot->slot_tag = 0xFFFFFFFF;
slot             1510 drivers/scsi/mvsas/mv_sas.c 			struct mvs_slot_info *slot;
slot             1513 drivers/scsi/mvsas/mv_sas.c 				slot = task->lldd_task;
slot             1514 drivers/scsi/mvsas/mv_sas.c 				slot_no = (u32) (slot - mvi->slot_info);
slot             1524 drivers/scsi/mvsas/mv_sas.c 			struct mvs_slot_info *slot = task->lldd_task;
slot             1525 drivers/scsi/mvsas/mv_sas.c 			u32 slot_idx = (u32)(slot - mvi->slot_info);
slot             1528 drivers/scsi/mvsas/mv_sas.c 				   mvi, task, slot, slot_idx);
slot             1530 drivers/scsi/mvsas/mv_sas.c 			mvs_slot_task_free(mvi, task, slot, slot_idx);
slot             1652 drivers/scsi/mvsas/mv_sas.c 	struct mvs_slot_info *slot = &mvi->slot_info[slot_idx];
slot             1654 drivers/scsi/mvsas/mv_sas.c 	u32 err_dw0 = le32_to_cpu(*(u32 *)slot->response);
slot             1655 drivers/scsi/mvsas/mv_sas.c 	u32 err_dw1 = le32_to_cpu(*((u32 *)slot->response + 1));
slot             1670 drivers/scsi/mvsas/mv_sas.c 			struct ssp_response_iu *iu = slot->response +
slot             1703 drivers/scsi/mvsas/mv_sas.c 	struct mvs_slot_info *slot = &mvi->slot_info[slot_idx];
slot             1704 drivers/scsi/mvsas/mv_sas.c 	struct sas_task *task = slot->task;
slot             1738 drivers/scsi/mvsas/mv_sas.c 		mvs_slot_task_free(mvi, task, slot, slot_idx);
slot             1755 drivers/scsi/mvsas/mv_sas.c 		     && (*((u32 *)slot->response)
slot             1756 drivers/scsi/mvsas/mv_sas.c 			 || *(((u32 *)slot->response) + 1)))) {
slot             1758 drivers/scsi/mvsas/mv_sas.c 			"%016llX.\n", slot->port->sas_port.id, slot_idx,
slot             1759 drivers/scsi/mvsas/mv_sas.c 			 rx_desc, get_unaligned_le64(slot->response));
slot             1774 drivers/scsi/mvsas/mv_sas.c 			struct ssp_response_iu *iu = slot->response +
slot             1786 drivers/scsi/mvsas/mv_sas.c 				slot->response + sizeof(struct mvs_err_info),
slot             1803 drivers/scsi/mvsas/mv_sas.c 	if (!slot->port->port_attached) {
slot             1804 drivers/scsi/mvsas/mv_sas.c 		mv_dprintk("port %d has removed.\n", slot->port->sas_port.id);
slot             1815 drivers/scsi/mvsas/mv_sas.c 	mvs_slot_task_free(mvi, task, slot, slot_idx);
slot             1833 drivers/scsi/mvsas/mv_sas.c 	struct mvs_slot_info *slot, *slot2;
slot             1844 drivers/scsi/mvsas/mv_sas.c 	list_for_each_entry_safe(slot, slot2, &port->list, entry) {
slot             1846 drivers/scsi/mvsas/mv_sas.c 		slot_idx = (u32) (slot - mvi->slot_info);
slot             1847 drivers/scsi/mvsas/mv_sas.c 		task = slot->task;
slot             1853 drivers/scsi/mvsas/mv_sas.c 			slot_idx, slot->slot_tag, task);
slot              367 drivers/scsi/mvsas/mv_sas.h 	struct mvs_cmd_hdr *slot;
slot             8313 drivers/scsi/ncr53c8xx.c 		unit, device->chip.revision_id, device->slot.irq);
slot             8355 drivers/scsi/ncr53c8xx.c 	np->paddr	= device->slot.base;
slot             8356 drivers/scsi/ncr53c8xx.c 	np->paddr2	= (np->features & FE_RAM) ? device->slot.base_2 : 0;
slot             8358 drivers/scsi/ncr53c8xx.c 	if (device->slot.base_v)
slot             8359 drivers/scsi/ncr53c8xx.c 		np->vaddr = device->slot.base_v;
slot             8361 drivers/scsi/ncr53c8xx.c 		np->vaddr = ioremap(device->slot.base_c, 128);
slot             8393 drivers/scsi/ncr53c8xx.c 	instance->irq		= device->slot.irq;
slot             8394 drivers/scsi/ncr53c8xx.c 	instance->unique_id	= device->slot.base;
slot             8449 drivers/scsi/ncr53c8xx.c 	np->irq = device->slot.irq;
slot             1301 drivers/scsi/ncr53c8xx.h 	struct ncr_slot  slot;
slot             7219 drivers/scsi/qla2xxx/qla_target.c 	void *slot;
slot             7233 drivers/scsi/qla2xxx/qla_target.c 		slot = btree_lookup32(&vha->hw->tgt.host_map, key);
slot             7234 drivers/scsi/qla2xxx/qla_target.c 		if (!slot) {
slot             7255 drivers/scsi/qla2xxx/qla_target.c 		slot = btree_lookup32(&vha->hw->tgt.host_map, key);
slot             7256 drivers/scsi/qla2xxx/qla_target.c 		if (slot)
slot             1193 drivers/scsi/qla2xxx/tcm_qla2xxx.c 	void *slot;
slot             1199 drivers/scsi/qla2xxx/tcm_qla2xxx.c 	slot = btree_lookup32(&lport->lport_fcport_map, key);
slot             1200 drivers/scsi/qla2xxx/tcm_qla2xxx.c 	if (!slot) {
slot              429 drivers/scsi/ses.c 	int slot = -1;
slot              440 drivers/scsi/ses.c 			slot = d[3];
slot              446 drivers/scsi/ses.c 			slot = d[3];
slot              464 drivers/scsi/ses.c 	ecomp->slot = slot;
slot               54 drivers/scsi/sim710.c 	int slot = -1;
slot               60 drivers/scsi/sim710.c 			slot = val;
slot               62 drivers/scsi/sim710.c 			if(slot == -1) {
slot               64 drivers/scsi/sim710.c 			} else if(slot >= MAX_SLOTS) {
slot               65 drivers/scsi/sim710.c 				printk(KERN_WARNING "sim710: Illegal slot %d for id %d\n", slot, val);
slot               67 drivers/scsi/sim710.c 				id_array[slot] = val;
slot              119 drivers/scsi/sr.c 				    unsigned int clearing, int slot);
slot              232 drivers/scsi/sr.c 				    unsigned int clearing, int slot)
slot              241 drivers/scsi/sr.c 	if (CDSL_CURRENT != slot)
slot              284 drivers/scsi/sr_ioctl.c int sr_drive_status(struct cdrom_device_info *cdi, int slot)
slot              290 drivers/scsi/sr_ioctl.c 	if (CDSL_CURRENT != slot) {
slot              269 drivers/scsi/stex.c 	u32 slot;
slot              507 drivers/scsi/stex.c 	p->slot = hba->pdev->devfn;
slot             1246 drivers/scsi/storvsc_drv.c 	u16 slot = 0;
slot             1281 drivers/scsi/storvsc_drv.c 		if (slot == hash_qnum)
slot             1283 drivers/scsi/storvsc_drv.c 		slot++;
slot             1572 drivers/scsi/sym53c8xx_2/sym_glue.c 	int slot;
slot             1575 drivers/scsi/sym53c8xx_2/sym_glue.c 	for (slot = 0; slot < 256; slot++) {
slot             1576 drivers/scsi/sym53c8xx_2/sym_glue.c 		struct pci_dev *memc = pci_get_slot(pdev->bus, slot);
slot              674 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_put_tm_slot(struct ufs_hba *hba, int slot)
slot              676 drivers/scsi/ufs/ufshcd.c 	clear_bit_unlock(slot, &hba->tm_slots_in_use);
slot              131 drivers/scsi/zalon.c 	device.slot.base	= dev->hpa.start + GSC_SCSI_ZALON_OFFSET;
slot              132 drivers/scsi/zalon.c 	device.slot.base_v	= io_port;
slot              133 drivers/scsi/zalon.c 	device.slot.irq		= dev->irq;
slot              450 drivers/soc/qcom/rpmh-rsc.c 	int slot, offset;
slot              454 drivers/soc/qcom/rpmh-rsc.c 	slot = find_match(tcs, msg->cmds, msg->num_cmds);
slot              455 drivers/soc/qcom/rpmh-rsc.c 	if (slot >= 0)
slot              460 drivers/soc/qcom/rpmh-rsc.c 		slot = bitmap_find_next_zero_area(tcs->slots, MAX_TCS_SLOTS,
slot              462 drivers/soc/qcom/rpmh-rsc.c 		if (slot >= tcs->num_tcs * tcs->ncpt)
slot              465 drivers/soc/qcom/rpmh-rsc.c 	} while (slot + msg->num_cmds - 1 >= i);
slot              468 drivers/soc/qcom/rpmh-rsc.c 	bitmap_set(tcs->slots, slot, msg->num_cmds);
slot              471 drivers/soc/qcom/rpmh-rsc.c 		tcs->cmd_cache[slot + i] = msg->cmds[i].addr;
slot              473 drivers/soc/qcom/rpmh-rsc.c 	offset = slot / tcs->ncpt;
slot              475 drivers/soc/qcom/rpmh-rsc.c 	*cmd_id = slot % tcs->ncpt;
slot              633 drivers/spi/spi-bcm-qspi.c static inline u8 read_rxram_slot_u8(struct bcm_qspi *qspi, int slot)
slot              635 drivers/spi/spi-bcm-qspi.c 	u32 slot_offset = MSPI_RXRAM + (slot << 3) + 0x4;
slot              641 drivers/spi/spi-bcm-qspi.c static inline u16 read_rxram_slot_u16(struct bcm_qspi *qspi, int slot)
slot              644 drivers/spi/spi-bcm-qspi.c 	u32 lsb_offset = reg_offset + (slot << 3) + 0x4;
slot              645 drivers/spi/spi-bcm-qspi.c 	u32 msb_offset = reg_offset + (slot << 3);
slot              654 drivers/spi/spi-bcm-qspi.c 	int slot;
slot              666 drivers/spi/spi-bcm-qspi.c 	for (slot = 0; slot < slots; slot++) {
slot              671 drivers/spi/spi-bcm-qspi.c 				buf[tp.byte] = read_rxram_slot_u8(qspi, slot);
slot              679 drivers/spi/spi-bcm-qspi.c 								      slot);
slot              691 drivers/spi/spi-bcm-qspi.c static inline void write_txram_slot_u8(struct bcm_qspi *qspi, int slot,
slot              694 drivers/spi/spi-bcm-qspi.c 	u32 reg_offset = MSPI_TXRAM + (slot << 3);
slot              700 drivers/spi/spi-bcm-qspi.c static inline void write_txram_slot_u16(struct bcm_qspi *qspi, int slot,
slot              704 drivers/spi/spi-bcm-qspi.c 	u32 msb_offset = reg_offset + (slot << 3);
slot              705 drivers/spi/spi-bcm-qspi.c 	u32 lsb_offset = reg_offset + (slot << 3) + 0x4;
slot              711 drivers/spi/spi-bcm-qspi.c static inline u32 read_cdram_slot(struct bcm_qspi *qspi, int slot)
slot              713 drivers/spi/spi-bcm-qspi.c 	return bcm_qspi_read(qspi, MSPI, MSPI_CDRAM + (slot << 2));
slot              716 drivers/spi/spi-bcm-qspi.c static inline void write_cdram_slot(struct bcm_qspi *qspi, int slot, u32 val)
slot              718 drivers/spi/spi-bcm-qspi.c 	bcm_qspi_write(qspi, MSPI, (MSPI_CDRAM + (slot << 2)), val);
slot              725 drivers/spi/spi-bcm-qspi.c 	int slot = 0, tstatus = 0;
slot              733 drivers/spi/spi-bcm-qspi.c 	while (!tstatus && slot < MSPI_NUM_CDRAM) {
slot              738 drivers/spi/spi-bcm-qspi.c 			write_txram_slot_u8(qspi, slot, val);
slot              744 drivers/spi/spi-bcm-qspi.c 			write_txram_slot_u16(qspi, slot, val);
slot              758 drivers/spi/spi-bcm-qspi.c 		write_cdram_slot(qspi, slot, mspi_cdram);
slot              762 drivers/spi/spi-bcm-qspi.c 		slot++;
slot              765 drivers/spi/spi-bcm-qspi.c 	if (!slot) {
slot              770 drivers/spi/spi-bcm-qspi.c 	dev_dbg(&qspi->pdev->dev, "submitting %d slots\n", slot);
slot              772 drivers/spi/spi-bcm-qspi.c 	bcm_qspi_write(qspi, MSPI, MSPI_ENDQP, slot - 1);
slot              775 drivers/spi/spi-bcm-qspi.c 		mspi_cdram = read_cdram_slot(qspi, slot - 1) &
slot              777 drivers/spi/spi-bcm-qspi.c 		write_cdram_slot(qspi, slot - 1, mspi_cdram);
slot              789 drivers/spi/spi-bcm-qspi.c 	return slot;
slot              309 drivers/ssb/driver_pcicore.c int ssb_pcicore_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              240 drivers/ssb/embedded.c int ssb_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot              247 drivers/ssb/embedded.c 	res = ssb_pcicore_pcibios_map_irq(dev, slot, pin);
slot             1439 drivers/staging/comedi/drivers/adl_pci9118.c 	int slot = it->options[1];
slot             1446 drivers/staging/comedi/drivers/adl_pci9118.c 		if (bus || slot) {
slot             1449 drivers/staging/comedi/drivers/adl_pci9118.c 			    PCI_SLOT(pcidev->devfn) != slot)
slot             1456 drivers/staging/comedi/drivers/adl_pci9118.c 		bus, slot);
slot              321 drivers/staging/gasket/gasket_page_table.c 					  u64 __iomem *slot)
slot              327 drivers/staging/gasket/gasket_page_table.c 	writeq(0, slot);
slot              349 drivers/staging/gasket/gasket_page_table.c 	u64 __iomem *slot;
slot              355 drivers/staging/gasket/gasket_page_table.c 	     slot = pg_tbl->base_slot + pg_tbl->num_simple_entries;
slot              357 drivers/staging/gasket/gasket_page_table.c 	     pte++, slot++) {
slot              362 drivers/staging/gasket/gasket_page_table.c 							      slot);
slot              632 drivers/staging/gasket/gasket_page_table.c 	uint slot = gasket_simple_page_idx(pg_tbl, dev_addr);
slot              634 drivers/staging/gasket/gasket_page_table.c 	gasket_perform_unmapping(pg_tbl, pg_tbl->entries + slot,
slot              635 drivers/staging/gasket/gasket_page_table.c 				 pg_tbl->base_slot + slot, num_pages, 1);
slot              849 drivers/staging/gasket/gasket_page_table.c 					  u64 __iomem *slot)
slot              887 drivers/staging/gasket/gasket_page_table.c 	writeq(dma_addr, slot);
slot              914 drivers/staging/gasket/gasket_page_table.c 	u64 __iomem *slot;
slot              920 drivers/staging/gasket/gasket_page_table.c 	slot = pg_tbl->base_slot + pg_tbl->num_simple_entries +
slot              928 drivers/staging/gasket/gasket_page_table.c 			ret = gasket_alloc_extended_subtable(pg_tbl, pte, slot);
slot              943 drivers/staging/gasket/gasket_page_table.c 		slot++;
slot              113 drivers/staging/mt7621-pci/pci-mt7621.c 	u32 slot;
slot              168 drivers/staging/mt7621-pci/pci-mt7621.c static inline u32 mt7621_pci_get_cfgaddr(unsigned int bus, unsigned int slot,
slot              171 drivers/staging/mt7621-pci/pci-mt7621.c 	return (((where & 0xF00) >> 8) << 24) | (bus << 16) | (slot << 11) |
slot              229 drivers/staging/mt7621-pci/pci-mt7621.c 	rt_sysc_m32(PCIE_PORT_CLK_EN(port->slot), 0, RALINK_CLKCFG1);
slot              327 drivers/staging/mt7621-pci/pci-mt7621.c 				  int slot)
slot              340 drivers/staging/mt7621-pci/pci-mt7621.c 	err = of_address_to_resource(pnode, slot + 1, &regs);
slot              350 drivers/staging/mt7621-pci/pci-mt7621.c 	snprintf(name, sizeof(name), "pcie%d", slot);
slot              353 drivers/staging/mt7621-pci/pci-mt7621.c 		dev_err(dev, "failed to get pcie%d reset control\n", slot);
slot              357 drivers/staging/mt7621-pci/pci-mt7621.c 	snprintf(name, sizeof(name), "pcie-phy%d", slot);
slot              362 drivers/staging/mt7621-pci/pci-mt7621.c 	port->slot = slot;
slot              401 drivers/staging/mt7621-pci/pci-mt7621.c 		int slot;
slot              410 drivers/staging/mt7621-pci/pci-mt7621.c 		slot = PCI_SLOT(err);
slot              412 drivers/staging/mt7621-pci/pci-mt7621.c 		err = mt7621_pcie_parse_port(pcie, child, slot);
slot              426 drivers/staging/mt7621-pci/pci-mt7621.c 	u32 slot = port->slot;
slot              437 drivers/staging/mt7621-pci/pci-mt7621.c 		dev_err(dev, "failed to initialize port%d phy\n", slot);
slot              443 drivers/staging/mt7621-pci/pci-mt7621.c 		dev_err(dev, "failed to power on port%d phy\n", slot);
slot              465 drivers/staging/mt7621-pci/pci-mt7621.c 		u32 slot = port->slot;
slot              469 drivers/staging/mt7621-pci/pci-mt7621.c 			dev_err(dev, "Initiating port %d failed\n", slot);
slot              472 drivers/staging/mt7621-pci/pci-mt7621.c 			val = read_config(pcie, slot, PCIE_FTS_NUM);
slot              473 drivers/staging/mt7621-pci/pci-mt7621.c 			dev_info(dev, "Port %d N_FTS = %x\n", slot,
slot              483 drivers/staging/mt7621-pci/pci-mt7621.c 		u32 slot = port->slot;
slot              487 drivers/staging/mt7621-pci/pci-mt7621.c 				slot);
slot              506 drivers/staging/mt7621-pci/pci-mt7621.c 	u32 slot = port->slot;
slot              507 drivers/staging/mt7621-pci/pci-mt7621.c 	u32 offset = MT7621_PCIE_OFFSET + (slot * MT7621_NEXT_PORT);
slot              512 drivers/staging/mt7621-pci/pci-mt7621.c 	val |= PCIE_PORT_INT_EN(slot);
slot              531 drivers/staging/mt7621-pci/pci-mt7621.c 	u32 slot;
slot              542 drivers/staging/mt7621-pci/pci-mt7621.c 	for (slot = 0; slot < num_slots_enabled; slot++) {
slot              543 drivers/staging/mt7621-pci/pci-mt7621.c 		val = read_config(pcie, slot, PCI_COMMAND);
slot              545 drivers/staging/mt7621-pci/pci-mt7621.c 		write_config(pcie, slot, PCI_COMMAND, val);
slot              547 drivers/staging/mt7621-pci/pci-mt7621.c 		val = read_config(pcie, slot, PCIE_FTS_NUM);
slot              550 drivers/staging/mt7621-pci/pci-mt7621.c 		write_config(pcie, slot, PCIE_FTS_NUM, val);
slot              561 drivers/staging/mt7621-pci/pci-mt7621.c 		u32 slot = port->slot;
slot              564 drivers/staging/mt7621-pci/pci-mt7621.c 			pcie_link_status |= BIT(slot);
slot             1123 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c claim_slot(struct vchiq_slot_info *slot)
slot             1125 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	slot->use_count++;
slot              348 drivers/staging/vt6656/card.c 		priv->slot = C_SLOT_SHORT;
slot              356 drivers/staging/vt6656/card.c 			priv->slot = C_SLOT_SHORT;
slot              359 drivers/staging/vt6656/card.c 			priv->slot = C_SLOT_LONG;
slot              363 drivers/staging/vt6656/card.c 		priv->difs = C_SIFS_BG + 2 * priv->slot;
slot              403 drivers/staging/vt6656/card.c 	data[3] = (u8)priv->slot;
slot              321 drivers/staging/vt6656/device.h 	u32 slot;  /* Current SlotTime */
slot               43 drivers/tc/tc.c 	int i, slot, err;
slot               47 drivers/tc/tc.c 	for (slot = 0; slot < tbus->num_tcslots; slot++) {
slot               48 drivers/tc/tc.c 		slotaddr = tbus->slot_base + slot * slotsize;
slot               49 drivers/tc/tc.c 		extslotaddr = tbus->ext_slot_base + slot * extslotsize;
slot               87 drivers/tc/tc.c 			pr_err("tc%x: unable to allocate tc_dev\n", slot);
slot               90 drivers/tc/tc.c 		dev_set_name(&tdev->dev, "tc%x", slot);
slot               94 drivers/tc/tc.c 		tdev->slot = slot;
slot               51 drivers/usb/core/hcd-pci.c 	unsigned int		slot = PCI_SLOT(pdev->devfn);
slot               61 drivers/usb/core/hcd-pci.c 				PCI_SLOT(companion->devfn) != slot)
slot               66 drivers/usb/early/ehci-dbgp.c 	u32 slot;
slot              369 drivers/usb/early/ehci-dbgp.c static u32 __init find_cap(u32 num, u32 slot, u32 func, int cap)
slot              374 drivers/usb/early/ehci-dbgp.c 	if (!(read_pci_config_16(num, slot, func, PCI_STATUS) &
slot              378 drivers/usb/early/ehci-dbgp.c 	pos = read_pci_config_byte(num, slot, func, PCI_CAPABILITY_LIST);
slot              383 drivers/usb/early/ehci-dbgp.c 		id = read_pci_config_byte(num, slot, func, pos+PCI_CAP_LIST_ID);
slot              389 drivers/usb/early/ehci-dbgp.c 		pos = read_pci_config_byte(num, slot, func,
slot              395 drivers/usb/early/ehci-dbgp.c static u32 __init __find_dbgp(u32 bus, u32 slot, u32 func)
slot              399 drivers/usb/early/ehci-dbgp.c 	class = read_pci_config(bus, slot, func, PCI_CLASS_REVISION);
slot              403 drivers/usb/early/ehci-dbgp.c 	return find_cap(bus, slot, func, PCI_CAP_ID_EHCI_DEBUG);
slot              408 drivers/usb/early/ehci-dbgp.c 	u32 bus, slot, func;
slot              411 drivers/usb/early/ehci-dbgp.c 		for (slot = 0; slot < 32; slot++) {
slot              415 drivers/usb/early/ehci-dbgp.c 				cap = __find_dbgp(bus, slot, func);
slot              422 drivers/usb/early/ehci-dbgp.c 				*rslot = slot;
slot              687 drivers/usb/early/ehci-dbgp.c 	dword = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func,
slot              691 drivers/usb/early/ehci-dbgp.c 	write_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func, 0x74,
slot              700 drivers/usb/early/ehci-dbgp.c 	vendorid = read_pci_config(ehci_dev.bus, ehci_dev.slot, ehci_dev.func,
slot              724 drivers/usb/early/ehci-dbgp.c 	cap = read_pci_config(ehci_dev.bus, ehci_dev.slot,
slot              730 drivers/usb/early/ehci-dbgp.c 		write_pci_config_byte(ehci_dev.bus, ehci_dev.slot,
slot              739 drivers/usb/early/ehci-dbgp.c 		cap = read_pci_config(ehci_dev.bus, ehci_dev.slot,
slot              747 drivers/usb/early/ehci-dbgp.c 		write_pci_config_byte(ehci_dev.bus, ehci_dev.slot,
slot              752 drivers/usb/early/ehci-dbgp.c 	write_pci_config_byte(ehci_dev.bus, ehci_dev.slot, ehci_dev.func,
slot              833 drivers/usb/early/ehci-dbgp.c 	u32 bus, slot, func, cap;
slot              849 drivers/usb/early/ehci-dbgp.c 	cap = find_dbgp(dbgp_num, &bus, &slot, &func);
slot              853 drivers/usb/early/ehci-dbgp.c 	dbgp_printk("Found EHCI debug port on %02x:%02x.%1x\n", bus, slot,
slot              856 drivers/usb/early/ehci-dbgp.c 	debug_port = read_pci_config(bus, slot, func, cap);
slot              867 drivers/usb/early/ehci-dbgp.c 	bar_val = read_pci_config(bus, slot, func, PCI_BASE_ADDRESS_0);
slot              876 drivers/usb/early/ehci-dbgp.c 	byte = read_pci_config_byte(bus, slot, func, 0x04);
slot              879 drivers/usb/early/ehci-dbgp.c 		write_pci_config_byte(bus, slot, func, 0x04, byte);
slot              896 drivers/usb/early/ehci-dbgp.c 	ehci_dev.slot = slot;
slot              151 drivers/usb/isp1760/isp1760-hcd.c 	int slot;
slot              280 drivers/usb/isp1760/isp1760-hcd.c static void ptd_read(void __iomem *base, u32 ptd_offset, u32 slot,
slot              284 drivers/usb/isp1760/isp1760-hcd.c 				ISP_BANK(0) + ptd_offset + slot*sizeof(*ptd));
slot              286 drivers/usb/isp1760/isp1760-hcd.c 	bank_reads8(base, ptd_offset + slot*sizeof(*ptd), ISP_BANK(0),
slot              290 drivers/usb/isp1760/isp1760-hcd.c static void ptd_write(void __iomem *base, u32 ptd_offset, u32 slot,
slot              293 drivers/usb/isp1760/isp1760-hcd.c 	mem_writes8(base, ptd_offset + slot*sizeof(*ptd) + sizeof(ptd->dw0),
slot              298 drivers/usb/isp1760/isp1760-hcd.c 	mem_writes8(base, ptd_offset + slot*sizeof(*ptd), &ptd->dw0,
slot              422 drivers/usb/isp1760/isp1760-hcd.c 	qh->slot = -1;
slot              430 drivers/usb/isp1760/isp1760-hcd.c 	WARN_ON(qh->slot > -1);
slot              719 drivers/usb/isp1760/isp1760-hcd.c static void start_bus_transfer(struct usb_hcd *hcd, u32 ptd_offset, int slot,
slot              727 drivers/usb/isp1760/isp1760-hcd.c 	WARN_ON((slot < 0) || (slot > 31));
slot              729 drivers/usb/isp1760/isp1760-hcd.c 	WARN_ON(slots[slot].qtd);
slot              730 drivers/usb/isp1760/isp1760-hcd.c 	WARN_ON(slots[slot].qh);
slot              737 drivers/usb/isp1760/isp1760-hcd.c 		priv->atl_done_map &= ~(1 << slot);
slot              741 drivers/usb/isp1760/isp1760-hcd.c 		priv->int_done_map &= ~(1 << slot);
slot              744 drivers/usb/isp1760/isp1760-hcd.c 	qh->slot = slot;
slot              746 drivers/usb/isp1760/isp1760-hcd.c 	slots[slot].timestamp = jiffies;
slot              747 drivers/usb/isp1760/isp1760-hcd.c 	slots[slot].qtd = qtd;
slot              748 drivers/usb/isp1760/isp1760-hcd.c 	slots[slot].qh = qh;
slot              749 drivers/usb/isp1760/isp1760-hcd.c 	ptd_write(hcd->regs, ptd_offset, slot, ptd);
slot              753 drivers/usb/isp1760/isp1760-hcd.c 		skip_map &= ~(1 << qh->slot);
slot              757 drivers/usb/isp1760/isp1760-hcd.c 		skip_map &= ~(1 << qh->slot);
slot             1073 drivers/usb/isp1760/isp1760-hcd.c 	int slot;
slot             1091 drivers/usb/isp1760/isp1760-hcd.c 			slot = __ffs(priv->int_done_map);
slot             1092 drivers/usb/isp1760/isp1760-hcd.c 			priv->int_done_map &= ~(1 << slot);
slot             1096 drivers/usb/isp1760/isp1760-hcd.c 			if (!slots[slot].qh) {
slot             1101 drivers/usb/isp1760/isp1760-hcd.c 			ptd_read(hcd->regs, INT_PTD_OFFSET, slot, &ptd);
slot             1103 drivers/usb/isp1760/isp1760-hcd.c 							slots[slot].qtd->urb);
slot             1106 drivers/usb/isp1760/isp1760-hcd.c 			slot = __ffs(priv->atl_done_map);
slot             1107 drivers/usb/isp1760/isp1760-hcd.c 			priv->atl_done_map &= ~(1 << slot);
slot             1111 drivers/usb/isp1760/isp1760-hcd.c 			if (!slots[slot].qh) {
slot             1116 drivers/usb/isp1760/isp1760-hcd.c 			ptd_read(hcd->regs, ATL_PTD_OFFSET, slot, &ptd);
slot             1118 drivers/usb/isp1760/isp1760-hcd.c 							slots[slot].qtd->urb);
slot             1121 drivers/usb/isp1760/isp1760-hcd.c 		qtd = slots[slot].qtd;
slot             1122 drivers/usb/isp1760/isp1760-hcd.c 		slots[slot].qtd = NULL;
slot             1123 drivers/usb/isp1760/isp1760-hcd.c 		qh = slots[slot].qh;
slot             1124 drivers/usb/isp1760/isp1760-hcd.c 		slots[slot].qh = NULL;
slot             1125 drivers/usb/isp1760/isp1760-hcd.c 		qh->slot = -1;
slot             1197 drivers/usb/isp1760/isp1760-hcd.c 			start_bus_transfer(hcd, ptd_offset, slot, slots, qtd,
slot             1268 drivers/usb/isp1760/isp1760-hcd.c 	int slot;
slot             1274 drivers/usb/isp1760/isp1760-hcd.c 	for (slot = 0; slot < 32; slot++)
slot             1275 drivers/usb/isp1760/isp1760-hcd.c 		if (priv->atl_slots[slot].qh && time_after(jiffies,
slot             1276 drivers/usb/isp1760/isp1760-hcd.c 					priv->atl_slots[slot].timestamp +
slot             1278 drivers/usb/isp1760/isp1760-hcd.c 			ptd_read(hcd->regs, ATL_PTD_OFFSET, slot, &ptd);
slot             1281 drivers/usb/isp1760/isp1760-hcd.c 				priv->atl_done_map |= 1 << slot;
slot             1586 drivers/usb/isp1760/isp1760-hcd.c 	WARN_ON(qh->slot == -1);
slot             1592 drivers/usb/isp1760/isp1760-hcd.c 		skip_map |= (1 << qh->slot);
slot             1594 drivers/usb/isp1760/isp1760-hcd.c 		priv->atl_slots[qh->slot].qh = NULL;
slot             1595 drivers/usb/isp1760/isp1760-hcd.c 		priv->atl_slots[qh->slot].qtd = NULL;
slot             1598 drivers/usb/isp1760/isp1760-hcd.c 		skip_map |= (1 << qh->slot);
slot             1600 drivers/usb/isp1760/isp1760-hcd.c 		priv->int_slots[qh->slot].qh = NULL;
slot             1601 drivers/usb/isp1760/isp1760-hcd.c 		priv->int_slots[qh->slot].qtd = NULL;
slot             1604 drivers/usb/isp1760/isp1760-hcd.c 	qh->slot = -1;
slot             2266 drivers/usb/misc/sisusbvga/sisusb.c 	int ret = 0, slot = sisusb->font_slot, i;
slot             2307 drivers/usb/misc/sisusbvga/sisusb.c 		if (slot != 2)
slot             2359 drivers/usb/misc/sisusbvga/sisusb.c 	slot = sisusb->sisusb_cursor_loc;
slot             2360 drivers/usb/misc/sisusbvga/sisusb.c 	if (slot < 0)
slot             2361 drivers/usb/misc/sisusbvga/sisusb.c 		slot = 0;
slot             2366 drivers/usb/misc/sisusbvga/sisusb.c 	sisusb_set_cursor(sisusb, slot);
slot              990 drivers/usb/misc/sisusbvga/sisusb_con.c sisusbcon_do_font_op(struct sisusb_usb_data *sisusb, int set, int slot,
slot             1006 drivers/usb/misc/sisusbvga/sisusb_con.c 	if ((slot != 0 && slot != 2) || !fh) {
slot             1013 drivers/usb/misc/sisusbvga/sisusb_con.c 		sisusb->font_slot = slot;
slot             1016 drivers/usb/misc/sisusbvga/sisusb_con.c 	if (slot == 0)
slot             1021 drivers/usb/misc/sisusbvga/sisusb_con.c 	font_select = (slot == 0) ? 0x00 : (ch512 ? 0x0e : 0x0a);
slot              834 drivers/usb/misc/sisusbvga/sisusb_init.h int sisusbcon_do_font_op(struct sisusb_usb_data *sisusb, int set, int slot,
slot              284 drivers/usb/mtu3/mtu3.h 	int slot;
slot              342 drivers/usb/mtu3/mtu3.h 	int slot;
slot               35 drivers/usb/mtu3/mtu3_core.c 	num_bits = num_bits * (mep->slot + 1);
slot              325 drivers/usb/mtu3/mtu3_core.c 		csr1 = TX_SS_BURST(burst) | TX_SLOT(mep->slot);
slot              361 drivers/usb/mtu3/mtu3_core.c 		csr1 = RX_SS_BURST(burst) | RX_SLOT(mep->slot);
slot              456 drivers/usb/mtu3/mtu3_core.c 		mtu->slot = MTU3_U3_IP_SLOT_DEFAULT;
slot              469 drivers/usb/mtu3/mtu3_core.c 		mtu->slot = MTU3_U2_IP_SLOT_DEFAULT;
slot              180 drivers/usb/mtu3/mtu3_debugfs.c 		   mep->type, mep->maxp, mep->slot, mep->flags);
slot              118 drivers/usb/mtu3/mtu3_gadget.c 	mep->slot = usb_endpoint_xfer_int(desc) ? 0 : mtu->slot;
slot              222 drivers/usb/mtu3/mtu3_trace.h 		__field(unsigned int, slot)
slot              233 drivers/usb/mtu3/mtu3_trace.h 		__entry->slot = mep->slot;
slot              243 drivers/usb/mtu3/mtu3_trace.h 		__entry->maxp, __entry->slot,
slot              614 drivers/vfio/pci/vfio_pci.c static bool vfio_pci_dev_below_slot(struct pci_dev *pdev, struct pci_slot *slot)
slot              617 drivers/vfio/pci/vfio_pci.c 		if (pdev->bus == slot->bus)
slot              618 drivers/vfio/pci/vfio_pci.c 			return (pdev->slot == slot);
slot              626 drivers/vfio/pci/vfio_pci.c 	bool slot;
slot              634 drivers/vfio/pci/vfio_pci.c 	if (!walk->slot || vfio_pci_dev_below_slot(pdev, walk->pdev->slot))
slot              643 drivers/vfio/pci/vfio_pci.c 					 bool slot)
slot              646 drivers/vfio/pci/vfio_pci.c 		.fn = fn, .data = data, .pdev = pdev, .slot = slot, .ret = 0,
slot              946 drivers/vfio/pci/vfio_pci.c 		bool slot = false;
slot              960 drivers/vfio/pci/vfio_pci.c 		if (!pci_probe_reset_slot(vdev->pdev->slot))
slot              961 drivers/vfio/pci/vfio_pci.c 			slot = true;
slot              968 drivers/vfio/pci/vfio_pci.c 						    &fill.max, slot);
slot              992 drivers/vfio/pci/vfio_pci.c 						    &fill, slot);
slot             1020 drivers/vfio/pci/vfio_pci.c 		bool slot = false;
slot             1032 drivers/vfio/pci/vfio_pci.c 		if (!pci_probe_reset_slot(vdev->pdev->slot))
slot             1033 drivers/vfio/pci/vfio_pci.c 			slot = true;
slot             1045 drivers/vfio/pci/vfio_pci.c 						    &count, slot);
slot             1107 drivers/vfio/pci/vfio_pci.c 						    &info, slot);
slot             1490 drivers/vfio/pci/vfio_pci.c 	bool slot = !pci_probe_reset_slot(vdev->pdev->slot);
slot             1496 drivers/vfio/pci/vfio_pci.c 					  &vdev->reflck, slot) <= 0)
slot             1575 drivers/vfio/pci/vfio_pci.c 	bool slot = false;
slot             1578 drivers/vfio/pci/vfio_pci.c 	if (!pci_probe_reset_slot(vdev->pdev->slot))
slot             1579 drivers/vfio/pci/vfio_pci.c 		slot = true;
slot             1584 drivers/vfio/pci/vfio_pci.c 					  &i, slot) || !i)
slot             1594 drivers/vfio/pci/vfio_pci.c 					  &devs, slot))
slot               43 drivers/video/fbdev/pmagb-b-fb.c 	int slot;
slot              159 drivers/visorbus/visorchannel.c 			   struct signal_queue_header *sig_hdr, int slot)
slot              162 drivers/visorbus/visorchannel.c 	       (slot * sig_hdr->signal_size));
slot              189 drivers/visorbus/visorchannel.c 			 struct signal_queue_header *sig_hdr, u32 slot,
slot              193 drivers/visorbus/visorchannel.c 						 sig_hdr, slot);
slot              200 drivers/visorbus/visorchannel.c 			  struct signal_queue_header *sig_hdr, u32 slot,
slot              204 drivers/visorbus/visorchannel.c 						 sig_hdr, slot);
slot             1490 drivers/vme/bridges/vme_ca91cx42.c 	u32 slot = 0;
slot             1496 drivers/vme/bridges/vme_ca91cx42.c 		slot = ioread32(bridge->base + VCSR_BS);
slot             1497 drivers/vme/bridges/vme_ca91cx42.c 		slot = ((slot & CA91CX42_VCSR_BS_SLOT_M) >> 27);
slot             1499 drivers/vme/bridges/vme_ca91cx42.c 		slot = geoid;
slot             1501 drivers/vme/bridges/vme_ca91cx42.c 	return (int)slot;
slot             1539 drivers/vme/bridges/vme_ca91cx42.c 	int tmp, slot;
slot             1544 drivers/vme/bridges/vme_ca91cx42.c 	slot = ca91cx42_slot_get(ca91cx42_bridge);
slot             1550 drivers/vme/bridges/vme_ca91cx42.c 	dev_info(&pdev->dev, "CR/CSR Offset: %d\n", slot);
slot             1551 drivers/vme/bridges/vme_ca91cx42.c 	if (slot == 0) {
slot             1566 drivers/vme/bridges/vme_ca91cx42.c 	crcsr_addr = slot * (512 * 1024);
slot             2143 drivers/vme/bridges/vme_tsi148.c 	u32 slot = 0;
slot             2149 drivers/vme/bridges/vme_tsi148.c 		slot = ioread32be(bridge->base + TSI148_LCSR_VSTAT);
slot             2150 drivers/vme/bridges/vme_tsi148.c 		slot = slot & TSI148_LCSR_VSTAT_GA_M;
slot             2152 drivers/vme/bridges/vme_tsi148.c 		slot = geoid;
slot             2154 drivers/vme/bridges/vme_tsi148.c 	return (int)slot;
slot              978 drivers/xen/pvcalls-back.c 	void **slot;
slot              989 drivers/xen/pvcalls-back.c 	radix_tree_for_each_slot(slot, &fedata->socketpass_mappings, &iter, 0) {
slot              990 drivers/xen/pvcalls-back.c 		mappass = radix_tree_deref_slot(slot);
slot              995 drivers/xen/pvcalls-back.c 				slot = radix_tree_iter_retry(&iter);
slot              156 drivers/xen/xen-pciback/pci_stub.c 							 int slot, int func)
slot              164 drivers/xen/xen-pciback/pci_stub.c 		    && slot == PCI_SLOT(psdev->dev->devfn)
slot              174 drivers/xen/xen-pciback/pci_stub.c 						  int slot, int func)
slot              181 drivers/xen/xen-pciback/pci_stub.c 	psdev = pcistub_device_find_locked(domain, bus, slot, func);
slot              212 drivers/xen/xen-pciback/pci_stub.c 					    int slot, int func)
slot              220 drivers/xen/xen-pciback/pci_stub.c 	psdev = pcistub_device_find_locked(domain, bus, slot, func);
slot             1009 drivers/xen/xen-pciback/pci_stub.c 			      int *slot, int *func)
slot             1013 drivers/xen/xen-pciback/pci_stub.c 	switch (sscanf(buf, " %x:%x:%x.%x %n", domain, bus, slot, func,
slot             1017 drivers/xen/xen-pciback/pci_stub.c 		sscanf(buf, " %x:%x:%x.* %n", domain, bus, slot, &parsed);
slot             1020 drivers/xen/xen-pciback/pci_stub.c 		*slot = *func = -1;
slot             1029 drivers/xen/xen-pciback/pci_stub.c 	switch (sscanf(buf, " %x:%x.%x %n", bus, slot, func, &parsed)) {
slot             1032 drivers/xen/xen-pciback/pci_stub.c 		sscanf(buf, " %x:%x.* %n", bus, slot, &parsed);
slot             1035 drivers/xen/xen-pciback/pci_stub.c 		*slot = *func = -1;
slot             1046 drivers/xen/xen-pciback/pci_stub.c 			       *slot, int *func, int *reg, int *size, int *mask)
slot             1050 drivers/xen/xen-pciback/pci_stub.c 	sscanf(buf, " %x:%x:%x.%x-%x:%x:%x %n", domain, bus, slot, func,
slot             1057 drivers/xen/xen-pciback/pci_stub.c 	sscanf(buf, " %x:%x.%x-%x:%x:%x %n", bus, slot, func, reg, size,
slot             1065 drivers/xen/xen-pciback/pci_stub.c static int pcistub_device_id_add(int domain, int bus, int slot, int func)
slot             1068 drivers/xen/xen-pciback/pci_stub.c 	int rc = 0, devfn = PCI_DEVFN(slot, func);
slot             1070 drivers/xen/xen-pciback/pci_stub.c 	if (slot < 0) {
slot             1071 drivers/xen/xen-pciback/pci_stub.c 		for (slot = 0; !rc && slot < 32; ++slot)
slot             1072 drivers/xen/xen-pciback/pci_stub.c 			rc = pcistub_device_id_add(domain, bus, slot, func);
slot             1078 drivers/xen/xen-pciback/pci_stub.c 			rc = pcistub_device_id_add(domain, bus, slot, func);
slot             1089 drivers/xen/xen-pciback/pci_stub.c 	    || PCI_SLOT(devfn) != slot
slot             1098 drivers/xen/xen-pciback/pci_stub.c 		 domain, bus, slot, func);
slot             1105 drivers/xen/xen-pciback/pci_stub.c static int pcistub_device_id_remove(int domain, int bus, int slot, int func)
slot             1115 drivers/xen/xen-pciback/pci_stub.c 		    && (slot < 0 || PCI_SLOT(pci_dev_id->devfn) == slot)
slot             1126 drivers/xen/xen-pciback/pci_stub.c 				 domain, bus, slot, func);
slot             1134 drivers/xen/xen-pciback/pci_stub.c static int pcistub_reg_add(int domain, int bus, int slot, int func,
slot             1146 drivers/xen/xen-pciback/pci_stub.c 	psdev = pcistub_device_find(domain, bus, slot, func);
slot             1179 drivers/xen/xen-pciback/pci_stub.c 	int domain, bus, slot, func;
slot             1182 drivers/xen/xen-pciback/pci_stub.c 	err = str_to_slot(buf, &domain, &bus, &slot, &func);
slot             1186 drivers/xen/xen-pciback/pci_stub.c 	err = pcistub_device_id_add(domain, bus, slot, func);
slot             1198 drivers/xen/xen-pciback/pci_stub.c 	int domain, bus, slot, func;
slot             1201 drivers/xen/xen-pciback/pci_stub.c 	err = str_to_slot(buf, &domain, &bus, &slot, &func);
slot             1205 drivers/xen/xen-pciback/pci_stub.c 	err = pcistub_device_id_remove(domain, bus, slot, func);
slot             1271 drivers/xen/xen-pciback/pci_stub.c 	int domain, bus, slot, func;
slot             1274 drivers/xen/xen-pciback/pci_stub.c 	err = str_to_slot(buf, &domain, &bus, &slot, &func);
slot             1278 drivers/xen/xen-pciback/pci_stub.c 	psdev = pcistub_device_find(domain, bus, slot, func);
slot             1309 drivers/xen/xen-pciback/pci_stub.c 	int domain, bus, slot, func, reg, size, mask;
slot             1312 drivers/xen/xen-pciback/pci_stub.c 	err = str_to_quirk(buf, &domain, &bus, &slot, &func, &reg, &size,
slot             1317 drivers/xen/xen-pciback/pci_stub.c 	err = pcistub_reg_add(domain, bus, slot, func, reg, size, mask);
slot             1373 drivers/xen/xen-pciback/pci_stub.c 	int domain, bus, slot, func;
slot             1378 drivers/xen/xen-pciback/pci_stub.c 	err = str_to_slot(buf, &domain, &bus, &slot, &func);
slot             1382 drivers/xen/xen-pciback/pci_stub.c 	psdev = pcistub_device_find(domain, bus, slot, func);
slot             1454 drivers/xen/xen-pciback/pci_stub.c 	int domain, bus, slot, func;
slot             1463 drivers/xen/xen-pciback/pci_stub.c 				     &domain, &bus, &slot, &func, &parsed);
slot             1469 drivers/xen/xen-pciback/pci_stub.c 				       &domain, &bus, &slot, &parsed);
slot             1472 drivers/xen/xen-pciback/pci_stub.c 				slot = func = -1;
slot             1483 drivers/xen/xen-pciback/pci_stub.c 					     &bus, &slot, &func, &parsed);
slot             1489 drivers/xen/xen-pciback/pci_stub.c 					       &bus, &slot, &parsed);
slot             1492 drivers/xen/xen-pciback/pci_stub.c 					slot = func = -1;
slot             1503 drivers/xen/xen-pciback/pci_stub.c 			err = pcistub_device_id_add(domain, bus, slot, func);
slot               65 drivers/xen/xen-pciback/pciback.h 					    int slot, int func);
slot               72 drivers/xen/xen-pciback/vpci.c 	int err = 0, slot, func = -1;
slot              100 drivers/xen/xen-pciback/vpci.c 		for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
slot              101 drivers/xen/xen-pciback/vpci.c 			if (list_empty(&vpci_dev->dev_list[slot]))
slot              104 drivers/xen/xen-pciback/vpci.c 			t = list_entry(list_first(&vpci_dev->dev_list[slot]),
slot              109 drivers/xen/xen-pciback/vpci.c 					pci_name(dev), slot,
slot              112 drivers/xen/xen-pciback/vpci.c 					      &vpci_dev->dev_list[slot]);
slot              120 drivers/xen/xen-pciback/vpci.c 	for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
slot              121 drivers/xen/xen-pciback/vpci.c 		if (list_empty(&vpci_dev->dev_list[slot])) {
slot              123 drivers/xen/xen-pciback/vpci.c 				pci_name(dev), slot);
slot              125 drivers/xen/xen-pciback/vpci.c 				      &vpci_dev->dev_list[slot]);
slot              140 drivers/xen/xen-pciback/vpci.c 		err = publish_cb(pdev, 0, 0, PCI_DEVFN(slot, func), devid);
slot              151 drivers/xen/xen-pciback/vpci.c 	int slot;
slot              157 drivers/xen/xen-pciback/vpci.c 	for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
slot              160 drivers/xen/xen-pciback/vpci.c 		list_for_each_entry(e, &vpci_dev->dev_list[slot], list) {
slot              184 drivers/xen/xen-pciback/vpci.c 	int slot;
slot              193 drivers/xen/xen-pciback/vpci.c 	for (slot = 0; slot < PCI_SLOT_MAX; slot++)
slot              194 drivers/xen/xen-pciback/vpci.c 		INIT_LIST_HEAD(&vpci_dev->dev_list[slot]);
slot              210 drivers/xen/xen-pciback/vpci.c 	int slot;
slot              213 drivers/xen/xen-pciback/vpci.c 	for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
slot              215 drivers/xen/xen-pciback/vpci.c 		list_for_each_entry_safe(e, tmp, &vpci_dev->dev_list[slot],
slot              238 drivers/xen/xen-pciback/vpci.c 	int found = 0, slot;
slot              241 drivers/xen/xen-pciback/vpci.c 	for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
slot              243 drivers/xen/xen-pciback/vpci.c 			    &vpci_dev->dev_list[slot],
slot              253 drivers/xen/xen-pciback/vpci.c 				*devfn = PCI_DEVFN(slot,
slot              226 drivers/xen/xen-pciback/xenbus.c 				 int domain, int bus, int slot, int func,
slot              233 drivers/xen/xen-pciback/xenbus.c 		domain, bus, slot, func);
slot              235 drivers/xen/xen-pciback/xenbus.c 	dev = pcistub_get_pci_dev_by_slot(pdev, domain, bus, slot, func);
slot              242 drivers/xen/xen-pciback/xenbus.c 				 domain, bus, slot, func);
slot              273 drivers/xen/xen-pciback/xenbus.c 				 int domain, int bus, int slot, int func)
slot              279 drivers/xen/xen-pciback/xenbus.c 		domain, bus, slot, func);
slot              281 drivers/xen/xen-pciback/xenbus.c 	dev = xen_pcibk_get_pci_dev(pdev, domain, bus, PCI_DEVFN(slot, func));
slot              286 drivers/xen/xen-pciback/xenbus.c 			domain, bus, slot, func);
slot              365 drivers/xen/xen-pciback/xenbus.c 	int domain, bus, slot, func;
slot              416 drivers/xen/xen-pciback/xenbus.c 					   &domain, &bus, &slot, &func);
slot              431 drivers/xen/xen-pciback/xenbus.c 			err = xen_pcibk_export_device(pdev, domain, bus, slot,
slot              470 drivers/xen/xen-pciback/xenbus.c 					   &domain, &bus, &slot, &func);
slot              485 drivers/xen/xen-pciback/xenbus.c 			err = xen_pcibk_remove_device(pdev, domain, bus, slot,
slot              561 drivers/xen/xen-pciback/xenbus.c 	int domain, bus, slot, func;
slot              598 drivers/xen/xen-pciback/xenbus.c 				   "%x:%x:%x.%x", &domain, &bus, &slot, &func);
slot              612 drivers/xen/xen-pciback/xenbus.c 		err = xen_pcibk_export_device(pdev, domain, bus, slot, func, i);
slot               82 drivers/zorro/proc.c 	unsigned int slot = *(loff_t *)v;
slot               83 drivers/zorro/proc.c 	struct zorro_dev *z = &zorro_autocon[slot];
slot               85 drivers/zorro/proc.c 	seq_printf(m, "%02x\t%08x\t%08lx\t%08lx\t%02x\n", slot, z->id,
slot              101 drivers/zorro/proc.c static int __init zorro_proc_attach_device(unsigned int slot)
slot              106 drivers/zorro/proc.c 	sprintf(name, "%02x", slot);
slot              109 drivers/zorro/proc.c 				 &zorro_autocon[slot]);
slot              118 drivers/zorro/proc.c 	unsigned int slot;
slot              124 drivers/zorro/proc.c 		for (slot = 0; slot < zorro_num_autocon; slot++)
slot              125 drivers/zorro/proc.c 			zorro_proc_attach_device(slot);
slot              198 fs/afs/dir_edit.c 	int slot;
slot              278 fs/afs/dir_edit.c 			slot = afs_find_contig_bits(block, need_slots);
slot              279 fs/afs/dir_edit.c 			if (slot >= 0) {
slot              280 fs/afs/dir_edit.c 				_debug("slot %u", slot);
slot              303 fs/afs/dir_edit.c 	slot = AFS_DIR_RESV_BLOCKS0;
slot              311 fs/afs/dir_edit.c 	trace_afs_edit_dir(vnode, why, afs_edit_dir_create, b, slot,
slot              313 fs/afs/dir_edit.c 	de = &block->dirents[slot];
slot              323 fs/afs/dir_edit.c 	afs_set_contig_bits(block, slot, need_slots);
slot              336 fs/afs/dir_edit.c 	_debug("Insert %s in %u[%u]", name->name, b, slot);
slot              377 fs/afs/dir_edit.c 	int slot;
slot              427 fs/afs/dir_edit.c 			slot = afs_dir_scan_block(block, name, b);
slot              428 fs/afs/dir_edit.c 			if (slot >= 0)
slot              446 fs/afs/dir_edit.c 	de = &block->dirents[slot];
slot              448 fs/afs/dir_edit.c 	trace_afs_edit_dir(vnode, why, afs_edit_dir_delete, b, slot,
slot              455 fs/afs/dir_edit.c 	afs_clear_contig_bits(block, slot, need_slots);
slot              468 fs/afs/dir_edit.c 	_debug("Remove %s from %u[%u]", name->name, b, slot);
slot               82 fs/btrfs/backref.c 	int slot;
slot               93 fs/btrfs/backref.c 	for (slot = 0; slot < nritems; ++slot) {
slot               94 fs/btrfs/backref.c 		btrfs_item_key_to_cpu(eb, &key, slot);
slot               97 fs/btrfs/backref.c 		fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item);
slot              418 fs/btrfs/backref.c 	int slot;
slot              450 fs/btrfs/backref.c 		slot = path->slots[0];
slot              452 fs/btrfs/backref.c 		btrfs_item_key_to_cpu(eb, &key, slot);
slot              458 fs/btrfs/backref.c 		fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item);
slot              882 fs/btrfs/backref.c 	int slot;
slot              896 fs/btrfs/backref.c 	slot = path->slots[0];
slot              898 fs/btrfs/backref.c 	item_size = btrfs_item_size_nr(leaf, slot);
slot              901 fs/btrfs/backref.c 	ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item);
slot              904 fs/btrfs/backref.c 	btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot             1005 fs/btrfs/backref.c 	int slot;
slot             1018 fs/btrfs/backref.c 		slot = path->slots[0];
slot             1020 fs/btrfs/backref.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             1041 fs/btrfs/backref.c 			sdref = btrfs_item_ptr(leaf, slot,
slot             1061 fs/btrfs/backref.c 			dref = btrfs_item_ptr(leaf, slot,
slot             1209 fs/btrfs/backref.c 		int slot;
slot             1213 fs/btrfs/backref.c 		slot = path->slots[0];
slot             1214 fs/btrfs/backref.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             1535 fs/btrfs/backref.c 	int ret, slot;
slot             1552 fs/btrfs/backref.c 		slot = path->slots[0];
slot             1553 fs/btrfs/backref.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             1572 fs/btrfs/backref.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot             1617 fs/btrfs/backref.c 	int slot;
slot             1653 fs/btrfs/backref.c 		slot = path->slots[0];
slot             1663 fs/btrfs/backref.c 		iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
slot             2003 fs/btrfs/backref.c 	int slot;
slot             2028 fs/btrfs/backref.c 		slot = path->slots[0];
slot             2036 fs/btrfs/backref.c 		item = btrfs_item_nr(slot);
slot             2037 fs/btrfs/backref.c 		iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
slot             2066 fs/btrfs/backref.c 	int slot;
slot             2087 fs/btrfs/backref.c 		slot = path->slots[0];
slot             2095 fs/btrfs/backref.c 		item_size = btrfs_item_size_nr(eb, slot);
slot             2096 fs/btrfs/backref.c 		ptr = btrfs_item_ptr_offset(eb, slot);
slot             1439 fs/btrfs/block-group.c 	int slot;
slot             1446 fs/btrfs/block-group.c 		slot = path->slots[0];
slot             1448 fs/btrfs/block-group.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             1456 fs/btrfs/block-group.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot             1482 fs/btrfs/block-group.c 					btrfs_item_ptr_offset(leaf, slot),
slot               30 fs/btrfs/ctree.c 		    int level, int slot);
slot              294 fs/btrfs/ctree.c 	int slot;
slot              469 fs/btrfs/ctree.c alloc_tree_mod_elem(struct extent_buffer *eb, int slot,
slot              480 fs/btrfs/ctree.c 		btrfs_node_key(eb, &tm->key, slot);
slot              481 fs/btrfs/ctree.c 		tm->blockptr = btrfs_node_blockptr(eb, slot);
slot              484 fs/btrfs/ctree.c 	tm->slot = slot;
slot              485 fs/btrfs/ctree.c 	tm->generation = btrfs_node_ptr_generation(eb, slot);
slot              491 fs/btrfs/ctree.c static noinline int tree_mod_log_insert_key(struct extent_buffer *eb, int slot,
slot              500 fs/btrfs/ctree.c 	tm = alloc_tree_mod_elem(eb, slot, op, flags);
slot              540 fs/btrfs/ctree.c 	tm->slot = src_slot;
slot             1240 fs/btrfs/ctree.c 			BUG_ON(tm->slot < n);
slot             1244 fs/btrfs/ctree.c 			btrfs_set_node_key(eb, &tm->key, tm->slot);
slot             1245 fs/btrfs/ctree.c 			btrfs_set_node_blockptr(eb, tm->slot, tm->blockptr);
slot             1246 fs/btrfs/ctree.c 			btrfs_set_node_ptr_generation(eb, tm->slot,
slot             1251 fs/btrfs/ctree.c 			BUG_ON(tm->slot >= n);
slot             1252 fs/btrfs/ctree.c 			btrfs_set_node_key(eb, &tm->key, tm->slot);
slot             1253 fs/btrfs/ctree.c 			btrfs_set_node_blockptr(eb, tm->slot, tm->blockptr);
slot             1254 fs/btrfs/ctree.c 			btrfs_set_node_ptr_generation(eb, tm->slot,
slot             1262 fs/btrfs/ctree.c 			o_dst = btrfs_node_key_ptr_offset(tm->slot);
slot             1318 fs/btrfs/ctree.c 		BUG_ON(tm->slot != 0);
slot             1709 fs/btrfs/ctree.c 				       int max, int *slot)
slot             1765 fs/btrfs/ctree.c 			*slot = mid;
slot             1769 fs/btrfs/ctree.c 	*slot = low;
slot             1778 fs/btrfs/ctree.c 		     int level, int *slot)
slot             1785 fs/btrfs/ctree.c 					  slot);
slot             1791 fs/btrfs/ctree.c 					  slot);
slot             1814 fs/btrfs/ctree.c 					   int slot)
slot             1820 fs/btrfs/ctree.c 	if (slot < 0 || slot >= btrfs_header_nritems(parent))
slot             1825 fs/btrfs/ctree.c 	btrfs_node_key_to_cpu(parent, &first_key, slot);
slot             1826 fs/btrfs/ctree.c 	eb = read_tree_block(parent->fs_info, btrfs_node_blockptr(parent, slot),
slot             1827 fs/btrfs/ctree.c 			     btrfs_node_ptr_generation(parent, slot),
slot             2213 fs/btrfs/ctree.c 			     int level, int slot, u64 objectid)
slot             2234 fs/btrfs/ctree.c 	search = btrfs_node_blockptr(node, slot);
slot             2245 fs/btrfs/ctree.c 	nr = slot;
slot             2277 fs/btrfs/ctree.c 	int slot;
slot             2290 fs/btrfs/ctree.c 	slot = path->slots[level + 1];
slot             2292 fs/btrfs/ctree.c 	if (slot > 0) {
slot             2293 fs/btrfs/ctree.c 		block1 = btrfs_node_blockptr(parent, slot - 1);
slot             2294 fs/btrfs/ctree.c 		gen = btrfs_node_ptr_generation(parent, slot - 1);
slot             2305 fs/btrfs/ctree.c 	if (slot + 1 < nritems) {
slot             2306 fs/btrfs/ctree.c 		block2 = btrfs_node_blockptr(parent, slot + 1);
slot             2307 fs/btrfs/ctree.c 		gen = btrfs_node_ptr_generation(parent, slot + 1);
slot             2413 fs/btrfs/ctree.c 		      struct extent_buffer **eb_ret, int level, int slot,
slot             2425 fs/btrfs/ctree.c 	blocknr = btrfs_node_blockptr(b, slot);
slot             2426 fs/btrfs/ctree.c 	gen = btrfs_node_ptr_generation(b, slot);
slot             2428 fs/btrfs/ctree.c 	btrfs_node_key_to_cpu(b, &first_key, slot);
slot             2478 fs/btrfs/ctree.c 		reada_for_search(fs_info, p, level, slot, key->objectid);
slot             2573 fs/btrfs/ctree.c 		      int level, int *prev_cmp, int *slot)
slot             2576 fs/btrfs/ctree.c 		*prev_cmp = btrfs_bin_search(b, key, level, slot);
slot             2580 fs/btrfs/ctree.c 	*slot = 0;
slot             2735 fs/btrfs/ctree.c 	int slot;
slot             2856 fs/btrfs/ctree.c 		ret = key_search(b, key, level, &prev_cmp, &slot);
slot             2862 fs/btrfs/ctree.c 			if (ret && slot > 0) {
slot             2864 fs/btrfs/ctree.c 				slot -= 1;
slot             2866 fs/btrfs/ctree.c 			p->slots[level] = slot;
slot             2876 fs/btrfs/ctree.c 			slot = p->slots[level];
slot             2884 fs/btrfs/ctree.c 			if (slot == 0 && ins_len &&
slot             2901 fs/btrfs/ctree.c 						    slot, key);
slot             2927 fs/btrfs/ctree.c 			p->slots[level] = slot;
slot             2981 fs/btrfs/ctree.c 	int slot;
slot             3023 fs/btrfs/ctree.c 		ret = key_search(b, key, level, &prev_cmp, &slot);
slot             3029 fs/btrfs/ctree.c 			if (ret && slot > 0) {
slot             3031 fs/btrfs/ctree.c 				slot -= 1;
slot             3033 fs/btrfs/ctree.c 			p->slots[level] = slot;
slot             3043 fs/btrfs/ctree.c 						    slot, key);
slot             3064 fs/btrfs/ctree.c 			p->slots[level] = slot;
slot             3199 fs/btrfs/ctree.c 	int slot;
slot             3202 fs/btrfs/ctree.c 	slot = path->slots[0];
slot             3203 fs/btrfs/ctree.c 	if (slot > 0) {
slot             3204 fs/btrfs/ctree.c 		btrfs_item_key(eb, &disk_key, slot - 1);
slot             3208 fs/btrfs/ctree.c 				   slot, btrfs_disk_key_objectid(&disk_key),
slot             3217 fs/btrfs/ctree.c 	if (slot < btrfs_header_nritems(eb) - 1) {
slot             3218 fs/btrfs/ctree.c 		btrfs_item_key(eb, &disk_key, slot + 1);
slot             3222 fs/btrfs/ctree.c 				   slot, btrfs_disk_key_objectid(&disk_key),
slot             3233 fs/btrfs/ctree.c 	btrfs_set_item_key(eb, &disk_key, slot);
slot             3235 fs/btrfs/ctree.c 	if (slot == 0)
slot             3449 fs/btrfs/ctree.c 		       int slot, int level)
slot             3459 fs/btrfs/ctree.c 	BUG_ON(slot > nritems);
slot             3461 fs/btrfs/ctree.c 	if (slot != nritems) {
slot             3463 fs/btrfs/ctree.c 			ret = tree_mod_log_insert_move(lower, slot + 1, slot,
slot             3464 fs/btrfs/ctree.c 					nritems - slot);
slot             3468 fs/btrfs/ctree.c 			      btrfs_node_key_ptr_offset(slot + 1),
slot             3469 fs/btrfs/ctree.c 			      btrfs_node_key_ptr_offset(slot),
slot             3470 fs/btrfs/ctree.c 			      (nritems - slot) * sizeof(struct btrfs_key_ptr));
slot             3473 fs/btrfs/ctree.c 		ret = tree_mod_log_insert_key(lower, slot, MOD_LOG_KEY_ADD,
slot             3477 fs/btrfs/ctree.c 	btrfs_set_node_key(lower, key, slot);
slot             3478 fs/btrfs/ctree.c 	btrfs_set_node_blockptr(lower, slot, bytenr);
slot             3480 fs/btrfs/ctree.c 	btrfs_set_node_ptr_generation(lower, slot, trans->transid);
slot             3640 fs/btrfs/ctree.c 	int slot;
slot             3658 fs/btrfs/ctree.c 	slot = path->slots[1];
slot             3743 fs/btrfs/ctree.c 	btrfs_set_node_key(upper, &disk_key, slot + 1);
slot             3785 fs/btrfs/ctree.c 	int slot;
slot             3793 fs/btrfs/ctree.c 	slot = path->slots[1];
slot             3795 fs/btrfs/ctree.c 	if (slot >= btrfs_header_nritems(upper) - 1)
slot             3800 fs/btrfs/ctree.c 	right = btrfs_read_node_slot(upper, slot + 1);
slot             3817 fs/btrfs/ctree.c 			      slot + 1, &right);
slot             4018 fs/btrfs/ctree.c 	int slot;
slot             4023 fs/btrfs/ctree.c 	slot = path->slots[1];
slot             4024 fs/btrfs/ctree.c 	if (slot == 0)
slot             4035 fs/btrfs/ctree.c 	left = btrfs_read_node_slot(path->nodes[1], slot - 1);
slot             4054 fs/btrfs/ctree.c 			      path->nodes[1], slot - 1, &left);
slot             4085 fs/btrfs/ctree.c 				    int slot, int mid, int nritems)
slot             4125 fs/btrfs/ctree.c 	BUG_ON(path->slots[0] != slot);
slot             4127 fs/btrfs/ctree.c 	if (mid <= slot) {
slot             4158 fs/btrfs/ctree.c 	int slot;
slot             4162 fs/btrfs/ctree.c 	slot = path->slots[0];
slot             4163 fs/btrfs/ctree.c 	if (slot < btrfs_header_nritems(path->nodes[0]))
slot             4170 fs/btrfs/ctree.c 	ret = push_leaf_right(trans, root, path, 1, space_needed, 0, slot);
slot             4189 fs/btrfs/ctree.c 	slot = path->slots[0];
slot             4191 fs/btrfs/ctree.c 	if (slot > 0)
slot             4193 fs/btrfs/ctree.c 	ret = push_leaf_left(trans, root, path, 1, space_needed, 0, slot);
slot             4221 fs/btrfs/ctree.c 	int slot;
slot             4231 fs/btrfs/ctree.c 	slot = path->slots[0];
slot             4232 fs/btrfs/ctree.c 	if (extend && data_size + btrfs_item_size_nr(l, slot) +
slot             4240 fs/btrfs/ctree.c 		if (slot < btrfs_header_nritems(l))
slot             4249 fs/btrfs/ctree.c 			if (slot > 0)
slot             4271 fs/btrfs/ctree.c 	slot = path->slots[0];
slot             4275 fs/btrfs/ctree.c 	if (mid <= slot) {
slot             4279 fs/btrfs/ctree.c 			if (slot >= nritems) {
slot             4282 fs/btrfs/ctree.c 				mid = slot;
slot             4295 fs/btrfs/ctree.c 			if (!extend && data_size && slot == 0) {
slot             4297 fs/btrfs/ctree.c 			} else if ((extend || !data_size) && slot == 0) {
slot             4300 fs/btrfs/ctree.c 				mid = slot;
slot             4325 fs/btrfs/ctree.c 		if (mid <= slot) {
slot             4353 fs/btrfs/ctree.c 	copy_for_split(trans, path, l, right, slot, mid, nritems);
slot             4445 fs/btrfs/ctree.c 	int slot;
slot             4468 fs/btrfs/ctree.c 	slot = path->slots[0] + 1;
slot             4470 fs/btrfs/ctree.c 	if (slot != nritems) {
slot             4472 fs/btrfs/ctree.c 		memmove_extent_buffer(leaf, btrfs_item_nr_offset(slot + 1),
slot             4473 fs/btrfs/ctree.c 				btrfs_item_nr_offset(slot),
slot             4474 fs/btrfs/ctree.c 				(nritems - slot) * sizeof(struct btrfs_item));
slot             4478 fs/btrfs/ctree.c 	btrfs_set_item_key(leaf, &disk_key, slot);
slot             4480 fs/btrfs/ctree.c 	new_item = btrfs_item_nr(slot);
slot             4498 fs/btrfs/ctree.c 			    btrfs_item_ptr_offset(leaf, slot),
slot             4582 fs/btrfs/ctree.c 	int slot;
slot             4594 fs/btrfs/ctree.c 	slot = path->slots[0];
slot             4596 fs/btrfs/ctree.c 	old_size = btrfs_item_size_nr(leaf, slot);
slot             4603 fs/btrfs/ctree.c 	old_data_start = btrfs_item_offset_nr(leaf, slot);
slot             4607 fs/btrfs/ctree.c 	BUG_ON(slot < 0);
slot             4608 fs/btrfs/ctree.c 	BUG_ON(slot >= nritems);
slot             4615 fs/btrfs/ctree.c 	for (i = slot; i < nritems; i++) {
slot             4633 fs/btrfs/ctree.c 		btrfs_item_key(leaf, &disk_key, slot);
slot             4639 fs/btrfs/ctree.c 			fi = btrfs_item_ptr(leaf, slot,
slot             4646 fs/btrfs/ctree.c 				ptr = btrfs_item_ptr_offset(leaf, slot);
slot             4659 fs/btrfs/ctree.c 		btrfs_set_item_key(leaf, &disk_key, slot);
slot             4660 fs/btrfs/ctree.c 		if (slot == 0)
slot             4664 fs/btrfs/ctree.c 	item = btrfs_item_nr(slot);
slot             4679 fs/btrfs/ctree.c 	int slot;
slot             4698 fs/btrfs/ctree.c 	slot = path->slots[0];
slot             4699 fs/btrfs/ctree.c 	old_data = btrfs_item_end_nr(leaf, slot);
slot             4701 fs/btrfs/ctree.c 	BUG_ON(slot < 0);
slot             4702 fs/btrfs/ctree.c 	if (slot >= nritems) {
slot             4705 fs/btrfs/ctree.c 			   slot, nritems);
slot             4714 fs/btrfs/ctree.c 	for (i = slot; i < nritems; i++) {
slot             4729 fs/btrfs/ctree.c 	old_size = btrfs_item_size_nr(leaf, slot);
slot             4730 fs/btrfs/ctree.c 	item = btrfs_item_nr(slot);
slot             4756 fs/btrfs/ctree.c 	int slot;
slot             4766 fs/btrfs/ctree.c 	slot = path->slots[0];
slot             4779 fs/btrfs/ctree.c 	if (slot != nritems) {
slot             4780 fs/btrfs/ctree.c 		unsigned int old_data = btrfs_item_end_nr(leaf, slot);
slot             4785 fs/btrfs/ctree.c 				   slot, old_data, data_end);
slot             4792 fs/btrfs/ctree.c 		for (i = slot; i < nritems; i++) {
slot             4801 fs/btrfs/ctree.c 		memmove_extent_buffer(leaf, btrfs_item_nr_offset(slot + nr),
slot             4802 fs/btrfs/ctree.c 			      btrfs_item_nr_offset(slot),
slot             4803 fs/btrfs/ctree.c 			      (nritems - slot) * sizeof(struct btrfs_item));
slot             4815 fs/btrfs/ctree.c 		btrfs_set_item_key(leaf, &disk_key, slot + i);
slot             4816 fs/btrfs/ctree.c 		item = btrfs_item_nr(slot + i);
slot             4843 fs/btrfs/ctree.c 	int slot;
slot             4858 fs/btrfs/ctree.c 	slot = path->slots[0];
slot             4859 fs/btrfs/ctree.c 	BUG_ON(slot < 0);
slot             4900 fs/btrfs/ctree.c 		    int level, int slot)
slot             4907 fs/btrfs/ctree.c 	if (slot != nritems - 1) {
slot             4909 fs/btrfs/ctree.c 			ret = tree_mod_log_insert_move(parent, slot, slot + 1,
slot             4910 fs/btrfs/ctree.c 					nritems - slot - 1);
slot             4914 fs/btrfs/ctree.c 			      btrfs_node_key_ptr_offset(slot),
slot             4915 fs/btrfs/ctree.c 			      btrfs_node_key_ptr_offset(slot + 1),
slot             4917 fs/btrfs/ctree.c 			      (nritems - slot - 1));
slot             4919 fs/btrfs/ctree.c 		ret = tree_mod_log_insert_key(parent, slot, MOD_LOG_KEY_REMOVE,
slot             4930 fs/btrfs/ctree.c 	} else if (slot == 0) {
slot             4974 fs/btrfs/ctree.c 		    struct btrfs_path *path, int slot, int nr)
slot             4987 fs/btrfs/ctree.c 	last_off = btrfs_item_offset_nr(leaf, slot + nr - 1);
slot             4990 fs/btrfs/ctree.c 		dsize += btrfs_item_size_nr(leaf, slot + i);
slot             4994 fs/btrfs/ctree.c 	if (slot + nr != nritems) {
slot             5004 fs/btrfs/ctree.c 		for (i = slot + nr; i < nritems; i++) {
slot             5013 fs/btrfs/ctree.c 		memmove_extent_buffer(leaf, btrfs_item_nr_offset(slot),
slot             5014 fs/btrfs/ctree.c 			      btrfs_item_nr_offset(slot + nr),
slot             5016 fs/btrfs/ctree.c 			      (nritems - slot - nr));
slot             5032 fs/btrfs/ctree.c 		if (slot == 0) {
slot             5045 fs/btrfs/ctree.c 			slot = path->slots[1];
slot             5063 fs/btrfs/ctree.c 				path->slots[1] = slot;
slot             5159 fs/btrfs/ctree.c 	int slot;
slot             5181 fs/btrfs/ctree.c 		sret = btrfs_bin_search(cur, min_key, level, &slot);
slot             5189 fs/btrfs/ctree.c 			if (slot >= nritems)
slot             5192 fs/btrfs/ctree.c 			path->slots[level] = slot;
slot             5193 fs/btrfs/ctree.c 			btrfs_item_key_to_cpu(cur, &found_key, slot);
slot             5196 fs/btrfs/ctree.c 		if (sret && slot > 0)
slot             5197 fs/btrfs/ctree.c 			slot--;
slot             5202 fs/btrfs/ctree.c 		while (slot < nritems) {
slot             5205 fs/btrfs/ctree.c 			gen = btrfs_node_ptr_generation(cur, slot);
slot             5207 fs/btrfs/ctree.c 				slot++;
slot             5217 fs/btrfs/ctree.c 		if (slot >= nritems) {
slot             5218 fs/btrfs/ctree.c 			path->slots[level] = slot;
slot             5230 fs/btrfs/ctree.c 		btrfs_node_key_to_cpu(cur, &found_key, slot);
slot             5231 fs/btrfs/ctree.c 		path->slots[level] = slot;
slot             5237 fs/btrfs/ctree.c 		cur = btrfs_read_node_slot(cur, slot);
slot             5273 fs/btrfs/ctree.c 	int slot;
slot             5281 fs/btrfs/ctree.c 		slot = path->slots[level] + 1;
slot             5284 fs/btrfs/ctree.c 		if (slot >= btrfs_header_nritems(c)) {
slot             5297 fs/btrfs/ctree.c 			slot = btrfs_header_nritems(c) - 1;
slot             5299 fs/btrfs/ctree.c 				btrfs_item_key_to_cpu(c, &cur_key, slot);
slot             5301 fs/btrfs/ctree.c 				btrfs_node_key_to_cpu(c, &cur_key, slot);
slot             5313 fs/btrfs/ctree.c 			slot = path->slots[level];
slot             5315 fs/btrfs/ctree.c 				slot++;
slot             5320 fs/btrfs/ctree.c 			btrfs_item_key_to_cpu(c, key, slot);
slot             5322 fs/btrfs/ctree.c 			u64 gen = btrfs_node_ptr_generation(c, slot);
slot             5325 fs/btrfs/ctree.c 				slot++;
slot             5328 fs/btrfs/ctree.c 			btrfs_node_key_to_cpu(c, key, slot);
slot             5348 fs/btrfs/ctree.c 	int slot;
slot             5419 fs/btrfs/ctree.c 		slot = path->slots[level] + 1;
slot             5421 fs/btrfs/ctree.c 		if (slot >= btrfs_header_nritems(c)) {
slot             5438 fs/btrfs/ctree.c 					    slot, &key);
slot             5470 fs/btrfs/ctree.c 	path->slots[level] = slot;
slot             2323 fs/btrfs/ctree.h #define btrfs_item_ptr(leaf, slot, type) \
slot             2325 fs/btrfs/ctree.h 	btrfs_item_offset_nr(leaf, slot)))
slot             2327 fs/btrfs/ctree.h #define btrfs_item_ptr_offset(leaf, slot) \
slot             2329 fs/btrfs/ctree.h 	btrfs_item_offset_nr(leaf, slot)))
slot             2507 fs/btrfs/ctree.h 		     int level, int *slot);
slot             2527 fs/btrfs/ctree.h 					   int slot);
slot             2572 fs/btrfs/ctree.h 		   struct btrfs_path *path, int slot, int nr);
slot             2778 fs/btrfs/ctree.h 						   int slot, const char *name,
slot             2781 fs/btrfs/ctree.h 		struct extent_buffer *leaf, int slot, u64 ref_objectid,
slot              707 fs/btrfs/delayed-inode.c 	int slot;
slot              777 fs/btrfs/delayed-inode.c 	slot = path->slots[0];
slot              779 fs/btrfs/delayed-inode.c 		data_ptr = btrfs_item_ptr(leaf, slot, char);
slot              783 fs/btrfs/delayed-inode.c 		slot++;
slot               39 fs/btrfs/dev-replace.c 	int slot;
slot               77 fs/btrfs/dev-replace.c 	slot = path->slots[0];
slot               79 fs/btrfs/dev-replace.c 	item_size = btrfs_item_size_nr(eb, slot);
slot               80 fs/btrfs/dev-replace.c 	ptr = btrfs_item_ptr(eb, slot, struct btrfs_dev_replace_item);
slot              212 fs/btrfs/dir-item.c 	int slot;
slot              250 fs/btrfs/dir-item.c 	slot = path->slots[0];
slot              251 fs/btrfs/dir-item.c 	if (data_size + btrfs_item_size_nr(leaf, slot) +
slot             4609 fs/btrfs/extent-tree.c 	int slot;
slot             4624 fs/btrfs/extent-tree.c 	for (slot = path->slots[wc->level]; slot < nritems; slot++) {
slot             4629 fs/btrfs/extent-tree.c 		bytenr = btrfs_node_blockptr(eb, slot);
slot             4630 fs/btrfs/extent-tree.c 		generation = btrfs_node_ptr_generation(eb, slot);
slot             4632 fs/btrfs/extent-tree.c 		if (slot == path->slots[wc->level])
slot             4658 fs/btrfs/extent-tree.c 			btrfs_node_key_to_cpu(eb, &key, slot);
slot             4672 fs/btrfs/extent-tree.c 	wc->reada_slot = slot;
slot              657 fs/btrfs/file-item.c 				int slot = path->slots[0] - 1;
slot              659 fs/btrfs/file-item.c 				while (slot >= 0) {
slot              662 fs/btrfs/file-item.c 					btrfs_item_key_to_cpu(leaf, &pk, slot);
slot              668 fs/btrfs/file-item.c 					path->slots[0] = slot;
slot              671 fs/btrfs/file-item.c 					slot--;
slot              796 fs/btrfs/file-item.c 		int slot = path->slots[0] + 1;
slot              805 fs/btrfs/file-item.c 			slot = path->slots[0];
slot              807 fs/btrfs/file-item.c 		btrfs_item_key_to_cpu(path->nodes[0], &found_key, slot);
slot              945 fs/btrfs/file-item.c 	const int slot = path->slots[0];
slot              953 fs/btrfs/file-item.c 	btrfs_item_key_to_cpu(leaf, &key, slot);
slot             1105 fs/btrfs/file.c static int extent_mergeable(struct extent_buffer *leaf, int slot,
slot             1113 fs/btrfs/file.c 	if (slot < 0 || slot >= btrfs_header_nritems(leaf))
slot             1116 fs/btrfs/file.c 	btrfs_item_key_to_cpu(leaf, &key, slot);
slot             1120 fs/btrfs/file.c 	fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item);
slot             2261 fs/btrfs/file.c 			  int slot, u64 start, u64 end)
slot             2266 fs/btrfs/file.c 	if (slot < 0 || slot >= btrfs_header_nritems(leaf))
slot             2269 fs/btrfs/file.c 	btrfs_item_key_to_cpu(leaf, &key, slot);
slot             2274 fs/btrfs/file.c 	fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item);
slot             2474 fs/btrfs/file.c 	int slot;
slot             2494 fs/btrfs/file.c 	slot = path->slots[0];
slot             2496 fs/btrfs/file.c 			    btrfs_item_ptr_offset(leaf, slot),
slot             2498 fs/btrfs/file.c 	extent = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item);
slot               12 fs/btrfs/inode-item.c 						   int slot, const char *name,
slot               22 fs/btrfs/inode-item.c 	item_size = btrfs_item_size_nr(leaf, slot);
slot               23 fs/btrfs/inode-item.c 	ptr = btrfs_item_ptr_offset(leaf, slot);
slot               38 fs/btrfs/inode-item.c 		struct extent_buffer *leaf, int slot, u64 ref_objectid,
slot               48 fs/btrfs/inode-item.c 	item_size = btrfs_item_size_nr(leaf, slot);
slot               49 fs/btrfs/inode-item.c 	ptr = btrfs_item_ptr_offset(leaf, slot);
slot              410 fs/btrfs/inode-item.c 	int slot;
slot              417 fs/btrfs/inode-item.c 		slot = path->slots[0] - 1;
slot              419 fs/btrfs/inode-item.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot               38 fs/btrfs/inode-map.c 	int slot;
slot               71 fs/btrfs/inode-map.c 		slot = path->slots[0];
slot               72 fs/btrfs/inode-map.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot              100 fs/btrfs/inode-map.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot              534 fs/btrfs/inode-map.c 	int slot;
slot              548 fs/btrfs/inode-map.c 		slot = path->slots[0] - 1;
slot              550 fs/btrfs/inode-map.c 		btrfs_item_key_to_cpu(l, &found_key, slot);
slot             2552 fs/btrfs/inode.c 	int slot;
slot             2591 fs/btrfs/inode.c 		slot = path->slots[0];
slot             2593 fs/btrfs/inode.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             2606 fs/btrfs/inode.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             2614 fs/btrfs/inode.c 		extent = btrfs_item_ptr(leaf, slot,
slot             3017 fs/btrfs/inode.c 		int slot;
slot             3025 fs/btrfs/inode.c 		slot = path->slots[0];
slot             3027 fs/btrfs/inode.c 		if (slot >= btrfs_header_nritems(l)) {
slot             3036 fs/btrfs/inode.c 		btrfs_item_key_to_cpu(l, &key, slot);
slot             3045 fs/btrfs/inode.c 		extent = btrfs_item_ptr(l, slot, struct btrfs_file_extent_item);
slot             3727 fs/btrfs/inode.c 					  int slot, u64 objectid,
slot             3743 fs/btrfs/inode.c 	slot++;
slot             3745 fs/btrfs/inode.c 	while (slot < nritems) {
slot             3746 fs/btrfs/inode.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot             3755 fs/btrfs/inode.c 				*first_xattr_slot = slot;
slot             3768 fs/btrfs/inode.c 		slot++;
slot             3785 fs/btrfs/inode.c 		*first_xattr_slot = slot;
slot             6103 fs/btrfs/inode.c 	int slot;
slot             6138 fs/btrfs/inode.c 		slot = path->slots[0];
slot             6139 fs/btrfs/inode.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             6148 fs/btrfs/inode.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot             6158 fs/btrfs/inode.c 		di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item);
slot             7460 fs/btrfs/inode.c 	int slot;
slot             7473 fs/btrfs/inode.c 	slot = path->slots[0];
slot             7475 fs/btrfs/inode.c 		if (slot == 0) {
slot             7480 fs/btrfs/inode.c 		slot--;
slot             7484 fs/btrfs/inode.c 	btrfs_item_key_to_cpu(leaf, &key, slot);
slot             7496 fs/btrfs/inode.c 	fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item);
slot             2046 fs/btrfs/ioctl.c 	int slot;
slot             2050 fs/btrfs/ioctl.c 	slot = path->slots[0];
slot             2059 fs/btrfs/ioctl.c 	for (i = slot; i < nritems; i++) {
slot             2297 fs/btrfs/ioctl.c 	int slot;
slot             2344 fs/btrfs/ioctl.c 		slot = path->slots[0];
slot             2345 fs/btrfs/ioctl.c 		btrfs_item_key_to_cpu(l, &key, slot);
slot             2347 fs/btrfs/ioctl.c 		iref = btrfs_item_ptr(l, slot, struct btrfs_inode_ref);
slot             2393 fs/btrfs/ioctl.c 	int slot;
slot             2437 fs/btrfs/ioctl.c 			slot = path->slots[0];
slot             2438 fs/btrfs/ioctl.c 			btrfs_item_key_to_cpu(leaf, &key, slot);
slot             2440 fs/btrfs/ioctl.c 			iref = btrfs_item_ptr(leaf, slot, struct btrfs_inode_ref);
slot             2464 fs/btrfs/ioctl.c 			slot = path->slots[0];
slot             2465 fs/btrfs/ioctl.c 			btrfs_item_key_to_cpu(leaf, &key2, slot);
slot             2515 fs/btrfs/ioctl.c 	slot = path->slots[0];
slot             2516 fs/btrfs/ioctl.c 	btrfs_item_key_to_cpu(leaf, &key, slot);
slot             2518 fs/btrfs/ioctl.c 	item_off = btrfs_item_ptr_offset(leaf, slot);
slot             2519 fs/btrfs/ioctl.c 	item_len = btrfs_item_size_nr(leaf, slot);
slot             2521 fs/btrfs/ioctl.c 	rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref);
slot             2637 fs/btrfs/ioctl.c 	int slot;
slot             2712 fs/btrfs/ioctl.c 		slot = path->slots[0];
slot             2713 fs/btrfs/ioctl.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             2718 fs/btrfs/ioctl.c 			rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref);
slot             2721 fs/btrfs/ioctl.c 			item_off = btrfs_item_ptr_offset(leaf, slot)
slot             2723 fs/btrfs/ioctl.c 			item_len = btrfs_item_size_nr(leaf, slot)
slot             2756 fs/btrfs/ioctl.c 	int slot;
slot             2794 fs/btrfs/ioctl.c 		slot = path->slots[0];
slot             2796 fs/btrfs/ioctl.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             2807 fs/btrfs/ioctl.c 		rref = btrfs_item_ptr(leaf, slot, struct btrfs_root_ref);
slot             3507 fs/btrfs/ioctl.c 	int slot;
slot             3572 fs/btrfs/ioctl.c 		slot = path->slots[0];
slot             3574 fs/btrfs/ioctl.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             3581 fs/btrfs/ioctl.c 		extent = btrfs_item_ptr(leaf, slot,
slot             3608 fs/btrfs/ioctl.c 		size = btrfs_item_size_nr(leaf, slot);
slot             3609 fs/btrfs/ioctl.c 		read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, slot),
slot               41 fs/btrfs/print-tree.c static void print_extent_item(struct extent_buffer *eb, int slot, int type)
slot               50 fs/btrfs/print-tree.c 	u32 item_size = btrfs_item_size_nr(eb, slot);
slot               60 fs/btrfs/print-tree.c 	ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item);
slot              134 fs/btrfs/props.c 		int slot;
slot              137 fs/btrfs/props.c 		slot = path->slots[0];
slot              140 fs/btrfs/props.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot              149 fs/btrfs/props.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot              159 fs/btrfs/props.c 		di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item);
slot              161 fs/btrfs/props.c 		total_len = btrfs_item_size_nr(leaf, slot);
slot              334 fs/btrfs/qgroup.c 	int slot;
slot              370 fs/btrfs/qgroup.c 		slot = path->slots[0];
slot              372 fs/btrfs/qgroup.c 		btrfs_item_key_to_cpu(l, &found_key, slot);
slot              377 fs/btrfs/qgroup.c 			ptr = btrfs_item_ptr(l, slot,
slot              419 fs/btrfs/qgroup.c 			ptr = btrfs_item_ptr(l, slot,
slot              431 fs/btrfs/qgroup.c 			ptr = btrfs_item_ptr(l, slot,
slot              460 fs/btrfs/qgroup.c 		slot = path->slots[0];
slot              462 fs/btrfs/qgroup.c 		btrfs_item_key_to_cpu(l, &found_key, slot);
slot              711 fs/btrfs/qgroup.c 	int slot;
slot              729 fs/btrfs/qgroup.c 	slot = path->slots[0];
slot              730 fs/btrfs/qgroup.c 	qgroup_limit = btrfs_item_ptr(l, slot, struct btrfs_qgroup_limit_item);
slot              754 fs/btrfs/qgroup.c 	int slot;
slot              775 fs/btrfs/qgroup.c 	slot = path->slots[0];
slot              776 fs/btrfs/qgroup.c 	qgroup_info = btrfs_item_ptr(l, slot, struct btrfs_qgroup_info_item);
slot              799 fs/btrfs/qgroup.c 	int slot;
slot              817 fs/btrfs/qgroup.c 	slot = path->slots[0];
slot              818 fs/btrfs/qgroup.c 	ptr = btrfs_item_ptr(l, slot, struct btrfs_qgroup_status_item);
slot              891 fs/btrfs/qgroup.c 	int slot;
slot              972 fs/btrfs/qgroup.c 		slot = path->slots[0];
slot              974 fs/btrfs/qgroup.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot             1695 fs/btrfs/qgroup.c 	int nr, slot;
slot             1705 fs/btrfs/qgroup.c 		slot = path->slots[level];
slot             1706 fs/btrfs/qgroup.c 		if (slot >= nr || level == 0) {
slot             3058 fs/btrfs/qgroup.c 	int slot;
slot             3098 fs/btrfs/qgroup.c 	slot = path->slots[0];
slot             3102 fs/btrfs/qgroup.c 	for (; slot < btrfs_header_nritems(scratch_leaf); ++slot) {
slot             3103 fs/btrfs/qgroup.c 		btrfs_item_key_to_cpu(scratch_leaf, &found, slot);
slot              429 fs/btrfs/ref-verify.c 			       int slot, int *tree_block_level)
slot              436 fs/btrfs/ref-verify.c 	u32 item_size = btrfs_item_size_nr(leaf, slot);
slot              441 fs/btrfs/ref-verify.c 	ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item);
slot              626 fs/btrfs/relocation.c int find_inline_backref(struct extent_buffer *leaf, int slot,
slot              634 fs/btrfs/relocation.c 	btrfs_item_key_to_cpu(leaf, &key, slot);
slot              636 fs/btrfs/relocation.c 	item_size = btrfs_item_size_nr(leaf, slot);
slot              642 fs/btrfs/relocation.c 	ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item);
slot             1785 fs/btrfs/relocation.c int memcmp_node_keys(struct extent_buffer *eb, int slot,
slot             1790 fs/btrfs/relocation.c 	btrfs_node_key(eb, &key1, slot);
slot             1824 fs/btrfs/relocation.c 	int slot;
slot             1831 fs/btrfs/relocation.c 	slot = path->slots[lowest_level];
slot             1832 fs/btrfs/relocation.c 	btrfs_node_key_to_cpu(path->nodes[lowest_level], &key, slot);
slot             1863 fs/btrfs/relocation.c 		ret = btrfs_bin_search(parent, &key, level, &slot);
slot             1866 fs/btrfs/relocation.c 		if (ret && slot > 0)
slot             1867 fs/btrfs/relocation.c 			slot--;
slot             1869 fs/btrfs/relocation.c 		if (next_key && slot + 1 < btrfs_header_nritems(parent))
slot             1870 fs/btrfs/relocation.c 			btrfs_node_key_to_cpu(parent, next_key, slot + 1);
slot             1872 fs/btrfs/relocation.c 		old_bytenr = btrfs_node_blockptr(parent, slot);
slot             1874 fs/btrfs/relocation.c 		old_ptr_gen = btrfs_node_ptr_generation(parent, slot);
slot             1875 fs/btrfs/relocation.c 		btrfs_node_key_to_cpu(parent, &first_key, slot);
slot             1894 fs/btrfs/relocation.c 		    memcmp_node_keys(parent, slot, path, level)) {
slot             1913 fs/btrfs/relocation.c 						      slot, &eb);
slot             1956 fs/btrfs/relocation.c 				rc->block_group, parent, slot,
slot             1964 fs/btrfs/relocation.c 		btrfs_set_node_blockptr(parent, slot, new_bytenr);
slot             1965 fs/btrfs/relocation.c 		btrfs_set_node_ptr_generation(parent, slot, new_ptr_gen);
slot             2807 fs/btrfs/relocation.c 	int slot;
slot             2828 fs/btrfs/relocation.c 						       upper->level, &slot);
slot             2834 fs/btrfs/relocation.c 				bytenr = btrfs_node_blockptr(upper->eb, slot);
slot             2863 fs/btrfs/relocation.c 			slot = path->slots[upper->level];
slot             2867 fs/btrfs/relocation.c 					       &slot);
slot             2875 fs/btrfs/relocation.c 		bytenr = btrfs_node_blockptr(upper->eb, slot);
slot             2880 fs/btrfs/relocation.c 					  bytenr, node->bytenr, slot,
slot             2891 fs/btrfs/relocation.c 		generation = btrfs_node_ptr_generation(upper->eb, slot);
slot             2892 fs/btrfs/relocation.c 		btrfs_node_key_to_cpu(upper->eb, &first_key, slot);
slot             2908 fs/btrfs/relocation.c 					      slot, &eb);
slot             2917 fs/btrfs/relocation.c 			btrfs_set_node_blockptr(upper->eb, slot,
slot             2919 fs/btrfs/relocation.c 			btrfs_set_node_ptr_generation(upper->eb, slot,
slot               22 fs/btrfs/root-tree.c static void btrfs_read_root_item(struct extent_buffer *eb, int slot,
slot               29 fs/btrfs/root-tree.c 	len = btrfs_item_size_nr(eb, slot);
slot               30 fs/btrfs/root-tree.c 	read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot),
slot               73 fs/btrfs/root-tree.c 	int slot;
slot               91 fs/btrfs/root-tree.c 	slot = path->slots[0];
slot               93 fs/btrfs/root-tree.c 	btrfs_item_key_to_cpu(l, &found_key, slot);
slot              101 fs/btrfs/root-tree.c 		btrfs_read_root_item(l, slot, root_item);
slot              128 fs/btrfs/root-tree.c 	int slot;
slot              151 fs/btrfs/root-tree.c 	slot = path->slots[0];
slot              152 fs/btrfs/root-tree.c 	ptr = btrfs_item_ptr_offset(l, slot);
slot              153 fs/btrfs/root-tree.c 	old_len = btrfs_item_size_nr(l, slot);
slot              182 fs/btrfs/root-tree.c 		slot = path->slots[0];
slot              183 fs/btrfs/root-tree.c 		ptr = btrfs_item_ptr_offset(l, slot);
slot             2832 fs/btrfs/scrub.c 	int slot;
slot             2900 fs/btrfs/scrub.c 			slot = path->slots[0];
slot             2901 fs/btrfs/scrub.c 			if (slot >= btrfs_header_nritems(l)) {
slot             2911 fs/btrfs/scrub.c 			btrfs_item_key_to_cpu(l, &key, slot);
slot             2933 fs/btrfs/scrub.c 			extent = btrfs_item_ptr(l, slot,
slot             3056 fs/btrfs/scrub.c 	int slot;
slot             3252 fs/btrfs/scrub.c 			slot = path->slots[0];
slot             3253 fs/btrfs/scrub.c 			if (slot >= btrfs_header_nritems(l)) {
slot             3263 fs/btrfs/scrub.c 			btrfs_item_key_to_cpu(l, &key, slot);
slot             3284 fs/btrfs/scrub.c 			extent = btrfs_item_ptr(l, slot,
slot             3480 fs/btrfs/scrub.c 	int slot;
slot             3519 fs/btrfs/scrub.c 		slot = path->slots[0];
slot             3521 fs/btrfs/scrub.c 		btrfs_item_key_to_cpu(l, &found_key, slot);
slot             3535 fs/btrfs/scrub.c 		dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent);
slot              901 fs/btrfs/send.c 	int slot = path->slots[0];
slot              924 fs/btrfs/send.c 		ptr = (unsigned long)btrfs_item_ptr(eb, slot,
slot              926 fs/btrfs/send.c 		item = btrfs_item_nr(slot);
slot              930 fs/btrfs/send.c 		ptr = btrfs_item_ptr_offset(eb, slot);
slot              931 fs/btrfs/send.c 		total = btrfs_item_size_nr(eb, slot);
slot             1024 fs/btrfs/send.c 	int slot;
slot             1042 fs/btrfs/send.c 	slot = path->slots[0];
slot             1043 fs/btrfs/send.c 	item = btrfs_item_nr(slot);
slot             1044 fs/btrfs/send.c 	di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item);
slot             2532 fs/btrfs/send.c 	int slot;
slot             2556 fs/btrfs/send.c 	slot = path->slots[0];
slot             2557 fs/btrfs/send.c 	ii = btrfs_item_ptr(eb, slot, struct btrfs_inode_item);
slot             2680 fs/btrfs/send.c 	int slot;
slot             2697 fs/btrfs/send.c 		slot = path->slots[0];
slot             2698 fs/btrfs/send.c 		if (slot >= btrfs_header_nritems(eb)) {
slot             2709 fs/btrfs/send.c 		btrfs_item_key_to_cpu(eb, &found_key, slot);
slot             2716 fs/btrfs/send.c 		di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item);
slot             3611 fs/btrfs/send.c 		int slot = path->slots[0];
slot             3615 fs/btrfs/send.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             3624 fs/btrfs/send.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             3631 fs/btrfs/send.c 		item_size = btrfs_item_size_nr(leaf, slot);
slot             3640 fs/btrfs/send.c 				ptr = btrfs_item_ptr_offset(leaf, slot);
slot             4421 fs/btrfs/send.c 	int slot;
slot             4451 fs/btrfs/send.c 		slot = path->slots[0];
slot             4452 fs/btrfs/send.c 		if (slot >= btrfs_header_nritems(eb)) {
slot             4461 fs/btrfs/send.c 		btrfs_item_key_to_cpu(eb, &found_key, slot);
slot             4740 fs/btrfs/send.c 	int slot;
slot             4757 fs/btrfs/send.c 		slot = path->slots[0];
slot             4758 fs/btrfs/send.c 		if (slot >= btrfs_header_nritems(eb)) {
slot             4769 fs/btrfs/send.c 		btrfs_item_key_to_cpu(eb, &found_key, slot);
slot             5183 fs/btrfs/send.c 		int slot = path->slots[0];
slot             5190 fs/btrfs/send.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             5199 fs/btrfs/send.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             5209 fs/btrfs/send.c 		ei = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item);
slot             5394 fs/btrfs/send.c 	int slot;
slot             5414 fs/btrfs/send.c 	slot = left_path->slots[0];
slot             5415 fs/btrfs/send.c 	ei = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item);
slot             5463 fs/btrfs/send.c 	slot = path->slots[0];
slot             5464 fs/btrfs/send.c 	btrfs_item_key_to_cpu(eb, &found_key, slot);
slot             5477 fs/btrfs/send.c 		ei = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item);
slot             5546 fs/btrfs/send.c 			slot = path->slots[0];
slot             5547 fs/btrfs/send.c 			btrfs_item_key_to_cpu(eb, &found_key, slot);
slot             5645 fs/btrfs/send.c 		int slot = path->slots[0];
slot             5649 fs/btrfs/send.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             5658 fs/btrfs/send.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             5667 fs/btrfs/send.c 		fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item);
slot             5821 fs/btrfs/send.c 	int slot;
slot             5837 fs/btrfs/send.c 		slot = path->slots[0];
slot             5839 fs/btrfs/send.c 		if (slot >= btrfs_header_nritems(eb)) {
slot             5850 fs/btrfs/send.c 		btrfs_item_key_to_cpu(eb, &found_key, slot);
slot             6071 fs/btrfs/send.c 		int slot = path->slots[0];
slot             6073 fs/btrfs/send.c 		if (slot >= btrfs_header_nritems(eb)) {
slot             6082 fs/btrfs/send.c 		btrfs_item_key_to_cpu(eb, &key, slot);
slot             6512 fs/btrfs/send.c 	int slot;
slot             6530 fs/btrfs/send.c 		slot = path->slots[0];
slot             6531 fs/btrfs/send.c 		btrfs_item_key_to_cpu(eb, &key, slot);
slot              151 fs/btrfs/tests/btrfs-tests.c 	void **slot;
slot              163 fs/btrfs/tests/btrfs-tests.c 	radix_tree_for_each_slot(slot, &fs_info->buffer_radix, &iter, 0) {
slot              166 fs/btrfs/tests/btrfs-tests.c 		eb = radix_tree_deref_slot_protected(slot, &fs_info->buffer_lock);
slot              172 fs/btrfs/tests/btrfs-tests.c 				slot = radix_tree_iter_retry(&iter);
slot              175 fs/btrfs/tests/btrfs-tests.c 		slot = radix_tree_iter_resume(slot, &iter);
slot               17 fs/btrfs/tests/inode-tests.c 			  u64 disk_len, u32 type, u8 compression, int slot)
slot               30 fs/btrfs/tests/inode-tests.c 	path.slots[0] = slot;
slot               38 fs/btrfs/tests/inode-tests.c 	fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item);
slot               91 fs/btrfs/tests/inode-tests.c 	int slot = 0;
slot               97 fs/btrfs/tests/inode-tests.c 		      slot);
slot               98 fs/btrfs/tests/inode-tests.c 	slot++;
slot              108 fs/btrfs/tests/inode-tests.c 		      slot);
slot              109 fs/btrfs/tests/inode-tests.c 	slot++;
slot              114 fs/btrfs/tests/inode-tests.c 		      slot);
slot              115 fs/btrfs/tests/inode-tests.c 	slot++;
slot              120 fs/btrfs/tests/inode-tests.c 		      disk_bytenr, sectorsize, BTRFS_FILE_EXTENT_REG, 0, slot);
slot              121 fs/btrfs/tests/inode-tests.c 	slot++;
slot              130 fs/btrfs/tests/inode-tests.c 		      4 * sectorsize, BTRFS_FILE_EXTENT_REG, 0, slot);
slot              131 fs/btrfs/tests/inode-tests.c 	slot++;
slot              134 fs/btrfs/tests/inode-tests.c 		      BTRFS_FILE_EXTENT_REG, 0, slot);
slot              135 fs/btrfs/tests/inode-tests.c 	slot++;
slot              139 fs/btrfs/tests/inode-tests.c 		      BTRFS_FILE_EXTENT_REG, 0, slot);
slot              140 fs/btrfs/tests/inode-tests.c 	slot++;
slot              146 fs/btrfs/tests/inode-tests.c 		sectorsize, BTRFS_FILE_EXTENT_PREALLOC, 0, slot);
slot              147 fs/btrfs/tests/inode-tests.c 	slot++;
slot              162 fs/btrfs/tests/inode-tests.c 		      4 * sectorsize, BTRFS_FILE_EXTENT_PREALLOC, 0, slot);
slot              163 fs/btrfs/tests/inode-tests.c 	slot++;
slot              167 fs/btrfs/tests/inode-tests.c 		      slot);
slot              168 fs/btrfs/tests/inode-tests.c 	slot++;
slot              172 fs/btrfs/tests/inode-tests.c 		      BTRFS_FILE_EXTENT_PREALLOC, 0, slot);
slot              173 fs/btrfs/tests/inode-tests.c 	slot++;
slot              180 fs/btrfs/tests/inode-tests.c 		      BTRFS_COMPRESS_ZLIB, slot);
slot              181 fs/btrfs/tests/inode-tests.c 	slot++;
slot              189 fs/btrfs/tests/inode-tests.c 		      BTRFS_COMPRESS_ZLIB, slot);
slot              190 fs/btrfs/tests/inode-tests.c 	slot++;
slot              194 fs/btrfs/tests/inode-tests.c 		      BTRFS_FILE_EXTENT_REG, 0, slot);
slot              195 fs/btrfs/tests/inode-tests.c 	slot++;
slot              199 fs/btrfs/tests/inode-tests.c 		      BTRFS_FILE_EXTENT_REG, BTRFS_COMPRESS_ZLIB, slot);
slot              200 fs/btrfs/tests/inode-tests.c 	slot++;
slot              206 fs/btrfs/tests/inode-tests.c 		      sectorsize, BTRFS_FILE_EXTENT_REG, 0, slot);
slot              207 fs/btrfs/tests/inode-tests.c 	slot++;
slot              211 fs/btrfs/tests/inode-tests.c 		      sectorsize, BTRFS_FILE_EXTENT_REG, 0, slot);
slot               49 fs/btrfs/tree-checker.c static void generic_err(const struct extent_buffer *eb, int slot,
slot               64 fs/btrfs/tree-checker.c 		btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot, &vaf);
slot               74 fs/btrfs/tree-checker.c static void file_extent_err(const struct extent_buffer *eb, int slot,
slot               82 fs/btrfs/tree-checker.c 	btrfs_item_key_to_cpu(eb, &key, slot);
slot               91 fs/btrfs/tree-checker.c 		btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot,
slot              100 fs/btrfs/tree-checker.c #define CHECK_FE_ALIGNED(leaf, slot, fi, name, alignment)		      \
slot              103 fs/btrfs/tree-checker.c 		file_extent_err((leaf), (slot),				      \
slot              128 fs/btrfs/tree-checker.c 				  struct btrfs_key *key, int slot,
slot              134 fs/btrfs/tree-checker.c 	u32 item_size = btrfs_item_size_nr(leaf, slot);
slot              138 fs/btrfs/tree-checker.c 		file_extent_err(leaf, slot,
slot              144 fs/btrfs/tree-checker.c 	fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item);
slot              147 fs/btrfs/tree-checker.c 		file_extent_err(leaf, slot,
slot              159 fs/btrfs/tree-checker.c 		file_extent_err(leaf, slot,
slot              166 fs/btrfs/tree-checker.c 		file_extent_err(leaf, slot,
slot              174 fs/btrfs/tree-checker.c 			file_extent_err(leaf, slot,
slot              188 fs/btrfs/tree-checker.c 			file_extent_err(leaf, slot,
slot              199 fs/btrfs/tree-checker.c 		file_extent_err(leaf, slot,
slot              204 fs/btrfs/tree-checker.c 	if (CHECK_FE_ALIGNED(leaf, slot, fi, ram_bytes, sectorsize) ||
slot              205 fs/btrfs/tree-checker.c 	    CHECK_FE_ALIGNED(leaf, slot, fi, disk_bytenr, sectorsize) ||
slot              206 fs/btrfs/tree-checker.c 	    CHECK_FE_ALIGNED(leaf, slot, fi, disk_num_bytes, sectorsize) ||
slot              207 fs/btrfs/tree-checker.c 	    CHECK_FE_ALIGNED(leaf, slot, fi, offset, sectorsize) ||
slot              208 fs/btrfs/tree-checker.c 	    CHECK_FE_ALIGNED(leaf, slot, fi, num_bytes, sectorsize))
slot              214 fs/btrfs/tree-checker.c 		file_extent_err(leaf, slot,
slot              225 fs/btrfs/tree-checker.c 	if (slot > 0 &&
slot              231 fs/btrfs/tree-checker.c 		prev_fi = btrfs_item_ptr(leaf, slot - 1,
slot              235 fs/btrfs/tree-checker.c 			file_extent_err(leaf, slot - 1,
slot              246 fs/btrfs/tree-checker.c 			   int slot, struct btrfs_key *prev_key)
slot              253 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              259 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              264 fs/btrfs/tree-checker.c 	if (!IS_ALIGNED(btrfs_item_size_nr(leaf, slot), csumsize)) {
slot              265 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              267 fs/btrfs/tree-checker.c 			btrfs_item_size_nr(leaf, slot), csumsize);
slot              270 fs/btrfs/tree-checker.c 	if (slot > 0 && prev_key->type == BTRFS_EXTENT_CSUM_KEY) {
slot              274 fs/btrfs/tree-checker.c 		prev_item_size = btrfs_item_size_nr(leaf, slot - 1);
slot              278 fs/btrfs/tree-checker.c 			generic_err(leaf, slot - 1,
slot              293 fs/btrfs/tree-checker.c static void dir_item_err(const struct extent_buffer *eb, int slot,
slot              301 fs/btrfs/tree-checker.c 	btrfs_item_key_to_cpu(eb, &key, slot);
slot              310 fs/btrfs/tree-checker.c 		btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot,
slot              316 fs/btrfs/tree-checker.c 			  struct btrfs_key *key, int slot)
slot              320 fs/btrfs/tree-checker.c 	u32 item_size = btrfs_item_size_nr(leaf, slot);
slot              323 fs/btrfs/tree-checker.c 	di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item);
slot              334 fs/btrfs/tree-checker.c 			dir_item_err(leaf, slot,
slot              343 fs/btrfs/tree-checker.c 			dir_item_err(leaf, slot,
slot              351 fs/btrfs/tree-checker.c 			dir_item_err(leaf, slot,
slot              358 fs/btrfs/tree-checker.c 			dir_item_err(leaf, slot,
slot              371 fs/btrfs/tree-checker.c 			dir_item_err(leaf, slot,
slot              377 fs/btrfs/tree-checker.c 			dir_item_err(leaf, slot,
slot              385 fs/btrfs/tree-checker.c 			dir_item_err(leaf, slot,
slot              395 fs/btrfs/tree-checker.c 			dir_item_err(leaf, slot,
slot              413 fs/btrfs/tree-checker.c 				dir_item_err(leaf, slot,
slot              427 fs/btrfs/tree-checker.c static void block_group_err(const struct extent_buffer *eb, int slot,
slot              435 fs/btrfs/tree-checker.c 	btrfs_item_key_to_cpu(eb, &key, slot);
slot              444 fs/btrfs/tree-checker.c 		btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot,
slot              450 fs/btrfs/tree-checker.c 				  struct btrfs_key *key, int slot)
slot              453 fs/btrfs/tree-checker.c 	u32 item_size = btrfs_item_size_nr(leaf, slot);
slot              462 fs/btrfs/tree-checker.c 		block_group_err(leaf, slot,
slot              468 fs/btrfs/tree-checker.c 		block_group_err(leaf, slot,
slot              474 fs/btrfs/tree-checker.c 	read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot),
slot              478 fs/btrfs/tree-checker.c 		block_group_err(leaf, slot,
slot              486 fs/btrfs/tree-checker.c 		block_group_err(leaf, slot,
slot              494 fs/btrfs/tree-checker.c 		block_group_err(leaf, slot,
slot              507 fs/btrfs/tree-checker.c 		block_group_err(leaf, slot,
slot              529 fs/btrfs/tree-checker.c 	int slot = -1;
slot              542 fs/btrfs/tree-checker.c 				slot = i;
slot              558 fs/btrfs/tree-checker.c 			   BTRFS_CHUNK_TREE_OBJECTID, leaf->start, slot,
slot              679 fs/btrfs/tree-checker.c static void dev_item_err(const struct extent_buffer *eb, int slot,
slot              686 fs/btrfs/tree-checker.c 	btrfs_item_key_to_cpu(eb, &key, slot);
slot              695 fs/btrfs/tree-checker.c 		btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot,
slot              701 fs/btrfs/tree-checker.c 			  struct btrfs_key *key, int slot)
slot              706 fs/btrfs/tree-checker.c 		dev_item_err(leaf, slot,
slot              711 fs/btrfs/tree-checker.c 	ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item);
slot              713 fs/btrfs/tree-checker.c 		dev_item_err(leaf, slot,
slot              726 fs/btrfs/tree-checker.c 		dev_item_err(leaf, slot,
slot              740 fs/btrfs/tree-checker.c #define inode_item_err(fs_info, eb, slot, fmt, ...)			\
slot              741 fs/btrfs/tree-checker.c 	dir_item_err(eb, slot, fmt, __VA_ARGS__)
slot              744 fs/btrfs/tree-checker.c 			    struct btrfs_key *key, int slot)
slot              756 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              765 fs/btrfs/tree-checker.c 		inode_item_err(fs_info, leaf, slot,
slot              770 fs/btrfs/tree-checker.c 	iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item);
slot              774 fs/btrfs/tree-checker.c 		inode_item_err(fs_info, leaf, slot,
slot              782 fs/btrfs/tree-checker.c 		inode_item_err(fs_info, leaf, slot,
slot              795 fs/btrfs/tree-checker.c 		inode_item_err(fs_info, leaf, slot,
slot              808 fs/btrfs/tree-checker.c 			inode_item_err(fs_info, leaf, slot,
slot              815 fs/btrfs/tree-checker.c 		inode_item_err(fs_info, leaf, slot,
slot              821 fs/btrfs/tree-checker.c 		inode_item_err(fs_info, leaf, slot,
slot              831 fs/btrfs/tree-checker.c 			   int slot)
slot              840 fs/btrfs/tree-checker.c 		generic_err(leaf, slot, "invalid root id 0");
slot              850 fs/btrfs/tree-checker.c 		generic_err(leaf, slot, "invalid root id 0 for reloc tree");
slot              854 fs/btrfs/tree-checker.c 	if (btrfs_item_size_nr(leaf, slot) != sizeof(ri)) {
slot              855 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              857 fs/btrfs/tree-checker.c 			    btrfs_item_size_nr(leaf, slot), sizeof(ri));
slot              860 fs/btrfs/tree-checker.c 	read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot),
slot              866 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              874 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              882 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              891 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              897 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              903 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              911 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              921 fs/btrfs/tree-checker.c static void extent_err(const struct extent_buffer *eb, int slot,
slot              930 fs/btrfs/tree-checker.c 	btrfs_item_key_to_cpu(eb, &key, slot);
slot              946 fs/btrfs/tree-checker.c 		eb->start, slot, bytenr, len, &vaf);
slot              951 fs/btrfs/tree-checker.c 			     struct btrfs_key *key, int slot)
slot              958 fs/btrfs/tree-checker.c 	const u32 item_size = btrfs_item_size_nr(leaf, slot);
slot              966 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              972 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot              981 fs/btrfs/tree-checker.c 		extent_err(leaf, slot,
slot             1007 fs/btrfs/tree-checker.c 		extent_err(leaf, slot,
slot             1013 fs/btrfs/tree-checker.c 	end = item_size + btrfs_item_ptr_offset(leaf, slot);
slot             1016 fs/btrfs/tree-checker.c 	ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item);
slot             1021 fs/btrfs/tree-checker.c 		extent_err(leaf, slot,
slot             1029 fs/btrfs/tree-checker.c 		extent_err(leaf, slot,
slot             1039 fs/btrfs/tree-checker.c 			extent_err(leaf, slot,
slot             1046 fs/btrfs/tree-checker.c 			extent_err(leaf, slot,
slot             1052 fs/btrfs/tree-checker.c 			extent_err(leaf, slot,
slot             1066 fs/btrfs/tree-checker.c 			extent_err(leaf, slot,
slot             1085 fs/btrfs/tree-checker.c 			extent_err(leaf, slot,
slot             1094 fs/btrfs/tree-checker.c 			extent_err(leaf, slot,
slot             1108 fs/btrfs/tree-checker.c 				extent_err(leaf, slot,
slot             1123 fs/btrfs/tree-checker.c 				extent_err(leaf, slot,
slot             1134 fs/btrfs/tree-checker.c 				extent_err(leaf, slot,
slot             1142 fs/btrfs/tree-checker.c 			extent_err(leaf, slot, "unknown inline ref type: %u",
slot             1150 fs/btrfs/tree-checker.c 		extent_err(leaf, slot,
slot             1157 fs/btrfs/tree-checker.c 		extent_err(leaf, slot,
slot             1166 fs/btrfs/tree-checker.c 				   struct btrfs_key *key, int slot)
slot             1173 fs/btrfs/tree-checker.c 	if (btrfs_item_size_nr(leaf, slot) != expect_item_size) {
slot             1174 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot             1176 fs/btrfs/tree-checker.c 			    btrfs_item_size_nr(leaf, slot),
slot             1181 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot             1188 fs/btrfs/tree-checker.c 		extent_err(leaf, slot,
slot             1197 fs/btrfs/tree-checker.c 				 struct btrfs_key *key, int slot)
slot             1200 fs/btrfs/tree-checker.c 	unsigned long ptr = btrfs_item_ptr_offset(leaf, slot);
slot             1201 fs/btrfs/tree-checker.c 	const unsigned long end = ptr + btrfs_item_size_nr(leaf, slot);
slot             1203 fs/btrfs/tree-checker.c 	if (btrfs_item_size_nr(leaf, slot) % sizeof(*dref) != 0) {
slot             1204 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot             1206 fs/btrfs/tree-checker.c 			    btrfs_item_size_nr(leaf, slot),
slot             1210 fs/btrfs/tree-checker.c 		generic_err(leaf, slot,
slot             1227 fs/btrfs/tree-checker.c 			extent_err(leaf, slot,
slot             1233 fs/btrfs/tree-checker.c 			extent_err(leaf, slot,
slot             1245 fs/btrfs/tree-checker.c 			   struct btrfs_key *key, int slot,
slot             1253 fs/btrfs/tree-checker.c 		ret = check_extent_data_item(leaf, key, slot, prev_key);
slot             1256 fs/btrfs/tree-checker.c 		ret = check_csum_item(leaf, key, slot, prev_key);
slot             1261 fs/btrfs/tree-checker.c 		ret = check_dir_item(leaf, key, slot);
slot             1264 fs/btrfs/tree-checker.c 		ret = check_block_group_item(leaf, key, slot);
slot             1267 fs/btrfs/tree-checker.c 		chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk);
slot             1271 fs/btrfs/tree-checker.c 		ret = check_dev_item(leaf, key, slot);
slot             1274 fs/btrfs/tree-checker.c 		ret = check_inode_item(leaf, key, slot);
slot             1277 fs/btrfs/tree-checker.c 		ret = check_root_item(leaf, key, slot);
slot             1281 fs/btrfs/tree-checker.c 		ret = check_extent_item(leaf, key, slot);
slot             1286 fs/btrfs/tree-checker.c 		ret = check_simple_keyed_refs(leaf, key, slot);
slot             1289 fs/btrfs/tree-checker.c 		ret = check_extent_data_ref(leaf, key, slot);
slot             1302 fs/btrfs/tree-checker.c 	int slot;
slot             1357 fs/btrfs/tree-checker.c 	for (slot = 0; slot < nritems; slot++) {
slot             1361 fs/btrfs/tree-checker.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             1365 fs/btrfs/tree-checker.c 			generic_err(leaf, slot,
slot             1378 fs/btrfs/tree-checker.c 		if (slot == 0)
slot             1382 fs/btrfs/tree-checker.c 								 slot - 1);
slot             1383 fs/btrfs/tree-checker.c 		if (btrfs_item_end_nr(leaf, slot) != item_end_expected) {
slot             1384 fs/btrfs/tree-checker.c 			generic_err(leaf, slot,
slot             1386 fs/btrfs/tree-checker.c 				btrfs_item_end_nr(leaf, slot),
slot             1396 fs/btrfs/tree-checker.c 		if (btrfs_item_end_nr(leaf, slot) >
slot             1398 fs/btrfs/tree-checker.c 			generic_err(leaf, slot,
slot             1400 fs/btrfs/tree-checker.c 				btrfs_item_end_nr(leaf, slot),
slot             1406 fs/btrfs/tree-checker.c 		if (btrfs_item_nr_offset(slot) + sizeof(struct btrfs_item) >
slot             1407 fs/btrfs/tree-checker.c 		    btrfs_item_ptr_offset(leaf, slot)) {
slot             1408 fs/btrfs/tree-checker.c 			generic_err(leaf, slot,
slot             1410 fs/btrfs/tree-checker.c 				btrfs_item_nr_offset(slot) +
slot             1412 fs/btrfs/tree-checker.c 				btrfs_item_ptr_offset(leaf, slot));
slot             1421 fs/btrfs/tree-checker.c 			ret = check_leaf_item(leaf, &key, slot, &prev_key);
slot             1450 fs/btrfs/tree-checker.c 	int slot;
slot             1470 fs/btrfs/tree-checker.c 	for (slot = 0; slot < nr - 1; slot++) {
slot             1471 fs/btrfs/tree-checker.c 		bytenr = btrfs_node_blockptr(node, slot);
slot             1472 fs/btrfs/tree-checker.c 		btrfs_node_key_to_cpu(node, &key, slot);
slot             1473 fs/btrfs/tree-checker.c 		btrfs_node_key_to_cpu(node, &next_key, slot + 1);
slot             1476 fs/btrfs/tree-checker.c 			generic_err(node, slot,
slot             1482 fs/btrfs/tree-checker.c 			generic_err(node, slot,
slot             1490 fs/btrfs/tree-checker.c 			generic_err(node, slot,
slot              345 fs/btrfs/tree-log.c 				   struct extent_buffer *eb, int slot,
slot              360 fs/btrfs/tree-log.c 	item_size = btrfs_item_size_nr(eb, slot);
slot              361 fs/btrfs/tree-log.c 	src_ptr = btrfs_item_ptr_offset(eb, slot);
slot              421 fs/btrfs/tree-log.c 			item = btrfs_item_ptr(eb, slot,
slot              442 fs/btrfs/tree-log.c 		item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item);
slot              583 fs/btrfs/tree-log.c 				      struct extent_buffer *eb, int slot,
slot              596 fs/btrfs/tree-log.c 	item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item);
slot              828 fs/btrfs/tree-log.c 		ret = overwrite_item(trans, root, path, eb, slot, key);
slot             1420 fs/btrfs/tree-log.c 				  struct extent_buffer *eb, int slot,
slot             1437 fs/btrfs/tree-log.c 	ref_ptr = btrfs_item_ptr_offset(eb, slot);
slot             1438 fs/btrfs/tree-log.c 	ref_end = ref_ptr + btrfs_item_size_nr(eb, slot);
slot             1571 fs/btrfs/tree-log.c 	ret = unlink_old_inode_refs(trans, root, path, BTRFS_I(inode), eb, slot,
slot             1577 fs/btrfs/tree-log.c 	ret = overwrite_item(trans, root, path, eb, slot, key);
slot             2056 fs/btrfs/tree-log.c 					struct extent_buffer *eb, int slot,
slot             2060 fs/btrfs/tree-log.c 	u32 item_size = btrfs_item_size_nr(eb, slot);
slot             2067 fs/btrfs/tree-log.c 	ptr = btrfs_item_ptr_offset(eb, slot);
slot             2225 fs/btrfs/tree-log.c 	int slot;
slot             2238 fs/btrfs/tree-log.c 	slot = path->slots[0];
slot             2239 fs/btrfs/tree-log.c 	item_size = btrfs_item_size_nr(eb, slot);
slot             2240 fs/btrfs/tree-log.c 	ptr = btrfs_item_ptr_offset(eb, slot);
slot             2795 fs/btrfs/tree-log.c 	int slot;
slot             2799 fs/btrfs/tree-log.c 		slot = path->slots[i];
slot             2800 fs/btrfs/tree-log.c 		if (slot + 1 < btrfs_header_nritems(path->nodes[i])) {
slot             4247 fs/btrfs/tree-log.c 	int slot;
slot             4278 fs/btrfs/tree-log.c 		slot = path->slots[0];
slot             4279 fs/btrfs/tree-log.c 		ei = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item);
slot             4285 fs/btrfs/tree-log.c 			btrfs_item_key_to_cpu(leaf, &key, slot);
slot             4298 fs/btrfs/tree-log.c 		slot = path->slots[0];
slot             4300 fs/btrfs/tree-log.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             4318 fs/btrfs/tree-log.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             4344 fs/btrfs/tree-log.c 			start_slot = slot;
slot             4537 fs/btrfs/tree-log.c 		int slot = path->slots[0];
slot             4541 fs/btrfs/tree-log.c 		if (slot >= nritems) {
slot             4557 fs/btrfs/tree-log.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             4562 fs/btrfs/tree-log.c 			start_slot = slot;
slot             4736 fs/btrfs/tree-log.c 					 const int slot,
slot             4745 fs/btrfs/tree-log.c 	u32 item_size = btrfs_item_size_nr(eb, slot);
slot             4747 fs/btrfs/tree-log.c 	unsigned long ptr = btrfs_item_ptr_offset(eb, slot);
slot             4963 fs/btrfs/tree-log.c 			int slot = path->slots[0];
slot             4967 fs/btrfs/tree-log.c 			if (slot >= btrfs_header_nritems(leaf)) {
slot             4978 fs/btrfs/tree-log.c 			btrfs_item_key_to_cpu(leaf, &key, slot);
slot             4986 fs/btrfs/tree-log.c 			ret = btrfs_check_ref_name_override(leaf, slot, &key,
slot             5701 fs/btrfs/tree-log.c 		int slot = path->slots[0];
slot             5706 fs/btrfs/tree-log.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             5715 fs/btrfs/tree-log.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             5720 fs/btrfs/tree-log.c 		item_size = btrfs_item_size_nr(leaf, slot);
slot             5721 fs/btrfs/tree-log.c 		ptr = btrfs_item_ptr_offset(leaf, slot);
slot             5809 fs/btrfs/tree-log.c 		int slot = path->slots[0];
slot             5840 fs/btrfs/tree-log.c 		slot = path->slots[0];
slot             5841 fs/btrfs/tree-log.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             5848 fs/btrfs/tree-log.c 			slot = path->slots[0];
slot             5851 fs/btrfs/tree-log.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot             5931 fs/btrfs/tree-log.c 		int slot = path->slots[0];
slot             5934 fs/btrfs/tree-log.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             5943 fs/btrfs/tree-log.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot               28 fs/btrfs/uuid-tree.c 	int slot;
slot               54 fs/btrfs/uuid-tree.c 	slot = path->slots[0];
slot               55 fs/btrfs/uuid-tree.c 	item_size = btrfs_item_size_nr(eb, slot);
slot               56 fs/btrfs/uuid-tree.c 	offset = btrfs_item_ptr_offset(eb, slot);
slot               91 fs/btrfs/uuid-tree.c 	int slot;
slot              117 fs/btrfs/uuid-tree.c 		slot = path->slots[0];
slot              118 fs/btrfs/uuid-tree.c 		offset = btrfs_item_ptr_offset(eb, slot);
slot              126 fs/btrfs/uuid-tree.c 		slot = path->slots[0];
slot              127 fs/btrfs/uuid-tree.c 		offset = btrfs_item_ptr_offset(eb, slot);
slot              128 fs/btrfs/uuid-tree.c 		offset += btrfs_item_size_nr(eb, slot) - sizeof(subid_le);
slot              156 fs/btrfs/uuid-tree.c 	int slot;
slot              188 fs/btrfs/uuid-tree.c 	slot = path->slots[0];
slot              189 fs/btrfs/uuid-tree.c 	offset = btrfs_item_ptr_offset(eb, slot);
slot              190 fs/btrfs/uuid-tree.c 	item_size = btrfs_item_size_nr(eb, slot);
slot              212 fs/btrfs/uuid-tree.c 	item_size = btrfs_item_size_nr(eb, slot);
slot              220 fs/btrfs/uuid-tree.c 	move_len = item_size - (move_src - btrfs_item_ptr_offset(eb, slot));
slot              258 fs/btrfs/uuid-tree.c 	int slot;
slot              283 fs/btrfs/uuid-tree.c 		slot = path->slots[0];
slot              284 fs/btrfs/uuid-tree.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot              290 fs/btrfs/uuid-tree.c 		offset = btrfs_item_ptr_offset(leaf, slot);
slot              291 fs/btrfs/uuid-tree.c 		item_size = btrfs_item_size_nr(leaf, slot);
slot             1612 fs/btrfs/volumes.c 	int slot;
slot             1655 fs/btrfs/volumes.c 		slot = path->slots[0];
slot             1656 fs/btrfs/volumes.c 		if (slot >= btrfs_header_nritems(l)) {
slot             1665 fs/btrfs/volumes.c 		btrfs_item_key_to_cpu(l, &key, slot);
slot             1711 fs/btrfs/volumes.c 		dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent);
slot             3694 fs/btrfs/volumes.c 	int slot;
slot             3761 fs/btrfs/volumes.c 		slot = path->slots[0];
slot             3762 fs/btrfs/volumes.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot             3769 fs/btrfs/volumes.c 		chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk);
slot             4467 fs/btrfs/volumes.c 	int slot;
slot             4498 fs/btrfs/volumes.c 		slot = path->slots[0];
slot             4499 fs/btrfs/volumes.c 		item_size = btrfs_item_size_nr(eb, slot);
slot             4504 fs/btrfs/volumes.c 				   btrfs_item_ptr_offset(eb, slot),
slot             4725 fs/btrfs/volumes.c 	int slot;
slot             4803 fs/btrfs/volumes.c 		slot = path->slots[0];
slot             4812 fs/btrfs/volumes.c 		dev_extent = btrfs_item_ptr(l, slot, struct btrfs_dev_extent);
slot             7246 fs/btrfs/volumes.c 	int slot;
slot             7274 fs/btrfs/volumes.c 		slot = path->slots[0];
slot             7275 fs/btrfs/volumes.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot             7283 fs/btrfs/volumes.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot             7286 fs/btrfs/volumes.c 			dev_item = btrfs_item_ptr(leaf, slot,
slot             7294 fs/btrfs/volumes.c 			chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk);
slot             7376 fs/btrfs/volumes.c 	int slot;
slot             7402 fs/btrfs/volumes.c 		slot = path->slots[0];
slot             7404 fs/btrfs/volumes.c 		item_size = btrfs_item_size_nr(eb, slot);
slot             7406 fs/btrfs/volumes.c 		ptr = btrfs_item_ptr(eb, slot,
slot             7859 fs/btrfs/volumes.c 		int slot = path->slots[0];
slot             7865 fs/btrfs/volumes.c 		btrfs_item_key_to_cpu(leaf, &key, slot);
slot             7871 fs/btrfs/volumes.c 		dext = btrfs_item_ptr(leaf, slot, struct btrfs_dev_extent);
slot              168 fs/btrfs/xattr.c 		const int slot = path->slots[0];
slot              171 fs/btrfs/xattr.c 		const u32 item_size = btrfs_item_size_nr(leaf, slot);
slot              199 fs/btrfs/xattr.c 		item = btrfs_item_nr(slot);
slot              200 fs/btrfs/xattr.c 		ptr = btrfs_item_ptr(leaf, slot, char);
slot              279 fs/btrfs/xattr.c 		int slot;
slot              286 fs/btrfs/xattr.c 		slot = path->slots[0];
slot              289 fs/btrfs/xattr.c 		if (slot >= btrfs_header_nritems(leaf)) {
slot              302 fs/btrfs/xattr.c 		btrfs_item_key_to_cpu(leaf, &found_key, slot);
slot              312 fs/btrfs/xattr.c 		di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item);
slot              313 fs/btrfs/xattr.c 		item_size = btrfs_item_size_nr(leaf, slot);
slot              124 fs/dlm/dlm_internal.h 	int			slot;
slot               35 fs/dlm/member.c 	memb->slot = le16_to_cpu(rf->rf_our_slot);
slot               41 fs/dlm/member.c 	struct dlm_slot *slot;
slot               50 fs/dlm/member.c 		slot = &ls->ls_slots[i];
slot               51 fs/dlm/member.c 		if (!slot->nodeid)
slot               53 fs/dlm/member.c 		ro->ro_nodeid = cpu_to_le32(slot->nodeid);
slot               54 fs/dlm/member.c 		ro->ro_slot = cpu_to_le16(slot->slot);
slot               78 fs/dlm/member.c 				       array[i].slot, array[i].nodeid);
slot              133 fs/dlm/member.c 			memb->slot = ro->ro_slot;
slot              134 fs/dlm/member.c 			memb->slot_prev = memb->slot;
slot              139 fs/dlm/member.c 			if (ls->ls_slot && ls->ls_slot != memb->slot) {
slot              142 fs/dlm/member.c 					  memb->slot);
slot              147 fs/dlm/member.c 				ls->ls_slot = memb->slot;
slot              150 fs/dlm/member.c 		if (!memb->slot) {
slot              180 fs/dlm/member.c 			memb->slot = ls->ls_slot;
slot              192 fs/dlm/member.c 		if (memb->slot == -1)
slot              197 fs/dlm/member.c 		if (!memb->slot)
slot              204 fs/dlm/member.c 		if (!max || max < memb->slot)
slot              205 fs/dlm/member.c 			max = memb->slot;
slot              209 fs/dlm/member.c 		if (memb->slot_prev && memb->slot && memb->slot_prev != memb->slot) {
slot              211 fs/dlm/member.c 				  memb->nodeid, memb->slot_prev, memb->slot);
slot              214 fs/dlm/member.c 		memb->slot_prev = memb->slot;
slot              227 fs/dlm/member.c 		if (!memb->slot)
slot              230 fs/dlm/member.c 		if (memb->slot > array_size) {
slot              231 fs/dlm/member.c 			log_error(ls, "invalid slot number %d", memb->slot);
slot              236 fs/dlm/member.c 		array[memb->slot - 1].nodeid = memb->nodeid;
slot              237 fs/dlm/member.c 		array[memb->slot - 1].slot = memb->slot;
slot              244 fs/dlm/member.c 		if (memb->slot)
slot              251 fs/dlm/member.c 			memb->slot = i + 1;
slot              252 fs/dlm/member.c 			memb->slot_prev = memb->slot;
slot              254 fs/dlm/member.c 			array[i].slot = memb->slot;
slot              258 fs/dlm/member.c 				ls->ls_slot = memb->slot;
slot              262 fs/dlm/member.c 		if (!memb->slot) {
slot              457 fs/dlm/member.c 	struct dlm_slot slot;
slot              475 fs/dlm/member.c 	slot.nodeid = memb->nodeid;
slot              476 fs/dlm/member.c 	slot.slot = memb->slot;
slot              478 fs/dlm/member.c 	ls->ls_ops->recover_slot(ls->ls_ops_arg, &slot);
slot              502 fs/dlm/member.c 		slots[i].slot = memb->slot;
slot              178 fs/dlm/recover.c 		memb->slot = -1;
slot               27 fs/efs/dir.c   	int			slot;
slot               37 fs/efs/dir.c   	slot  = ctx->pos & 0xff;
slot               61 fs/efs/dir.c   		for (; slot < dirblock->slots; slot++) {
slot               67 fs/efs/dir.c   			if (dirblock->space[slot] == 0)
slot               70 fs/efs/dir.c   			dirslot  = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot));
slot               76 fs/efs/dir.c   				 __func__, block, slot, dirblock->slots-1,
slot               81 fs/efs/dir.c   			ctx->pos = (block << EFS_DIRBSIZE_BITS) | slot;
slot               86 fs/efs/dir.c   					slot);
slot               98 fs/efs/dir.c   		slot = 0;
slot              101 fs/efs/dir.c   	ctx->pos = (block << EFS_DIRBSIZE_BITS) | slot;
slot              113 fs/efs/efs.h   #define EFS_SLOTAT(dir, slot) EFS_REALOFF((dir)->space[slot])
slot               20 fs/efs/namei.c 	int			slot, namelen;
slot               48 fs/efs/namei.c 		for (slot = 0; slot < dirblock->slots; slot++) {
slot               49 fs/efs/namei.c 			dirslot  = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot));
slot              136 fs/f2fs/trace.c 	void **slot;
slot              142 fs/f2fs/trace.c 	radix_tree_for_each_slot(slot, &pids, &iter, first_index) {
slot              284 fs/fat/dir.c   	unsigned char id, slot, slots, alias_checksum;
slot              304 fs/fat/dir.c   	slot = slots;
slot              308 fs/fat/dir.c   		slot--;
slot              309 fs/fat/dir.c   		offset = slot * 13;
slot              318 fs/fat/dir.c   		if (slot == 0)
slot              323 fs/fat/dir.c   		if ((ds->id & ~0x40) != slot)
slot             1033 fs/gfs2/lock_dlm.c 		if (max_jid < slots[i].slot - 1)
slot             1034 fs/gfs2/lock_dlm.c 			max_jid = slots[i].slot - 1;
slot             1098 fs/gfs2/lock_dlm.c static void gdlm_recover_slot(void *arg, struct dlm_slot *slot)
slot             1102 fs/gfs2/lock_dlm.c 	int jid = slot->slot - 1;
slot             1340 fs/gfs2/quota.c 	unsigned int x, slot = 0;
slot             1383 fs/gfs2/quota.c 		for (y = 0; y < sdp->sd_qc_per_block && slot < sdp->sd_quota_slots;
slot             1384 fs/gfs2/quota.c 		     y++, slot++) {
slot             1405 fs/gfs2/quota.c 			qd->qd_slot = slot;
slot             1409 fs/gfs2/quota.c 			BUG_ON(test_and_set_bit(slot, sdp->sd_quota_bitmap));
slot              243 fs/jfs/jfs_dtree.c 	struct dir_table_slot *slot;
slot              264 fs/jfs/jfs_dtree.c 		slot = &jfs_ip->i_dirtable[index - 2];
slot              284 fs/jfs/jfs_dtree.c 		slot =
slot              288 fs/jfs/jfs_dtree.c 	return slot;
slot              321 fs/jfs/jfs_dtree.c static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot)
slot              358 fs/jfs/jfs_dtree.c 		dirtab_slot->slot = slot;
slot              463 fs/jfs/jfs_dtree.c 	dirtab_slot->slot = slot;
slot              495 fs/jfs/jfs_dtree.c 	dirtab_slot->slot = dirtab_slot->addr1 = 0;
slot              512 fs/jfs/jfs_dtree.c 			 int slot, struct metapage ** mp, s64 *lblock)
slot              522 fs/jfs/jfs_dtree.c 	dirtab_slot->slot = slot;
slot              541 fs/jfs/jfs_dtree.c 	struct dir_table_slot *slot;
slot              543 fs/jfs/jfs_dtree.c 	slot = find_index(ip, index, &mp, &lblock);
slot              544 fs/jfs/jfs_dtree.c 	if (!slot) {
slot              548 fs/jfs/jfs_dtree.c 	memcpy(dirtab_slot, slot, sizeof(struct dir_table_slot));
slot              657 fs/jfs/jfs_dtree.c 			((struct ldtentry *) & p->slot[stbl[index]])->inumber);
slot              778 fs/jfs/jfs_dtree.c 		pxd = (pxd_t *) & p->slot[stbl[index]];
slot             1444 fs/jfs/jfs_dtree.c 		f = &rp->slot[fsi];
slot             1502 fs/jfs/jfs_dtree.c 	stbl = (u8 *) & sp->slot[sp->header.stblindex];
slot             1512 fs/jfs/jfs_dtree.c 				ldtentry = (struct ldtentry *) & sp->slot[si];
slot             1521 fs/jfs/jfs_dtree.c 				idtentry = (struct idtentry *) & sp->slot[si];
slot             1561 fs/jfs/jfs_dtree.c 	f = &rp->slot[fsi];
slot             1575 fs/jfs/jfs_dtree.c 			ldtentry = (struct ldtentry *) & rp->slot[stbl[n]];
slot             1700 fs/jfs/jfs_dtree.c 				    (struct ldtentry *) & sp->slot[stbl[n]];
slot             1737 fs/jfs/jfs_dtree.c 	memcpy(&sp->slot[newstblindex], &sp->slot[oldstblindex],
slot             1772 fs/jfs/jfs_dtree.c 	f = &sp->slot[fsi];
slot             1786 fs/jfs/jfs_dtree.c 	f = &sp->slot[fsi];
slot             1797 fs/jfs/jfs_dtree.c 			f = &sp->slot[fsi];
slot             1837 fs/jfs/jfs_dtree.c 	tpxd = (pxd_t *) & pp->slot[1];
slot             1946 fs/jfs/jfs_dtree.c 	stbl = (s8 *) & rp->slot[DTROOTMAXSLOT];
slot             1951 fs/jfs/jfs_dtree.c 	memcpy(&rp->slot[1], &sp->slot[1], IDATASIZE);
slot             1958 fs/jfs/jfs_dtree.c 	f = &rp->slot[fsi];
slot             1971 fs/jfs/jfs_dtree.c 			f = &rp->slot[fsi];
slot             1990 fs/jfs/jfs_dtree.c 			ldtentry = (struct ldtentry *) & rp->slot[stbl[n]];
slot             2033 fs/jfs/jfs_dtree.c 	s = (struct idtentry *) & sp->slot[DTENTRYSTART];
slot             2045 fs/jfs/jfs_dtree.c 	f = &sp->slot[fsi];
slot             2107 fs/jfs/jfs_dtree.c 		ldtentry = (struct ldtentry *) & p->slot[stbl[index]];
slot             2126 fs/jfs/jfs_dtree.c 					    slot[stbl[0]];
slot             2134 fs/jfs/jfs_dtree.c 			    (struct ldtentry *) & p->slot[stbl[index + 1]];
slot             2199 fs/jfs/jfs_dtree.c 				    (struct ldtentry *) & p->slot[stbl[i]];
slot             2607 fs/jfs/jfs_dtree.c 	pxd = (pxd_t *) & pp->slot[stbl[index]];
slot             2675 fs/jfs/jfs_dtree.c 		pxd = (pxd_t *) & p->slot[stbl[0]];
slot             2690 fs/jfs/jfs_dtree.c 		pxd = (pxd_t *) & p->slot[stbl[i]];
slot             2883 fs/jfs/jfs_dtree.c 	f = &p->slot[fsi];
slot             2940 fs/jfs/jfs_dtree.c 		d = (struct ldtentry *) &p->slot[stbl[i]];
slot             3075 fs/jfs/jfs_dtree.c 			index = dirtab_slot.slot;
slot             3185 fs/jfs/jfs_dtree.c 			d = (struct ldtentry *) & p->slot[stbl[i]];
slot             3245 fs/jfs/jfs_dtree.c 				t = (struct dtslot *) & p->slot[next];
slot             3380 fs/jfs/jfs_dtree.c 		xd = (pxd_t *) & p->slot[stbl[0]];
slot             3517 fs/jfs/jfs_dtree.c 	xd = (pxd_t *) & p->slot[stbl[pn]];
slot             3607 fs/jfs/jfs_dtree.c 	ih = (struct idtentry *) & p->slot[si];
slot             3625 fs/jfs/jfs_dtree.c 		t = (struct dtslot *) & p->slot[si];
slot             3690 fs/jfs/jfs_dtree.c 		lh = (struct ldtentry *) & p->slot[si];
slot             3703 fs/jfs/jfs_dtree.c 		ih = (struct idtentry *) & p->slot[si];
slot             3728 fs/jfs/jfs_dtree.c 		t = (struct dtslot *) & p->slot[si];
slot             3845 fs/jfs/jfs_dtree.c 		lh = (struct ldtentry *) & p->slot[si];
slot             3854 fs/jfs/jfs_dtree.c 		ih = (struct idtentry *) & p->slot[si];
slot             3874 fs/jfs/jfs_dtree.c 		t = &p->slot[si];
slot             3915 fs/jfs/jfs_dtree.c 	h = &p->slot[fsi];
slot             3963 fs/jfs/jfs_dtree.c 		t = &p->slot[fsi];
slot             4026 fs/jfs/jfs_dtree.c 				lh = (struct ldtentry *) & (p->slot[stbl[n]]);
slot             4068 fs/jfs/jfs_dtree.c 	sstbl = (s8 *) & sp->slot[sp->header.stblindex];
slot             4069 fs/jfs/jfs_dtree.c 	dstbl = (s8 *) & dp->slot[dp->header.stblindex];
slot             4113 fs/jfs/jfs_dtree.c 		h = d = &dp->slot[dsi];
slot             4116 fs/jfs/jfs_dtree.c 		s = &sp->slot[ssi];
slot             4184 fs/jfs/jfs_dtree.c 			s = &sp->slot[ssi];
slot             4274 fs/jfs/jfs_dtree.c 	t = &p->slot[fsi];
slot             4309 fs/jfs/jfs_dtree.c 		t = &p->slot[si];
slot             4369 fs/jfs/jfs_dtree.c 	t = &p->slot[tsi];
slot             4404 fs/jfs/jfs_dtree.c 		t = &p->slot[si];
slot             4451 fs/jfs/jfs_dtree.c 	t = &p->slot[fsi];
slot             4477 fs/jfs/jfs_dtree.c 		t = &p->slot[si];
slot             4553 fs/jfs/jfs_dtree.c 	entry = (struct ldtentry *) & p->slot[entry_si];
slot              101 fs/jfs/jfs_dtree.h 	u8 slot;		/* 1: slot within leaf page of entry */
slot              146 fs/jfs/jfs_dtree.h 	struct dtslot slot[9];
slot              197 fs/jfs/jfs_dtree.h 	struct dtslot slot[128];
slot              223 fs/jfs/jfs_dtree.h 	(s8 *)&(p)->slot[(p)->header.stblindex] )
slot              751 fs/jfs/jfs_imap.c 			memcpy(&xp->slot[lv->offset], &p->slot[lv->offset],
slot               45 fs/nfs/callback.h 	struct nfs4_slot	*slot;
slot              416 fs/nfs/callback_proc.c validate_seqid(const struct nfs4_slot_table *tbl, const struct nfs4_slot *slot,
slot              426 fs/nfs/callback_proc.c 	if (args->csa_sequenceid == slot->seq_nr) {
slot              428 fs/nfs/callback_proc.c 		if (nfs4_test_locked_slot(tbl, slot->slot_nr))
slot              444 fs/nfs/callback_proc.c 	if (args->csa_sequenceid != slot->seq_nr + 1)
slot              508 fs/nfs/callback_proc.c 	struct nfs4_slot *slot;
slot              542 fs/nfs/callback_proc.c 	slot = nfs4_lookup_slot(tbl, args->csa_slotid);
slot              543 fs/nfs/callback_proc.c 	if (IS_ERR(slot))
slot              549 fs/nfs/callback_proc.c 	status = validate_seqid(tbl, slot, args);
slot              552 fs/nfs/callback_proc.c 	if (!nfs4_try_to_lock_slot(tbl, slot)) {
slot              556 fs/nfs/callback_proc.c 	cps->slot = slot;
slot              580 fs/nfs/callback_proc.c 	slot->seq_nr = args->csa_sequenceid;
slot              793 fs/nfs/callback_xdr.c 		struct nfs4_slot *slot)
slot              802 fs/nfs/callback_xdr.c 	nfs4_free_slot(tbl, slot);
slot              808 fs/nfs/callback_xdr.c 	if (cps->slot) {
slot              809 fs/nfs/callback_xdr.c 		nfs4_callback_free_slot(cps->clp->cl_session, cps->slot);
slot              810 fs/nfs/callback_xdr.c 		cps->slot = NULL;
slot              103 fs/nfs/nfs4proc.c 		struct nfs4_slot *slot,
slot              697 fs/nfs/nfs4proc.c 	struct nfs4_slot *slot = res->sr_slot;
slot              700 fs/nfs/nfs4proc.c 	tbl = slot->table;
slot              702 fs/nfs/nfs4proc.c 	if (!nfs41_wake_and_assign_slot(tbl, slot))
slot              703 fs/nfs/nfs4proc.c 		nfs4_free_slot(tbl, slot);
slot              719 fs/nfs/nfs4proc.c static void nfs41_release_slot(struct nfs4_slot *slot)
slot              725 fs/nfs/nfs4proc.c 	if (!slot)
slot              727 fs/nfs/nfs4proc.c 	tbl = slot->table;
slot              731 fs/nfs/nfs4proc.c 	if (slot->seq_done)
slot              732 fs/nfs/nfs4proc.c 		slot->seq_nr++;
slot              733 fs/nfs/nfs4proc.c 	slot->seq_done = 0;
slot              742 fs/nfs/nfs4proc.c 	if (nfs41_wake_and_assign_slot(tbl, slot)) {
slot              746 fs/nfs/nfs4proc.c 	nfs4_free_slot(tbl, slot);
slot              764 fs/nfs/nfs4proc.c static void nfs4_slot_sequence_record_sent(struct nfs4_slot *slot,
slot              767 fs/nfs/nfs4proc.c 	if ((s32)(seqnr - slot->seq_nr_highest_sent) > 0)
slot              768 fs/nfs/nfs4proc.c 		slot->seq_nr_highest_sent = seqnr;
slot              770 fs/nfs/nfs4proc.c static void nfs4_slot_sequence_acked(struct nfs4_slot *slot,
slot              773 fs/nfs/nfs4proc.c 	slot->seq_nr_highest_sent = seqnr;
slot              774 fs/nfs/nfs4proc.c 	slot->seq_nr_last_acked = seqnr;
slot              781 fs/nfs/nfs4proc.c 	struct nfs4_slot *slot = res->sr_slot;
slot              786 fs/nfs/nfs4proc.c 	if (slot == NULL)
slot              789 fs/nfs/nfs4proc.c 	if (!RPC_WAS_SENT(task) || slot->seq_done)
slot              792 fs/nfs/nfs4proc.c 	session = slot->table->session;
slot              804 fs/nfs/nfs4proc.c 		nfs4_slot_sequence_acked(slot, slot->seq_nr);
slot              806 fs/nfs/nfs4proc.c 		slot->seq_done = 1;
slot              811 fs/nfs/nfs4proc.c 				!!slot->privileged);
slot              812 fs/nfs/nfs4proc.c 		nfs41_update_target_slotid(slot->table, slot, res);
slot              820 fs/nfs/nfs4proc.c 		nfs4_slot_sequence_record_sent(slot, slot->seq_nr);
slot              821 fs/nfs/nfs4proc.c 		slot->seq_done = 1;
slot              830 fs/nfs/nfs4proc.c 			slot->slot_nr,
slot              831 fs/nfs/nfs4proc.c 			slot->seq_nr);
slot              832 fs/nfs/nfs4proc.c 		nfs4_slot_sequence_acked(slot, slot->seq_nr);
slot              840 fs/nfs/nfs4proc.c 		nfs4_slot_sequence_acked(slot, slot->seq_nr);
slot              847 fs/nfs/nfs4proc.c 		if (slot->slot_nr < slot->table->target_highest_slotid)
slot              851 fs/nfs/nfs4proc.c 		nfs4_slot_sequence_record_sent(slot, slot->seq_nr);
slot              857 fs/nfs/nfs4proc.c 		if ((s32)(slot->seq_nr - slot->seq_nr_last_acked) > 1) {
slot              858 fs/nfs/nfs4proc.c 			slot->seq_nr--;
slot              871 fs/nfs/nfs4proc.c 		slot->seq_nr = slot->seq_nr_highest_sent;
slot              879 fs/nfs/nfs4proc.c 		slot->seq_done = 1;
slot              892 fs/nfs/nfs4proc.c 	++slot->seq_nr;
slot             1001 fs/nfs/nfs4proc.c 		struct nfs4_slot *slot)
slot             1003 fs/nfs/nfs4proc.c 	if (!slot)
slot             1005 fs/nfs/nfs4proc.c 	slot->privileged = args->sa_privileged ? 1 : 0;
slot             1006 fs/nfs/nfs4proc.c 	args->sa_slot = slot;
slot             1008 fs/nfs/nfs4proc.c 	res->sr_slot = slot;
slot             1018 fs/nfs/nfs4proc.c 	struct nfs4_slot *slot;
slot             1032 fs/nfs/nfs4proc.c 	slot = nfs4_alloc_slot(tbl);
slot             1033 fs/nfs/nfs4proc.c 	if (IS_ERR(slot)) {
slot             1034 fs/nfs/nfs4proc.c 		if (slot == ERR_PTR(-ENOMEM))
slot             1040 fs/nfs/nfs4proc.c 	nfs4_sequence_attach_slot(args, res, slot);
slot             8811 fs/nfs/nfs4proc.c 		struct nfs4_slot *slot,
slot             8836 fs/nfs/nfs4proc.c 	nfs4_sequence_attach_slot(&calldata->args, &calldata->res, slot);
slot             8849 fs/nfs/nfs4proc.c 	nfs41_release_slot(slot);
slot               49 fs/nfs/nfs4session.c 		struct nfs4_slot *slot = *p;
slot               51 fs/nfs/nfs4session.c 		*p = slot->next;
slot               52 fs/nfs/nfs4session.c 		kfree(slot);
slot               83 fs/nfs/nfs4session.c void nfs4_free_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot)
slot               85 fs/nfs/nfs4session.c 	u32 slotid = slot->slot_nr;
slot              107 fs/nfs/nfs4session.c 	struct nfs4_slot *slot;
slot              109 fs/nfs/nfs4session.c 	slot = kzalloc(sizeof(*slot), gfp_mask);
slot              110 fs/nfs/nfs4session.c 	if (slot) {
slot              111 fs/nfs/nfs4session.c 		slot->table = tbl;
slot              112 fs/nfs/nfs4session.c 		slot->slot_nr = slotid;
slot              113 fs/nfs/nfs4session.c 		slot->seq_nr = seq_init;
slot              114 fs/nfs/nfs4session.c 		slot->seq_nr_highest_sent = seq_init;
slot              115 fs/nfs/nfs4session.c 		slot->seq_nr_last_acked = seq_init - 1;
slot              117 fs/nfs/nfs4session.c 	return slot;
slot              123 fs/nfs/nfs4session.c 	struct nfs4_slot **p, *slot;
slot              134 fs/nfs/nfs4session.c 		slot = *p;
slot              135 fs/nfs/nfs4session.c 		if (slot->slot_nr == slotid)
slot              136 fs/nfs/nfs4session.c 			return slot;
slot              137 fs/nfs/nfs4session.c 		p = &slot->next;
slot              143 fs/nfs/nfs4session.c 		struct nfs4_slot *slot)
slot              145 fs/nfs/nfs4session.c 	u32 slotid = slot->slot_nr;
slot              151 fs/nfs/nfs4session.c 	slot->generation = tbl->generation;
slot              159 fs/nfs/nfs4session.c bool nfs4_try_to_lock_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot)
slot              161 fs/nfs/nfs4session.c 	if (nfs4_test_locked_slot(tbl, slot->slot_nr))
slot              163 fs/nfs/nfs4session.c 	nfs4_lock_slot(tbl, slot);
slot              183 fs/nfs/nfs4session.c 	struct nfs4_slot *slot;
slot              186 fs/nfs/nfs4session.c 	slot = nfs4_lookup_slot(tbl, slotid);
slot              187 fs/nfs/nfs4session.c 	ret = PTR_ERR_OR_ZERO(slot);
slot              189 fs/nfs/nfs4session.c 		*seq_nr = slot->seq_nr;
slot              361 fs/nfs/nfs4session.c 	struct nfs4_slot *slot = pslot;
slot              362 fs/nfs/nfs4session.c 	struct nfs4_slot_table *tbl = slot->table;
slot              366 fs/nfs/nfs4session.c 	slot->generation = tbl->generation;
slot              367 fs/nfs/nfs4session.c 	args->sa_slot = slot;
slot              369 fs/nfs/nfs4session.c 	res->sr_slot = slot;
slot              376 fs/nfs/nfs4session.c 		struct nfs4_slot *slot)
slot              378 fs/nfs/nfs4session.c 	if (rpc_wake_up_first(&tbl->slot_tbl_waitq, nfs41_assign_slot, slot))
slot              384 fs/nfs/nfs4session.c 		struct nfs4_slot *slot)
slot              386 fs/nfs/nfs4session.c 	if (slot->slot_nr > tbl->max_slotid)
slot              388 fs/nfs/nfs4session.c 	return __nfs41_wake_and_assign_slot(tbl, slot);
slot              393 fs/nfs/nfs4session.c 	struct nfs4_slot *slot = nfs4_alloc_slot(tbl);
slot              394 fs/nfs/nfs4session.c 	if (!IS_ERR(slot)) {
slot              395 fs/nfs/nfs4session.c 		bool ret = __nfs41_wake_and_assign_slot(tbl, slot);
slot              398 fs/nfs/nfs4session.c 		nfs4_free_slot(tbl, slot);
slot              511 fs/nfs/nfs4session.c 		struct nfs4_slot *slot,
slot              517 fs/nfs/nfs4session.c 	if (tbl->generation == slot->generation)
slot               90 fs/nfs/nfs4session.h extern bool nfs4_try_to_lock_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot);
slot               91 fs/nfs/nfs4session.h extern void nfs4_free_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot);
slot               94 fs/nfs/nfs4session.h 		struct nfs4_slot *slot);
slot              117 fs/nfs/nfs4session.h 		struct nfs4_slot *slot,
slot             1918 fs/nfs/nfs4xdr.c 	struct nfs4_slot *slot = args->sa_slot;
slot             1921 fs/nfs/nfs4xdr.c 	tp = slot->table;
slot             1938 fs/nfs/nfs4xdr.c 		slot->seq_nr, slot->slot_nr,
slot             1942 fs/nfs/nfs4xdr.c 	*p++ = cpu_to_be32(slot->seq_nr);
slot             1943 fs/nfs/nfs4xdr.c 	*p++ = cpu_to_be32(slot->slot_nr);
slot             2808 fs/nfsd/nfs4state.c 	struct nfsd4_slot *slot = resp->cstate.slot;
slot             2811 fs/nfsd/nfs4state.c 	dprintk("--> %s slot %p\n", __func__, slot);
slot             2813 fs/nfsd/nfs4state.c 	slot->sl_flags |= NFSD4_SLOT_INITIALIZED;
slot             2814 fs/nfsd/nfs4state.c 	slot->sl_opcnt = resp->opcnt;
slot             2815 fs/nfsd/nfs4state.c 	slot->sl_status = resp->cstate.status;
slot             2816 fs/nfsd/nfs4state.c 	free_svc_cred(&slot->sl_cred);
slot             2817 fs/nfsd/nfs4state.c 	copy_cred(&slot->sl_cred, &resp->rqstp->rq_cred);
slot             2820 fs/nfsd/nfs4state.c 		slot->sl_flags &= ~NFSD4_SLOT_CACHED;
slot             2823 fs/nfsd/nfs4state.c 	slot->sl_flags |= NFSD4_SLOT_CACHED;
slot             2826 fs/nfsd/nfs4state.c 	slot->sl_datalen = buf->len - base;
slot             2827 fs/nfsd/nfs4state.c 	if (read_bytes_from_xdr_buf(buf, base, slot->sl_data, slot->sl_datalen))
slot             2845 fs/nfsd/nfs4state.c 	struct nfsd4_slot *slot = resp->cstate.slot;
slot             2851 fs/nfsd/nfs4state.c 	if (slot->sl_flags & NFSD4_SLOT_CACHED)
slot             2876 fs/nfsd/nfs4state.c 	struct nfsd4_slot *slot = resp->cstate.slot;
slot             2881 fs/nfsd/nfs4state.c 	dprintk("--> %s slot %p\n", __func__, slot);
slot             2887 fs/nfsd/nfs4state.c 	p = xdr_reserve_space(xdr, slot->sl_datalen);
slot             2892 fs/nfsd/nfs4state.c 	xdr_encode_opaque_fixed(p, slot->sl_data, slot->sl_datalen);
slot             2895 fs/nfsd/nfs4state.c 	resp->opcnt = slot->sl_opcnt;
slot             2896 fs/nfsd/nfs4state.c 	return slot->sl_status;
slot             3144 fs/nfsd/nfs4state.c 			   struct nfsd4_clid_slot *slot, __be32 nfserr)
slot             3146 fs/nfsd/nfs4state.c 	slot->sl_status = nfserr;
slot             3147 fs/nfsd/nfs4state.c 	memcpy(&slot->sl_cr_ses, cr_ses, sizeof(*cr_ses));
slot             3152 fs/nfsd/nfs4state.c 			    struct nfsd4_clid_slot *slot)
slot             3154 fs/nfsd/nfs4state.c 	memcpy(cr_ses, &slot->sl_cr_ses, sizeof(*cr_ses));
slot             3155 fs/nfsd/nfs4state.c 	return slot->sl_status;
slot             3545 fs/nfsd/nfs4state.c 		 struct nfsd4_sequence *seq, struct nfsd4_slot *slot)
slot             3549 fs/nfsd/nfs4state.c 	if ((bool)(slot->sl_flags & NFSD4_SLOT_CACHETHIS) !=
slot             3556 fs/nfsd/nfs4state.c 	if (slot->sl_opcnt < argp->opcnt && !slot->sl_status)
slot             3563 fs/nfsd/nfs4state.c 	if (slot->sl_opcnt > argp->opcnt)
slot             3566 fs/nfsd/nfs4state.c 	if (!same_creds(&rqstp->rq_cred, &slot->sl_cred))
slot             3586 fs/nfsd/nfs4state.c 	struct nfsd4_slot *slot;
slot             3622 fs/nfsd/nfs4state.c 	slot = session->se_slots[seq->slotid];
slot             3630 fs/nfsd/nfs4state.c 	status = check_slot_seqid(seq->seqid, slot->sl_seqid,
slot             3631 fs/nfsd/nfs4state.c 					slot->sl_flags & NFSD4_SLOT_INUSE);
slot             3634 fs/nfsd/nfs4state.c 		if (!(slot->sl_flags & NFSD4_SLOT_INITIALIZED))
slot             3637 fs/nfsd/nfs4state.c 		if (!replay_matches_cache(rqstp, seq, slot))
slot             3639 fs/nfsd/nfs4state.c 		cstate->slot = slot;
slot             3667 fs/nfsd/nfs4state.c 	slot->sl_seqid = seq->seqid;
slot             3668 fs/nfsd/nfs4state.c 	slot->sl_flags |= NFSD4_SLOT_INUSE;
slot             3670 fs/nfsd/nfs4state.c 		slot->sl_flags |= NFSD4_SLOT_CACHETHIS;
slot             3672 fs/nfsd/nfs4state.c 		slot->sl_flags &= ~NFSD4_SLOT_CACHETHIS;
slot             3674 fs/nfsd/nfs4state.c 	cstate->slot = slot;
slot             3709 fs/nfsd/nfs4state.c 			cs->slot->sl_flags &= ~NFSD4_SLOT_INUSE;
slot             4416 fs/nfsd/nfs4xdr.c 	struct nfsd4_slot *slot = resp->cstate.slot;
slot             4422 fs/nfsd/nfs4xdr.c 	if (slot->sl_flags & NFSD4_SLOT_CACHETHIS) {
slot             4469 fs/nfsd/nfs4xdr.c 		struct nfsd4_slot *slot = resp->cstate.slot;
slot             4471 fs/nfsd/nfs4xdr.c 		if (slot->sl_flags & NFSD4_SLOT_CACHETHIS)
slot               60 fs/nfsd/xdr4.h 	struct nfsd4_slot	*slot;
slot               74 fs/nfsd/xdr4.h 	return cs->slot != NULL;
slot              696 fs/nfsd/xdr4.h 	return (resp->cstate.slot->sl_flags & NFSD4_SLOT_CACHETHIS)
slot             6388 fs/ocfs2/alloc.c 				    int slot,
slot             6398 fs/ocfs2/alloc.c 	inode = ocfs2_get_system_file_inode(osb, sysfile_type, slot);
slot             6578 fs/ocfs2/alloc.c 			      int slot,
slot             6584 fs/ocfs2/alloc.c 		if (fl->f_inode_type == type && fl->f_slot == slot)
slot             6593 fs/ocfs2/alloc.c 		fl->f_slot = slot;
slot             6751 fs/ocfs2/alloc.c 			      int type, int slot, u64 suballoc,
slot             6758 fs/ocfs2/alloc.c 	fl = ocfs2_find_per_slot_free_list(type, slot, ctxt);
slot             6772 fs/ocfs2/alloc.c 	trace_ocfs2_cache_block_dealloc(type, slot,
slot              201 fs/ocfs2/alloc.h 			      int type, int slot, u64 suballoc, u64 blkno,
slot              600 fs/ocfs2/cluster/heartbeat.c 	unsigned int slot;
slot              605 fs/ocfs2/cluster/heartbeat.c 	slot = o2nm_this_node();
slot              607 fs/ocfs2/cluster/heartbeat.c 	bio = o2hb_setup_one_bio(reg, write_wc, &slot, slot+1, REQ_OP_WRITE,
slot              671 fs/ocfs2/cluster/heartbeat.c 	struct o2hb_disk_slot *slot;
slot              675 fs/ocfs2/cluster/heartbeat.c 	slot = &reg->hr_slots[o2nm_this_node()];
slot              677 fs/ocfs2/cluster/heartbeat.c 	if (!slot->ds_last_time)
slot              680 fs/ocfs2/cluster/heartbeat.c 	hb_block = slot->ds_raw_block;
slot              681 fs/ocfs2/cluster/heartbeat.c 	if (le64_to_cpu(hb_block->hb_seq) == slot->ds_last_time &&
slot              682 fs/ocfs2/cluster/heartbeat.c 	    le64_to_cpu(hb_block->hb_generation) == slot->ds_last_generation &&
slot              683 fs/ocfs2/cluster/heartbeat.c 	    hb_block->hb_node == slot->ds_node_num)
slot              690 fs/ocfs2/cluster/heartbeat.c 	if (hb_block->hb_node != slot->ds_node_num)
slot              693 fs/ocfs2/cluster/heartbeat.c 		 slot->ds_last_generation)
slot              700 fs/ocfs2/cluster/heartbeat.c 	     slot->ds_node_num, (unsigned long long)slot->ds_last_generation,
slot              701 fs/ocfs2/cluster/heartbeat.c 	     (unsigned long long)slot->ds_last_time, hb_block->hb_node,
slot              713 fs/ocfs2/cluster/heartbeat.c 	struct o2hb_disk_slot *slot;
slot              717 fs/ocfs2/cluster/heartbeat.c 	slot = &reg->hr_slots[node_num];
slot              719 fs/ocfs2/cluster/heartbeat.c 	hb_block = (struct o2hb_disk_heartbeat_block *)slot->ds_raw_block;
slot              811 fs/ocfs2/cluster/heartbeat.c static void o2hb_shutdown_slot(struct o2hb_disk_slot *slot)
slot              818 fs/ocfs2/cluster/heartbeat.c 	node = o2nm_get_node_by_num(slot->ds_node_num);
slot              823 fs/ocfs2/cluster/heartbeat.c 	if (!list_empty(&slot->ds_live_item)) {
slot              825 fs/ocfs2/cluster/heartbeat.c 		     slot->ds_node_num);
slot              827 fs/ocfs2/cluster/heartbeat.c 		list_del_init(&slot->ds_live_item);
slot              829 fs/ocfs2/cluster/heartbeat.c 		if (list_empty(&o2hb_live_slots[slot->ds_node_num])) {
slot              830 fs/ocfs2/cluster/heartbeat.c 			clear_bit(slot->ds_node_num, o2hb_live_node_bitmap);
slot              833 fs/ocfs2/cluster/heartbeat.c 					      slot->ds_node_num);
slot              889 fs/ocfs2/cluster/heartbeat.c 			   struct o2hb_disk_slot *slot)
slot              902 fs/ocfs2/cluster/heartbeat.c 	memcpy(hb_block, slot->ds_raw_block, reg->hr_block_bytes);
slot              908 fs/ocfs2/cluster/heartbeat.c 	node = o2nm_get_node_by_num(slot->ds_node_num);
slot              911 fs/ocfs2/cluster/heartbeat.c 		tmp = test_bit(slot->ds_node_num, o2hb_live_node_bitmap);
slot              925 fs/ocfs2/cluster/heartbeat.c 		if (list_empty(&slot->ds_live_item))
slot              932 fs/ocfs2/cluster/heartbeat.c 		     slot->ds_node_num, reg->hr_dev_name);
slot              935 fs/ocfs2/cluster/heartbeat.c 		slot->ds_equal_samples++;
slot              942 fs/ocfs2/cluster/heartbeat.c 	if (slot->ds_last_time != cputime)
slot              943 fs/ocfs2/cluster/heartbeat.c 		slot->ds_changed_samples++;
slot              945 fs/ocfs2/cluster/heartbeat.c 		slot->ds_equal_samples++;
slot              946 fs/ocfs2/cluster/heartbeat.c 	slot->ds_last_time = cputime;
slot              953 fs/ocfs2/cluster/heartbeat.c 	if (slot->ds_last_generation != le64_to_cpu(hb_block->hb_generation)) {
slot              955 fs/ocfs2/cluster/heartbeat.c 		slot->ds_equal_samples = 0;
slot              957 fs/ocfs2/cluster/heartbeat.c 		     "to 0x%llx)\n", slot->ds_node_num,
slot              958 fs/ocfs2/cluster/heartbeat.c 		     (long long)slot->ds_last_generation,
slot              962 fs/ocfs2/cluster/heartbeat.c 	slot->ds_last_generation = le64_to_cpu(hb_block->hb_generation);
slot              966 fs/ocfs2/cluster/heartbeat.c 	     slot->ds_node_num, (long long)slot->ds_last_generation,
slot              969 fs/ocfs2/cluster/heartbeat.c 	     (unsigned long long)slot->ds_last_time, slot->ds_changed_samples,
slot              970 fs/ocfs2/cluster/heartbeat.c 	     slot->ds_equal_samples);
slot              977 fs/ocfs2/cluster/heartbeat.c 	if (list_empty(&slot->ds_live_item) &&
slot              978 fs/ocfs2/cluster/heartbeat.c 	    slot->ds_changed_samples >= O2HB_LIVE_THRESHOLD) {
slot              980 fs/ocfs2/cluster/heartbeat.c 		     slot->ds_node_num, (long long)slot->ds_last_generation);
slot              982 fs/ocfs2/cluster/heartbeat.c 		set_bit(slot->ds_node_num, reg->hr_live_node_bitmap);
slot              985 fs/ocfs2/cluster/heartbeat.c 		if (list_empty(&o2hb_live_slots[slot->ds_node_num])) {
slot              987 fs/ocfs2/cluster/heartbeat.c 			     "bitmap\n", slot->ds_node_num);
slot              988 fs/ocfs2/cluster/heartbeat.c 			set_bit(slot->ds_node_num, o2hb_live_node_bitmap);
slot              991 fs/ocfs2/cluster/heartbeat.c 					      slot->ds_node_num);
slot              997 fs/ocfs2/cluster/heartbeat.c 		list_add_tail(&slot->ds_live_item,
slot              998 fs/ocfs2/cluster/heartbeat.c 			      &o2hb_live_slots[slot->ds_node_num]);
slot             1000 fs/ocfs2/cluster/heartbeat.c 		slot->ds_equal_samples = 0;
slot             1015 fs/ocfs2/cluster/heartbeat.c 			     slot->ds_node_num, reg->hr_dev_name, slot_dead_ms,
slot             1022 fs/ocfs2/cluster/heartbeat.c 	if (list_empty(&slot->ds_live_item))
slot             1028 fs/ocfs2/cluster/heartbeat.c 	if (slot->ds_equal_samples >= o2hb_dead_threshold || gen_changed) {
slot             1030 fs/ocfs2/cluster/heartbeat.c 		     slot->ds_node_num);
slot             1032 fs/ocfs2/cluster/heartbeat.c 		clear_bit(slot->ds_node_num, reg->hr_live_node_bitmap);
slot             1035 fs/ocfs2/cluster/heartbeat.c 		list_del_init(&slot->ds_live_item);
slot             1036 fs/ocfs2/cluster/heartbeat.c 		if (list_empty(&o2hb_live_slots[slot->ds_node_num])) {
slot             1038 fs/ocfs2/cluster/heartbeat.c 			     "nodes bitmap\n", slot->ds_node_num);
slot             1039 fs/ocfs2/cluster/heartbeat.c 			clear_bit(slot->ds_node_num, o2hb_live_node_bitmap);
slot             1043 fs/ocfs2/cluster/heartbeat.c 					      node, slot->ds_node_num);
slot             1052 fs/ocfs2/cluster/heartbeat.c 			slot->ds_changed_samples = 0;
slot             1055 fs/ocfs2/cluster/heartbeat.c 	if (slot->ds_changed_samples) {
slot             1056 fs/ocfs2/cluster/heartbeat.c 		slot->ds_changed_samples = 0;
slot             1057 fs/ocfs2/cluster/heartbeat.c 		slot->ds_equal_samples = 0;
slot             1676 fs/ocfs2/cluster/heartbeat.c 	struct o2hb_disk_slot *slot;
slot             1688 fs/ocfs2/cluster/heartbeat.c 		slot = &reg->hr_slots[i];
slot             1689 fs/ocfs2/cluster/heartbeat.c 		slot->ds_node_num = i;
slot             1690 fs/ocfs2/cluster/heartbeat.c 		INIT_LIST_HEAD(&slot->ds_live_item);
slot             1691 fs/ocfs2/cluster/heartbeat.c 		slot->ds_raw_block = NULL;
slot             1718 fs/ocfs2/cluster/heartbeat.c 			slot = &reg->hr_slots[j + last_slot];
slot             1719 fs/ocfs2/cluster/heartbeat.c 			slot->ds_raw_block =
slot             1735 fs/ocfs2/cluster/heartbeat.c 	struct o2hb_disk_slot *slot;
slot             1747 fs/ocfs2/cluster/heartbeat.c 		slot = &reg->hr_slots[i];
slot             1748 fs/ocfs2/cluster/heartbeat.c 		hb_block = (struct o2hb_disk_heartbeat_block *) slot->ds_raw_block;
slot             1752 fs/ocfs2/cluster/heartbeat.c 		slot->ds_last_time = le64_to_cpu(hb_block->hb_seq);
slot             1753 fs/ocfs2/cluster/heartbeat.c 		slot->ds_last_generation = le64_to_cpu(hb_block->hb_generation);
slot              722 fs/ocfs2/inode.c 					     int slot)
slot              727 fs/ocfs2/inode.c 	if (ocfs2_node_map_test_bit(osb, &osb->osb_recovering_orphan_dirs, slot)) {
slot              733 fs/ocfs2/inode.c 	osb->osb_orphan_wipes[slot]++;
slot              736 fs/ocfs2/inode.c 	trace_ocfs2_check_orphan_recovery_state(slot, ret);
slot              741 fs/ocfs2/inode.c 					 int slot)
slot              744 fs/ocfs2/inode.c 	osb->osb_orphan_wipes[slot]--;
slot              276 fs/ocfs2/ioctl.c 				       u32 slot)
slot              303 fs/ocfs2/ioctl.c 	fi->ifi_stat[slot].lfi_total =
slot              305 fs/ocfs2/ioctl.c 	fi->ifi_stat[slot].lfi_free =
slot               60 fs/ocfs2/journal.c 				 int slot,
slot             1036 fs/ocfs2/journal.c 				      int slot)
slot             1043 fs/ocfs2/journal.c 		     "journal %u.\n", olderr, slot);
slot             2080 fs/ocfs2/journal.c 			       int slot,
slot             2095 fs/ocfs2/journal.c 						       slot);
slot             2126 fs/ocfs2/journal.c 					      int slot)
slot             2131 fs/ocfs2/journal.c 	ret = !osb->osb_orphan_wipes[slot];
slot             2137 fs/ocfs2/journal.c 					     int slot)
slot             2142 fs/ocfs2/journal.c 	ocfs2_node_map_set_bit(osb, &osb->osb_recovering_orphan_dirs, slot);
slot             2143 fs/ocfs2/journal.c 	while (osb->osb_orphan_wipes[slot]) {
slot             2149 fs/ocfs2/journal.c 					 ocfs2_orphan_recovery_can_continue(osb, slot));
slot             2156 fs/ocfs2/journal.c 					      int slot)
slot             2158 fs/ocfs2/journal.c 	ocfs2_node_map_clear_bit(osb, &osb->osb_recovering_orphan_dirs, slot);
slot             2180 fs/ocfs2/journal.c 				 int slot,
slot             2190 fs/ocfs2/journal.c 	trace_ocfs2_recover_orphans(slot);
slot             2192 fs/ocfs2/journal.c 	ocfs2_mark_recovering_orphan_dir(osb, slot);
slot             2193 fs/ocfs2/journal.c 	ret = ocfs2_queue_orphans(osb, slot, &inode, orphan_reco_type);
slot             2194 fs/ocfs2/journal.c 	ocfs2_clear_recovering_orphan_dir(osb, slot);
slot             2342 fs/ocfs2/journal.c 	unsigned int slot;
slot             2347 fs/ocfs2/journal.c 	for(slot = 0; slot < osb->max_slots; slot++) {
slot             2348 fs/ocfs2/journal.c 		ret = ocfs2_read_journal_inode(osb, slot, &di_bh, NULL);
slot             2356 fs/ocfs2/journal.c 		osb->slot_recovery_generations[slot] =
slot              375 fs/ocfs2/move_extents.c 					 int type, int slot,
slot              390 fs/ocfs2/move_extents.c 	ocfs2_sprintf_system_inode_name(namebuf, sizeof(namebuf), type, slot);
slot             1570 fs/ocfs2/ocfs2_fs.h 						  int type, int slot)
slot             1585 fs/ocfs2/ocfs2_fs.h 				 slot);
slot              670 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(int type, int slot, unsigned long long suballoc,
slot              672 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(type, slot, suballoc, blkno, bit),
slot              675 fs/ocfs2/ocfs2_trace.h 		__field(int, slot)
slot              682 fs/ocfs2/ocfs2_trace.h 		__entry->slot = slot;
slot              688 fs/ocfs2/ocfs2_trace.h 		  __entry->type, __entry->slot, __entry->suballoc,
slot             2602 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(int slot, unsigned long long la_ino,
slot             2604 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(slot, la_ino, tl_ino, qrec),
slot             2606 fs/ocfs2/ocfs2_trace.h 		__field(int, slot)
slot             2612 fs/ocfs2/ocfs2_trace.h 		__entry->slot = slot;
slot             2617 fs/ocfs2/ocfs2_trace.h 	TP_printk("%d %llu %llu %p", __entry->slot, __entry->la_ino,
slot              275 fs/ocfs2/slot_map.c 	int slot;
slot              279 fs/ocfs2/slot_map.c 	slot = __ocfs2_node_num_to_slot(si, node_num);
slot              282 fs/ocfs2/slot_map.c 	return slot;
slot              451 fs/ocfs2/slot_map.c 	int slot;
slot              463 fs/ocfs2/slot_map.c 	slot = __ocfs2_node_num_to_slot(si, osb->node_num);
slot              464 fs/ocfs2/slot_map.c 	if (slot < 0) {
slot              467 fs/ocfs2/slot_map.c 		slot = __ocfs2_find_empty_slot(si, osb->preferred_slot);
slot              468 fs/ocfs2/slot_map.c 		if (slot < 0) {
slot              476 fs/ocfs2/slot_map.c 		       "allocated to this node!\n", slot, osb->dev_str);
slot              478 fs/ocfs2/slot_map.c 	ocfs2_set_slot(si, slot, osb->node_num);
slot              479 fs/ocfs2/slot_map.c 	osb->slot_num = slot;
slot              940 fs/ocfs2/stack_user.c static void user_recover_slot(void *arg, struct dlm_slot *slot)
slot              944 fs/ocfs2/stack_user.c 			slot->nodeid, slot->slot);
slot              945 fs/ocfs2/stack_user.c 	conn->cc_recovery_handler(slot->nodeid, conn->cc_recovery_data);
slot              958 fs/ocfs2/stack_user.c 		if (slots[i].slot == our_slot) {
slot              767 fs/ocfs2/suballoc.c 				       u32 slot,
slot              778 fs/ocfs2/suballoc.c 	alloc_inode = ocfs2_get_system_file_inode(osb, type, slot);
slot              796 fs/ocfs2/suballoc.c 	ac->ac_alloc_slot = slot;
slot              825 fs/ocfs2/suballoc.c 						slot, bits_wanted, free_bits);
slot              878 fs/ocfs2/suballoc.c static void __ocfs2_set_steal_slot(struct ocfs2_super *osb, int slot, int type)
slot              882 fs/ocfs2/suballoc.c 		osb->s_inode_steal_slot = slot;
slot              884 fs/ocfs2/suballoc.c 		osb->s_meta_steal_slot = slot;
slot              890 fs/ocfs2/suballoc.c 	int slot = OCFS2_INVALID_SLOT;
slot              894 fs/ocfs2/suballoc.c 		slot = osb->s_inode_steal_slot;
slot              896 fs/ocfs2/suballoc.c 		slot = osb->s_meta_steal_slot;
slot              899 fs/ocfs2/suballoc.c 	return slot;
slot              917 fs/ocfs2/suballoc.c 	int slot = __ocfs2_get_steal_slot(osb, type);
slot              920 fs/ocfs2/suballoc.c 	if (slot == OCFS2_INVALID_SLOT)
slot              921 fs/ocfs2/suballoc.c 		slot = osb->slot_num + 1;
slot              923 fs/ocfs2/suballoc.c 	for (i = 0; i < osb->max_slots; i++, slot++) {
slot              924 fs/ocfs2/suballoc.c 		if (slot == osb->max_slots)
slot              925 fs/ocfs2/suballoc.c 			slot = 0;
slot              927 fs/ocfs2/suballoc.c 		if (slot == osb->slot_num)
slot              932 fs/ocfs2/suballoc.c 						     (u32)slot, NULL,
slot              935 fs/ocfs2/suballoc.c 			__ocfs2_set_steal_slot(osb, slot, type);
slot              962 fs/ocfs2/suballoc.c 	int slot = ocfs2_get_meta_steal_slot(osb);
slot              975 fs/ocfs2/suballoc.c 	if (slot != OCFS2_INVALID_SLOT &&
slot              988 fs/ocfs2/suballoc.c 		if (slot != OCFS2_INVALID_SLOT)
slot             1032 fs/ocfs2/suballoc.c 	int slot = ocfs2_get_inode_steal_slot(osb);
slot             1064 fs/ocfs2/suballoc.c 	if (slot != OCFS2_INVALID_SLOT &&
slot             1089 fs/ocfs2/suballoc.c 		if (slot != OCFS2_INVALID_SLOT)
slot               81 fs/ocfs2/super.c 	signed short	slot;
slot              709 fs/ocfs2/super.c 		osb->preferred_slot = parsed_options.slot;
slot             1012 fs/ocfs2/super.c 	osb->preferred_slot = parsed_options.slot;
slot             1254 fs/ocfs2/super.c 	mopt->slot = OCFS2_INVALID_SLOT;
slot             1337 fs/ocfs2/super.c 				mopt->slot = (s16)option;
slot               30 fs/ocfs2/sysfile.c 						   u32 slot);
slot               44 fs/ocfs2/sysfile.c 					     u32 slot)
slot               49 fs/ocfs2/sysfile.c 	BUG_ON(slot == OCFS2_INVALID_SLOT);
slot               84 fs/ocfs2/sysfile.c 	index = (slot * NUM_LOCAL_SYSTEM_INODES) +
slot               92 fs/ocfs2/sysfile.c 					  u32 slot)
slot              101 fs/ocfs2/sysfile.c 		arr = get_local_system_inode(osb, type, slot);
slot              114 fs/ocfs2/sysfile.c 	inode = _ocfs2_get_system_file_inode(osb, type, slot);
slot              127 fs/ocfs2/sysfile.c 						   u32 slot)
slot              136 fs/ocfs2/sysfile.c 					type, slot);
slot               17 fs/ocfs2/sysfile.h 					   u32 slot);
slot               68 fs/orangefs/orangefs-bufmap.c static void put(struct slot_map *m, int slot)
slot               72 fs/orangefs/orangefs-bufmap.c 	__clear_bit(slot, m->map);
slot               79 fs/udf/balloc.c 	int slot;
slot               81 fs/udf/balloc.c 	slot = __load_block_bitmap(sb, bitmap, block_group);
slot               83 fs/udf/balloc.c 	if (slot < 0)
slot               84 fs/udf/balloc.c 		return slot;
slot               86 fs/udf/balloc.c 	if (!bitmap->s_block_bitmap[slot])
slot               89 fs/udf/balloc.c 	return slot;
slot               43 include/linux/atmel-mci.h 	struct mci_slot_pdata	slot[ATMCI_MAX_NR_SLOTS];
slot              265 include/linux/bpf_verifier.h #define bpf_get_spilled_reg(slot, frame)				\
slot              266 include/linux/bpf_verifier.h 	(((slot < frame->allocated_stack / BPF_REG_SIZE) &&		\
slot              267 include/linux/bpf_verifier.h 	  (frame->stack[slot].slot_type[0] == STACK_SPILL))		\
slot              268 include/linux/bpf_verifier.h 	 ? &frame->stack[slot].spilled_ptr : NULL)
slot               39 include/linux/cb710.h 	struct cb710_slot	slot[0];
slot               52 include/linux/cb710.h static inline void cb710_write_port_##t(struct cb710_slot *slot,	\
slot               55 include/linux/cb710.h 	iowrite##t(value, slot->iobase + port);				\
slot               58 include/linux/cb710.h static inline u##t cb710_read_port_##t(struct cb710_slot *slot,		\
slot               61 include/linux/cb710.h 	return ioread##t(slot->iobase + port);				\
slot               64 include/linux/cb710.h static inline void cb710_modify_port_##t(struct cb710_slot *slot,	\
slot               68 include/linux/cb710.h 		(ioread##t(slot->iobase + port) & ~clear)|set,		\
slot               69 include/linux/cb710.h 		slot->iobase + port);					\
slot               78 include/linux/cb710.h void cb710_set_irq_handler(struct cb710_slot *slot,
slot               89 include/linux/cb710.h static inline struct cb710_chip *cb710_slot_to_chip(struct cb710_slot *slot)
slot               91 include/linux/cb710.h 	return dev_get_drvdata(slot->pdev.dev.parent);
slot               94 include/linux/cb710.h static inline struct device *cb710_slot_dev(struct cb710_slot *slot)
slot               96 include/linux/cb710.h 	return &slot->pdev.dev;
slot               75 include/linux/cdrom.h 				      unsigned int clearing, int slot);
slot               42 include/linux/cmdline-parser.h 		      int slot,
slot              509 include/linux/cper.h 		u16	slot;
slot               63 include/linux/dca.h int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot);
slot               64 include/linux/dca.h void dca_sysfs_remove_req(struct dca_provider *dca, int slot);
slot               19 include/linux/dlm.h 	int slot;   /* 1 to MAX_INT */
slot               33 include/linux/dlm.h 	void (*recover_slot) (void *ops_arg, struct dlm_slot *slot);
slot               37 include/linux/eisa.h 	int                   slot;
slot               93 include/linux/enclosure.h 	int slot;
slot              141 include/linux/fsl_devices.h 	void(*hw_ctrl)(int slot, int enable);
slot              142 include/linux/fsl_devices.h 	int(*voltage_set)(int slot, int vcc, int vpp);
slot              454 include/linux/i3c/master.h 				 struct i3c_ibi_slot *slot);
slot              649 include/linux/i3c/master.h 				  struct i3c_ibi_slot *slot);
slot              651 include/linux/i3c/master.h void i3c_master_queue_ibi(struct i3c_dev_desc *dev, struct i3c_ibi_slot *slot);
slot               46 include/linux/input/mt.h 	int slot;
slot               53 include/linux/input/mt.h static inline void input_mt_set_value(struct input_mt_slot *slot,
slot               56 include/linux/input/mt.h 	slot->abs[code - ABS_MT_FIRST] = value;
slot               59 include/linux/input/mt.h static inline int input_mt_get_value(const struct input_mt_slot *slot,
slot               62 include/linux/input/mt.h 	return slot->abs[code - ABS_MT_FIRST];
slot               65 include/linux/input/mt.h static inline bool input_mt_is_active(const struct input_mt_slot *slot)
slot               67 include/linux/input/mt.h 	return input_mt_get_value(slot, ABS_MT_TRACKING_ID) >= 0;
slot               71 include/linux/input/mt.h 				    const struct input_mt_slot *slot)
slot               73 include/linux/input/mt.h 	return slot->frame == mt->frame;
slot               85 include/linux/input/mt.h static inline void input_mt_slot(struct input_dev *dev, int slot)
slot               87 include/linux/input/mt.h 	input_event(dev, EV_ABS, ABS_MT_SLOT, slot);
slot               95 include/linux/ipack.h 	unsigned int slot;
slot              253 include/linux/kprobes.h 			     kprobe_opcode_t *slot, int dirty);
slot              266 include/linux/kprobes.h static inline void free_##__name##_slot(kprobe_opcode_t *slot, int dirty)\
slot              268 include/linux/kprobes.h 	__free_insn_slot(&kprobe_##__name##_slots, slot, dirty);	\
slot              650 include/linux/kvm_host.h 	struct kvm_memory_slot *slot;
slot              652 include/linux/kvm_host.h 	slot = &slots->memslots[index];
slot              654 include/linux/kvm_host.h 	WARN_ON(slot->id != id);
slot              655 include/linux/kvm_host.h 	return slot;
slot              682 include/linux/kvm_host.h int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
slot              700 include/linux/kvm_host.h 				   struct kvm_memory_slot *slot);
slot              702 include/linux/kvm_host.h int gfn_to_page_many_atomic(struct kvm_memory_slot *slot, gfn_t gfn,
slot              708 include/linux/kvm_host.h unsigned long gfn_to_hva_memslot(struct kvm_memory_slot *slot, gfn_t gfn);
slot              709 include/linux/kvm_host.h unsigned long gfn_to_hva_memslot_prot(struct kvm_memory_slot *slot, gfn_t gfn,
slot              719 include/linux/kvm_host.h kvm_pfn_t gfn_to_pfn_memslot(struct kvm_memory_slot *slot, gfn_t gfn);
slot              720 include/linux/kvm_host.h kvm_pfn_t gfn_to_pfn_memslot_atomic(struct kvm_memory_slot *slot, gfn_t gfn);
slot              721 include/linux/kvm_host.h kvm_pfn_t __gfn_to_pfn_memslot(struct kvm_memory_slot *slot, gfn_t gfn,
slot              817 include/linux/kvm_host.h 					struct kvm_memory_slot *slot,
slot             1014 include/linux/kvm_host.h 	int slot = atomic_read(&slots->lru_slot);
slot             1017 include/linux/kvm_host.h 	if (gfn >= memslots[slot].base_gfn &&
slot             1018 include/linux/kvm_host.h 	    gfn < memslots[slot].base_gfn + memslots[slot].npages)
slot             1019 include/linux/kvm_host.h 		return &memslots[slot];
slot             1022 include/linux/kvm_host.h 		slot = start + (end - start) / 2;
slot             1024 include/linux/kvm_host.h 		if (gfn >= memslots[slot].base_gfn)
slot             1025 include/linux/kvm_host.h 			end = slot;
slot             1027 include/linux/kvm_host.h 			start = slot + 1;
slot             1046 include/linux/kvm_host.h __gfn_to_hva_memslot(struct kvm_memory_slot *slot, gfn_t gfn)
slot             1048 include/linux/kvm_host.h 	return slot->userspace_addr + (gfn - slot->base_gfn) * PAGE_SIZE;
slot             1057 include/linux/kvm_host.h hva_to_gfn_memslot(unsigned long hva, struct kvm_memory_slot *slot)
slot             1059 include/linux/kvm_host.h 	gfn_t gfn_offset = (hva - slot->userspace_addr) >> PAGE_SHIFT;
slot             1061 include/linux/kvm_host.h 	return slot->base_gfn + gfn_offset;
slot               86 include/linux/mISDNhw.h 	int			slot;	/* multiport card channel slot */
slot              147 include/linux/mISDNhw.h 	int			slot;	/* multiport card channel slot */
slot               18 include/linux/mfd/menelaus.h extern int menelaus_set_mmc_opendrain(int slot, int enable);
slot               19 include/linux/mfd/menelaus.h extern int menelaus_set_mmc_slot(int slot, int enable, int power, int cd_on);
slot              215 include/linux/mfd/twl.h int twl6030_mmc_card_detect(struct device *dev, int slot);
slot              217 include/linux/mfd/twl.h static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
slot              423 include/linux/mmc/host.h 	struct mmc_slot		slot;
slot              557 include/linux/mod_devicetable.h 	unsigned char slot:7;
slot              576 include/linux/mod_devicetable.h #define DMI_MATCH(a, b)	{ .slot = a, .substr = b }
slot              577 include/linux/mod_devicetable.h #define DMI_EXACT_MATCH(a, b)	{ .slot = a, .substr = b, .exact_match = 1 }
slot               41 include/linux/nubus.h 	int slot;
slot              183 include/linux/nubus.h static inline void *nubus_slot_addr(int slot)
slot              185 include/linux/nubus.h 	return (void *)(0xF0000000 | (slot << 24));
slot               33 include/linux/of_pci.h int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin);
slot               36 include/linux/of_pci.h of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin)
slot               70 include/linux/pci.h static inline const char *pci_slot_name(const struct pci_slot *slot)
slot               72 include/linux/pci.h 	return kobject_name(&slot->kobj);
slot              298 include/linux/pci.h 	struct pci_slot	*slot;		/* Physical slot this device is in */
slot             1003 include/linux/pci.h void pci_destroy_slot(struct pci_slot *slot);
slot             1195 include/linux/pci.h int pci_probe_reset_slot(struct pci_slot *slot);
slot               39 include/linux/pci_hotplug.h 	int (*enable_slot)		(struct hotplug_slot *slot);
slot               40 include/linux/pci_hotplug.h 	int (*disable_slot)		(struct hotplug_slot *slot);
slot               41 include/linux/pci_hotplug.h 	int (*set_attention_status)	(struct hotplug_slot *slot, u8 value);
slot               42 include/linux/pci_hotplug.h 	int (*hardware_test)		(struct hotplug_slot *slot, u32 value);
slot               43 include/linux/pci_hotplug.h 	int (*get_power_status)		(struct hotplug_slot *slot, u8 *value);
slot               44 include/linux/pci_hotplug.h 	int (*get_attention_status)	(struct hotplug_slot *slot, u8 *value);
slot               45 include/linux/pci_hotplug.h 	int (*get_latch_status)		(struct hotplug_slot *slot, u8 *value);
slot               46 include/linux/pci_hotplug.h 	int (*get_adapter_status)	(struct hotplug_slot *slot, u8 *value);
slot               47 include/linux/pci_hotplug.h 	int (*reset_slot)		(struct hotplug_slot *slot, int probe);
slot               66 include/linux/pci_hotplug.h static inline const char *hotplug_slot_name(const struct hotplug_slot *slot)
slot               68 include/linux/pci_hotplug.h 	return pci_slot_name(slot->pci_slot);
slot               71 include/linux/pci_hotplug.h int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *pbus, int nr,
slot               74 include/linux/pci_hotplug.h int __pci_hp_initialize(struct hotplug_slot *slot, struct pci_bus *bus, int nr,
slot               77 include/linux/pci_hotplug.h int pci_hp_add(struct hotplug_slot *slot);
slot               79 include/linux/pci_hotplug.h void pci_hp_del(struct hotplug_slot *slot);
slot               80 include/linux/pci_hotplug.h void pci_hp_destroy(struct hotplug_slot *slot);
slot               81 include/linux/pci_hotplug.h void pci_hp_deregister(struct hotplug_slot *slot);
slot               84 include/linux/pci_hotplug.h #define pci_hp_register(slot, pbus, devnr, name) \
slot               85 include/linux/pci_hotplug.h 	__pci_hp_register(slot, pbus, devnr, name, THIS_MODULE, KBUILD_MODNAME)
slot               86 include/linux/pci_hotplug.h #define pci_hp_initialize(slot, bus, nr, name) \
slot               87 include/linux/pci_hotplug.h 	__pci_hp_initialize(slot, bus, nr, name, THIS_MODULE, KBUILD_MODNAME)
slot             2942 include/linux/platform_data/cros_ec_commands.h 	uint8_t slot; /* Slot to read from */
slot             2955 include/linux/platform_data/cros_ec_commands.h 	uint8_t slot; /* Slot to write to */
slot               24 include/linux/platform_data/mmc-omap.h 	int (*switch_slot)(struct device *dev, int slot);
slot               86 include/linux/platform_data/mmc-omap.h 		int (*set_bus_mode)(struct device *dev, int slot, int bus_mode);
slot               87 include/linux/platform_data/mmc-omap.h 		int (*set_power)(struct device *dev, int slot,
slot               89 include/linux/platform_data/mmc-omap.h 		int (*get_ro)(struct device *dev, int slot);
slot               90 include/linux/platform_data/mmc-omap.h 		void (*remux)(struct device *dev, int slot, int power_on);
slot               92 include/linux/platform_data/mmc-omap.h 		void (*before_set_reg)(struct device *dev, int slot,
slot               95 include/linux/platform_data/mmc-omap.h 		void (*after_set_reg)(struct device *dev, int slot,
slot              106 include/linux/platform_data/mmc-omap.h 		int (*get_cover_state)(struct device *dev, int slot);
slot              113 include/linux/platform_data/mmc-omap.h 		int (*card_detect)(struct device *dev, int slot);
slot              165 include/linux/radix-tree.h static inline void *radix_tree_deref_slot(void __rcu **slot)
slot              167 include/linux/radix-tree.h 	return rcu_dereference(*slot);
slot              179 include/linux/radix-tree.h static inline void *radix_tree_deref_slot_protected(void __rcu **slot,
slot              182 include/linux/radix-tree.h 	return rcu_dereference_protected(*slot, lockdep_is_held(treelock));
slot              215 include/linux/radix-tree.h 			  void __rcu **slot, void *entry);
slot              217 include/linux/radix-tree.h 		const struct radix_tree_iter *, void __rcu **slot, void *entry);
slot              219 include/linux/radix-tree.h 			     void __rcu **slot, void *entry);
slot              221 include/linux/radix-tree.h 			struct radix_tree_iter *iter, void __rcu **slot);
slot              351 include/linux/radix-tree.h void __rcu **__must_check radix_tree_iter_resume(void __rcu **slot,
slot              385 include/linux/radix-tree.h static __always_inline void __rcu **radix_tree_next_slot(void __rcu **slot,
slot              394 include/linux/radix-tree.h 			slot++;
slot              402 include/linux/radix-tree.h 			slot += offset;
slot              409 include/linux/radix-tree.h 			slot++;
slot              412 include/linux/radix-tree.h 			if (likely(*slot))
slot              424 include/linux/radix-tree.h 	return slot;
slot              437 include/linux/radix-tree.h #define radix_tree_for_each_slot(slot, root, iter, start)		\
slot              438 include/linux/radix-tree.h 	for (slot = radix_tree_iter_init(iter, start) ;			\
slot              439 include/linux/radix-tree.h 	     slot || (slot = radix_tree_next_chunk(root, iter, 0)) ;	\
slot              440 include/linux/radix-tree.h 	     slot = radix_tree_next_slot(slot, iter, 0))
slot              453 include/linux/radix-tree.h #define radix_tree_for_each_tagged(slot, root, iter, start, tag)	\
slot              454 include/linux/radix-tree.h 	for (slot = radix_tree_iter_init(iter, start) ;			\
slot              455 include/linux/radix-tree.h 	     slot || (slot = radix_tree_next_chunk(root, iter,		\
slot              457 include/linux/radix-tree.h 	     slot = radix_tree_next_slot(slot, iter,			\
slot              125 include/linux/rhashtable-types.h 	unsigned int slot;
slot              221 include/linux/rio.h 	void (*mcback) (struct rio_mport * mport, void *dev_id, int mbox, int slot);
slot              679 include/linux/ssb/ssb.h int ssb_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
slot               98 include/linux/ssb/ssb_driver_pci.h int ssb_pcicore_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
slot              125 include/linux/ssb/ssb_driver_pci.h int ssb_pcicore_pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
slot               92 include/linux/tc.h 	int		slot;
slot               62 include/media/dvb_ca_en50221.h 				  int slot, int address);
slot               64 include/media/dvb_ca_en50221.h 				   int slot, int address, u8 value);
slot               67 include/media/dvb_ca_en50221.h 				int slot, u8 address);
slot               69 include/media/dvb_ca_en50221.h 				 int slot, u8 address, u8 value);
slot               72 include/media/dvb_ca_en50221.h 			 int slot, u8 *ebuf, int ecount);
slot               74 include/media/dvb_ca_en50221.h 			  int slot, u8 *ebuf, int ecount);
slot               76 include/media/dvb_ca_en50221.h 	int (*slot_reset)(struct dvb_ca_en50221 *ca, int slot);
slot               77 include/media/dvb_ca_en50221.h 	int (*slot_shutdown)(struct dvb_ca_en50221 *ca, int slot);
slot               78 include/media/dvb_ca_en50221.h 	int (*slot_ts_enable)(struct dvb_ca_en50221 *ca, int slot);
slot               80 include/media/dvb_ca_en50221.h 	int (*poll_slot_status)(struct dvb_ca_en50221 *ca, int slot, int open);
slot               98 include/media/dvb_ca_en50221.h void dvb_ca_en50221_camchange_irq(struct dvb_ca_en50221 *pubca, int slot,
slot              107 include/media/dvb_ca_en50221.h void dvb_ca_en50221_camready_irq(struct dvb_ca_en50221 *pubca, int slot);
slot              115 include/media/dvb_ca_en50221.h void dvb_ca_en50221_frda_irq(struct dvb_ca_en50221 *ca, int slot);
slot             1205 include/net/sch_generic.h 	int slot = pktlen + rtab->rate.cell_align + rtab->rate.overhead;
slot             1206 include/net/sch_generic.h 	if (slot < 0)
slot             1207 include/net/sch_generic.h 		slot = 0;
slot             1208 include/net/sch_generic.h 	slot >>= rtab->rate.cell_log;
slot             1209 include/net/sch_generic.h 	if (slot > 255)
slot             1210 include/net/sch_generic.h 		return rtab->data[255]*(slot >> 8) + rtab->data[slot & 0xFF];
slot             1211 include/net/sch_generic.h 	return rtab->data[slot];
slot               57 include/sound/ac97/controller.h 	int (*write)(struct ac97_controller *adrv, int slot,
slot               59 include/sound/ac97/controller.h 	int (*read)(struct ac97_controller *adrv, int slot, unsigned short reg);
slot               33 include/sound/mixer_oss.h 	void (*private_free)(struct snd_mixer_oss_slot *slot);
slot               31 include/sound/pxa2xx-lib.h extern int pxa2xx_ac97_read(int slot, unsigned short reg);
slot               32 include/sound/pxa2xx-lib.h extern int pxa2xx_ac97_write(int slot, unsigned short reg, unsigned short val);
slot              947 include/trace/events/afs.h 		     unsigned int slot,
slot              952 include/trace/events/afs.h 	    TP_ARGS(dvnode, why, op, block, slot, f_vnode, f_unique, name),
slot              960 include/trace/events/afs.h 		    __field(unsigned short,		slot		)
slot              974 include/trace/events/afs.h 		    __entry->slot	= slot;
slot              985 include/trace/events/afs.h 		      __entry->block, __entry->slot,
slot              389 include/trace/events/btrfs.h 		 struct btrfs_file_extent_item *fi, int slot, u64 start),
slot              391 include/trace/events/btrfs.h 	TP_ARGS(bi, l, fi, slot,  start),
slot              448 include/trace/events/btrfs.h 		 struct btrfs_file_extent_item *fi, int slot, u64 start),
slot              450 include/trace/events/btrfs.h 	TP_ARGS(bi, l, fi, slot, start)
slot              457 include/trace/events/btrfs.h 		 struct btrfs_file_extent_item *fi, int slot, u64 start),
slot              459 include/trace/events/btrfs.h 	TP_ARGS(bi, l, fi, slot, start)
slot              259 include/trace/events/kvm.h 	TP_PROTO(ulong gfn, int level, struct kvm_memory_slot *slot, int ref),
slot              260 include/trace/events/kvm.h 	TP_ARGS(gfn, level, slot, ref),
slot              272 include/trace/events/kvm.h 		__entry->hva		= ((gfn - slot->base_gfn) <<
slot              273 include/trace/events/kvm.h 					    PAGE_SHIFT) + slot->userspace_addr;
slot               95 include/uapi/linux/edd.h 			__u8 slot;
slot               90 include/uapi/linux/kvm.h 	__u32 slot;
slot               98 include/uapi/linux/kvm.h 	__u32 slot;
slot              489 include/uapi/linux/kvm.h 	__u32 slot;
slot              499 include/uapi/linux/kvm.h 	__u32 slot;
slot               31 include/uapi/linux/pci.h #define PCI_DEVFN(slot, func)	((((slot) & 0x1f) << 3) | ((func) & 0x07))
slot              305 kernel/bpf/lpm_trie.c 	struct lpm_trie_node __rcu **slot;
slot              345 kernel/bpf/lpm_trie.c 	slot = &trie->root;
slot              347 kernel/bpf/lpm_trie.c 	while ((node = rcu_dereference_protected(*slot,
slot              357 kernel/bpf/lpm_trie.c 		slot = &node->child[next_bit];
slot              364 kernel/bpf/lpm_trie.c 		rcu_assign_pointer(*slot, new_node);
slot              378 kernel/bpf/lpm_trie.c 		rcu_assign_pointer(*slot, new_node);
slot              390 kernel/bpf/lpm_trie.c 		rcu_assign_pointer(*slot, new_node);
slot              414 kernel/bpf/lpm_trie.c 	rcu_assign_pointer(*slot, im_node);
slot              589 kernel/bpf/lpm_trie.c 	struct lpm_trie_node __rcu **slot;
slot              603 kernel/bpf/lpm_trie.c 		slot = &trie->root;
slot              606 kernel/bpf/lpm_trie.c 			node = rcu_dereference_protected(*slot, 1);
slot              611 kernel/bpf/lpm_trie.c 				slot = &node->child[0];
slot              616 kernel/bpf/lpm_trie.c 				slot = &node->child[1];
slot              621 kernel/bpf/lpm_trie.c 			RCU_INIT_POINTER(*slot, NULL);
slot              564 kernel/bpf/verifier.c 	int slot = size / SIZE;						\
slot              569 kernel/bpf/verifier.c 		state->COUNT = slot * SIZE;				\
slot              576 kernel/bpf/verifier.c 	new_##FIELD = kmalloc_array(slot, sizeof(struct bpf_##NAME##_state), \
slot              587 kernel/bpf/verifier.c 	state->COUNT = slot * SIZE;					\
slot             1898 kernel/bpf/verifier.c 	int i, slot = -off - 1, spi = slot / BPF_REG_SIZE, err;
slot             1902 kernel/bpf/verifier.c 	err = realloc_func_state(state, round_up(slot + 1, BPF_REG_SIZE),
slot             2015 kernel/bpf/verifier.c 			state->stack[spi].slot_type[(slot - i) % BPF_REG_SIZE] =
slot             2027 kernel/bpf/verifier.c 	int i, slot = -off - 1, spi = slot / BPF_REG_SIZE;
slot             2031 kernel/bpf/verifier.c 	if (reg_state->allocated_stack <= slot) {
slot             2054 kernel/bpf/verifier.c 			if (stype[(slot - i) % BPF_REG_SIZE] != STACK_SPILL) {
slot             2084 kernel/bpf/verifier.c 			if (stype[(slot - i) % BPF_REG_SIZE] == STACK_MISC)
slot             2086 kernel/bpf/verifier.c 			if (stype[(slot - i) % BPF_REG_SIZE] == STACK_ZERO) {
slot             2978 kernel/bpf/verifier.c 	int err, min_off, max_off, i, j, slot, spi;
slot             3054 kernel/bpf/verifier.c 		slot = -i - 1;
slot             3055 kernel/bpf/verifier.c 		spi = slot / BPF_REG_SIZE;
slot             3056 kernel/bpf/verifier.c 		if (state->allocated_stack <= slot)
slot             3058 kernel/bpf/verifier.c 		stype = &state->stack[spi].slot_type[slot % BPF_REG_SIZE];
slot             1378 kernel/irq/irqdomain.c 	void __rcu **slot;
slot             1385 kernel/irq/irqdomain.c 	slot = radix_tree_lookup_slot(&d->domain->revmap_tree, d->hwirq);
slot             1386 kernel/irq/irqdomain.c 	if (slot)
slot             1387 kernel/irq/irqdomain.c 		radix_tree_replace_slot(&d->domain->revmap_tree, slot, d);
slot              109 kernel/kcmp.c  	struct kcmp_epoll_slot slot;
slot              112 kernel/kcmp.c  	if (copy_from_user(&slot, uslot, sizeof(slot)))
slot              124 kernel/kcmp.c  	filp_epoll = fcheck_files(files, slot.efd);
slot              133 kernel/kcmp.c  		filp_tgt = get_epoll_tfile_raw_ptr(filp_epoll, slot.tfd, slot.toff);
slot              134 kernel/kprobes.c 	kprobe_opcode_t *slot = NULL;
slot              147 kernel/kprobes.c 					slot = kip->insns + (i * c->insn_size);
slot              185 kernel/kprobes.c 	slot = kip->insns;
slot              188 kernel/kprobes.c 	return slot;
slot              236 kernel/kprobes.c 		      kprobe_opcode_t *slot, int dirty)
slot              244 kernel/kprobes.c 		idx = ((long)slot - (long)kip->insns) /
slot             1974 kernel/sched/fair.c 		int slot = ps_ratio - NUMA_PERIOD_THRESHOLD;
slot             1975 kernel/sched/fair.c 		if (!slot)
slot             1976 kernel/sched/fair.c 			slot = 1;
slot             1977 kernel/sched/fair.c 		diff = slot * period_slot;
slot             1984 kernel/sched/fair.c 		int slot = lr_ratio - NUMA_PERIOD_THRESHOLD;
slot             1985 kernel/sched/fair.c 		if (!slot)
slot             1986 kernel/sched/fair.c 			slot = 1;
slot             1987 kernel/sched/fair.c 		diff = slot * period_slot;
slot               29 lib/assoc_array.c 	int slot, ret;
slot               41 lib/assoc_array.c 	slot = 0;
slot               51 lib/assoc_array.c 	for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) {
slot               52 lib/assoc_array.c 		ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */
slot               76 lib/assoc_array.c 	slot = 0;
slot               80 lib/assoc_array.c 	for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) {
slot               81 lib/assoc_array.c 		ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */
slot               91 lib/assoc_array.c 	slot = node->parent_slot;
slot               99 lib/assoc_array.c 		slot = shortcut->parent_slot;
slot              106 lib/assoc_array.c 	slot++;
slot              155 lib/assoc_array.c 		int		slot;
slot              181 lib/assoc_array.c 	int slot;
slot              207 lib/assoc_array.c 	slot = segments >> (level & ASSOC_ARRAY_KEY_CHUNK_MASK);
slot              208 lib/assoc_array.c 	slot &= ASSOC_ARRAY_FAN_MASK;
slot              209 lib/assoc_array.c 	ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */
slot              212 lib/assoc_array.c 		 slot, level, (unsigned long)ptr & 3);
slot              220 lib/assoc_array.c 		result->terminal_node.slot = slot;
slot              312 lib/assoc_array.c 	int slot;
slot              323 lib/assoc_array.c 	for (slot = 0; slot < ASSOC_ARRAY_FAN_OUT; slot++) {
slot              324 lib/assoc_array.c 		ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */
slot              349 lib/assoc_array.c 	int slot = -1;
slot              362 lib/assoc_array.c 		pr_devel("[%d] shortcut\n", slot);
slot              366 lib/assoc_array.c 		BUG_ON(slot != -1 && shortcut->parent_slot != slot);
slot              369 lib/assoc_array.c 		slot = -1;
slot              373 lib/assoc_array.c 	pr_devel("[%d] node\n", slot);
slot              376 lib/assoc_array.c 	BUG_ON(slot != -1 && node->parent_slot != slot);
slot              377 lib/assoc_array.c 	slot = 0;
slot              381 lib/assoc_array.c 	for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) {
slot              382 lib/assoc_array.c 		struct assoc_array_ptr *ptr = node->slots[slot];
slot              392 lib/assoc_array.c 			pr_devel("[%d] free leaf\n", slot);
slot              398 lib/assoc_array.c 	slot = node->parent_slot;
slot              411 lib/assoc_array.c 		slot = shortcut->parent_slot;
slot              421 lib/assoc_array.c 	pr_devel("ascend to %p[%d]\n", parent, slot);
slot              424 lib/assoc_array.c 	slot++;
slot              486 lib/assoc_array.c 	int slot, next_slot, free_slot, i, j;
slot              490 lib/assoc_array.c 	edit->segment_cache[ASSOC_ARRAY_FAN_OUT] = result->terminal_node.slot;
slot              632 lib/assoc_array.c 		slot = edit->segment_cache[i];
slot              633 lib/assoc_array.c 		if (slot != 0xff)
slot              635 lib/assoc_array.c 				if (edit->segment_cache[j] == slot)
slot              639 lib/assoc_array.c 	pr_devel("same slot: %x %x [%02x]\n", i, j, slot);
slot              642 lib/assoc_array.c 	BUG_ON(slot >= ASSOC_ARRAY_FAN_OUT);
slot              644 lib/assoc_array.c 	new_n1->parent_slot = slot;
slot              652 lib/assoc_array.c 	BUG_ON(new_n0->slots[slot] != NULL);
slot              653 lib/assoc_array.c 	new_n0->slots[slot] = assoc_array_node_to_ptr(new_n1);
slot              661 lib/assoc_array.c 		if (edit->segment_cache[i] == slot) {
slot              674 lib/assoc_array.c 	if (edit->segment_cache[ASSOC_ARRAY_FAN_OUT] != slot) {
slot             1040 lib/assoc_array.c 	int			slot;
slot             1054 lib/assoc_array.c 	BUG_ON(collapse->slot >= ASSOC_ARRAY_FAN_OUT);
slot             1056 lib/assoc_array.c 	collapse->node->slots[collapse->slot++] = assoc_array_leaf_to_ptr(leaf);
slot             1089 lib/assoc_array.c 	int slot, i;
slot             1108 lib/assoc_array.c 		for (slot = 0; slot < ASSOC_ARRAY_FAN_OUT; slot++) {
slot             1109 lib/assoc_array.c 			ptr = node->slots[slot];
slot             1131 lib/assoc_array.c 	edit->dead_leaf = node->slots[slot];
slot             1132 lib/assoc_array.c 	edit->set[0].ptr = &node->slots[slot];
slot             1222 lib/assoc_array.c 			collapse.slot = 0;
slot             1227 lib/assoc_array.c 			pr_devel("collapsed %d,%lu\n", collapse.slot, new_n0->nr_leaves_on_branch);
slot             1228 lib/assoc_array.c 			BUG_ON(collapse.slot != new_n0->nr_leaves_on_branch - 1);
slot             1465 lib/assoc_array.c 	int keylen, slot, nr_free, next_slot, i;
slot             1517 lib/assoc_array.c 	slot = 0;
slot             1521 lib/assoc_array.c 	for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) {
slot             1522 lib/assoc_array.c 		ptr = node->slots[slot];
slot             1532 lib/assoc_array.c 				new_n->slots[slot] = ptr;
slot             1536 lib/assoc_array.c 		new_ptr_pp = &new_n->slots[slot];
slot             1548 lib/assoc_array.c 	for (slot = 0; slot < ASSOC_ARRAY_FAN_OUT; slot++) {
slot             1549 lib/assoc_array.c 		ptr = new_n->slots[slot];
slot             1559 lib/assoc_array.c 	for (slot = 0; slot < ASSOC_ARRAY_FAN_OUT; slot++) {
slot             1563 lib/assoc_array.c 		ptr = new_n->slots[slot];
slot             1579 lib/assoc_array.c 				 slot, child->nr_leaves_on_branch, nr_free + 1,
slot             1587 lib/assoc_array.c 			new_n->slots[slot] = NULL;
slot             1589 lib/assoc_array.c 			if (slot < next_slot)
slot             1590 lib/assoc_array.c 				next_slot = slot;
slot             1605 lib/assoc_array.c 				 slot, child->nr_leaves_on_branch, nr_free + 1,
slot             1616 lib/assoc_array.c 		for (slot = 0; slot < ASSOC_ARRAY_FAN_OUT; slot++)
slot             1617 lib/assoc_array.c 			if ((ptr = new_n->slots[slot]))
slot             1625 lib/assoc_array.c 			slot = new_n->parent_slot;
slot             1642 lib/assoc_array.c 				slot = new_s->parent_slot = s->parent_slot;
slot             1653 lib/assoc_array.c 			new_s->parent_slot = slot;
slot             1655 lib/assoc_array.c 			new_n->slots[slot] = ptr;
slot             1670 lib/assoc_array.c 		slot = new_s->parent_slot;
slot             1677 lib/assoc_array.c 			new_n->parent_slot = slot;
slot             1685 lib/assoc_array.c 			n->slots[slot] = assoc_array_node_to_ptr(new_n);
slot             1696 lib/assoc_array.c 		slot = shortcut->parent_slot;
slot             1701 lib/assoc_array.c 		slot = node->parent_slot;
slot             1706 lib/assoc_array.c 	slot++;
slot               37 lib/idr.c      	void __rcu **slot;
slot               46 lib/idr.c      	slot = idr_get_free(&idr->idr_rt, &iter, gfp, max - base);
slot               47 lib/idr.c      	if (IS_ERR(slot))
slot               48 lib/idr.c      		return PTR_ERR(slot);
slot               52 lib/idr.c      	radix_tree_iter_replace(&idr->idr_rt, &iter, slot, ptr);
slot              199 lib/idr.c      	void __rcu **slot;
slot              202 lib/idr.c      	radix_tree_for_each_slot(slot, &idr->idr_rt, &iter, 0) {
slot              208 lib/idr.c      		ret = fn(id, rcu_dereference_raw(*slot), data);
slot              230 lib/idr.c      	void __rcu **slot;
slot              236 lib/idr.c      	radix_tree_for_each_slot(slot, &idr->idr_rt, &iter, id) {
slot              237 lib/idr.c      		entry = rcu_dereference_raw(*slot);
slot              242 lib/idr.c      		if (slot != &idr->idr_rt.xa_head && !xa_is_retry(entry))
slot              244 lib/idr.c      		slot = radix_tree_iter_retry(&iter);
slot              246 lib/idr.c      	if (!slot)
slot              293 lib/idr.c      	void __rcu **slot = NULL;
slot              298 lib/idr.c      	entry = __radix_tree_lookup(&idr->idr_rt, id, &node, &slot);
slot              299 lib/idr.c      	if (!slot || radix_tree_tag_get(&idr->idr_rt, id, IDR_FREE))
slot              302 lib/idr.c      	__radix_tree_replace(&idr->idr_rt, node, slot, ptr);
slot               91 lib/lru_cache.c 	struct hlist_head *slot = NULL;
slot              107 lib/lru_cache.c 	slot = kcalloc(e_count, sizeof(struct hlist_head), GFP_KERNEL);
slot              108 lib/lru_cache.c 	if (!slot)
slot              130 lib/lru_cache.c 	lc->lc_slot = slot;
slot              156 lib/lru_cache.c 	kfree(slot);
slot               89 lib/radix-tree.c get_slot_offset(const struct radix_tree_node *parent, void __rcu **slot)
slot               91 lib/radix-tree.c 	return parent ? slot - parent->slots : 0;
slot              612 lib/radix-tree.c 	void __rcu **slot = (void __rcu **)&root->xa_head;
slot              637 lib/radix-tree.c 			rcu_assign_pointer(*slot, node_to_entry(child));
slot              646 lib/radix-tree.c 		slot = &node->slots[offset];
slot              652 lib/radix-tree.c 		*slotp = slot;
slot              691 lib/radix-tree.c 		void __rcu **slot, void *item, bool replace)
slot              693 lib/radix-tree.c 	if (*slot)
slot              695 lib/radix-tree.c 	rcu_assign_pointer(*slot, item);
slot              716 lib/radix-tree.c 	void __rcu **slot;
slot              721 lib/radix-tree.c 	error = __radix_tree_create(root, index, &node, &slot);
slot              725 lib/radix-tree.c 	error = insert_entries(node, slot, item, false);
slot              730 lib/radix-tree.c 		unsigned offset = get_slot_offset(node, slot);
slot              762 lib/radix-tree.c 	void __rcu **slot;
slot              766 lib/radix-tree.c 	slot = (void __rcu **)&root->xa_head;
slot              776 lib/radix-tree.c 		slot = parent->slots + offset;
slot              786 lib/radix-tree.c 		*slotp = slot;
slot              806 lib/radix-tree.c 	void __rcu **slot;
slot              808 lib/radix-tree.c 	if (!__radix_tree_lookup(root, index, NULL, &slot))
slot              810 lib/radix-tree.c 	return slot;
slot              832 lib/radix-tree.c static void replace_slot(void __rcu **slot, void *item,
slot              840 lib/radix-tree.c 	rcu_assign_pointer(*slot, item);
slot              860 lib/radix-tree.c 				struct radix_tree_node *node, void __rcu **slot,
slot              864 lib/radix-tree.c 		unsigned offset = get_slot_offset(node, slot);
slot              886 lib/radix-tree.c 			  void __rcu **slot, void *item)
slot              888 lib/radix-tree.c 	void *old = rcu_dereference_raw(*slot);
slot              890 lib/radix-tree.c 	int count = calculate_count(root, node, slot, item, old);
slot              897 lib/radix-tree.c 	WARN_ON_ONCE(!node && (slot != (void __rcu **)&root->xa_head) &&
slot              899 lib/radix-tree.c 	replace_slot(slot, item, node, count, values);
slot              924 lib/radix-tree.c 			     void __rcu **slot, void *item)
slot              926 lib/radix-tree.c 	__radix_tree_replace(root, NULL, slot, item);
slot              941 lib/radix-tree.c 				void __rcu **slot, void *item)
slot              943 lib/radix-tree.c 	__radix_tree_replace(root, iter->node, slot, item);
slot             1144 lib/radix-tree.c void __rcu **radix_tree_iter_resume(void __rcu **slot,
slot             1147 lib/radix-tree.c 	slot++;
slot             1217 lib/radix-tree.c 					void *slot = rcu_dereference_raw(
slot             1219 lib/radix-tree.c 					if (slot)
slot             1275 lib/radix-tree.c 	void __rcu **slot;
slot             1281 lib/radix-tree.c 	radix_tree_for_each_slot(slot, root, &iter, first_index) {
slot             1282 lib/radix-tree.c 		results[ret] = rcu_dereference_raw(*slot);
slot             1286 lib/radix-tree.c 			slot = radix_tree_iter_retry(&iter);
slot             1316 lib/radix-tree.c 	void __rcu **slot;
slot             1322 lib/radix-tree.c 	radix_tree_for_each_tagged(slot, root, &iter, first_index, tag) {
slot             1323 lib/radix-tree.c 		results[ret] = rcu_dereference_raw(*slot);
slot             1327 lib/radix-tree.c 			slot = radix_tree_iter_retry(&iter);
slot             1357 lib/radix-tree.c 	void __rcu **slot;
slot             1363 lib/radix-tree.c 	radix_tree_for_each_tagged(slot, root, &iter, first_index, tag) {
slot             1364 lib/radix-tree.c 		results[ret] = slot;
slot             1374 lib/radix-tree.c 				struct radix_tree_node *node, void __rcu **slot)
slot             1376 lib/radix-tree.c 	void *old = rcu_dereference_raw(*slot);
slot             1378 lib/radix-tree.c 	unsigned offset = get_slot_offset(node, slot);
slot             1387 lib/radix-tree.c 	replace_slot(slot, NULL, node, -1, values);
slot             1404 lib/radix-tree.c 				struct radix_tree_iter *iter, void __rcu **slot)
slot             1406 lib/radix-tree.c 	if (__radix_tree_delete(root, iter->node, slot))
slot             1426 lib/radix-tree.c 	void __rcu **slot = NULL;
slot             1429 lib/radix-tree.c 	entry = __radix_tree_lookup(root, index, &node, &slot);
slot             1430 lib/radix-tree.c 	if (!slot)
slot             1433 lib/radix-tree.c 						get_slot_offset(node, slot))))
slot             1439 lib/radix-tree.c 	__radix_tree_delete(root, node, slot);
slot             1490 lib/radix-tree.c 	void __rcu **slot = (void __rcu **)&root->xa_head;
slot             1520 lib/radix-tree.c 			rcu_assign_pointer(*slot, node_to_entry(child));
slot             1543 lib/radix-tree.c 		slot = &node->slots[offset];
slot             1554 lib/radix-tree.c 	return slot;
slot              662 lib/rhashtable.c 	iter->slot = 0;
slot              724 lib/rhashtable.c 		iter->slot = 0;
slot              736 lib/rhashtable.c 		rht_for_each_rcu(p, iter->walker.tbl, iter->slot) {
slot              751 lib/rhashtable.c 		rht_for_each_rcu(p, iter->walker.tbl, iter->slot) {
slot              791 lib/rhashtable.c 	for (; iter->slot < tbl->size; iter->slot++) {
slot              794 lib/rhashtable.c 		rht_for_each_rcu(p, tbl, iter->slot) {
slot              830 lib/rhashtable.c 		iter->slot = 0;
slot              875 lib/rhashtable.c 		iter->slot++;
slot              639 lib/xarray.c   	void __rcu **slot;
slot              655 lib/xarray.c   		slot = &xa->xa_head;
slot              663 lib/xarray.c   		slot = &node->slots[offset];
slot              667 lib/xarray.c   		slot = &xa->xa_head;
slot              678 lib/xarray.c   			rcu_assign_pointer(*slot, xa_mk_node(node));
slot              685 lib/xarray.c   		slot = &node->slots[xas->xa_offset];
slot              772 lib/xarray.c   	void __rcu **slot = &xas->xa->xa_head;
slot              798 lib/xarray.c   		slot = &node->slots[offset];
slot              813 lib/xarray.c   		rcu_assign_pointer(*slot, entry);
slot              835 lib/xarray.c   		slot++;
slot              201 lib/xz/xz_dec_bcj.c 	uint32_t slot;
slot              224 lib/xz/xz_dec_bcj.c 		for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) {
slot              225 lib/xz/xz_dec_bcj.c 			if (((mask >> slot) & 1) == 0)
slot              715 mm/backing-dev.c 	void **slot;
slot              721 mm/backing-dev.c 	radix_tree_for_each_slot(slot, &bdi->cgwb_tree, &iter, 0)
slot              722 mm/backing-dev.c 		cgwb_kill(*slot);
slot              112 mm/early_ioremap.c 	int i, slot;
slot              116 mm/early_ioremap.c 	slot = -1;
slot              119 mm/early_ioremap.c 			slot = i;
slot              124 mm/early_ioremap.c 	if (WARN(slot < 0, "%s(%08llx, %08lx) not found slot\n",
slot              133 mm/early_ioremap.c 	prev_size[slot] = size;
slot              151 mm/early_ioremap.c 	idx = FIX_BTMAP_BEGIN - NR_FIX_BTMAPS*slot;
slot              162 mm/early_ioremap.c 	     __func__, (u64)phys_addr, size, slot, offset, slot_virt[slot]);
slot              164 mm/early_ioremap.c 	prev_map[slot] = (void __iomem *)(offset + slot_virt[slot]);
slot              165 mm/early_ioremap.c 	return prev_map[slot];
slot              174 mm/early_ioremap.c 	int i, slot;
slot              176 mm/early_ioremap.c 	slot = -1;
slot              179 mm/early_ioremap.c 			slot = i;
slot              184 mm/early_ioremap.c 	if (WARN(slot < 0, "early_iounmap(%p, %08lx) not found slot\n",
slot              188 mm/early_ioremap.c 	if (WARN(prev_size[slot] != size,
slot              190 mm/early_ioremap.c 		 addr, size, slot, prev_size[slot]))
slot              194 mm/early_ioremap.c 	     addr, size, slot);
slot              203 mm/early_ioremap.c 	idx = FIX_BTMAP_BEGIN - NR_FIX_BTMAPS*slot;
slot              212 mm/early_ioremap.c 	prev_map[slot] = NULL;
slot              426 mm/ksm.c       	struct mm_slot *slot;
slot              428 mm/ksm.c       	hash_for_each_possible(mm_slots_hash, slot, link, (unsigned long)mm)
slot              429 mm/ksm.c       		if (slot->mm == mm)
slot              430 mm/ksm.c       			return slot;
slot             2227 mm/ksm.c       	struct mm_slot *slot;
slot             2235 mm/ksm.c       	slot = ksm_scan.mm_slot;
slot             2236 mm/ksm.c       	if (slot == &ksm_mm_head) {
slot             2273 mm/ksm.c       		slot = list_entry(slot->mm_list.next, struct mm_slot, mm_list);
slot             2274 mm/ksm.c       		ksm_scan.mm_slot = slot;
slot             2280 mm/ksm.c       		if (slot == &ksm_mm_head)
slot             2284 mm/ksm.c       		ksm_scan.rmap_list = &slot->rmap_list;
slot             2287 mm/ksm.c       	mm = slot->mm;
slot             2314 mm/ksm.c       				rmap_item = get_next_rmap_item(slot,
slot             2333 mm/ksm.c       		ksm_scan.rmap_list = &slot->rmap_list;
slot             2339 mm/ksm.c       	remove_trailing_rmap_items(slot, ksm_scan.rmap_list);
slot             2342 mm/ksm.c       	ksm_scan.mm_slot = list_entry(slot->mm_list.next,
slot             2354 mm/ksm.c       		hash_del(&slot->link);
slot             2355 mm/ksm.c       		list_del(&slot->mm_list);
slot             2358 mm/ksm.c       		free_mm_slot(slot);
slot             2375 mm/ksm.c       	slot = ksm_scan.mm_slot;
slot             2376 mm/ksm.c       	if (slot != &ksm_mm_head)
slot               36 mm/percpu-stats.c 	int slot, max_nr_alloc;
slot               39 mm/percpu-stats.c 	for (slot = 0; slot < pcpu_nr_slots; slot++)
slot               40 mm/percpu-stats.c 		list_for_each_entry(chunk, &pcpu_slot[slot], list)
slot              138 mm/percpu-stats.c 	int slot, max_nr_alloc;
slot              205 mm/percpu-stats.c 	for (slot = 0; slot < pcpu_nr_slots; slot++) {
slot              206 mm/percpu-stats.c 		list_for_each_entry(chunk, &pcpu_slot[slot], list) {
slot              525 mm/percpu.c    static void __pcpu_chunk_move(struct pcpu_chunk *chunk, int slot,
slot              530 mm/percpu.c    			list_move(&chunk->list, &pcpu_slot[slot]);
slot              532 mm/percpu.c    			list_move_tail(&chunk->list, &pcpu_slot[slot]);
slot              536 mm/percpu.c    static void pcpu_chunk_move(struct pcpu_chunk *chunk, int slot)
slot              538 mm/percpu.c    	__pcpu_chunk_move(chunk, slot, true);
slot             1596 mm/percpu.c    	int slot, off, cpu, ret;
slot             1655 mm/percpu.c    	for (slot = pcpu_size_to_slot(size); slot < pcpu_nr_slots; slot++) {
slot             1656 mm/percpu.c    		list_for_each_entry_safe(chunk, next, &pcpu_slot[slot], list) {
slot             1660 mm/percpu.c    				if (slot < PCPU_SLOT_FAIL_THRESHOLD)
slot             1839 mm/percpu.c    	int slot, nr_to_pop, ret;
slot             1895 mm/percpu.c    	for (slot = pcpu_size_to_slot(PAGE_SIZE); slot < pcpu_nr_slots; slot++) {
slot             1902 mm/percpu.c    		list_for_each_entry(chunk, &pcpu_slot[slot], list) {
slot              929 mm/swapfile.c  static int swap_alloc_cluster(struct swap_info_struct *si, swp_entry_t *slot)
slot              959 mm/swapfile.c  	*slot = swp_entry(si->type, offset);
slot               91 mm/z3fold.c    	unsigned long slot[BUDDY_MASK + 1];
slot              205 mm/z3fold.c    		memset(slots->slot, 0, sizeof(slots->slot));
slot              236 mm/z3fold.c    		if (slots->slot[i]) {
slot              392 mm/z3fold.c    	slots->slot[idx] = h;
slot              393 mm/z3fold.c    	return (unsigned long)&slots->slot[idx];
slot             1158 net/bridge/br_multicast.c 	struct hlist_node *slot = NULL;
slot             1166 net/bridge/br_multicast.c 		slot = &p->rlist;
slot             1169 net/bridge/br_multicast.c 	if (slot)
slot             1170 net/bridge/br_multicast.c 		hlist_add_behind_rcu(&port->rlist, slot);
slot              360 net/ipv4/inet_hashtables.c 	unsigned int slot = hash & hashinfo->ehash_mask;
slot              361 net/ipv4/inet_hashtables.c 	struct inet_ehash_bucket *head = &hashinfo->ehash[slot];
slot              385 net/ipv4/inet_hashtables.c 	if (get_nulls_value(node) != slot)
slot              262 net/ipv4/inet_timewait_sock.c 	unsigned int slot;
slot              264 net/ipv4/inet_timewait_sock.c 	for (slot = 0; slot <= hashinfo->ehash_mask; slot++) {
slot              265 net/ipv4/inet_timewait_sock.c 		struct inet_ehash_bucket *head = &hashinfo->ehash[slot];
slot              297 net/ipv4/inet_timewait_sock.c 		if (get_nulls_value(node) != slot)
slot               62 net/ipv4/raw_diag.c 	int slot;
slot               68 net/ipv4/raw_diag.c 	for (slot = 0; slot < RAW_HTABLE_SIZE; slot++) {
slot               69 net/ipv4/raw_diag.c 		sk_for_each(s, &hashinfo->ht[slot]) {
slot              153 net/ipv4/raw_diag.c 	int num, s_num, slot, s_slot;
slot              163 net/ipv4/raw_diag.c 	for (slot = s_slot; slot < RAW_HTABLE_SIZE; s_num = 0, slot++) {
slot              166 net/ipv4/raw_diag.c 		sk_for_each(sk, &hashinfo->ht[slot]) {
slot              191 net/ipv4/raw_diag.c 	cb->args[0] = slot;
slot             2387 net/ipv4/udp.c 	unsigned int slot = udp_hashfn(net, hnum, udp_table.mask);
slot             2388 net/ipv4/udp.c 	struct udp_hslot *hslot = &udp_table.hash[slot];
slot              101 net/ipv4/udp_diag.c 	int num, s_num, slot, s_slot;
slot              106 net/ipv4/udp_diag.c 	for (slot = s_slot; slot <= table->mask; s_num = 0, slot++) {
slot              107 net/ipv4/udp_diag.c 		struct udp_hslot *hslot = &table->hash[slot];
slot              145 net/ipv4/udp_diag.c 	cb->args[0] = slot;
slot               64 net/ipv6/inet6_hashtables.c 	unsigned int slot = hash & hashinfo->ehash_mask;
slot               65 net/ipv6/inet6_hashtables.c 	struct inet_ehash_bucket *head = &hashinfo->ehash[slot];
slot               83 net/ipv6/inet6_hashtables.c 	if (get_nulls_value(node) != slot)
slot              483 net/llc/llc_conn.c 	int slot = llc_sk_laddr_hashfn(sap, laddr);
slot              484 net/llc/llc_conn.c 	struct hlist_nulls_head *laddr_hb = &sap->sk_laddr_hash[slot];
slot              507 net/llc/llc_conn.c 	if (unlikely(get_nulls_value(node) != slot))
slot              542 net/llc/llc_conn.c 	int slot = llc_sk_laddr_hashfn(sap, laddr);
slot              543 net/llc/llc_conn.c 	struct hlist_nulls_head *laddr_hb = &sap->sk_laddr_hash[slot];
slot              566 net/llc/llc_conn.c 	if (unlikely(get_nulls_value(node) != slot))
slot              317 net/llc/llc_sap.c 	int slot = llc_sk_laddr_hashfn(sap, laddr);
slot              318 net/llc/llc_sap.c 	struct hlist_nulls_head *laddr_hb = &sap->sk_laddr_hash[slot];
slot              341 net/llc/llc_sap.c 	if (unlikely(get_nulls_value(node) != slot))
slot              309 net/rxrpc/peer_event.c 	int slot;
slot              325 net/rxrpc/peer_event.c 			slot = keepalive_at - base;
slot              327 net/rxrpc/peer_event.c 			       cursor, peer->debug_id, slot, &peer->srx.transport);
slot              332 net/rxrpc/peer_event.c 				slot = RXRPC_KEEPALIVE_TIME;
slot              339 net/rxrpc/peer_event.c 			slot += cursor;
slot              340 net/rxrpc/peer_event.c 			slot &= mask;
slot              343 net/rxrpc/peer_event.c 				      &rxnet->peer_keepalive[slot & mask]);
slot              558 net/sched/sch_api.c 	int pkt_len, slot;
slot              564 net/sched/sch_api.c 	slot = pkt_len + stab->szopts.cell_align;
slot              565 net/sched/sch_api.c 	if (unlikely(slot < 0))
slot              566 net/sched/sch_api.c 		slot = 0;
slot              568 net/sched/sch_api.c 	slot >>= stab->szopts.cell_log;
slot              569 net/sched/sch_api.c 	if (likely(slot < stab->szopts.tsize))
slot              570 net/sched/sch_api.c 		pkt_len = stab->data[slot];
slot              573 net/sched/sch_api.c 				(slot / stab->szopts.tsize) +
slot              574 net/sched/sch_api.c 				stab->data[slot % stab->szopts.tsize];
slot              145 net/sched/sch_netem.c 	} slot;
slot              643 net/sched/sch_netem.c 	q->slot.slot_next = now + next_delay;
slot              644 net/sched/sch_netem.c 	q->slot.packets_left = q->slot_config.max_packets;
slot              645 net/sched/sch_netem.c 	q->slot.bytes_left = q->slot_config.max_bytes;
slot              696 net/sched/sch_netem.c 		if (q->slot.slot_next && q->slot.slot_next < time_to_send)
slot              699 net/sched/sch_netem.c 		if (time_to_send <= now && q->slot.slot_next <= now) {
slot              710 net/sched/sch_netem.c 			if (q->slot.slot_next) {
slot              711 net/sched/sch_netem.c 				q->slot.packets_left--;
slot              712 net/sched/sch_netem.c 				q->slot.bytes_left -= qdisc_pkt_len(skb);
slot              713 net/sched/sch_netem.c 				if (q->slot.packets_left <= 0 ||
slot              714 net/sched/sch_netem.c 				    q->slot.bytes_left <= 0)
slot              744 net/sched/sch_netem.c 					       q->slot.slot_next));
slot              815 net/sched/sch_netem.c 	q->slot.packets_left = q->slot_config.max_packets;
slot              816 net/sched/sch_netem.c 	q->slot.bytes_left = q->slot_config.max_bytes;
slot              819 net/sched/sch_netem.c 		q->slot.slot_next = ktime_get_ns();
slot              821 net/sched/sch_netem.c 		q->slot.slot_next = 0;
slot             1140 net/sched/sch_netem.c 	struct tc_netem_slot slot;
slot             1197 net/sched/sch_netem.c 		slot = q->slot_config;
slot             1198 net/sched/sch_netem.c 		if (slot.max_packets == INT_MAX)
slot             1199 net/sched/sch_netem.c 			slot.max_packets = 0;
slot             1200 net/sched/sch_netem.c 		if (slot.max_bytes == INT_MAX)
slot             1201 net/sched/sch_netem.c 			slot.max_bytes = 0;
slot             1202 net/sched/sch_netem.c 		if (nla_put(skb, TCA_NETEM_SLOT, sizeof(slot), &slot))
slot              879 net/sched/sch_qfq.c 	u64 slot = (roundedS - grp->S) >> grp->slot_shift;
slot              882 net/sched/sch_qfq.c 	if (unlikely(slot > QFQ_MAX_SLOTS - 2)) {
slot              887 net/sched/sch_qfq.c 		slot = QFQ_MAX_SLOTS - 2;
slot              890 net/sched/sch_qfq.c 	i = (grp->front + slot) % QFQ_MAX_SLOTS;
slot              893 net/sched/sch_qfq.c 	__set_bit(slot, &grp->full_slots);
slot               69 net/sched/sch_sfb.c 	u8		slot;		/* current active bins (0 or 1) */
slot              102 net/sched/sch_sfb.c static u32 sfb_hash(const struct sk_buff *skb, u32 slot)
slot              104 net/sched/sch_sfb.c 	return sfb_skb_cb(skb)->hashes[slot];
slot              123 net/sched/sch_sfb.c static void increment_one_qlen(u32 sfbhash, u32 slot, struct sfb_sched_data *q)
slot              126 net/sched/sch_sfb.c 	struct sfb_bucket *b = &q->bins[slot].bins[0][0];
slot              151 net/sched/sch_sfb.c static void decrement_one_qlen(u32 sfbhash, u32 slot,
slot              155 net/sched/sch_sfb.c 	struct sfb_bucket *b = &q->bins[slot].bins[0][0];
slot              202 net/sched/sch_sfb.c 	const struct sfb_bucket *b = &q->bins[q->slot].bins[0][0];
slot              218 net/sched/sch_sfb.c static void sfb_init_perturbation(u32 slot, struct sfb_sched_data *q)
slot              220 net/sched/sch_sfb.c 	get_random_bytes(&q->bins[slot].perturbation,
slot              221 net/sched/sch_sfb.c 			 sizeof(q->bins[slot].perturbation));
slot              226 net/sched/sch_sfb.c 	sfb_init_perturbation(q->slot, q);
slot              227 net/sched/sch_sfb.c 	q->slot ^= 1;
slot              290 net/sched/sch_sfb.c 	u32 slot = q->slot;
slot              318 net/sched/sch_sfb.c 		sfbhash = siphash_1u32(salt, &q->bins[slot].perturbation);
slot              320 net/sched/sch_sfb.c 		sfbhash = skb_get_hash_perturb(skb, &q->bins[slot].perturbation);
slot              326 net/sched/sch_sfb.c 	sfb_skb_cb(skb)->hashes[slot] = sfbhash;
slot              330 net/sched/sch_sfb.c 		struct sfb_bucket *b = &q->bins[slot].bins[i][hash];
slot              343 net/sched/sch_sfb.c 	slot ^= 1;
slot              344 net/sched/sch_sfb.c 	sfb_skb_cb(skb)->hashes[slot] = 0;
slot              356 net/sched/sch_sfb.c 			    &q->bins[slot].perturbation);
slot              359 net/sched/sch_sfb.c 			sfb_skb_cb(skb)->hashes[slot] = sfbhash;
slot              363 net/sched/sch_sfb.c 				struct sfb_bucket *b = &q->bins[slot].bins[i][hash];
slot              458 net/sched/sch_sfb.c 	q->slot = 0;
slot              539 net/sched/sch_sfb.c 	q->slot = 0;
slot              206 net/sched/sch_sfq.c 	struct sfq_slot *slot = &q->slots[x];
slot              207 net/sched/sch_sfq.c 	int qlen = slot->qlen;
slot              212 net/sched/sch_sfq.c 	slot->dep.next = n;
slot              213 net/sched/sch_sfq.c 	slot->dep.prev = p;
slot              257 net/sched/sch_sfq.c static inline struct sk_buff *slot_dequeue_tail(struct sfq_slot *slot)
slot              259 net/sched/sch_sfq.c 	struct sk_buff *skb = slot->skblist_prev;
slot              261 net/sched/sch_sfq.c 	slot->skblist_prev = skb->prev;
slot              262 net/sched/sch_sfq.c 	skb->prev->next = (struct sk_buff *)slot;
slot              268 net/sched/sch_sfq.c static inline struct sk_buff *slot_dequeue_head(struct sfq_slot *slot)
slot              270 net/sched/sch_sfq.c 	struct sk_buff *skb = slot->skblist_next;
slot              272 net/sched/sch_sfq.c 	slot->skblist_next = skb->next;
slot              273 net/sched/sch_sfq.c 	skb->next->prev = (struct sk_buff *)slot;
slot              278 net/sched/sch_sfq.c static inline void slot_queue_init(struct sfq_slot *slot)
slot              280 net/sched/sch_sfq.c 	memset(slot, 0, sizeof(*slot));
slot              281 net/sched/sch_sfq.c 	slot->skblist_prev = slot->skblist_next = (struct sk_buff *)slot;
slot              285 net/sched/sch_sfq.c static inline void slot_queue_add(struct sfq_slot *slot, struct sk_buff *skb)
slot              287 net/sched/sch_sfq.c 	skb->prev = slot->skblist_prev;
slot              288 net/sched/sch_sfq.c 	skb->next = (struct sk_buff *)slot;
slot              289 net/sched/sch_sfq.c 	slot->skblist_prev->next = skb;
slot              290 net/sched/sch_sfq.c 	slot->skblist_prev = skb;
slot              299 net/sched/sch_sfq.c 	struct sfq_slot *slot;
slot              304 net/sched/sch_sfq.c 		slot = &q->slots[x];
slot              306 net/sched/sch_sfq.c 		skb = q->headdrop ? slot_dequeue_head(slot) : slot_dequeue_tail(slot);
slot              308 net/sched/sch_sfq.c 		slot->backlog -= len;
slot              319 net/sched/sch_sfq.c 		slot = &q->slots[x];
slot              320 net/sched/sch_sfq.c 		q->tail->next = slot->next;
slot              321 net/sched/sch_sfq.c 		q->ht[slot->hash] = SFQ_EMPTY_SLOT;
slot              351 net/sched/sch_sfq.c 	struct sfq_slot *slot;
slot              366 net/sched/sch_sfq.c 	slot = &q->slots[x];
slot              372 net/sched/sch_sfq.c 		slot = &q->slots[x];
slot              373 net/sched/sch_sfq.c 		slot->hash = hash;
slot              374 net/sched/sch_sfq.c 		slot->backlog = 0; /* should already be 0 anyway... */
slot              375 net/sched/sch_sfq.c 		red_set_vars(&slot->vars);
slot              379 net/sched/sch_sfq.c 		slot->vars.qavg = red_calc_qavg_no_idle_time(q->red_parms,
slot              380 net/sched/sch_sfq.c 							&slot->vars,
slot              381 net/sched/sch_sfq.c 							slot->backlog);
slot              383 net/sched/sch_sfq.c 				   &slot->vars,
slot              384 net/sched/sch_sfq.c 				   slot->vars.qavg)) {
slot              393 net/sched/sch_sfq.c 				    INET_ECN_set_ce(slot->skblist_next)) {
slot              410 net/sched/sch_sfq.c 				    INET_ECN_set_ce(slot->skblist_next)) {
slot              424 net/sched/sch_sfq.c 	if (slot->qlen >= q->maxdepth) {
slot              430 net/sched/sch_sfq.c 		head = slot_dequeue_head(slot);
slot              433 net/sched/sch_sfq.c 		slot->backlog -= delta;
slot              436 net/sched/sch_sfq.c 		slot_queue_add(slot, skb);
slot              443 net/sched/sch_sfq.c 	slot->backlog += qdisc_pkt_len(skb);
slot              444 net/sched/sch_sfq.c 	slot_queue_add(slot, skb);
slot              446 net/sched/sch_sfq.c 	if (slot->qlen == 1) {		/* The flow is new */
slot              448 net/sched/sch_sfq.c 			slot->next = x;
slot              450 net/sched/sch_sfq.c 			slot->next = q->tail->next;
slot              457 net/sched/sch_sfq.c 		q->tail = slot;
slot              459 net/sched/sch_sfq.c 		slot->allot = q->scaled_quantum;
slot              464 net/sched/sch_sfq.c 	qlen = slot->qlen;
slot              469 net/sched/sch_sfq.c 	if (qlen != slot->qlen) {
slot              485 net/sched/sch_sfq.c 	struct sfq_slot *slot;
slot              493 net/sched/sch_sfq.c 	slot = &q->slots[a];
slot              494 net/sched/sch_sfq.c 	if (slot->allot <= 0) {
slot              495 net/sched/sch_sfq.c 		q->tail = slot;
slot              496 net/sched/sch_sfq.c 		slot->allot += q->scaled_quantum;
slot              499 net/sched/sch_sfq.c 	skb = slot_dequeue_head(slot);
slot              504 net/sched/sch_sfq.c 	slot->backlog -= qdisc_pkt_len(skb);
slot              506 net/sched/sch_sfq.c 	if (slot->qlen == 0) {
slot              507 net/sched/sch_sfq.c 		q->ht[slot->hash] = SFQ_EMPTY_SLOT;
slot              508 net/sched/sch_sfq.c 		next_a = slot->next;
slot              515 net/sched/sch_sfq.c 		slot->allot -= SFQ_ALLOT_SIZE(qdisc_pkt_len(skb));
slot              540 net/sched/sch_sfq.c 	struct sfq_slot *slot;
slot              548 net/sched/sch_sfq.c 		slot = &q->slots[i];
slot              549 net/sched/sch_sfq.c 		if (!slot->qlen)
slot              551 net/sched/sch_sfq.c 		while (slot->qlen) {
slot              552 net/sched/sch_sfq.c 			skb = slot_dequeue_head(slot);
slot              556 net/sched/sch_sfq.c 		slot->backlog = 0;
slot              557 net/sched/sch_sfq.c 		red_set_vars(&slot->vars);
slot              558 net/sched/sch_sfq.c 		q->ht[slot->hash] = SFQ_EMPTY_SLOT;
slot              566 net/sched/sch_sfq.c 		slot = &q->slots[x];
slot              578 net/sched/sch_sfq.c 			slot = &q->slots[x];
slot              579 net/sched/sch_sfq.c 			slot->hash = hash;
slot              581 net/sched/sch_sfq.c 		if (slot->qlen >= q->maxdepth)
slot              583 net/sched/sch_sfq.c 		slot_queue_add(slot, skb);
slot              585 net/sched/sch_sfq.c 			slot->vars.qavg = red_calc_qavg(q->red_parms,
slot              586 net/sched/sch_sfq.c 							&slot->vars,
slot              587 net/sched/sch_sfq.c 							slot->backlog);
slot              588 net/sched/sch_sfq.c 		slot->backlog += qdisc_pkt_len(skb);
slot              590 net/sched/sch_sfq.c 		if (slot->qlen == 1) {		/* The flow is new */
slot              592 net/sched/sch_sfq.c 				slot->next = x;
slot              594 net/sched/sch_sfq.c 				slot->next = q->tail->next;
slot              597 net/sched/sch_sfq.c 			q->tail = slot;
slot              598 net/sched/sch_sfq.c 			slot->allot = q->scaled_quantum;
slot              871 net/sched/sch_sfq.c 		const struct sfq_slot *slot = &q->slots[idx];
slot              873 net/sched/sch_sfq.c 		xstats.allot = slot->allot << SFQ_ALLOT_SHIFT;
slot              874 net/sched/sch_sfq.c 		qs.qlen = slot->qlen;
slot              875 net/sched/sch_sfq.c 		qs.backlog = slot->backlog;
slot              198 net/unix/diag.c 	int num, s_num, slot, s_slot;
slot              207 net/unix/diag.c 	for (slot = s_slot;
slot              208 net/unix/diag.c 	     slot < ARRAY_SIZE(unix_socket_table);
slot              209 net/unix/diag.c 	     s_num = 0, slot++) {
slot              213 net/unix/diag.c 		sk_for_each(sk, &unix_socket_table[slot]) {
slot              231 net/unix/diag.c 	cb->args[0] = slot;
slot              971 scripts/mod/file2alias.c 			if ((*matches)[j].slot &&
slot              972 scripts/mod/file2alias.c 			    (*matches)[j].slot == dmi_fields[i].field) {
slot              669 security/keys/keyring.c 		int slot;
slot              676 security/keys/keyring.c 	int sp = 0, slot;
slot              769 security/keys/keyring.c 	slot = 0;
slot              772 security/keys/keyring.c 	for (; slot < ASSOC_ARRAY_FAN_OUT; slot++) {
slot              773 security/keys/keyring.c 		ptr = READ_ONCE(node->slots[slot]);
slot              800 security/keys/keyring.c 		stack[sp].slot = slot;
slot              812 security/keys/keyring.c 	slot = node->parent_slot;
slot              817 security/keys/keyring.c 		slot = shortcut->parent_slot;
slot              822 security/keys/keyring.c 	slot++;
slot              829 security/keys/keyring.c 		kdebug("ascend %d", slot);
slot              847 security/keys/keyring.c 	slot = stack[sp].slot + 1;
slot              848 security/keys/keyring.c 	kdebug("ascend to %d [%d]", keyring->serial, slot);
slot               39 sound/ac97/bus.c static int ac97_unbound_ctrl_write(struct ac97_controller *adrv, int slot,
slot               45 sound/ac97/bus.c static int ac97_unbound_ctrl_read(struct ac97_controller *adrv, int slot,
slot               46 sound/arm/pxa2xx-ac97-lib.c int pxa2xx_ac97_read(int slot, unsigned short reg)
slot               51 sound/arm/pxa2xx-ac97-lib.c 	if (slot > 0)
slot               58 sound/arm/pxa2xx-ac97-lib.c 		reg_addr = slot ? &SMC_REG_BASE : &PMC_REG_BASE;
slot               60 sound/arm/pxa2xx-ac97-lib.c 		reg_addr = slot ? &SAC_REG_BASE : &PAC_REG_BASE;
slot               89 sound/arm/pxa2xx-ac97-lib.c int pxa2xx_ac97_write(int slot, unsigned short reg, unsigned short val)
slot               98 sound/arm/pxa2xx-ac97-lib.c 		reg_addr = slot ? &SMC_REG_BASE : &PMC_REG_BASE;
slot              100 sound/arm/pxa2xx-ac97-lib.c 		reg_addr = slot ? &SAC_REG_BASE : &PAC_REG_BASE;
slot               63 sound/atmel/ac97c.h #define AC97C_CH_MASK(slot)						\
slot               64 sound/atmel/ac97c.h 	(0x7 << (3 * (AC97_SLOT_##slot - 3)))
slot               65 sound/atmel/ac97c.h #define AC97C_CH_ASSIGN(slot, channel)					\
slot               66 sound/atmel/ac97c.h 	(AC97C_CHANNEL_##channel << (3 * (AC97_SLOT_##slot - 3)))
slot               87 sound/core/init.c static int check_empty_slot(struct module *module, int slot)
slot               89 sound/core/init.c 	return !slots[slot] || !*slots[slot];
slot               99 sound/core/init.c 	int slot;
slot              101 sound/core/init.c 	for (slot = 0; slot < SNDRV_CARDS; slot++) {
slot              102 sound/core/init.c 		if (slot < 32 && !(mask & (1U << slot)))
slot              104 sound/core/init.c 		if (!test_bit(slot, snd_cards_lock)) {
slot              105 sound/core/init.c 			if (check(module, slot))
slot              106 sound/core/init.c 				return slot; /* found */
slot              245 sound/core/oss/mixer_oss.c static int snd_mixer_oss_get_volume(struct snd_mixer_oss_file *fmixer, int slot)
slot              251 sound/core/oss/mixer_oss.c 	if (mixer == NULL || slot > 30)
slot              253 sound/core/oss/mixer_oss.c 	pslot = &mixer->slots[slot];
slot              273 sound/core/oss/mixer_oss.c 				    int slot, int volume)
slot              279 sound/core/oss/mixer_oss.c 	if (mixer == NULL || slot > 30)
slot              281 sound/core/oss/mixer_oss.c 	pslot = &mixer->slots[slot];
slot              439 sound/core/oss/mixer_oss.c static void snd_mixer_oss_recsrce_set(struct snd_card *card, int slot)
slot              443 sound/core/oss/mixer_oss.c 		mixer->mask_recsrc |= 1 << slot;
slot              446 sound/core/oss/mixer_oss.c static int snd_mixer_oss_recsrce_get(struct snd_card *card, int slot)
slot              449 sound/core/oss/mixer_oss.c 	if (mixer && (mixer->mask_recsrc & (1 << slot)))
slot              587 sound/core/oss/mixer_oss.c 	struct slot *slot = pslot->private_data;
slot              590 sound/core/oss/mixer_oss.c 	if (slot->present & SNDRV_MIXER_OSS_PRESENT_PVOLUME) {
slot              591 sound/core/oss/mixer_oss.c 		snd_mixer_oss_get_volume1_vol(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_PVOLUME], left, right);
slot              592 sound/core/oss/mixer_oss.c 	} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GVOLUME) {
slot              593 sound/core/oss/mixer_oss.c 		snd_mixer_oss_get_volume1_vol(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_GVOLUME], left, right);
slot              594 sound/core/oss/mixer_oss.c 	} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GLOBAL) {
slot              595 sound/core/oss/mixer_oss.c 		snd_mixer_oss_get_volume1_vol(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_GLOBAL], left, right);
slot              597 sound/core/oss/mixer_oss.c 	if (slot->present & SNDRV_MIXER_OSS_PRESENT_PSWITCH) {
slot              598 sound/core/oss/mixer_oss.c 		snd_mixer_oss_get_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_PSWITCH], left, right, 0);
slot              599 sound/core/oss/mixer_oss.c 	} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GSWITCH) {
slot              600 sound/core/oss/mixer_oss.c 		snd_mixer_oss_get_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_GSWITCH], left, right, 0);
slot              601 sound/core/oss/mixer_oss.c 	} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_PROUTE) {
slot              602 sound/core/oss/mixer_oss.c 		snd_mixer_oss_get_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_PROUTE], left, right, 1);
slot              603 sound/core/oss/mixer_oss.c 	} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GROUTE) {
slot              604 sound/core/oss/mixer_oss.c 		snd_mixer_oss_get_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_GROUTE], left, right, 1);
slot              698 sound/core/oss/mixer_oss.c 	struct slot *slot = pslot->private_data;
slot              700 sound/core/oss/mixer_oss.c 	if (slot->present & SNDRV_MIXER_OSS_PRESENT_PVOLUME) {
slot              701 sound/core/oss/mixer_oss.c 		snd_mixer_oss_put_volume1_vol(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_PVOLUME], left, right);
slot              702 sound/core/oss/mixer_oss.c 		if (slot->present & SNDRV_MIXER_OSS_PRESENT_CVOLUME)
slot              703 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_vol(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CVOLUME], left, right);
slot              704 sound/core/oss/mixer_oss.c 	} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_CVOLUME) {
slot              706 sound/core/oss/mixer_oss.c 			slot->numid[SNDRV_MIXER_OSS_ITEM_CVOLUME], left, right);
slot              707 sound/core/oss/mixer_oss.c 	} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GVOLUME) {
slot              708 sound/core/oss/mixer_oss.c 		snd_mixer_oss_put_volume1_vol(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_GVOLUME], left, right);
slot              709 sound/core/oss/mixer_oss.c 	} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GLOBAL) {
slot              710 sound/core/oss/mixer_oss.c 		snd_mixer_oss_put_volume1_vol(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_GLOBAL], left, right);
slot              713 sound/core/oss/mixer_oss.c 		if (slot->present & SNDRV_MIXER_OSS_PRESENT_PSWITCH)
slot              714 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_PSWITCH], left, right, 0);
slot              715 sound/core/oss/mixer_oss.c 		if (slot->present & SNDRV_MIXER_OSS_PRESENT_CSWITCH)
slot              716 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CSWITCH], left, right, 0);
slot              717 sound/core/oss/mixer_oss.c 		if (slot->present & SNDRV_MIXER_OSS_PRESENT_GSWITCH)
slot              718 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_GSWITCH], left, right, 0);
slot              719 sound/core/oss/mixer_oss.c 		if (slot->present & SNDRV_MIXER_OSS_PRESENT_PROUTE)
slot              720 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_PROUTE], left, right, 1);
slot              721 sound/core/oss/mixer_oss.c 		if (slot->present & SNDRV_MIXER_OSS_PRESENT_CROUTE)
slot              722 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CROUTE], left, right, 1);
slot              723 sound/core/oss/mixer_oss.c 		if (slot->present & SNDRV_MIXER_OSS_PRESENT_GROUTE)
slot              724 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_GROUTE], left, right, 1);
slot              726 sound/core/oss/mixer_oss.c 		if (slot->present & SNDRV_MIXER_OSS_PRESENT_PSWITCH) {
slot              727 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_PSWITCH], left, right, 0);
slot              728 sound/core/oss/mixer_oss.c 		} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_CSWITCH) {
slot              729 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CSWITCH], left, right, 0);
slot              730 sound/core/oss/mixer_oss.c 		} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GSWITCH) {
slot              731 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_GSWITCH], left, right, 0);
slot              732 sound/core/oss/mixer_oss.c 		} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_PROUTE) {
slot              733 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_PROUTE], left, right, 1);
slot              734 sound/core/oss/mixer_oss.c 		} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_CROUTE) {
slot              735 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CROUTE], left, right, 1);
slot              736 sound/core/oss/mixer_oss.c 		} else if (slot->present & SNDRV_MIXER_OSS_PRESENT_GROUTE) {
slot              737 sound/core/oss/mixer_oss.c 			snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_GROUTE], left, right, 1);
slot              747 sound/core/oss/mixer_oss.c 	struct slot *slot = pslot->private_data;
slot              751 sound/core/oss/mixer_oss.c 	snd_mixer_oss_get_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CSWITCH], &left, &right, 0);
slot              760 sound/core/oss/mixer_oss.c 	struct slot *slot = pslot->private_data;
slot              764 sound/core/oss/mixer_oss.c 	snd_mixer_oss_get_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CROUTE], &left, &right, 1);
slot              773 sound/core/oss/mixer_oss.c 	struct slot *slot = pslot->private_data;
slot              775 sound/core/oss/mixer_oss.c 	snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CSWITCH], active, active, 0);
slot              783 sound/core/oss/mixer_oss.c 	struct slot *slot = pslot->private_data;
slot              785 sound/core/oss/mixer_oss.c 	snd_mixer_oss_put_volume1_sw(fmixer, pslot, slot->numid[SNDRV_MIXER_OSS_ITEM_CROUTE], active, active, 1);
slot              795 sound/core/oss/mixer_oss.c 	struct slot *slot;
slot              820 sound/core/oss/mixer_oss.c 		slot = pslot->private_data;
slot              821 sound/core/oss/mixer_oss.c 		if (slot->signature != SNDRV_MIXER_OSS_SIGNATURE)
slot              823 sound/core/oss/mixer_oss.c 		if (!(slot->present & SNDRV_MIXER_OSS_PRESENT_CAPTURE))
slot              825 sound/core/oss/mixer_oss.c 		if (slot->capture_item == uctl->value.enumerated.item[0]) {
slot              845 sound/core/oss/mixer_oss.c 	struct slot *slot = NULL;
slot              869 sound/core/oss/mixer_oss.c 		slot = pslot->private_data;
slot              870 sound/core/oss/mixer_oss.c 		if (slot->signature != SNDRV_MIXER_OSS_SIGNATURE)
slot              872 sound/core/oss/mixer_oss.c 		if (!(slot->present & SNDRV_MIXER_OSS_PRESENT_CAPTURE))
slot              876 sound/core/oss/mixer_oss.c 		slot = NULL;
slot              878 sound/core/oss/mixer_oss.c 	if (! slot)
slot              881 sound/core/oss/mixer_oss.c 		uctl->value.enumerated.item[idx] = slot->capture_item;
slot              900 sound/core/oss/mixer_oss.c static int snd_mixer_oss_build_test(struct snd_mixer_oss *mixer, struct slot *slot, const char *name, int index, int item)
slot              923 sound/core/oss/mixer_oss.c 	slot->numid[item] = kcontrol->id.numid;
slot              925 sound/core/oss/mixer_oss.c 	if (info->count > slot->channels)
slot              926 sound/core/oss/mixer_oss.c 		slot->channels = info->count;
slot              927 sound/core/oss/mixer_oss.c 	slot->present |= 1 << item;
slot              934 sound/core/oss/mixer_oss.c 	struct slot *p = chn->private_data;
slot              957 sound/core/oss/mixer_oss.c 					struct slot *slot)
slot              962 sound/core/oss/mixer_oss.c 	err = snd_mixer_oss_build_test(mixer, slot, ptr->name, ptr->index,
slot              967 sound/core/oss/mixer_oss.c 	err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index,
slot              972 sound/core/oss/mixer_oss.c 	err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index,
slot              977 sound/core/oss/mixer_oss.c 	err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index,
slot              982 sound/core/oss/mixer_oss.c 	err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index,
slot              987 sound/core/oss/mixer_oss.c 	err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index,
slot              992 sound/core/oss/mixer_oss.c 	err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index,
slot              997 sound/core/oss/mixer_oss.c 	err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index,
slot             1002 sound/core/oss/mixer_oss.c 	err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index,
slot             1007 sound/core/oss/mixer_oss.c 	err = snd_mixer_oss_build_test(mixer, slot, str, ptr->index,
slot             1022 sound/core/oss/mixer_oss.c 	struct slot slot;
slot             1023 sound/core/oss/mixer_oss.c 	struct slot *pslot;
slot             1032 sound/core/oss/mixer_oss.c 	memset(&slot, 0, sizeof(slot));
slot             1033 sound/core/oss/mixer_oss.c 	memset(slot.numid, 0xff, sizeof(slot.numid)); /* ID_UNKNOWN */
slot             1034 sound/core/oss/mixer_oss.c 	if (snd_mixer_oss_build_test_all(mixer, ptr, &slot))
slot             1056 sound/core/oss/mixer_oss.c 		slot.capture_item = 0;
slot             1058 sound/core/oss/mixer_oss.c 			slot.present |= SNDRV_MIXER_OSS_PRESENT_CAPTURE;
slot             1060 sound/core/oss/mixer_oss.c 			for (slot.capture_item = 1; slot.capture_item < uinfo->value.enumerated.items; slot.capture_item++) {
slot             1061 sound/core/oss/mixer_oss.c 				uinfo->value.enumerated.item = slot.capture_item;
slot             1068 sound/core/oss/mixer_oss.c 					slot.present |= SNDRV_MIXER_OSS_PRESENT_CAPTURE;
slot             1076 sound/core/oss/mixer_oss.c 	if (slot.present != 0) {
slot             1077 sound/core/oss/mixer_oss.c 		pslot = kmalloc(sizeof(slot), GFP_KERNEL);
slot             1080 sound/core/oss/mixer_oss.c 		*pslot = slot;
slot             1086 sound/core/oss/mixer_oss.c 		rslot->stereo = slot.channels > 1 ? 1 : 0;
slot             1090 sound/core/oss/mixer_oss.c 		if (slot.present & SNDRV_MIXER_OSS_PRESENT_CSWITCH) {
slot             1093 sound/core/oss/mixer_oss.c 		} else if (slot.present & SNDRV_MIXER_OSS_PRESENT_CROUTE) {
slot             1096 sound/core/oss/mixer_oss.c 		} else if (slot.present & SNDRV_MIXER_OSS_PRESENT_CAPTURE) {
slot             1150 sound/core/oss/mixer_oss.c 		struct slot *p;
slot             1154 sound/core/oss/mixer_oss.c 		p = (struct slot *)mixer->slots[i].private_data;
slot             1175 sound/core/oss/mixer_oss.c 	struct slot *slot;
slot             1202 sound/core/oss/mixer_oss.c 		slot = (struct slot *)mixer->slots[ch].private_data;
slot             1203 sound/core/oss/mixer_oss.c 		if (slot && slot->assigned &&
slot             1204 sound/core/oss/mixer_oss.c 		    slot->assigned->index == idx && ! strcmp(slot->assigned->name, str))
slot              465 sound/hda/hdmi_chmap.c static int from_cea_slot(int ordered_ca, unsigned char slot)
slot              472 sound/hda/hdmi_chmap.c 	if (slot >= 8)
slot              475 sound/hda/hdmi_chmap.c 	mask = channel_allocations[ordered_ca].speakers[7 - slot];
slot              145 sound/pci/ac97/ac97_pcm.c 				  unsigned short slot, int dbl)
slot              147 sound/pci/ac97/ac97_pcm.c 	if (slot < 3)
slot              149 sound/pci/ac97/ac97_pcm.c 	if (slot > 11)
slot              154 sound/pci/ac97/ac97_pcm.c 		return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3];
slot              156 sound/pci/ac97/ac97_pcm.c 		return rate_cregs[slot - 3];
slot              651 sound/pci/cmipci.c static void snd_cmipci_set_pll(struct cmipci *cm, unsigned int rate, unsigned int slot)
slot              653 sound/pci/cmipci.c 	unsigned int reg = CM_REG_PLL + slot;
slot              171 sound/pci/ctxfi/ctdaio.c 		entry->slot = input->ops->output_slot(input);
slot              200 sound/pci/ctxfi/ctdaio.c 		entry->slot = input->ops->output_slot(input);
slot              637 sound/pci/ctxfi/ctdaio.c 	hw->daio_mgr_set_imaparc(mgr->ctrl_blk, entry->slot);
slot              710 sound/pci/ctxfi/ctdaio.c 	entry->slot = entry->addr = entry->next = entry->user = 0;
slot              124 sound/pci/ctxfi/cthardware.h 	int (*srcimp_mgr_set_imaparc)(void *blk, unsigned int slot);
slot              171 sound/pci/ctxfi/cthardware.h 	int (*daio_mgr_set_imaparc)(void *blk, unsigned int slot);
slot              523 sound/pci/ctxfi/cthw20k1.c static int srcimp_mgr_set_imaparc(void *blk, unsigned int slot)
slot              527 sound/pci/ctxfi/cthw20k1.c 	set_field(&ctl->srcimap.srcaim, SRCAIM_ARC, slot);
slot             1071 sound/pci/ctxfi/cthw20k1.c static int daio_mgr_set_imaparc(void *blk, unsigned int slot)
slot             1075 sound/pci/ctxfi/cthw20k1.c 	set_field(&ctl->daoimap.aim, AIM_ARC, slot);
slot              523 sound/pci/ctxfi/cthw20k2.c static int srcimp_mgr_set_imaparc(void *blk, unsigned int slot)
slot              527 sound/pci/ctxfi/cthw20k2.c 	set_field(&ctl->srcimap.srcaim, SRCAIM_ARC, slot);
slot             1026 sound/pci/ctxfi/cthw20k2.c static int daio_mgr_set_imaparc(void *blk, unsigned int slot)
slot             1030 sound/pci/ctxfi/cthw20k2.c 	set_field(&ctl->daoimap.aim, AIM_ARC, slot);
slot               35 sound/pci/ctxfi/ctimap.c 		if (pos_ent->slot > entry->slot) {
slot               80 sound/pci/ctxfi/ctimap.c 		entry->next = entry->addr = entry->user = entry->slot = 0;
slot               21 sound/pci/ctxfi/ctimap.h 	unsigned short slot; /* the id of the slot containing input data */
slot              629 sound/pci/ctxfi/ctsrc.c 		entry->slot = input->ops->output_slot(input);
slot              782 sound/pci/ctxfi/ctsrc.c 	hw->srcimp_mgr_set_imaparc(mgr->ctrl_blk, entry->slot);
slot              848 sound/pci/ctxfi/ctsrc.c 	entry->slot = entry->addr = entry->next = entry->user = 0;
slot              296 sound/soc/bcm/bcm2835-i2s.c static int bcm2835_i2s_convert_slot(unsigned int slot, unsigned int odd_offset)
slot              299 sound/soc/bcm/bcm2835-i2s.c 		return slot;
slot              301 sound/soc/bcm/bcm2835-i2s.c 	if (slot & 1)
slot              302 sound/soc/bcm/bcm2835-i2s.c 		return (slot >> 1) + odd_offset;
slot              304 sound/soc/bcm/bcm2835-i2s.c 	return slot >> 1;
slot             2226 sound/soc/codecs/ab8500-codec.c 	unsigned int val, mask, slot, slots_active;
slot             2297 sound/soc/codecs/ab8500-codec.c 		slot = ffs(tx_mask);
slot             2298 sound/soc/codecs/ab8500-codec.c 		snd_soc_component_update_bits(component, AB8500_DASLOTCONF1, mask, slot);
slot             2299 sound/soc/codecs/ab8500-codec.c 		snd_soc_component_update_bits(component, AB8500_DASLOTCONF3, mask, slot);
slot             2300 sound/soc/codecs/ab8500-codec.c 		snd_soc_component_update_bits(component, AB8500_DASLOTCONF2, mask, slot);
slot             2301 sound/soc/codecs/ab8500-codec.c 		snd_soc_component_update_bits(component, AB8500_DASLOTCONF4, mask, slot);
slot             2304 sound/soc/codecs/ab8500-codec.c 		slot = ffs(tx_mask);
slot             2305 sound/soc/codecs/ab8500-codec.c 		snd_soc_component_update_bits(component, AB8500_DASLOTCONF1, mask, slot);
slot             2306 sound/soc/codecs/ab8500-codec.c 		snd_soc_component_update_bits(component, AB8500_DASLOTCONF3, mask, slot);
slot             2307 sound/soc/codecs/ab8500-codec.c 		slot = fls(tx_mask);
slot             2308 sound/soc/codecs/ab8500-codec.c 		snd_soc_component_update_bits(component, AB8500_DASLOTCONF2, mask, slot);
slot             2309 sound/soc/codecs/ab8500-codec.c 		snd_soc_component_update_bits(component, AB8500_DASLOTCONF4, mask, slot);
slot             2338 sound/soc/codecs/ab8500-codec.c 		slot = ffs(rx_mask);
slot             2339 sound/soc/codecs/ab8500-codec.c 		snd_soc_component_update_bits(component, AB8500_ADSLOTSEL(slot),
slot             2340 sound/soc/codecs/ab8500-codec.c 				AB8500_MASK_SLOT(slot),
slot             2341 sound/soc/codecs/ab8500-codec.c 				AB8500_ADSLOTSELX_AD_OUT_TO_SLOT(AB8500_AD_OUT3, slot));
slot             2344 sound/soc/codecs/ab8500-codec.c 		slot = ffs(rx_mask);
slot             2346 sound/soc/codecs/ab8500-codec.c 				AB8500_ADSLOTSEL(slot),
slot             2347 sound/soc/codecs/ab8500-codec.c 				AB8500_MASK_SLOT(slot),
slot             2348 sound/soc/codecs/ab8500-codec.c 				AB8500_ADSLOTSELX_AD_OUT_TO_SLOT(AB8500_AD_OUT3, slot));
slot             2349 sound/soc/codecs/ab8500-codec.c 		slot = fls(rx_mask);
slot             2351 sound/soc/codecs/ab8500-codec.c 				AB8500_ADSLOTSEL(slot),
slot             2352 sound/soc/codecs/ab8500-codec.c 				AB8500_MASK_SLOT(slot),
slot             2353 sound/soc/codecs/ab8500-codec.c 				AB8500_ADSLOTSELX_AD_OUT_TO_SLOT(AB8500_AD_OUT2, slot));
slot               80 sound/soc/codecs/ab8500-codec.h #define AB8500_ADSLOTSEL(slot)			(AB8500_ADSLOTSEL1 + (slot >> 1))
slot              152 sound/soc/codecs/ab8500-codec.h #define AB8500_MASK_SLOT(slot)			((slot & 1) ? 0xF0 : 0x0F)
slot              368 sound/soc/codecs/ab8500-codec.h #define AB8500_ADSLOTSELX_AD_OUT_TO_SLOT(out, slot)	\
slot              369 sound/soc/codecs/ab8500-codec.h 	((out) << (((slot) & 1) ? \
slot              501 sound/soc/codecs/adau1977.c 	unsigned int slot[4];
slot              519 sound/soc/codecs/adau1977.c 		slot[i] = __ffs(rx_mask);
slot              521 sound/soc/codecs/adau1977.c 		rx_mask &= ~(1 << slot[i]);
slot              522 sound/soc/codecs/adau1977.c 		if (slot[i] >= slots)
slot              574 sound/soc/codecs/adau1977.c 		(slot[1] << ADAU1977_CHAN_MAP_SECOND_SLOT_OFFSET) |
slot              575 sound/soc/codecs/adau1977.c 		(slot[0] << ADAU1977_CHAN_MAP_FIRST_SLOT_OFFSET));
slot              580 sound/soc/codecs/adau1977.c 		(slot[3] << ADAU1977_CHAN_MAP_SECOND_SLOT_OFFSET) |
slot              581 sound/soc/codecs/adau1977.c 		(slot[2] << ADAU1977_CHAN_MAP_FIRST_SLOT_OFFSET));
slot             1978 sound/soc/codecs/arizona.c 	int slot, i;
slot             1981 sound/soc/codecs/arizona.c 		slot = ffs(mask) - 1;
slot             1982 sound/soc/codecs/arizona.c 		if (slot < 0)
slot             1985 sound/soc/codecs/arizona.c 		regmap_write(arizona->regmap, base + i, slot);
slot             1987 sound/soc/codecs/arizona.c 		mask &= ~(1 << slot);
slot              556 sound/soc/codecs/cs35l33.c 	int slot, slot_num;
slot              562 sound/soc/codecs/cs35l33.c 	slot = ffs(rx_mask) - 1;
slot              563 sound/soc/codecs/cs35l33.c 	if (slot >= 0) {
slot              565 sound/soc/codecs/cs35l33.c 			CS35L33_X_LOC, slot);
slot              566 sound/soc/codecs/cs35l33.c 		dev_dbg(component->dev, "Audio starts from slots %d", slot);
slot              573 sound/soc/codecs/cs35l33.c 	slot = ffs(tx_mask) - 1;
slot              587 sound/soc/codecs/cs35l33.c 	while (slot >= 0) {
slot              591 sound/soc/codecs/cs35l33.c 				CS35L33_X_STATE | CS35L33_X_LOC, slot);
slot              593 sound/soc/codecs/cs35l33.c 				slot, slot + 1);
slot              599 sound/soc/codecs/cs35l33.c 				CS35L33_X_STATE | CS35L33_X_LOC, slot);
slot              601 sound/soc/codecs/cs35l33.c 				slot, slot + 1);
slot              607 sound/soc/codecs/cs35l33.c 				CS35L33_X_STATE | CS35L33_X_LOC, slot);
slot              610 sound/soc/codecs/cs35l33.c 			dev_dbg(component->dev, "VPMON enabled in slots %d", slot);
slot              616 sound/soc/codecs/cs35l33.c 				CS35L33_X_STATE | CS35L33_X_LOC, slot);
slot              620 sound/soc/codecs/cs35l33.c 				"VBSTMON enabled in slots %d", slot);
slot              624 sound/soc/codecs/cs35l33.c 		reg = CS35L33_TX_EN4 - (slot/8);
slot              625 sound/soc/codecs/cs35l33.c 		bit_pos = slot - ((slot / 8) * (8));
slot              629 sound/soc/codecs/cs35l33.c 		tx_mask &= ~(1 << slot);
slot              630 sound/soc/codecs/cs35l33.c 		slot = ffs(tx_mask) - 1;
slot              274 sound/soc/codecs/cs35l34.c 	int slot, slot_num;
slot              281 sound/soc/codecs/cs35l34.c 	slot = ffs(rx_mask) - 1;
slot              282 sound/soc/codecs/cs35l34.c 	if (slot >= 0)
slot              284 sound/soc/codecs/cs35l34.c 					CS35L34_X_LOC, slot);
slot              289 sound/soc/codecs/cs35l34.c 	slot = ffs(tx_mask) - 1;
slot              301 sound/soc/codecs/cs35l34.c 	while (slot >= 0) {
slot              305 sound/soc/codecs/cs35l34.c 					CS35L34_X_STATE | CS35L34_X_LOC, slot);
slot              310 sound/soc/codecs/cs35l34.c 					CS35L34_X_STATE | CS35L34_X_LOC, slot);
slot              315 sound/soc/codecs/cs35l34.c 					CS35L34_X_STATE | CS35L34_X_LOC, slot);
slot              321 sound/soc/codecs/cs35l34.c 				CS35L34_X_STATE | CS35L34_X_LOC, slot);
slot              325 sound/soc/codecs/cs35l34.c 		reg = CS35L34_TDM_TX_SLOT_EN_4 - (slot/8);
slot              326 sound/soc/codecs/cs35l34.c 		bit_pos = slot - ((slot / 8) * (8));
slot              330 sound/soc/codecs/cs35l34.c 		tx_mask &= ~(1 << slot);
slot              331 sound/soc/codecs/cs35l34.c 		slot = ffs(tx_mask) - 1;
slot             3286 sound/soc/codecs/madera.c 	int slot, i;
slot             3289 sound/soc/codecs/madera.c 		slot = ffs(mask) - 1;
slot             3290 sound/soc/codecs/madera.c 		if (slot < 0)
slot             3293 sound/soc/codecs/madera.c 		regmap_write(madera->regmap, base + i, slot);
slot             3295 sound/soc/codecs/madera.c 		mask &= ~(1 << slot);
slot              238 sound/soc/codecs/ssm4567.c 	int slot;
slot              247 sound/soc/codecs/ssm4567.c 	slot = __ffs(tx_mask);
slot              248 sound/soc/codecs/ssm4567.c 	if (tx_mask != BIT(slot))
slot              267 sound/soc/codecs/ssm4567.c 		SSM4567_SAI_CTRL_2_TDM_SLOT(slot));
slot               42 sound/soc/pxa/pxa2xx-ac97.c static int pxa2xx_ac97_read_actrl(struct ac97_controller *adrv, int slot,
slot               45 sound/soc/pxa/pxa2xx-ac97.c 	return pxa2xx_ac97_read(slot, reg);
slot               48 sound/soc/pxa/pxa2xx-ac97.c static int pxa2xx_ac97_write_actrl(struct ac97_controller *adrv, int slot,
slot               51 sound/soc/pxa/pxa2xx-ac97.c 	return pxa2xx_ac97_write(slot, reg, val);
slot               56 tools/arch/x86/include/uapi/asm/kvm.h 	__u32 slot;  /* this has a different namespace than memory slots */
slot               90 tools/include/uapi/linux/kvm.h 	__u32 slot;
slot               98 tools/include/uapi/linux/kvm.h 	__u32 slot;
slot              489 tools/include/uapi/linux/kvm.h 	__u32 slot;
slot              499 tools/include/uapi/linux/kvm.h 	__u32 slot;
slot              116 tools/power/cpupower/utils/helpers/helpers.h 				    int bus, int slot, int func, int vendor,
slot              119 tools/power/cpupower/utils/helpers/helpers.h 					      int slot, int func);
slot               27 tools/power/cpupower/utils/helpers/pci.c 			     int slot, int func, int vendor, int dev)
slot               39 tools/power/cpupower/utils/helpers/pci.c 	filter_nb_link.slot	= slot;
slot               57 tools/power/cpupower/utils/helpers/pci.c struct pci_dev *pci_slot_func_init(struct pci_access **pacc, int slot,
slot               60 tools/power/cpupower/utils/helpers/pci.c 	return pci_acc_init(pacc, 0, 0, slot, func, -1, -1);
slot               21 tools/testing/radix-tree/benchmark.c 	void **slot;
slot               29 tools/testing/radix-tree/benchmark.c 			radix_tree_for_each_tagged(slot, root, &iter, 0, 0)
slot               30 tools/testing/radix-tree/benchmark.c 				sink ^= (unsigned long)slot;
slot               32 tools/testing/radix-tree/benchmark.c 			radix_tree_for_each_slot(slot, root, &iter, 0)
slot               33 tools/testing/radix-tree/benchmark.c 				sink ^= (unsigned long)slot;
slot               35 tools/testing/radix-tree/regression3.c 	void **slot;
slot               44 tools/testing/radix-tree/regression3.c 	radix_tree_for_each_tagged(slot, &root, &iter, 0, 0) {
slot               45 tools/testing/radix-tree/regression3.c 		printv(2, "tagged %ld %p\n", iter.index, *slot);
slot               51 tools/testing/radix-tree/regression3.c 		if (radix_tree_deref_retry(*slot)) {
slot               53 tools/testing/radix-tree/regression3.c 			slot = radix_tree_iter_retry(&iter);
slot               60 tools/testing/radix-tree/regression3.c 	radix_tree_for_each_slot(slot, &root, &iter, 0) {
slot               61 tools/testing/radix-tree/regression3.c 		printv(2, "slot %ld %p\n", iter.index, *slot);
slot               66 tools/testing/radix-tree/regression3.c 		if (radix_tree_deref_retry(*slot)) {
slot               68 tools/testing/radix-tree/regression3.c 			slot = radix_tree_iter_retry(&iter);
slot               73 tools/testing/radix-tree/regression3.c 	radix_tree_for_each_slot(slot, &root, &iter, 0) {
slot               74 tools/testing/radix-tree/regression3.c 		printv(2, "slot %ld %p\n", iter.index, *slot);
slot               77 tools/testing/radix-tree/regression3.c 			slot = radix_tree_iter_resume(slot, &iter);
slot               83 tools/testing/radix-tree/regression3.c 	radix_tree_for_each_tagged(slot, &root, &iter, 0, 0) {
slot               84 tools/testing/radix-tree/regression3.c 		printv(2, "tagged %ld %p\n", iter.index, *slot);
slot               87 tools/testing/radix-tree/regression3.c 			slot = radix_tree_iter_resume(slot, &iter);
slot              199 tools/testing/radix-tree/test.c static int verify_node(struct radix_tree_node *slot, unsigned int tag,
slot              206 tools/testing/radix-tree/test.c 	slot = entry_to_node(slot);
slot              210 tools/testing/radix-tree/test.c 		if (slot->tags[tag][i]) {
slot              217 tools/testing/radix-tree/test.c 			tag, slot->shift, tagged, anyset);
slot              221 tools/testing/radix-tree/test.c 				printf("%016lx ", slot->tags[j][i]);
slot              229 tools/testing/radix-tree/test.c 	if (slot->shift > 0) {
slot              231 tools/testing/radix-tree/test.c 			if (slot->slots[i])
slot              232 tools/testing/radix-tree/test.c 				if (verify_node(slot->slots[i], tag,
slot              233 tools/testing/radix-tree/test.c 					    !!test_bit(i, slot->tags[tag]))) {
slot              238 tools/testing/radix-tree/test.c 							printf("%016lx ", slot->tags[j][i]);
slot               76 tools/testing/selftests/kvm/include/kvm_util.h void kvm_vm_get_dirty_log(struct kvm_vm *vm, int slot, void *log);
slot               77 tools/testing/selftests/kvm/include/kvm_util.h void kvm_vm_clear_dirty_log(struct kvm_vm *vm, int slot, void *log,
slot               94 tools/testing/selftests/kvm/include/kvm_util.h 	uint64_t guest_paddr, uint32_t slot, uint64_t npages,
slot              102 tools/testing/selftests/kvm/include/kvm_util.h void vm_mem_region_set_flags(struct kvm_vm *vm, uint32_t slot, uint32_t flags);
slot              270 tools/testing/selftests/kvm/lib/kvm_util.c 			    ret, errno, region->region.slot,
slot              277 tools/testing/selftests/kvm/lib/kvm_util.c void kvm_vm_get_dirty_log(struct kvm_vm *vm, int slot, void *log)
slot              279 tools/testing/selftests/kvm/lib/kvm_util.c 	struct kvm_dirty_log args = { .dirty_bitmap = log, .slot = slot };
slot              287 tools/testing/selftests/kvm/lib/kvm_util.c void kvm_vm_clear_dirty_log(struct kvm_vm *vm, int slot, void *log,
slot              290 tools/testing/selftests/kvm/lib/kvm_util.c 	struct kvm_clear_dirty_log args = { .dirty_bitmap = log, .slot = slot,
slot              577 tools/testing/selftests/kvm/lib/kvm_util.c 	uint64_t guest_paddr, uint32_t slot, uint64_t npages,
slot              615 tools/testing/selftests/kvm/lib/kvm_util.c 		if (region->region.slot == slot)
slot              623 tools/testing/selftests/kvm/lib/kvm_util.c 			slot, guest_paddr, npages,
slot              624 tools/testing/selftests/kvm/lib/kvm_util.c 			region->region.slot,
slot              673 tools/testing/selftests/kvm/lib/kvm_util.c 	region->region.slot = slot;
slot              683 tools/testing/selftests/kvm/lib/kvm_util.c 		ret, errno, slot, flags,
slot              715 tools/testing/selftests/kvm/lib/kvm_util.c 		if (region->region.slot == memslot)
slot              743 tools/testing/selftests/kvm/lib/kvm_util.c void vm_mem_region_set_flags(struct kvm_vm *vm, uint32_t slot, uint32_t flags)
slot              748 tools/testing/selftests/kvm/lib/kvm_util.c 	region = memslot2region(vm, slot);
slot              756 tools/testing/selftests/kvm/lib/kvm_util.c 		ret, errno, slot, flags);
slot              122 tools/testing/selftests/net/txring_overwrite.c static void send_pkt(int fdt, void *slot, char payload_char)
slot              124 tools/testing/selftests/net/txring_overwrite.c 	struct tpacket_hdr *header = slot;
slot              130 tools/testing/selftests/net/txring_overwrite.c 	build_packet(slot + eth_off, cfg_frame_size, payload_char);
slot             1540 virt/kvm/arm/mmu.c void kvm_mmu_wp_memory_region(struct kvm *kvm, int slot)
slot             1543 virt/kvm/arm/mmu.c 	struct kvm_memory_slot *memslot = id_to_memslot(slots, slot);
slot             1565 virt/kvm/arm/mmu.c 		struct kvm_memory_slot *slot,
slot             1568 virt/kvm/arm/mmu.c 	phys_addr_t base_gfn = slot->base_gfn + gfn_offset;
slot             1583 virt/kvm/arm/mmu.c 		struct kvm_memory_slot *slot,
slot             1586 virt/kvm/arm/mmu.c 	kvm_mmu_write_protect_pt_masked(kvm, slot, gfn_offset, mask);
slot             2273 virt/kvm/arm/mmu.c 		kvm_mmu_wp_memory_region(kvm, mem->slot);
slot             2375 virt/kvm/arm/mmu.c int kvm_arch_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot,
slot             2391 virt/kvm/arm/mmu.c 				   struct kvm_memory_slot *slot)
slot             2393 virt/kvm/arm/mmu.c 	gpa_t gpa = slot->base_gfn << PAGE_SHIFT;
slot             2394 virt/kvm/arm/mmu.c 	phys_addr_t size = slot->npages << PAGE_SHIFT;
slot              997 virt/kvm/kvm_main.c 	struct kvm_memory_slot *slot;
slot             1008 virt/kvm/kvm_main.c 	as_id = mem->slot >> 16;
slot             1009 virt/kvm/kvm_main.c 	id = (u16)mem->slot;
slot             1027 virt/kvm/kvm_main.c 	slot = id_to_memslot(__kvm_memslots(kvm, as_id), id);
slot             1034 virt/kvm/kvm_main.c 	new = old = *slot;
slot             1071 virt/kvm/kvm_main.c 		kvm_for_each_memslot(slot, __kvm_memslots(kvm, as_id)) {
slot             1072 virt/kvm/kvm_main.c 			if (slot->id == id)
slot             1074 virt/kvm/kvm_main.c 			if (!((base_gfn + npages <= slot->base_gfn) ||
slot             1075 virt/kvm/kvm_main.c 			      (base_gfn >= slot->base_gfn + slot->npages)))
slot             1104 virt/kvm/kvm_main.c 		slot = id_to_memslot(slots, id);
slot             1105 virt/kvm/kvm_main.c 		slot->flags |= KVM_MEMSLOT_INVALID;
slot             1116 virt/kvm/kvm_main.c 		kvm_arch_flush_shadow_memslot(kvm, slot);
slot             1169 virt/kvm/kvm_main.c 	if ((u16)mem->slot >= KVM_USER_MEM_SLOTS)
slot             1184 virt/kvm/kvm_main.c 	as_id = log->slot >> 16;
slot             1185 virt/kvm/kvm_main.c 	id = (u16)log->slot;
slot             1241 virt/kvm/kvm_main.c 	as_id = log->slot >> 16;
slot             1242 virt/kvm/kvm_main.c 	id = (u16)log->slot;
slot             1312 virt/kvm/kvm_main.c 	as_id = log->slot >> 16;
slot             1313 virt/kvm/kvm_main.c 	id = (u16)log->slot;
slot             1427 virt/kvm/kvm_main.c static bool memslot_is_readonly(struct kvm_memory_slot *slot)
slot             1429 virt/kvm/kvm_main.c 	return slot->flags & KVM_MEM_READONLY;
slot             1432 virt/kvm/kvm_main.c static unsigned long __gfn_to_hva_many(struct kvm_memory_slot *slot, gfn_t gfn,
slot             1435 virt/kvm/kvm_main.c 	if (!slot || slot->flags & KVM_MEMSLOT_INVALID)
slot             1438 virt/kvm/kvm_main.c 	if (memslot_is_readonly(slot) && write)
slot             1442 virt/kvm/kvm_main.c 		*nr_pages = slot->npages - (gfn - slot->base_gfn);
slot             1444 virt/kvm/kvm_main.c 	return __gfn_to_hva_memslot(slot, gfn);
slot             1447 virt/kvm/kvm_main.c static unsigned long gfn_to_hva_many(struct kvm_memory_slot *slot, gfn_t gfn,
slot             1450 virt/kvm/kvm_main.c 	return __gfn_to_hva_many(slot, gfn, nr_pages, true);
slot             1453 virt/kvm/kvm_main.c unsigned long gfn_to_hva_memslot(struct kvm_memory_slot *slot,
slot             1456 virt/kvm/kvm_main.c 	return gfn_to_hva_many(slot, gfn, NULL);
slot             1480 virt/kvm/kvm_main.c unsigned long gfn_to_hva_memslot_prot(struct kvm_memory_slot *slot,
slot             1483 virt/kvm/kvm_main.c 	unsigned long hva = __gfn_to_hva_many(slot, gfn, NULL, false);
slot             1486 virt/kvm/kvm_main.c 		*writable = !memslot_is_readonly(slot);
slot             1493 virt/kvm/kvm_main.c 	struct kvm_memory_slot *slot = gfn_to_memslot(kvm, gfn);
slot             1495 virt/kvm/kvm_main.c 	return gfn_to_hva_memslot_prot(slot, gfn, writable);
slot             1500 virt/kvm/kvm_main.c 	struct kvm_memory_slot *slot = kvm_vcpu_gfn_to_memslot(vcpu, gfn);
slot             1502 virt/kvm/kvm_main.c 	return gfn_to_hva_memslot_prot(slot, gfn, writable);
slot             1705 virt/kvm/kvm_main.c kvm_pfn_t __gfn_to_pfn_memslot(struct kvm_memory_slot *slot, gfn_t gfn,
slot             1709 virt/kvm/kvm_main.c 	unsigned long addr = __gfn_to_hva_many(slot, gfn, NULL, write_fault);
slot             1724 virt/kvm/kvm_main.c 	if (writable && memslot_is_readonly(slot)) {
slot             1742 virt/kvm/kvm_main.c kvm_pfn_t gfn_to_pfn_memslot(struct kvm_memory_slot *slot, gfn_t gfn)
slot             1744 virt/kvm/kvm_main.c 	return __gfn_to_pfn_memslot(slot, gfn, false, NULL, true, NULL);
slot             1748 virt/kvm/kvm_main.c kvm_pfn_t gfn_to_pfn_memslot_atomic(struct kvm_memory_slot *slot, gfn_t gfn)
slot             1750 virt/kvm/kvm_main.c 	return __gfn_to_pfn_memslot(slot, gfn, true, NULL, true, NULL);
slot             1778 virt/kvm/kvm_main.c int gfn_to_page_many_atomic(struct kvm_memory_slot *slot, gfn_t gfn,
slot             1784 virt/kvm/kvm_main.c 	addr = gfn_to_hva_many(slot, gfn, &entry);
slot             1832 virt/kvm/kvm_main.c static void kvm_cache_gfn_to_pfn(struct kvm_memory_slot *slot, gfn_t gfn,
slot             1837 virt/kvm/kvm_main.c 	cache->pfn = gfn_to_pfn_memslot(slot, gfn);
slot             1851 virt/kvm/kvm_main.c 	struct kvm_memory_slot *slot = __gfn_to_memslot(slots, gfn);
slot             1862 virt/kvm/kvm_main.c 			kvm_cache_gfn_to_pfn(slot, gfn, cache, gen);
slot             1868 virt/kvm/kvm_main.c 		pfn = gfn_to_pfn_memslot(slot, gfn);
slot             2037 virt/kvm/kvm_main.c static int __kvm_read_guest_page(struct kvm_memory_slot *slot, gfn_t gfn,
slot             2043 virt/kvm/kvm_main.c 	addr = gfn_to_hva_memslot_prot(slot, gfn, NULL);
slot             2055 virt/kvm/kvm_main.c 	struct kvm_memory_slot *slot = gfn_to_memslot(kvm, gfn);
slot             2057 virt/kvm/kvm_main.c 	return __kvm_read_guest_page(slot, gfn, data, offset, len);
slot             2064 virt/kvm/kvm_main.c 	struct kvm_memory_slot *slot = kvm_vcpu_gfn_to_memslot(vcpu, gfn);
slot             2066 virt/kvm/kvm_main.c 	return __kvm_read_guest_page(slot, gfn, data, offset, len);
slot             2110 virt/kvm/kvm_main.c static int __kvm_read_guest_atomic(struct kvm_memory_slot *slot, gfn_t gfn,
slot             2116 virt/kvm/kvm_main.c 	addr = gfn_to_hva_memslot_prot(slot, gfn, NULL);
slot             2131 virt/kvm/kvm_main.c 	struct kvm_memory_slot *slot = gfn_to_memslot(kvm, gfn);
slot             2134 virt/kvm/kvm_main.c 	return __kvm_read_guest_atomic(slot, gfn, data, offset, len);
slot             2142 virt/kvm/kvm_main.c 	struct kvm_memory_slot *slot = kvm_vcpu_gfn_to_memslot(vcpu, gfn);
slot             2145 virt/kvm/kvm_main.c 	return __kvm_read_guest_atomic(slot, gfn, data, offset, len);
slot             2168 virt/kvm/kvm_main.c 	struct kvm_memory_slot *slot = gfn_to_memslot(kvm, gfn);
slot             2170 virt/kvm/kvm_main.c 	return __kvm_write_guest_page(slot, gfn, data, offset, len);
slot             2177 virt/kvm/kvm_main.c 	struct kvm_memory_slot *slot = kvm_vcpu_gfn_to_memslot(vcpu, gfn);
slot             2179 virt/kvm/kvm_main.c 	return __kvm_write_guest_page(slot, gfn, data, offset, len);
slot             3539 virt/kvm/kvm_main.c 	__u32 slot;
slot             3563 virt/kvm/kvm_main.c 		log.slot	 = compat_log.slot;