/linux-master/scripts/ |
H A D | file-size.sh | 3 set -- $(ls -dn "$1")
|
/linux-master/arch/arm/mach-bcm/ |
H A D | bcm63xx_smp.h | 7 extern int bcm63xx_pmb_power_on_cpu(struct device_node *dn);
|
H A D | bcm63xx_smp.c | 110 struct device_node *dn; local 114 dn = of_find_matching_node(NULL, bcm63138_bootlut_ids); 115 if (!dn) { 120 bootlut_base = of_iomap(dn, 0); 121 of_node_put(dn); 129 dn = of_get_cpu_node(cpu, NULL); 130 if (!dn) { 143 ret = bcm63xx_pmb_power_on_cpu(dn); 144 of_node_put(dn);
|
/linux-master/drivers/pci/hotplug/ |
H A D | rpadlpar_core.c | 44 struct device_node *dn; local 50 for_each_child_of_node(parent, dn) { 51 rc = rpaphp_check_drc_props(dn, drc_name, NULL); 57 return dn; 79 struct device_node *dn; local 81 dn = find_php_slot_pci_node(drc_name, "SLOT"); 82 if (dn) { 84 return dn; 87 dn = find_php_slot_pci_node(drc_name, "PHB"); 88 if (dn) { 111 find_php_slot(struct device_node *dn) argument 138 dlpar_pci_add_bus(struct device_node *dn) argument 169 dlpar_add_pci_slot(char *drc_name, struct device_node *dn) argument 205 dlpar_remove_phb(char *drc_name, struct device_node *dn) argument 233 dlpar_add_phb(char *drc_name, struct device_node *dn) argument 254 dlpar_add_vio_slot(char *drc_name, struct device_node *dn) argument 287 struct device_node *dn = NULL; local 330 dlpar_remove_vio_slot(char *drc_name, struct device_node *dn) argument 356 dlpar_remove_pci_slot(char *drc_name, struct device_node *dn) argument 422 struct device_node *dn; local [all...] |
H A D | pnv_php.c | 35 static void pnv_php_register(struct device_node *dn); 36 static void pnv_php_unregister_one(struct device_node *dn); 37 static void pnv_php_unregister(struct device_node *dn); 92 static struct pnv_php_slot *pnv_php_match(struct device_node *dn, argument 97 if (php_slot->dn == dn) { 103 target = pnv_php_match(dn, tmp); 111 struct pnv_php_slot *pnv_php_find_slot(struct device_node *dn) argument 118 php_slot = pnv_php_match(dn, tmp); 134 static void pnv_php_rmv_pdns(struct device_node *dn) argument 158 struct device_node *dn; local 214 pnv_php_populate_changeset(struct of_changeset *ocs, struct device_node *dn) argument 237 pnv_php_add_one_pdn(struct device_node *dn, void *data) argument 622 pnv_php_alloc_slot(struct device_node *dn) argument 674 struct device_node *dn = php_slot->dn; local 934 pnv_php_register_one(struct device_node *dn) argument 975 pnv_php_register(struct device_node *dn) argument 989 pnv_php_unregister_one(struct device_node *dn) argument 1003 pnv_php_unregister(struct device_node *dn) argument 1016 struct device_node *dn; local 1032 struct device_node *dn; local [all...] |
/linux-master/arch/mips/bmips/ |
H A D | irq.c | 29 struct device_node *dn; local 32 dn = of_find_matching_node(NULL, smp_intc_dt_match); 33 if (dn) 34 of_node_put(dn);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | rng.c | 30 struct device_node *dn; local 32 dn = of_find_compatible_node(NULL, NULL, "ibm,random"); 33 if (!dn) 36 of_node_put(dn);
|
H A D | pmem.c | 31 struct device_node *dn; local 43 dn = dlpar_configure_connector(cpu_to_be32(drc_index), pmem_node); 44 if (!dn) { 51 rc = dlpar_attach_node(dn, pmem_node); 54 dn, rc, drc_index); 57 dlpar_free_cc_nodes(dn); 62 pr_info("Successfully added %pOF, drc index: %x\n", dn, drc_index); 69 struct device_node *dn; local 73 for_each_child_of_node(pmem_node, dn) { 74 if (of_property_read_u32(dn, "ib [all...] |
H A D | dlpar.c | 79 struct device_node *dn; local 82 dn = kzalloc(sizeof(*dn), GFP_KERNEL); 83 if (!dn) 87 dn->full_name = kstrdup(name, GFP_KERNEL); 88 if (!dn->full_name) { 89 kfree(dn); 93 of_node_set_flag(dn, OF_DYNAMIC); 94 of_node_init(dn); 96 return dn; 99 dlpar_free_one_cc_node(struct device_node *dn) argument 113 dlpar_free_cc_nodes(struct device_node *dn) argument 135 struct device_node *dn; local 233 dlpar_attach_node(struct device_node *dn, struct device_node *parent) argument 248 dlpar_detach_node(struct device_node *dn) argument [all...] |
H A D | hotplug-cpu.c | 325 static int dlpar_offline_cpu(struct device_node *dn) argument 333 intserv = of_get_property(dn, "ibm,ppc-interrupt-server#s", &len); 357 pr_warn("Unable to remove last online CPU %pOFn\n", dn); 381 static int dlpar_online_cpu(struct device_node *dn) argument 389 intserv = of_get_property(dn, "ibm,ppc-interrupt-server#s", &len); 413 dlpar_offline_cpu(dn); 528 static int pseries_cpuhp_attach_nodes(struct device_node *dn) argument 537 for (of_changeset_init(&cs); dn != NULL; dn = dn 551 struct device_node *dn, *parent; local 631 struct device_node *dn, *tn; local 654 struct device_node *dn; local 682 dlpar_cpu_remove(struct device_node *dn, u32 drc_index) argument 722 struct device_node *dn; local 740 struct device_node *dn; local 813 struct device_node *dn; local [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | prom_parse.c | 11 void of_parse_dma_window(struct device_node *dn, const __be32 *dma_window, argument 22 prop = of_get_property(dn, "ibm,#dma-address-cells", NULL); 24 prop = of_get_property(dn, "#address-cells", NULL); 26 cells = prop ? of_read_number(prop, 1) : of_n_addr_cells(dn); 31 prop = of_get_property(dn, "ibm,#dma-size-cells", NULL); 32 cells = prop ? of_read_number(prop, 1) : of_n_size_cells(dn);
|
H A D | pci_dn.c | 33 struct device_node *dn; local 52 dn = pci_bus_to_OF_node(pbus); 53 pdn = dn ? PCI_DN(dn) : NULL; 61 struct device_node *dn = NULL; local 71 dn = pci_device_to_OF_node(pdev); 77 pdn = dn ? PCI_DN(dn) : NULL; 97 struct device_node *dn; local 105 dn 282 pci_add_device_node_info(struct pci_controller *hose, struct device_node *dn) argument 341 pci_remove_device_node_info(struct device_node *dn) argument 406 struct device_node *dn, *nextdn; local 447 add_pdn(struct device_node *dn, void *data) argument 469 struct device_node *dn = phb->dn; local [all...] |
H A D | pci-hotplug.c | 22 struct device_node *dn) 27 if (pci_bus_to_OF_node(bus) == dn) 31 child = find_bus_among_children(tmp, dn); 39 struct pci_bus *pci_find_bus_by_node(struct device_node *dn) argument 41 struct pci_dn *pdn = PCI_DN(dn); 46 return find_bus_among_children(pdn->phb->bus, dn); 112 struct device_node *dn = pci_bus_to_OF_node(bus); local 122 of_rescan_bus(dn, bus); 124 dn->child && PCI_DN(dn 21 find_bus_among_children(struct pci_bus *bus, struct device_node *dn) argument [all...] |
/linux-master/fs/notify/dnotify/ |
H A D | dnotify.c | 48 * the same directory with dnotify their information is chained in dn 52 struct dnotify_struct *dn; member in struct:dnotify_mark 66 struct dnotify_struct *dn; local 73 for (dn = dn_mark->dn; dn != NULL; dn = dn->dn_next) 74 new_mask |= (dn->dn_mask & ~FS_DN_MULTISHOT); 95 struct dnotify_struct *dn; local 156 struct dnotify_struct *dn; local 229 attach_dn(struct dnotify_struct *dn, struct dnotify_mark *dn_mark, fl_owner_t id, int fd, struct file *filp, __u32 mask) argument 264 struct dnotify_struct *dn; local [all...] |
/linux-master/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, argument 154 struct device_node *dn, *tmp; local 158 dn = of_node_get(pci_device_to_OF_node(dev)); 159 if (!dn) { 164 for (; dn; dn = of_get_next_parent(dn)) { 165 ph = of_get_property(dn, "msi-translator", NULL); 176 tmp = dn; 202 struct device_node *dn; local 331 struct device_node *dn = device->dev.of_node; local 461 axon_msi_debug_setup(struct device_node *dn, struct axon_msic *msic) argument [all...] |
/linux-master/drivers/soc/renesas/ |
H A D | r9a06g032-smp.c | 53 struct device_node *dn; local 57 dn = of_get_cpu_node(1, NULL); 58 if (!dn) { 67 if (of_find_property(dn, "cpu-release-addr", &dns)) { 71 ret = of_property_read_u64(dn, 75 ret = of_property_read_u32(dn, 80 of_node_put(dn);
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | rng.c | 101 struct device_node *dn) 105 chip_id = of_get_ibm_chip_id(dn); 107 pr_warn("No ibm,chip-id found for %pOF.\n", dn); 117 static __init int rng_create(struct device_node *dn) argument 127 if (of_address_to_resource(dn, 0, &res)) { 134 rng->regs = of_iomap(dn, 0); 143 rng_init_per_cpu(rng, dn); 152 struct device_node *dn; local 161 for_each_compatible_node(dn, NULL, "ibm,power-rng") 162 rng_create(dn); 100 rng_init_per_cpu(struct pnv_rng *rng, struct device_node *dn) argument 171 struct device_node *dn; local 186 struct device_node *dn; local [all...] |
/linux-master/include/linux/ |
H A D | arm-cci.h | 25 extern int cci_ace_get_port(struct device_node *dn); 27 extern int __cci_control_port_by_device(struct device_node *dn, bool enable); 30 static inline int cci_ace_get_port(struct device_node *dn) argument 35 static inline int __cci_control_port_by_device(struct device_node *dn, argument
|
/linux-master/net/caif/ |
H A D | cfmuxl.c | 65 int cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *dn, u8 phyid) argument 70 list_add_rcu(&dn->node, &muxl->frml_list); 107 struct cflayer *dn; local 112 dn = get_from_id(&muxl->frml_list, phyid); 113 if (dn == NULL) 116 list_del_rcu(&dn->node); 117 caif_assert(dn != NULL); 120 return dn; 139 struct cflayer *dn; local 141 dn 216 struct cflayer *dn; local [all...] |
/linux-master/fs/ubifs/ |
H A D | crypto.c | 30 * @dn: data node to encrypt 32 * @out_len: allocated memory size for the data area of @dn 38 int ubifs_encrypt(const struct inode *inode, struct ubifs_data_node *dn, argument 42 void *p = &dn->data; 47 dn->compr_size = cpu_to_le16(in_len); 64 int ubifs_decrypt(const struct inode *inode, struct ubifs_data_node *dn, argument 69 unsigned int clen = le16_to_cpu(dn->compr_size); 78 err = fscrypt_decrypt_block_inplace(inode, virt_to_page(&dn->data), 79 dlen, offset_in_page(&dn->data),
|
/linux-master/drivers/cpufreq/ |
H A D | pasemi-cpufreq.c | 131 struct device_node *cpu, *dn; local 148 dn = of_find_compatible_node(NULL, NULL, "1682m-sdc"); 149 if (!dn) 150 dn = of_find_compatible_node(NULL, NULL, 152 if (!dn) 154 err = of_address_to_resource(dn, 0, &res); 155 of_node_put(dn); 164 dn = of_find_compatible_node(NULL, NULL, "1682m-gizmo"); 165 if (!dn) 166 dn [all...] |
/linux-master/drivers/char/tpm/ |
H A D | tpm_atmel.h | 43 struct device_node *dn; local 50 dn = of_find_node_by_name(NULL, "tpm"); 52 if (!dn) 55 if (!of_device_is_compatible(dn, "AT97SC3201")) { 56 of_node_put(dn); 60 reg = of_get_property(dn, "reg", ®len); 61 naddrc = of_n_addr_cells(dn); 62 nsizec = of_n_size_cells(dn); 64 of_node_put(dn);
|
/linux-master/arch/arm64/kernel/ |
H A D | cpu_ops.c | 60 struct device_node *dn = of_get_cpu_node(cpu, NULL); local 62 if (!dn) { 68 enable_method = of_get_property(dn, "enable-method", NULL); 77 dn); 79 of_node_put(dn);
|
H A D | smp_spin_table.c | 45 struct device_node *dn; local 48 dn = of_get_cpu_node(cpu, NULL); 49 if (!dn) 55 ret = of_property_read_u64(dn, "cpu-release-addr", 61 of_node_put(dn);
|
/linux-master/arch/x86/kernel/ |
H A D | devicetree.c | 110 struct device_node *dn; local 114 dn = of_find_compatible_node(NULL, NULL, "intel,ce4100-hpet"); 115 if (!dn) 117 ret = of_address_to_resource(dn, 0, &r); 130 struct device_node *dn; local 133 for_each_of_cpu_node(dn) { 134 apic_id = of_get_cpu_hwid(dn, 0); 136 pr_warn("%pOF: missing local APIC ID\n", dn); 145 struct device_node *dn; local 150 dn 236 dtb_add_ioapic(struct device_node *dn) argument 256 struct device_node *dn; local [all...] |