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

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/hotplug/
H A Drpaphp_slot.c36 /* free up the memory used by a slot */
39 struct slot *slot = (struct slot *) hotplug_slot->private; local
40 dealloc_slot_struct(slot);
43 void dealloc_slot_struct(struct slot *slot) argument
45 kfree(slot->hotplug_slot->info);
46 kfree(slot->name);
47 kfree(slot
54 struct slot *slot; local
88 is_registered(struct slot *slot) argument
99 rpaphp_deregister_slot(struct slot *slot) argument
118 rpaphp_register_slot(struct slot *slot) argument
[all...]
H A Dcpci_hotplug.h44 struct slot { struct
59 int (*hardware_test) (struct slot* slot, u32 value);
60 u8 (*get_power) (struct slot* slot);
61 int (*set_power) (struct slot* slot, int value);
73 static inline const char *slot_name(struct slot *slot) argument
75 return hotplug_slot_name(slot
[all...]
H A Dcpci_hotplug_pci.c49 u8 cpci_get_attention_status(struct slot* slot) argument
54 hs_cap = pci_bus_find_capability(slot->bus,
55 slot->devfn,
60 if (pci_bus_read_config_word(slot->bus,
61 slot->devfn,
69 int cpci_set_attention_status(struct slot* slot, int status) argument
74 hs_cap = pci_bus_find_capability(slot->bus,
75 slot
96 cpci_get_hs_csr(struct slot* slot) argument
114 cpci_check_and_clear_ins(struct slot* slot) argument
143 cpci_check_ext(struct slot* slot) argument
164 cpci_clear_ext(struct slot* slot) argument
190 cpci_led_on(struct slot* slot) argument
219 cpci_led_off(struct slot* slot) argument
253 cpci_configure_slot(struct slot *slot) argument
329 cpci_unconfigure_slot(struct slot* slot) argument
[all...]
H A Dacpiphp_core.c71 static int enable_slot (struct hotplug_slot *slot);
72 static int disable_slot (struct hotplug_slot *slot);
73 static int set_attention_status (struct hotplug_slot *slot, u8 value);
74 static int get_power_status (struct hotplug_slot *slot, u8 *value);
75 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
76 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
77 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
131 * enable_slot - power on and enable a slot
132 * @hotplug_slot: slot to enable
138 struct slot *slo local
155 struct slot *slot = hotplug_slot->private; local
202 struct slot *slot = hotplug_slot->private; local
247 struct slot *slot = hotplug_slot->private; local
267 struct slot *slot = hotplug_slot->private; local
301 struct slot *slot = hotplug_slot->private; local
312 struct slot *slot; local
364 struct slot *slot = acpiphp_slot->slot; local
[all...]
H A Dshpchp_core.c62 static int set_attention_status (struct hotplug_slot *slot, u8 value);
63 static int enable_slot (struct hotplug_slot *slot);
64 static int disable_slot (struct hotplug_slot *slot);
65 static int get_power_status (struct hotplug_slot *slot, u8 *value);
66 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
67 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
68 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
81 * release_slot - free up the memory used by a slot
82 * @hotplug_slot: slot to free
86 struct slot *slo local
98 struct slot *slot; local
171 struct slot *slot; local
188 struct slot *slot = get_slot(hotplug_slot); local
201 struct slot *slot = get_slot(hotplug_slot); local
211 struct slot *slot = get_slot(hotplug_slot); local
221 struct slot *slot = get_slot(hotplug_slot); local
236 struct slot *slot = get_slot(hotplug_slot); local
251 struct slot *slot = get_slot(hotplug_slot); local
266 struct slot *slot = get_slot(hotplug_slot); local
[all...]
H A Drpaphp_pci.c35 int rpaphp_get_sensor_state(struct slot *slot, int *state) argument
40 rc = rtas_get_sensor(DR_ENTITY_SENSE, slot->index, state);
44 dbg("%s: slot must be power up to get sensor-state\n",
50 rc = rtas_set_power_level(slot->power_domain, POWER_ON,
53 dbg("%s: power on slot[%s] failed rc=%d.\n",
54 __func__, slot->name, rc);
57 slot->index, state);
60 info("%s: slot is unusable\n", __func__);
68 * rpaphp_enable_slot - record slot stat
76 rpaphp_enable_slot(struct slot *slot) argument
[all...]
H A Dpci_hotplug_core.c76 static int get_##name (struct hotplug_slot *slot, type *value) \
78 struct hotplug_slot_ops *ops = slot->ops; \
83 retval = ops->get_##name(slot, value); \
85 *value = slot->info->name; \
95 static ssize_t power_read_file(struct pci_slot *slot, char *buf) argument
100 retval = get_power_status(slot->hotplug, &value);
111 struct hotplug_slot *slot = pci_slot->hotplug; local
120 if (!try_module_get(slot->ops->owner)) {
126 if (slot->ops->disable_slot)
127 retval = slot
153 attention_read_file(struct pci_slot *slot, char *buf) argument
167 attention_write_file(struct pci_slot *slot, const char *buf, size_t count) argument
199 latch_read_file(struct pci_slot *slot, char *buf) argument
218 presence_read_file(struct pci_slot *slot, char *buf) argument
240 struct hotplug_slot *slot = pci_slot->hotplug; local
270 struct hotplug_slot *slot = pci_slot->hotplug; local
282 struct hotplug_slot *slot = pci_slot->hotplug; local
293 struct hotplug_slot *slot = pci_slot->hotplug; local
303 struct hotplug_slot *slot = pci_slot->hotplug; local
313 struct hotplug_slot *slot = pci_slot->hotplug; local
321 fs_add_slot(struct pci_slot *slot) argument
385 fs_remove_slot(struct pci_slot *slot) argument
409 struct hotplug_slot *slot; local
434 __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) argument
491 struct pci_slot *slot; local
530 struct pci_slot *slot; local
[all...]
H A Dpcihp_skeleton.c40 struct slot { struct
75 static int enable_slot (struct hotplug_slot *slot);
76 static int disable_slot (struct hotplug_slot *slot);
77 static int set_attention_status (struct hotplug_slot *slot, u8 value);
78 static int hardware_test (struct hotplug_slot *slot, u32 value);
79 static int get_power_status (struct hotplug_slot *slot, u8 *value);
80 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
81 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
82 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
97 struct slot *slo local
111 struct slot *slot = hotplug_slot->private; local
125 struct slot *slot = hotplug_slot->private; local
150 struct slot *slot = hotplug_slot->private; local
169 struct slot *slot = hotplug_slot->private; local
184 struct slot *slot = hotplug_slot->private; local
199 struct slot *slot = hotplug_slot->private; local
214 struct slot *slot = hotplug_slot->private; local
229 struct slot *slot = hotplug_slot->private; local
237 make_slot_name(struct slot *slot) argument
252 struct slot *slot; local
320 struct slot *slot; local
[all...]
H A Drpaphp_core.c67 struct slot *slot = (struct slot *)hotplug_slot->private; local
79 rc = rtas_set_indicator(DR_INDICATOR, slot->index, value);
87 * get_power_status - get power status of a slot
88 * @hotplug_slot: slot to get status
94 struct slot *slot = (struct slot *)hotplug_slot->private; local
96 retval = rtas_get_power_level (slot
109 struct slot *slot = (struct slot *)hotplug_slot->private; local
116 struct slot *slot = (struct slot *)hotplug_slot->private; local
133 get_max_bus_speed(struct slot *slot) argument
306 struct slot *slot; local
353 struct slot *slot; local
388 struct slot *slot = (struct slot *)hotplug_slot->private; local
416 struct slot *slot = (struct slot *)hotplug_slot->private; local
[all...]
H A Dpciehp_core.c66 static int set_attention_status (struct hotplug_slot *slot, u8 value);
67 static int enable_slot (struct hotplug_slot *slot);
68 static int disable_slot (struct hotplug_slot *slot);
69 static int get_power_status (struct hotplug_slot *slot, u8 *value);
70 static int get_attention_status (struct hotplug_slot *slot, u8 *value);
71 static int get_latch_status (struct hotplug_slot *slot, u8 *value);
72 static int get_adapter_status (struct hotplug_slot *slot, u8 *value);
75 * release_slot - free up the memory used by a slot
76 * @hotplug_slot: slot to free
80 struct slot *slo local
92 struct slot *slot = ctrl->slot; local
157 struct slot *slot = hotplug_slot->private; local
168 struct slot *slot = hotplug_slot->private; local
179 struct slot *slot = hotplug_slot->private; local
189 struct slot *slot = hotplug_slot->private; local
199 struct slot *slot = hotplug_slot->private; local
209 struct slot *slot = hotplug_slot->private; local
219 struct slot *slot = hotplug_slot->private; local
231 struct slot *slot; local
306 struct slot *slot; local
[all...]
H A Dpciehp.h74 struct slot { struct
84 struct slot *p_slot;
91 struct slot *slot; member in struct:controller
129 extern int pciehp_sysfs_enable_slot(struct slot *slot);
130 extern int pciehp_sysfs_disable_slot(struct slot *slot);
131 extern u8 pciehp_handle_attention_button(struct slot *p_slot);
132 extern u8 pciehp_handle_switch_change(struct slot *p_slo
162 slot_name(struct slot *slot) argument
[all...]
H A Drpaphp.h45 #define EMPTY 0 /* No card in slot */
46 #define PRESENT 1 /* Card in slot */
60 /* slot states */
68 * struct slot - slot information for each *physical* slot
70 struct slot { struct
89 extern int rpaphp_enable_slot(struct slot *slot);
90 extern int rpaphp_get_sensor_state(struct slot *slo
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dmca-legacy.h29 /* Returns the slot of the first enabled adapter matching id. User can
30 * specify a starting slot beyond zero, to deal with detecting multiple
37 extern int mca_mark_as_used(int slot);
38 extern void mca_mark_as_unused(int slot);
41 extern unsigned char mca_read_stored_pos(int slot, int reg);
47 extern void mca_set_adapter_name(int slot, char* name);
61 extern unsigned char mca_read_pos(int slot, int reg);
64 extern void mca_write_pos(int slot, int reg, unsigned char byte);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/iseries/
H A Dhtab.c27 static inline void iSeries_hlock(unsigned long slot) argument
29 if (slot & 0x8)
30 slot = ~slot;
31 spin_lock(&iSeries_hlocks[(slot >> 4) & 0x3f]);
34 static inline void iSeries_hunlock(unsigned long slot) argument
36 if (slot & 0x8)
37 slot = ~slot;
38 spin_unlock(&iSeries_hlocks[(slot >>
45 long slot; local
100 iSeries_hpte_getword0(unsigned long slot) argument
144 iSeries_hpte_updatepp(unsigned long slot, unsigned long newpp, unsigned long va, int psize, int ssize, int local) argument
180 long slot; local
211 long slot; local
224 iSeries_hpte_invalidate(unsigned long slot, unsigned long va, int psize, int ssize, int local) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/cx23885/
H A Dcimax2.h31 int slot, int addr);
33 int slot, int addr, u8 data);
35 int slot, u8 addr);
37 int slot, u8 addr, u8 data);
38 extern int netup_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot);
39 extern int netup_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot);
40 extern int netup_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot);
43 int slot, int open);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mmc/host/
H A Dcb710-mmc.c30 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
31 struct pci_dev *pdev = cb710_slot_to_chip(slot)->pdev;
52 dev_dbg(cb710_slot_dev(slot),
58 static void __cb710_mmc_enable_irq(struct cb710_slot *slot, argument
70 enable = (cb710_read_port_16(slot, CB710_MMC_IRQ_ENABLE_PORT)
76 cb710_write_port_16(slot, CB710_MMC_IRQ_ENABLE_PORT, enable);
79 static void cb710_mmc_enable_irq(struct cb710_slot *slot, argument
82 struct cb710_mmc_reader *reader = mmc_priv(cb710_slot_to_mmc(slot));
87 __cb710_mmc_enable_irq(slot, enable, mask);
91 static void cb710_mmc_reset_events(struct cb710_slot *slot) argument
98 cb710_mmc_is_card_inserted(struct cb710_slot *slot) argument
104 cb710_mmc_enable_4bit_data(struct cb710_slot *slot, int enable) argument
116 cb710_check_event(struct cb710_slot *slot, u8 what) argument
149 cb710_wait_for_event(struct cb710_slot *slot, u8 what) argument
182 cb710_wait_while_busy(struct cb710_slot *slot, uint8_t mask) argument
214 cb710_mmc_set_transfer_size(struct cb710_slot *slot, size_t count, size_t blocksize) argument
225 cb710_mmc_fifo_hack(struct cb710_slot *slot) argument
248 cb710_mmc_receive_pio(struct cb710_slot *slot, struct sg_mapping_iter *miter, size_t dw_count) argument
269 cb710_mmc_receive(struct cb710_slot *slot, struct mmc_data *data) argument
313 cb710_mmc_send(struct cb710_slot *slot, struct mmc_data *data) argument
399 cb710_receive_response(struct cb710_slot *slot, struct mmc_command *cmd) argument
428 cb710_mmc_transfer_data(struct cb710_slot *slot, struct mmc_data *data) argument
449 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
489 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
508 cb710_mmc_powerup(struct cb710_slot *slot) argument
563 cb710_mmc_powerdown(struct cb710_slot *slot) argument
571 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
616 struct cb710_slot *slot = cb710_mmc_to_slot(mmc); local
622 cb710_mmc_irq_handler(struct cb710_slot *slot) argument
674 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); local
688 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); local
700 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); local
755 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/pci/
H A Dfixup-jmr3927.c34 int __init jmr3927_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
40 if (slot == TX3927_PCIC_IDSEL_AD_TO_SLOT(23)) {
45 } else if (slot == TX3927_PCIC_IDSEL_AD_TO_SLOT(22)) {
53 irq = (irq + 33 - slot) % 4;
55 irq = (irq + 3 + slot) % 4;
76 slot == TX3927_PCIC_IDSEL_AD_TO_SLOT(24))
H A Dfixup-rbtx4938.c16 int __init rbtx4938_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
18 int irq = tx4938_pcic1_map_irq(dev, slot);
25 if (slot == TX4927_PCIC_IDSEL_AD_TO_SLOT(23)) {
28 irq = (irq + 0 + slot) % 4;
32 irq = (irq + 33 - slot) % 4;
34 irq = (irq + 3 + slot) % 4;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pci/
H A Dslot.c2 * drivers/pci/slot.c
20 struct pci_slot *slot = to_pci_slot(kobj); local
22 return attribute->show ? attribute->show(slot, buf) : -EIO;
28 struct pci_slot *slot = to_pci_slot(kobj); local
30 return attribute->store ? attribute->store(slot, buf, len) : -EIO;
38 static ssize_t address_read_file(struct pci_slot *slot, char *buf) argument
40 if (slot->number == 0xff)
42 pci_domain_nr(slot->bus),
43 slot->bus->number);
46 pci_domain_nr(slot
90 max_speed_read_file(struct pci_slot *slot, char *buf) argument
95 cur_speed_read_file(struct pci_slot *slot, char *buf) argument
103 struct pci_slot *slot = to_pci_slot(kobj); local
175 rename_slot(struct pci_slot *slot, const char *name) argument
195 struct pci_slot *slot; local
213 struct pci_slot *slot; local
292 pci_renumber_slot(struct pci_slot *slot, int slot_nr) argument
317 pci_destroy_slot(struct pci_slot *slot) argument
339 struct hotplug_slot *slot = pci_slot->hotplug; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/drivers/pci/
H A Dfixups-r7780rp.c21 int __init pcibios_map_platform_irq(struct pci_dev *pdev, u8 slot, u8 pin) argument
23 return irq_tab[slot];
H A Dfixups-sdk7780.c30 int __init pcibios_map_platform_irq(struct pci_dev *pdev, u8 slot, u8 pin) argument
32 return sdk7780_irq_tab[pin-1][slot];
H A Dfixups-landisk.c18 int pcibios_map_platform_irq(struct pci_dev *pdev, u8 slot, u8 pin) argument
26 int irq = ((slot + pin - 1) & 0x3) + 5;
28 if ((slot | (pin - 1)) > 0x3) {
29 printk("PCI: Bad IRQ mapping request for slot %d pin %c\n",
30 slot, pin - 1 + 'A');
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/efs/
H A Ddir.c30 int slot, namelen; local
40 slot = filp->f_pos & 0xff;
60 while (slot < dirblock->slots) {
61 if (dirblock->space[slot] == 0) {
62 slot++;
66 dirslot = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot));
73 printk(KERN_DEBUG "EFS: readdir(): block %d slot %d/%d: inode %u, name \"%s\", namelen %u\n", block, slot, dirblock->slots-1, inodenum, nameptr, namelen);
77 filp->f_pos = (block << EFS_DIRBSIZE_BITS) | slot;
84 printk(KERN_WARNING "EFS: directory entry %d exceeds directory block\n", slot);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/
H A Dsysfile.h31 u32 slot);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mca/
H A Dmca-legacy.c6 * Legacy API means the API that operates in terms of MCA slot number
37 int slot; member in struct:mca_find_adapter_info
42 * find the one with the smallest slot number that's just greater than
43 * or equal to the required slot with a matching id */
52 if(mca_dev->slot < info->slot)
55 if(!info->mca_dev || info->mca_dev->slot >= mca_dev->slot)
64 * @start: starting slot
81 info.slot
157 int slot; member in struct:mca_find_device_by_slot_info
172 mca_find_device_by_slot(int slot) argument
193 mca_read_stored_pos(int slot, int reg) argument
216 mca_read_pos(int slot, int reg) argument
252 mca_write_pos(int slot, int reg, unsigned char byte) argument
273 mca_set_adapter_name(int slot, char* name) argument
285 mca_mark_as_used(int slot) argument
308 mca_mark_as_unused(int slot) argument
[all...]

Completed in 213 milliseconds

1234567891011>>