Searched refs:slot (Results 1 - 25 of 952) sorted by relevance

1234567891011>>

/linux-master/drivers/pci/hotplug/
H A Drpaphp_slot.c22 /* free up the memory used by a slot */
23 void dealloc_slot_struct(struct slot *slot) argument
25 of_node_put(slot->dn);
26 kfree(slot->name);
27 kfree(slot);
30 struct slot *alloc_slot_struct(struct device_node *dn,
33 struct slot *slot; local
35 slot
54 is_registered(struct slot *slot) argument
65 rpaphp_deregister_slot(struct slot *slot) argument
82 rpaphp_register_slot(struct slot *slot) argument
[all...]
H A Dcpci_hotplug.h30 struct slot { struct
47 int (*hardware_test)(struct slot *slot, u32 value);
48 u8 (*get_power)(struct slot *slot);
49 int (*set_power)(struct slot *slot, int value);
61 static inline const char *slot_name(struct slot *slot) argument
63 return hotplug_slot_name(&slot
[all...]
H A Dcpci_hotplug_pci.c33 u8 cpci_get_attention_status(struct slot *slot) argument
38 hs_cap = pci_bus_find_capability(slot->bus,
39 slot->devfn,
44 if (pci_bus_read_config_word(slot->bus,
45 slot->devfn,
53 int cpci_set_attention_status(struct slot *slot, int status) argument
58 hs_cap = pci_bus_find_capability(slot->bus,
59 slot
80 cpci_get_hs_csr(struct slot *slot) argument
98 cpci_check_and_clear_ins(struct slot *slot) argument
127 cpci_check_ext(struct slot *slot) argument
148 cpci_clear_ext(struct slot *slot) argument
174 cpci_led_on(struct slot *slot) argument
202 cpci_led_off(struct slot *slot) argument
235 cpci_configure_slot(struct slot *slot) argument
286 cpci_unconfigure_slot(struct slot *slot) argument
[all...]
H A Dshpchp_core.c45 static int set_attention_status(struct hotplug_slot *slot, u8 value);
46 static int enable_slot(struct hotplug_slot *slot);
47 static int disable_slot(struct hotplug_slot *slot);
48 static int get_power_status(struct hotplug_slot *slot, u8 *value);
49 static int get_attention_status(struct hotplug_slot *slot, u8 *value);
50 static int get_latch_status(struct hotplug_slot *slot, u8 *value);
51 static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
65 struct slot *slot; local
72 slot
131 struct slot *slot, *next; local
147 struct slot *slot = get_slot(hotplug_slot); local
160 struct slot *slot = get_slot(hotplug_slot); local
170 struct slot *slot = get_slot(hotplug_slot); local
180 struct slot *slot = get_slot(hotplug_slot); local
195 struct slot *slot = get_slot(hotplug_slot); local
210 struct slot *slot = get_slot(hotplug_slot); local
225 struct slot *slot = get_slot(hotplug_slot); local
[all...]
H A Dcpci_hotplug_core.c52 static int enable_slot(struct hotplug_slot *slot);
53 static int disable_slot(struct hotplug_slot *slot);
54 static int set_attention_status(struct hotplug_slot *slot, u8 value);
55 static int get_power_status(struct hotplug_slot *slot, u8 *value);
56 static int get_attention_status(struct hotplug_slot *slot, u8 *value);
57 static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
58 static int get_latch_status(struct hotplug_slot *slot, u8 *value);
73 struct slot *slot = to_slot(hotplug_slot); local
76 dbg("%s - physical_slot = %s", __func__, slot_name(slot));
86 struct slot *slot = to_slot(hotplug_slot); local
130 cpci_get_power_status(struct slot *slot) argument
142 struct slot *slot = to_slot(hotplug_slot); local
151 struct slot *slot = to_slot(hotplug_slot); local
166 struct slot *slot = to_slot(hotplug_slot); local
175 struct slot *slot = to_slot(hotplug_slot); local
181 release_slot(struct slot *slot) argument
192 struct slot *slot; local
244 struct slot *slot; local
297 struct slot *slot; local
326 struct slot *slot; local
549 struct slot *slot; local
[all...]
H A Drpaphp_pci.c72 static int __rpaphp_get_sensor_state(struct slot *slot, int *state) argument
78 struct pci_controller *phb = PCI_DN(slot->dn)->phb;
84 * Fallback to existing method for empty slot or PE isn't in EEH
95 slot->index);
99 return rtas_get_sensor(DR_ENTITY_SENSE, slot->index, state);
102 int rpaphp_get_sensor_state(struct slot *slot, int *state) argument
107 rc = __rpaphp_get_sensor_state(slot, state);
111 dbg("%s: slot mus
141 rpaphp_enable_slot(struct slot *slot) argument
[all...]
H A Drpaphp.h31 #define EMPTY 0 /* No card in slot */
32 #define PRESENT 1 /* Card in slot */
46 /* slot states */
58 * struct slot - slot information for each *physical* slot
60 struct slot { struct
77 static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
79 return container_of(hotplug_slot, struct slot, hotplug_slot);
85 int rpaphp_enable_slot(struct slot *slo
[all...]
H A Dacpiphp_core.c51 static int enable_slot(struct hotplug_slot *slot);
52 static int disable_slot(struct hotplug_slot *slot);
53 static int set_attention_status(struct hotplug_slot *slot, u8 value);
54 static int get_power_status(struct hotplug_slot *slot, u8 *value);
55 static int get_attention_status(struct hotplug_slot *slot, u8 *value);
56 static int get_latch_status(struct hotplug_slot *slot, u8 *value);
57 static int get_adapter_status(struct hotplug_slot *slot, u8 *value);
112 * enable_slot - power on and enable a slot
113 * @hotplug_slot: slot to enable
119 struct slot *slo local
136 struct slot *slot = to_slot(hotplug_slot); local
180 struct slot *slot = to_slot(hotplug_slot); local
226 struct slot *slot = to_slot(hotplug_slot); local
246 struct slot *slot = to_slot(hotplug_slot); local
259 struct slot *slot; local
296 struct slot *slot = acpiphp_slot->slot; local
[all...]
H A Dpci_hotplug_core.c50 static int get_##name(struct hotplug_slot *slot, type *value) \
52 const struct hotplug_slot_ops *ops = slot->ops; \
54 if (!try_module_get(slot->owner)) \
57 retval = ops->get_##name(slot, value); \
58 module_put(slot->owner); \
82 struct hotplug_slot *slot = pci_slot->hotplug; local
91 if (!try_module_get(slot->owner)) {
97 if (slot->ops->disable_slot)
98 retval = slot->ops->disable_slot(slot);
139 struct hotplug_slot *slot = pci_slot->hotplug; local
206 struct hotplug_slot *slot = pci_slot->hotplug; local
236 struct hotplug_slot *slot = pci_slot->hotplug; local
249 struct hotplug_slot *slot = pci_slot->hotplug; local
261 struct hotplug_slot *slot = pci_slot->hotplug; local
272 struct hotplug_slot *slot = pci_slot->hotplug; local
283 struct hotplug_slot *slot = pci_slot->hotplug; local
380 struct hotplug_slot *slot; local
404 __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) argument
438 __pci_hp_initialize(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) argument
477 pci_hp_add(struct hotplug_slot *slot) argument
504 pci_hp_deregister(struct hotplug_slot *slot) argument
519 pci_hp_del(struct hotplug_slot *slot) argument
551 pci_hp_destroy(struct hotplug_slot *slot) argument
[all...]
H A Dacpiphp.h33 * struct slot - slot information for each *physical* slot
35 struct slot { struct
41 static inline const char *slot_name(struct slot *slot) argument
43 return hotplug_slot_name(&slot->hotplug_slot);
46 static inline struct slot *to_slot(struct hotplug_slot *hotplug_slot)
48 return container_of(hotplug_slot, struct slot, hotplug_slot);
76 * struct acpiphp_slot - PCI slot informatio
85 struct slot *slot; member in struct:acpiphp_slot
100 struct acpiphp_slot *slot; member in struct:acpiphp_func
[all...]
H A Dshpchp.h63 struct slot { struct
86 struct slot *p_slot;
101 u32 first_slot; /* First physical slot number */
160 int shpchp_sysfs_enable_slot(struct slot *slot);
161 int shpchp_sysfs_disable_slot(struct slot *slot);
166 int shpchp_configure_device(struct slot *p_slot);
167 void shpchp_unconfigure_device(struct slot *p_slot);
172 static inline const char *slot_name(struct slot *slo argument
217 struct slot *slot; local
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Dsp2.h30 int slot, int addr);
32 int slot, int addr, u8 data);
34 int slot, u8 addr);
36 int slot, u8 addr, u8 data);
37 extern int sp2_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot);
38 extern int sp2_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot);
39 extern int sp2_ci_slot_ts_enable(struct dvb_ca_en50221 *en50221, int slot);
41 int slot, int open);
/linux-master/tools/testing/radix-tree/
H A Dregression3.c7 * This isn't checked and it tries to dereference null pointer in slot.
9 * Helper radix_tree_iter_resume reset slot to NULL and next_index to index + 1,
35 void **slot; local
44 radix_tree_for_each_tagged(slot, &root, &iter, 0, 0) {
45 printv(2, "tagged %ld %p\n", iter.index, *slot);
51 if (radix_tree_deref_retry(*slot)) {
53 slot = radix_tree_iter_retry(&iter);
60 radix_tree_for_each_slot(slot, &root, &iter, 0) {
61 printv(2, "slot %ld %p\n", iter.index, *slot);
[all...]
/linux-master/include/linux/
H A Dpci_hotplug.h19 * @enable_slot: Called when the user wants to enable a specific pci slot
20 * @disable_slot: Called when the user wants to disable a specific pci slot
21 * @set_attention_status: Called to set the specific slot's attention LED to
24 * slot.
25 * @get_power_status: Called to get the current power status of a slot.
26 * @get_attention_status: Called to get the current attention status of a slot.
27 * @get_latch_status: Called to get the current latch status of a slot.
28 * @get_adapter_status: Called to get see if an adapter is present in the slot or not.
30 * slot for cases where a secondary bus reset can result in spurious
31 * hotplug events or where a slot ca
68 hotplug_slot_name(const struct hotplug_slot *slot) argument
[all...]
/linux-master/drivers/mmc/host/
H A Dcb710-mmc.c29 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
30 struct pci_dev *pdev = cb710_slot_to_chip(slot)->pdev;
56 dev_dbg(cb710_slot_dev(slot),
62 static void __cb710_mmc_enable_irq(struct cb710_slot *slot, argument
74 enable = (cb710_read_port_16(slot, CB710_MMC_IRQ_ENABLE_PORT)
80 cb710_write_port_16(slot, CB710_MMC_IRQ_ENABLE_PORT, enable);
83 static void cb710_mmc_enable_irq(struct cb710_slot *slot, argument
86 struct cb710_mmc_reader *reader = mmc_priv(cb710_slot_to_mmc(slot));
91 __cb710_mmc_enable_irq(slot, enable, mask);
95 static void cb710_mmc_reset_events(struct cb710_slot *slot) argument
102 cb710_mmc_enable_4bit_data(struct cb710_slot *slot, int enable) argument
112 cb710_check_event(struct cb710_slot *slot, u8 what) argument
145 cb710_wait_for_event(struct cb710_slot *slot, u8 what) argument
178 cb710_wait_while_busy(struct cb710_slot *slot, uint8_t mask) argument
210 cb710_mmc_set_transfer_size(struct cb710_slot *slot, size_t count, size_t blocksize) argument
221 cb710_mmc_fifo_hack(struct cb710_slot *slot) argument
244 cb710_mmc_receive_pio(struct cb710_slot *slot, struct sg_mapping_iter *miter, size_t dw_count) argument
265 cb710_mmc_receive(struct cb710_slot *slot, struct mmc_data *data) argument
309 cb710_mmc_send(struct cb710_slot *slot, struct mmc_data *data) argument
395 cb710_receive_response(struct cb710_slot *slot, struct mmc_command *cmd) argument
424 cb710_mmc_transfer_data(struct cb710_slot *slot, struct mmc_data *data) argument
445 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
485 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
499 cb710_mmc_powerup(struct cb710_slot *slot) argument
554 cb710_mmc_powerdown(struct cb710_slot *slot) argument
562 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
603 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
611 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
617 cb710_mmc_irq_handler(struct cb710_slot *slot) argument
670 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); local
678 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); local
688 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); local
750 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); local
[all...]
/linux-master/drivers/pci/
H A Dslot.c21 struct pci_slot *slot = to_pci_slot(kobj); local
23 return attribute->show ? attribute->show(slot, buf) : -EIO;
29 struct pci_slot *slot = to_pci_slot(kobj); local
31 return attribute->store ? attribute->store(slot, buf, len) : -EIO;
39 static ssize_t address_read_file(struct pci_slot *slot, char *buf) argument
41 if (slot->number == 0xff)
43 pci_domain_nr(slot->bus),
44 slot->bus->number);
47 pci_domain_nr(slot->bus),
48 slot
57 max_speed_read_file(struct pci_slot *slot, char *buf) argument
62 cur_speed_read_file(struct pci_slot *slot, char *buf) argument
70 struct pci_slot *slot = to_pci_slot(kobj); local
145 rename_slot(struct pci_slot *slot, const char *name) argument
165 struct pci_slot *slot; local
176 struct pci_slot *slot; local
231 struct pci_slot *slot; local
313 pci_destroy_slot(struct pci_slot *slot) argument
335 struct hotplug_slot *slot = pci_slot->hotplug; local
[all...]
/linux-master/include/media/
H A Ddvb_ca_en50221.h46 * @slot_reset: function to reset the CAM slot
47 * @slot_shutdown: function to shutdown a CAM slot
48 * @slot_ts_enable: function to enable the Transport Stream on a CAM slot
49 * @poll_slot_status: function to poll slot status. Only necessary if
56 * and if appropriate. There will be no concurrent access to one slot.
62 int slot, int address);
64 int slot, int address, u8 value);
67 int slot, u8 address);
69 int slot, u8 address, u8 value);
72 int slot, u
[all...]
/linux-master/arch/sh/drivers/pci/
H A Dfixups-r7780rp.c15 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument
17 return evt2irq(0xa20) + slot;
/linux-master/drivers/media/pci/cx23885/
H A Dcimax2.h17 int slot, int addr);
19 int slot, int addr, u8 data);
21 int slot, u8 addr);
23 int slot, u8 addr, u8 data);
24 extern int netup_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot);
25 extern int netup_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot);
26 extern int netup_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot);
29 int slot, int open);
/linux-master/arch/mips/pci/
H A Dfixup-lantiq.c15 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
17 return of_irq_parse_and_map_pci(dev, slot, pin);
H A Dfixup-ath79.c15 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
17 return of_irq_parse_and_map_pci(dev, slot, pin);
H A Dfixup-rbtx4927.c39 int rbtx4927_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
45 if (slot == TX4927_PCIC_IDSEL_AD_TO_SLOT(23)) {
48 irq = (irq + 0 + slot) % 4;
52 irq = (irq + 33 - slot) % 4;
54 irq = (irq + 3 + slot) % 4;
/linux-master/fs/ocfs2/
H A Dsysfile.h15 u32 slot);
/linux-master/arch/x86/kvm/mmu/
H A Dpage_track.c42 void kvm_page_track_free_memslot(struct kvm_memory_slot *slot) argument
44 kvfree(slot->arch.gfn_write_track);
45 slot->arch.gfn_write_track = NULL;
48 static int __kvm_page_track_write_tracking_alloc(struct kvm_memory_slot *slot, argument
51 const size_t size = sizeof(*slot->arch.gfn_write_track);
53 if (!slot->arch.gfn_write_track)
54 slot->arch.gfn_write_track = __vcalloc(npages, size,
57 return slot->arch.gfn_write_track ? 0 : -ENOMEM;
61 struct kvm_memory_slot *slot,
67 return __kvm_page_track_write_tracking_alloc(slot, npage
60 kvm_page_track_create_memslot(struct kvm *kvm, struct kvm_memory_slot *slot, unsigned long npages) argument
70 kvm_page_track_write_tracking_alloc(struct kvm_memory_slot *slot) argument
75 update_gfn_write_track(struct kvm_memory_slot *slot, gfn_t gfn, short count) argument
90 __kvm_write_track_add_gfn(struct kvm *kvm, struct kvm_memory_slot *slot, gfn_t gfn) argument
113 __kvm_write_track_remove_gfn(struct kvm *kvm, struct kvm_memory_slot *slot, gfn_t gfn) argument
136 kvm_gfn_is_write_tracked(struct kvm *kvm, const struct kvm_memory_slot *slot, gfn_t gfn) argument
172 struct kvm_memory_slot *slot; local
293 kvm_page_track_delete_slot(struct kvm *kvm, struct kvm_memory_slot *slot) argument
321 struct kvm_memory_slot *slot; local
351 struct kvm_memory_slot *slot; local
[all...]
/linux-master/block/
H A Dblk-crypto-profile.c77 unsigned int slot; local
106 for (slot = 0; slot < num_slots; slot++) {
107 profile->slots[slot].profile = profile;
108 list_add_tail(&profile->slots[slot].idle_slot_node,
179 blk_crypto_remove_slot_from_lru_list(struct blk_crypto_keyslot *slot) argument
181 struct blk_crypto_profile *profile = slot->profile;
185 list_del(&slot->idle_slot_node);
208 struct blk_crypto_keyslot *slot; local
226 blk_crypto_keyslot_index(struct blk_crypto_keyslot *slot) argument
252 struct blk_crypto_keyslot *slot; local
325 blk_crypto_put_keyslot(struct blk_crypto_keyslot *slot) argument
366 struct blk_crypto_keyslot *slot; local
420 unsigned int slot; local
[all...]

Completed in 292 milliseconds

1234567891011>>