Home
last modified time | relevance | path

Searched refs:pci_func (Results 1 – 24 of 24) sorted by relevance

/linux-2.4.37.9/drivers/hotplug/
Dpciehp.h54 struct pci_func { struct
55 struct pci_func *next; argument
206 extern struct pci_func *pciehp_slot_create (unsigned char busnumber);
207 extern struct pci_func *pciehp_slot_find (unsigned char bus, unsigned char device, unsigned char in…
223 extern int pciehp_save_used_resources (struct controller *ctrl, struct pci_func * func, int flag);
224 extern int pciehp_save_slot_config (struct controller *ctrl, struct pci_func * new_slot);
225 extern void pciehp_destroy_board_resources (struct pci_func * func);
226 extern int pciehp_return_board_resources (struct pci_func * func, struct resource_lists * resources…
228 extern int pciehp_configure_device (struct controller* ctrl, struct pci_func* func);
229 extern int pciehp_unconfigure_device (struct pci_func* func);
[all …]
Dshpchprm_nonacpi.c77 static void phprm_dump_func_res( struct pci_func *fun) in phprm_dump_func_res()
79 struct pci_func *func = fun; in phprm_dump_func_res()
101 struct pci_func *func in phprm_get_used_resources()
192 struct pci_func *func in configure_existing_function()
216 struct pci_func *func, new_func; in bind_pci_resources_to_slots()
234 memset(&new_func, 0, sizeof(struct pci_func)); in bind_pci_resources_to_slots()
286 struct pci_func func; in shpchprm_find_available_resources()
289 memset(&func, 0, sizeof(struct pci_func)); in shpchprm_find_available_resources()
339 struct pci_func *func, in shpchprm_set_hpp()
387 struct pci_func *func, in shpchprm_enable_card()
Dshpchp.h54 struct pci_func { struct
55 struct pci_func *next; argument
213 extern struct pci_func *shpchp_slot_create (unsigned char busnumber);
214 extern struct pci_func *shpchp_slot_find (unsigned char bus, unsigned char device, unsigned char in…
230 extern int shpchp_save_used_resources (struct controller *ctrl, struct pci_func * func, int flag);
231 extern int shpchp_save_slot_config (struct controller *ctrl, struct pci_func * new_slot);
232 extern void shpchp_destroy_board_resources (struct pci_func * func);
233 extern int shpchp_return_board_resources (struct pci_func * func, struct resource_lists * resources…
235 extern int shpchp_configure_device (struct controller* ctrl, struct pci_func* func);
236 extern int shpchp_unconfigure_device (struct pci_func* func);
[all …]
Dpciehprm_nonacpi.c77 static void phprm_dump_func_res( struct pci_func *fun) in phprm_dump_func_res()
79 struct pci_func *func = fun; in phprm_dump_func_res()
101 struct pci_func *func in phprm_get_used_resources()
192 struct pci_func *func in configure_existing_function()
284 struct pci_func *func, new_func; in bind_pci_resources_to_slots()
305 memset(&new_func, 0, sizeof(struct pci_func)); in bind_pci_resources_to_slots()
357 struct pci_func func; in pciehprm_find_available_resources()
360 memset(&func, 0, sizeof(struct pci_func)); in pciehprm_find_available_resources()
404 struct pci_func *func, in pciehprm_set_hpp()
454 struct pci_func *func, in pciehprm_enable_card()
Dcpqphp.h237 struct pci_func { struct
238 struct pci_func *next; argument
447 extern struct pci_func *cpqhp_slot_create (unsigned char busnumber);
448 extern struct pci_func *cpqhp_slot_find (unsigned char bus, unsigned char device, unsigned char in…
449 extern int cpqhp_process_SI (struct controller *ctrl, struct pci_func *func);
450 extern int cpqhp_process_SS (struct controller *ctrl, struct pci_func *func);
460 extern int cpqhp_save_base_addr_length (struct controller *ctrl, struct pci_func * func);
461 extern int cpqhp_save_used_resources (struct controller *ctrl, struct pci_func * func);
462 extern int cpqhp_configure_board (struct controller *ctrl, struct pci_func * func);
463 extern int cpqhp_save_slot_config (struct controller *ctrl, struct pci_func * new_slot);
[all …]
Dibmphp_pci.c37 static int configure_device(struct pci_func *);
38 static int configure_bridge(struct pci_func **, u8);
39 static struct res_needed *scan_behind_bridge(struct pci_func *, u8);
50 static void assign_alt_irq (struct pci_func * cur_func, u8 class_code) in assign_alt_irq()
81 int ibmphp_configure_card (struct pci_func *func, u8 slotno) in ibmphp_configure_card()
88 struct pci_func *newfunc; /* for multi devices */ in ibmphp_configure_card()
89 struct pci_func *cur_func, *prev_func; in ibmphp_configure_card()
163 newfunc = (struct pci_func *) kmalloc (sizeof (struct pci_func), GFP_KERNEL); in ibmphp_configure_card()
168 memset (newfunc, 0, sizeof (struct pci_func)); in ibmphp_configure_card()
202 newfunc = (struct pci_func *) kmalloc (sizeof (struct pci_func), GFP_KERNEL); in ibmphp_configure_card()
[all …]
Dpciehprm.h42 int pciehprm_set_hpp(struct controller *ctrl, struct pci_func *func, u8 card_type);
43 void pciehprm_enable_card(struct controller *ctrl, struct pci_func *func, u8 card_type);
Dpciehp_ctrl.c44 static u32 configure_new_device(struct controller *ctrl, struct pci_func *func,
46 static int configure_new_function( struct controller *ctrl, struct pci_func *func,
61 struct pci_func *func; in pciehp_handle_attention_button()
117 struct pci_func *func; in pciehp_handle_switch_change()
163 struct pci_func *func; in pciehp_handle_presence_change()
209 struct pci_func *func; in pciehp_handle_power_fault()
873 struct pci_func *pciehp_slot_create(u8 busnumber) in pciehp_slot_create()
875 struct pci_func *new_slot; in pciehp_slot_create()
876 struct pci_func *next; in pciehp_slot_create()
878 new_slot = (struct pci_func *) kmalloc(sizeof(struct pci_func), GFP_KERNEL); in pciehp_slot_create()
[all …]
Dshpchprm.h44 int shpchprm_set_hpp(struct controller *ctrl, struct pci_func *func, u8 card_type);
45 void shpchprm_enable_card(struct controller *ctrl, struct pci_func *func, u8 card_type);
Dcpqphp_ctrl.c41 static u32 configure_new_device(struct controller* ctrl, struct pci_func *func,u8 behind_bridge, st…
42 static int configure_new_function(struct controller* ctrl, struct pci_func *func,u8 behind_bridge, …
85 struct pci_func *func; in handle_switch_change()
163 struct pci_func *func; in handle_presence_change()
254 struct pci_func *func; in handle_power_fault()
995 struct pci_func *cpqhp_slot_create(u8 busnumber) in cpqhp_slot_create()
997 struct pci_func *new_slot; in cpqhp_slot_create()
998 struct pci_func *next; in cpqhp_slot_create()
1000 new_slot = (struct pci_func *) kmalloc(sizeof(struct pci_func), GFP_KERNEL); in cpqhp_slot_create()
1008 memset(new_slot, 0, sizeof(struct pci_func)); in cpqhp_slot_create()
[all …]
Dshpchp_ctrl.c44 static u32 configure_new_device(struct controller *ctrl, struct pci_func *func,
46 static int configure_new_function( struct controller *ctrl, struct pci_func *func,
64 struct pci_func *func; in shpchp_handle_attention_button()
121 struct pci_func *func; in shpchp_handle_switch_change()
174 struct pci_func *func; in shpchp_handle_presence_change()
221 struct pci_func *func; in shpchp_handle_power_fault()
886 struct pci_func *shpchp_slot_create(u8 busnumber) in shpchp_slot_create()
888 struct pci_func *new_slot; in shpchp_slot_create()
889 struct pci_func *next; in shpchp_slot_create()
891 new_slot = (struct pci_func *) kmalloc(sizeof(struct pci_func), GFP_KERNEL); in shpchp_slot_create()
[all …]
Dcpqphp_pci.c128 struct pci_func *temp_func; in configure_visit_pci_dev()
164 struct pci_func *temp_func; in unconfigure_visit_pci_dev_phase2()
248 int cpqhp_configure_device (struct controller* ctrl, struct pci_func* func) in cpqhp_configure_device()
299 int cpqhp_unconfigure_device(struct pci_func* func) in cpqhp_unconfigure_device()
511 struct pci_func *new_slot; in cpqhp_save_config()
664 int cpqhp_save_slot_config (struct controller *ctrl, struct pci_func * new_slot) in cpqhp_save_slot_config()
753 int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func * func) in cpqhp_save_base_addr_length()
763 struct pci_func *next; in cpqhp_save_base_addr_length()
879 int cpqhp_save_used_resources (struct controller *ctrl, struct pci_func * func) in cpqhp_save_used_resources()
1130 int cpqhp_configure_board(struct controller *ctrl, struct pci_func * func) in cpqhp_configure_board()
[all …]
Dibmphp_core.c749 static struct pci_func *ibm_slot_find (u8 busno, u8 device, u8 function) in ibm_slot_find()
751 struct pci_func *func_cur; in ibm_slot_find()
873 struct pci_func *temp_func; in ibm_unconfigure_visit_pci_dev_phase2()
940 static int ibm_unconfigure_device (struct pci_func *func) in ibm_unconfigure_device()
977 struct pci_func *temp_func; in configure_visit_pci_dev()
1032 static int ibm_configure_device (struct pci_func *func) in ibm_configure_device()
1269 struct pci_func *tmp_func; in enable_slot()
1399 slot_cur->func = (struct pci_func *) kmalloc (sizeof (struct pci_func), GFP_KERNEL); in enable_slot()
1412 memset (slot_cur->func, 0, sizeof (struct pci_func)); in enable_slot()
1510 slot_cur->func = (struct pci_func *) kmalloc (sizeof (struct pci_func), GFP_KERNEL); in ibmphp_disable_slot()
[all …]
Dpciehp_pci.c89 struct pci_func *temp_func; in configure_visit_pci_dev()
133 struct pci_func *temp_func; in unconfigure_visit_pci_dev_phase2()
224 int pciehp_configure_device (struct controller* ctrl, struct pci_func* func) in pciehp_configure_device()
290 int pciehp_unconfigure_device(struct pci_func* func) in pciehp_unconfigure_device()
377 struct pci_func *new_slot; in pciehp_save_config()
566 int pciehp_save_slot_config (struct controller *ctrl, struct pci_func * new_slot) in pciehp_save_slot_config()
665 int pciehp_save_used_resources (struct controller *ctrl, struct pci_func *func, int disable) in pciehp_save_used_resources()
907 int pciehp_return_board_resources(struct pci_func * func, struct resource_lists * resources) in pciehp_return_board_resources()
1010 void pciehp_destroy_board_resources (struct pci_func * func) in pciehp_destroy_board_resources()
Dshpchp_pci.c88 struct pci_func *temp_func; in configure_visit_pci_dev()
136 struct pci_func *temp_func; in unconfigure_visit_pci_dev_phase2()
224 int shpchp_configure_device (struct controller* ctrl, struct pci_func* func) in shpchp_configure_device()
295 int shpchp_unconfigure_device(struct pci_func* func) in shpchp_unconfigure_device()
381 struct pci_func *new_slot; in shpchp_save_config()
557 int shpchp_save_slot_config (struct controller *ctrl, struct pci_func * new_slot) in shpchp_save_slot_config()
657 int shpchp_save_used_resources (struct controller *ctrl, struct pci_func *func, int disable) in shpchp_save_used_resources()
899 int shpchp_return_board_resources(struct pci_func * func, struct resource_lists * resources) in shpchp_return_board_resources()
1002 void shpchp_destroy_board_resources (struct pci_func * func) in shpchp_destroy_board_resources()
Dibmphp.h700 struct pci_func { struct
708 struct pci_func *next; argument
725 struct pci_func *func; argument
765 extern int ibmphp_configure_card (struct pci_func *, u8);
Dshpchprm_legacy.c114 struct pci_func *func = NULL; in shpchprm_find_available_resources()
348 struct pci_func *func, in shpchprm_set_hpp()
392 struct pci_func *func, in shpchprm_enable_card()
Dpciehprm_acpi.c1321 static void pciehprm_dump_func_res( struct pci_func *fun) in pciehprm_dump_func_res()
1323 struct pci_func *func = fun; in pciehprm_dump_func_res()
1367 struct pci_func *func in pciehprm_get_used_resources()
1375 struct pci_func *func in configure_existing_function()
1399 struct pci_func *func, new_func; in bind_pci_resources_to_slots()
1419 memset(&new_func, 0, sizeof(struct pci_func)); in bind_pci_resources_to_slots()
1507 struct pci_func func; in find_pci_bridge_resources()
1509 memset(&func, 0, sizeof(struct pci_func)); in find_pci_bridge_resources()
1605 struct pci_func *func, in pciehprm_set_hpp()
1656 struct pci_func *func, in pciehprm_enable_card()
Dshpchprm_acpi.c1316 static void shpchprm_dump_func_res( struct pci_func *fun) in shpchprm_dump_func_res()
1318 struct pci_func *func = fun; in shpchprm_dump_func_res()
1362 struct pci_func *func in shpchprm_get_used_resources()
1370 struct pci_func *func in configure_existing_function()
1394 struct pci_func *func, new_func; in bind_pci_resources_to_slots()
1410 memset(&new_func, 0, sizeof(struct pci_func)); in bind_pci_resources_to_slots()
1498 struct pci_func func; in find_pci_bridge_resources()
1500 memset(&func, 0, sizeof(struct pci_func)); in find_pci_bridge_resources()
1606 struct pci_func *func, in shpchprm_set_hpp()
1655 struct pci_func *func, in shpchprm_enable_card()
Dcpqphp_core.c50 struct pci_func *cpqhp_slot_list[256];
550 static int cpqhp_set_attention_status (struct controller *ctrl, struct pci_func *func, u32 status) in cpqhp_set_attention_status()
590 struct pci_func *slot_func; in set_attention_status()
625 struct pci_func *slot_func; in process_SI()
665 struct pci_func *slot_func; in process_SS()
842 struct pci_func *func; in cpqhpc_probe()
1361 struct pci_func *next; in unload_cpqphpd()
1362 struct pci_func *TempSlot; in unload_cpqphpd()
Dpciehp_core.c49 struct pci_func *pciehp_slot_list[256];
541 struct pci_func *next; in unload_pciehpd()
542 struct pci_func *TempSlot; in unload_pciehpd()
Dshpchp_core.c49 struct pci_func *shpchp_slot_list[256];
534 struct pci_func *next; in unload_shpchpd()
535 struct pci_func *TempSlot; in unload_shpchpd()
Dcpqphp_proc.c98 struct pci_func *new_slot; in read_dev()
/linux-2.4.37.9/include/linux/
Dhcdp_serial.h58 u8 pci_func; member