/linux-master/Documentation/target/ |
H A D | target-export-device | 71 mkdir $ISCSI_DIR/$IQN/tpgt_1/np/$PORTAL
|
/linux-master/arch/arm/kernel/ |
H A D | smp_twd.c | 192 static void twd_get_clock(struct device_node *np) argument 196 if (np) 197 twd_clk = of_clk_get(np, 0); 272 static int __init twd_local_timer_common_register(struct device_node *np) argument 292 twd_get_clock(np); 293 if (!of_property_read_bool(np, "always-on")) 316 static int __init twd_local_timer_of_register(struct device_node *np) argument 320 twd_ppi = irq_of_parse_and_map(np, 0); 326 twd_base = of_iomap(np, 0); 332 err = twd_local_timer_common_register(np); [all...] |
/linux-master/arch/arm/mach-alpine/ |
H A D | alpine_cpu_pm.c | 46 struct device_node *np; local 51 np = of_find_compatible_node(NULL, NULL, "al,alpine-cpu-resume"); 52 al_cpu_resume_regs = of_iomap(np, 0);
|
/linux-master/arch/arm/mach-imx/ |
H A D | system.c | 89 struct device_node *np; local 92 np = of_find_compatible_node(NULL, NULL, "arm,pl310-cache"); 93 if (!np) 96 l2x0_base = of_iomap(np, 0); 116 of_node_put(np);
|
/linux-master/arch/arm/mach-milbeaut/ |
H A D | platsmp.c | 49 struct device_node *np; local 51 np = of_find_compatible_node(NULL, NULL, "socionext,milbeaut-smp-sram"); 52 if (!np) 55 m10v_smp_base = of_iomap(np, 0);
|
/linux-master/arch/arm/mach-shmobile/ |
H A D | timer.c | 17 struct device_node *np; local 20 for_each_of_cpu_node(np) { 23 if (!of_property_read_u32(np, "clock-frequency", &freq))
|
/linux-master/arch/arm/mach-sti/ |
H A D | platsmp.c | 51 struct device_node *np; local 56 np = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-scu"); 58 if (np) { 59 scu_base = of_iomap(np, 0); 61 of_node_put(np); 69 np = of_get_cpu_node(cpu, NULL); 71 if (!np) 74 if (of_property_read_u32(np, "cpu-release-addr",
|
/linux-master/arch/arm/mach-vt8500/ |
H A D | vt8500.c | 63 struct device_node *np; local 72 np = of_find_compatible_node(NULL, NULL, "via,vt8500-gpio"); 73 if (np) { 74 gpio_base = of_iomap(np, 0); 80 of_node_put(np); 101 np = of_find_compatible_node(NULL, NULL, "wm,wm8505-gpio"); 102 if (!np) 103 np = of_find_compatible_node(NULL, NULL, 105 if (np) { 106 gpio_base = of_iomap(np, [all...] |
/linux-master/arch/mips/ath79/ |
H A D | clock.c | 618 static void __init ath79_clocks_init_dt(struct device_node *np) argument 623 ref_clk = of_clk_get(np, 0); 627 pll_base = of_iomap(np, 0); 629 pr_err("%pOF: can't map pll registers\n", np); 633 if (of_device_is_compatible(np, "qca,ar7100-pll")) 635 else if (of_device_is_compatible(np, "qca,ar7240-pll") || 636 of_device_is_compatible(np, "qca,ar9130-pll")) 638 else if (of_device_is_compatible(np, "qca,ar9330-pll")) 640 else if (of_device_is_compatible(np, "qca,ar9340-pll")) 642 else if (of_device_is_compatible(np, "qc [all...] |
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-pcsx-defs.h | 344 uint64_t np:1; member in struct:cvmx_pcsx_anx_adv_reg::cvmx_pcsx_anx_adv_reg_s 360 uint64_t np:1; 392 uint64_t np:1; member in struct:cvmx_pcsx_anx_lp_abil_reg::cvmx_pcsx_anx_lp_abil_reg_s 408 uint64_t np:1;
|
/linux-master/arch/nios2/kernel/ |
H A D | time.c | 212 static int __init nios2_timer_get_base_and_freq(struct device_node *np, argument 215 *base = of_iomap(np, 0); 217 pr_crit("Unable to map reg for %pOFn\n", np); 221 if (of_property_read_u32(np, "clock-frequency", freq)) { 222 pr_crit("Unable to get %pOFn clock frequency\n", np); 347 struct device_node *np; local 350 for_each_compatible_node(np, NULL, ALTR_TIMER_COMPATIBLE)
|
/linux-master/arch/powerpc/boot/ |
H A D | addnote.c | 118 unsigned long ph, ps, np; local 153 np = GET_16(E_PHNUM); 154 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) 156 if (ph + (np + 2) * ps + nnote + nnote2 > n) 159 for (i = 0; i < np; ++i) { 219 PUT_16(E_PHNUM, np + 2);
|
H A D | cuboot-acadia.c | 54 void *np; local 122 np = find_node_by_alias("serial0"); 123 if (getprop(np, "current-speed", &baud, sizeof(baud)) != sizeof(baud))
|
/linux-master/arch/powerpc/include/asm/ |
H A D | cell-regs.h | 127 extern struct cbe_pmd_regs __iomem *cbe_get_pmd_regs(struct device_node *np); 159 extern struct cbe_pmd_shadow_regs *cbe_get_pmd_shadow_regs(struct device_node *np); 217 extern struct cbe_iic_regs __iomem *cbe_get_iic_regs(struct device_node *np); 304 extern struct cbe_mic_tm_regs __iomem *cbe_get_mic_tm_regs(struct device_node *np);
|
H A D | dcr.h | 58 extern unsigned int dcr_resource_start(const struct device_node *np, 60 extern unsigned int dcr_resource_len(const struct device_node *np,
|
H A D | isa-bridge.h | 8 extern void isa_bridge_init_non_pci(struct device_node *np);
|
H A D | pmac_low_i2c.h | 83 extern int pmac_low_i2c_lock(struct device_node *np); 84 extern int pmac_low_i2c_unlock(struct device_node *np);
|
H A D | pmac_pfunc.h | 178 extern int pmf_register_driver(struct device_node *np, 182 extern void pmf_unregister_driver(struct device_node *np); 188 extern int pmf_register_irq_client(struct device_node *np, 217 extern int pmf_do_functions(struct device_node *np, const char *name,
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-nvram.c | 92 struct device_node *np; local 95 np = of_find_compatible_node(NULL, NULL, "ibm,opal-nvram"); 96 if (np == NULL) 99 nbytes_p = of_get_property(np, "#bytes", NULL); 101 of_node_put(np); 107 of_node_put(np);
|
/linux-master/arch/powerpc/sysdev/ |
H A D | fsl_rcpm.c | 358 struct device_node *np; local 362 np = of_find_matching_node_and_match(NULL, rcpm_matches, &match); 363 if (!np) 366 base = of_iomap(np, 0); 367 of_node_put(np);
|
/linux-master/arch/sparc/kernel/ |
H A D | of_device_common.h | 20 int of_bus_sbus_match(struct device_node *np);
|
H A D | prom_common.c | 34 int of_getintprop_default(struct device_node *np, const char *name, int def) argument 39 prop = of_find_property(np, name, &len);
|
/linux-master/drivers/bus/ |
H A D | arm-cci.c | 438 static int cci_probe_ports(struct device_node *np) argument 448 cci_config = of_match_node(arm_cci_matches, np)->data; 458 for_each_available_child_of_node(np, cp) { 528 static inline int cci_probe_ports(struct device_node *np) argument 537 struct device_node *np; local 540 np = of_find_matching_node(NULL, arm_cci_matches); 541 if (!of_device_is_available(np)) 544 ret = of_address_to_resource(np, 0, &res); 554 return cci_probe_ports(np);
|
/linux-master/drivers/clk/bcm/ |
H A D | clk-bcm53573-ilp.c | 98 static void bcm53573_ilp_init(struct device_node *np) argument 109 parent_name = of_clk_get_parent_name(np, 0); 115 ilp->regmap = syscon_node_to_regmap(of_get_parent(np)); 121 init.name = np->name; 131 err = of_clk_add_hw_provider(np, of_clk_hw_simple_get, &ilp->hw);
|
/linux-master/drivers/clk/ |
H A D | clk-vt8500.c | 52 struct device_node *np = local 55 if (np) 56 pmc_base = of_iomap(np, 0); 59 of_node_put(np);
|