Searched refs:slot (Results 101 - 125 of 952) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/mm/book3s64/
H A Dhash_64k.c22 * Return true, if the entry has a slot value which
47 unsigned long vpn, hash, slot, gslot; local
104 * clear the old slot details from the old and new pte.
106 * want slot information there if we have a insert failure.
161 /* Insert into the hash table, primary slot */
162 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0,
167 if (unlikely(slot == -1)) {
171 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa,
176 soft_invalid = hpte_soft_invalid(slot);
179 * We got a valid slot fro
236 unsigned long vpn, hash, slot; local
[all...]
H A Dhash_4k.c29 unsigned long vpn, hash, slot; local
87 /* Insert into the hash table, primary slot */
88 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0,
93 if (unlikely(slot == -1)) {
95 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa,
100 if (slot == -1) {
115 if (unlikely(slot == -2)) {
122 new_pte |= pte_set_hidx(ptep, rpte, 0, slot, PTRS_PER_PTE);
H A Dhash_native.c374 static long native_hpte_updatepp(unsigned long slot, unsigned long newpp, argument
378 struct hash_pte *hptep = htab_address + slot;
388 vpn, want_v & HPTE_V_AVPN, slot, newpp);
432 static long __native_hpte_find(unsigned long want_v, unsigned long slot) argument
440 hptep = htab_address + slot;
444 return slot;
445 ++slot;
456 long slot; local
466 slot = __native_hpte_find(want_v, hpte_group);
467 if (slot <
490 long slot; local
526 long slot; local
555 native_hpte_invalidate(unsigned long slot, unsigned long vpn, int bpsize, int apsize, int ssize, int local) argument
606 unsigned long hidx, vpn = 0, hash, slot; local
664 hpte_decode(struct hash_pte *hpte, unsigned long slot, int *psize, int *apsize, int *ssize, unsigned long *vpn) argument
743 unsigned long slot, slots; local
782 unsigned long hash, index, hidx, shift, slot; local
[all...]
/linux-master/virt/kvm/
H A Dkvm_mm.h41 int kvm_gmem_bind(struct kvm *kvm, struct kvm_memory_slot *slot,
43 void kvm_gmem_unbind(struct kvm_memory_slot *slot);
51 struct kvm_memory_slot *slot,
58 static inline void kvm_gmem_unbind(struct kvm_memory_slot *slot) argument
50 kvm_gmem_bind(struct kvm *kvm, struct kvm_memory_slot *slot, unsigned int fd, loff_t offset) argument
/linux-master/block/partitions/
H A Datari.c41 int slot; local
74 for (slot = 1; pi < &rs->part[4] && slot < state->limit; slot++, pi++) {
84 put_partition (state, slot, be32_to_cpu(pi->st),
109 put_partition(state, slot,
126 if (++slot == state->limit) {
139 for (; pi < &rs->icdpart[8] && slot < state->limit; slot++, pi++) {
143 put_partition (state, slot,
[all...]
H A Dcmdline.c250 static int add_part(int slot, struct cmdline_subpart *subpart, argument
257 if (slot >= state->limit)
260 put_partition(state, slot, subpart->from >> 9,
263 info = &state->parts[slot].info;
272 state->parts[slot].has_info = true;
282 int slot = 1; local
285 subpart = subpart->next_subpart, slot++) {
299 if (add_part(slot, subpart, state))
303 return slot;
340 static void cmdline_parts_verifier(int slot, struc argument
[all...]
H A Dsun.c25 int slot = 1; local
115 put_partition(state, slot, st_sector, num_sectors);
116 state->parts[slot].flags = 0;
119 state->parts[slot].flags |= ADDPART_FLAG_RAID;
121 state->parts[slot].flags |= ADDPART_FLAG_WHOLEDISK;
124 slot++;
/linux-master/lib/
H A Dradix-tree.c80 get_slot_offset(const struct radix_tree_node *parent, void __rcu **slot) argument
82 return parent ? slot - parent->slots : 0;
149 * Returns 1 if any slot in the node has this tag set.
482 * is not at the leftmost slot, we cannot shrink.
513 * We have a dilemma here. The node's slot[0] must not be
516 * then it may be subject to the slot pointer being visible
518 * slot[0] is subsequently deleted, these callers would expect
519 * their slot to become empty sooner or later.
521 * For example, lockless pagecache will look up a slot, deref
525 * to retry the entire slot looku
603 void __rcu **slot = (void __rcu **)&root->xa_head; local
681 insert_entries(struct radix_tree_node *node, void __rcu **slot, void *item) argument
707 void __rcu **slot; local
753 void __rcu **slot; local
797 void __rcu **slot; local
823 replace_slot(void __rcu **slot, void *item, struct radix_tree_node *node, int count, int values) argument
850 calculate_count(struct radix_tree_root *root, struct radix_tree_node *node, void __rcu **slot, void *item, void *old) argument
875 __radix_tree_replace(struct radix_tree_root *root, struct radix_tree_node *node, void __rcu **slot, void *item) argument
914 radix_tree_replace_slot(struct radix_tree_root *root, void __rcu **slot, void *item) argument
931 radix_tree_iter_replace(struct radix_tree_root *root, const struct radix_tree_iter *iter, void __rcu **slot, void *item) argument
1136 radix_tree_iter_resume(void __rcu **slot, struct radix_tree_iter *iter) argument
1208 void *slot = rcu_dereference_raw( local
1266 void __rcu **slot; local
1307 void __rcu **slot; local
1348 void __rcu **slot; local
1364 __radix_tree_delete(struct radix_tree_root *root, struct radix_tree_node *node, void __rcu **slot) argument
1394 radix_tree_iter_delete(struct radix_tree_root *root, struct radix_tree_iter *iter, void __rcu **slot) argument
1417 void __rcu **slot = NULL; local
1481 void __rcu **slot = (void __rcu **)&root->xa_head; local
[all...]
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_kms.c58 static void setup_hw_slot(struct qxl_device *qdev, struct qxl_memslot *slot) argument
60 qdev->ram_header->mem_slot.mem_start = slot->start_phys_addr;
61 qdev->ram_header->mem_slot.mem_end = slot->start_phys_addr + slot->size;
62 qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index);
66 struct qxl_memslot *slot,
74 slot->index = slot_index;
75 slot->name = slot_name;
76 slot->start_phys_addr = start_phys_addr;
77 slot
65 setup_slot(struct qxl_device *qdev, struct qxl_memslot *slot, unsigned int slot_index, const char *slot_name, unsigned long start_phys_addr, unsigned long size) argument
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dboard-n8x0.c132 * VMMC slot 1 on both N800 and N810
133 * VDCDC3_APE and VMCS2_APE slot 2 on N800
134 * GPIO23 and GPIO9 slot 2 EMMC on N810
163 static int n8x0_mmc_set_power_menelaus(struct device *dev, int slot, argument
169 dev_dbg(dev, "Set slot %d power: %s (vdd %d)\n", slot + 1,
172 if (slot == 0) {
232 static int n8x0_mmc_set_power(struct device *dev, int slot, int power_on, argument
235 if (board_is_n800() || slot == 0)
236 return n8x0_mmc_set_power_menelaus(dev, slot, power_o
243 n8x0_mmc_set_bus_mode(struct device *dev, int slot, int bus_mode) argument
267 n8x0_mmc_get_cover_state(struct device *dev, int slot) argument
[all...]
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dspu_restore.c79 decr_running = regs_spill[offset].slot[0] & SPU_DECR_STATUS_RUNNING;
82 decr = regs_spill[offset].slot[0];
97 data = regs_spill[offset].slot[0];
111 data = regs_spill[offset].slot[0];
138 srr0 = regs_spill[offset].slot[0];
151 event_mask = regs_spill[offset].slot[0];
164 tag_mask = regs_spill[offset].slot[0];
192 stopped_status = regs_spill[offset].slot[0];
193 stopped_code = regs_spill[offset].slot[1];
/linux-master/drivers/media/platform/nxp/imx-jpeg/
H A Dmxc-jpeg-hw.h68 #define MXC_SLOT_OFFSET(slot, offset) ((SLOT_BASE * ((slot) + 1)) + (offset))
75 #define GLB_CTRL_SLOT_EN(slot) (0x1 << ((slot) + 4))
122 void mxc_jpeg_enable_slot(void __iomem *reg, int slot);
124 void mxc_jpeg_enable_irq(void __iomem *reg, int slot);
125 void mxc_jpeg_disable_irq(void __iomem *reg, int slot);
129 void mxc_jpeg_set_desc(u32 desc, void __iomem *reg, int slot);
130 void mxc_jpeg_clr_desc(void __iomem *reg, int slot);
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dbeacon.c199 int slot; local
204 for (slot = 0; slot < ATH_BCBUF; slot++) {
205 if (sc->beacon.bslot[slot] == NULL) {
206 avp->av_bslot = slot;
213 ath_dbg(common, CONFIG, "Added interface at beacon slot: %d\n",
223 ath_dbg(common, CONFIG, "Removing interface at beacon slot: %d\n",
252 int slot; local
256 /* Find first taken slot
313 int slot; local
339 int slot; local
396 int slot; local
[all...]
/linux-master/drivers/mmc/host/
H A Dcqhci-crypto.c36 int slot)
38 u32 slot_offset = cq_host->crypto_cfg_register + slot * sizeof(*cfg);
42 return cq_host->ops->program_key(cq_host, cfg, slot);
63 unsigned int slot)
102 err = cqhci_crypto_program_key(cq_host, &cfg, slot);
108 static int cqhci_crypto_clear_keyslot(struct cqhci_host *cq_host, int slot) argument
116 return cqhci_crypto_program_key(cq_host, &cfg, slot);
121 unsigned int slot)
125 return cqhci_crypto_clear_keyslot(cq_host, slot);
176 unsigned int slot; local
34 cqhci_crypto_program_key(struct cqhci_host *cq_host, const union cqhci_crypto_cfg_entry *cfg, int slot) argument
61 cqhci_crypto_keyslot_program(struct blk_crypto_profile *profile, const struct blk_crypto_key *key, unsigned int slot) argument
119 cqhci_crypto_keyslot_evict(struct blk_crypto_profile *profile, const struct blk_crypto_key *key, unsigned int slot) argument
[all...]
H A Datmel-mci.c68 #define ATMCI_SDCSEL_SLOT_A (0 << 0) /* Select SD slot A */
69 #define ATMCI_SDCSEL_SLOT_B (1 << 0) /* Select SD slot A */
123 #define ATMCI_SDIOIRQA BIT(8) /* SDIO IRQ in slot A */
124 #define ATMCI_SDIOIRQB BIT(9) /* SDIO IRQ in slot B */
205 * struct mci_slot_pdata - board-specific per-slot configuration
206 * @bus_width: Number of data lines wired up the slot
209 * @non_removable: The slot is not removable, only detect once
211 * If a given slot is not present on the board, @bus_width should be
231 * @slot: Per-slot configuratio
236 struct mci_slot_pdata slot[ATMCI_MAX_NR_SLOTS]; member in struct:mci_platform_data
382 struct atmel_mci_slot *slot[ATMCI_MAX_NR_SLOTS]; member in struct:atmel_mci
444 struct atmel_mci_slot *slot = s->private; local
610 atmci_init_debugfs(struct atmel_mci_slot *slot) argument
780 atmci_set_timeout(struct atmel_mci *host, struct atmel_mci_slot *slot, struct mmc_data *data) argument
1281 atmci_start_request(struct atmel_mci *host, struct atmel_mci_slot *slot) argument
1375 atmci_queue_request(struct atmel_mci *host, struct atmel_mci_slot *slot, struct mmc_request *mrq) argument
1395 struct atmel_mci_slot *slot = mmc_priv(mmc); local
1428 struct atmel_mci_slot *slot = mmc_priv(mmc); local
1559 struct atmel_mci_slot *slot = mmc_priv(mmc); local
1573 struct atmel_mci_slot *slot = mmc_priv(mmc); local
1586 struct atmel_mci_slot *slot = mmc_priv(mmc); local
1608 struct atmel_mci_slot *slot = NULL; variable in typeref:struct:atmel_mci_slot
1674 struct atmel_mci_slot *slot = from_timer(slot, t, detect_timer); local
2112 struct atmel_mci_slot *slot = host->slot[i]; local
2250 struct atmel_mci_slot *slot = dev_id; local
2268 struct atmel_mci_slot *slot; local
2369 atmci_cleanup_slot(struct atmel_mci_slot *slot, unsigned int id) argument
[all...]
/linux-master/drivers/ufs/core/
H A Dufshcd-crypto.c21 const union ufs_crypto_cfg_entry *cfg, int slot)
24 u32 slot_offset = hba->crypto_cfg_register + slot * sizeof(*cfg);
30 err = hba->vops->program_key(hba, cfg, slot);
53 unsigned int slot)
92 err = ufshcd_program_key(hba, &cfg, slot);
98 static int ufshcd_clear_keyslot(struct ufs_hba *hba, int slot) argument
106 return ufshcd_program_key(hba, &cfg, slot);
111 unsigned int slot)
116 return ufshcd_clear_keyslot(hba, slot);
226 int slot; local
20 ufshcd_program_key(struct ufs_hba *hba, const union ufs_crypto_cfg_entry *cfg, int slot) argument
51 ufshcd_crypto_keyslot_program(struct blk_crypto_profile *profile, const struct blk_crypto_key *key, unsigned int slot) argument
109 ufshcd_crypto_keyslot_evict(struct blk_crypto_profile *profile, const struct blk_crypto_key *key, unsigned int slot) argument
[all...]
/linux-master/arch/x86/pci/
H A Damd_bus.c24 u32 slot; member in struct:amd_hostbridge
72 unsigned slot; local
99 slot = hb_probes[i].slot;
100 id = read_pci_config(bus, slot, 0, PCI_VENDOR_ID);
125 reg = read_pci_config(bus, slot, 1,
152 reg = read_pci_config(bus, slot, 0, AMD_NB_F0_NODE_ID);
154 reg = read_pci_config(bus, slot, 0, AMD_NB_F0_UNIT_ID);
161 reg = read_pci_config(bus, slot, 1, 0xc0 + (i << 3));
166 reg = read_pci_config(bus, slot,
359 u8 slot = amd_nb_bus_dev_ranges[i].dev_base; local
[all...]
/linux-master/drivers/pci/hotplug/
H A Dshpchp_ctrl.c25 static int shpchp_enable_slot(struct slot *p_slot);
26 static int shpchp_disable_slot(struct slot *p_slot);
28 static int queue_interrupt_event(struct slot *p_slot, u32 event_type)
47 struct slot *p_slot;
70 struct slot *p_slot;
108 struct slot *p_slot;
143 struct slot *p_slot;
178 static int change_bus_speed(struct controller *ctrl, struct slot *p_slot,
193 static int fix_bus_speed(struct controller *ctrl, struct slot *pslot,
224 * @p_slot: target &slot
447 update_slot_info(struct slot *slot) argument
[all...]
/linux-master/drivers/mailbox/
H A Dhi6220-mailbox.c60 * - slot number
63 unsigned int slot; member in struct:hi6220_mbox_chan
91 unsigned int slot, u32 val)
95 status = readl(mbox->base + MBOX_MODE_REG(slot));
97 writel(status, mbox->base + MBOX_MODE_REG(slot));
101 unsigned int slot, u32 val)
105 mode = readl(mbox->base + MBOX_MODE_REG(slot));
107 writel(mode, mbox->base + MBOX_MODE_REG(slot));
119 state = readl(mbox->base + MBOX_MODE_REG(mchan->slot));
127 unsigned int slot local
90 mbox_set_state(struct hi6220_mbox *mbox, unsigned int slot, u32 val) argument
100 mbox_set_mode(struct hi6220_mbox *mbox, unsigned int slot, u32 val) argument
[all...]
/linux-master/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_dma.c94 unsigned int slot)
103 writel(addr, csi->regs + CSI_BUF_ADDR_REG(plane, slot));
107 csi->current_buf[slot] = NULL;
111 static int sun4i_csi_buffer_fill_slot(struct sun4i_csi *csi, unsigned int slot) argument
119 * already filled slot.
121 if (WARN_ON(csi->current_buf[slot]))
125 return sun4i_csi_setup_scratch_buffer(csi, slot);
131 csi->current_buf[slot] = v_buf;
138 writel(buf_addr, csi->regs + CSI_BUF_ADDR_REG(plane, slot));
146 unsigned int slot; local
93 sun4i_csi_setup_scratch_buffer(struct sun4i_csi *csi, unsigned int slot) argument
158 sun4i_csi_buffer_mark_done(struct sun4i_csi *csi, unsigned int slot, unsigned int sequence) argument
208 unsigned int slot; local
[all...]
/linux-master/fs/btrfs/
H A Dctree.c781 * The lower boundary for the search is specified by the slot number @first_slot.
785 * The slot in the extent buffer is returned via @slot. If the key exists in the
786 * extent buffer, then @slot will point to the slot where the key is, otherwise
787 * it points to the slot where you would insert the key.
793 const struct btrfs_key *key, int *slot)
852 *slot = mid;
856 *slot = low;
876 /* given a node and slot numbe
792 btrfs_bin_search(struct extent_buffer *eb, int first_slot, const struct btrfs_key *key, int *slot) argument
879 btrfs_read_node_slot(struct extent_buffer *parent, int slot) argument
1323 reada_for_search(struct btrfs_fs_info *fs_info, struct btrfs_path *path, int level, int slot, u64 objectid) argument
1409 int slot; local
1493 read_block_for_search(struct btrfs_root *root, struct btrfs_path *p, struct extent_buffer **eb_ret, int level, int slot, const struct btrfs_key *key) argument
1795 const int slot = path->slots[i]; local
1817 search_for_key_slot(struct extent_buffer *eb, int search_low_slot, const struct btrfs_key *key, int prev_cmp, int *slot) argument
2003 int slot; local
2253 int slot; local
2591 int slot; local
2914 insert_ptr(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct btrfs_disk_key *key, u64 bytenr, int slot, int level) argument
3117 int slot; local
3251 int slot; local
3465 int slot; local
3521 copy_for_split(struct btrfs_trans_handle *trans, struct btrfs_path *path, struct extent_buffer *l, struct extent_buffer *right, int slot, int mid, int nritems) argument
3597 int slot; local
3660 int slot; local
3907 int orig_slot, slot; local
4008 int slot; local
4100 int slot; local
4177 int slot; local
4294 int slot; local
4380 btrfs_del_ptr(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int level, int slot) argument
4466 btrfs_del_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, int slot, int nr) argument
4620 int slot; local
4732 int slot; local
4797 int slot; local
[all...]
/linux-master/arch/mips/pci/
H A Dfixup-ip32.c12 * 2 expansion slot
37 * Given a PCI slot number (a la PCI_SLOT(...)) and the interrupt pin of
43 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
45 return irq_tab_mace[slot][pin];
H A Dfixup-sni.c133 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
137 if (slot == 4) {
145 slot = 5;
147 return irq_tab_pcit_cplus[slot][pin];
149 return irq_tab_pcit[slot][pin];
153 return irq_tab_rm300d[slot][pin];
156 return irq_tab_rm200[slot][pin];
159 return irq_tab_rm300e[slot][pin];
/linux-master/include/sound/ac97/
H A Dcontroller.h52 * The slot number is also known as the AC97 codec number, between 0 and 3.
57 int (*write)(struct ac97_controller *adrv, int slot,
59 int (*read)(struct ac97_controller *adrv, int slot, unsigned short reg);
/linux-master/arch/arm/mach-orion5x/
H A Dboard-mss2.c27 static int __init mss2_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
34 irq = orion5x_pci_map_irq(dev, slot, pin);

Completed in 212 milliseconds

1234567891011>>