Home
last modified time | relevance | path

Searched refs:new_sr (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/macintosh/
Dwindfarm_core.c310 int wf_register_sensor(struct wf_sensor *new_sr) in wf_register_sensor() argument
316 if (!strcmp(sr->name, new_sr->name)) { in wf_register_sensor()
323 kref_init(&new_sr->ref); in wf_register_sensor()
324 list_add(&new_sr->link, &wf_sensors); in wf_register_sensor()
326 sysfs_attr_init(&new_sr->attr.attr); in wf_register_sensor()
327 new_sr->attr.attr.name = new_sr->name; in wf_register_sensor()
328 new_sr->attr.attr.mode = 0444; in wf_register_sensor()
329 new_sr->attr.show = wf_show_sensor; in wf_register_sensor()
330 new_sr->attr.store = NULL; in wf_register_sensor()
331 if (device_create_file(&wf_platform_device.dev, &new_sr->attr)) in wf_register_sensor()
[all …]
/linux-3.4.99/arch/sh/kernel/
Dsignal_64.c340 unsigned long long current_sr, new_sr; in restore_sigcontext() local
368 err |= __get_user(new_sr, &sc->sc_sr); in restore_sigcontext()
370 regs->sr |= (new_sr & ~SR_MASK); in restore_sigcontext()