Searched refs:slot (Results 26 - 50 of 952) sorted by relevance

1234567891011>>

/linux-master/arch/x86/include/asm/
H A Dpci-direct.h10 extern u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset);
11 extern u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset);
12 extern u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset);
13 extern void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, u32 val);
14 extern void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val);
15 extern void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val);
/linux-master/arch/x86/pci/
H A Dearly.c11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) argument
14 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
19 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) argument
22 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
27 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) argument
30 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
35 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, argument
38 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8);
42 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) argument
44 outl(0x80000000 | (bus<<16) | (slot<<1
48 write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) argument
[all...]
/linux-master/arch/sh/drivers/pci/
H A Dfixups-titan.c28 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument
30 int irq = titan_irq_tab[slot];
32 printk("PCI: Mapping TITAN IRQ for slot %d, pin %c to irq %d\n",
33 slot, pin - 1 + 'A', irq);
H A Dfixups-sh03.c8 int pcibios_map_platform_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
13 switch (slot) {
19 "for slot %d\n", slot);
H A Dfixups-snapgear.c20 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument
24 switch (slot) {
33 printk("PCI: Mapping SnapGear IRQ for slot %d, pin %c to irq %d\n",
34 slot, pin - 1 + 'A', irq);
/linux-master/drivers/xen/xen-pciback/
H A Dvpci.c73 int err = 0, slot, func = PCI_FUNC(dev->devfn); local
103 for (slot = 0; slot < PCI_SLOT_MAX; slot++) {
104 if (list_empty(&vpci_dev->dev_list[slot]))
107 t = list_entry(list_first(&vpci_dev->dev_list[slot]),
113 dev_info(&dev->dev, "vpci: assign to virtual slot %d func %d\n",
114 slot, func);
116 &vpci_dev->dev_list[slot]);
122 /* Assign to a new slot o
153 int slot; local
186 int slot; local
212 int slot; local
239 int found = 0, slot; local
[all...]
/linux-master/include/linux/platform_data/
H A Dmmc-omap.h84 int (*set_bus_mode)(struct device *dev, int slot, int bus_mode);
85 int (*set_power)(struct device *dev, int slot,
87 int (*get_ro)(struct device *dev, int slot);
88 void (*remux)(struct device *dev, int slot, int power_on);
90 void (*before_set_reg)(struct device *dev, int slot,
93 void (*after_set_reg)(struct device *dev, int slot,
104 int (*get_cover_state)(struct device *dev, int slot);
110 int (*card_detect)(struct device *dev, int slot);
117 extern void omap_mmc_notify_cover_event(struct device *dev, int slot,
/linux-master/arch/arm64/include/asm/
H A Dvectors.h63 arm64_get_bp_hardening_vector(enum arm64_bp_harden_el1_vectors slot) argument
66 return (char *)(TRAMP_VALIAS + SZ_2K * slot);
68 WARN_ON_ONCE(slot == EL1_VECTOR_KPTI);
70 return __bp_harden_el1_vectors + SZ_2K * slot;
/linux-master/fs/efs/
H A Ddir.c27 int slot; local
37 slot = ctx->pos & 0xff;
61 for (; slot < dirblock->slots; slot++) {
67 if (dirblock->space[slot] == 0)
70 dirslot = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot));
75 pr_debug("%s(): block %d slot %d/%d: inode %u, name \"%s\", namelen %u\n",
76 __func__, block, slot, dirblock->slots-1,
81 ctx->pos = (block << EFS_DIRBSIZE_BITS) | slot;
86 slot);
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_mksstat.h96 const int slot; member in struct:mksstat_timer_t
102 .slot = vmw_mksstat_get_kern_slot(current->pid, dev_priv) \
107 if (_##kern_cntr.slot >= 0) { \
108 _##kern_cntr.old_top = dev_priv->mksstat_kern_top_timer[_##kern_cntr.slot]; \
109 dev_priv->mksstat_kern_top_timer[_##kern_cntr.slot] = kern_cntr; \
115 if (_##kern_cntr.slot >= 0) { \
116 const pid_t pid = atomic_cmpxchg(&dev_priv->mksstat_kern_pids[_##kern_cntr.slot], current->pid, MKSSTAT_PID_RESERVED); \
117 dev_priv->mksstat_kern_top_timer[_##kern_cntr.slot] = _##kern_cntr.old_top; \
123 BUG_ON(!dev_priv->mksstat_kern_pages[_##kern_cntr.slot]); \
125 pstat = vmw_mksstat_get_kern_pstat(page_address(dev_priv->mksstat_kern_pages[_##kern_cntr.slot])); \
[all...]
/linux-master/include/linux/input/
H A Dmt.h22 * struct input_mt_slot - represents the state of an input MT slot
23 * @abs: holds current values of ABS_MT axes for this slot
25 * @key: optional driver designation of this slot
37 * @slot: MT slot currently being transmitted
46 int slot; member in struct:input_mt
53 static inline void input_mt_set_value(struct input_mt_slot *slot, argument
56 slot->abs[code - ABS_MT_FIRST] = value;
59 static inline int input_mt_get_value(const struct input_mt_slot *slot, argument
62 return slot
65 input_mt_is_active(const struct input_mt_slot *slot) argument
70 input_mt_is_used(const struct input_mt *mt, const struct input_mt_slot *slot) argument
85 input_mt_slot(struct input_dev *dev, int slot) argument
[all...]
/linux-master/fs/btrfs/
H A Dtree-checker.c51 * Append generic "corrupt leaf/node root=%llu block=%llu slot=%d: " to @fmt.
56 static void generic_err(const struct extent_buffer *eb, int slot, argument
70 "corrupt %s: root=%llu block=%llu slot=%d, %pV",
72 btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot, &vaf);
82 static void file_extent_err(const struct extent_buffer *eb, int slot, argument
90 btrfs_item_key_to_cpu(eb, &key, slot);
98 "corrupt %s: root=%llu block=%llu slot=%d ino=%llu file_offset=%llu, %pV",
100 btrfs_header_owner(eb), btrfs_header_bytenr(eb), slot,
109 #define CHECK_FE_ALIGNED(leaf, slot, fi, name, alignment) \
113 file_extent_err((leaf), (slot), \
143 dir_item_err(const struct extent_buffer *eb, int slot, const char *fmt, ...) argument
175 check_prev_ino(struct extent_buffer *leaf, struct btrfs_key *key, int slot, struct btrfs_key *prev_key) argument
206 check_extent_data_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot, struct btrfs_key *prev_key) argument
346 check_csum_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot, struct btrfs_key *prev_key) argument
392 check_inode_key(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
444 check_root_key(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
502 check_dir_item(struct extent_buffer *leaf, struct btrfs_key *key, struct btrfs_key *prev_key, int slot) argument
639 block_group_err(const struct extent_buffer *eb, int slot, const char *fmt, ...) argument
662 check_block_group_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
759 int slot = -1; local
963 check_leaf_chunk_item(struct extent_buffer *leaf, struct btrfs_chunk *chunk, struct btrfs_key *key, int slot) argument
997 dev_item_err(const struct extent_buffer *eb, int slot, const char *fmt, ...) argument
1019 check_dev_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
1066 check_inode_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
1155 check_root_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
1244 extent_err(const struct extent_buffer *eb, int slot, const char *fmt, ...) argument
1274 check_extent_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot, struct btrfs_key *prev_key) argument
1560 check_simple_keyed_refs(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
1591 check_extent_data_ref(struct extent_buffer *leaf, struct btrfs_key *key, int slot) argument
1632 check_inode_ref(struct extent_buffer *leaf, struct btrfs_key *key, struct btrfs_key *prev_key, int slot) argument
1682 check_raid_stripe_extent(const struct extent_buffer *leaf, const struct btrfs_key *key, int slot) argument
1723 check_leaf_item(struct extent_buffer *leaf, struct btrfs_key *key, int slot, struct btrfs_key *prev_key) argument
1791 int slot; local
1956 int slot; local
[all...]
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptlf.c17 lf->slot, OTX2_CPT_LF_DONE_WAIT);
19 otx2_cpt_write64(lf->lfs->reg_base, lf->lfs->blkaddr, lf->slot,
28 lf->slot, OTX2_CPT_LF_DONE_WAIT);
30 otx2_cpt_write64(lf->lfs->reg_base, lf->lfs->blkaddr, lf->slot,
37 int slot; local
39 for (slot = 0; slot < lfs->lfs_num; slot++)
40 cptlf_do_set_done_time_wait(&lfs->lf[slot], time_wait);
45 int slot; local
95 int slot, ret = 0; local
113 int slot, ret = 0; local
167 int slot; local
184 int slot; local
383 int slot, offs; local
398 int slot, offs, ret; local
431 int slot, ret; local
[all...]
/linux-master/arch/x86/kvm/mmu/
H A Dpage_track.h11 int kvm_page_track_write_tracking_alloc(struct kvm_memory_slot *slot);
13 void kvm_page_track_free_memslot(struct kvm_memory_slot *slot);
15 struct kvm_memory_slot *slot,
18 void __kvm_write_track_add_gfn(struct kvm *kvm, struct kvm_memory_slot *slot,
21 struct kvm_memory_slot *slot, gfn_t gfn);
24 const struct kvm_memory_slot *slot, gfn_t gfn);
31 void kvm_page_track_delete_slot(struct kvm *kvm, struct kvm_memory_slot *slot);
44 struct kvm_memory_slot *slot) { }
43 kvm_page_track_delete_slot(struct kvm *kvm, struct kvm_memory_slot *slot) argument
/linux-master/lib/
H A Dobjpool.c20 struct objpool_slot *slot,
24 void *obj = (void *)&slot->entries[pool->capacity];
28 slot->mask = pool->capacity - 1;
36 slot->entries[slot->tail & slot->mask] = obj;
38 slot->tail++;
39 slot->last = slot->tail;
55 struct objpool_slot *slot; local
19 objpool_init_percpu_slot(struct objpool_head *pool, struct objpool_slot *slot, int nodes, void *context, objpool_init_obj_cb objinit) argument
159 struct objpool_slot *slot = pool->cpu_slots[cpu]; local
197 struct objpool_slot *slot = pool->cpu_slots[cpu]; local
[all...]
/linux-master/drivers/pci/hotplug/
H A Drpaphp_core.c57 struct slot *slot = to_slot(hotplug_slot); local
69 rc = rtas_set_indicator(DR_INDICATOR, slot->index, value);
71 slot->attention_status = value;
77 * get_power_status - get power status of a slot
78 * @hotplug_slot: slot to get status
84 struct slot *slot = to_slot(hotplug_slot); local
86 retval = rtas_get_power_level(slot->power_domain, &level);
94 * @hotplug_slot: slot t
99 struct slot *slot = to_slot(hotplug_slot); local
106 struct slot *slot = to_slot(hotplug_slot); local
123 get_max_bus_speed(struct slot *slot) argument
336 struct slot *slot; local
377 struct slot *slot; local
452 struct slot *slot, *next; local
486 struct slot *slot = to_slot(hotplug_slot); local
518 struct slot *slot = to_slot(hotplug_slot); local
[all...]
/linux-master/tools/power/cpupower/utils/helpers/
H A Dpci.c16 * slot: slot
27 int slot, int func, int vendor, int dev)
39 filter_nb_link.slot = slot;
55 /* Typically one wants to get a specific slot(device)/func of the root domain
57 struct pci_dev *pci_slot_func_init(struct pci_access **pacc, int slot, argument
60 return pci_acc_init(pacc, 0, 0, slot, func, -1, -1);
26 pci_acc_init(struct pci_access **pacc, int domain, int bus, int slot, int func, int vendor, int dev) argument
/linux-master/include/linux/
H A Dcb710.h21 /* per-virtual-slot structure */
39 struct cb710_slot slot[]; member in struct:cb710_chip
50 /* slot port accessors - so the logic is more clear in the code */
52 static inline void cb710_write_port_##t(struct cb710_slot *slot, \
55 iowrite##t(value, slot->iobase + port); \
58 static inline u##t cb710_read_port_##t(struct cb710_slot *slot, \
61 return ioread##t(slot->iobase + port); \
64 static inline void cb710_modify_port_##t(struct cb710_slot *slot, \
68 (ioread##t(slot->iobase + port) & ~clear)|set, \
69 slot
89 cb710_slot_to_chip(struct cb710_slot *slot) argument
94 cb710_slot_dev(struct cb710_slot *slot) argument
[all...]
H A Dradix-tree.h37 * The bottom two bits of the slot determine how the remaining bits in the
38 * slot are interpreted:
45 * sibling entry, or an indicator that the entry in this slot has been moved
94 * @index: index of current slot
97 * @node: node that contains current slot
101 * described by a pointer to its first slot and a struct radix_tree_iter
165 * radix_tree_deref_slot - dereference a slot
166 * @slot: slot pointer, returned by radix_tree_lookup_slot
169 * locked across slot looku
177 radix_tree_deref_slot(void __rcu **slot) argument
191 radix_tree_deref_slot_protected(void __rcu **slot, spinlock_t *treelock) argument
397 radix_tree_next_slot(void __rcu **slot, struct radix_tree_iter *iter, unsigned flags) argument
[all...]
/linux-master/arch/x86/kernel/
H A Dearly-quirks.c32 static void __init fix_hypertransport_config(int num, int slot, int func) argument
41 htcfg = read_pci_config(num, slot, func, 0x68);
51 write_pci_config(num, slot, func, 0x68, htcfg);
58 static void __init via_bugs(int num, int slot, int func) argument
81 static void __init nvidia_bugs(int num, int slot, int func) argument
117 static u32 __init ati_ixp4x0_rev(int num, int slot, int func) argument
122 b = read_pci_config_byte(num, slot, func, 0xac);
124 write_pci_config_byte(num, slot, func, 0xac, b);
126 d = read_pci_config(num, slot, func, 0x70);
128 write_pci_config(num, slot, fun
135 ati_bugs(int num, int slot, int func) argument
161 ati_sbx00_rev(int num, int slot, int func) argument
171 ati_bugs_contd(int num, int slot, int func) argument
203 ati_bugs(int num, int slot, int func) argument
207 ati_bugs_contd(int num, int slot, int func) argument
212 intel_remapping_check(int num, int slot, int func) argument
299 i830_stolen_base(int num, int slot, int func, resource_size_t stolen_size) argument
305 i845_stolen_base(int num, int slot, int func, resource_size_t stolen_size) argument
311 i85x_stolen_base(int num, int slot, int func, resource_size_t stolen_size) argument
317 i865_stolen_base(int num, int slot, int func, resource_size_t stolen_size) argument
327 gen3_stolen_base(int num, int slot, int func, resource_size_t stolen_size) argument
342 gen11_stolen_base(int num, int slot, int func, resource_size_t stolen_size) argument
354 i830_stolen_size(int num, int slot, int func) argument
375 gen3_stolen_size(int num, int slot, int func) argument
404 gen6_stolen_size(int num, int slot, int func) argument
415 gen8_stolen_size(int num, int slot, int func) argument
426 chv_stolen_size(int num, int slot, int func) argument
447 gen9_stolen_size(int num, int slot, int func) argument
568 intel_graphics_stolen(int num, int slot, int func, const struct intel_early_ops *early_ops) argument
593 intel_graphics_quirks(int num, int slot, int func) argument
622 force_disable_hpet(int num, int slot, int func) argument
635 apple_airport_reset(int bus, int slot, int func) argument
747 check_dev_quirk(int num, int slot, int func) argument
796 int slot, func; local
[all...]
H A Daperture_64.c140 static u32 __init find_cap(int bus, int slot, int func, int cap) argument
145 if (!(read_pci_config_16(bus, slot, func, PCI_STATUS) &
149 pos = read_pci_config_byte(bus, slot, func, PCI_CAPABILITY_LIST);
154 id = read_pci_config_byte(bus, slot, func, pos+PCI_CAP_LIST_ID);
159 pos = read_pci_config_byte(bus, slot, func,
166 static u32 __init read_agp(int bus, int slot, int func, int cap, u32 *order) argument
175 pr_info("pci 0000:%02x:%02x:%02x: AGP bridge\n", bus, slot, func);
176 apsizereg = read_pci_config_16(bus, slot, func, cap + 0x14);
179 bus, slot, func);
195 aper_low = read_pci_config(bus, slot, fun
236 int bus, slot, func; local
300 int i, fix, slot, valid_agp = 0; local
399 int fix, slot, valid_agp = 0; local
[all...]
/linux-master/arch/sparc/include/asm/
H A Dparport_64.h118 int slot, err; local
131 for (slot = 0; slot < PARPORT_PC_MAX_PORTS; slot++) {
132 if (!test_and_set_bit(slot, dma_slot_map))
136 if (slot >= PARPORT_PC_MAX_PORTS)
139 spin_lock_init(&sparc_ebus_dmas[slot].info.lock);
142 sparc_ebus_dmas[slot].info.regs =
145 if (!sparc_ebus_dmas[slot].info.regs)
148 sparc_ebus_dmas[slot]
202 int slot = p->dma; local
[all...]
/linux-master/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c79 /* Information on a CA slot */
84 /* mutex used for serializing access to one CI slot */
108 /* timer used during various states of the slot */
128 /* information on each slot */
193 static int dvb_ca_en50221_read_data(struct dvb_ca_private *ca, int slot,
195 static int dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot,
228 static int dvb_ca_en50221_check_camstatus(struct dvb_ca_private *ca, int slot) argument
230 struct dvb_ca_slot *sl = &ca->slot_info[slot];
240 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open);
272 * @slot
278 dvb_ca_en50221_wait_if_status(struct dvb_ca_private *ca, int slot, u8 waitfor, int timeout_hz) argument
326 dvb_ca_en50221_link_init(struct dvb_ca_private *ca, int slot) argument
402 dvb_ca_en50221_read_tuple(struct dvb_ca_private *ca, int slot, int *address, int *tuple_type, int *tuple_length, u8 *tuple) argument
456 dvb_ca_en50221_parse_attributes(struct dvb_ca_private *ca, int slot) argument
601 dvb_ca_en50221_set_configoption(struct dvb_ca_private *ca, int slot) argument
637 dvb_ca_en50221_read_data(struct dvb_ca_private *ca, int slot, u8 *ebuf, int ecount) argument
792 dvb_ca_en50221_write_data(struct dvb_ca_private *ca, int slot, u8 *buf, int bytes_write, int size_write_flag) argument
913 dvb_ca_en50221_slot_shutdown(struct dvb_ca_private *ca, int slot) argument
939 dvb_ca_en50221_camchange_irq(struct dvb_ca_en50221 *pubca, int slot, int change_type) argument
968 dvb_ca_en50221_camready_irq(struct dvb_ca_en50221 *pubca, int slot) argument
988 dvb_ca_en50221_frda_irq(struct dvb_ca_en50221 *pubca, int slot) argument
1039 int slot; local
1097 dvb_ca_en50221_poll_cam_gone(struct dvb_ca_private *ca, int slot) argument
1126 dvb_ca_en50221_thread_state_machine(struct dvb_ca_private *ca, int slot) argument
1306 int slot; local
1352 int slot; local
1453 u8 slot, connection_id; local
1549 int slot; local
1611 int slot; local
1815 int slot; local
[all...]
/linux-master/block/partitions/
H A Dacorn.c26 unsigned long first_sector, int slot)
47 put_partition(state, slot, first_sector, nr_sects);
71 unsigned long first_sect, int slot,
90 put_partition(state, slot++, first_sect, size);
94 put_partition(state, slot++,
105 put_partition(state, slot++, first_sect, nr_sects);
109 return slot;
126 unsigned long first_sect, int slot,
135 put_partition(state, slot++, first_sect, size);
144 if (slot
25 adfs_partition(struct parsed_partitions *state, char *name, char *data, unsigned long first_sector, int slot) argument
70 riscix_partition(struct parsed_partitions *state, unsigned long first_sect, int slot, unsigned long nr_sects) argument
125 linux_partition(struct parsed_partitions *state, unsigned long first_sect, int slot, unsigned long nr_sects) argument
167 int slot = 1; local
257 int slot = 1; local
354 int slot; local
451 int slot = 1; local
514 int i, slot = 1; local
[all...]
/linux-master/arch/mips/pci/
H A Dfixup-bcm63xx.c13 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument

Completed in 231 milliseconds

1234567891011>>