new_sr 205 arch/sh/kernel/signal_64.c unsigned long long current_sr, new_sr; new_sr 233 arch/sh/kernel/signal_64.c err |= __get_user(new_sr, &sc->sc_sr); new_sr 235 arch/sh/kernel/signal_64.c regs->sr |= (new_sr & ~SR_MASK); new_sr 304 drivers/macintosh/windfarm_core.c int wf_register_sensor(struct wf_sensor *new_sr) new_sr 310 drivers/macintosh/windfarm_core.c if (!strcmp(sr->name, new_sr->name)) { new_sr 317 drivers/macintosh/windfarm_core.c kref_init(&new_sr->ref); new_sr 318 drivers/macintosh/windfarm_core.c list_add(&new_sr->link, &wf_sensors); new_sr 320 drivers/macintosh/windfarm_core.c sysfs_attr_init(&new_sr->attr.attr); new_sr 321 drivers/macintosh/windfarm_core.c new_sr->attr.attr.name = new_sr->name; new_sr 322 drivers/macintosh/windfarm_core.c new_sr->attr.attr.mode = 0444; new_sr 323 drivers/macintosh/windfarm_core.c new_sr->attr.show = wf_show_sensor; new_sr 324 drivers/macintosh/windfarm_core.c new_sr->attr.store = NULL; new_sr 325 drivers/macintosh/windfarm_core.c if (device_create_file(&wf_platform_device.dev, &new_sr->attr)) new_sr 327 drivers/macintosh/windfarm_core.c " for %s\n", new_sr->name); new_sr 330 drivers/macintosh/windfarm_core.c DBG("wf: Registered sensor %s\n", new_sr->name); new_sr 332 drivers/macintosh/windfarm_core.c wf_notify(WF_EVENT_NEW_SENSOR, new_sr);