/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | rpadlpar_core.c | 43 struct device_node *dn; in find_vio_slot_node() local 49 for_each_child_of_node(parent, dn) { in find_vio_slot_node() 50 rc = rpaphp_check_drc_props(dn, drc_name, NULL); in find_vio_slot_node() 56 return dn; in find_vio_slot_node() 78 struct device_node *dn; in find_dlpar_node() local 80 dn = find_php_slot_pci_node(drc_name, "SLOT"); in find_dlpar_node() 81 if (dn) { in find_dlpar_node() 83 return dn; in find_dlpar_node() 86 dn = find_php_slot_pci_node(drc_name, "PHB"); in find_dlpar_node() 87 if (dn) { in find_dlpar_node() 110 find_php_slot(struct device_node *dn) find_php_slot() argument 137 dlpar_pci_add_bus(struct device_node *dn) dlpar_pci_add_bus() argument 168 dlpar_add_pci_slot(char *drc_name, struct device_node *dn) dlpar_add_pci_slot() argument 204 dlpar_remove_phb(char *drc_name, struct device_node *dn) dlpar_remove_phb() argument 232 dlpar_add_phb(char *drc_name, struct device_node *dn) dlpar_add_phb() argument 253 dlpar_add_vio_slot(char *drc_name, struct device_node *dn) dlpar_add_vio_slot() argument 286 struct device_node *dn = NULL; dlpar_add_slot() local 329 dlpar_remove_vio_slot(char *drc_name, struct device_node *dn) dlpar_remove_vio_slot() argument 355 dlpar_remove_pci_slot(char *drc_name, struct device_node *dn) dlpar_remove_pci_slot() argument 421 struct device_node *dn; dlpar_remove_slot() local [all...] |
H A D | pnv_php.c | 33 static void pnv_php_register(struct device_node *dn); 34 static void pnv_php_unregister_one(struct device_node *dn); 35 static void pnv_php_unregister(struct device_node *dn); 89 static struct pnv_php_slot *pnv_php_match(struct device_node *dn, in pnv_php_match() argument 94 if (php_slot->dn == dn) { in pnv_php_match() 100 target = pnv_php_match(dn, tmp); in pnv_php_match() 108 struct pnv_php_slot *pnv_php_find_slot(struct device_node *dn) in pnv_php_find_slot() argument 115 php_slot = pnv_php_match(dn, tmp); in pnv_php_find_slot() 131 static void pnv_php_rmv_pdns(struct device_node *dn) in pnv_php_rmv_pdns() argument 155 struct device_node *dn; pnv_php_detach_device_nodes() local 211 pnv_php_populate_changeset(struct of_changeset *ocs, struct device_node *dn) pnv_php_populate_changeset() argument 234 pnv_php_add_one_pdn(struct device_node *dn, void *data) pnv_php_add_one_pdn() argument 619 pnv_php_alloc_slot(struct device_node *dn) pnv_php_alloc_slot() argument 671 struct device_node *dn = php_slot->dn; pnv_php_register_slot() local 931 pnv_php_register_one(struct device_node *dn) pnv_php_register_one() argument 972 pnv_php_register(struct device_node *dn) pnv_php_register() argument 986 pnv_php_unregister_one(struct device_node *dn) pnv_php_unregister_one() argument 1000 pnv_php_unregister(struct device_node *dn) pnv_php_unregister() argument 1013 struct device_node *dn; pnv_php_init() local 1029 struct device_node *dn; pnv_php_exit() local [all...] |
H A D | rpaphp_core.c | 157 static int get_children_props(struct device_node *dn, const __be32 **drc_indexes, in get_children_props() argument 163 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in get_children_props() 164 names = of_get_property(dn, "ibm,drc-names", NULL); in get_children_props() 165 types = of_get_property(dn, "ibm,drc-types", NULL); in get_children_props() 166 domains = of_get_property(dn, "ibm,drc-power-domains", NULL); in get_children_props() 193 static int rpaphp_check_drc_props_v1(struct device_node *dn, char *drc_name, in rpaphp_check_drc_props_v1() argument 201 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_check_drc_props_v1() 225 static int rpaphp_check_drc_props_v2(struct device_node *dn, char *drc_name, in rpaphp_check_drc_props_v2() argument 235 info = of_find_property(dn->parent, "ibm,drc-info", NULL); in rpaphp_check_drc_props_v2() 268 int rpaphp_check_drc_props(struct device_node *dn, cha argument 314 is_php_dn(struct device_node *dn, const __be32 **indexes, const __be32 **names, const __be32 **types, const __be32 **power_domains) is_php_dn() argument 332 rpaphp_drc_info_add_slot(struct device_node *dn) rpaphp_drc_info_add_slot() argument 373 rpaphp_drc_add_slot(struct device_node *dn) rpaphp_drc_add_slot() argument 436 rpaphp_add_slot(struct device_node *dn) rpaphp_add_slot() argument 467 struct device_node *dn; rpaphp_init() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | rpadlpar_core.c | 44 struct device_node *dn; in find_vio_slot_node() local 50 for_each_child_of_node(parent, dn) { in find_vio_slot_node() 51 rc = rpaphp_check_drc_props(dn, drc_name, NULL); in find_vio_slot_node() 57 return dn; in find_vio_slot_node() 79 struct device_node *dn; in find_dlpar_node() local 81 dn = find_php_slot_pci_node(drc_name, "SLOT"); in find_dlpar_node() 82 if (dn) { in find_dlpar_node() 84 return dn; in find_dlpar_node() 87 dn = find_php_slot_pci_node(drc_name, "PHB"); in find_dlpar_node() 88 if (dn) { in find_dlpar_node() 111 find_php_slot(struct device_node *dn) find_php_slot() argument 138 dlpar_pci_add_bus(struct device_node *dn) dlpar_pci_add_bus() argument 169 dlpar_add_pci_slot(char *drc_name, struct device_node *dn) dlpar_add_pci_slot() argument 205 dlpar_remove_phb(char *drc_name, struct device_node *dn) dlpar_remove_phb() argument 233 dlpar_add_phb(char *drc_name, struct device_node *dn) dlpar_add_phb() argument 254 dlpar_add_vio_slot(char *drc_name, struct device_node *dn) dlpar_add_vio_slot() argument 287 struct device_node *dn = NULL; dlpar_add_slot() local 330 dlpar_remove_vio_slot(char *drc_name, struct device_node *dn) dlpar_remove_vio_slot() argument 356 dlpar_remove_pci_slot(char *drc_name, struct device_node *dn) dlpar_remove_pci_slot() argument 422 struct device_node *dn; dlpar_remove_slot() local [all...] |
H A D | pnv_php.c | 34 static void pnv_php_register(struct device_node *dn); 35 static void pnv_php_unregister_one(struct device_node *dn); 36 static void pnv_php_unregister(struct device_node *dn); 91 static struct pnv_php_slot *pnv_php_match(struct device_node *dn, in pnv_php_match() argument 96 if (php_slot->dn == dn) { in pnv_php_match() 102 target = pnv_php_match(dn, tmp); in pnv_php_match() 110 struct pnv_php_slot *pnv_php_find_slot(struct device_node *dn) in pnv_php_find_slot() argument 117 php_slot = pnv_php_match(dn, tmp); in pnv_php_find_slot() 133 static void pnv_php_rmv_pdns(struct device_node *dn) in pnv_php_rmv_pdns() argument 157 struct device_node *dn; pnv_php_detach_device_nodes() local 213 pnv_php_populate_changeset(struct of_changeset *ocs, struct device_node *dn) pnv_php_populate_changeset() argument 236 pnv_php_add_one_pdn(struct device_node *dn, void *data) pnv_php_add_one_pdn() argument 621 pnv_php_alloc_slot(struct device_node *dn) pnv_php_alloc_slot() argument 673 struct device_node *dn = php_slot->dn; pnv_php_register_slot() local 933 pnv_php_register_one(struct device_node *dn) pnv_php_register_one() argument 974 pnv_php_register(struct device_node *dn) pnv_php_register() argument 988 pnv_php_unregister_one(struct device_node *dn) pnv_php_unregister_one() argument 1002 pnv_php_unregister(struct device_node *dn) pnv_php_unregister() argument 1015 struct device_node *dn; pnv_php_init() local 1031 struct device_node *dn; pnv_php_exit() local [all...] |
H A D | rpaphp_core.c | 159 static int get_children_props(struct device_node *dn, const __be32 **drc_indexes, in get_children_props() argument 165 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); in get_children_props() 166 names = of_get_property(dn, "ibm,drc-names", NULL); in get_children_props() 167 types = of_get_property(dn, "ibm,drc-types", NULL); in get_children_props() 168 domains = of_get_property(dn, "ibm,drc-power-domains", NULL); in get_children_props() 195 static int rpaphp_check_drc_props_v1(struct device_node *dn, char *drc_name, in rpaphp_check_drc_props_v1() argument 203 rc = get_children_props(dn->parent, &indexes, &names, &types, &domains); in rpaphp_check_drc_props_v1() 227 static int rpaphp_check_drc_props_v2(struct device_node *dn, char *drc_name, in rpaphp_check_drc_props_v2() argument 237 info = of_find_property(dn->parent, "ibm,drc-info", NULL); in rpaphp_check_drc_props_v2() 270 int rpaphp_check_drc_props(struct device_node *dn, cha argument 316 is_php_dn(struct device_node *dn, const __be32 **indexes, const __be32 **names, const __be32 **types, const __be32 **power_domains) is_php_dn() argument 334 rpaphp_drc_info_add_slot(struct device_node *dn) rpaphp_drc_info_add_slot() argument 375 rpaphp_drc_add_slot(struct device_node *dn) rpaphp_drc_add_slot() argument 438 rpaphp_add_slot(struct device_node *dn) rpaphp_add_slot() argument 469 struct device_node *dn; rpaphp_init() local [all...] |
/kernel/linux/linux-5.10/fs/notify/dnotify/ |
H A D | dnotify.c | 31 * the same directory with dnotify their information is chained in dn 35 struct dnotify_struct *dn; member 49 struct dnotify_struct *dn; in dnotify_recalc_inode_mask() local 56 for (dn = dn_mark->dn; dn != NULL; dn = dn->dn_next) in dnotify_recalc_inode_mask() 57 new_mask |= (dn->dn_mask & ~FS_DN_MULTISHOT); in dnotify_recalc_inode_mask() 78 struct dnotify_struct *dn; in dnotify_handle_event() local 139 struct dnotify_struct *dn; dnotify_flush() local 212 attach_dn(struct dnotify_struct *dn, struct dnotify_mark *dn_mark, fl_owner_t id, int fd, struct file *filp, __u32 mask) attach_dn() argument 247 struct dnotify_struct *dn; fcntl_dirnotify() local [all...] |
/kernel/linux/linux-6.6/fs/notify/dnotify/ |
H A D | dnotify.c | 49 * the same directory with dnotify their information is chained in dn 53 struct dnotify_struct *dn; member 67 struct dnotify_struct *dn; in dnotify_recalc_inode_mask() local 74 for (dn = dn_mark->dn; dn != NULL; dn = dn->dn_next) in dnotify_recalc_inode_mask() 75 new_mask |= (dn->dn_mask & ~FS_DN_MULTISHOT); in dnotify_recalc_inode_mask() 96 struct dnotify_struct *dn; in dnotify_handle_event() local 157 struct dnotify_struct *dn; dnotify_flush() local 230 attach_dn(struct dnotify_struct *dn, struct dnotify_mark *dn_mark, fl_owner_t id, int fd, struct file *filp, __u32 mask) attach_dn() argument 265 struct dnotify_struct *dn; fcntl_dirnotify() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | hotplug-cpu.c | 325 static int dlpar_offline_cpu(struct device_node *dn) in dlpar_offline_cpu() argument 333 intserv = of_get_property(dn, "ibm,ppc-interrupt-server#s", &len); in dlpar_offline_cpu() 357 pr_warn("Unable to remove last online CPU %pOFn\n", dn); in dlpar_offline_cpu() 381 static int dlpar_online_cpu(struct device_node *dn) in dlpar_online_cpu() argument 389 intserv = of_get_property(dn, "ibm,ppc-interrupt-server#s", &len); in dlpar_online_cpu() 413 dlpar_offline_cpu(dn); in dlpar_online_cpu() 528 static int pseries_cpuhp_attach_nodes(struct device_node *dn) in pseries_cpuhp_attach_nodes() argument 537 for (of_changeset_init(&cs); dn != NULL; dn = dn in pseries_cpuhp_attach_nodes() 551 struct device_node *dn, *parent; dlpar_cpu_add() local 631 struct device_node *dn, *tn; pseries_cpuhp_cache_use_count() local 654 struct device_node *dn; pseries_cpuhp_detach_nodes() local 682 dlpar_cpu_remove(struct device_node *dn, u32 drc_index) dlpar_cpu_remove() argument 722 struct device_node *dn; cpu_drc_index_to_dn() local 740 struct device_node *dn; dlpar_cpu_remove_by_index() local 813 struct device_node *dn; dlpar_cpu_release() local [all...] |
H A D | dlpar.c | 79 struct device_node *dn; in dlpar_parse_cc_node() local 82 dn = kzalloc(sizeof(*dn), GFP_KERNEL); in dlpar_parse_cc_node() 83 if (!dn) in dlpar_parse_cc_node() 87 dn->full_name = kstrdup(name, GFP_KERNEL); in dlpar_parse_cc_node() 88 if (!dn->full_name) { in dlpar_parse_cc_node() 89 kfree(dn); in dlpar_parse_cc_node() 93 of_node_set_flag(dn, OF_DYNAMIC); in dlpar_parse_cc_node() 94 of_node_init(dn); in dlpar_parse_cc_node() 96 return dn; in dlpar_parse_cc_node() 99 dlpar_free_one_cc_node(struct device_node *dn) dlpar_free_one_cc_node() argument 113 dlpar_free_cc_nodes(struct device_node *dn) dlpar_free_cc_nodes() argument 135 struct device_node *dn; dlpar_configure_connector() local 233 dlpar_attach_node(struct device_node *dn, struct device_node *parent) dlpar_attach_node() argument 248 dlpar_detach_node(struct device_node *dn) dlpar_detach_node() argument [all...] |
H A D | pmem.c | 31 struct device_node *dn; in pmem_drc_add_node() local 43 dn = dlpar_configure_connector(cpu_to_be32(drc_index), pmem_node); in pmem_drc_add_node() 44 if (!dn) { in pmem_drc_add_node() 51 rc = dlpar_attach_node(dn, pmem_node); in pmem_drc_add_node() 54 dn, rc, drc_index); in pmem_drc_add_node() 57 dlpar_free_cc_nodes(dn); in pmem_drc_add_node() 62 pr_info("Successfully added %pOF, drc index: %x\n", dn, drc_index); in pmem_drc_add_node() 69 struct device_node *dn; in pmem_drc_remove_node() local 73 for_each_child_of_node(pmem_node, dn) { in pmem_drc_remove_node() 74 if (of_property_read_u32(dn, "ib in pmem_drc_remove_node() [all...] |
H A D | msi.c | 117 struct device_node *dn; in check_req() local 121 dn = pci_device_to_OF_node(pdev); in check_req() 123 p = of_get_property(dn, prop_name, NULL); in check_req() 125 pr_debug("rtas_msi: No %s on %pOF\n", prop_name, dn); in check_req() 156 struct device_node *dn; in __find_pe_total_msi() local 159 dn = of_node_get(node); in __find_pe_total_msi() 160 while (dn) { in __find_pe_total_msi() 161 p = of_get_property(dn, "ibm,pe-total-#msi", NULL); in __find_pe_total_msi() 163 pr_debug("rtas_msi: found prop on dn %pOF\n", in __find_pe_total_msi() 164 dn); in __find_pe_total_msi() 182 struct device_node *dn; find_pe_dn() local 221 count_non_bridge_devices(struct device_node *dn, void *data) count_non_bridge_devices() argument 238 count_spare_msis(struct device_node *dn, void *data) count_spare_msis() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | pci_dn.c | 33 struct device_node *dn; in pci_bus_to_pdn() local 52 dn = pci_bus_to_OF_node(pbus); in pci_bus_to_pdn() 53 pdn = dn ? PCI_DN(dn) : NULL; in pci_bus_to_pdn() 61 struct device_node *dn = NULL; in pci_get_pdn_by_devfn() local 71 dn = pci_device_to_OF_node(pdev); in pci_get_pdn_by_devfn() 77 pdn = dn ? PCI_DN(dn) : NULL; in pci_get_pdn_by_devfn() 97 struct device_node *dn; in pci_get_pdn() local 105 dn in pci_get_pdn() 282 pci_add_device_node_info(struct pci_controller *hose, struct device_node *dn) pci_add_device_node_info() argument 341 pci_remove_device_node_info(struct device_node *dn) pci_remove_device_node_info() argument 406 struct device_node *dn, *nextdn; pci_traverse_device_nodes() local 487 add_pdn(struct device_node *dn, void *data) add_pdn() argument 509 struct device_node *dn = phb->dn; pci_devs_phb_init_dynamic() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | pci_dn.c | 33 struct device_node *dn; in pci_bus_to_pdn() local 52 dn = pci_bus_to_OF_node(pbus); in pci_bus_to_pdn() 53 pdn = dn ? PCI_DN(dn) : NULL; in pci_bus_to_pdn() 61 struct device_node *dn = NULL; in pci_get_pdn_by_devfn() local 71 dn = pci_device_to_OF_node(pdev); in pci_get_pdn_by_devfn() 77 pdn = dn ? PCI_DN(dn) : NULL; in pci_get_pdn_by_devfn() 97 struct device_node *dn; in pci_get_pdn() local 105 dn in pci_get_pdn() 282 pci_add_device_node_info(struct pci_controller *hose, struct device_node *dn) pci_add_device_node_info() argument 341 pci_remove_device_node_info(struct device_node *dn) pci_remove_device_node_info() argument 406 struct device_node *dn, *nextdn; pci_traverse_device_nodes() local 447 add_pdn(struct device_node *dn, void *data) add_pdn() argument 469 struct device_node *dn = phb->dn; pci_devs_phb_init_dynamic() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
H A D | axon_msi.c | 78 void axon_msi_debug_setup(struct device_node *dn, struct axon_msic *msic); 80 static inline void axon_msi_debug_setup(struct device_node *dn, in axon_msi_debug_setup() argument 153 struct device_node *dn, *tmp; in find_msi_translator() local 157 dn = of_node_get(pci_device_to_OF_node(dev)); in find_msi_translator() 158 if (!dn) { in find_msi_translator() 163 for (; dn; dn = of_get_next_parent(dn)) { in find_msi_translator() 164 ph = of_get_property(dn, "msi-translator", NULL); in find_msi_translator() 175 tmp = dn; in find_msi_translator() 201 struct device_node *dn; setup_msi_msg_address() local 335 struct device_node *dn = device->dev.of_node; axon_msi_probe() local 465 axon_msi_debug_setup(struct device_node *dn, struct axon_msic *msic) axon_msi_debug_setup() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | 79 struct device_node *dn; in dlpar_parse_cc_node() local 82 dn = kzalloc(sizeof(*dn), GFP_KERNEL); in dlpar_parse_cc_node() 83 if (!dn) in dlpar_parse_cc_node() 87 dn->full_name = kstrdup(name, GFP_KERNEL); in dlpar_parse_cc_node() 88 if (!dn->full_name) { in dlpar_parse_cc_node() 89 kfree(dn); in dlpar_parse_cc_node() 93 of_node_set_flag(dn, OF_DYNAMIC); in dlpar_parse_cc_node() 94 of_node_init(dn); in dlpar_parse_cc_node() 96 return dn; in dlpar_parse_cc_node() 99 dlpar_free_one_cc_node(struct device_node *dn) dlpar_free_one_cc_node() argument 113 dlpar_free_cc_nodes(struct device_node *dn) dlpar_free_cc_nodes() argument 135 struct device_node *dn; dlpar_configure_connector() local 243 dlpar_attach_node(struct device_node *dn, struct device_node *parent) dlpar_attach_node() argument 258 dlpar_detach_node(struct device_node *dn) dlpar_detach_node() argument [all...] |
H A D | hotplug-cpu.c | 247 static int dlpar_offline_cpu(struct device_node *dn) in dlpar_offline_cpu() argument 255 intserv = of_get_property(dn, "ibm,ppc-interrupt-server#s", &len); in dlpar_offline_cpu() 289 static int dlpar_online_cpu(struct device_node *dn) in dlpar_online_cpu() argument 297 intserv = of_get_property(dn, "ibm,ppc-interrupt-server#s", &len); in dlpar_online_cpu() 313 dlpar_offline_cpu(dn); in dlpar_online_cpu() 430 struct device_node *dn, *parent; in dlpar_cpu_add() local 461 dn = dlpar_configure_connector(cpu_to_be32(drc_index), parent); in dlpar_cpu_add() 462 if (!dn) { in dlpar_cpu_add() 470 rc = dlpar_attach_node(dn, parent); in dlpar_cpu_add() 478 dn, r in dlpar_cpu_add() 507 dlpar_cpu_remove(struct device_node *dn, u32 drc_index) dlpar_cpu_remove() argument 547 struct device_node *dn; cpu_drc_index_to_dn() local 565 struct device_node *dn; dlpar_cpu_remove_by_index() local 582 struct device_node *dn; find_dlpar_cpus_to_remove() local 845 struct device_node *dn; dlpar_cpu_release() local [all...] |
H A D | pmem.c | 32 struct device_node *dn; in pmem_drc_add_node() local 44 dn = dlpar_configure_connector(cpu_to_be32(drc_index), pmem_node); in pmem_drc_add_node() 45 if (!dn) { in pmem_drc_add_node() 52 rc = dlpar_attach_node(dn, pmem_node); in pmem_drc_add_node() 55 dn, rc, drc_index); in pmem_drc_add_node() 58 dlpar_free_cc_nodes(dn); in pmem_drc_add_node() 63 pr_info("Successfully added %pOF, drc index: %x\n", dn, drc_index); in pmem_drc_add_node() 70 struct device_node *dn; in pmem_drc_remove_node() local 74 for_each_child_of_node(pmem_node, dn) { in pmem_drc_remove_node() 75 if (of_property_read_u32(dn, "ib in pmem_drc_remove_node() [all...] |
H A D | mobility.c | 62 static int delete_dt_node(struct device_node *dn) in delete_dt_node() argument 67 pdn = of_get_parent(dn); in delete_dt_node() 68 is_platfac = of_node_is_type(dn, "ibm,platform-facilities") || in delete_dt_node() 81 pr_notice("ignoring remove operation for %pOFfp\n", dn); in delete_dt_node() 85 pr_debug("removing node %pOFfp\n", dn); in delete_dt_node() 86 dlpar_detach_node(dn); in delete_dt_node() 90 static int update_dt_property(struct device_node *dn, struct property **prop, in update_dt_property() argument 143 pr_debug("updating node %pOF property %s\n", dn, name); in update_dt_property() 144 of_update_property(dn, new_prop); in update_dt_property() 151 static int update_dt_node(struct device_node *dn, s3 argument 236 struct device_node *dn; add_dt_node() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/ |
H A D | axon_msi.c | 79 void axon_msi_debug_setup(struct device_node *dn, struct axon_msic *msic); 81 static inline void axon_msi_debug_setup(struct device_node *dn, in axon_msi_debug_setup() argument 154 struct device_node *dn, *tmp; in find_msi_translator() local 158 dn = of_node_get(pci_device_to_OF_node(dev)); in find_msi_translator() 159 if (!dn) { in find_msi_translator() 164 for (; dn; dn = of_get_next_parent(dn)) { in find_msi_translator() 165 ph = of_get_property(dn, "msi-translator", NULL); in find_msi_translator() 176 tmp = dn; in find_msi_translator() 202 struct device_node *dn; setup_msi_msg_address() local 331 struct device_node *dn = device->dev.of_node; axon_msi_probe() local 461 axon_msi_debug_setup(struct device_node *dn, struct axon_msic *msic) axon_msi_debug_setup() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | rng.c | 101 struct device_node *dn) in rng_init_per_cpu() 105 chip_id = of_get_ibm_chip_id(dn); in rng_init_per_cpu() 107 pr_warn("No ibm,chip-id found for %pOF.\n", dn); in rng_init_per_cpu() 117 static __init int rng_create(struct device_node *dn) in rng_create() argument 127 if (of_address_to_resource(dn, 0, &res)) { in rng_create() 134 rng->regs = of_iomap(dn, 0); in rng_create() 143 rng_init_per_cpu(rng, dn); in rng_create() 152 struct device_node *dn; in pnv_get_random_long_early() local 161 for_each_compatible_node(dn, NULL, "ibm,power-rng") in pnv_get_random_long_early() 162 rng_create(dn); in pnv_get_random_long_early() 100 rng_init_per_cpu(struct pnv_rng *rng, struct device_node *dn) rng_init_per_cpu() argument 171 struct device_node *dn; pnv_rng_init() local 186 struct device_node *dn; pnv_rng_late_init() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | rng.c | 121 struct device_node *dn) in rng_init_per_cpu() 125 chip_id = of_get_ibm_chip_id(dn); in rng_init_per_cpu() 127 pr_warn("No ibm,chip-id found for %pOF.\n", dn); in rng_init_per_cpu() 137 static __init int rng_create(struct device_node *dn) in rng_create() argument 147 if (of_address_to_resource(dn, 0, &res)) { in rng_create() 154 rng->regs = of_iomap(dn, 0); in rng_create() 163 rng_init_per_cpu(rng, dn); in rng_create() 172 struct device_node *dn; in pnv_get_random_long_early() local 181 for_each_compatible_node(dn, NULL, "ibm,power-rng") in pnv_get_random_long_early() 182 rng_create(dn); in pnv_get_random_long_early() 120 rng_init_per_cpu(struct powernv_rng *rng, struct device_node *dn) rng_init_per_cpu() argument 191 struct device_node *dn; pnv_rng_init() local 206 struct device_node *dn; pnv_rng_late_init() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | devicetree.c | 110 struct device_node *dn; in dtb_setup_hpet() local 114 dn = of_find_compatible_node(NULL, NULL, "intel,ce4100-hpet"); in dtb_setup_hpet() 115 if (!dn) in dtb_setup_hpet() 117 ret = of_address_to_resource(dn, 0, &r); in dtb_setup_hpet() 130 struct device_node *dn; in dtb_cpu_setup() local 133 for_each_of_cpu_node(dn) { in dtb_cpu_setup() 134 apic_id = of_get_cpu_hwid(dn, 0); in dtb_cpu_setup() 136 pr_warn("%pOF: missing local APIC ID\n", dn); in dtb_cpu_setup() 145 struct device_node *dn; in dtb_lapic_setup() local 150 dn in dtb_lapic_setup() 236 dtb_add_ioapic(struct device_node *dn) dtb_add_ioapic() argument 256 struct device_node *dn; dtb_ioapic_setup() local [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | devicetree.c | 120 struct device_node *dn; in dtb_setup_hpet() local 124 dn = of_find_compatible_node(NULL, NULL, "intel,ce4100-hpet"); in dtb_setup_hpet() 125 if (!dn) in dtb_setup_hpet() 127 ret = of_address_to_resource(dn, 0, &r); in dtb_setup_hpet() 140 struct device_node *dn; in dtb_cpu_setup() local 145 for_each_of_cpu_node(dn) { in dtb_cpu_setup() 146 ret = of_property_read_u32(dn, "reg", &apic_id); in dtb_cpu_setup() 148 pr_warn("%pOF: missing local APIC ID\n", dn); in dtb_cpu_setup() 157 struct device_node *dn; in dtb_lapic_setup() local 162 dn in dtb_lapic_setup() 245 dtb_add_ioapic(struct device_node *dn) dtb_add_ioapic() argument 265 struct device_node *dn; dtb_ioapic_setup() local [all...] |
/kernel/linux/linux-5.10/net/caif/ |
H A D | cfmuxl.c | 65 int cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *dn, u8 phyid) in cfmuxl_set_dnlayer() argument 70 list_add_rcu(&dn->node, &muxl->frml_list); in cfmuxl_set_dnlayer() 107 struct cflayer *dn; in cfmuxl_remove_dnlayer() local 112 dn = get_from_id(&muxl->frml_list, phyid); in cfmuxl_remove_dnlayer() 113 if (dn == NULL) in cfmuxl_remove_dnlayer() 116 list_del_rcu(&dn->node); in cfmuxl_remove_dnlayer() 117 caif_assert(dn != NULL); in cfmuxl_remove_dnlayer() 120 return dn; in cfmuxl_remove_dnlayer() 139 struct cflayer *dn; in get_dn() local 141 dn in get_dn() 216 struct cflayer *dn; cfmuxl_transmit() local [all...] |