Home
last modified time | relevance | path

Searched refs:pci_slot (Results 1 - 25 of 79) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dpci_hotplug_core.c67 static ssize_t power_read_file(struct pci_slot *pci_slot, char *buf) in power_read_file() argument
72 retval = get_power_status(pci_slot->hotplug, &value); in power_read_file()
79 static ssize_t power_write_file(struct pci_slot *pci_slot, const char *buf, in power_write_file() argument
82 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file()
124 static ssize_t attention_read_file(struct pci_slot *pci_slot, char *buf) in attention_read_file() argument
129 retval = get_attention_status(pci_slot->hotplug, &value); in attention_read_file()
136 static ssize_t attention_write_file(struct pci_slot *pci_slo argument
169 latch_read_file(struct pci_slot *pci_slot, char *buf) latch_read_file() argument
186 presence_read_file(struct pci_slot *pci_slot, char *buf) presence_read_file() argument
203 test_write_file(struct pci_slot *pci_slot, const char *buf, size_t count) test_write_file() argument
234 has_power_file(struct pci_slot *pci_slot) has_power_file() argument
247 has_attention_file(struct pci_slot *pci_slot) has_attention_file() argument
259 has_latch_file(struct pci_slot *pci_slot) has_latch_file() argument
270 has_adapter_file(struct pci_slot *pci_slot) has_adapter_file() argument
281 has_test_file(struct pci_slot *pci_slot) has_test_file() argument
292 fs_add_slot(struct pci_slot *pci_slot) fs_add_slot() argument
356 fs_remove_slot(struct pci_slot *pci_slot) fs_remove_slot() argument
442 struct pci_slot *pci_slot; __pci_hp_initialize() local
479 struct pci_slot *pci_slot = slot->pci_slot; pci_hp_add() local
553 struct pci_slot *pci_slot = slot->pci_slot; pci_hp_destroy() local
[all...]
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dpci_hotplug_core.c67 static ssize_t power_read_file(struct pci_slot *pci_slot, char *buf) in power_read_file() argument
72 retval = get_power_status(pci_slot->hotplug, &value); in power_read_file()
79 static ssize_t power_write_file(struct pci_slot *pci_slot, const char *buf, in power_write_file() argument
82 struct hotplug_slot *slot = pci_slot->hotplug; in power_write_file()
124 static ssize_t attention_read_file(struct pci_slot *pci_slot, char *buf) in attention_read_file() argument
129 retval = get_attention_status(pci_slot->hotplug, &value); in attention_read_file()
136 static ssize_t attention_write_file(struct pci_slot *pci_slo argument
169 latch_read_file(struct pci_slot *pci_slot, char *buf) latch_read_file() argument
186 presence_read_file(struct pci_slot *pci_slot, char *buf) presence_read_file() argument
203 test_write_file(struct pci_slot *pci_slot, const char *buf, size_t count) test_write_file() argument
234 has_power_file(struct pci_slot *pci_slot) has_power_file() argument
247 has_attention_file(struct pci_slot *pci_slot) has_attention_file() argument
259 has_latch_file(struct pci_slot *pci_slot) has_latch_file() argument
270 has_adapter_file(struct pci_slot *pci_slot) has_adapter_file() argument
281 has_test_file(struct pci_slot *pci_slot) has_test_file() argument
292 fs_add_slot(struct pci_slot *pci_slot) fs_add_slot() argument
356 fs_remove_slot(struct pci_slot *pci_slot) fs_remove_slot() argument
442 struct pci_slot *pci_slot; __pci_hp_initialize() local
479 struct pci_slot *pci_slot = slot->pci_slot; pci_hp_add() local
553 struct pci_slot *pci_slot = slot->pci_slot; pci_hp_destroy() local
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dpci_slot.c3 * pci_slot.c - ACPI PCI Slot Driver
34 struct pci_slot *pci_slot; /* corresponding pci_slot */ member
90 struct pci_slot *pci_slot; in register_slot() local
102 pci_slot = slot->pci_slot; in register_slot()
103 if (pci_slot->bus == pci_bus && pci_slot in register_slot()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dpci_slot.c3 * pci_slot.c - ACPI PCI Slot Driver
34 struct pci_slot *pci_slot; /* corresponding pci_slot */ member
90 struct pci_slot *pci_slot; in register_slot() local
102 pci_slot = slot->pci_slot; in register_slot()
103 if (pci_slot->bus == pci_bus && pci_slot in register_slot()
[all...]
H A DMakefile89 obj-$(CONFIG_ACPI_PCI_SLOT) += pci_slot.o
/kernel/linux/linux-5.10/drivers/pci/
H A Dslot.c21 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show()
29 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store()
39 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file()
57 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file()
62 static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf) in cur_speed_read_file()
70 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release()
144 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot()
164 struct pci_slot *slot; in pci_dev_assign_slot()
173 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot()
175 struct pci_slot *slo in get_slot()
332 pci_hp_create_module_link(struct pci_slot *pci_slot) pci_hp_create_module_link() argument
358 pci_hp_remove_module_link(struct pci_slot *pci_slot) pci_hp_remove_module_link() argument
[all...]
H A Dpci.h265 #define to_pci_slot(s) container_of(s, struct pci_slot, kobj)
271 ssize_t (*show)(struct pci_slot *, char *);
272 ssize_t (*store)(struct pci_slot *, const char *, size_t);
/kernel/linux/linux-6.6/drivers/pci/
H A Dslot.c21 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_show()
29 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_attr_store()
39 static ssize_t address_read_file(struct pci_slot *slot, char *buf) in address_read_file()
57 static ssize_t max_speed_read_file(struct pci_slot *slot, char *buf) in max_speed_read_file()
62 static ssize_t cur_speed_read_file(struct pci_slot *slot, char *buf) in cur_speed_read_file()
70 struct pci_slot *slot = to_pci_slot(kobj); in pci_slot_release()
145 static int rename_slot(struct pci_slot *slot, const char *name) in rename_slot()
165 struct pci_slot *slot; in pci_dev_assign_slot()
174 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot()
176 struct pci_slot *slo in get_slot()
333 pci_hp_create_module_link(struct pci_slot *pci_slot) pci_hp_create_module_link() argument
360 pci_hp_remove_module_link(struct pci_slot *pci_slot) pci_hp_remove_module_link() argument
[all...]
H A Dpci.h216 #define to_pci_slot(s) container_of(s, struct pci_slot, kobj)
222 ssize_t (*show)(struct pci_slot *, char *);
223 ssize_t (*store)(struct pci_slot *, const char *, size_t);
/kernel/linux/linux-5.10/include/linux/
H A Dpci_hotplug.h61 struct pci_slot *pci_slot; member
68 return pci_slot_name(slot->pci_slot); in hotplug_slot_name()
H A Dpci.h68 /* pci_slot represents a physical slot */
69 struct pci_slot { struct
77 static inline const char *pci_slot_name(const struct pci_slot *slot) in pci_slot_name()
318 struct pci_slot *slot; /* Physical slot this device is in */
1036 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
1039 void pci_destroy_slot(struct pci_slot *slot);
1225 int pci_probe_reset_slot(struct pci_slot *slot);
2150 void pci_hp_create_module_link(struct pci_slot *pci_slot);
2151 void pci_hp_remove_module_link(struct pci_slot *pci_slo
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dpci_hotplug.h54 * @pci_slot: represents a physical slot
63 struct pci_slot *pci_slot; member
70 return pci_slot_name(slot->pci_slot); in hotplug_slot_name()
H A Dpci.h75 /* pci_slot represents a physical slot */
76 struct pci_slot { struct
84 static inline const char *pci_slot_name(const struct pci_slot *slot) in pci_slot_name()
329 struct pci_slot *slot; /* Physical slot this device is in */
1127 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
1130 void pci_destroy_slot(struct pci_slot *slot);
1348 int pci_probe_reset_slot(struct pci_slot *slot);
2412 void pci_hp_create_module_link(struct pci_slot *pci_slot);
2413 void pci_hp_remove_module_link(struct pci_slot *pci_slo
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dpci.c1052 struct pci_slot *pci_slot; in pcie_bus_slot_names() local
1063 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names()
1065 if (IS_ERR(pci_slot)) in pcie_bus_slot_names()
1067 PTR_ERR(pci_slot)); in pcie_bus_slot_names()
1097 struct pci_slot *pci_slot; in pci_bus_slot_names() local
1108 pci_slot = pci_create_slot(bus, i, sp, NULL); in pci_bus_slot_names()
1109 if (IS_ERR(pci_slot)) in pci_bus_slot_names()
1111 PTR_ERR(pci_slot)); in pci_bus_slot_names()
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dpci.c909 struct pci_slot *pci_slot; in pcie_bus_slot_names() local
920 pci_slot = pci_create_slot(pbus, slot_num[0], name, NULL); in pcie_bus_slot_names()
922 if (IS_ERR(pci_slot)) in pcie_bus_slot_names()
924 PTR_ERR(pci_slot)); in pcie_bus_slot_names()
954 struct pci_slot *pci_slot; in pci_bus_slot_names() local
965 pci_slot = pci_create_slot(bus, i, sp, NULL); in pci_bus_slot_names()
966 if (IS_ERR(pci_slot)) in pci_bus_slot_names()
968 PTR_ERR(pci_slot)); in pci_bus_slot_names()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
H A Dvnic_resource.h71 u16 pci_slot; /* installed pci slot */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/
H A Dvnic_resource.h58 u16 pci_slot; /* installed pci slot */ member
/kernel/linux/linux-5.10/drivers/pci/controller/
H A Dpci-hyperv.c527 struct pci_slot *pci_slot; member
1856 if (hpdev->pci_slot) in hv_pci_assign_slots()
1861 hpdev->pci_slot = pci_create_slot(hbus->pci_bus, slot_nr, in hv_pci_assign_slots()
1863 if (IS_ERR(hpdev->pci_slot)) { in hv_pci_assign_slots()
1865 hpdev->pci_slot = NULL; in hv_pci_assign_slots()
1878 if (!hpdev->pci_slot) in hv_pci_remove_slots()
1880 pci_destroy_slot(hpdev->pci_slot); in hv_pci_remove_slots()
1881 hpdev->pci_slot = NULL; in hv_pci_remove_slots()
2192 if (hpdev->pci_slot) in pci_devices_present_work()
[all...]
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dpci-hyperv.c556 struct pci_slot *pci_slot; member
2331 if (hpdev->pci_slot) in hv_pci_assign_slots()
2336 hpdev->pci_slot = pci_create_slot(hbus->bridge->bus, slot_nr, in hv_pci_assign_slots()
2338 if (IS_ERR(hpdev->pci_slot)) { in hv_pci_assign_slots()
2340 hpdev->pci_slot = NULL; in hv_pci_assign_slots()
2353 if (!hpdev->pci_slot) in hv_pci_remove_slots()
2355 pci_destroy_slot(hpdev->pci_slot); in hv_pci_remove_slots()
2356 hpdev->pci_slot = NULL; in hv_pci_remove_slots()
2667 if (hpdev->pci_slot) in pci_devices_present_work()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb.h105 int pci_slot; member
H A Dnetup_unidvb_spi.c208 ndev->pci_slot, in netup_spi_init()
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
H A Dmegaraid_ioctl.h187 uint8_t pci_slot; member
/kernel/linux/linux-6.6/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb.h105 int pci_slot; member
H A Dnetup_unidvb_spi.c208 ndev->pci_slot, in netup_spi_init()
/kernel/linux/linux-6.6/drivers/scsi/megaraid/
H A Dmegaraid_ioctl.h187 uint8_t pci_slot; member

Completed in 30 milliseconds

1234