/linux-master/arch/arm/mach-footbridge/ |
H A D | ebsa285-pci.c | 19 static int ebsa285_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument 29 return irqmap_ebsa285[(slot + pin) & 3];
|
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | htab.c | 98 static long ps3_hpte_updatepp(unsigned long slot, unsigned long newpp, argument 112 result = lv1_read_htab_entries(PS3_LPAR_VAS_ID_CURRENT, slot & ~0x3UL, 118 pr_info("%s: result=%s read vpn=%lx slot=%lx psize=%d\n", 119 __func__, ps3_result(result), vpn, slot, psize); 123 hpte_v = hpte_v_array[slot % 4]; 138 slot, 0, 0); 152 static void ps3_hpte_invalidate(unsigned long slot, unsigned long vpn, argument 160 result = lv1_write_htab_entry(PS3_LPAR_VAS_ID_CURRENT, slot, 0, 0); 163 pr_info("%s: result=%s vpn=%lx slot=%lx psize=%d\n", 164 __func__, ps3_result(result), vpn, slot, psiz [all...] |
/linux-master/include/linux/ |
H A D | dlm.h | 19 int slot; /* 1 to MAX_INT */ member in struct:dlm_slot 33 void (*recover_slot) (void *ops_arg, struct dlm_slot *slot);
|
/linux-master/virt/kvm/ |
H A D | dirty_ring.c | 53 static void kvm_reset_dirty_gfn(struct kvm *kvm, u32 slot, u64 offset, u64 mask) argument 58 as_id = slot >> 16; 59 id = (u16)slot; 122 next_slot = READ_ONCE(entry->slot); 132 * scanning pages in the same slot. 169 void kvm_dirty_ring_push(struct kvm_vcpu *vcpu, u32 slot, u64 offset) argument 179 entry->slot = slot; 188 trace_kvm_dirty_ring_push(ring, slot, offset);
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | index-page-map.c | 70 size_t slot; local 76 slot = (chapter_number * map->entries_per_chapter) + index_page_number; 77 map->entries[slot] = delta_list_number; 84 u32 slot = chapter_number * map->entries_per_chapter; local 88 if (delta_list_number <= map->entries[slot + page]) 99 u32 slot = chapter_number * map->entries_per_chapter; local 102 0 : map->entries[slot + index_page_number - 1] + 1); 104 map->entries[slot + index_page_number] :
|
H A D | open-chapter.c | 24 * records is 1-based so that record number 0 can be used to indicate an unused hash slot. 104 unsigned int slot = uds_name_to_hash_slot(name, slot_count); local 109 record_number = open_chapter->slots[slot].record_number; 112 * If the hash slot is empty, we've reached the end of a chain without finding the 116 return slot; 119 * If the name of the record referenced by the slot matches and has not been 125 return slot; 131 slot = (slot + attempts++) % slot_count; 139 unsigned int slot; local 157 unsigned int slot; local 182 unsigned int slot; local [all...] |
/linux-master/drivers/mmc/host/ |
H A D | dw_mmc.c | 38 #include <linux/mmc/slot-gpio.h> 110 struct dw_mci_slot *slot = s->private; local 117 spin_lock_bh(&slot->host->lock); 118 mrq = slot->mrq; 143 spin_unlock_bh(&slot->host->lock); 168 static void dw_mci_init_debugfs(struct dw_mci_slot *slot) argument 170 struct mmc_host *mmc = slot->mmc; 171 struct dw_mci *host = slot->host; 179 debugfs_create_file("req", S_IRUSR, root, slot, &dw_mci_req_fops); 234 static void mci_send_cmd(struct dw_mci_slot *slot, u3 argument 254 struct dw_mci_slot *slot = mmc_priv(mmc); local 916 struct dw_mci_slot *slot = mmc_priv(mmc); local 934 struct dw_mci_slot *slot = mmc_priv(mmc); local 951 struct dw_mci_slot *slot = mmc_priv(mmc); local 1203 dw_mci_setup_bus(struct dw_mci_slot *slot, bool force_clkinit) argument 1316 __dw_mci_start_request(struct dw_mci *host, struct dw_mci_slot *slot, struct mmc_command *cmd) argument 1377 dw_mci_start_request(struct dw_mci *host, struct dw_mci_slot *slot) argument 1388 dw_mci_queue_request(struct dw_mci *host, struct dw_mci_slot *slot, struct mmc_request *mrq) argument 1417 struct dw_mci_slot *slot = mmc_priv(mmc); local 1443 struct dw_mci_slot *slot = mmc_priv(mmc); local 1548 struct dw_mci_slot *slot = mmc_priv(mmc); local 1562 struct dw_mci_slot *slot = mmc_priv(mmc); local 1600 struct dw_mci_slot *slot = mmc_priv(mmc); local 1618 struct dw_mci_slot *slot = mmc_priv(mmc); local 1644 dw_mci_prepare_sdio_irq(struct dw_mci_slot *slot, bool prepare) argument 1673 __dw_mci_enable_sdio_irq(struct dw_mci_slot *slot, int enb) argument 1694 struct dw_mci_slot *slot = mmc_priv(mmc); local 1709 struct dw_mci_slot *slot = mmc_priv(mmc); local 1716 struct dw_mci_slot *slot = mmc_priv(mmc); local 1729 struct dw_mci_slot *slot = mmc_priv(mmc); local 1893 struct dw_mci_slot *slot; variable in typeref:struct:dw_mci_slot 2716 struct dw_mci_slot *slot = host->slot; local 2726 struct dw_mci_slot *slot = host->slot; local 2863 dw_mci_init_slot_caps(struct dw_mci_slot *slot) argument 2918 struct dw_mci_slot *slot; local 2991 dw_mci_cleanup_slot(struct dw_mci_slot *slot) argument [all...] |
/linux-master/arch/powerpc/platforms/cell/spufs/ |
H A D | spu_save.c | 33 regs_spill[offset].slot[0] = spu_readch(SPU_RdEventMask); 44 regs_spill[offset].slot[0] = spu_readch(MFC_RdTagMask); 89 regs_spill[offset].slot[0] = spu_readch(SPU_RdDec); 101 regs_spill[offset].slot[0] = spu_readch(SPU_RdSRR0);
|
/linux-master/block/partitions/ |
H A D | osf.c | 19 int slot = 1; local 76 if (slot == state->limit) 79 put_partition(state, slot, 82 slot++;
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | pci-octeon.h | 33 u8 slot, u8 pin);
|
/linux-master/drivers/dca/ |
H A D | dca-sysfs.c | 20 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot) argument 25 cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL, 30 void dca_sysfs_remove_req(struct dca_provider *dca, int slot) argument 32 device_destroy(dca_class, MKDEV(0, slot + 1));
|
/linux-master/io_uring/ |
H A D | filetable.h | 46 static inline unsigned int io_slot_flags(struct io_fixed_file *slot) argument 48 return (slot->file_ptr & ~FFS_MASK) << REQ_F_SUPPORT_NOWAIT_BIT; 51 static inline struct file *io_slot_file(struct io_fixed_file *slot) argument 53 return (struct file *)(slot->file_ptr & FFS_MASK);
|
/linux-master/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 598 unsigned int slot; local 603 slot = o2nm_this_node(); 605 bio = o2hb_setup_one_bio(reg, write_wc, &slot, slot+1, 642 mlog(ML_ERROR, "Dump slot information: seq = 0x%llx, node = %u, " 661 * Compare the slot data with what we wrote in the last iteration. 663 * detect errors like... another node hearting on the same slot, 669 struct o2hb_disk_slot *slot; local 673 slot = ®->hr_slots[o2nm_this_node()]; 675 if (!slot 711 struct o2hb_disk_slot *slot; local 809 o2hb_shutdown_slot(struct o2hb_disk_slot *slot) argument 886 o2hb_check_slot(struct o2hb_region *reg, struct o2hb_disk_slot *slot) argument 1671 struct o2hb_disk_slot *slot; local 1730 struct o2hb_disk_slot *slot; local [all...] |
/linux-master/arch/sh/drivers/pci/ |
H A D | fixups-rts7751r2d.c | 31 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument 34 return lboxre2_irq_tab[slot]; 36 return rts7751r2d_irq_tab[slot];
|
/linux-master/arch/alpha/kernel/ |
H A D | pci_impl.h | 26 #define EISA_DEFAULT_IO_BASE 0x9000 /* start above 8th slot */ 27 #define DEFAULT_IO_BASE 0x8000 /* start at 8th slot */ 121 if (slot >= min_idsel && slot <= max_idsel && pin < irqs_per_slot) \ 122 _ctl_ = irq_tab[slot - min_idsel][pin]; \
|
/linux-master/arch/x86/include/asm/uv/ |
H A D | uv_geo.h | 22 unsigned char slot; /* slot is IRU */ member in struct:geo_common_s 43 char slot; /* PCI slot number */ member in struct:geo_pcicard_s 57 char memslot; /* The memory slot on the bus */ 100 -1 : g.common.blade * 2 + g.common.slot;
|
/linux-master/arch/arm/mach-orion5x/ |
H A D | board-rd88f5182.c | 72 static int __init rd88f5182_pci_map_irq(const struct pci_dev *dev, u8 slot, argument 80 irq = orion5x_pci_map_irq(dev, slot, pin); 87 switch (slot - RD88F5182_PCI_SLOT0_OFFS) {
|
/linux-master/drivers/media/platform/nxp/imx-jpeg/ |
H A D | mxc-jpeg-hw.c | 77 void mxc_jpeg_enable_irq(void __iomem *reg, int slot) argument 79 writel(0xFFFFFFFF, reg + MXC_SLOT_OFFSET(slot, SLOT_STATUS)); 80 writel(0xF0C, reg + MXC_SLOT_OFFSET(slot, SLOT_IRQ_EN)); 83 void mxc_jpeg_disable_irq(void __iomem *reg, int slot) argument 85 writel(0x0, reg + MXC_SLOT_OFFSET(slot, SLOT_IRQ_EN)); 86 writel(0xFFFFFFFF, reg + MXC_SLOT_OFFSET(slot, SLOT_STATUS)); 150 void mxc_jpeg_enable_slot(void __iomem *reg, int slot) argument 155 writel(GLB_CTRL_SLOT_EN(slot) | regval, reg + GLB_CTRL); 182 void mxc_jpeg_set_desc(u32 desc, void __iomem *reg, int slot) argument 185 reg + MXC_SLOT_OFFSET(slot, SLOT_NXT_DESCPT_PT 188 mxc_jpeg_clr_desc(void __iomem *reg, int slot) argument [all...] |
/linux-master/drivers/pci/hotplug/ |
H A D | cpqphp.h | 209 /* offsets to the hotplug slot resource table registers based on the above 247 struct slot { struct 248 struct slot *next; 289 struct slot *slot; member in struct:controller 386 #define msg_button_on "PCI slot #%d - powering on due to button press.\n" 387 #define msg_button_off "PCI slot #%d - powering off due to button press.\n" 388 #define msg_button_cancel "PCI slot #%d - action canceled due to button press.\n" 389 #define msg_button_ignore "PCI slot #%d - button press ignored. (action in progress...)\n" 418 u8 slot); 446 slot_name(struct slot *slot) argument 480 amber_LED_on(struct controller *ctrl, u8 slot) argument 490 amber_LED_off(struct controller *ctrl, u8 slot) argument 500 read_amber_LED(struct controller *ctrl, u8 slot) argument 511 green_LED_on(struct controller *ctrl, u8 slot) argument 520 green_LED_off(struct controller *ctrl, u8 slot) argument 530 green_LED_blink(struct controller *ctrl, u8 slot) argument 541 slot_disable(struct controller *ctrl, u8 slot) argument 551 slot_enable(struct controller *ctrl, u8 slot) argument 561 is_slot_enabled(struct controller *ctrl, u8 slot) argument 633 enable_slot_power(struct controller *ctrl, u8 slot) argument 642 disable_slot_power(struct controller *ctrl, u8 slot) argument 652 cpq_get_attention_status(struct controller *ctrl, struct slot *slot) argument 662 get_slot_enabled(struct controller *ctrl, struct slot *slot) argument 672 cpq_get_latch_status(struct controller *ctrl, struct slot *slot) argument 688 get_presence_status(struct controller *ctrl, struct slot *slot) argument [all...] |
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | dma.c | 73 int slot, 78 *meta = &(ring->meta[slot]); 80 desc = &(desc[slot]); 91 int slot; local 96 slot = (int)(&(desc->dma32) - descbase); 97 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); 103 if (slot == ring->nr_slots - 1) 118 static void op32_poke_tx(struct b43_dmaring *ring, int slot) argument 121 (u32) (slot * sizeo 72 op32_idx2desc(struct b43_dmaring *ring, int slot, struct b43_dmadesc_meta **meta) argument 146 op32_set_current_rxslot(struct b43_dmaring *ring, int slot) argument 164 op64_idx2desc(struct b43_dmaring *ring, int slot, struct b43_dmadesc_meta **meta) argument 183 int slot; local 213 op64_poke_tx(struct b43_dmaring *ring, int slot) argument 241 op64_set_current_rxslot(struct b43_dmaring *ring, int slot) argument 262 next_slot(struct b43_dmaring *ring, int slot) argument 270 prev_slot(struct b43_dmaring *ring, int slot) argument 302 int slot; local 1136 generate_cookie(struct b43_dmaring *ring, int slot) argument 1157 parse_cookie(struct b43_wldev *dev, u16 cookie, int *slot) argument 1196 int slot, old_top_slot, old_used_slots; local 1422 int slot, firstused; local 1582 dma_rx(struct b43_dmaring *ring, int *slot) argument 1690 int slot, current_slot; local [all...] |
/linux-master/drivers/md/dm-vdo/ |
H A D | packer.c | 53 u8 slot; local 63 slot = mapping_state - VDO_MAPPING_STATE_COMPRESSED_BASE; 64 if (slot >= VDO_MAX_COMPRESSION_SLOTS) 67 compressed_size = __le16_to_cpu(block->header.sizes[slot]); 68 for (i = 0; i < slot; i++) { 263 .state = data_vio->compression.slot + VDO_MAPPING_STATE_COMPRESSED_BASE, 328 data_vio->compression.slot = bin->slots_used; 392 block_size_t offset, slot_number_t slot, 400 to_pack->slot = slot; 390 pack_fragment(struct compression_state *compression, struct data_vio *data_vio, block_size_t offset, slot_number_t slot, struct compressed_block *block) argument 428 slot_number_t slot = 1; local 668 slot_number_t slot; local [all...] |
/linux-master/fs/efs/ |
H A D | namei.c | 20 int slot, namelen; local 48 for (slot = 0; slot < dirblock->slots; slot++) { 49 dirslot = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot));
|
/linux-master/drivers/input/joystick/ |
H A D | grip_mp.c | 74 #define IO_SLOT_CHANGE 0x0800 /* Multiport physical slot status changed */ 351 * B21-B24 => multiport slot index (1-4) 363 int slot; local 381 slot = ((packet >> 21) & 0xf) - 1; 382 if ((slot < 0) || (slot > 3)) 385 port = grip->port[slot]; 396 printk(KERN_INFO "grip_mp: removing %s, slot %d\n", 397 grip_name[port->mode], slot); 401 dbg("Reset: grip multiport slot 451 int flags, slot, invalid = 0, active = 0; local 510 report_slot(struct grip_mp *grip, int slot) argument 584 register_slot(int slot, struct grip_mp *grip) argument [all...] |
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | dma.c | 33 int slot, 38 *meta = &(ring->meta[slot]); 40 desc = &(desc[slot]); 51 int slot; local 56 slot = (int)(desc - descbase); 57 B43legacy_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); 65 if (slot == ring->nr_slots - 1) 80 static void op32_poke_tx(struct b43legacy_dmaring *ring, int slot) argument 83 (u32)(slot * sizeo 32 op32_idx2desc(struct b43legacy_dmaring *ring, int slot, struct b43legacy_dmadesc_meta **meta) argument 110 op32_set_current_rxslot(struct b43legacy_dmaring *ring, int slot) argument 122 next_slot(struct b43legacy_dmaring *ring, int slot) argument 155 int slot; local 852 generate_cookie(struct b43legacy_dmaring *ring, int slot) argument 891 parse_cookie(struct b43legacy_wldev *dev, u16 cookie, int *slot) argument 931 int slot, old_top_slot, old_used_slots; local 1107 int slot; local 1220 dma_rx(struct b43legacy_dmaring *ring, int *slot) argument 1320 int slot; local [all...] |
/linux-master/drivers/xen/xen-pciback/ |
H A D | pci_stub.c | 158 int slot, int func) 166 && slot == PCI_SLOT(psdev->dev->devfn) 176 int slot, int func) 183 psdev = pcistub_device_find_locked(domain, bus, slot, func); 212 int slot, int func) 220 psdev = pcistub_device_find_locked(domain, bus, slot, func); 322 /* Match the specified device by domain, bus, slot, func and also if 1005 int *slot, int *func) 1009 switch (sscanf(buf, " %x:%x:%x.%x %n", domain, bus, slot, func, 1013 sscanf(buf, " %x:%x:%x.* %n", domain, bus, slot, 157 pcistub_device_find_locked(int domain, int bus, int slot, int func) argument 175 pcistub_device_find(int domain, int bus, int slot, int func) argument 210 pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func) argument 1004 str_to_slot(const char *buf, int *domain, int *bus, int *slot, int *func) argument 1041 str_to_quirk(const char *buf, int *domain, int *bus, int *slot, int *func, int *reg, int *size, int *mask) argument 1061 pcistub_device_id_add(int domain, int bus, int slot, int func) argument 1101 pcistub_device_id_remove(int domain, int bus, int slot, int func) argument 1130 pcistub_reg_add(int domain, int bus, int slot, int func, unsigned int reg, unsigned int size, unsigned int mask) argument 1175 int domain, bus, slot, func; local 1194 int domain, bus, slot, func; local 1267 int domain, bus, slot, func; local 1305 int domain, bus, slot, func, reg, size, mask; local 1369 int domain, bus, slot, func; local 1433 int domain, bus, slot, func; local 1511 int domain, bus, slot, func; local [all...] |