/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/ |
H A D | cpci_hotplug.h | 43 struct slot { struct 58 int (*hardware_test) (struct slot* slot, u32 value); 59 u8 (*get_power) (struct slot* slot); 60 int (*set_power) (struct slot* slot, int value); 83 extern u8 cpci_get_attention_status(struct slot *slot); 84 extern u8 cpci_get_latch_status(struct slot *slo [all...] |
H A D | rpaphp_slot.c | 40 struct slot *slot = (struct slot *)php_slot->private; local 42 if (!slot) 45 value = slot->location; 55 /* free up the memory used by a slot */ 58 struct slot *slot = (struct slot *) hotplug_slot->private; local 59 dealloc_slot_struct(slot); 62 dealloc_slot_struct(struct slot *slot) argument 74 struct slot *slot; local 115 is_registered(struct slot *slot) argument 126 rpaphp_deregister_slot(struct slot *slot) argument 148 rpaphp_register_slot(struct slot *slot) argument [all...] |
H A D | cpci_hotplug_pci.c | 51 u8 cpci_get_attention_status(struct slot* slot) argument 56 hs_cap = pci_bus_find_capability(slot->bus, 57 slot->devfn, 62 if (pci_bus_read_config_word(slot->bus, 63 slot->devfn, 71 int cpci_set_attention_status(struct slot* slot, int status) argument 76 hs_cap = pci_bus_find_capability(slot->bus, 77 slot 98 cpci_get_hs_csr(struct slot* slot) argument 116 cpci_check_and_clear_ins(struct slot* slot) argument 145 cpci_check_ext(struct slot* slot) argument 166 cpci_clear_ext(struct slot* slot) argument 192 cpci_led_on(struct slot* slot) argument 221 cpci_led_off(struct slot* slot) argument 255 cpci_configure_slot(struct slot* slot) argument 331 cpci_unconfigure_slot(struct slot* slot) argument [all...] |
H A D | acpiphp_core.c | 68 static int enable_slot (struct hotplug_slot *slot); 69 static int disable_slot (struct hotplug_slot *slot); 70 static int set_attention_status (struct hotplug_slot *slot, u8 value); 71 static int get_power_status (struct hotplug_slot *slot, u8 *value); 72 static int get_attention_status (struct hotplug_slot *slot, u8 *value); 73 static int get_address (struct hotplug_slot *slot, u32 *value); 74 static int get_latch_status (struct hotplug_slot *slot, u8 *value); 75 static int get_adapter_status (struct hotplug_slot *slot, u8 *value); 132 * enable_slot - power on and enable a slot 133 * @hotplug_slot: slot t 140 struct slot *slot = hotplug_slot->private; local 158 struct slot *slot = hotplug_slot->private; local 202 struct slot *slot = hotplug_slot->private; local 248 struct slot *slot = hotplug_slot->private; local 269 struct slot *slot = hotplug_slot->private; local 286 struct slot *slot = hotplug_slot->private; local 320 struct slot *slot = hotplug_slot->private; local 331 struct slot *slot; local 381 struct slot *slot = acpiphp_slot->slot; local [all...] |
H A D | pci_hotplug_core.c | 69 struct hotplug_slot *slot = to_hotplug_slot(kobj); local 71 return attribute->show ? attribute->show(slot, buf) : -EIO; 77 struct hotplug_slot *slot = to_hotplug_slot(kobj); local 79 return attribute->store ? attribute->store(slot, buf, len) : -EIO; 89 struct hotplug_slot *slot = to_hotplug_slot(kobj); local 90 if (slot->release) 91 slot->release(slot); 136 static int get_##name (struct hotplug_slot *slot, type *value) \ 138 struct hotplug_slot_ops *ops = slot 158 power_read_file(struct hotplug_slot *slot, char *buf) argument 171 power_write_file(struct hotplug_slot *slot, const char *buf, size_t count) argument 215 attention_read_file(struct hotplug_slot *slot, char *buf) argument 229 attention_write_file(struct hotplug_slot *slot, const char *buf, size_t count) argument 260 latch_read_file(struct hotplug_slot *slot, char *buf) argument 279 presence_read_file(struct hotplug_slot *slot, char *buf) argument 298 address_read_file(struct hotplug_slot *slot, char *buf) argument 322 max_bus_speed_read_file(struct hotplug_slot *slot, char *buf) argument 348 cur_bus_speed_read_file(struct hotplug_slot *slot, char *buf) argument 374 test_write_file(struct hotplug_slot *slot, const char *buf, size_t count) argument 404 has_power_file(struct hotplug_slot *slot) argument 415 has_attention_file(struct hotplug_slot *slot) argument 425 has_latch_file(struct hotplug_slot *slot) argument 434 has_adapter_file(struct hotplug_slot *slot) argument 443 has_address_file(struct hotplug_slot *slot) argument 452 has_max_bus_speed_file(struct hotplug_slot *slot) argument 461 has_cur_bus_speed_file(struct hotplug_slot *slot) argument 470 has_test_file(struct hotplug_slot *slot) argument 479 fs_add_slot(struct hotplug_slot *slot) argument 572 fs_remove_slot(struct hotplug_slot *slot) argument 601 struct hotplug_slot *slot; local 621 pci_hp_register(struct hotplug_slot *slot) argument 660 pci_hp_deregister(struct hotplug_slot *slot) argument 689 pci_hp_change_slot_info(struct hotplug_slot *slot, struct hotplug_slot_info *info) argument [all...] |
H A D | shpchp_core.c | 61 static int set_attention_status (struct hotplug_slot *slot, u8 value); 62 static int enable_slot (struct hotplug_slot *slot); 63 static int disable_slot (struct hotplug_slot *slot); 64 static int get_power_status (struct hotplug_slot *slot, u8 *value); 65 static int get_attention_status (struct hotplug_slot *slot, u8 *value); 66 static int get_latch_status (struct hotplug_slot *slot, u8 *value); 67 static int get_adapter_status (struct hotplug_slot *slot, u8 *value); 68 static int get_address (struct hotplug_slot *slot, u32 *value); 69 static int get_max_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value); 70 static int get_cur_bus_speed (struct hotplug_slot *slot, enu 92 struct slot *slot = hotplug_slot->private; local 101 make_slot_name(struct slot *slot) argument 109 struct slot *slot; local 179 struct slot *slot; local 196 struct slot *slot = get_slot(hotplug_slot); local 208 struct slot *slot = get_slot(hotplug_slot); local 217 struct slot *slot = get_slot(hotplug_slot); local 226 struct slot *slot = get_slot(hotplug_slot); local 240 struct slot *slot = get_slot(hotplug_slot); local 254 struct slot *slot = get_slot(hotplug_slot); local 268 struct slot *slot = get_slot(hotplug_slot); local 282 struct slot *slot = get_slot(hotplug_slot); local 294 struct slot *slot = get_slot(hotplug_slot); local 308 struct slot *slot = get_slot(hotplug_slot); local [all...] |
H A D | rpaphp_pci.c | 35 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 __FUNCTION__, slot->name, rc); 57 slot->index, state); 60 info("%s: slot is unusable\n", __FUNCTION__); 67 static void set_slot_name(struct slot *slo argument 88 rpaphp_enable_slot(struct slot *slot) argument [all...] |
H A D | pciehp_core.c | 65 static int set_attention_status (struct hotplug_slot *slot, u8 value); 66 static int enable_slot (struct hotplug_slot *slot); 67 static int disable_slot (struct hotplug_slot *slot); 68 static int get_power_status (struct hotplug_slot *slot, u8 *value); 69 static int get_attention_status (struct hotplug_slot *slot, u8 *value); 70 static int get_latch_status (struct hotplug_slot *slot, u8 *value); 71 static int get_adapter_status (struct hotplug_slot *slot, u8 *value); 72 static int get_address (struct hotplug_slot *slot, u32 *value); 73 static int get_max_bus_speed (struct hotplug_slot *slot, enum pci_bus_speed *value); 74 static int get_cur_bus_speed (struct hotplug_slot *slot, enu 95 struct slot *slot = hotplug_slot->private; local 103 lock_read_file(struct hotplug_slot *slot, char *buf) argument 124 struct slot *slot = hotplug_slot->private; local 149 lock_write_file(struct hotplug_slot *slot, const char *buf, size_t count) argument 185 struct slot *slot = hotplug_slot->private; local 194 make_slot_name(struct slot *slot) argument 202 struct slot *slot; local 282 struct slot *slot; local 302 struct slot *slot = hotplug_slot->private; local 317 struct slot *slot = hotplug_slot->private; local 327 struct slot *slot = hotplug_slot->private; local 336 struct slot *slot = hotplug_slot->private; local 350 struct slot *slot = hotplug_slot->private; local 364 struct slot *slot = hotplug_slot->private; local 378 struct slot *slot = hotplug_slot->private; local 392 struct slot *slot = hotplug_slot->private; local 404 struct slot *slot = hotplug_slot->private; local 418 struct slot *slot = hotplug_slot->private; local [all...] |
H A D | pcihp_skeleton.c | 40 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); 98 struct slot *slo local 112 struct slot *slot = hotplug_slot->private; local 126 struct slot *slot = hotplug_slot->private; local 151 struct slot *slot = hotplug_slot->private; local 170 struct slot *slot = hotplug_slot->private; local 185 struct slot *slot = hotplug_slot->private; local 200 struct slot *slot = hotplug_slot->private; local 215 struct slot *slot = hotplug_slot->private; local 230 struct slot *slot = hotplug_slot->private; local 238 make_slot_name(struct slot *slot) argument 253 struct slot *slot; local 321 struct slot *slot; local [all...] |
H A D | rpaphp_core.c | 65 struct slot *slot = (struct slot *)hotplug_slot->private; local 77 rc = rtas_set_indicator(DR_INDICATOR, slot->index, value); 85 * get_power_status - get power status of a slot 86 * @hotplug_slot: slot to get status 92 struct slot *slot = (struct slot *)hotplug_slot->private; local 94 retval = rtas_get_power_level (slot 105 struct slot *slot = (struct slot *)hotplug_slot->private; local 112 struct slot *slot = (struct slot *)hotplug_slot->private; local 131 struct slot *slot = (struct slot *)hotplug_slot->private; local 298 struct slot *slot; local 345 struct slot *slot; local 380 struct slot *slot = (struct slot *)hotplug_slot->private; local 406 struct slot *slot = (struct slot *)hotplug_slot->private; local [all...] |
H A D | pciehp.h | 61 struct slot { struct 80 struct slot *p_slot; 92 struct slot *slot; member in struct:controller 99 u32 first_slot; /* First physical slot number */ /* PCIE only has 1 slot */ 153 extern int pciehp_sysfs_enable_slot(struct slot *slot); 154 extern int pciehp_sysfs_disable_slot(struct slot *slot); 166 struct slot *slot; local [all...] |
H A D | rpaphp.h | 45 #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 90 extern int rpaphp_enable_slot(struct slot *slot); 91 extern int rpaphp_get_sensor_state(struct slot *slo [all...] |
H A D | cpci_hotplug_core.c | 66 static int enable_slot(struct hotplug_slot *slot); 67 static int disable_slot(struct hotplug_slot *slot); 68 static int set_attention_status(struct hotplug_slot *slot, u8 value); 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_adapter_status(struct hotplug_slot *slot, u8 * value); 72 static int get_latch_status(struct hotplug_slot *slot, u8 * value); 108 struct slot *slot = hotplug_slot->private; local 114 retval = controller->ops->set_power(slot, 121 struct slot *slot = hotplug_slot->private; local 165 cpci_get_power_status(struct slot *slot) argument 177 struct slot *slot = hotplug_slot->private; local 186 struct slot *slot = hotplug_slot->private; local 214 struct slot *slot = hotplug_slot->private; local 226 make_slot_name(struct slot *slot) argument 235 struct slot *slot; local 316 struct slot *slot; local 374 struct slot *slot; local 406 struct slot *slot; local 658 struct slot *slot; local [all...] |
H A D | shpchp.h | 63 struct slot { struct 85 struct slot *p_slot; 100 u32 first_slot; /* First physical slot number */ 160 extern int shpchp_sysfs_enable_slot(struct slot *slot); 161 extern int shpchp_sysfs_disable_slot(struct slot *slot); 166 extern int shpchp_configure_device(struct slot *p_slot); 167 extern int shpchp_unconfigure_device(struct slot *p_slot); 223 static inline struct slot *get_slo 230 struct slot *slot; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | mca-legacy.h | 29 /* 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_is_adapter_used(int slot); 38 extern int mca_mark_as_used(int slot); 39 extern void mca_mark_as_unused(int slot); 42 extern unsigned char mca_read_stored_pos(int slot, int reg); 48 extern void mca_set_adapter_name(int slot, char* name); 62 extern unsigned char mca_read_pos(int slot, int reg); 65 extern void mca_write_pos(int slot, int reg, unsigned char byte);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/iseries/ |
H A D | htab.c | 28 static inline void iSeries_hlock(unsigned long slot) argument 30 if (slot & 0x8) 31 slot = ~slot; 32 spin_lock(&iSeries_hlocks[(slot >> 4) & 0x3f]); 35 static inline void iSeries_hunlock(unsigned long slot) argument 37 if (slot & 0x8) 38 slot = ~slot; 39 spin_unlock(&iSeries_hlocks[(slot >> 46 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 local) argument 180 long slot; local 211 long slot; local 224 iSeries_hpte_invalidate(unsigned long slot, unsigned long va, int psize, int local) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/ |
H A D | fixup-ocelot3.c | 26 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 30 if (bus == 0 && slot == 1) 32 if (bus == 0 && slot == 2) 34 if (bus == 1 && slot == 1) 36 if (bus == 1 && slot == 2)
|
H A D | fixup-ocelot-c.c | 22 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 26 if (bus == 0 && slot == 1) 28 if (bus == 1 && slot == 1) 30 if (bus == 1 && slot == 2)
|
H A D | fixup-mpc30x.c | 37 int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 39 if (slot == 30) 42 return irq_tab_mpc30x[slot];
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mca/ |
H A D | mca-legacy.c | 6 * 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 291 mca_is_adapter_used(int slot) argument 303 mca_mark_as_used(int slot) argument 326 mca_mark_as_unused(int slot) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | multipath.c | 19 struct ip_mp_alg_ops **slot; local 27 slot = &ip_mp_alg_table[n]; 28 if (*slot != NULL) { 31 *slot = ops; 42 struct ip_mp_alg_ops **slot; local 48 slot = &ip_mp_alg_table[n]; 49 if (*slot == ops) 50 *slot = NULL;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/ |
H A D | sysfile.h | 31 u32 slot);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/pci/ |
H A D | early.c | 12 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) argument 15 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); 18 PDprintk("%x reading 4 from %x: %x\n", slot, offset, v); 22 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) argument 25 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); 27 PDprintk("%x reading 1 from %x: %x\n", slot, offset, v); 31 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) argument 34 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); 36 PDprintk("%x reading 2 from %x: %x\n", slot, offset, v); 40 void write_pci_config(u8 bus, u8 slot, u argument 48 write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/dvb-core/ |
H A D | dvb_ca_en50221.h | 52 int (*read_attribute_mem)(struct dvb_ca_en50221* ca, int slot, int address); 53 int (*write_attribute_mem)(struct dvb_ca_en50221* ca, int slot, int address, u8 value); 56 int (*read_cam_control)(struct dvb_ca_en50221* ca, int slot, u8 address); 57 int (*write_cam_control)(struct dvb_ca_en50221* ca, int slot, u8 address, u8 value); 60 int (*slot_reset)(struct dvb_ca_en50221* ca, int slot); 61 int (*slot_shutdown)(struct dvb_ca_en50221* ca, int slot); 62 int (*slot_ts_enable)(struct dvb_ca_en50221* ca, int slot); 65 * Poll slot status. 68 int (*poll_slot_status)(struct dvb_ca_en50221* ca, int slot, int open); 87 * @param slot Slo [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/drivers/pci/ |
H A D | fixups-sh03.c | 6 int __init pcibios_map_platform_irq(struct pci_dev *dev, u8 slot, u8 pin) argument 11 switch (slot) { 17 "for slot %d\n", slot);
|